Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithPlan.WithPlan(String, String, String, String) 方法

定义

指定资源的计划。 只能为第三方资源设置计划。

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

参数

name
String

为计划的名称命名

publisher
String

发布计划发布者

product
String

product 产品的名称

promotionCode
String

promotionCode 促销代码(如果有)

返回

泛型资源定义的下一阶段

适用于