ImageInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. labservices. fluent. models. ImageInner
- com.
- com.
public final class ImageInner
extends ProxyResource
Lab services virtual machine image.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageInner() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
author()
Get the author property: The image author. |
| List<String> |
availableRegions()
Get the available |
| String |
description()
Get the description property: A description of the image. |
| String |
displayName()
Get the display |
|
Enable |
enabledState()
Get the enabled |
|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
| String |
iconUrl()
Get the icon |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
offer()
Get the offer property: The ID of an offer associated with the image. |
|
Os |
osState()
Get the os |
|
Os |
osType()
Get the os |
| String |
plan()
Get the plan property: The ID of marketplace plan associated with the image (optional). |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
publisher()
Get the publisher property: The ID of the publisher of the image. |
| String |
sharedGalleryId()
Get the shared |
| String |
sku()
Get the sku property: The image SKU. |
|
System |
systemData()
Get the system |
|
Enable |
termsStatus()
Get the terms |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: The image version. |
|
Image |
withAvailableRegions(List<String> availableRegions)
Set the available |
|
Image |
withEnabledState(EnableState enabledState)
Set the enabled |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ImageInner
public ImageInner()
Creates an instance of ImageInner class.
Method Details
author
public String author()
Get the author property: The image author.
Returns:
availableRegions
public List<String> availableRegions()
Get the availableRegions property: The available regions of the image in the shared gallery.
Returns:
description
public String description()
Get the description property: A description of the image.
Returns:
displayName
public String displayName()
Get the displayName property: The image display name.
Returns:
enabledState
public EnableState enabledState()
Get the enabledState property: Is the image enabled.
Returns:
fromJson
public static ImageInner fromJson(JsonReader jsonReader)
Reads an instance of ImageInner from the JsonReader.
Parameters:
Returns:
Throws:
iconUrl
public String iconUrl()
Get the iconUrl property: URL of the image icon.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ImageInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ImageInner.name()Returns:
offer
public String offer()
Get the offer property: The ID of an offer associated with the image.
Returns:
osState
public OsState osState()
Get the osState property: The OS State of the image.
Returns:
osType
public OsType osType()
Get the osType property: The OS Type of the image.
Returns:
plan
public String plan()
Get the plan property: The ID of marketplace plan associated with the image (optional).
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning state of the image.
Returns:
publisher
public String publisher()
Get the publisher property: The ID of the publisher of the image.
Returns:
sharedGalleryId
public String sharedGalleryId()
Get the sharedGalleryId property: The ID for the image in the shared gallery.
Returns:
sku
public String sku()
Get the sku property: The image SKU.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the image.
Returns:
termsStatus
public EnableState termsStatus()
Get the termsStatus property: The status of image terms of use (enabled = accepted, disabled = not accepted).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ImageInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ImageInner.type()Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The image version.
Returns:
withAvailableRegions
public ImageInner withAvailableRegions(List<String> availableRegions)
Set the availableRegions property: The available regions of the image in the shared gallery.
Parameters:
Returns:
withEnabledState
public ImageInner withEnabledState(EnableState enabledState)
Set the enabledState property: Is the image enabled.
Parameters:
Returns: