共用方式為


ProductsOperationsExtensions.MoveAsync 方法

定義

將產品的費用移至新的發票區段。 新的發票區段必須屬於與現有發票區段相同的帳單設定檔。 這項作業僅支援以週期性費用購買的產品,以及合約類型為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

可唯一識別計費帳戶的識別碼。

productName
String

可唯一識別產品的識別碼。

parameters
TransferProductRequestProperties

要求提供給移動產品作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於