VirtualNetworkResourceSettings Class

Defines the virtual network resource settings.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.regionmove.models._models_py3.ResourceSettings
VirtualNetworkResourceSettings

Constructor

VirtualNetworkResourceSettings(*, target_resource_name: str, enable_ddos_protection: Optional[bool] = None, address_space: Optional[List[str]] = None, dns_servers: Optional[List[str]] = None, subnets: Optional[List[azure.mgmt.regionmove.models._models_py3.SubnetResourceSettings]] = None, **kwargs)

Parameters

resource_type
str
Required

Required. The resource type. For example, the value can be Microsoft.Compute/virtualMachines.Constant filled by server.

target_resource_name
str
Required

Required. Gets or sets the target Resource name.

enable_ddos_protection
bool
Required

Gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on.

address_space
list[str]
Required

Gets or sets the address prefixes for the virtual network.

dns_servers
list[str]
Required

Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

subnets
list[<xref:region_move_service_api.models.SubnetResourceSettings>]
Required

Gets or sets List of subnets in a VirtualNetwork.