SubgroupProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.SubgroupProperties

Implements

public final class SubgroupProperties
implements JsonSerializable<SubgroupProperties>

Properties of subgroup.

Method Summary

Modifier and Type Method and Description
static SubgroupProperties fromJson(JsonReader jsonReader)

Reads an instance of SubgroupProperties from the JsonReader.

SubResource interconnectBlock()

Get the interconnectBlock property: The reference to an interconnect block resource.

String internalSubgroupId()

Get the internalSubgroupId property: The unique identifier of the subgroup.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the subgroup.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SubResource> virtualMachines()

Get the virtualMachines property: A list of virtual machine references.

Methods inherited from java.lang.Object

Method Details

fromJson

public static SubgroupProperties fromJson(JsonReader jsonReader)

Reads an instance of SubgroupProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SubgroupProperties 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 SubgroupProperties.

interconnectBlock

public SubResource interconnectBlock()

Get the interconnectBlock property: The reference to an interconnect block resource.

Returns:

the interconnectBlock value.

internalSubgroupId

public String internalSubgroupId()

Get the internalSubgroupId property: The unique identifier of the subgroup.

Returns:

the internalSubgroupId value.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the subgroup.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachines

public List<SubResource> virtualMachines()

Get the virtualMachines property: A list of virtual machine references.

Returns:

the virtualMachines value.

Applies to