VirtualNetwork Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Virtual Network resource.
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetwork : Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetwork = class
inherit Resource
Public Class VirtualNetwork
Inherits Resource
- Inheritance
- Attributes
Constructors
VirtualNetwork() |
Initializes a new instance of the VirtualNetwork class. |
VirtualNetwork(String, String, String, String, IDictionary<String, String>, ExtendedLocation, AddressSpace, DhcpOptions, IList<Subnet>, IList<VirtualNetworkPeering>, String, String, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkBgpCommunities, IList<SubResource>, String) |
Initializes a new instance of the VirtualNetwork class. |
Properties
AddressSpace |
Gets or sets the AddressSpace that contains an array of IP address ranges that can be used by subnets. |
BgpCommunities |
Gets or sets bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. |
DdosProtectionPlan |
Gets or sets the DDoS protection plan associated with the virtual network. |
DhcpOptions |
Gets or sets the dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network. |
EnableDdosProtection |
Gets or sets 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. |
EnableVmProtection |
Gets or sets indicates if VM protection is enabled for all the subnets in the virtual network. |
Etag |
Gets a unique read-only string that changes whenever the resource is updated. |
ExtendedLocation |
Gets or sets the extended location of the virtual network. |
Id |
Gets or sets resource ID. (Inherited from Resource) |
IpAllocations |
Gets or sets array of IpAllocation which reference this VNET. |
Location |
Gets or sets resource location. (Inherited from Resource) |
Name |
Gets resource name. (Inherited from Resource) |
ProvisioningState |
Gets the provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' |
ResourceGuid |
Gets the resourceGuid property of the Virtual Network resource. |
Subnets |
Gets or sets a list of subnets in a Virtual Network. |
Tags |
Gets or sets resource tags. (Inherited from Resource) |
Type |
Gets resource type. (Inherited from Resource) |
VirtualNetworkPeerings |
Gets or sets a list of peerings in a Virtual Network. |
Methods
Validate() |
Validate the object. |