Interface GenericResource.DefinitionStages.WithPlan

    • Method Detail

      • withPlan

        GenericResource.DefinitionStages.WithCreate withPlan​(String name,
                                                             String publisher,
                                                             String product,
                                                             String promotionCode)
        Specifies the plan of the resource. The plan can only be set for 3rd party resources.
        Parameters:
        name - the name of the plan
        publisher - the publisher of the plan
        product - the name of the product
        promotionCode - the promotion code, if any
        Returns:
        the next stage of the definition
      • withPlan

        GenericResource.DefinitionStages.WithCreate withPlan​(Plan plan)
        Specifies the plan of the resource. The plan can only be set for 3rd party resources.
        Parameters:
        plan - the plan
        Returns:
        the next stage of the definition.