Interface CustomImage
public interface CustomImage
An immutable client-side representation of CustomImage.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the CustomImage definition.static interface
The CustomImage definition stages.static interface
The template for CustomImage update.static interface
The CustomImage update stages. -
Method Summary
Modifier and TypeMethodDescriptionauthor()
Gets the author property: The author of the custom image.Gets the creationDate property: The creation date of the custom image.Gets the customImagePlan property: Storage information about the plan related to this custom image.Gets the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.Gets the description property: The description of the custom image.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.CustomImageInner object.Gets the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.location()
Gets the location property: The geo-location where the resource lives.Gets the managedImageId property: The Managed Image Id backing the custom image.Gets the managedSnapshotId property: The Managed Snapshot Id backing the custom image.name()
Gets the name property: The name of the resource.Gets the provisioningState property: The provisioning status of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).update()
Begins update for the CustomImage resource.vhd()
Gets the vhd property: The VHD from which the image is to be created.vm()
Gets the vm property: The virtual machine from which the image is to be created.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
vm
Gets the vm property: The virtual machine from which the image is to be created.- Returns:
- the vm value.
-
vhd
Gets the vhd property: The VHD from which the image is to be created.- Returns:
- the vhd value.
-
description
String description()Gets the description property: The description of the custom image.- Returns:
- the description value.
-
author
String author()Gets the author property: The author of the custom image.- Returns:
- the author value.
-
creationDate
OffsetDateTime creationDate()Gets the creationDate property: The creation date of the custom image.- Returns:
- the creationDate value.
-
managedImageId
String managedImageId()Gets the managedImageId property: The Managed Image Id backing the custom image.- Returns:
- the managedImageId value.
-
managedSnapshotId
String managedSnapshotId()Gets the managedSnapshotId property: The Managed Snapshot Id backing the custom image.- Returns:
- the managedSnapshotId value.
-
dataDiskStorageInfo
List<DataDiskStorageTypeInfo> dataDiskStorageInfo()Gets the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.- Returns:
- the dataDiskStorageInfo value.
-
customImagePlan
CustomImagePropertiesFromPlan customImagePlan()Gets the customImagePlan property: Storage information about the plan related to this custom image.- Returns:
- the customImagePlan value.
-
isPlanAuthorized
Boolean isPlanAuthorized()Gets the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.- Returns:
- the isPlanAuthorized value.
-
provisioningState
String provisioningState()Gets the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
String uniqueIdentifier()Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
CustomImageInner innerModel()Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.CustomImageInner object.- Returns:
- the inner object.
-
update
CustomImage.Update update()Begins update for the CustomImage resource.- Returns:
- the stage of resource update.
-
refresh
CustomImage refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-