GenericResource.DefinitionStages.WithPlan Interface
public static interface GenericResource.DefinitionStages.WithPlan
A generic resource definition allowing plan to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withoutPlan()
Specifies the plan of the resource. |
abstract
With |
withPlan(String name, String publisher, String product, String promotionCode)
Specifies the plan of the resource. |
Method Details
withoutPlan
public abstract GenericResource.DefinitionStages.WithCreate withoutPlan()
Specifies the plan of the resource.
Returns:
the next stage of the definition
withPlan
public abstract 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
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java