Share via


DeviceProvisioningServicesCertificateCollection Class

Definition

A class representing a collection of DeviceProvisioningServicesCertificateResource and their operations. Each DeviceProvisioningServicesCertificateResource in the collection will belong to the same instance of DeviceProvisioningServiceResource. To get a DeviceProvisioningServicesCertificateCollection instance call the GetDeviceProvisioningServicesCertificates method from an instance of DeviceProvisioningServiceResource.

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

Constructors

DeviceProvisioningServicesCertificateCollection()

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

Add new certificate or update an existing certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DeviceProvisioningServicesCertificateData, String, CancellationToken)

Add new certificate or update an existing certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_CreateOrUpdate
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_Get
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_Get
Get(String, String, CancellationToken)

Get the certificate from the provisioning service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_Get
GetAll(CancellationToken)

Get all the certificates tied to the provisioning service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates
  • Operation Id: DpsCertificate_List
GetAllAsync(CancellationToken)

Get all the certificates tied to the provisioning service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates
  • Operation Id: DpsCertificate_List
GetAsync(String, String, CancellationToken)

Get the certificate from the provisioning service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_Get
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_Get
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
  • Operation Id: DpsCertificate_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<DeviceProvisioningServicesCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeviceProvisioningServicesCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to