다음을 통해 공유


SiteFunctionCollection Class

Definition

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

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

Constructors

SiteFunctionCollection()

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

Description for Create function for web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_CreateFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
CreateOrUpdateAsync(WaitUntil, String, FunctionEnvelopeData, CancellationToken)

Description for Create function for web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_CreateFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
Get(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
GetAll(CancellationToken)

Description for List the functions for a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions
  • Operation Id: WebApps_ListFunctions
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
GetAllAsync(CancellationToken)

Description for List the functions for a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions
  • Operation Id: WebApps_ListFunctions
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
GetAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}
  • Operation Id: WebApps_GetFunction
  • Default Api Version: 2024-04-01
  • Resource: SiteFunctionResource
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<SiteFunctionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteFunctionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to