CustomImage Interface

public interface CustomImage

An immutable client-side representation of CustomImage.

Method Summary

Modifier and Type Method and Description
abstract String author()

Gets the author property: The author of the custom image.

abstract OffsetDateTime creationDate()

Gets the creationDate property: The creation date of the custom image.

abstract CustomImagePropertiesFromPlan customImagePlan()

Gets the customImagePlan property: Storage information about the plan related to this custom image.

abstract List<DataDiskStorageTypeInfo> dataDiskStorageInfo()

Gets the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.

abstract String description()

Gets the description property: The description of the custom image.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract CustomImageInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.CustomImageInner object.

abstract Boolean isPlanAuthorized()

Gets the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String managedImageId()

Gets the managedImageId property: The Managed Image Id backing the custom image.

abstract String managedSnapshotId()

Gets the managedSnapshotId property: The Managed Snapshot Id backing the custom image.

abstract String name()

Gets the name property: The name of the resource.

abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

abstract CustomImage refresh()

Refreshes the resource to sync with Azure.

abstract CustomImage refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract String uniqueIdentifier()

Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

abstract Update update()

Begins update for the CustomImage resource.

abstract CustomImagePropertiesCustom vhd()

Gets the vhd property: The VHD from which the image is to be created.

abstract CustomImagePropertiesFromVm vm()

Gets the vm property: The virtual machine from which the image is to be created.

Method Details

author

public abstract String author()

Gets the author property: The author of the custom image.

Returns:

the author value.

creationDate

public abstract OffsetDateTime creationDate()

Gets the creationDate property: The creation date of the custom image.

Returns:

the creationDate value.

customImagePlan

public abstract CustomImagePropertiesFromPlan customImagePlan()

Gets the customImagePlan property: Storage information about the plan related to this custom image.

Returns:

the customImagePlan value.

dataDiskStorageInfo

public abstract List<DataDiskStorageTypeInfo> dataDiskStorageInfo()

Gets the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.

Returns:

the dataDiskStorageInfo value.

description

public abstract String description()

Gets the description property: The description of the custom image.

Returns:

the description value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract CustomImageInner innerModel()

Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.CustomImageInner object.

Returns:

the inner object.

isPlanAuthorized

public abstract 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.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

managedImageId

public abstract String managedImageId()

Gets the managedImageId property: The Managed Image Id backing the custom image.

Returns:

the managedImageId value.

managedSnapshotId

public abstract String managedSnapshotId()

Gets the managedSnapshotId property: The Managed Snapshot Id backing the custom image.

Returns:

the managedSnapshotId value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

refresh

public abstract CustomImage refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract CustomImage refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

uniqueIdentifier

public abstract String uniqueIdentifier()

Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

update

public abstract CustomImage.Update update()

Begins update for the CustomImage resource.

Returns:

the stage of resource update.

vhd

public abstract CustomImagePropertiesCustom vhd()

Gets the vhd property: The VHD from which the image is to be created.

Returns:

the vhd value.

vm

public abstract CustomImagePropertiesFromVm vm()

Gets the vm property: The virtual machine from which the image is to be created.

Returns:

the vm value.

Applies to