VirtualNetworkResourceSettings Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.ResourceSettings - com.
microsoft. azure. management. resourcemover. v2021_01_01.VirtualNetworkResourceSettings
- com.
- com.
public class VirtualNetworkResourceSettings
extends ResourceSettings
Defines the virtual network resource settings.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualNetworkResourceSettings() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.List<java.lang.String> |
addressSpace()
Get gets or sets the address prefixes for the virtual network. |
| java.util.List<java.lang.String> |
dnsServers()
Get gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network. |
| java.lang.Boolean |
enableDdosProtection()
Get gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on. |
|
java.util.List<Subnet |
subnets()
Get gets or sets List of subnets in a Virtual |
|
Virtual |
withAddressSpace(List<String> addressSpace)
Set gets or sets the address prefixes for the virtual network. |
|
Virtual |
withDnsServers(List<String> dnsServers)
Set gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network. |
|
Virtual |
withEnableDdosProtection(Boolean enableDdosProtection)
Set gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on. |
|
Virtual |
withSubnets(List<SubnetResourceSettings> subnets)
Set gets or sets List of subnets in a Virtual |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkResourceSettings
public VirtualNetworkResourceSettings()
Method Details
addressSpace
public List<String> addressSpace()
Get gets or sets the address prefixes for the virtual network.
Returns:
dnsServers
public List<String> dnsServers()
Get gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
Returns:
enableDdosProtection
public Boolean enableDdosProtection()
Get gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on.
Returns:
subnets
public List<SubnetResourceSettings> subnets()
Get gets or sets List of subnets in a VirtualNetwork.
Returns:
withAddressSpace
public VirtualNetworkResourceSettings withAddressSpace(List<String> addressSpace)
Set gets or sets the address prefixes for the virtual network.
Parameters:
Returns:
withDnsServers
public VirtualNetworkResourceSettings withDnsServers(List<String> dnsServers)
Set gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
Parameters:
Returns:
withEnableDdosProtection
public VirtualNetworkResourceSettings withEnableDdosProtection(Boolean enableDdosProtection)
Set gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on.
Parameters:
Returns:
withSubnets
public VirtualNetworkResourceSettings withSubnets(List<SubnetResourceSettings> subnets)
Set gets or sets List of subnets in a VirtualNetwork.
Parameters:
Returns: