Share via


OutboundVnetRouting Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.OutboundVnetRouting

Implements

public final class OutboundVnetRouting
implements JsonSerializable<OutboundVnetRouting>

Outbound traffic options over virtual network.

Constructor Summary

Constructor Description
OutboundVnetRouting()

Creates an instance of OutboundVnetRouting class.

Method Summary

Modifier and Type Method and Description
Boolean allTraffic()

Get the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.

Boolean applicationTraffic()

Get the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

Boolean backupRestoreTraffic()

Get the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network.

Boolean contentShareTraffic()

Get the contentShareTraffic property: Enables accessing content over virtual network.

static OutboundVnetRouting fromJson(JsonReader jsonReader)

Reads an instance of OutboundVnetRouting from the JsonReader.

Boolean imagePullTraffic()

Get the imagePullTraffic property: Enables pulling image over Virtual Network.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OutboundVnetRouting withAllTraffic(Boolean allTraffic)

Set the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.

OutboundVnetRouting withApplicationTraffic(Boolean applicationTraffic)

Set the applicationTraffic property: This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

OutboundVnetRouting withBackupRestoreTraffic(Boolean backupRestoreTraffic)

Set the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network.

OutboundVnetRouting withContentShareTraffic(Boolean contentShareTraffic)

Set the contentShareTraffic property: Enables accessing content over virtual network.

OutboundVnetRouting withImagePullTraffic(Boolean imagePullTraffic)

Set the imagePullTraffic property: Enables pulling image over Virtual Network.

Methods inherited from java.lang.Object

Constructor Details

OutboundVnetRouting

public OutboundVnetRouting()

Creates an instance of OutboundVnetRouting class.

Method Details

allTraffic

public Boolean allTraffic()

Get the allTraffic property: Enables all other routing options defined in OutboundVnetRouting if this setting is set to true.

Returns:

the allTraffic value.

applicationTraffic

public Boolean 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.

backupRestoreTraffic

public Boolean backupRestoreTraffic()

Get the backupRestoreTraffic property: Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled.

Returns:

the backupRestoreTraffic value.

contentShareTraffic

public Boolean contentShareTraffic()

Get the contentShareTraffic property: Enables accessing content over virtual network. Previously called VnetContentShareEnabled.

Returns:

the contentShareTraffic value.

fromJson

public static OutboundVnetRouting fromJson(JsonReader jsonReader)

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.

imagePullTraffic

public Boolean imagePullTraffic()

Get the imagePullTraffic property: Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled.

Returns:

the imagePullTraffic value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllTraffic

public OutboundVnetRouting withAllTraffic(Boolean allTraffic)

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.

withApplicationTraffic

public OutboundVnetRouting withApplicationTraffic(Boolean applicationTraffic)

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.

withBackupRestoreTraffic

public OutboundVnetRouting withBackupRestoreTraffic(Boolean backupRestoreTraffic)

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.

withContentShareTraffic

public OutboundVnetRouting withContentShareTraffic(Boolean contentShareTraffic)

Set the contentShareTraffic property: Enables accessing content over virtual network. Previously called VnetContentShareEnabled.

Parameters:

contentShareTraffic - the contentShareTraffic value to set.

Returns:

the OutboundVnetRouting object itself.

withImagePullTraffic

public OutboundVnetRouting withImagePullTraffic(Boolean imagePullTraffic)

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.

Applies to