1. Packages
  2. Azure Native
  3. API Docs
  4. azurestack
  5. getRegistrationActivationKey
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.azurestack.getRegistrationActivationKey

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Returns Azure Stack Activation Key.

Uses Azure REST API version 2022-06-01.

Other available API versions: 2020-06-01-preview.

Using getRegistrationActivationKey

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 getRegistrationActivationKey(args: GetRegistrationActivationKeyArgs, opts?: InvokeOptions): Promise<GetRegistrationActivationKeyResult>
function getRegistrationActivationKeyOutput(args: GetRegistrationActivationKeyOutputArgs, opts?: InvokeOptions): Output<GetRegistrationActivationKeyResult>
Copy
def get_registration_activation_key(registration_name: Optional[str] = None,
                                    resource_group: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetRegistrationActivationKeyResult
def get_registration_activation_key_output(registration_name: Optional[pulumi.Input[str]] = None,
                                    resource_group: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetRegistrationActivationKeyResult]
Copy
func GetRegistrationActivationKey(ctx *Context, args *GetRegistrationActivationKeyArgs, opts ...InvokeOption) (*GetRegistrationActivationKeyResult, error)
func GetRegistrationActivationKeyOutput(ctx *Context, args *GetRegistrationActivationKeyOutputArgs, opts ...InvokeOption) GetRegistrationActivationKeyResultOutput
Copy

> Note: This function is named GetRegistrationActivationKey in the Go SDK.

public static class GetRegistrationActivationKey 
{
    public static Task<GetRegistrationActivationKeyResult> InvokeAsync(GetRegistrationActivationKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetRegistrationActivationKeyResult> Invoke(GetRegistrationActivationKeyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRegistrationActivationKeyResult> getRegistrationActivationKey(GetRegistrationActivationKeyArgs args, InvokeOptions options)
public static Output<GetRegistrationActivationKeyResult> getRegistrationActivationKey(GetRegistrationActivationKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:azurestack:getRegistrationActivationKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RegistrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
ResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
RegistrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
ResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
registrationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.
registrationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
registration_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Stack registration.
resource_group
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group.
registrationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Stack registration.
resourceGroup
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.

getRegistrationActivationKey Result

The following output properties are available:

ActivationKey string
Azure Stack activation key.
ActivationKey string
Azure Stack activation key.
activationKey String
Azure Stack activation key.
activationKey string
Azure Stack activation key.
activation_key str
Azure Stack activation key.
activationKey String
Azure Stack activation key.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi