DevTestLabCostCollection Class

Definition

A class representing a collection of DevTestLabCostResource and their operations. Each DevTestLabCostResource in the collection will belong to the same instance of DevTestLabResource. To get a DevTestLabCostCollection instance call the GetDevTestLabCosts method from an instance of DevTestLabResource.

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

Constructors

DevTestLabCostCollection()

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

Create or replace an existing cost.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DevTestLabCostData, CancellationToken)

Create or replace an existing cost.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_CreateOrUpdate
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
Get(String, String, CancellationToken)

Get cost.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
GetAsync(String, String, CancellationToken)

Get cost.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
  • Operation Id: Costs_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to