Class GalleryArtifactPublishingProfileBase
java.lang.Object
com.microsoft.azure.management.compute.GalleryArtifactPublishingProfileBase
- Direct Known Subclasses:
GalleryApplicationVersionPublishingProfile
,GalleryImageVersionPublishingProfile
Describes the basic gallery artifact publishing profile.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Get the end of life date of the gallery Image Version.Get if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.org.joda.time.DateTime
Get the timestamp for when the gallery Image Version is published.Get the number of replicas of the Image Version to be created per region.Get specifies the storage account type to be used to store the image.Get the target regions where the Image Version is going to be replicated to.withEndOfLifeDate
(org.joda.time.DateTime endOfLifeDate) Set the end of life date of the gallery Image Version.withExcludeFromLatest
(Boolean excludeFromLatest) Set if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.withReplicaCount
(Integer replicaCount) Set the number of replicas of the Image Version to be created per region.withStorageAccountType
(StorageAccountType storageAccountType) Set specifies the storage account type to be used to store the image.withTargetRegions
(List<TargetRegion> targetRegions) Set the target regions where the Image Version is going to be replicated to.
-
Constructor Details
-
GalleryArtifactPublishingProfileBase
public GalleryArtifactPublishingProfileBase()
-
-
Method Details
-
targetRegions
Get the target regions where the Image Version is going to be replicated to. This property is updatable.- Returns:
- the targetRegions value
-
withTargetRegions
Set the target regions where the Image Version is going to be replicated to. This property is updatable.- Parameters:
targetRegions
- the targetRegions value to set- Returns:
- the GalleryArtifactPublishingProfileBase object itself.
-
replicaCount
Get 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:
- the replicaCount value
-
withReplicaCount
Set 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.- Parameters:
replicaCount
- the replicaCount value to set- Returns:
- the GalleryArtifactPublishingProfileBase object itself.
-
excludeFromLatest
Get if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.- Returns:
- the excludeFromLatest value
-
withExcludeFromLatest
Set if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.- Parameters:
excludeFromLatest
- the excludeFromLatest value to set- Returns:
- the GalleryArtifactPublishingProfileBase object itself.
-
publishedDate
public org.joda.time.DateTime publishedDate()Get the timestamp for when the gallery Image Version is published.- Returns:
- the publishedDate value
-
endOfLifeDate
public org.joda.time.DateTime endOfLifeDate()Get the end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.- Returns:
- the endOfLifeDate value
-
withEndOfLifeDate
Set the end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.- Parameters:
endOfLifeDate
- the endOfLifeDate value to set- Returns:
- the GalleryArtifactPublishingProfileBase object itself.
-
storageAccountType
Get specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'.- Returns:
- the storageAccountType value
-
withStorageAccountType
public GalleryArtifactPublishingProfileBase withStorageAccountType(StorageAccountType storageAccountType) Set specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'.- Parameters:
storageAccountType
- the storageAccountType value to set- Returns:
- the GalleryArtifactPublishingProfileBase object itself.
-