1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. getSqlMigrationService
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.datamigration.getSqlMigrationService

Explore with Pulumi AI

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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Retrieve the Database Migration Service

Uses Azure REST API version 2023-07-15-preview.

Other available API versions: 2021-10-30-preview, 2022-01-30-preview, 2022-03-30-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datamigration [ApiVersion]. See the version guide for details.

Using getSqlMigrationService

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 getSqlMigrationService(args: GetSqlMigrationServiceArgs, opts?: InvokeOptions): Promise<GetSqlMigrationServiceResult>
function getSqlMigrationServiceOutput(args: GetSqlMigrationServiceOutputArgs, opts?: InvokeOptions): Output<GetSqlMigrationServiceResult>
Copy
def get_sql_migration_service(resource_group_name: Optional[str] = None,
                              sql_migration_service_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSqlMigrationServiceResult
def get_sql_migration_service_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                              sql_migration_service_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSqlMigrationServiceResult]
Copy
func LookupSqlMigrationService(ctx *Context, args *LookupSqlMigrationServiceArgs, opts ...InvokeOption) (*LookupSqlMigrationServiceResult, error)
func LookupSqlMigrationServiceOutput(ctx *Context, args *LookupSqlMigrationServiceOutputArgs, opts ...InvokeOption) LookupSqlMigrationServiceResultOutput
Copy

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

public static class GetSqlMigrationService 
{
    public static Task<GetSqlMigrationServiceResult> InvokeAsync(GetSqlMigrationServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetSqlMigrationServiceResult> Invoke(GetSqlMigrationServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSqlMigrationServiceResult> getSqlMigrationService(GetSqlMigrationServiceArgs args, InvokeOptions options)
public static Output<GetSqlMigrationServiceResult> getSqlMigrationService(GetSqlMigrationServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datamigration:getSqlMigrationService
  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.

getSqlMigrationService Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
IntegrationRuntimeState string
Current state of the Integration runtime.
Name string
ProvisioningState string
Provisioning state to track the async operation status.
SystemData Pulumi.AzureNative.DataMigration.Outputs.SystemDataResponse
Type string
Location string
Tags Dictionary<string, string>
AzureApiVersion string
The Azure API version of the resource.
Id string
IntegrationRuntimeState string
Current state of the Integration runtime.
Name string
ProvisioningState string
Provisioning state to track the async operation status.
SystemData SystemDataResponse
Type string
Location string
Tags map[string]string
azureApiVersion String
The Azure API version of the resource.
id String
integrationRuntimeState String
Current state of the Integration runtime.
name String
provisioningState String
Provisioning state to track the async operation status.
systemData SystemDataResponse
type String
location String
tags Map<String,String>
azureApiVersion string
The Azure API version of the resource.
id string
integrationRuntimeState string
Current state of the Integration runtime.
name string
provisioningState string
Provisioning state to track the async operation status.
systemData SystemDataResponse
type string
location string
tags {[key: string]: string}
azure_api_version str
The Azure API version of the resource.
id str
integration_runtime_state str
Current state of the Integration runtime.
name str
provisioning_state str
Provisioning state to track the async operation status.
system_data SystemDataResponse
type str
location str
tags Mapping[str, str]
azureApiVersion String
The Azure API version of the resource.
id String
integrationRuntimeState String
Current state of the Integration runtime.
name String
provisioningState String
Provisioning state to track the async operation status.
systemData Property Map
type String
location String
tags Map<String>

Supporting Types

SystemDataResponse

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi