Share via


SitePublicCertificateCollection Class

Definition

A class representing a collection of SitePublicCertificateResource and their operations. Each SitePublicCertificateResource in the collection will belong to the same instance of WebSiteResource. To get a SitePublicCertificateCollection instance call the GetSitePublicCertificates method from an instance of WebSiteResource.

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

Constructors

SitePublicCertificateCollection()

Initializes a new instance of the SitePublicCertificateCollection 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, PublicCertificateData, CancellationToken)

Description for Creates a hostname binding for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_CreateOrUpdatePublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
CreateOrUpdateAsync(WaitUntil, String, PublicCertificateData, CancellationToken)

Description for Creates a hostname binding for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_CreateOrUpdatePublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
Get(String, CancellationToken)

Description for Get the named public certificate for an app (or deployment slot, if specified).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
GetAll(CancellationToken)

Description for Get public certificates for an app or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates
  • Operation Id: WebApps_ListPublicCertificates
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
GetAllAsync(CancellationToken)

Description for Get public certificates for an app or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates
  • Operation Id: WebApps_ListPublicCertificates
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
GetAsync(String, CancellationToken)

Description for Get the named public certificate for an app (or deployment slot, if specified).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificate
  • Default Api Version: 2023-12-01
  • Resource: SitePublicCertificateResource
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<SitePublicCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SitePublicCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to