Interface Network.DefinitionStages.WithDdosProtectionPlan
-
- All Known Subinterfaces:
Network.Definition,Network.DefinitionStages.WithCreate,Network.DefinitionStages.WithCreateAndSubnet
- Enclosing interface:
- Network.DefinitionStages
public static interface Network.DefinitionStages.WithDdosProtectionPlanThe stage of the virtual network definition allowing to specify DDoS protection plan.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Network.DefinitionStages.WithCreateAndSubnetwithExistingDdosProtectionPlan(String planId)Associates existing DDoS protection plan with the virtual network.Network.DefinitionStages.WithCreateAndSubnetwithNewDdosProtectionPlan()Creates a new DDoS protection plan in the same region and group as the virtual network and associates it with the resource.
-
-
-
Method Detail
-
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
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
-
-