GalleryApplicationVersionPublishingProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactPublishingProfileBase - com.
azure. resourcemanager. compute. models. GalleryApplicationVersionPublishingProfile
- com.
- com.
public final class GalleryApplicationVersionPublishingProfile
extends GalleryArtifactPublishingProfileBase
The publishing profile of a gallery image version.
Constructor Summary
Constructor | Description |
---|---|
GalleryApplicationVersionPublishingProfile() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
advancedSettings()
Get the advanced |
List<Gallery |
customActions()
Get the custom |
Boolean |
enableHealthCheck()
Get the enable |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
User |
manageActions()
Get the manage |
Offset |
publishedDate()
Get the published |
User |
settings()
Get the settings property: Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. |
User |
source()
Get the source property: The source image from which the Image Version is going to be created. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gallery |
withAdvancedSettings(Map<String,String> advancedSettings)
Set the advanced |
Gallery |
withCustomActions(List<GalleryApplicationCustomAction> customActions)
Set the custom |
Gallery |
withEnableHealthCheck(Boolean enableHealthCheck)
Set the enable |
Gallery |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
Gallery |
withExcludeFromLatest(Boolean excludeFromLatest)
Set the exclude |
Gallery |
withManageActions(UserArtifactManage manageActions)
Set the manage |
Gallery |
withReplicaCount(Integer replicaCount)
Set the replica |
Gallery |
withReplicationMode(ReplicationMode replicationMode)
Set the replication |
Gallery |
withSettings(UserArtifactSettings settings)
Set the settings property: Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set. |
Gallery |
withSource(UserArtifactSource source)
Set the source property: The source image from which the Image Version is going to be created. |
Gallery |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storage |
Gallery |
withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)
Set the target |
Gallery |
withTargetRegions(List<TargetRegion> targetRegions)
Set the target |
Methods inherited from GalleryArtifactPublishingProfileBase
Methods inherited from java.lang.Object
Constructor Details
GalleryApplicationVersionPublishingProfile
public GalleryApplicationVersionPublishingProfile()
Creates an instance of GalleryApplicationVersionPublishingProfile class.
Method Details
advancedSettings
public Map
Get the advancedSettings property: Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.
Returns:
customActions
public List
Get the customActions property: A list of custom actions that can be performed with this Gallery Application Version.
Returns:
enableHealthCheck
public Boolean enableHealthCheck()
Get the enableHealthCheck property: Optional. Whether or not this application reports health.
Returns:
fromJson
public static GalleryApplicationVersionPublishingProfile fromJson(JsonReader jsonReader)
Reads an instance of GalleryApplicationVersionPublishingProfile from the JsonReader.
Parameters:
Returns:
Throws:
manageActions
public UserArtifactManage manageActions()
Get the manageActions property: The manageActions property.
Returns:
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The timestamp for when the gallery image version is published.
Overrides:
GalleryApplicationVersionPublishingProfile.publishedDate()Returns:
settings
public UserArtifactSettings settings()
Get the settings property: Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
Returns:
source
public UserArtifactSource source()
Get the source property: The source image from which the Image Version is going to be created.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryApplicationVersionPublishingProfile.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GalleryApplicationVersionPublishingProfile.validate()withAdvancedSettings
public GalleryApplicationVersionPublishingProfile withAdvancedSettings(Map
Set the advancedSettings property: Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.
Parameters:
Returns:
withCustomActions
public GalleryApplicationVersionPublishingProfile withCustomActions(List
Set the customActions property: A list of custom actions that can be performed with this Gallery Application Version.
Parameters:
Returns:
withEnableHealthCheck
public GalleryApplicationVersionPublishingProfile withEnableHealthCheck(Boolean enableHealthCheck)
Set the enableHealthCheck property: Optional. Whether or not this application reports health.
Parameters:
Returns:
withEndOfLifeDate
public GalleryApplicationVersionPublishingProfile withEndOfLifeDate(OffsetDateTime endOfLifeDate)
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.
Overrides:
GalleryApplicationVersionPublishingProfile.withEndOfLifeDate(OffsetDateTime endOfLifeDate)Parameters:
withExcludeFromLatest
public GalleryApplicationVersionPublishingProfile 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.
Overrides:
GalleryApplicationVersionPublishingProfile.withExcludeFromLatest(Boolean excludeFromLatest)Parameters:
withManageActions
public GalleryApplicationVersionPublishingProfile withManageActions(UserArtifactManage manageActions)
Set the manageActions property: The manageActions property.
Parameters:
Returns:
withReplicaCount
public GalleryApplicationVersionPublishingProfile withReplicaCount(Integer replicaCount)
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.
Overrides:
GalleryApplicationVersionPublishingProfile.withReplicaCount(Integer replicaCount)Parameters:
withReplicationMode
public GalleryApplicationVersionPublishingProfile withReplicationMode(ReplicationMode replicationMode)
Set the replicationMode property: Optional parameter which specifies the mode to be used for replication. This property is not updatable.
Overrides:
GalleryApplicationVersionPublishingProfile.withReplicationMode(ReplicationMode replicationMode)Parameters:
withSettings
public GalleryApplicationVersionPublishingProfile withSettings(UserArtifactSettings settings)
Set the settings property: Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
Parameters:
Returns:
withSource
public GalleryApplicationVersionPublishingProfile withSource(UserArtifactSource source)
Set the source property: The source image from which the Image Version is going to be created.
Parameters:
Returns:
withStorageAccountType
public GalleryApplicationVersionPublishingProfile withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: Specifies the storage account type to be used to store the image. This property is not updatable.
Overrides:
GalleryApplicationVersionPublishingProfile.withStorageAccountType(StorageAccountType storageAccountType)Parameters:
withTargetExtendedLocations
public GalleryApplicationVersionPublishingProfile withTargetExtendedLocations(List
Set the targetExtendedLocations property: The target extended locations where the Image Version is going to be replicated to. This property is updatable.
Overrides:
GalleryApplicationVersionPublishingProfile.withTargetExtendedLocations(List<GalleryTargetExtendedLocation> targetExtendedLocations)Parameters:
withTargetRegions
public GalleryApplicationVersionPublishingProfile withTargetRegions(List
Set the targetRegions property: The target regions where the Image Version is going to be replicated to. This property is updatable.
Overrides:
GalleryApplicationVersionPublishingProfile.withTargetRegions(List<TargetRegion> targetRegions)Parameters:
Applies to
Azure SDK for Java