TenantsCostManagementViewsCollection Class

Definition

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

public class TenantsCostManagementViewsCollection : Azure.ResourceManager.ArmCollection
type TenantsCostManagementViewsCollection = class
    inherit ArmCollection
Public Class TenantsCostManagementViewsCollection
Inherits ArmCollection
Inheritance
TenantsCostManagementViewsCollection

Constructors

TenantsCostManagementViewsCollection()

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

The operation to create or update a view. 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: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, CostManagementViewData, CancellationToken)

The operation to create or update a view. 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: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
Get(String, CancellationToken)

Gets the view by view name.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
GetAsync(String, CancellationToken)

Gets the view by view name.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to