BillingBenefitsExtensions.GetAll Method

Definition

Overloads

Name Description
GetAll(ArmClient, ResourceIdentifier, CancellationToken)

List maccs that are applicable for a given billing account. <item> Mocking. To mock this method, please mock GetAll(ResourceIdentifier, CancellationToken) instead. </item>

GetAll(TenantResource, SellerResourceListRequest, CancellationToken)

List maccs by billing account <item> Mocking. To mock this method, please mock GetAll(SellerResourceListRequest, CancellationToken) instead. </item>

GetAll(ArmClient, ResourceIdentifier, CancellationToken)

Source:
BillingBenefitsExtensions.cs

List maccs that are applicable for a given billing account. <item> Mocking. To mock this method, please mock GetAll(ResourceIdentifier, CancellationToken) instead. </item>

public static Azure.Pageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc> GetAll(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetAll : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc>
<Extension()>
Public Function GetAll (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApplicableMacc)

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ApplicableMacc that may take multiple service requests to iterate over.

Exceptions

client is null.

Applies to

GetAll(TenantResource, SellerResourceListRequest, CancellationToken)

Source:
BillingBenefitsExtensions.cs

List maccs by billing account <item> Mocking. To mock this method, please mock GetAll(SellerResourceListRequest, CancellationToken) instead. </item>

public static Azure.Pageable<Azure.ResourceManager.BillingBenefits.MaccResource> GetAll(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.BillingBenefits.Models.SellerResourceListRequest content, System.Threading.CancellationToken cancellationToken = default);
static member GetAll : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.BillingBenefits.Models.SellerResourceListRequest * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.MaccResource>
<Extension()>
Public Function GetAll (tenantResource As TenantResource, content As SellerResourceListRequest, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaccResource)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

content
SellerResourceListRequest

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MaccResource that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to