Class ServerFarmNetworkSettings

java.lang.Object
com.azure.resourcemanager.appservice.models.ServerFarmNetworkSettings
All Implemented Interfaces:
com.azure.json.JsonSerializable<ServerFarmNetworkSettings>

public final class ServerFarmNetworkSettings extends Object implements com.azure.json.JsonSerializable<ServerFarmNetworkSettings>
Network settings for an app service plan.
  • Constructor Details

    • ServerFarmNetworkSettings

      public ServerFarmNetworkSettings()
      Creates an instance of ServerFarmNetworkSettings class.
  • Method Details

    • virtualNetworkSubnetId

      public String virtualNetworkSubnetId()
      Get the virtualNetworkSubnetId property: Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
      Returns:
      the virtualNetworkSubnetId value.
    • withVirtualNetworkSubnetId

      public ServerFarmNetworkSettings withVirtualNetworkSubnetId(String virtualNetworkSubnetId)
      Set the virtualNetworkSubnetId property: Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
      Parameters:
      virtualNetworkSubnetId - the virtualNetworkSubnetId value to set.
      Returns:
      the ServerFarmNetworkSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ServerFarmNetworkSettings>
      Throws:
      IOException
    • fromJson

      public static ServerFarmNetworkSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServerFarmNetworkSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServerFarmNetworkSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ServerFarmNetworkSettings.