BillingAssociatedTenantCollection.GetAllAsync 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.
Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants
- Operation Id: AssociatedTenants_ListByBillingAccount
- Default Api Version: 2024-04-01
- Resource: BillingAssociatedTenantResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingAssociatedTenantResource> GetAllAsync (Azure.ResourceManager.Billing.Models.BillingAssociatedTenantCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.Billing.Models.BillingAssociatedTenantCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingAssociatedTenantResource>
override this.GetAllAsync : Azure.ResourceManager.Billing.Models.BillingAssociatedTenantCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingAssociatedTenantResource>
Public Overridable Function GetAllAsync (options As BillingAssociatedTenantCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingAssociatedTenantResource)
Parameters
A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of BillingAssociatedTenantResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET