Class ImageProperties
- java.lang.Object
-
- com.azure.resourcemanager.labservices.fluent.models.ImageUpdateProperties
-
- com.azure.resourcemanager.labservices.fluent.models.ImageProperties
-
public final class ImageProperties extends ImageUpdateProperties
Properties of an image resource.
-
-
Constructor Summary
Constructors Constructor Description ImageProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
author()
Get the author property: The image author.List<String>
availableRegions()
Get the availableRegions property: The available regions of the image in the shared gallery.String
description()
Get the description property: A description of the image.String
displayName()
Get the displayName property: The image display name.String
iconUrl()
Get the iconUrl property: URL of the image icon.String
offer()
Get the offer property: The ID of an offer associated with the image.OsState
osState()
Get the osState property: The OS State of the image.OsType
osType()
Get the osType property: The OS Type of the image.String
plan()
Get the plan property: The ID of marketplace plan associated with the image (optional).ProvisioningState
provisioningState()
Get the provisioningState property: Current provisioning state of the image.String
publisher()
Get the publisher property: The ID of the publisher of the image.String
sharedGalleryId()
Get the sharedGalleryId property: The ID for the image in the shared gallery.String
sku()
Get the sku property: The image SKU.EnableState
termsStatus()
Get the termsStatus property: The status of image terms of use (enabled = accepted, disabled = not accepted).void
validate()
Validates the instance.String
version()
Get the version property: The image version.ImageProperties
withAvailableRegions(List<String> availableRegions)
Set the availableRegions property: The available regions of the image in the shared gallery.ImageProperties
withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.-
Methods inherited from class com.azure.resourcemanager.labservices.fluent.models.ImageUpdateProperties
enabledState
-
-
-
-
Method Detail
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the image.- Returns:
- the provisioningState value.
-
displayName
public String displayName()
Get the displayName property: The image display name.- Returns:
- the displayName value.
-
description
public String description()
Get the description property: A description of the image.- Returns:
- the description value.
-
iconUrl
public String iconUrl()
Get the iconUrl property: URL of the image icon.- Returns:
- the iconUrl value.
-
author
public String author()
Get the author property: The image author.- Returns:
- the author value.
-
osType
public OsType osType()
Get the osType property: The OS Type of the image.- Returns:
- the osType value.
-
plan
public String plan()
Get the plan property: The ID of marketplace plan associated with the image (optional).- Returns:
- the plan value.
-
termsStatus
public EnableState termsStatus()
Get the termsStatus property: The status of image terms of use (enabled = accepted, disabled = not accepted).- Returns:
- the termsStatus value.
-
offer
public String offer()
Get the offer property: The ID of an offer associated with the image.- Returns:
- the offer value.
-
publisher
public String publisher()
Get the publisher property: The ID of the publisher of the image.- Returns:
- the publisher value.
-
sku
public String sku()
Get the sku property: The image SKU.- Returns:
- the sku value.
-
version
public String version()
Get the version property: The image version.- Returns:
- the version value.
-
sharedGalleryId
public String sharedGalleryId()
Get the sharedGalleryId property: The ID for the image in the shared gallery.- Returns:
- the sharedGalleryId value.
-
availableRegions
public List<String> availableRegions()
Get the availableRegions property: The available regions of the image in the shared gallery.- Returns:
- the availableRegions value.
-
withAvailableRegions
public ImageProperties withAvailableRegions(List<String> availableRegions)
Set the availableRegions property: The available regions of the image in the shared gallery.- Parameters:
availableRegions
- the availableRegions value to set.- Returns:
- the ImageProperties object itself.
-
osState
public OsState osState()
Get the osState property: The OS State of the image.- Returns:
- the osState value.
-
withEnabledState
public ImageProperties withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.- Overrides:
withEnabledState
in classImageUpdateProperties
- Parameters:
enabledState
- the enabledState value to set.- Returns:
- the ImageUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classImageUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-