azure-native.web.listWebAppFunctionSecrets
Explore with Pulumi AI
Description for Get function secrets for a function in a web site, or a deployment slot. Azure REST API version: 2022-09-01.
Other available API versions: 2016-08-01, 2020-10-01, 2023-01-01.
Using listWebAppFunctionSecrets
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listWebAppFunctionSecrets(args: ListWebAppFunctionSecretsArgs, opts?: InvokeOptions): Promise<ListWebAppFunctionSecretsResult>
function listWebAppFunctionSecretsOutput(args: ListWebAppFunctionSecretsOutputArgs, opts?: InvokeOptions): Output<ListWebAppFunctionSecretsResult>
def list_web_app_function_secrets(function_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListWebAppFunctionSecretsResult
def list_web_app_function_secrets_output(function_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListWebAppFunctionSecretsResult]
func ListWebAppFunctionSecrets(ctx *Context, args *ListWebAppFunctionSecretsArgs, opts ...InvokeOption) (*ListWebAppFunctionSecretsResult, error)
func ListWebAppFunctionSecretsOutput(ctx *Context, args *ListWebAppFunctionSecretsOutputArgs, opts ...InvokeOption) ListWebAppFunctionSecretsResultOutput
> Note: This function is named ListWebAppFunctionSecrets
in the Go SDK.
public static class ListWebAppFunctionSecrets
{
public static Task<ListWebAppFunctionSecretsResult> InvokeAsync(ListWebAppFunctionSecretsArgs args, InvokeOptions? opts = null)
public static Output<ListWebAppFunctionSecretsResult> Invoke(ListWebAppFunctionSecretsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListWebAppFunctionSecretsResult> listWebAppFunctionSecrets(ListWebAppFunctionSecretsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:listWebAppFunctionSecrets
arguments:
# arguments dictionary
The following arguments are supported:
- Function
Name string Function name.
- Name string
Site name.
- Resource
Group stringName Name of the resource group to which the resource belongs.
- Function
Name string Function name.
- Name string
Site name.
- Resource
Group stringName Name of the resource group to which the resource belongs.
- function
Name String Function name.
- name String
Site name.
- resource
Group StringName Name of the resource group to which the resource belongs.
- function
Name string Function name.
- name string
Site name.
- resource
Group stringName Name of the resource group to which the resource belongs.
- function_
name str Function name.
- name str
Site name.
- resource_
group_ strname Name of the resource group to which the resource belongs.
- function
Name String Function name.
- name String
Site name.
- resource
Group StringName Name of the resource group to which the resource belongs.
listWebAppFunctionSecrets Result
The following output properties are available:
- Key string
Secret key.
- Trigger
Url string Trigger URL.
- Key string
Secret key.
- Trigger
Url string Trigger URL.
- key String
Secret key.
- trigger
Url String Trigger URL.
- key string
Secret key.
- trigger
Url string Trigger URL.
- key str
Secret key.
- trigger_
url str Trigger URL.
- key String
Secret key.
- trigger
Url String Trigger URL.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0