InterconnectBlockProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. InterconnectBlockProperties
- com.
Implements
public final class InterconnectBlockProperties
implements JsonSerializable<InterconnectBlockProperties>
Properties of the Interconnect Block.
Constructor Summary
| Constructor | Description |
|---|---|
| InterconnectBlockProperties() |
Creates an instance of Interconnect |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Interconnect |
fromJson(JsonReader jsonReader)
Reads an instance of Interconnect |
|
Interconnect |
instanceView()
Get the instance |
| String |
interconnectBlockId()
Get the interconnect |
|
Api |
interconnectGroup()
Get the interconnect |
| String |
provisioningState()
Get the provisioning |
|
Offset |
provisioningTime()
Get the provisioning |
|
Offset |
timeCreated()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Sub |
virtualMachinesAssociated()
Get the virtual |
|
Interconnect |
withInterconnectGroup(ApiEntityReference interconnectGroup)
Set the interconnect |
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:
Returns:
Throws:
instanceView
public InterconnectBlockInstanceView instanceView()
Get the instanceView property: The Interconnect Block instance view.
Returns:
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:
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:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
provisioningTime
public OffsetDateTime provisioningTime()
Get the provisioningTime property: The date time when the Interconnect Block was last updated.
Returns:
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: Specifies the time at which the Interconnect Block resource was created.
Returns:
toJson
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:
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:
Returns: