SwiftVirtualNetworkInner Class

public final class SwiftVirtualNetworkInner
extends ProxyOnlyResource

Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration.

Constructor Summary

Constructor Description
SwiftVirtualNetworkInner()

Creates an instance of SwiftVirtualNetworkInner class.

Method Summary

Modifier and Type Method and Description
static SwiftVirtualNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of SwiftVirtualNetworkInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String subnetResourceId()

Get the subnetResourceId property: The Virtual Network subnet's resource ID.

Boolean swiftSupported()

Get the swiftSupported property: A flag that specifies if the scale unit this Web App is on supports Swift integration.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SwiftVirtualNetworkInner withKind(String kind)

Set the kind property: Kind of resource.

SwiftVirtualNetworkInner withSubnetResourceId(String subnetResourceId)

Set the subnetResourceId property: The Virtual Network subnet's resource ID.

SwiftVirtualNetworkInner withSwiftSupported(Boolean swiftSupported)

Set the swiftSupported property: A flag that specifies if the scale unit this Web App is on supports Swift integration.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SwiftVirtualNetworkInner

public SwiftVirtualNetworkInner()

Creates an instance of SwiftVirtualNetworkInner class.

Method Details

fromJson

public static SwiftVirtualNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of SwiftVirtualNetworkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SwiftVirtualNetworkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SwiftVirtualNetworkInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SwiftVirtualNetworkInner.name()

Returns:

the name value.

subnetResourceId

public String subnetResourceId()

Get the subnetResourceId property: The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first.

Returns:

the subnetResourceId value.

swiftSupported

public Boolean swiftSupported()

Get the swiftSupported property: A flag that specifies if the scale unit this Web App is on supports Swift integration.

Returns:

the swiftSupported value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SwiftVirtualNetworkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SwiftVirtualNetworkInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SwiftVirtualNetworkInner.validate()

withKind

public SwiftVirtualNetworkInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SwiftVirtualNetworkInner.withKind(String kind)

Parameters:

kind

withSubnetResourceId

public SwiftVirtualNetworkInner withSubnetResourceId(String subnetResourceId)

Set the subnetResourceId property: The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first.

Parameters:

subnetResourceId - the subnetResourceId value to set.

Returns:

the SwiftVirtualNetworkInner object itself.

withSwiftSupported

public SwiftVirtualNetworkInner withSwiftSupported(Boolean swiftSupported)

Set the swiftSupported property: A flag that specifies if the scale unit this Web App is on supports Swift integration.

Parameters:

swiftSupported - the swiftSupported value to set.

Returns:

the SwiftVirtualNetworkInner object itself.

Applies to