Class VirtualNetworkConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.VirtualNetworkConfiguration
-
public final class VirtualNetworkConfiguration extends Object
Configuration of a virtual network to which API Management service is deployed.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
subnetname()
Get the subnetname property: The name of the subnet.String
subnetResourceId()
Get the subnetResourceId property: The full resource ID of a subnet in a virtual network to deploy the API Management service in.void
validate()
Validates the instance.String
vnetid()
Get the vnetid property: The virtual network ID.VirtualNetworkConfiguration
withSubnetResourceId(String subnetResourceId)
Set the subnetResourceId property: The full resource ID of a subnet in a virtual network to deploy the API Management service in.
-
-
-
Method Detail
-
vnetid
public String vnetid()
Get the vnetid property: The virtual network ID. This is typically a GUID. Expect a null GUID by default.- Returns:
- the vnetid value.
-
subnetname
public String subnetname()
Get the subnetname property: The name of the subnet.- Returns:
- the subnetname value.
-
subnetResourceId
public String subnetResourceId()
Get the subnetResourceId property: The full resource ID of a subnet in a virtual network to deploy the API Management service in.- Returns:
- the subnetResourceId value.
-
withSubnetResourceId
public VirtualNetworkConfiguration withSubnetResourceId(String subnetResourceId)
Set the subnetResourceId property: The full resource ID of a subnet in a virtual network to deploy the API Management service in.- Parameters:
subnetResourceId
- the subnetResourceId value to set.- Returns:
- the VirtualNetworkConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-