1. Packages
  2. Azure Native v2
  3. API Docs
  4. datamigration
  5. getSqlMigrationService
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.datamigration.getSqlMigrationService

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.82.0 published on Friday, Jan 10, 2025 by Pulumi

Retrieve the Database Migration Service Azure REST API version: 2022-03-30-preview.

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

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:

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>
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
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>
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}
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]
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

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

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.82.0 published on Friday, Jan 10, 2025 by Pulumi