Share via


SiteSlotFunctionCollection Class

Definition

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

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

Constructors

SiteSlotFunctionCollection()

Initializes a new instance of the SiteSlotFunctionCollection 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}/slots/{slot}/functions/{functionName}
  • Operation Id: WebApps_CreateInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/slots/{slot}/functions/{functionName}
  • Operation Id: WebApps_CreateInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/slots/{slot}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/slots/{slot}/functions
  • Operation Id: WebApps_ListInstanceFunctionsSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/slots/{slot}/functions
  • Operation Id: WebApps_ListInstanceFunctionsSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/slots/{slot}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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}/functions/{functionName}
  • Operation Id: WebApps_GetInstanceFunctionSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotFunctionResource
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<SiteSlotFunctionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotFunctionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to