次の方法で共有


VirtualMachineExtensionProductProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestack.models.VirtualMachineExtensionProductProperties

Implements

public class VirtualMachineExtensionProductProperties
implements JsonSerializable<VirtualMachineExtensionProductProperties>

Product information.

Constructor Summary

Constructor Description
VirtualMachineExtensionProductProperties()

Creates an instance of VirtualMachineExtensionProductProperties class.

Method Summary

Modifier and Type Method and Description
ComputeRole computeRole()

Get the computeRole property: Specifies kind of compute role included in the package.

static VirtualMachineExtensionProductProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineExtensionProductProperties from the JsonReader.

Boolean isSystemExtension()

Get the isSystemExtension property: Specifies if product is a Virtual Machine Extension.

Boolean supportMultipleExtensions()

Get the supportMultipleExtensions property: Indicates if specified product supports multiple extensions.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The URI.

void validate()

Validates the instance.

String version()

Get the version property: Specifies product version.

OperatingSystem vmOsType()

Get the vmOsType property: Specifies operating system used by the product.

Boolean vmScaleSetEnabled()

Get the vmScaleSetEnabled property: Indicates if virtual machine Scale Set is enabled in the specified product.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineExtensionProductProperties

public VirtualMachineExtensionProductProperties()

Creates an instance of VirtualMachineExtensionProductProperties class.

Method Details

computeRole

public ComputeRole computeRole()

Get the computeRole property: Specifies kind of compute role included in the package.

Returns:

the computeRole value.

fromJson

public static VirtualMachineExtensionProductProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineExtensionProductProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the VirtualMachineExtensionProductProperties.

isSystemExtension

public Boolean isSystemExtension()

Get the isSystemExtension property: Specifies if product is a Virtual Machine Extension.

Returns:

the isSystemExtension value.

supportMultipleExtensions

public Boolean supportMultipleExtensions()

Get the supportMultipleExtensions property: Indicates if specified product supports multiple extensions.

Returns:

the supportMultipleExtensions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: The URI.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Specifies product version.

Returns:

the version value.

vmOsType

public OperatingSystem vmOsType()

Get the vmOsType property: Specifies operating system used by the product.

Returns:

the vmOsType value.

vmScaleSetEnabled

public Boolean vmScaleSetEnabled()

Get the vmScaleSetEnabled property: Indicates if virtual machine Scale Set is enabled in the specified product.

Returns:

the vmScaleSetEnabled value.

Applies to