Condividi tramite


INetwork Interface

Definition

Entry point for Virtual Network management API in Azure.

public interface INetwork : Microsoft.Azure.Management.Network.Fluent.INetworkBeta, Microsoft.Azure.Management.Network.Fluent.IUpdatableWithTags<Microsoft.Azure.Management.Network.Fluent.INetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.INetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate>
type INetwork = interface
    interface IGroupableResource<INetworkManager, VirtualNetworkInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<VirtualNetworkInner>
    interface IRefreshable<INetwork>
    interface IUpdatable<IUpdate>
    interface IUpdatableWithTags<INetwork>
    interface INetworkBeta
    interface IBeta
Public Interface INetwork
Implements IBeta, IGroupableResource(Of INetworkManager, VirtualNetworkInner), IHasInner(Of VirtualNetworkInner), IHasManager(Of INetworkManager), INetworkBeta, IRefreshable(Of INetwork), IUpdatable(Of IUpdate), IUpdatableWithTags(Of INetwork)
Implements

Properties

AddressSpaces

Gets list of address spaces associated with this virtual network, in the CIDR notation.

DdosProtectionPlanId

Gets the DDoS protection plan id associated with the virtual network.

DnsServerIPs

Gets list of DNS server IP addresses associated with this virtual network.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IsDdosProtectionEnabled

Gets whether DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.

IsVmProtectionEnabled

Gets whether VM protection is enabled for all the subnets in the virtual network.

Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
Peerings

Gets entry point to managing virtual network peerings for this network.

(Inherited from INetworkBeta)
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
Subnets

Gets subnets of this virtual network as a map indexed by subnet name Note that when a virtual network is created with no subnets explicitly defined, a default subnet is automatically created with the name "subnet1".

Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

IsPrivateIPAddressAvailable(String)

Checks if the specified private IP address is available in this network.

(Inherited from INetworkBeta)
IsPrivateIPAddressInNetwork(String)

Checks if the specified private IP address is within this network's address space.

(Inherited from INetworkBeta)
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)
UpdateTags()

Begins a tags update for a resource. This is the beginning of the builder pattern used to update tags for a resources in Azure. The final method completing the definition and starting the actual resource update process in Azure is AppliableWithTags.applyTags().

(Inherited from IUpdatableWithTags<T>)

Applies to