Class VirtualNetworkInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.VirtualNetworkInner
public final class VirtualNetworkInner
extends com.azure.core.management.Resource
A virtual network.
-
Constructor Summary
-
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.withLocation
(String location) withSubnetOverrides
(List<SubnetOverride> subnetOverrides) Set the subnetOverrides property: The subnet overrides of the virtual network.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VirtualNetworkInner
public VirtualNetworkInner()Creates an instance of VirtualNetworkInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 VirtualNetworkInner 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 VirtualNetworkInner 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 VirtualNetworkInner 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 VirtualNetworkInner 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.
-