public class VirtualNetworkInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VirtualNetworkInner() |
| Modifier and Type | Method and Description |
|---|---|
AddressSpace |
addressSpace()
Get the addressSpace property: The AddressSpace that contains an array of IP address ranges that can be used by
subnets.
|
VirtualNetworkBgpCommunities |
bgpCommunities()
Get the bgpCommunities property: Bgp Communities sent over ExpressRoute with each route corresponding to a prefix
in this VNET.
|
com.azure.core.management.SubResource |
ddosProtectionPlan()
Get the ddosProtectionPlan property: The DDoS protection plan associated with the virtual network.
|
DhcpOptions |
dhcpOptions()
Get the dhcpOptions property: The dhcpOptions that contains an array of DNS servers available to VMs deployed in
the virtual network.
|
Boolean |
enableDdosProtection()
Get the enableDdosProtection property: Indicates if DDoS protection is enabled for all the protected resources in
the virtual network.
|
Boolean |
enableVmProtection()
Get the enableVmProtection property: Indicates if VM protection is enabled for all the subnets in the virtual
network.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
List<com.azure.core.management.SubResource> |
ipAllocations()
Get the ipAllocations property: Array of IpAllocation which reference this VNET.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the virtual network resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resourceGuid property of the Virtual Network resource.
|
List<SubnetInner> |
subnets()
Get the subnets property: A list of subnets in a Virtual Network.
|
void |
validate()
Validates the instance.
|
List<VirtualNetworkPeeringInner> |
virtualNetworkPeerings()
Get the virtualNetworkPeerings property: A list of peerings in a Virtual Network.
|
VirtualNetworkInner |
withAddressSpace(AddressSpace addressSpace)
Set the addressSpace property: The AddressSpace that contains an array of IP address ranges that can be used by
subnets.
|
VirtualNetworkInner |
withBgpCommunities(VirtualNetworkBgpCommunities bgpCommunities)
Set the bgpCommunities property: Bgp Communities sent over ExpressRoute with each route corresponding to a prefix
in this VNET.
|
VirtualNetworkInner |
withDdosProtectionPlan(com.azure.core.management.SubResource ddosProtectionPlan)
Set the ddosProtectionPlan property: The DDoS protection plan associated with the virtual network.
|
VirtualNetworkInner |
withDhcpOptions(DhcpOptions dhcpOptions)
Set the dhcpOptions property: The dhcpOptions that contains an array of DNS servers available to VMs deployed in
the virtual network.
|
VirtualNetworkInner |
withEnableDdosProtection(Boolean enableDdosProtection)
Set the enableDdosProtection property: Indicates if DDoS protection is enabled for all the protected resources in
the virtual network.
|
VirtualNetworkInner |
withEnableVmProtection(Boolean enableVmProtection)
Set the enableVmProtection property: Indicates if VM protection is enabled for all the subnets in the virtual
network.
|
VirtualNetworkInner |
withId(String id)
Set the id property: Resource ID.
|
VirtualNetworkInner |
withIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)
Set the ipAllocations property: Array of IpAllocation which reference this VNET.
|
VirtualNetworkInner |
withSubnets(List<SubnetInner> subnets)
Set the subnets property: A list of subnets in a Virtual Network.
|
VirtualNetworkInner |
withVirtualNetworkPeerings(List<VirtualNetworkPeeringInner> virtualNetworkPeerings)
Set the virtualNetworkPeerings property: A list of peerings in a Virtual Network.
|
public String etag()
public AddressSpace addressSpace()
public VirtualNetworkInner withAddressSpace(AddressSpace addressSpace)
addressSpace - the addressSpace value to set.public DhcpOptions dhcpOptions()
public VirtualNetworkInner withDhcpOptions(DhcpOptions dhcpOptions)
dhcpOptions - the dhcpOptions value to set.public List<SubnetInner> subnets()
public VirtualNetworkInner withSubnets(List<SubnetInner> subnets)
subnets - the subnets value to set.public List<VirtualNetworkPeeringInner> virtualNetworkPeerings()
public VirtualNetworkInner withVirtualNetworkPeerings(List<VirtualNetworkPeeringInner> virtualNetworkPeerings)
virtualNetworkPeerings - the virtualNetworkPeerings value to set.public String resourceGuid()
public ProvisioningState provisioningState()
public Boolean enableDdosProtection()
public VirtualNetworkInner withEnableDdosProtection(Boolean enableDdosProtection)
enableDdosProtection - the enableDdosProtection value to set.public Boolean enableVmProtection()
public VirtualNetworkInner withEnableVmProtection(Boolean enableVmProtection)
enableVmProtection - the enableVmProtection value to set.public com.azure.core.management.SubResource ddosProtectionPlan()
public VirtualNetworkInner withDdosProtectionPlan(com.azure.core.management.SubResource ddosProtectionPlan)
ddosProtectionPlan - the ddosProtectionPlan value to set.public VirtualNetworkBgpCommunities bgpCommunities()
public VirtualNetworkInner withBgpCommunities(VirtualNetworkBgpCommunities bgpCommunities)
bgpCommunities - the bgpCommunities value to set.public List<com.azure.core.management.SubResource> ipAllocations()
public VirtualNetworkInner withIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)
ipAllocations - the ipAllocations value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic VirtualNetworkInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.