azure-native.datamigration.getProject
Explore with Pulumi AI
The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project. Azure REST API version: 2021-06-30.
Other available API versions: 2017-11-15-preview, 2018-03-31-preview, 2021-10-30-preview, 2022-03-30-preview.
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:
- Group
Name string Name of the resource group
- Project
Name string Name of the project
- Service
Name string Name of the service
- Group
Name string Name of the resource group
- Project
Name string Name of the project
- Service
Name string Name of the service
- group
Name String Name of the resource group
- project
Name String Name of the project
- service
Name String Name of the service
- group
Name string Name of the resource group
- project
Name string Name of the project
- service
Name 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
- group
Name String Name of the resource group
- project
Name String Name of the project
- service
Name String Name of the service
getProject Result
The following output properties are available:
- Creation
Time string UTC Date and time when project was created
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- Provisioning
State string The project's provisioning state
- Source
Platform string Source platform for the project
- System
Data Pulumi.Azure Native. Data Migration. Outputs. System Data Response Metadata pertaining to creation and last modification of the resource.
- Target
Platform string Target platform for the project
- Type string
Resource type.
- Databases
Info List<Pulumi.Azure Native. Data Migration. Outputs. Database Info Response> List of DatabaseInfo
- Source
Connection Pulumi.Info Azure | Pulumi.Native. Data Migration. Outputs. Mi Sql Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Mongo Db Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. My Sql Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Oracle Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Postgre Sql Connection Info Response Azure Native. Data Migration. Outputs. Sql Connection Info Response Information for connecting to source
- Dictionary<string, string>
Resource tags.
- Target
Connection Pulumi.Info Azure | Pulumi.Native. Data Migration. Outputs. Mi Sql Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Mongo Db Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. My Sql Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Oracle Connection Info Response Azure | Pulumi.Native. Data Migration. Outputs. Postgre Sql Connection Info Response Azure Native. Data Migration. Outputs. Sql Connection Info Response Information for connecting to target
- Creation
Time string UTC Date and time when project was created
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- Provisioning
State string The project's provisioning state
- Source
Platform string Source platform for the project
- System
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- Target
Platform string Target platform for the project
- Type string
Resource type.
- Databases
Info []DatabaseInfo Response List of DatabaseInfo
- Source
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to source
- map[string]string
Resource tags.
- Target
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to target
- creation
Time String UTC Date and time when project was created
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String The project's provisioning state
- source
Platform String Source platform for the project
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- target
Platform String Target platform for the project
- type String
Resource type.
- databases
Info List<DatabaseInfo Response> List of DatabaseInfo
- source
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to source
- Map<String,String>
Resource tags.
- target
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to target
- creation
Time string UTC Date and time when project was created
- id string
Resource ID.
- location string
Resource location.
- name string
Resource name.
- provisioning
State string The project's provisioning state
- source
Platform string Source platform for the project
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- target
Platform string Target platform for the project
- type string
Resource type.
- databases
Info DatabaseInfo Response[] List of DatabaseInfo
- source
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to source
- {[key: string]: string}
Resource tags.
- target
Connection MiInfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response 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
- system_
data SystemData Response Metadata pertaining to creation and last modification of the resource.
- target_
platform str Target platform for the project
- type str
Resource type.
- databases_
info Sequence[DatabaseInfo Response] List of DatabaseInfo
- source_
connection_ Miinfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to source
- Mapping[str, str]
Resource tags.
- target_
connection_ Miinfo Sql | MongoConnection Info Response Db | MyConnection Info Response Sql | OracleConnection Info Response Connection | PostgreInfo Response Sql | SqlConnection Info Response Connection Info Response Information for connecting to target
- creation
Time String UTC Date and time when project was created
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String The project's provisioning state
- source
Platform String Source platform for the project
- system
Data Property Map Metadata pertaining to creation and last modification of the resource.
- target
Platform String Target platform for the project
- type String
Resource type.
- databases
Info List<Property Map> List of DatabaseInfo
- source
Connection Property Map | Property Map | Property Map | Property Map | Property Map | Property MapInfo Information for connecting to source
- Map<String>
Resource tags.
- target
Connection Property Map | Property Map | Property Map | Property Map | Property Map | Property MapInfo Information for connecting to target
Supporting Types
DatabaseInfoResponse
- Source
Database stringName Name of the database
- Source
Database stringName Name of the database
- source
Database StringName Name of the database
- source
Database stringName Name of the database
- source_
database_ strname Name of the database
- source
Database StringName Name of the database
MiSqlConnectionInfoResponse
- Managed
Instance stringResource Id Resource id for Azure SQL database Managed instance
- Password string
Password credential.
- User
Name string User name
- Managed
Instance stringResource Id Resource id for Azure SQL database Managed instance
- Password string
Password credential.
- User
Name string User name
- managed
Instance StringResource Id Resource id for Azure SQL database Managed instance
- password String
Password credential.
- user
Name String User name
- managed
Instance stringResource Id Resource id for Azure SQL database Managed instance
- password string
Password credential.
- user
Name string User name
- managed_
instance_ strresource_ id Resource id for Azure SQL database Managed instance
- password str
Password credential.
- user_
name str User name
- managed
Instance StringResource Id Resource id for Azure SQL database Managed instance
- password String
Password credential.
- user
Name String User name
MongoDbConnectionInfoResponse
- Connection
String string A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- Password string
Password credential.
- User
Name string User name
- Connection
String string A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- Password string
Password credential.
- User
Name string User name
- connection
String String A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- password String
Password credential.
- user
Name String User name
- connection
String string A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- password string
Password credential.
- user
Name string User name
- connection_
string str A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- password str
Password credential.
- user_
name str User name
- connection
String String A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties
- password String
Password credential.
- user
Name String User name
MySqlConnectionInfoResponse
- Port int
Port for Server
- Server
Name string Name of the server
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- User
Name string User name
- Port int
Port for Server
- Server
Name string Name of the server
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- User
Name string User name
- port Integer
Port for Server
- server
Name String Name of the server
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- user
Name String User name
- port number
Port for Server
- server
Name string Name of the server
- encrypt
Connection boolean Whether to encrypt the connection
- password string
Password credential.
- user
Name string User name
- port int
Port for Server
- server_
name str Name of the server
- encrypt_
connection bool Whether to encrypt the connection
- password str
Password credential.
- user_
name str User name
- port Number
Port for Server
- server
Name String Name of the server
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- user
Name String User name
OracleConnectionInfoResponse
- Data
Source string EZConnect or TNSName connection string.
- Password string
Password credential.
- User
Name string User name
- Data
Source string EZConnect or TNSName connection string.
- Password string
Password credential.
- User
Name string User name
- data
Source String EZConnect or TNSName connection string.
- password String
Password credential.
- user
Name String User name
- data
Source string EZConnect or TNSName connection string.
- password string
Password credential.
- user
Name string User name
- data_
source str EZConnect or TNSName connection string.
- password str
Password credential.
- user_
name str User name
- data
Source String EZConnect or TNSName connection string.
- password String
Password credential.
- user
Name String User name
PostgreSqlConnectionInfoResponse
- Port int
Port for Server
- Server
Name string Name of the server
- Database
Name string Name of the database
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- Trust
Server boolCertificate Whether to trust the server certificate
- User
Name string User name
- Port int
Port for Server
- Server
Name string Name of the server
- Database
Name string Name of the database
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- Trust
Server boolCertificate Whether to trust the server certificate
- User
Name string User name
- port Integer
Port for Server
- server
Name String Name of the server
- database
Name String Name of the database
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- trust
Server BooleanCertificate Whether to trust the server certificate
- user
Name String User name
- port number
Port for Server
- server
Name string Name of the server
- database
Name string Name of the database
- encrypt
Connection boolean Whether to encrypt the connection
- password string
Password credential.
- trust
Server booleanCertificate Whether to trust the server certificate
- user
Name string User name
- port int
Port for Server
- server_
name str Name of the server
- database_
name str Name of the database
- encrypt_
connection bool Whether to encrypt the connection
- password str
Password credential.
- trust_
server_ boolcertificate Whether to trust the server certificate
- user_
name str User name
- port Number
Port for Server
- server
Name String Name of the server
- database
Name String Name of the database
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- trust
Server BooleanCertificate Whether to trust the server certificate
- user
Name String User name
SqlConnectionInfoResponse
- Data
Source string Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- Additional
Settings string Additional connection settings
- Authentication string
Authentication type to use for connection
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- Platform string
Server platform type for connection
- Trust
Server boolCertificate Whether to trust the server certificate
- User
Name string User name
- Data
Source string Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- Additional
Settings string Additional connection settings
- Authentication string
Authentication type to use for connection
- Encrypt
Connection bool Whether to encrypt the connection
- Password string
Password credential.
- Platform string
Server platform type for connection
- Trust
Server boolCertificate Whether to trust the server certificate
- User
Name string User name
- data
Source String Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- additional
Settings String Additional connection settings
- authentication String
Authentication type to use for connection
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- platform String
Server platform type for connection
- trust
Server BooleanCertificate Whether to trust the server certificate
- user
Name String User name
- data
Source string Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- additional
Settings string Additional connection settings
- authentication string
Authentication type to use for connection
- encrypt
Connection boolean Whether to encrypt the connection
- password string
Password credential.
- platform string
Server platform type for connection
- trust
Server booleanCertificate Whether to trust the server certificate
- user
Name 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_ boolcertificate Whether to trust the server certificate
- user_
name str User name
- data
Source String Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber
- additional
Settings String Additional connection settings
- authentication String
Authentication type to use for connection
- encrypt
Connection Boolean Whether to encrypt the connection
- password String
Password credential.
- platform String
Server platform type for connection
- trust
Server BooleanCertificate Whether to trust the server certificate
- user
Name String User name
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type 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_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0