VirtualNetworkInner Class

public final class VirtualNetworkInner
extends Resource

A virtual network.

Constructor Summary

Constructor Description
VirtualNetworkInner()

Creates an instance of VirtualNetworkInner 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.

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.

String uniqueIdentifier()

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

void validate()

Validates the instance.

VirtualNetworkInner withAllowedSubnets(List<Subnet> allowedSubnets)

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

VirtualNetworkInner withDescription(String description)

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

VirtualNetworkInner withExternalProviderResourceId(String externalProviderResourceId)

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

VirtualNetworkInner withLocation(String location)
VirtualNetworkInner withSubnetOverrides(List<SubnetOverride> subnetOverrides)

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

VirtualNetworkInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkInner

public VirtualNetworkInner()

Creates an instance of VirtualNetworkInner 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.

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.

uniqueIdentifier

public String uniqueIdentifier()

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

Returns:

the uniqueIdentifier value.

validate

public void validate()

Validates the instance.

withAllowedSubnets

public VirtualNetworkInner withAllowedSubnets(List<Subnet> allowedSubnets)

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

Parameters:

allowedSubnets - the allowedSubnets value to set.

Returns:

the VirtualNetworkInner object itself.

withDescription

public VirtualNetworkInner withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the VirtualNetworkInner object itself.

withExternalProviderResourceId

public VirtualNetworkInner 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 VirtualNetworkInner object itself.

withLocation

public VirtualNetworkInner withLocation(String location)

Overrides:

VirtualNetworkInner.withLocation(String location)

Parameters:

location

withSubnetOverrides

public VirtualNetworkInner withSubnetOverrides(List<SubnetOverride> subnetOverrides)

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

Parameters:

subnetOverrides - the subnetOverrides value to set.

Returns:

the VirtualNetworkInner object itself.

withTags

public VirtualNetworkInner withTags(Map<String,String> tags)

Overrides:

VirtualNetworkInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to