IotHubCertificateDescriptionCollection Class

Definition

A class representing a collection of IotHubCertificateDescriptionResource and their operations. Each IotHubCertificateDescriptionResource in the collection will belong to the same instance of IotHubDescriptionResource. To get an IotHubCertificateDescriptionCollection instance call the GetIotHubCertificateDescriptions method from an instance of IotHubDescriptionResource.

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

Constructors

IotHubCertificateDescriptionCollection()

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

Adds new or replaces existing certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_CreateOrUpdate
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
CreateOrUpdateAsync(WaitUntil, String, IotHubCertificateDescriptionData, String, CancellationToken)

Adds new or replaces existing certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_CreateOrUpdate
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
Get(String, CancellationToken)

Returns the certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
GetAll(CancellationToken)

Returns the list of certificates.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates
  • Operation Id: Certificates_ListByIotHub
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
GetAllAsync(CancellationToken)

Returns the list of certificates.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates
  • Operation Id: Certificates_ListByIotHub
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
GetAsync(String, CancellationToken)

Returns the certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
  • Operation Id: Certificates_Get
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
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<IotHubCertificateDescriptionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<IotHubCertificateDescriptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to