public final class VnetParameters extends ProxyOnlyResource
| Constructor and Description |
|---|
VnetParameters() |
| Modifier and Type | Method and Description |
|---|---|
String |
subnetResourceId()
Get the subnetResourceId property: The ARM Resource ID of the subnet to validate.
|
void |
validate()
Validates the instance.
|
String |
vnetName()
Get the vnetName property: The name of the VNET to be validated.
|
String |
vnetResourceGroup()
Get the vnetResourceGroup property: The Resource Group of the VNET to be validated.
|
String |
vnetSubnetName()
Get the vnetSubnetName property: The subnet name to be validated.
|
VnetParameters |
withKind(String kind)
Set the kind property: Kind of resource.
|
VnetParameters |
withSubnetResourceId(String subnetResourceId)
Set the subnetResourceId property: The ARM Resource ID of the subnet to validate.
|
VnetParameters |
withVnetName(String vnetName)
Set the vnetName property: The name of the VNET to be validated.
|
VnetParameters |
withVnetResourceGroup(String vnetResourceGroup)
Set the vnetResourceGroup property: The Resource Group of the VNET to be validated.
|
VnetParameters |
withVnetSubnetName(String vnetSubnetName)
Set the vnetSubnetName property: The subnet name to be validated.
|
kindpublic VnetParameters withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String vnetResourceGroup()
public VnetParameters withVnetResourceGroup(String vnetResourceGroup)
vnetResourceGroup - the vnetResourceGroup value to set.public String vnetName()
public VnetParameters withVnetName(String vnetName)
vnetName - the vnetName value to set.public String vnetSubnetName()
public VnetParameters withVnetSubnetName(String vnetSubnetName)
vnetSubnetName - the vnetSubnetName value to set.public String subnetResourceId()
public VnetParameters withSubnetResourceId(String subnetResourceId)
subnetResourceId - the subnetResourceId value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.