public class GalleryArtifactPublishingProfileBase extends Object
Constructor and Description |
---|
GalleryArtifactPublishingProfileBase() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery Image Version.
|
Boolean |
excludeFromLatest()
Get the excludeFromLatest property: If set to true, Virtual Machines deployed from the latest version of the
Image Definition won't use this Image Version.
|
OffsetDateTime |
publishedDate()
Get the publishedDate property: The timestamp for when the gallery Image Version is published.
|
Integer |
replicaCount()
Get the replicaCount property: The number of replicas of the Image Version to be created per region.
|
StorageAccountType |
storageAccountType()
Get the storageAccountType property: Specifies the storage account type to be used to store the image.
|
List<TargetRegion> |
targetRegions()
Get the targetRegions property: The target regions where the Image Version is going to be replicated to.
|
void |
validate()
Validates the instance.
|
GalleryArtifactPublishingProfileBase |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery Image Version.
|
GalleryArtifactPublishingProfileBase |
withExcludeFromLatest(Boolean excludeFromLatest)
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.
|
GalleryArtifactPublishingProfileBase |
withReplicaCount(Integer replicaCount)
Set the replicaCount property: The number of replicas of the Image Version to be created per region.
|
GalleryArtifactPublishingProfileBase |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: Specifies the storage account type to be used to store the image.
|
GalleryArtifactPublishingProfileBase |
withTargetRegions(List<TargetRegion> targetRegions)
Set the targetRegions property: The target regions where the Image Version is going to be replicated to.
|
public GalleryArtifactPublishingProfileBase()
public List<TargetRegion> targetRegions()
public GalleryArtifactPublishingProfileBase withTargetRegions(List<TargetRegion> targetRegions)
targetRegions
- the targetRegions value to set.public Integer replicaCount()
public GalleryArtifactPublishingProfileBase withReplicaCount(Integer replicaCount)
replicaCount
- the replicaCount value to set.public Boolean excludeFromLatest()
public GalleryArtifactPublishingProfileBase withExcludeFromLatest(Boolean excludeFromLatest)
excludeFromLatest
- the excludeFromLatest value to set.public OffsetDateTime publishedDate()
public OffsetDateTime endOfLifeDate()
public GalleryArtifactPublishingProfileBase withEndOfLifeDate(OffsetDateTime endOfLifeDate)
endOfLifeDate
- the endOfLifeDate value to set.public StorageAccountType storageAccountType()
public GalleryArtifactPublishingProfileBase withStorageAccountType(StorageAccountType storageAccountType)
storageAccountType
- the storageAccountType value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.