共用方式為


VirtualNetworkInner Class

Definition

Virtual Network resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkInner = class
    inherit Resource
Public Class VirtualNetworkInner
Inherits Resource
Inheritance
VirtualNetworkInner
Attributes

Constructors

VirtualNetworkInner()

Initializes a new instance of the VirtualNetworkInner class.

VirtualNetworkInner(String, String, String, String, IDictionary<String, String>, AddressSpace, DhcpOptions, IList<SubnetInner>, IList<VirtualNetworkPeeringInner>, String, ProvisioningState, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkBgpCommunities, String)

Initializes a new instance of the VirtualNetworkInner 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.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
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

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
VirtualNetworkPeerings

Gets or sets a list of peerings in a Virtual Network.

Methods

Validate()

Validate the object.

Applies to