Class CustomImageProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.CustomImageProperties
Properties of a custom image.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: The author of the custom image.Get the creationDate property: The creation date of the custom image.Get the customImagePlan property: Storage information about the plan related to this custom image.Get the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.Get the description property: The description of the custom image.Get the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.Get the managedImageId property: The Managed Image Id backing the custom image.Get the managedSnapshotId property: The Managed Snapshot Id backing the custom image.Get the provisioningState property: The provisioning status of the resource.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.vhd()
Get the vhd property: The VHD from which the image is to be created.vm()
Get the vm property: The virtual machine from which the image is to be created.withAuthor
(String author) Set the author property: The author of the custom image.withCustomImagePlan
(CustomImagePropertiesFromPlan customImagePlan) Set the customImagePlan property: Storage information about the plan related to this custom image.withDataDiskStorageInfo
(List<DataDiskStorageTypeInfo> dataDiskStorageInfo) Set the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.withDescription
(String description) Set the description property: The description of the custom image.withIsPlanAuthorized
(Boolean isPlanAuthorized) Set the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.withManagedImageId
(String managedImageId) Set the managedImageId property: The Managed Image Id backing the custom image.withManagedSnapshotId
(String managedSnapshotId) Set the managedSnapshotId property: The Managed Snapshot Id backing the custom image.Set the vhd property: The VHD from which the image is to be created.Set the vm property: The virtual machine from which the image is to be created.
-
Constructor Details
-
CustomImageProperties
public CustomImageProperties()Creates an instance of CustomImageProperties class.
-
-
Method Details
-
vm
Get the vm property: The virtual machine from which the image is to be created.- Returns:
- the vm value.
-
withVm
Set the vm property: The virtual machine from which the image is to be created.- Parameters:
vm
- the vm value to set.- Returns:
- the CustomImageProperties object itself.
-
vhd
Get the vhd property: The VHD from which the image is to be created.- Returns:
- the vhd value.
-
withVhd
Set the vhd property: The VHD from which the image is to be created.- Parameters:
vhd
- the vhd value to set.- Returns:
- the CustomImageProperties object itself.
-
description
Get the description property: The description of the custom image.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the custom image.- Parameters:
description
- the description value to set.- Returns:
- the CustomImageProperties object itself.
-
author
Get the author property: The author of the custom image.- Returns:
- the author value.
-
withAuthor
Set the author property: The author of the custom image.- Parameters:
author
- the author value to set.- Returns:
- the CustomImageProperties object itself.
-
creationDate
Get the creationDate property: The creation date of the custom image.- Returns:
- the creationDate value.
-
managedImageId
Get the managedImageId property: The Managed Image Id backing the custom image.- Returns:
- the managedImageId value.
-
withManagedImageId
Set the managedImageId property: The Managed Image Id backing the custom image.- Parameters:
managedImageId
- the managedImageId value to set.- Returns:
- the CustomImageProperties object itself.
-
managedSnapshotId
Get the managedSnapshotId property: The Managed Snapshot Id backing the custom image.- Returns:
- the managedSnapshotId value.
-
withManagedSnapshotId
Set the managedSnapshotId property: The Managed Snapshot Id backing the custom image.- Parameters:
managedSnapshotId
- the managedSnapshotId value to set.- Returns:
- the CustomImageProperties object itself.
-
dataDiskStorageInfo
Get the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.- Returns:
- the dataDiskStorageInfo value.
-
withDataDiskStorageInfo
public CustomImageProperties withDataDiskStorageInfo(List<DataDiskStorageTypeInfo> dataDiskStorageInfo) Set the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.- Parameters:
dataDiskStorageInfo
- the dataDiskStorageInfo value to set.- Returns:
- the CustomImageProperties object itself.
-
customImagePlan
Get the customImagePlan property: Storage information about the plan related to this custom image.- Returns:
- the customImagePlan value.
-
withCustomImagePlan
Set the customImagePlan property: Storage information about the plan related to this custom image.- Parameters:
customImagePlan
- the customImagePlan value to set.- Returns:
- the CustomImageProperties object itself.
-
isPlanAuthorized
Get the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.- Returns:
- the isPlanAuthorized value.
-
withIsPlanAuthorized
Set the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.- Parameters:
isPlanAuthorized
- the isPlanAuthorized value to set.- Returns:
- the CustomImageProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-