Class VirtualNetworkProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.VirtualNetworkProperties
Properties of a virtual network.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VirtualNetworkProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedSubnets property: The allowed subnets of the virtual network.Get the createdDate property: The creation date of the virtual network.Get the description property: The description of the virtual network.Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.Get the externalSubnets property: The external subnet properties.Get the provisioningState property: The provisioning status of the resource.Get the subnetOverrides property: The subnet overrides of the virtual network.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.withAllowedSubnets
(List<Subnet> allowedSubnets) Set the allowedSubnets property: The allowed subnets of the virtual network.withDescription
(String description) Set the description property: The description of the virtual network.withExternalProviderResourceId
(String externalProviderResourceId) Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.withSubnetOverrides
(List<SubnetOverride> subnetOverrides) Set the subnetOverrides property: The subnet overrides of the virtual network.
-
Constructor Details
-
VirtualNetworkProperties
public VirtualNetworkProperties()Creates an instance of VirtualNetworkProperties class.
-
-
Method Details
-
allowedSubnets
Get the allowedSubnets property: The allowed subnets of the virtual network.- Returns:
- the allowedSubnets value.
-
withAllowedSubnets
Set the allowedSubnets property: The allowed subnets of the virtual network.- Parameters:
allowedSubnets
- the allowedSubnets value to set.- Returns:
- the VirtualNetworkProperties object itself.
-
description
Get the description property: The description of the virtual network.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the virtual network.- Parameters:
description
- the description value to set.- Returns:
- the VirtualNetworkProperties object itself.
-
externalProviderResourceId
Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.- Returns:
- the externalProviderResourceId value.
-
withExternalProviderResourceId
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.
-
externalSubnets
Get the externalSubnets property: The external subnet properties.- Returns:
- the externalSubnets value.
-
subnetOverrides
Get the subnetOverrides property: The subnet overrides of the virtual network.- Returns:
- the subnetOverrides value.
-
withSubnetOverrides
Set the subnetOverrides property: The subnet overrides of the virtual network.- Parameters:
subnetOverrides
- the subnetOverrides value to set.- Returns:
- the VirtualNetworkProperties object itself.
-
createdDate
Get the createdDate property: The creation date of the virtual network.- Returns:
- the createdDate value.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-