1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. getSqlMigrationService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.46.0 published on Friday, Jun 21, 2024 by Pulumi

azure-native.datamigration.getSqlMigrationService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.46.0 published on Friday, Jun 21, 2024 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>
    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

    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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.46.0 published on Friday, Jun 21, 2024 by Pulumi