SiteFunctionResource.GetFunctionSecretsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Description for Get function secrets for a function in a web site, or a deployment slot.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets
- Operation Id: WebApps_ListFunctionSecrets
- Default Api Version: 2024-04-01
- Resource: SiteFunctionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>> GetFunctionSecretsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFunctionSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>>
override this.GetFunctionSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>>
Public Overridable Function GetFunctionSecretsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FunctionSecrets))
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.