public final class VirtualNetworkProfile extends Object
| Constructor and Description |
|---|
VirtualNetworkProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: Resource id of the Virtual Network.
|
String |
name()
Get the name property: Name of the Virtual Network (read-only).
|
String |
subnet()
Get the subnet property: Subnet within the Virtual Network.
|
String |
type()
Get the type property: Resource type of the Virtual Network (read-only).
|
void |
validate()
Validates the instance.
|
VirtualNetworkProfile |
withId(String id)
Set the id property: Resource id of the Virtual Network.
|
VirtualNetworkProfile |
withSubnet(String subnet)
Set the subnet property: Subnet within the Virtual Network.
|
public String id()
public VirtualNetworkProfile withId(String id)
id - the id value to set.public String name()
public String type()
public String subnet()
public VirtualNetworkProfile withSubnet(String subnet)
subnet - the subnet value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.