你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetworkConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.VirtualNetworkConfiguration

public class VirtualNetworkConfiguration

Configuration of a virtual network to which API Management service is deployed.

Constructor Summary

Constructor Description
VirtualNetworkConfiguration()

Method Summary

Modifier and Type Method and Description
java.lang.String subnetname()

Get the name of the subnet.

java.lang.String subnetResourceId()

Get the full resource ID of a subnet in a virtual network to deploy the API Management service in.

java.lang.String vnetid()

Get the virtual network ID.

VirtualNetworkConfiguration withSubnetResourceId(String subnetResourceId)

Set the full resource ID of a subnet in a virtual network to deploy the API Management service in.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

VirtualNetworkConfiguration

public VirtualNetworkConfiguration()

Method Details

subnetname

public String subnetname()

Get the name of the subnet.

Returns:

the subnetname value

subnetResourceId

public String subnetResourceId()

Get the full resource ID of a subnet in a virtual network to deploy the API Management service in.

Returns:

the subnetResourceId value

vnetid

public String vnetid()

Get the virtual network ID. This is typically a GUID. Expect a null GUID by default.

Returns:

the vnetid value

withSubnetResourceId

public VirtualNetworkConfiguration withSubnetResourceId(String subnetResourceId)

Set 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.

Applies to