public final class GalleryApplicationVersionPublishingProfile extends GalleryArtifactPublishingProfileBase
Constructor and Description |
---|
GalleryApplicationVersionPublishingProfile() |
Modifier and Type | Method and Description |
---|---|
String |
contentType()
Get the contentType property: Optional.
|
Boolean |
enableHealthCheck()
Get the enableHealthCheck property: Optional.
|
UserArtifactSource |
source()
Get the source property: The source image from which the Image Version is going to be created.
|
void |
validate()
Validates the instance.
|
GalleryApplicationVersionPublishingProfile |
withContentType(String contentType)
Set the contentType property: Optional.
|
GalleryApplicationVersionPublishingProfile |
withEnableHealthCheck(Boolean enableHealthCheck)
Set the enableHealthCheck property: Optional.
|
GalleryApplicationVersionPublishingProfile |
withSource(UserArtifactSource source)
Set the source property: The source image from which the Image Version is going to be created.
|
endOfLifeDate, excludeFromLatest, publishedDate, replicaCount, storageAccountType, targetRegions, withEndOfLifeDate, withExcludeFromLatest, withReplicaCount, withStorageAccountType, withTargetRegions
public GalleryApplicationVersionPublishingProfile()
public UserArtifactSource source()
public GalleryApplicationVersionPublishingProfile withSource(UserArtifactSource source)
source
- the source value to set.public String contentType()
public GalleryApplicationVersionPublishingProfile withContentType(String contentType)
contentType
- the contentType value to set.public Boolean enableHealthCheck()
public GalleryApplicationVersionPublishingProfile withEnableHealthCheck(Boolean enableHealthCheck)
enableHealthCheck
- the enableHealthCheck value to set.public void validate()
validate
in class GalleryArtifactPublishingProfileBase
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.