@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieve the automation keys for an account.
*
* Uses Azure REST API version 2023-11-01.
*
* Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2021-06-22, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native automation [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listKeyByAutomationAccount(args: ListKeyByAutomationAccountArgs, opts?: pulumi.InvokeOptions): Promise<ListKeyByAutomationAccountResult>;
export interface ListKeyByAutomationAccountArgs {
/**
* The name of the automation account.
*/
automationAccountName: string;
/**
* Name of an Azure Resource group.
*/
resourceGroupName: string;
}
export interface ListKeyByAutomationAccountResult {
/**
* Lists the automation keys.
*/
readonly keys?: outputs.automation.KeyResponse[];
}
/**
* Retrieve the automation keys for an account.
*
* Uses Azure REST API version 2023-11-01.
*
* Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2021-06-22, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native automation [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listKeyByAutomationAccountOutput(args: ListKeyByAutomationAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListKeyByAutomationAccountResult>;
export interface ListKeyByAutomationAccountOutputArgs {
/**
* The name of the automation account.
*/
automationAccountName: pulumi.Input<string>;
/**
* Name of an Azure Resource group.
*/
resourceGroupName: pulumi.Input<string>;
}