Network.UpdateStages.WithDdosProtectionPlan Interface

public static interface Network.UpdateStages.WithDdosProtectionPlan

The stage of the virtual network update allowing to specify DDoS protection plan.

Method Summary

Modifier and Type Method and Description
abstract Update withExistingDdosProtectionPlan(String planId)

Associates existing DDoS protection plan with the virtual network.

abstract Update withNewDdosProtectionPlan()

Creates a new DDoS protection plan in the same region and group as the virtual network and associates it with the resource.

abstract Update withoutDdosProtectionPlan()

Disassociates DDoS protection plan and disables Standard DDoS protection for this virtual network.

Method Details

withExistingDdosProtectionPlan

public abstract Network.Update withExistingDdosProtectionPlan(String planId)

Associates existing DDoS protection plan with the virtual network.

Parameters:

planId - DDoS protection plan resource id

Returns:

the next stage of the update

withNewDdosProtectionPlan

public abstract Network.Update 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.

Returns:

the next stage of the update

withoutDdosProtectionPlan

public abstract Network.Update withoutDdosProtectionPlan()

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

Returns:

the next stage of the update

Applies to