InterconnectGroupProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. InterconnectGroupProfile
- com.
Implements
public final class InterconnectGroupProfile
implements JsonSerializable<InterconnectGroupProfile>
Specifies the interconnect group profile for a virtual machine, used to associate the VM with an interconnect group and subgroups.
Constructor Summary
| Constructor | Description |
|---|---|
| InterconnectGroupProfile() |
Creates an instance of Interconnect |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Interconnect |
fromJson(JsonReader jsonReader)
Reads an instance of Interconnect |
|
Sub |
interconnectGroup()
Get the interconnect |
|
List<Sub |
subgroups()
Get the subgroups property: The list of subgroup references within the interconnect group. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Interconnect |
withInterconnectGroup(SubResource interconnectGroup)
Set the interconnect |
|
Interconnect |
withSubgroups(List<SubResource> subgroups)
Set the subgroups property: The list of subgroup references within the interconnect group. |
Methods inherited from java.lang.Object
Constructor Details
InterconnectGroupProfile
public InterconnectGroupProfile()
Creates an instance of InterconnectGroupProfile class.
Method Details
fromJson
public static InterconnectGroupProfile fromJson(JsonReader jsonReader)
Reads an instance of InterconnectGroupProfile from the JsonReader.
Parameters:
Returns:
Throws:
interconnectGroup
public SubResource interconnectGroup()
Get the interconnectGroup property: Reference to the interconnect group resource.
Returns:
subgroups
public List<SubResource> subgroups()
Get the subgroups property: The list of subgroup references within the interconnect group.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInterconnectGroup
public InterconnectGroupProfile withInterconnectGroup(SubResource interconnectGroup)
Set the interconnectGroup property: Reference to the interconnect group resource.
Parameters:
Returns:
withSubgroups
public InterconnectGroupProfile withSubgroups(List<SubResource> subgroups)
Set the subgroups property: The list of subgroup references within the interconnect group.
Parameters:
Returns: