Interface Network.DefinitionStages.WithDdosProtectionPlan
- All Known Subinterfaces:
Network.Definition,Network.DefinitionStages.WithCreate,Network.DefinitionStages.WithCreateAndSubnet
- Enclosing interface:
Network.DefinitionStages
public static interface Network.DefinitionStages.WithDdosProtectionPlan
The stage of the virtual network definition allowing to specify DDoS protection plan.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingDdosProtectionPlan(String planId) Associates existing DDoS protection plan with the virtual network.Creates a new DDoS protection plan in the same region and group as the virtual network and associates it with the resource.
-
Method Details
-
withNewDdosProtectionPlan
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
-
withExistingDdosProtectionPlan
Associates existing DDoS protection plan with the virtual network.- Parameters:
planId- DDoS protection plan resource id- Returns:
- the next stage of the definition
-