VirtualNetworkProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.fluent.models.VirtualNetworkProperties

Implements

public final class VirtualNetworkProperties
implements JsonSerializable<VirtualNetworkProperties>

Properties of a virtual network.

Constructor Summary

Constructor Description
VirtualNetworkProperties()

Creates an instance of VirtualNetworkProperties class.

Method Summary

Modifier and Type Method and Description
List<Subnet> allowedSubnets()

Get the allowedSubnets property: The allowed subnets of the virtual network.

OffsetDateTime createdDate()

Get the createdDate property: The creation date of the virtual network.

String description()

Get the description property: The description of the virtual network.

String externalProviderResourceId()

Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.

List<ExternalSubnet> externalSubnets()

Get the externalSubnets property: The external subnet properties.

static VirtualNetworkProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProperties from the JsonReader.

String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

List<SubnetOverride> subnetOverrides()

Get the subnetOverrides property: The subnet overrides of the virtual network.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueIdentifier()

Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

VirtualNetworkProperties withAllowedSubnets(List<Subnet> allowedSubnets)

Set the allowedSubnets property: The allowed subnets of the virtual network.

VirtualNetworkProperties withDescription(String description)

Set the description property: The description of the virtual network.

VirtualNetworkProperties withExternalProviderResourceId(String externalProviderResourceId)

Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.

VirtualNetworkProperties withSubnetOverrides(List<SubnetOverride> subnetOverrides)

Set the subnetOverrides property: The subnet overrides of the virtual network.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkProperties

public VirtualNetworkProperties()

Creates an instance of VirtualNetworkProperties class.

Method Details

allowedSubnets

public List<Subnet> allowedSubnets()

Get the allowedSubnets property: The allowed subnets of the virtual network.

Returns:

the allowedSubnets value.

createdDate

public OffsetDateTime createdDate()

Get the createdDate property: The creation date of the virtual network.

Returns:

the createdDate value.

description

public String description()

Get the description property: The description of the virtual network.

Returns:

the description value.

externalProviderResourceId

public String externalProviderResourceId()

Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.

Returns:

the externalProviderResourceId value.

externalSubnets

public List<ExternalSubnet> externalSubnets()

Get the externalSubnets property: The external subnet properties.

Returns:

the externalSubnets value.

fromJson

public static VirtualNetworkProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkProperties 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 VirtualNetworkProperties.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

subnetOverrides

public List<SubnetOverride> subnetOverrides()

Get the subnetOverrides property: The subnet overrides of the virtual network.

Returns:

the subnetOverrides value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueIdentifier

public String uniqueIdentifier()

Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

withAllowedSubnets

public VirtualNetworkProperties withAllowedSubnets(List<Subnet> allowedSubnets)

Set the allowedSubnets property: The allowed subnets of the virtual network.

Parameters:

allowedSubnets - the allowedSubnets value to set.

Returns:

the VirtualNetworkProperties object itself.

withDescription

public VirtualNetworkProperties withDescription(String description)

Set the description property: The description of the virtual network.

Parameters:

description - the description value to set.

Returns:

the VirtualNetworkProperties object itself.

withExternalProviderResourceId

public VirtualNetworkProperties withExternalProviderResourceId(String externalProviderResourceId)

Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.

Parameters:

externalProviderResourceId - the externalProviderResourceId value to set.

Returns:

the VirtualNetworkProperties object itself.

withSubnetOverrides

public VirtualNetworkProperties withSubnetOverrides(List<SubnetOverride> subnetOverrides)

Set the subnetOverrides property: The subnet overrides of the virtual network.

Parameters:

subnetOverrides - the subnetOverrides value to set.

Returns:

the VirtualNetworkProperties object itself.

Applies to