azure-native.datamigration.getSqlMigrationService
Explore with Pulumi AI
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, 2025-03-15-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>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]func LookupSqlMigrationService(ctx *Context, args *LookupSqlMigrationServiceArgs, opts ...InvokeOption) (*LookupSqlMigrationServiceResult, error)
func LookupSqlMigrationServiceOutput(ctx *Context, args *LookupSqlMigrationServiceOutputArgs, opts ...InvokeOption) LookupSqlMigrationServiceResultOutput> 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)
}public static CompletableFuture<GetSqlMigrationServiceResult> getSqlMigrationService(GetSqlMigrationServiceArgs args, InvokeOptions options)
public static Output<GetSqlMigrationServiceResult> getSqlMigrationService(GetSqlMigrationServiceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:datamigration:getSqlMigrationService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - 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 stringService Name  - Name of the SQL Migration Service.
 
- Resource
Group stringName  - 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 stringService Name  - Name of the SQL Migration Service.
 
- resource
Group StringName  - 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 StringService Name  - Name of the SQL Migration Service.
 
- resource
Group stringName  - 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 stringService Name  - Name of the SQL Migration Service.
 
- resource_
group_ strname  - 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_ strservice_ name  - Name of the SQL Migration Service.
 
- resource
Group StringName  - 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 StringService Name  - Name of the SQL Migration Service.
 
getSqlMigrationService Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Integration
Runtime stringState  - Current state of the Integration runtime.
 - Name string
 - Provisioning
State string - Provisioning state to track the async operation status.
 - System
Data Pulumi.Azure Native. Data Migration. Outputs. System Data Response  - Type string
 - Location string
 - Dictionary<string, string>
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Integration
Runtime stringState  - Current state of the Integration runtime.
 - Name string
 - Provisioning
State string - Provisioning state to track the async operation status.
 - System
Data SystemData Response  - Type string
 - Location string
 - map[string]string
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - integration
Runtime StringState  - Current state of the Integration runtime.
 - name String
 - provisioning
State String - Provisioning state to track the async operation status.
 - system
Data SystemData Response  - type String
 - location String
 - Map<String,String>
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - integration
Runtime stringState  - Current state of the Integration runtime.
 - name string
 - provisioning
State string - Provisioning state to track the async operation status.
 - system
Data SystemData Response  - type string
 - location string
 - {[key: string]: string}
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - integration_
runtime_ strstate  - Current state of the Integration runtime.
 - name str
 - provisioning_
state str - Provisioning state to track the async operation status.
 - system_
data SystemData Response  - type str
 - location str
 - Mapping[str, str]
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - integration
Runtime StringState  - Current state of the Integration runtime.
 - name String
 - provisioning
State String - Provisioning state to track the async operation status.
 - system
Data Property Map - type String
 - location String
 - Map<String>
 
Supporting Types
SystemDataResponse  
- Created
At string - Created
By string - Created
By stringType  - Last
Modified stringAt  - Last
Modified stringBy  - Last
Modified stringBy Type  
- Created
At string - Created
By string - Created
By stringType  - Last
Modified stringAt  - Last
Modified stringBy  - Last
Modified stringBy Type  
- created
At String - created
By String - created
By StringType  - last
Modified StringAt  - last
Modified StringBy  - last
Modified StringBy Type  
- created
At string - created
By string - created
By stringType  - last
Modified stringAt  - last
Modified stringBy  - last
Modified stringBy Type  
- created_
at str - created_
by str - created_
by_ strtype  - last_
modified_ strat  - last_
modified_ strby  - last_
modified_ strby_ type  
- created
At String - created
By String - created
By StringType  - last
Modified StringAt  - last
Modified StringBy  - last
Modified StringBy Type  
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0