VirtualMachineExtensionImageInner Class

public final class VirtualMachineExtensionImageInner
extends Resource

Describes a Virtual Machine Extension Image.

Method Summary

Modifier and Type Method and Description
String computeRole()

Get the computeRole property: The type of role (IaaS or PaaS) this extension supports.

static VirtualMachineExtensionImageInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineExtensionImageInner from the JsonReader.

String handlerSchema()

Get the handlerSchema property: The schema defined by publisher, where extension consumers should provide settings in a matching schema.

String id()

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

String name()

Get the name property: The name of the resource.

String operatingSystem()

Get the operatingSystem property: The operating system this extension supports.

Boolean supportsMultipleExtensions()

Get the supportsMultipleExtensions property: Whether the handler can support multiple extensions.

SystemData systemData()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Boolean vmScaleSetEnabled()

Get the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Method Details

computeRole

public String computeRole()

Get the computeRole property: The type of role (IaaS or PaaS) this extension supports.

Returns:

the computeRole value.

fromJson

public static VirtualMachineExtensionImageInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineExtensionImageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualMachineExtensionImageInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

handlerSchema

public String handlerSchema()

Get the handlerSchema property: The schema defined by publisher, where extension consumers should provide settings in a matching schema.

Returns:

the handlerSchema value.

id

public String id()

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

Overrides:

VirtualMachineExtensionImageInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VirtualMachineExtensionImageInner.name()

Returns:

the name value.

operatingSystem

public String operatingSystem()

Get the operatingSystem property: The operating system this extension supports.

Returns:

the operatingSystem value.

supportsMultipleExtensions

public Boolean supportsMultipleExtensions()

Get the supportsMultipleExtensions property: Whether the handler can support multiple extensions.

Returns:

the supportsMultipleExtensions value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VirtualMachineExtensionImageInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VirtualMachineExtensionImageInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vmScaleSetEnabled

public Boolean vmScaleSetEnabled()

Get the vmScaleSetEnabled property: Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.

Returns:

the vmScaleSetEnabled value.

Applies to