1. Packages
  2. Azure Native
  3. API Docs
  4. azurestack
  5. getRegistrationActivationKey
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

azure-native.azurestack.getRegistrationActivationKey

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

    Returns Azure Stack Activation Key. 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>
    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]
    func GetRegistrationActivationKey(ctx *Context, args *GetRegistrationActivationKeyArgs, opts ...InvokeOption) (*GetRegistrationActivationKeyResult, error)
    func GetRegistrationActivationKeyOutput(ctx *Context, args *GetRegistrationActivationKeyOutputArgs, opts ...InvokeOption) GetRegistrationActivationKeyResultOutput

    > 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)
    }
    public static CompletableFuture<GetRegistrationActivationKeyResult> getRegistrationActivationKey(GetRegistrationActivationKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:azurestack:getRegistrationActivationKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistrationName string
    Name of the Azure Stack registration.
    ResourceGroup string
    Name of the resource group.
    RegistrationName string
    Name of the Azure Stack registration.
    ResourceGroup string
    Name of the resource group.
    registrationName String
    Name of the Azure Stack registration.
    resourceGroup String
    Name of the resource group.
    registrationName string
    Name of the Azure Stack registration.
    resourceGroup string
    Name of the resource group.
    registration_name str
    Name of the Azure Stack registration.
    resource_group str
    Name of the resource group.
    registrationName String
    Name of the Azure Stack registration.
    resourceGroup 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi