getFunctionAppHostKeys

Use this data source to fetch the Host Keys of an existing Function App

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appservice.AppserviceFunctions;
import com.pulumi.azure.appservice.inputs.GetFunctionAppHostKeysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AppserviceFunctions.getFunctionAppHostKeys(GetFunctionAppHostKeysArgs.builder()
.name("example-function")
.resourceGroupName(azurerm_resource_group.example().name())
.build());
}
}

Return

A collection of values returned by getFunctionAppHostKeys.

Parameters

argument

A collection of arguments for invoking getFunctionAppHostKeys.


suspend fun getFunctionAppHostKeys(name: String, resourceGroupName: String): GetFunctionAppHostKeysResult

Return

A collection of values returned by getFunctionAppHostKeys.

See also

Parameters

name

The name of the Function App.

resourceGroupName

The name of the Resource Group where the Function App exists.


Return

A collection of values returned by getFunctionAppHostKeys.

See also

Parameters

argument

Builder for com.pulumi.azure.appservice.kotlin.inputs.GetFunctionAppHostKeysPlainArgs.