共用方式為


IUpdate Interface

Definition

The template for a virtual network update operation, containing all the settings that can be modified.

public interface IUpdate : Microsoft.Azure.Management.Network.Fluent.Network.Update.IWithAddressSpace, Microsoft.Azure.Management.Network.Fluent.Network.Update.IWithDdosProtectionPlan, Microsoft.Azure.Management.Network.Fluent.Network.Update.IWithDnsServer, Microsoft.Azure.Management.Network.Fluent.Network.Update.IWithSubnet, Microsoft.Azure.Management.Network.Fluent.Network.Update.IWithVmProtection, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Network.Fluent.INetwork>
type IUpdate = interface
    interface IAppliable<INetwork>
    interface IIndexable
    interface IUpdateWithTags<IUpdate>
    interface IWithSubnet
    interface IWithDnsServer
    interface IWithAddressSpace
    interface IWithAddressSpaceBeta
    interface IBeta
    interface IWithDdosProtectionPlan
    interface IWithVmProtection
Public Interface IUpdate
Implements IAppliable(Of INetwork), IBeta, IUpdateWithTags(Of IUpdate), IWithAddressSpace, IWithDdosProtectionPlan, IWithDnsServer, IWithSubnet, IWithVmProtection
Implements

Properties

Key (Inherited from IIndexable)

Methods

Apply()

Execute the update request.

(Inherited from IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

Execute the update request asynchronously.

(Inherited from IAppliable<T>)
DefineSubnet(String)

Begins the definition of a new subnet to be added to this virtual network.

(Inherited from IWithSubnet)
UpdateSubnet(String)

Begins the description of an update of an existing subnet of this network.

(Inherited from IWithSubnet)
WithAddressSpace(String)

Explicitly adds an address space to the virtual network. Note this method's effect is additive, i.e. each time it is used, a new address space is added to the network. This method does not check for conflicts or overlaps with other address spaces. If there is a conflict, a cloud exception may be thrown after the update is applied.

(Inherited from IWithAddressSpace)
WithDnsServer(String)

Specifies the IP address of the DNS server to associate with the virtual network. Note this method's effect is additive, i.e. each time it is used, a new DNS server is added to the network.

(Inherited from IWithDnsServer)
WithExistingDdosProtectionPlan(String)

Associates existing DDoS protection plan with the virtual network.

(Inherited from IWithDdosProtectionPlan)
WithNewDdosProtectionPlan()

Creates a new DDoS protection plan in the same region and group as the virtual network and associates it with the resource. The internal name the DDoS protection plan will be derived from the resource's name.

(Inherited from IWithDdosProtectionPlan)
WithoutAddressSpace(String)

Removes the specified address space from the virtual network, assuming it's not in use bu any of the subnets.

(Inherited from IWithAddressSpaceBeta)
WithoutDdosProtectionPlan()

Disassociates DDoS protection plan and disables Standard DDoS protection for this virtual network. Note: Plan resource is not deleted from Azure.

(Inherited from IWithDdosProtectionPlan)
WithoutSubnet(String)

Removes a subnet from the virtual network.

(Inherited from IWithSubnet)
WithoutTag(String)

Removes a tag from the resource.

(Inherited from IUpdateWithTags<T>)
WithoutVmProtection()

Disable VM protection for all the subnets in the virtual network.

(Inherited from IWithVmProtection)
WithSubnet(String, String)

Explicitly adds a subnet to the virtual network. Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network.

(Inherited from IWithSubnet)
WithSubnets(IDictionary<String,String>)

Explicitly defines all the subnets in the virtual network based on the provided map. This replaces any previously existing subnets.

(Inherited from IWithSubnet)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IUpdateWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IUpdateWithTags<T>)
WithVmProtection()

Enable VM protection for all the subnets in the virtual network.

(Inherited from IWithVmProtection)

Applies to