@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Description for Get function secrets for a function in a web site, or a deployment slot.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listWebAppFunctionSecretsSlot(args: ListWebAppFunctionSecretsSlotArgs, opts?: pulumi.InvokeOptions): Promise<ListWebAppFunctionSecretsSlotResult>;
export interface ListWebAppFunctionSecretsSlotArgs {
/**
* Function name.
*/
functionName: string;
/**
* Site name.
*/
name: string;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: string;
/**
* Name of the deployment slot.
*/
slot: string;
}
/**
* Function secrets.
*/
export interface ListWebAppFunctionSecretsSlotResult {
/**
* Secret key.
*/
readonly key?: string;
/**
* Trigger URL.
*/
readonly triggerUrl?: string;
}
/**
* Description for Get function secrets for a function in a web site, or a deployment slot.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listWebAppFunctionSecretsSlotOutput(args: ListWebAppFunctionSecretsSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListWebAppFunctionSecretsSlotResult>;
export interface ListWebAppFunctionSecretsSlotOutputArgs {
/**
* Function name.
*/
functionName: pulumi.Input<string>;
/**
* Site name.
*/
name: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the deployment slot.
*/
slot: pulumi.Input<string>;
}