共用方式為


IWithPlan.WithPlan(String, String, String, String) Method

Definition

Specifies the plan of the resource. The plan can only be set for 3rd party resources.

public Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Definition.IWithApiVersion WithPlan (string name, string publisher, string product, string promotionCode);
abstract member WithPlan : string * string * string * string -> Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Definition.IWithApiVersion
Public Function WithPlan (name As String, publisher As String, product As String, promotionCode As String) As IWithApiVersion

Parameters

name
String

name the name of the plan

publisher
String

publisher the publisher of the plan

product
String

product the name of the product

promotionCode
String

promotionCode the promotion code, if any

Returns

the next stage of the generic resource definition

Applies to