Share via


BillingRequestCollection Class

Definition

A class representing a collection of BillingRequestResource and their operations. Each BillingRequestResource in the collection will belong to the same instance of TenantResource. To get a BillingRequestCollection instance call the GetBillingRequests method from an instance of TenantResource.

public class BillingRequestCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Billing.BillingRequestResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.BillingRequestResource>
type BillingRequestCollection = class
    inherit ArmCollection
    interface seq<BillingRequestResource>
    interface IEnumerable
    interface IAsyncEnumerable<BillingRequestResource>
Public Class BillingRequestCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of BillingRequestResource), IEnumerable(Of BillingRequestResource)
Inheritance
BillingRequestCollection
Implements

Constructors

BillingRequestCollection()

Initializes a new instance of the BillingRequestCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, BillingRequestData, CancellationToken)

Create or update a billing request.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
CreateOrUpdateAsync(WaitUntil, String, BillingRequestData, CancellationToken)

Create or update a billing request.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
Get(String, CancellationToken)

Gets a billing request by its ID.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetAll(BillingRequestCollectionGetAllOptions, CancellationToken)

The list of billing requests submitted by a user.

  • Request Path: /providers/Microsoft.Billing/billingRequests
  • Operation Id: BillingRequests_ListByUser
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetAllAsync(BillingRequestCollectionGetAllOptions, CancellationToken)

The list of billing requests submitted by a user.

  • Request Path: /providers/Microsoft.Billing/billingRequests
  • Operation Id: BillingRequests_ListByUser
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetAsync(String, CancellationToken)

Gets a billing request by its ID.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<BillingRequestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingRequestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to