Udostępnij za pośrednictwem


BillingTransferDetailCollection Class

Definition

A class representing a collection of BillingTransferDetailResource and their operations. Each BillingTransferDetailResource in the collection will belong to the same instance of BillingInvoiceSectionResource. To get a BillingTransferDetailCollection instance call the GetBillingTransferDetails method from an instance of BillingInvoiceSectionResource.

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

Constructors

BillingTransferDetailCollection()

Initializes a new instance of the BillingTransferDetailCollection 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, BillingTransferDetailCreateOrUpdateContent, CancellationToken)

Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Initiate
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
CreateOrUpdateAsync(WaitUntil, String, BillingTransferDetailCreateOrUpdateContent, CancellationToken)

Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Initiate
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
Get(String, CancellationToken)

Gets a transfer request by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
GetAll(CancellationToken)

Lists the transfer requests for an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers
  • Operation Id: Transfers_List
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
GetAllAsync(CancellationToken)

Lists the transfer requests for an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers
  • Operation Id: Transfers_List
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
GetAsync(String, CancellationToken)

Gets a transfer request by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
  • Operation Id: Transfers_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingTransferDetailResource
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<BillingTransferDetailResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BillingTransferDetailResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to