Network.DefinitionStages.WithDdosProtectionPlan Interface

public static interface Network.DefinitionStages.WithDdosProtectionPlan

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

Method Summary

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

Associates existing DDoS protection plan with the virtual network.

abstract WithCreateAndSubnet withNewDdosProtectionPlan()

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

Method Details

withExistingDdosProtectionPlan

public abstract Network.DefinitionStages.WithCreateAndSubnet 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 definition

withNewDdosProtectionPlan

public abstract Network.DefinitionStages.WithCreateAndSubnet 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 definition

Applies to