1. Packages
  2. Azure Native v1
  3. API Docs
  4. datamigration
  5. getSqlMigrationService
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.datamigration.getSqlMigrationService

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Retrieve the Migration Service. API Version: 2021-10-30-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>
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datamigration:getSqlMigrationService
      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.

    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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi