共用方式為


WebSiteExtensionCollection Class

Definition

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

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

Constructors

WebSiteExtensionCollection()

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

Description for Install site extension on a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}
  • Operation Id: WebApps_InstallSiteExtension
  • Default Api Version: 2023-12-01
  • Resource: WebSiteExtensionResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Description for Install site extension on a web site, or a deployment slot.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Description for Get site extension information by its ID for a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}
  • Operation Id: WebApps_GetSiteExtension
  • Default Api Version: 2023-12-01
  • Resource: WebSiteExtensionResource
GetAll(CancellationToken)

Description for Get list of siteextensions for a web site, or a deployment slot.

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

Description for Get list of siteextensions for a web site, or a deployment slot.

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

Description for Get site extension information by its ID for a web site, or a deployment slot.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WebSiteExtensionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to