1. Packages
  2. Azure Native v1
  3. API Docs
  4. datamigration
  5. getProject
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.getProject

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

    The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project. API Version: 2018-04-19.

    Using getProject

    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 getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
    function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>
    def get_project(group_name: Optional[str] = None,
                    project_name: Optional[str] = None,
                    service_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetProjectResult
    def get_project_output(group_name: Optional[pulumi.Input[str]] = None,
                    project_name: Optional[pulumi.Input[str]] = None,
                    service_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]
    func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
    func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput

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

    public static class GetProject 
    {
        public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datamigration:getProject
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GroupName string
    Name of the resource group
    ProjectName string
    Name of the project
    ServiceName string
    Name of the service
    GroupName string
    Name of the resource group
    ProjectName string
    Name of the project
    ServiceName string
    Name of the service
    groupName String
    Name of the resource group
    projectName String
    Name of the project
    serviceName String
    Name of the service
    groupName string
    Name of the resource group
    projectName string
    Name of the project
    serviceName string
    Name of the service
    group_name str
    Name of the resource group
    project_name str
    Name of the project
    service_name str
    Name of the service
    groupName String
    Name of the resource group
    projectName String
    Name of the project
    serviceName String
    Name of the service

    getProject Result

    The following output properties are available:

    CreationTime string
    UTC Date and time when project was created
    Id string
    Resource ID.
    Location string
    Resource location.
    Name string
    Resource name.
    ProvisioningState string
    The project's provisioning state
    SourcePlatform string
    Source platform for the project
    TargetPlatform string
    Target platform for the project
    Type string
    Resource type.
    DatabasesInfo List<Pulumi.AzureNative.DataMigration.Outputs.DatabaseInfoResponse>
    List of DatabaseInfo
    SourceConnectionInfo Pulumi.AzureNative.DataMigration.Outputs.MiSqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.MySqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.PostgreSqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.SqlConnectionInfoResponse
    Information for connecting to source
    Tags Dictionary<string, string>
    Resource tags.
    TargetConnectionInfo Pulumi.AzureNative.DataMigration.Outputs.MiSqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.MySqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.PostgreSqlConnectionInfoResponse | Pulumi.AzureNative.DataMigration.Outputs.SqlConnectionInfoResponse
    Information for connecting to target
    CreationTime string
    UTC Date and time when project was created
    Id string
    Resource ID.
    Location string
    Resource location.
    Name string
    Resource name.
    ProvisioningState string
    The project's provisioning state
    SourcePlatform string
    Source platform for the project
    TargetPlatform string
    Target platform for the project
    Type string
    Resource type.
    DatabasesInfo []DatabaseInfoResponse
    List of DatabaseInfo
    SourceConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to source
    Tags map[string]string
    Resource tags.
    TargetConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to target
    creationTime String
    UTC Date and time when project was created
    id String
    Resource ID.
    location String
    Resource location.
    name String
    Resource name.
    provisioningState String
    The project's provisioning state
    sourcePlatform String
    Source platform for the project
    targetPlatform String
    Target platform for the project
    type String
    Resource type.
    databasesInfo List<DatabaseInfoResponse>
    List of DatabaseInfo
    sourceConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to source
    tags Map<String,String>
    Resource tags.
    targetConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to target
    creationTime string
    UTC Date and time when project was created
    id string
    Resource ID.
    location string
    Resource location.
    name string
    Resource name.
    provisioningState string
    The project's provisioning state
    sourcePlatform string
    Source platform for the project
    targetPlatform string
    Target platform for the project
    type string
    Resource type.
    databasesInfo DatabaseInfoResponse[]
    List of DatabaseInfo
    sourceConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to source
    tags {[key: string]: string}
    Resource tags.
    targetConnectionInfo MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to target
    creation_time str
    UTC Date and time when project was created
    id str
    Resource ID.
    location str
    Resource location.
    name str
    Resource name.
    provisioning_state str
    The project's provisioning state
    source_platform str
    Source platform for the project
    target_platform str
    Target platform for the project
    type str
    Resource type.
    databases_info Sequence[DatabaseInfoResponse]
    List of DatabaseInfo
    source_connection_info MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to source
    tags Mapping[str, str]
    Resource tags.
    target_connection_info MiSqlConnectionInfoResponse | MySqlConnectionInfoResponse | PostgreSqlConnectionInfoResponse | SqlConnectionInfoResponse
    Information for connecting to target
    creationTime String
    UTC Date and time when project was created
    id String
    Resource ID.
    location String
    Resource location.
    name String
    Resource name.
    provisioningState String
    The project's provisioning state
    sourcePlatform String
    Source platform for the project
    targetPlatform String
    Target platform for the project
    type String
    Resource type.
    databasesInfo List<Property Map>
    List of DatabaseInfo
    sourceConnectionInfo Property Map | Property Map | Property Map | Property Map
    Information for connecting to source
    tags Map<String>
    Resource tags.
    targetConnectionInfo Property Map | Property Map | Property Map | Property Map
    Information for connecting to target

    Supporting Types

    DatabaseInfoResponse

    SourceDatabaseName string
    Name of the database
    SourceDatabaseName string
    Name of the database
    sourceDatabaseName String
    Name of the database
    sourceDatabaseName string
    Name of the database
    source_database_name str
    Name of the database
    sourceDatabaseName String
    Name of the database

    MiSqlConnectionInfoResponse

    ManagedInstanceResourceId string
    Resource id for Azure SQL database Managed instance
    Password string
    Password credential.
    UserName string
    User name
    ManagedInstanceResourceId string
    Resource id for Azure SQL database Managed instance
    Password string
    Password credential.
    UserName string
    User name
    managedInstanceResourceId String
    Resource id for Azure SQL database Managed instance
    password String
    Password credential.
    userName String
    User name
    managedInstanceResourceId string
    Resource id for Azure SQL database Managed instance
    password string
    Password credential.
    userName string
    User name
    managed_instance_resource_id str
    Resource id for Azure SQL database Managed instance
    password str
    Password credential.
    user_name str
    User name
    managedInstanceResourceId String
    Resource id for Azure SQL database Managed instance
    password String
    Password credential.
    userName String
    User name

    MySqlConnectionInfoResponse

    Port int
    Port for Server
    ServerName string
    Name of the server
    Password string
    Password credential.
    UserName string
    User name
    Port int
    Port for Server
    ServerName string
    Name of the server
    Password string
    Password credential.
    UserName string
    User name
    port Integer
    Port for Server
    serverName String
    Name of the server
    password String
    Password credential.
    userName String
    User name
    port number
    Port for Server
    serverName string
    Name of the server
    password string
    Password credential.
    userName string
    User name
    port int
    Port for Server
    server_name str
    Name of the server
    password str
    Password credential.
    user_name str
    User name
    port Number
    Port for Server
    serverName String
    Name of the server
    password String
    Password credential.
    userName String
    User name

    PostgreSqlConnectionInfoResponse

    Port int
    Port for Server
    ServerName string
    Name of the server
    DatabaseName string
    Name of the database
    Password string
    Password credential.
    UserName string
    User name
    Port int
    Port for Server
    ServerName string
    Name of the server
    DatabaseName string
    Name of the database
    Password string
    Password credential.
    UserName string
    User name
    port Integer
    Port for Server
    serverName String
    Name of the server
    databaseName String
    Name of the database
    password String
    Password credential.
    userName String
    User name
    port number
    Port for Server
    serverName string
    Name of the server
    databaseName string
    Name of the database
    password string
    Password credential.
    userName string
    User name
    port int
    Port for Server
    server_name str
    Name of the server
    database_name str
    Name of the database
    password str
    Password credential.
    user_name str
    User name
    port Number
    Port for Server
    serverName String
    Name of the server
    databaseName String
    Name of the database
    password String
    Password credential.
    userName String
    User name

    SqlConnectionInfoResponse

    DataSource string
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    AdditionalSettings string
    Additional connection settings
    Authentication string
    Authentication type to use for connection
    EncryptConnection bool
    Whether to encrypt the connection
    Password string
    Password credential.
    Platform string
    Server platform type for connection
    TrustServerCertificate bool
    Whether to trust the server certificate
    UserName string
    User name
    DataSource string
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    AdditionalSettings string
    Additional connection settings
    Authentication string
    Authentication type to use for connection
    EncryptConnection bool
    Whether to encrypt the connection
    Password string
    Password credential.
    Platform string
    Server platform type for connection
    TrustServerCertificate bool
    Whether to trust the server certificate
    UserName string
    User name
    dataSource String
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    additionalSettings String
    Additional connection settings
    authentication String
    Authentication type to use for connection
    encryptConnection Boolean
    Whether to encrypt the connection
    password String
    Password credential.
    platform String
    Server platform type for connection
    trustServerCertificate Boolean
    Whether to trust the server certificate
    userName String
    User name
    dataSource string
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    additionalSettings string
    Additional connection settings
    authentication string
    Authentication type to use for connection
    encryptConnection boolean
    Whether to encrypt the connection
    password string
    Password credential.
    platform string
    Server platform type for connection
    trustServerCertificate boolean
    Whether to trust the server certificate
    userName string
    User name
    data_source str
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    additional_settings str
    Additional connection settings
    authentication str
    Authentication type to use for connection
    encrypt_connection bool
    Whether to encrypt the connection
    password str
    Password credential.
    platform str
    Server platform type for connection
    trust_server_certificate bool
    Whether to trust the server certificate
    user_name str
    User name
    dataSource String
    Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
    additionalSettings String
    Additional connection settings
    authentication String
    Authentication type to use for connection
    encryptConnection Boolean
    Whether to encrypt the connection
    password String
    Password credential.
    platform String
    Server platform type for connection
    trustServerCertificate Boolean
    Whether to trust the server certificate
    userName String
    User name

    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