你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RecipientTransferDetailResource.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.
- Request Path: /providers/Microsoft.Billing/transfers/{transferName}/validate
- Operation Id: RecipientTransfers_Validate
- Default Api Version: 2024-04-01
- Resource: RecipientTransferDetailResource
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult> Validate(Azure.ResourceManager.Billing.Models.AcceptTransferContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Validate : Azure.ResourceManager.Billing.Models.AcceptTransferContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult>
override this.Validate : Azure.ResourceManager.Billing.Models.AcceptTransferContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResult>
Public Overridable Function Validate (content As AcceptTransferContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingTransferValidationResult)
Parameters
- content
- AcceptTransferContent
Request parameters that are provided to the validate transfer operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of BillingTransferValidationResult that may take multiple service requests to iterate over.
Exceptions
content
is null.