Share via


CostManagementExportCollection Class

Definition

A class representing a collection of CostManagementExportResource and their operations. Each CostManagementExportResource in the collection will belong to the same instance of ArmResource. To get a CostManagementExportCollection instance call the GetCostManagementExports method from an instance of ArmResource.

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

Constructors

CostManagementExportCollection()

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

The operation to create or update a export. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, CostManagementExportData, CancellationToken)

The operation to create or update a export. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_CreateOrUpdate
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
Get(String, String, CancellationToken)

The operation to get the export for the defined scope by export name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
GetAll(String, CancellationToken)

The operation to list all exports at the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports
  • Operation Id: Exports_List
GetAllAsync(String, CancellationToken)

The operation to list all exports at the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports
  • Operation Id: Exports_List
GetAsync(String, String, CancellationToken)

The operation to get the export for the defined scope by export name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
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<CostManagementExportResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CostManagementExportResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to