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.
|
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.
|
source, targetRegions, withSource, withTargetRegionspublic 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 set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/