Udostępnij za pośrednictwem


AppServiceExtensions.GetAppCertificatesAsync Method

Definition

Description for Get all certificates for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates
  • Operation Id: Certificates_List
  • Default Api Version: 2023-12-01
  • Resource: AppCertificateResource
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.AppCertificateResource> GetAppCertificatesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAppCertificatesAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppCertificateResource>
<Extension()>
Public Function GetAppCertificatesAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppCertificateResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AppCertificateResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to