azure-native.elastic.getOrganizationApiKey
Explore with Pulumi AI
Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization. Azure REST API version: 2023-06-01.
Other available API versions: 2023-02-01-preview, 2023-05-01-preview, 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-03-01, 2024-05-01-preview, 2024-06-15-preview.
Using getOrganizationApiKey
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 getOrganizationApiKey(args: GetOrganizationApiKeyArgs, opts?: InvokeOptions): Promise<GetOrganizationApiKeyResult>
function getOrganizationApiKeyOutput(args: GetOrganizationApiKeyOutputArgs, opts?: InvokeOptions): Output<GetOrganizationApiKeyResult>
def get_organization_api_key(email_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationApiKeyResult
def get_organization_api_key_output(email_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationApiKeyResult]
func GetOrganizationApiKey(ctx *Context, args *GetOrganizationApiKeyArgs, opts ...InvokeOption) (*GetOrganizationApiKeyResult, error)
func GetOrganizationApiKeyOutput(ctx *Context, args *GetOrganizationApiKeyOutputArgs, opts ...InvokeOption) GetOrganizationApiKeyResultOutput
> Note: This function is named GetOrganizationApiKey
in the Go SDK.
public static class GetOrganizationApiKey
{
public static Task<GetOrganizationApiKeyResult> InvokeAsync(GetOrganizationApiKeyArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationApiKeyResult> Invoke(GetOrganizationApiKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrganizationApiKeyResult> getOrganizationApiKey(GetOrganizationApiKeyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:elastic:getOrganizationApiKey
arguments:
# arguments dictionary
The following arguments are supported:
- Email
Id string - The User email Id
- Email
Id string - The User email Id
- email
Id String - The User email Id
- email
Id string - The User email Id
- email_
id str - The User email Id
- email
Id String - The User email Id
getOrganizationApiKey Result
The following output properties are available:
Supporting Types
UserApiKeyResponsePropertiesResponse
- Api
Key string - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
- Api
Key string - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
- api
Key String - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
- api
Key string - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
- api_
key str - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
- api
Key String - The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0