InterconnectBlockProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.InterconnectBlockProperties

Implements

public final class InterconnectBlockProperties
implements JsonSerializable<InterconnectBlockProperties>

Properties of the Interconnect Block.

Constructor Summary

Constructor Description
InterconnectBlockProperties()

Creates an instance of InterconnectBlockProperties class.

Method Summary

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

Reads an instance of InterconnectBlockProperties from the JsonReader.

InterconnectBlockInstanceView instanceView()

Get the instanceView property: The Interconnect Block instance view.

String interconnectBlockId()

Get the interconnectBlockId property: A unique id (GUID) generated and assigned to the Interconnect Block by the platform which does not change throughout the lifetime of the resource.

ApiEntityReference interconnectGroup()

Get the interconnectGroup property: The Microsoft.Network/interconnectGroups resource that this Interconnect Block is associated with.

String provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

OffsetDateTime provisioningTime()

Get the provisioningTime property: The date time when the Interconnect Block was last updated.

OffsetDateTime timeCreated()

Get the timeCreated property: Specifies the time at which the Interconnect Block resource was created.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SubResourceReadOnly> virtualMachinesAssociated()

Get the virtualMachinesAssociated property: A list of all virtual machine resource ids that are associated with the Interconnect Block.

InterconnectBlockProperties withInterconnectGroup(ApiEntityReference interconnectGroup)

Set the interconnectGroup property: The Microsoft.Network/interconnectGroups resource that this Interconnect Block is associated with.

Methods inherited from java.lang.Object

Constructor Details

InterconnectBlockProperties

public InterconnectBlockProperties()

Creates an instance of InterconnectBlockProperties class.

Method Details

fromJson

public static InterconnectBlockProperties fromJson(JsonReader jsonReader)

Reads an instance of InterconnectBlockProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceView

public InterconnectBlockInstanceView instanceView()

Get the instanceView property: The Interconnect Block instance view.

Returns:

the instanceView value.

interconnectBlockId

public String interconnectBlockId()

Get the interconnectBlockId property: A unique id (GUID) generated and assigned to the Interconnect Block by the platform which does not change throughout the lifetime of the resource.

Returns:

the interconnectBlockId value.

interconnectGroup

public ApiEntityReference interconnectGroup()

Get the interconnectGroup property: The Microsoft.Network/interconnectGroups resource that this Interconnect Block is associated with. Required at create and immutable thereafter.

Returns:

the interconnectGroup value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

provisioningTime

public OffsetDateTime provisioningTime()

Get the provisioningTime property: The date time when the Interconnect Block was last updated.

Returns:

the provisioningTime value.

timeCreated

public OffsetDateTime timeCreated()

Get the timeCreated property: Specifies the time at which the Interconnect Block resource was created.

Returns:

the timeCreated value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachinesAssociated

public List<SubResourceReadOnly> virtualMachinesAssociated()

Get the virtualMachinesAssociated property: A list of all virtual machine resource ids that are associated with the Interconnect Block.

Returns:

the virtualMachinesAssociated value.

withInterconnectGroup

public InterconnectBlockProperties withInterconnectGroup(ApiEntityReference interconnectGroup)

Set the interconnectGroup property: The Microsoft.Network/interconnectGroups resource that this Interconnect Block is associated with. Required at create and immutable thereafter.

Parameters:

interconnectGroup - the interconnectGroup value to set.

Returns:

the InterconnectBlockProperties object itself.

Applies to