1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getManagedInstanceKey
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.sql.getManagedInstanceKey

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Gets a managed instance key.

    Uses Azure REST API version 2023-08-01.

    Other available API versions: 2017-10-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview, 2021-05-01-preview, 2021-08-01-preview, 2021-11-01, 2021-11-01-preview, 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]. See the version guide for details.

    Using getManagedInstanceKey

    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 getManagedInstanceKey(args: GetManagedInstanceKeyArgs, opts?: InvokeOptions): Promise<GetManagedInstanceKeyResult>
    function getManagedInstanceKeyOutput(args: GetManagedInstanceKeyOutputArgs, opts?: InvokeOptions): Output<GetManagedInstanceKeyResult>
    def get_managed_instance_key(key_name: Optional[str] = None,
                                 managed_instance_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetManagedInstanceKeyResult
    def get_managed_instance_key_output(key_name: Optional[pulumi.Input[str]] = None,
                                 managed_instance_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetManagedInstanceKeyResult]
    func LookupManagedInstanceKey(ctx *Context, args *LookupManagedInstanceKeyArgs, opts ...InvokeOption) (*LookupManagedInstanceKeyResult, error)
    func LookupManagedInstanceKeyOutput(ctx *Context, args *LookupManagedInstanceKeyOutputArgs, opts ...InvokeOption) LookupManagedInstanceKeyResultOutput

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

    public static class GetManagedInstanceKey 
    {
        public static Task<GetManagedInstanceKeyResult> InvokeAsync(GetManagedInstanceKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedInstanceKeyResult> Invoke(GetManagedInstanceKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedInstanceKeyResult> getManagedInstanceKey(GetManagedInstanceKeyArgs args, InvokeOptions options)
    public static Output<GetManagedInstanceKeyResult> getManagedInstanceKey(GetManagedInstanceKeyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:sql:getManagedInstanceKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    KeyName string
    The name of the managed instance key to be retrieved.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    KeyName string
    The name of the managed instance key to be retrieved.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    keyName String
    The name of the managed instance key to be retrieved.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    keyName string
    The name of the managed instance key to be retrieved.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    key_name str
    The name of the managed instance key to be retrieved.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    keyName String
    The name of the managed instance key to be retrieved.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

    getManagedInstanceKey Result

    The following output properties are available:

    AutoRotationEnabled bool
    Key auto rotation opt-in flag. Either true or false.
    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The key creation date.
    Id string
    Resource ID.
    Kind string
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    Name string
    Resource name.
    Thumbprint string
    Thumbprint of the key.
    Type string
    Resource type.
    AutoRotationEnabled bool
    Key auto rotation opt-in flag. Either true or false.
    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The key creation date.
    Id string
    Resource ID.
    Kind string
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    Name string
    Resource name.
    Thumbprint string
    Thumbprint of the key.
    Type string
    Resource type.
    autoRotationEnabled Boolean
    Key auto rotation opt-in flag. Either true or false.
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The key creation date.
    id String
    Resource ID.
    kind String
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    name String
    Resource name.
    thumbprint String
    Thumbprint of the key.
    type String
    Resource type.
    autoRotationEnabled boolean
    Key auto rotation opt-in flag. Either true or false.
    azureApiVersion string
    The Azure API version of the resource.
    creationDate string
    The key creation date.
    id string
    Resource ID.
    kind string
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    name string
    Resource name.
    thumbprint string
    Thumbprint of the key.
    type string
    Resource type.
    auto_rotation_enabled bool
    Key auto rotation opt-in flag. Either true or false.
    azure_api_version str
    The Azure API version of the resource.
    creation_date str
    The key creation date.
    id str
    Resource ID.
    kind str
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    name str
    Resource name.
    thumbprint str
    Thumbprint of the key.
    type str
    Resource type.
    autoRotationEnabled Boolean
    Key auto rotation opt-in flag. Either true or false.
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The key creation date.
    id String
    Resource ID.
    kind String
    Kind of encryption protector. This is metadata used for the Azure portal experience.
    name String
    Resource name.
    thumbprint String
    Thumbprint of the key.
    type String
    Resource type.

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi