public class GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase
Constructor and Description |
---|
GalleryImageVersionPublishingProfile() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
endOfLifeDate()
Get the end of life date of the gallery Image Version.
|
Boolean |
excludeFromLatest()
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 |
publishedDate()
Get the timestamp for when the gallery Image Version is published.
|
Integer |
replicaCount()
Get the number of replicas of the Image Version to be created per region.
|
StorageAccountType |
storageAccountType()
Get specifies the storage account type to be used to store the image.
|
GalleryImageVersionPublishingProfile |
withEndOfLifeDate(org.joda.time.DateTime endOfLifeDate)
Set the end of life date of the gallery Image Version.
|
GalleryImageVersionPublishingProfile |
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.
|
GalleryImageVersionPublishingProfile |
withReplicaCount(Integer replicaCount)
Set the number of replicas of the Image Version to be created per region.
|
GalleryImageVersionPublishingProfile |
withStorageAccountType(StorageAccountType storageAccountType)
Set specifies the storage account type to be used to store the image.
|
source, targetRegions, withSource, withTargetRegions
public GalleryImageVersionPublishingProfile()
public Integer replicaCount()
public GalleryImageVersionPublishingProfile withReplicaCount(Integer replicaCount)
replicaCount
- the replicaCount value to setpublic Boolean excludeFromLatest()
public GalleryImageVersionPublishingProfile withExcludeFromLatest(Boolean excludeFromLatest)
excludeFromLatest
- the excludeFromLatest value to setpublic org.joda.time.DateTime publishedDate()
public org.joda.time.DateTime endOfLifeDate()
public GalleryImageVersionPublishingProfile withEndOfLifeDate(org.joda.time.DateTime endOfLifeDate)
endOfLifeDate
- the endOfLifeDate value to setpublic StorageAccountType storageAccountType()
public GalleryImageVersionPublishingProfile withStorageAccountType(StorageAccountType storageAccountType)
storageAccountType
- the storageAccountType value to setCopyright © 2019. All rights reserved.