@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2023-06-01, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview, 2025-01-15-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native elastic [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrganizationApiKey(args?: GetOrganizationApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationApiKeyResult>;
export interface GetOrganizationApiKeyArgs {
/**
* The User email Id
*/
emailId?: string;
}
/**
* The User Api Key created for the Organization associated with the User Email Id that was passed in the request
*/
export interface GetOrganizationApiKeyResult {
readonly properties: outputs.elastic.UserApiKeyResponsePropertiesResponse;
}
/**
* Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2023-06-01, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview, 2025-01-15-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native elastic [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOrganizationApiKeyOutput(args?: GetOrganizationApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationApiKeyResult>;
export interface GetOrganizationApiKeyOutputArgs {
/**
* The User email Id
*/
emailId?: pulumi.Input<string>;
}