VirtualNetworkProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. fluent. models. VirtualNetworkProperties
- com.
Implements
public final class VirtualNetworkProperties
implements JsonSerializable<VirtualNetworkProperties>
Properties of a virtual network.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkProperties() |
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 |
provisioningState()
Get the provisioning |
|
List<Subnet |
subnetOverrides()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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 |
withSubnetOverrides(List<SubnetOverride> subnetOverrides)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkProperties
public VirtualNetworkProperties()
Creates an instance of VirtualNetworkProperties 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 VirtualNetworkProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
withAllowedSubnets
public VirtualNetworkProperties withAllowedSubnets(List<Subnet> allowedSubnets)
Set the allowedSubnets property: The allowed subnets of the virtual network.
Parameters:
Returns:
withDescription
public VirtualNetworkProperties withDescription(String description)
Set the description property: The description of the virtual network.
Parameters:
Returns:
withExternalProviderResourceId
public VirtualNetworkProperties withExternalProviderResourceId(String externalProviderResourceId)
Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.
Parameters:
Returns:
withSubnetOverrides
public VirtualNetworkProperties withSubnetOverrides(List<SubnetOverride> subnetOverrides)
Set the subnetOverrides property: The subnet overrides of the virtual network.
Parameters:
Returns: