VirtualNetworkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. devtestlabs. fluent. models. VirtualNetworkInner
- com.
- com.
public final class VirtualNetworkInner
extends ProxyResource
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 |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
| String |
provisioningState()
Get the provisioning |
|
List<Subnet |
subnetOverrides()
Get the subnet |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
uniqueIdentifier()
Get the unique |
|
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)
Set the location property: The geo-location where the resource lives. |
|
Virtual |
withSubnetOverrides(List<SubnetOverride> subnetOverrides)
Set the subnet |
|
Virtual |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
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:
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<ExternalSubnet> externalSubnets()
Get the externalSubnets property: The external subnet properties.
Returns:
fromJson
public static VirtualNetworkInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualNetworkInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualNetworkInner.name()Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
subnetOverrides
public List<SubnetOverride> subnetOverrides()
Get the subnetOverrides property: The subnet overrides of the virtual network.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualNetworkInner.type()Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
withAllowedSubnets
public VirtualNetworkInner withAllowedSubnets(List<Subnet> allowedSubnets)
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)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withSubnetOverrides
public VirtualNetworkInner withSubnetOverrides(List<SubnetOverride> subnetOverrides)
Set the subnetOverrides property: The subnet overrides of the virtual network.
Parameters:
Returns:
withTags
public VirtualNetworkInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: