共用方式為


WebSiteSlotPublicCertificateCollection Class

Definition

A class representing a collection of WebSiteSlotPublicCertificateResource and their operations. Each WebSiteSlotPublicCertificateResource in the collection will belong to the same instance of WebSiteSlotResource. To get a WebSiteSlotPublicCertificateCollection instance call the GetWebSiteSlotPublicCertificates method from an instance of WebSiteSlotResource.

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

Constructors

WebSiteSlotPublicCertificateCollection()

Initializes a new instance of the WebSiteSlotPublicCertificateCollection 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}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_CreateOrUpdatePublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_CreateOrUpdatePublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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}/slots/{slot}/publicCertificates
  • Operation Id: WebApps_ListPublicCertificatesSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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}/slots/{slot}/publicCertificates
  • Operation Id: WebApps_ListPublicCertificatesSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}
  • Operation Id: WebApps_GetPublicCertificateSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotPublicCertificateResource
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<WebSiteSlotPublicCertificateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WebSiteSlotPublicCertificateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to