1. Packages
  2. Azure Native v2
  3. API Docs
  4. datamigration
  5. listSqlMigrationServiceAuthKeys
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datamigration.listSqlMigrationServiceAuthKeys

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func ListSqlMigrationServiceAuthKeys(ctx *Context, args *ListSqlMigrationServiceAuthKeysArgs, opts ...InvokeOption) (*ListSqlMigrationServiceAuthKeysResult, error)
func ListSqlMigrationServiceAuthKeysOutput(ctx *Context, args *ListSqlMigrationServiceAuthKeysOutputArgs, opts ...InvokeOption) ListSqlMigrationServiceAuthKeysResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListSqlMigrationServiceAuthKeysResult> listSqlMigrationServiceAuthKeys(ListSqlMigrationServiceAuthKeysArgs args, InvokeOptions options)
public static Output<ListSqlMigrationServiceAuthKeysResult> listSqlMigrationServiceAuthKeys(ListSqlMigrationServiceAuthKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datamigration:listSqlMigrationServiceAuthKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Name of the SQL Migration Service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Name of the SQL Migration Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
Name of the SQL Migration Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Name of the SQL Migration Service.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
Name of the SQL Migration Service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi