1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. listSqlMigrationServiceAuthKeys
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.datamigration.listSqlMigrationServiceAuthKeys

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.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Retrieve the List of Authentication Keys for Self Hosted Integration Runtime. Azure REST API version: 2022-03-30-preview.

    Other available API versions: 2023-07-15-preview.

    Using listSqlMigrationServiceAuthKeys

    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 listSqlMigrationServiceAuthKeys(args: ListSqlMigrationServiceAuthKeysArgs, opts?: InvokeOptions): Promise<ListSqlMigrationServiceAuthKeysResult>
    function listSqlMigrationServiceAuthKeysOutput(args: ListSqlMigrationServiceAuthKeysOutputArgs, opts?: InvokeOptions): Output<ListSqlMigrationServiceAuthKeysResult>
    def list_sql_migration_service_auth_keys(resource_group_name: Optional[str] = None,
                                             sql_migration_service_name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> ListSqlMigrationServiceAuthKeysResult
    def list_sql_migration_service_auth_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                             sql_migration_service_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[ListSqlMigrationServiceAuthKeysResult]
    func ListSqlMigrationServiceAuthKeys(ctx *Context, args *ListSqlMigrationServiceAuthKeysArgs, opts ...InvokeOption) (*ListSqlMigrationServiceAuthKeysResult, error)
    func ListSqlMigrationServiceAuthKeysOutput(ctx *Context, args *ListSqlMigrationServiceAuthKeysOutputArgs, opts ...InvokeOption) ListSqlMigrationServiceAuthKeysResultOutput

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

    public static class ListSqlMigrationServiceAuthKeys 
    {
        public static Task<ListSqlMigrationServiceAuthKeysResult> InvokeAsync(ListSqlMigrationServiceAuthKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListSqlMigrationServiceAuthKeysResult> Invoke(ListSqlMigrationServiceAuthKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListSqlMigrationServiceAuthKeysResult> listSqlMigrationServiceAuthKeys(ListSqlMigrationServiceAuthKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datamigration:listSqlMigrationServiceAuthKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SqlMigrationServiceName string
    Name of the SQL Migration Service.
    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    SqlMigrationServiceName string
    Name of the SQL Migration Service.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlMigrationServiceName String
    Name of the SQL Migration Service.
    resourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlMigrationServiceName string
    Name of the SQL Migration Service.
    resource_group_name str
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sql_migration_service_name str
    Name of the SQL Migration Service.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    sqlMigrationServiceName String
    Name of the SQL Migration Service.

    listSqlMigrationServiceAuthKeys Result

    The following output properties are available:

    AuthKey1 string
    The first authentication key.
    AuthKey2 string
    The second authentication key.
    AuthKey1 string
    The first authentication key.
    AuthKey2 string
    The second authentication key.
    authKey1 String
    The first authentication key.
    authKey2 String
    The second authentication key.
    authKey1 string
    The first authentication key.
    authKey2 string
    The second authentication key.
    auth_key1 str
    The first authentication key.
    auth_key2 str
    The second authentication key.
    authKey1 String
    The first authentication key.
    authKey2 String
    The second authentication 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.37.0 published on Monday, Apr 15, 2024 by Pulumi