Interface GenericResource.DefinitionStages.WithPlan
- All Known Subinterfaces:
GenericResource.Definition
- Enclosing interface:
- GenericResource.DefinitionStages
public static interface GenericResource.DefinitionStages.WithPlan
A generic resource definition allowing plan to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the plan of the resource.Specifies the plan of the resource.
-
Method Details
-
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 planpublisher
- the publisher of the planproduct
- the name of the productpromotionCode
- the promotion code, if any- Returns:
- the next stage of the definition
-
withoutPlan
GenericResource.DefinitionStages.WithCreate withoutPlan()Specifies the plan of the resource.- Returns:
- the next stage of the definition
-