Поделиться через


ServiceWorkspaceCertificateCollection Class

Definition

A class representing a collection of ServiceWorkspaceCertificateResource and their operations. Each ServiceWorkspaceCertificateResource in the collection will belong to the same instance of WorkspaceContractResource. To get a ServiceWorkspaceCertificateCollection instance call the GetServiceWorkspaceCertificates method from an instance of WorkspaceContractResource.

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

Constructors

ServiceWorkspaceCertificateCollection()

Initializes a new instance of the ServiceWorkspaceCertificateCollection 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}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_CreateOrUpdate
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
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}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_CreateOrUpdate
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
Get(String, CancellationToken)

Gets the details of the certificate specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Lists a collection of all certificates in the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates
  • Operation Id: WorkspaceCertificate_ListByWorkspace
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Lists a collection of all certificates in the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates
  • Operation Id: WorkspaceCertificate_ListByWorkspace
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
GetAsync(String, CancellationToken)

Gets the details of the certificate specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/certificates/{certificateId}
  • Operation Id: WorkspaceCertificate_Get
  • Default Api Version: 2024-05-01
  • Resource: ServiceWorkspaceCertificateResource
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<ServiceWorkspaceCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to