Condividi tramite


ApiManagementCertificateCollection Class

Definition

A class representing a collection of ApiManagementCertificateResource and their operations. Each ApiManagementCertificateResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementCertificateCollection instance call the GetApiManagementCertificates method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementCertificateCollection()

Initializes a new instance of the ApiManagementCertificateCollection 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, ApiManagementCertificateCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates or updates the certificate being used for authentication with the backend.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementCertificateCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates or updates the certificate being used for authentication with the backend.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
Get(String, CancellationToken)

Gets the details of the certificate specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Lists a collection of all certificates in the specified service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates
  • Operation Id: Certificate_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Lists a collection of all certificates in the specified service instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates
  • Operation Id: Certificate_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
GetAsync(String, CancellationToken)

Gets the details of the certificate specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}
  • Operation Id: Certificate_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
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<ApiManagementCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to