VirtualNetworkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. VirtualNetworkInner
- com.
- com.
- com.
public final class VirtualNetworkInner
extends Resource
A virtual network.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Subnet> |
allowedSubnets()
Get the allowed |
Offset |
createdDate()
Get the created |
String |
description()
Get the description property: The description of the virtual network. |
String |
externalProviderResourceId()
Get the external |
List<External |
externalSubnets()
Get the external |
String |
provisioningState()
Get the provisioning |
List<Subnet |
subnetOverrides()
Get the subnet |
String |
uniqueIdentifier()
Get the unique |
void |
validate()
Validates the instance. |
Virtual |
withAllowedSubnets(List<Subnet> allowedSubnets)
Set the allowed |
Virtual |
withDescription(String description)
Set the description property: The description of the virtual network. |
Virtual |
withExternalProviderResourceId(String externalProviderResourceId)
Set the external |
Virtual |
withLocation(String location) |
Virtual |
withSubnetOverrides(List<SubnetOverride> subnetOverrides)
Set the subnet |
Virtual |
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
Get the allowedSubnets property: The allowed subnets of the virtual network.
Returns:
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: The creation date of the virtual network.
Returns:
description
public String description()
Get the description property: The description of the virtual network.
Returns:
externalProviderResourceId
public String externalProviderResourceId()
Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.
Returns:
externalSubnets
public List
Get the externalSubnets property: The external subnet properties.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
subnetOverrides
public List
Get the subnetOverrides property: The subnet overrides of the virtual network.
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
withAllowedSubnets
public VirtualNetworkInner withAllowedSubnets(List
Set the allowedSubnets property: The allowed subnets of the virtual network.
Parameters:
Returns:
withDescription
public VirtualNetworkInner withDescription(String description)
Set the description property: The description of the virtual network.
Parameters:
Returns:
withExternalProviderResourceId
public VirtualNetworkInner withExternalProviderResourceId(String externalProviderResourceId)
Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.
Parameters:
Returns:
withLocation
public VirtualNetworkInner withLocation(String location)
Overrides:
VirtualNetworkInner.withLocation(String location)Parameters:
withSubnetOverrides
public VirtualNetworkInner withSubnetOverrides(List
Set the subnetOverrides property: The subnet overrides of the virtual network.
Parameters:
Returns:
withTags
public VirtualNetworkInner withTags(Map
Overrides:
VirtualNetworkInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for