CustomImageInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. CustomImageInner
- com.
- com.
- com.
public final class CustomImageInner
extends Resource
A custom image.
Constructor Summary
Constructor | Description |
---|---|
CustomImageInner() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
author()
Get the author property: The author of the custom image. |
Offset |
creationDate()
Get the creation |
Custom |
customImagePlan()
Get the custom |
List<Data |
dataDiskStorageInfo()
Get the data |
String |
description()
Get the description property: The description of the custom image. |
Boolean |
isPlanAuthorized()
Get the is |
String |
managedImageId()
Get the managed |
String |
managedSnapshotId()
Get the managed |
String |
provisioningState()
Get the provisioning |
String |
uniqueIdentifier()
Get the unique |
void |
validate()
Validates the instance. |
Custom |
vhd()
Get the vhd property: The VHD from which the image is to be created. |
Custom |
vm()
Get the vm property: The virtual machine from which the image is to be created. |
Custom |
withAuthor(String author)
Set the author property: The author of the custom image. |
Custom |
withCustomImagePlan(CustomImagePropertiesFromPlan customImagePlan)
Set the custom |
Custom |
withDataDiskStorageInfo(List<DataDiskStorageTypeInfo> dataDiskStorageInfo)
Set the data |
Custom |
withDescription(String description)
Set the description property: The description of the custom image. |
Custom |
withIsPlanAuthorized(Boolean isPlanAuthorized)
Set the is |
Custom |
withLocation(String location) |
Custom |
withManagedImageId(String managedImageId)
Set the managed |
Custom |
withManagedSnapshotId(String managedSnapshotId)
Set the managed |
Custom |
withTags(Map<String,String> tags) |
Custom |
withVhd(CustomImagePropertiesCustom vhd)
Set the vhd property: The VHD from which the image is to be created. |
Custom |
withVm(CustomImagePropertiesFromVm vm)
Set the vm property: The virtual machine from which the image is to be created. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
CustomImageInner
public CustomImageInner()
Creates an instance of CustomImageInner class.
Method Details
author
public String author()
Get the author property: The author of the custom image.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of the custom image.
Returns:
customImagePlan
public CustomImagePropertiesFromPlan customImagePlan()
Get the customImagePlan property: Storage information about the plan related to this custom image.
Returns:
dataDiskStorageInfo
public List
Get the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.
Returns:
description
public String description()
Get the description property: The description of the custom image.
Returns:
isPlanAuthorized
public Boolean isPlanAuthorized()
Get the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.
Returns:
managedImageId
public String managedImageId()
Get the managedImageId property: The Managed Image Id backing the custom image.
Returns:
managedSnapshotId
public String managedSnapshotId()
Get the managedSnapshotId property: The Managed Snapshot Id backing the custom image.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
vhd
public CustomImagePropertiesCustom vhd()
Get the vhd property: The VHD from which the image is to be created.
Returns:
vm
public CustomImagePropertiesFromVm vm()
Get the vm property: The virtual machine from which the image is to be created.
Returns:
withAuthor
public CustomImageInner withAuthor(String author)
Set the author property: The author of the custom image.
Parameters:
Returns:
withCustomImagePlan
public CustomImageInner withCustomImagePlan(CustomImagePropertiesFromPlan customImagePlan)
Set the customImagePlan property: Storage information about the plan related to this custom image.
Parameters:
Returns:
withDataDiskStorageInfo
public CustomImageInner withDataDiskStorageInfo(List
Set the dataDiskStorageInfo property: Storage information about the data disks present in the custom image.
Parameters:
Returns:
withDescription
public CustomImageInner withDescription(String description)
Set the description property: The description of the custom image.
Parameters:
Returns:
withIsPlanAuthorized
public CustomImageInner withIsPlanAuthorized(Boolean isPlanAuthorized)
Set the isPlanAuthorized property: Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.
Parameters:
Returns:
withLocation
public CustomImageInner withLocation(String location)
Overrides:
CustomImageInner.withLocation(String location)Parameters:
withManagedImageId
public CustomImageInner withManagedImageId(String managedImageId)
Set the managedImageId property: The Managed Image Id backing the custom image.
Parameters:
Returns:
withManagedSnapshotId
public CustomImageInner withManagedSnapshotId(String managedSnapshotId)
Set the managedSnapshotId property: The Managed Snapshot Id backing the custom image.
Parameters:
Returns:
withTags
public CustomImageInner withTags(Map
Overrides:
CustomImageInner.withTags(Map<String,String> tags)Parameters:
withVhd
public CustomImageInner withVhd(CustomImagePropertiesCustom vhd)
Set the vhd property: The VHD from which the image is to be created.
Parameters:
Returns:
withVm
public CustomImageInner withVm(CustomImagePropertiesFromVm vm)
Set the vm property: The virtual machine from which the image is to be created.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for