GenericResource.DefinitionStages.WithPlan Interface
public interface WithPlan
A generic resource definition allowing plan to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Generic |
withoutPlan()
Specifies the plan of the resource. |
Generic |
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. |
Method Details
withoutPlan
public WithCreate withoutPlan()
Specifies the plan of the resource.
Returns:
the next stage of the definition
withPlan
public 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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java