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 Summary
ConstructorsConstructorDescriptionCreates an instance of ServerFarmNetworkSettings class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerFarmNetworkSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerFarmNetworkSettings from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the virtualNetworkSubnetId property: Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.withVirtualNetworkSubnetId(String virtualNetworkSubnetId) Set the virtualNetworkSubnetId property: Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ServerFarmNetworkSettings
public ServerFarmNetworkSettings()Creates an instance of ServerFarmNetworkSettings class.
-
-
Method Details
-
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
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
- Specified by:
toJsonin interfacecom.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.
-