Interface GenericResource.DefinitionStages.WithPlan
-
- All Known Subinterfaces:
GenericResource.Definition
- Enclosing interface:
- GenericResource.DefinitionStages
public static interface GenericResource.DefinitionStages.WithPlanA generic resource definition allowing plan to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericResource.DefinitionStages.WithCreatewithoutPlan()Specifies the plan of the resource.GenericResource.DefinitionStages.WithCreatewithPlan(Plan plan)Specifies the plan of the resource.GenericResource.DefinitionStages.WithCreatewithPlan(String name, String publisher, String product, String promotionCode)Specifies the plan of the resource.
-
-
-
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 planpublisher- the publisher of the planproduct- the name of the productpromotionCode- 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.
-
withoutPlan
GenericResource.DefinitionStages.WithCreate withoutPlan()
Specifies the plan of the resource.- Returns:
- the next stage of the definition
-
-