@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.71 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets a workflow access key.
*
* Uses Azure REST API version 2015-02-01-preview.
*/
export declare function getWorkflowAccessKey(args: GetWorkflowAccessKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowAccessKeyResult>;
export interface GetWorkflowAccessKeyArgs {
/**
* The workflow access key name.
*/
accessKeyName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
/**
* The workflow name.
*/
workflowName: string;
}
export interface GetWorkflowAccessKeyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the resource id.
*/
readonly id?: string;
/**
* Gets the workflow access key name.
*/
readonly name: string;
/**
* Gets or sets the not-after time.
*/
readonly notAfter?: string;
/**
* Gets or sets the not-before time.
*/
readonly notBefore?: string;
/**
* Gets the workflow access key type.
*/
readonly type: string;
}
/**
* Gets a workflow access key.
*
* Uses Azure REST API version 2015-02-01-preview.
*/
export declare function getWorkflowAccessKeyOutput(args: GetWorkflowAccessKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkflowAccessKeyResult>;
export interface GetWorkflowAccessKeyOutputArgs {
/**
* The workflow access key name.
*/
accessKeyName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The workflow name.
*/
workflowName: pulumi.Input<string>;
}