class Azure::Network::Mgmt::V2019_11_01::Models::VirtualNetwork
Virtual Network
resource.
Attributes
@return [AddressSpace] The AddressSpace
that contains an array of IP address ranges that can be used by subnets.
@return [VirtualNetworkBgpCommunities] Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
@return [SubResource] The DDoS protection plan associated with the virtual network.
@return [DhcpOptions] The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
@return [Boolean] Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource. Default value: false .
@return [Boolean] Indicates if VM
protection is enabled for all the subnets in the virtual network. Default value: false .
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [ProvisioningState] The provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
@return [String] The resourceGuid property of the Virtual Network
resource.
@return [Array<Subnet>] A list of subnets in a Virtual Network
.
@return [Array<VirtualNetworkPeering>] A list of peerings in a Virtual Network
.
Public Class Methods
Mapper for VirtualNetwork
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-11-01/generated/azure_mgmt_network/models/virtual_network.rb, line 65 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { name: 'Composite', class_name: 'VirtualNetwork', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, address_space: { client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { name: 'Composite', class_name: 'AddressSpace' } }, dhcp_options: { client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { name: 'Composite', class_name: 'DhcpOptions' } }, subnets: { client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { name: 'Composite', class_name: 'Subnet' } } } }, virtual_network_peerings: { client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { name: 'Composite', class_name: 'VirtualNetworkPeering' } } } }, resource_guid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, enable_ddos_protection: { client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', default_value: false, type: { name: 'Boolean' } }, enable_vm_protection: { client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', default_value: false, type: { name: 'Boolean' } }, ddos_protection_plan: { client_side_validation: true, required: false, serialized_name: 'properties.ddosProtectionPlan', type: { name: 'Composite', class_name: 'SubResource' } }, bgp_communities: { client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Composite', class_name: 'VirtualNetworkBgpCommunities' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end