azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

201 строка
23 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile"
name: "GalleryImageVersionPublishingProfile"
nameWithType: "GalleryImageVersionPublishingProfile"
summary: "The publishing profile of a gallery image Version."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase&text=GalleryArtifactPublishingProfileBase\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.endOfLifeDate()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.endOfLifeDate&text=endOfLifeDate\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.excludeFromLatest()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.excludeFromLatest&text=excludeFromLatest\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.publishedDate()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.publishedDate&text=publishedDate\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.replicaCount()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.replicaCount&text=replicaCount\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.replicationMode()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.replicationMode&text=replicationMode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.storageAccountType()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.storageAccountType&text=storageAccountType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.targetExtendedLocations()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.targetExtendedLocations&text=targetExtendedLocations\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.targetRegions()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.targetRegions&text=targetRegions\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.validate()?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withEndOfLifeDate(java.time.OffsetDateTime)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withEndOfLifeDate&text=withEndOfLifeDate\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withExcludeFromLatest(java.lang.Boolean)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withExcludeFromLatest&text=withExcludeFromLatest\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicaCount(java.lang.Integer)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicaCount&text=withReplicaCount\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicationMode(com.azure.resourcemanager.compute.models.ReplicationMode)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicationMode&text=withReplicationMode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountType)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withStorageAccountType&text=withStorageAccountType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetExtendedLocations(java.util.List<com.azure.resourcemanager.compute.models.GalleryTargetExtendedLocation>)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetExtendedLocations&text=withTargetExtendedLocations\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetRegions(java.util.List<com.azure.resourcemanager.compute.models.TargetRegion>)?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetRegions&text=withTargetRegions\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **GalleryImageVersionPublishingProfile**</br> extends <xref href=\"com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase?alt=com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase&text=GalleryArtifactPublishingProfileBase\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.GalleryImageVersionPublishingProfile()"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.GalleryImageVersionPublishingProfile()"
name: "GalleryImageVersionPublishingProfile()"
nameWithType: "GalleryImageVersionPublishingProfile.GalleryImageVersionPublishingProfile()"
summary: "Creates an instance of Gallery<wbr>Image<wbr>Version<wbr>Publishing<wbr>Profile class."
syntax: "public GalleryImageVersionPublishingProfile()"
desc: "Creates an instance of GalleryImageVersionPublishingProfile class."
methods:
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "GalleryImageVersionPublishingProfile.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Gallery<wbr>Image<wbr>Version<wbr>Publishing<wbr>Profile from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GalleryImageVersionPublishingProfile fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the GalleryImageVersionPublishingProfile."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of GalleryImageVersionPublishingProfile from the JsonReader."
returns:
description: "An instance of GalleryImageVersionPublishingProfile if the JsonReader was pointing to an instance of it,\n or null if it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.publishedDate()"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.publishedDate()"
name: "publishedDate()"
nameWithType: "GalleryImageVersionPublishingProfile.publishedDate()"
summary: "Get the published<wbr>Date property: The timestamp for when the gallery image version is published."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.publishedDate()"
syntax: "public OffsetDateTime publishedDate()"
desc: "Get the publishedDate property: The timestamp for when the gallery image version is published."
returns:
description: "the publishedDate value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "GalleryImageVersionPublishingProfile.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.validate()"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.validate()"
name: "validate()"
nameWithType: "GalleryImageVersionPublishingProfile.validate()"
summary: "Validates the instance."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.validate()"
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withEndOfLifeDate(java.time.OffsetDateTime)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withEndOfLifeDate(OffsetDateTime endOfLifeDate)"
name: "withEndOfLifeDate(OffsetDateTime endOfLifeDate)"
nameWithType: "GalleryImageVersionPublishingProfile.withEndOfLifeDate(OffsetDateTime endOfLifeDate)"
summary: "Set the end<wbr>OfLife<wbr>Date property: The end of life date of the gallery image version."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withEndOfLifeDate(java.time.OffsetDateTime)"
parameters:
- name: "endOfLifeDate"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public GalleryImageVersionPublishingProfile withEndOfLifeDate(OffsetDateTime endOfLifeDate)"
desc: "Set the endOfLifeDate property: The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withExcludeFromLatest(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withExcludeFromLatest(Boolean excludeFromLatest)"
name: "withExcludeFromLatest(Boolean excludeFromLatest)"
nameWithType: "GalleryImageVersionPublishingProfile.withExcludeFromLatest(Boolean excludeFromLatest)"
summary: "Set the exclude<wbr>From<wbr>Latest property: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withExcludeFromLatest(java.lang.Boolean)"
parameters:
- name: "excludeFromLatest"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public GalleryImageVersionPublishingProfile withExcludeFromLatest(Boolean excludeFromLatest)"
desc: "Set the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withReplicaCount(java.lang.Integer)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withReplicaCount(Integer replicaCount)"
name: "withReplicaCount(Integer replicaCount)"
nameWithType: "GalleryImageVersionPublishingProfile.withReplicaCount(Integer replicaCount)"
summary: "Set the replica<wbr>Count property: The number of replicas of the Image Version to be created per region."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicaCount(java.lang.Integer)"
parameters:
- name: "replicaCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public GalleryImageVersionPublishingProfile withReplicaCount(Integer replicaCount)"
desc: "Set the replicaCount property: The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withReplicationMode(com.azure.resourcemanager.compute.models.ReplicationMode)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withReplicationMode(ReplicationMode replicationMode)"
name: "withReplicationMode(ReplicationMode replicationMode)"
nameWithType: "GalleryImageVersionPublishingProfile.withReplicationMode(ReplicationMode replicationMode)"
summary: "Set the replication<wbr>Mode property: Optional parameter which specifies the mode to be used for replication."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withReplicationMode(com.azure.resourcemanager.compute.models.ReplicationMode)"
parameters:
- name: "replicationMode"
type: "<xref href=\"com.azure.resourcemanager.compute.models.ReplicationMode?alt=com.azure.resourcemanager.compute.models.ReplicationMode&text=ReplicationMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GalleryImageVersionPublishingProfile withReplicationMode(ReplicationMode replicationMode)"
desc: "Set the replicationMode property: Optional parameter which specifies the mode to be used for replication. This property is not updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountType)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withStorageAccountType(StorageAccountType storageAccountType)"
name: "withStorageAccountType(StorageAccountType storageAccountType)"
nameWithType: "GalleryImageVersionPublishingProfile.withStorageAccountType(StorageAccountType storageAccountType)"
summary: "Set the storage<wbr>Account<wbr>Type property: Specifies the storage account type to be used to store the image."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withStorageAccountType(com.azure.resourcemanager.compute.models.StorageAccountType)"
parameters:
- name: "storageAccountType"
type: "<xref href=\"com.azure.resourcemanager.compute.models.StorageAccountType?alt=com.azure.resourcemanager.compute.models.StorageAccountType&text=StorageAccountType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GalleryImageVersionPublishingProfile withStorageAccountType(StorageAccountType storageAccountType)"
desc: "Set the storageAccountType property: Specifies the storage account type to be used to store the image. This property is not updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withTargetExtendedLocations(java.util.List<com.azure.resourcemanager.compute.models.GalleryTargetExtendedLocation>)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)"
name: "withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)"
nameWithType: "GalleryImageVersionPublishingProfile.withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)"
summary: "Set the target<wbr>Extended<wbr>Locations property: The target extended locations where the Image Version is going to be replicated to."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetExtendedLocations(java.util.List<com.azure.resourcemanager.compute.models.GalleryTargetExtendedLocation>)"
parameters:
- name: "targetExtendedLocations"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.GalleryTargetExtendedLocation?alt=com.azure.resourcemanager.compute.models.GalleryTargetExtendedLocation&text=GalleryTargetExtendedLocation\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public GalleryImageVersionPublishingProfile withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)"
desc: "Set the targetExtendedLocations property: The target extended locations where the Image Version is going to be replicated to. This property is updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withTargetRegions(java.util.List<com.azure.resourcemanager.compute.models.TargetRegion>)"
fullName: "com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile.withTargetRegions(List<TargetRegion> targetRegions)"
name: "withTargetRegions(List<TargetRegion> targetRegions)"
nameWithType: "GalleryImageVersionPublishingProfile.withTargetRegions(List<TargetRegion> targetRegions)"
summary: "Set the target<wbr>Regions property: The target regions where the Image Version is going to be replicated to."
overridden: "com.azure.resourcemanager.compute.models.GalleryArtifactPublishingProfileBase.withTargetRegions(java.util.List<com.azure.resourcemanager.compute.models.TargetRegion>)"
parameters:
- name: "targetRegions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.compute.models.TargetRegion?alt=com.azure.resourcemanager.compute.models.TargetRegion&text=TargetRegion\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public GalleryImageVersionPublishingProfile withTargetRegions(List<TargetRegion> targetRegions)"
desc: "Set the targetRegions property: The target regions where the Image Version is going to be replicated to. This property is updatable."
returns:
type: "<xref href=\"com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile?alt=com.azure.resourcemanager.compute.models.GalleryImageVersionPublishingProfile&text=GalleryImageVersionPublishingProfile\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The publishing profile of a gallery image Version."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0