Interface Network.DefinitionStages.WithDdosProtectionPlan

    • 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