Share via


BillingReservationOrderCollection Class

Definition

A class representing a collection of BillingReservationOrderResource and their operations. Each BillingReservationOrderResource in the collection will belong to the same instance of BillingAccountResource. To get a BillingReservationOrderCollection instance call the GetBillingReservationOrders method from an instance of BillingAccountResource.

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

Constructors

BillingReservationOrderCollection()

Initializes a new instance of the BillingReservationOrderCollection 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

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
Get(String, String, CancellationToken)

Get the details of the ReservationOrder in the billing account.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
GetAll(String, String, Nullable<Single>, CancellationToken)

List all the `ReservationOrders in the billing account.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders
  • Operation Id: ReservationOrders_ListByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
GetAllAsync(String, String, Nullable<Single>, CancellationToken)

List all the `ReservationOrders in the billing account.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders
  • Operation Id: ReservationOrders_ListByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
GetAsync(String, String, CancellationToken)

Get the details of the ReservationOrder in the billing account.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}
  • Operation Id: ReservationOrders_GetByBillingAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingReservationOrderResource
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<BillingReservationOrderResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingReservationOrderResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to