1. Packages
  2. Azure Native v1
  3. API Docs
  4. azurestack
  5. getRegistrationActivationKey
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.azurestack.getRegistrationActivationKey

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Returns Azure Stack Activation Key. API Version: 2017-06-01.

    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi