VirtualMachineImageInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineImageResourceInner - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineImageInner
- com.
- com.
- com.
public final class VirtualMachineImageInner
extends VirtualMachineImageResourceInner
Describes a Virtual Machine Image.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineImageInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Architecture |
architecture()
Get the architecture property: Specifies the Architecture Type. |
Automatic |
automaticOSUpgradeProperties()
Get the automatic |
List<Data |
dataDiskImages()
Get the data |
Disallowed |
disallowed()
Get the disallowed property: Specifies disallowed configuration for the Virtual |
List<Virtual |
features()
Get the features property: The features property. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Hyper |
hyperVGeneration()
Get the hyper |
Image |
imageDeprecationStatus()
Get the image |
OSDisk |
osDiskImage()
Get the os |
Purchase |
plan()
Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through Market |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withArchitecture(ArchitectureTypes architecture)
Set the architecture property: Specifies the Architecture Type. |
Virtual |
withAutomaticOSUpgradeProperties(AutomaticOSUpgradeProperties automaticOSUpgradeProperties)
Set the automatic |
Virtual |
withDataDiskImages(List<DataDiskImage> dataDiskImages)
Set the data |
Virtual |
withDisallowed(DisallowedConfiguration disallowed)
Set the disallowed property: Specifies disallowed configuration for the Virtual |
Virtual |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Virtual |
withFeatures(List<VirtualMachineImageFeature> features)
Set the features property: The features property. |
Virtual |
withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
Set the hyper |
Virtual |
withId(String id) |
Virtual |
withImageDeprecationStatus(ImageDeprecationStatus imageDeprecationStatus)
Set the image |
Virtual |
withLocation(String location)
Set the location property: The supported Azure location of the resource. |
Virtual |
withName(String name)
Set the name property: The name of the resource. |
Virtual |
withOsDiskImage(OSDiskImage osDiskImage)
Set the os |
Virtual |
withPlan(PurchasePlan plan)
Set the plan property: Used for establishing the purchase context of any 3rd Party artifact through Market |
Virtual |
withTags(Map<String,String> tags)
Set the tags property: Specifies the tags that are assigned to the virtual machine. |
Methods inherited from SubResource
Methods inherited from VirtualMachineImageResourceInner
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineImageInner
public VirtualMachineImageInner()
Creates an instance of VirtualMachineImageInner class.
Method Details
architecture
public ArchitectureTypes architecture()
Get the architecture property: Specifies the Architecture Type.
Returns:
automaticOSUpgradeProperties
public AutomaticOSUpgradeProperties automaticOSUpgradeProperties()
Get the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
Returns:
dataDiskImages
public List
Get the dataDiskImages property: The dataDiskImages property.
Returns:
disallowed
public DisallowedConfiguration disallowed()
Get the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.
Returns:
features
public List
Get the features property: The features property.
Returns:
fromJson
public static VirtualMachineImageInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineImageInner from the JsonReader.
Parameters:
Returns:
Throws:
hyperVGeneration
public HyperVGenerationTypes hyperVGeneration()
Get the hyperVGeneration property: Specifies the HyperVGeneration Type.
Returns:
imageDeprecationStatus
public ImageDeprecationStatus imageDeprecationStatus()
Get the imageDeprecationStatus property: Describes image deprecation status properties on the image.
Returns:
osDiskImage
public OSDiskImage osDiskImage()
Get the osDiskImage property: Contains the os disk image information.
Returns:
plan
public PurchasePlan plan()
Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineImageInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
VirtualMachineImageInner.validate()withArchitecture
public VirtualMachineImageInner withArchitecture(ArchitectureTypes architecture)
Set the architecture property: Specifies the Architecture Type.
Parameters:
Returns:
withAutomaticOSUpgradeProperties
public VirtualMachineImageInner withAutomaticOSUpgradeProperties(AutomaticOSUpgradeProperties automaticOSUpgradeProperties)
Set the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
Parameters:
Returns:
withDataDiskImages
public VirtualMachineImageInner withDataDiskImages(List
Set the dataDiskImages property: The dataDiskImages property.
Parameters:
Returns:
withDisallowed
public VirtualMachineImageInner withDisallowed(DisallowedConfiguration disallowed)
Set the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.
Parameters:
Returns:
withExtendedLocation
public VirtualMachineImageInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the Virtual Machine.
Overrides:
VirtualMachineImageInner.withExtendedLocation(ExtendedLocation extendedLocation)Parameters:
withFeatures
public VirtualMachineImageInner withFeatures(List
Set the features property: The features property.
Parameters:
Returns:
withHyperVGeneration
public VirtualMachineImageInner withHyperVGeneration(HyperVGenerationTypes hyperVGeneration)
Set the hyperVGeneration property: Specifies the HyperVGeneration Type.
Parameters:
Returns:
withId
public VirtualMachineImageInner withId(String id)
Overrides:
VirtualMachineImageInner.withId(String id)Parameters:
withImageDeprecationStatus
public VirtualMachineImageInner withImageDeprecationStatus(ImageDeprecationStatus imageDeprecationStatus)
Set the imageDeprecationStatus property: Describes image deprecation status properties on the image.
Parameters:
Returns:
withLocation
public VirtualMachineImageInner withLocation(String location)
Set the location property: The supported Azure location of the resource.
Overrides:
VirtualMachineImageInner.withLocation(String location)Parameters:
withName
public VirtualMachineImageInner withName(String name)
Set the name property: The name of the resource.
Overrides:
VirtualMachineImageInner.withName(String name)Parameters:
withOsDiskImage
public VirtualMachineImageInner withOsDiskImage(OSDiskImage osDiskImage)
Set the osDiskImage property: Contains the os disk image information.
Parameters:
Returns:
withPlan
public VirtualMachineImageInner withPlan(PurchasePlan plan)
Set the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
Parameters:
Returns:
withTags
public VirtualMachineImageInner withTags(Map
Set the tags property: Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
Overrides:
VirtualMachineImageInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java