@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Returns Azure Stack Activation Key.
*
* Uses Azure REST API version 2022-06-01.
*
* Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getRegistrationActivationKey(args: GetRegistrationActivationKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistrationActivationKeyResult>;
export interface GetRegistrationActivationKeyArgs {
/**
* Name of the Azure Stack registration.
*/
registrationName: string;
/**
* Name of the resource group.
*/
resourceGroup: string;
}
/**
* The resource containing the Azure Stack activation key.
*/
export interface GetRegistrationActivationKeyResult {
/**
* Azure Stack activation key.
*/
readonly activationKey?: string;
}
/**
* Returns Azure Stack Activation Key.
*
* Uses Azure REST API version 2022-06-01.
*
* Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getRegistrationActivationKeyOutput(args: GetRegistrationActivationKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistrationActivationKeyResult>;
export interface GetRegistrationActivationKeyOutputArgs {
/**
* Name of the Azure Stack registration.
*/
registrationName: pulumi.Input<string>;
/**
* Name of the resource group.
*/
resourceGroup: pulumi.Input<string>;
}