Class VirtualNetworkConfiguration


  • public final class VirtualNetworkConfiguration
    extends Object
    Configuration of a virtual network to which API Management service is deployed.
    • Constructor Detail

      • VirtualNetworkConfiguration

        public VirtualNetworkConfiguration()
    • 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.