Class OutboundVnetRouting
java.lang.Object
com.azure.resourcemanager.appservice.models.OutboundVnetRouting
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OutboundVnetRouting>
public final class OutboundVnetRouting
extends Object
implements com.azure.json.JsonSerializable<OutboundVnetRouting>
Outbound traffic options over virtual network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.Get the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.Get the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network.Get the contentShareTraffic property: Enables accessing content over virtual network.static OutboundVnetRoutingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OutboundVnetRouting from the JsonReader.Get the imagePullTraffic property: Enables pulling image over Virtual Network.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAllTraffic(Boolean allTraffic) Set the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.withApplicationTraffic(Boolean applicationTraffic) Set the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.withBackupRestoreTraffic(Boolean backupRestoreTraffic) Set the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network.withContentShareTraffic(Boolean contentShareTraffic) Set the contentShareTraffic property: Enables accessing content over virtual network.withImagePullTraffic(Boolean imagePullTraffic) Set the imagePullTraffic property: Enables pulling image over Virtual Network.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
-
OutboundVnetRouting
public OutboundVnetRouting()Creates an instance of OutboundVnetRouting class.
-
-
Method Details
-
allTraffic
Get the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.- Returns:
- the allTraffic value.
-
withAllTraffic
Set the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.- Parameters:
allTraffic- the allTraffic value to set.- Returns:
- the OutboundVnetRouting object itself.
-
applicationTraffic
Get the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled.- Returns:
- the applicationTraffic value.
-
withApplicationTraffic
Set the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled.- Parameters:
applicationTraffic- the applicationTraffic value to set.- Returns:
- the OutboundVnetRouting object itself.
-
imagePullTraffic
Get the imagePullTraffic property: Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled.- Returns:
- the imagePullTraffic value.
-
withImagePullTraffic
Set the imagePullTraffic property: Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled.- Parameters:
imagePullTraffic- the imagePullTraffic value to set.- Returns:
- the OutboundVnetRouting object itself.
-
backupRestoreTraffic
Get the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled.- Returns:
- the backupRestoreTraffic value.
-
withBackupRestoreTraffic
Set the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled.- Parameters:
backupRestoreTraffic- the backupRestoreTraffic value to set.- Returns:
- the OutboundVnetRouting 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<OutboundVnetRouting>- Throws:
IOException
-
fromJson
Reads an instance of OutboundVnetRouting from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OutboundVnetRouting 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 OutboundVnetRouting.
-