你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ProductsOperationsExtensions.MoveAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将产品费用移到新的发票科目。 新的发票科目必须与现有发票科目属于同一计费对象信息。 只有以定期费用购买的产品以及协议类型为Microsoft 客户协议的计费帐户,才支持此操作。 https://docs.microsoft.com/en-us/rest/api/billing/
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Product> MoveAsync (this Microsoft.Azure.Management.Billing.IProductsOperations operations, string billingAccountName, string productName, Microsoft.Azure.Management.Billing.Models.TransferProductRequestProperties parameters, System.Threading.CancellationToken cancellationToken = default);
static member MoveAsync : Microsoft.Azure.Management.Billing.IProductsOperations * string * string * Microsoft.Azure.Management.Billing.Models.TransferProductRequestProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Product>
<Extension()>
Public Function MoveAsync (operations As IProductsOperations, billingAccountName As String, productName As String, parameters As TransferProductRequestProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Product)
参数
- operations
- IProductsOperations
此扩展方法的操作组。
- billingAccountName
- String
唯一标识计费帐户的 ID。
- productName
- String
唯一标识产品的 ID。
- parameters
- TransferProductRequestProperties
向移动产品操作提供的请求参数。
- cancellationToken
- CancellationToken
取消标记。