AppServiceExtensions.GetAppCertificates Method

Definition

Overloads

GetAppCertificates(ResourceGroupResource)

Gets a collection of AppCertificateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppCertificates() instead.

GetAppCertificates(SubscriptionResource, String, CancellationToken)

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

GetAppCertificates(ResourceGroupResource)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

Gets a collection of AppCertificateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppCertificates() instead.

public static Azure.ResourceManager.AppService.AppCertificateCollection GetAppCertificates (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppCertificates : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppService.AppCertificateCollection
<Extension()>
Public Function GetAppCertificates (resourceGroupResource As ResourceGroupResource) As AppCertificateCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppCertificateResources and their operations over a AppCertificateResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAppCertificates(SubscriptionResource, String, CancellationToken)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

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.Pageable<Azure.ResourceManager.AppService.AppCertificateResource> GetAppCertificates (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAppCertificates : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppCertificateResource>
<Extension()>
Public Function GetAppCertificates (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Exceptions

subscriptionResource is null.

Applies to