InterconnectBlockProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. InterconnectBlockProfile
- com.
Implements
public final class InterconnectBlockProfile
implements JsonSerializable<InterconnectBlockProfile>
The parameters of an Interconnect Block Profile.
Constructor Summary
| Constructor | Description |
|---|---|
| InterconnectBlockProfile() |
Creates an instance of Interconnect |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Interconnect |
fromJson(JsonReader jsonReader)
Reads an instance of Interconnect |
|
Api |
interconnectBlock()
Get the interconnect |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Interconnect |
withInterconnectBlock(ApiEntityReference interconnectBlock)
Set the interconnect |
Methods inherited from java.lang.Object
Constructor Details
InterconnectBlockProfile
public InterconnectBlockProfile()
Creates an instance of InterconnectBlockProfile class.
Method Details
fromJson
public static InterconnectBlockProfile fromJson(JsonReader jsonReader)
Reads an instance of InterconnectBlockProfile from the JsonReader.
Parameters:
Returns:
Throws:
interconnectBlock
public ApiEntityReference interconnectBlock()
Get the interconnectBlock property: Specifies the Interconnect Block resource ID that should be used for allocating the Virtual Machine or Scale Set VM instances provided enough capacity has been reserved.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInterconnectBlock
public InterconnectBlockProfile withInterconnectBlock(ApiEntityReference interconnectBlock)
Set the interconnectBlock property: Specifies the Interconnect Block resource ID that should be used for allocating the Virtual Machine or Scale Set VM instances provided enough capacity has been reserved.
Parameters:
Returns: