Partager via


DeviceRegistryBillingContainerCollection Class

Definition

A class representing a collection of DeviceRegistryBillingContainerResource and their operations. Each DeviceRegistryBillingContainerResource in the collection will belong to the same instance of SubscriptionResource. To get a DeviceRegistryBillingContainerCollection instance call the GetDeviceRegistryBillingContainers method from an instance of SubscriptionResource.

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

Constructors

DeviceRegistryBillingContainerCollection()

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
Get(String, CancellationToken)

Get a BillingContainer

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
GetAll(CancellationToken)

List BillingContainer resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers
  • Operation Id: BillingContainer_ListBySubscription
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
GetAllAsync(CancellationToken)

List BillingContainer resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers
  • Operation Id: BillingContainer_ListBySubscription
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
GetAsync(String, CancellationToken)

Get a BillingContainer

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/billingContainers/{billingContainerName}
  • Operation Id: BillingContainer_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistryBillingContainerResource
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<DeviceRegistryBillingContainerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeviceRegistryBillingContainerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to