oci.DatabaseMigration.Connection
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConnection = new oci.databasemigration.Connection("test_connection", {
compartmentId: compartmentId,
connectionType: connectionConnectionType,
displayName: connectionDisplayName,
keyId: testKey.id,
password: connectionPassword,
technologyType: connectionTechnologyType,
username: connectionUsername,
vaultId: testVault.id,
additionalAttributes: [{
name: connectionAdditionalAttributesName,
value: connectionAdditionalAttributesValue,
}],
connectionString: connectionConnectionString,
databaseId: testDatabase.id,
databaseName: testDatabase.name,
dbSystemId: testDbSystem.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: connectionDescription,
freeformTags: connectionFreeformTags,
host: connectionHost,
nsgIds: connectionNsgIds,
port: connectionPort,
replicationPassword: connectionReplicationPassword,
replicationUsername: connectionReplicationUsername,
securityProtocol: connectionSecurityProtocol,
sshHost: connectionSshHost,
sshKey: connectionSshKey,
sshSudoLocation: connectionSshSudoLocation,
sshUser: connectionSshUser,
sslCa: connectionSslCa,
sslCert: connectionSslCert,
sslCrl: connectionSslCrl,
sslKey: connectionSslKey,
sslMode: connectionSslMode,
subnetId: testSubnet.id,
wallet: connectionWallet,
});
import pulumi
import pulumi_oci as oci
test_connection = oci.database_migration.Connection("test_connection",
compartment_id=compartment_id,
connection_type=connection_connection_type,
display_name=connection_display_name,
key_id=test_key["id"],
password=connection_password,
technology_type=connection_technology_type,
username=connection_username,
vault_id=test_vault["id"],
additional_attributes=[{
"name": connection_additional_attributes_name,
"value": connection_additional_attributes_value,
}],
connection_string=connection_connection_string,
database_id=test_database["id"],
database_name=test_database["name"],
db_system_id=test_db_system["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=connection_description,
freeform_tags=connection_freeform_tags,
host=connection_host,
nsg_ids=connection_nsg_ids,
port=connection_port,
replication_password=connection_replication_password,
replication_username=connection_replication_username,
security_protocol=connection_security_protocol,
ssh_host=connection_ssh_host,
ssh_key=connection_ssh_key,
ssh_sudo_location=connection_ssh_sudo_location,
ssh_user=connection_ssh_user,
ssl_ca=connection_ssl_ca,
ssl_cert=connection_ssl_cert,
ssl_crl=connection_ssl_crl,
ssl_key=connection_ssl_key,
ssl_mode=connection_ssl_mode,
subnet_id=test_subnet["id"],
wallet=connection_wallet)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseMigration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseMigration.NewConnection(ctx, "test_connection", &DatabaseMigration.ConnectionArgs{
CompartmentId: pulumi.Any(compartmentId),
ConnectionType: pulumi.Any(connectionConnectionType),
DisplayName: pulumi.Any(connectionDisplayName),
KeyId: pulumi.Any(testKey.Id),
Password: pulumi.Any(connectionPassword),
TechnologyType: pulumi.Any(connectionTechnologyType),
Username: pulumi.Any(connectionUsername),
VaultId: pulumi.Any(testVault.Id),
AdditionalAttributes: databasemigration.ConnectionAdditionalAttributeArray{
&databasemigration.ConnectionAdditionalAttributeArgs{
Name: pulumi.Any(connectionAdditionalAttributesName),
Value: pulumi.Any(connectionAdditionalAttributesValue),
},
},
ConnectionString: pulumi.Any(connectionConnectionString),
DatabaseId: pulumi.Any(testDatabase.Id),
DatabaseName: pulumi.Any(testDatabase.Name),
DbSystemId: pulumi.Any(testDbSystem.Id),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(connectionDescription),
FreeformTags: pulumi.Any(connectionFreeformTags),
Host: pulumi.Any(connectionHost),
NsgIds: pulumi.Any(connectionNsgIds),
Port: pulumi.Any(connectionPort),
ReplicationPassword: pulumi.Any(connectionReplicationPassword),
ReplicationUsername: pulumi.Any(connectionReplicationUsername),
SecurityProtocol: pulumi.Any(connectionSecurityProtocol),
SshHost: pulumi.Any(connectionSshHost),
SshKey: pulumi.Any(connectionSshKey),
SshSudoLocation: pulumi.Any(connectionSshSudoLocation),
SshUser: pulumi.Any(connectionSshUser),
SslCa: pulumi.Any(connectionSslCa),
SslCert: pulumi.Any(connectionSslCert),
SslCrl: pulumi.Any(connectionSslCrl),
SslKey: pulumi.Any(connectionSslKey),
SslMode: pulumi.Any(connectionSslMode),
SubnetId: pulumi.Any(testSubnet.Id),
Wallet: pulumi.Any(connectionWallet),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testConnection = new Oci.DatabaseMigration.Connection("test_connection", new()
{
CompartmentId = compartmentId,
ConnectionType = connectionConnectionType,
DisplayName = connectionDisplayName,
KeyId = testKey.Id,
Password = connectionPassword,
TechnologyType = connectionTechnologyType,
Username = connectionUsername,
VaultId = testVault.Id,
AdditionalAttributes = new[]
{
new Oci.DatabaseMigration.Inputs.ConnectionAdditionalAttributeArgs
{
Name = connectionAdditionalAttributesName,
Value = connectionAdditionalAttributesValue,
},
},
ConnectionString = connectionConnectionString,
DatabaseId = testDatabase.Id,
DatabaseName = testDatabase.Name,
DbSystemId = testDbSystem.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = connectionDescription,
FreeformTags = connectionFreeformTags,
Host = connectionHost,
NsgIds = connectionNsgIds,
Port = connectionPort,
ReplicationPassword = connectionReplicationPassword,
ReplicationUsername = connectionReplicationUsername,
SecurityProtocol = connectionSecurityProtocol,
SshHost = connectionSshHost,
SshKey = connectionSshKey,
SshSudoLocation = connectionSshSudoLocation,
SshUser = connectionSshUser,
SslCa = connectionSslCa,
SslCert = connectionSslCert,
SslCrl = connectionSslCrl,
SslKey = connectionSslKey,
SslMode = connectionSslMode,
SubnetId = testSubnet.Id,
Wallet = connectionWallet,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseMigration.Connection;
import com.pulumi.oci.DatabaseMigration.ConnectionArgs;
import com.pulumi.oci.DatabaseMigration.inputs.ConnectionAdditionalAttributeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testConnection = new Connection("testConnection", ConnectionArgs.builder()
.compartmentId(compartmentId)
.connectionType(connectionConnectionType)
.displayName(connectionDisplayName)
.keyId(testKey.id())
.password(connectionPassword)
.technologyType(connectionTechnologyType)
.username(connectionUsername)
.vaultId(testVault.id())
.additionalAttributes(ConnectionAdditionalAttributeArgs.builder()
.name(connectionAdditionalAttributesName)
.value(connectionAdditionalAttributesValue)
.build())
.connectionString(connectionConnectionString)
.databaseId(testDatabase.id())
.databaseName(testDatabase.name())
.dbSystemId(testDbSystem.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(connectionDescription)
.freeformTags(connectionFreeformTags)
.host(connectionHost)
.nsgIds(connectionNsgIds)
.port(connectionPort)
.replicationPassword(connectionReplicationPassword)
.replicationUsername(connectionReplicationUsername)
.securityProtocol(connectionSecurityProtocol)
.sshHost(connectionSshHost)
.sshKey(connectionSshKey)
.sshSudoLocation(connectionSshSudoLocation)
.sshUser(connectionSshUser)
.sslCa(connectionSslCa)
.sslCert(connectionSslCert)
.sslCrl(connectionSslCrl)
.sslKey(connectionSslKey)
.sslMode(connectionSslMode)
.subnetId(testSubnet.id())
.wallet(connectionWallet)
.build());
}
}
resources:
testConnection:
type: oci:DatabaseMigration:Connection
name: test_connection
properties:
compartmentId: ${compartmentId}
connectionType: ${connectionConnectionType}
displayName: ${connectionDisplayName}
keyId: ${testKey.id}
password: ${connectionPassword}
technologyType: ${connectionTechnologyType}
username: ${connectionUsername}
vaultId: ${testVault.id}
additionalAttributes:
- name: ${connectionAdditionalAttributesName}
value: ${connectionAdditionalAttributesValue}
connectionString: ${connectionConnectionString}
databaseId: ${testDatabase.id}
databaseName: ${testDatabase.name}
dbSystemId: ${testDbSystem.id}
definedTags:
foo-namespace.bar-key: value
description: ${connectionDescription}
freeformTags: ${connectionFreeformTags}
host: ${connectionHost}
nsgIds: ${connectionNsgIds}
port: ${connectionPort}
replicationPassword: ${connectionReplicationPassword}
replicationUsername: ${connectionReplicationUsername}
securityProtocol: ${connectionSecurityProtocol}
sshHost: ${connectionSshHost}
sshKey: ${connectionSshKey}
sshSudoLocation: ${connectionSshSudoLocation}
sshUser: ${connectionSshUser}
sslCa: ${connectionSslCa}
sslCert: ${connectionSslCert}
sslCrl: ${connectionSslCrl}
sslKey: ${connectionSslKey}
sslMode: ${connectionSslMode}
subnetId: ${testSubnet.id}
wallet: ${connectionWallet}
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);
@overload
def Connection(resource_name: str,
args: ConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
compartment_id: Optional[str] = None,
vault_id: Optional[str] = None,
connection_type: Optional[str] = None,
username: Optional[str] = None,
technology_type: Optional[str] = None,
password: Optional[str] = None,
key_id: Optional[str] = None,
replication_password: Optional[str] = None,
ssh_sudo_location: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
host: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
nsg_ids: Optional[Sequence[str]] = None,
db_system_id: Optional[str] = None,
port: Optional[int] = None,
additional_attributes: Optional[Sequence[_databasemigration.ConnectionAdditionalAttributeArgs]] = None,
replication_username: Optional[str] = None,
security_protocol: Optional[str] = None,
ssh_host: Optional[str] = None,
ssh_key: Optional[str] = None,
description: Optional[str] = None,
ssh_user: Optional[str] = None,
ssl_ca: Optional[str] = None,
ssl_cert: Optional[str] = None,
ssl_crl: Optional[str] = None,
ssl_key: Optional[str] = None,
ssl_mode: Optional[str] = None,
subnet_id: Optional[str] = None,
database_name: Optional[str] = None,
database_id: Optional[str] = None,
connection_string: Optional[str] = None,
wallet: Optional[str] = None)
func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)
public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: oci:DatabaseMigration:Connection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociConnectionResource = new Oci.DatabaseMigration.Connection("ociConnectionResource", new()
{
DisplayName = "string",
CompartmentId = "string",
VaultId = "string",
ConnectionType = "string",
Username = "string",
TechnologyType = "string",
Password = "string",
KeyId = "string",
ReplicationPassword = "string",
SshSudoLocation = "string",
FreeformTags =
{
{ "string", "string" },
},
Host = "string",
DefinedTags =
{
{ "string", "string" },
},
NsgIds = new[]
{
"string",
},
DbSystemId = "string",
Port = 0,
AdditionalAttributes = new[]
{
new Oci.DatabaseMigration.Inputs.ConnectionAdditionalAttributeArgs
{
Name = "string",
Value = "string",
},
},
ReplicationUsername = "string",
SecurityProtocol = "string",
SshHost = "string",
SshKey = "string",
Description = "string",
SshUser = "string",
SslCa = "string",
SslCert = "string",
SslCrl = "string",
SslKey = "string",
SslMode = "string",
SubnetId = "string",
DatabaseName = "string",
DatabaseId = "string",
ConnectionString = "string",
Wallet = "string",
});
example, err := DatabaseMigration.NewConnection(ctx, "ociConnectionResource", &DatabaseMigration.ConnectionArgs{
DisplayName: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
VaultId: pulumi.String("string"),
ConnectionType: pulumi.String("string"),
Username: pulumi.String("string"),
TechnologyType: pulumi.String("string"),
Password: pulumi.String("string"),
KeyId: pulumi.String("string"),
ReplicationPassword: pulumi.String("string"),
SshSudoLocation: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Host: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
DbSystemId: pulumi.String("string"),
Port: pulumi.Int(0),
AdditionalAttributes: databasemigration.ConnectionAdditionalAttributeArray{
&databasemigration.ConnectionAdditionalAttributeArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ReplicationUsername: pulumi.String("string"),
SecurityProtocol: pulumi.String("string"),
SshHost: pulumi.String("string"),
SshKey: pulumi.String("string"),
Description: pulumi.String("string"),
SshUser: pulumi.String("string"),
SslCa: pulumi.String("string"),
SslCert: pulumi.String("string"),
SslCrl: pulumi.String("string"),
SslKey: pulumi.String("string"),
SslMode: pulumi.String("string"),
SubnetId: pulumi.String("string"),
DatabaseName: pulumi.String("string"),
DatabaseId: pulumi.String("string"),
ConnectionString: pulumi.String("string"),
Wallet: pulumi.String("string"),
})
var ociConnectionResource = new Connection("ociConnectionResource", ConnectionArgs.builder()
.displayName("string")
.compartmentId("string")
.vaultId("string")
.connectionType("string")
.username("string")
.technologyType("string")
.password("string")
.keyId("string")
.replicationPassword("string")
.sshSudoLocation("string")
.freeformTags(Map.of("string", "string"))
.host("string")
.definedTags(Map.of("string", "string"))
.nsgIds("string")
.dbSystemId("string")
.port(0)
.additionalAttributes(ConnectionAdditionalAttributeArgs.builder()
.name("string")
.value("string")
.build())
.replicationUsername("string")
.securityProtocol("string")
.sshHost("string")
.sshKey("string")
.description("string")
.sshUser("string")
.sslCa("string")
.sslCert("string")
.sslCrl("string")
.sslKey("string")
.sslMode("string")
.subnetId("string")
.databaseName("string")
.databaseId("string")
.connectionString("string")
.wallet("string")
.build());
oci_connection_resource = oci.database_migration.Connection("ociConnectionResource",
display_name="string",
compartment_id="string",
vault_id="string",
connection_type="string",
username="string",
technology_type="string",
password="string",
key_id="string",
replication_password="string",
ssh_sudo_location="string",
freeform_tags={
"string": "string",
},
host="string",
defined_tags={
"string": "string",
},
nsg_ids=["string"],
db_system_id="string",
port=0,
additional_attributes=[{
"name": "string",
"value": "string",
}],
replication_username="string",
security_protocol="string",
ssh_host="string",
ssh_key="string",
description="string",
ssh_user="string",
ssl_ca="string",
ssl_cert="string",
ssl_crl="string",
ssl_key="string",
ssl_mode="string",
subnet_id="string",
database_name="string",
database_id="string",
connection_string="string",
wallet="string")
const ociConnectionResource = new oci.databasemigration.Connection("ociConnectionResource", {
displayName: "string",
compartmentId: "string",
vaultId: "string",
connectionType: "string",
username: "string",
technologyType: "string",
password: "string",
keyId: "string",
replicationPassword: "string",
sshSudoLocation: "string",
freeformTags: {
string: "string",
},
host: "string",
definedTags: {
string: "string",
},
nsgIds: ["string"],
dbSystemId: "string",
port: 0,
additionalAttributes: [{
name: "string",
value: "string",
}],
replicationUsername: "string",
securityProtocol: "string",
sshHost: "string",
sshKey: "string",
description: "string",
sshUser: "string",
sslCa: "string",
sslCert: "string",
sslCrl: "string",
sslKey: "string",
sslMode: "string",
subnetId: "string",
databaseName: "string",
databaseId: "string",
connectionString: "string",
wallet: "string",
});
type: oci:DatabaseMigration:Connection
properties:
additionalAttributes:
- name: string
value: string
compartmentId: string
connectionString: string
connectionType: string
databaseId: string
databaseName: string
dbSystemId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
host: string
keyId: string
nsgIds:
- string
password: string
port: 0
replicationPassword: string
replicationUsername: string
securityProtocol: string
sshHost: string
sshKey: string
sshSudoLocation: string
sshUser: string
sslCa: string
sslCert: string
sslCrl: string
sslKey: string
sslMode: string
subnetId: string
technologyType: string
username: string
vaultId: string
wallet: string
Connection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Connection resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- Password string
- (Updatable) The password (credential) used when creating or updating this resource.
- Technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- Username string
- (Updatable) The username (credential) used when creating or updating this resource.
- Vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Additional
Attributes List<ConnectionAdditional Attribute> - (Updatable) An array of name-value pair attribute entries.
- Connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- Database
Id string - (Updatable) The OCID of the database being referenced.
- Database
Name string - (Updatable) The name of the database being referenced.
- Db
System stringId - (Updatable) The OCID of the database system being referenced.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Host string
- (Updatable) The IP Address of the host.
- Nsg
Ids List<string> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- Port int
- (Updatable) The port to be used for the connection.
- Replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- Replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- Security
Protocol string - (Updatable) Security Type for MySQL.
- Ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- Ssh
Key string - (Updatable) Private SSH key string.
- Ssh
Sudo stringLocation - (Updatable) Sudo location
- Ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- Ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- Ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- Ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- Ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- Ssl
Mode string - (Updatable) SSL modes for MySQL.
- Subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- Password string
- (Updatable) The password (credential) used when creating or updating this resource.
- Technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- Username string
- (Updatable) The username (credential) used when creating or updating this resource.
- Vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Additional
Attributes []ConnectionAdditional Attribute Args - (Updatable) An array of name-value pair attribute entries.
- Connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- Database
Id string - (Updatable) The OCID of the database being referenced.
- Database
Name string - (Updatable) The name of the database being referenced.
- Db
System stringId - (Updatable) The OCID of the database system being referenced.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Host string
- (Updatable) The IP Address of the host.
- Nsg
Ids []string - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- Port int
- (Updatable) The port to be used for the connection.
- Replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- Replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- Security
Protocol string - (Updatable) Security Type for MySQL.
- Ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- Ssh
Key string - (Updatable) Private SSH key string.
- Ssh
Sudo stringLocation - (Updatable) Sudo location
- Ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- Ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- Ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- Ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- Ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- Ssl
Mode string - (Updatable) SSL modes for MySQL.
- Subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
Type String - (Updatable) Defines the type of connection. For example, ORACLE.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- key
Id String - (Updatable) The OCID of the key used in cryptographic operations.
- password String
- (Updatable) The password (credential) used when creating or updating this resource.
- technology
Type String - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- username String
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- additional
Attributes List<ConnectionAdditional Attribute> - (Updatable) An array of name-value pair attribute entries.
- connection
String String - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- database
Id String - (Updatable) The OCID of the database being referenced.
- database
Name String - (Updatable) The name of the database being referenced.
- db
System StringId - (Updatable) The OCID of the database system being referenced.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host String
- (Updatable) The IP Address of the host.
- nsg
Ids List<String> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- port Integer
- (Updatable) The port to be used for the connection.
- replication
Password String - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username String - (Updatable) The username (credential) used when creating or updating this resource.
- security
Protocol String - (Updatable) Security Type for MySQL.
- ssh
Host String - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key String - (Updatable) Private SSH key string.
- ssh
Sudo StringLocation - (Updatable) Sudo location
- ssh
User String - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca String - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert String - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl String - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key String - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode String - (Updatable) SSL modes for MySQL.
- subnet
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet String
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment.
- connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- password string
- (Updatable) The password (credential) used when creating or updating this resource.
- technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- username string
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- additional
Attributes ConnectionAdditional Attribute[] - (Updatable) An array of name-value pair attribute entries.
- connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- database
Id string - (Updatable) The OCID of the database being referenced.
- database
Name string - (Updatable) The name of the database being referenced.
- db
System stringId - (Updatable) The OCID of the database system being referenced.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host string
- (Updatable) The IP Address of the host.
- nsg
Ids string[] - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- port number
- (Updatable) The port to be used for the connection.
- replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- security
Protocol string - (Updatable) Security Type for MySQL.
- ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key string - (Updatable) Private SSH key string.
- ssh
Sudo stringLocation - (Updatable) Sudo location
- ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode string - (Updatable) SSL modes for MySQL.
- subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment.
- connection_
type str - (Updatable) Defines the type of connection. For example, ORACLE.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- key_
id str - (Updatable) The OCID of the key used in cryptographic operations.
- password str
- (Updatable) The password (credential) used when creating or updating this resource.
- technology_
type str - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- username str
- (Updatable) The username (credential) used when creating or updating this resource.
- vault_
id str - (Updatable) Oracle Cloud Infrastructure resource ID.
- additional_
attributes Sequence[databasemigration.Connection Additional Attribute Args] - (Updatable) An array of name-value pair attribute entries.
- connection_
string str - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- database_
id str - (Updatable) The OCID of the database being referenced.
- database_
name str - (Updatable) The name of the database being referenced.
- db_
system_ strid - (Updatable) The OCID of the database system being referenced.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host str
- (Updatable) The IP Address of the host.
- nsg_
ids Sequence[str] - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- port int
- (Updatable) The port to be used for the connection.
- replication_
password str - (Updatable) The password (credential) used when creating or updating this resource.
- replication_
username str - (Updatable) The username (credential) used when creating or updating this resource.
- security_
protocol str - (Updatable) Security Type for MySQL.
- ssh_
host str - (Updatable) Name of the host the SSH key is valid for.
- ssh_
key str - (Updatable) Private SSH key string.
- ssh_
sudo_ strlocation - (Updatable) Sudo location
- ssh_
user str - (Updatable) The username (credential) used when creating or updating this resource.
- ssl_
ca str - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl_
cert str - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl_
crl str - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl_
key str - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl_
mode str - (Updatable) SSL modes for MySQL.
- subnet_
id str - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet str
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
Type String - (Updatable) Defines the type of connection. For example, ORACLE.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- key
Id String - (Updatable) The OCID of the key used in cryptographic operations.
- password String
- (Updatable) The password (credential) used when creating or updating this resource.
- technology
Type String - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- username String
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- additional
Attributes List<Property Map> - (Updatable) An array of name-value pair attribute entries.
- connection
String String - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- database
Id String - (Updatable) The OCID of the database being referenced.
- database
Name String - (Updatable) The name of the database being referenced.
- db
System StringId - (Updatable) The OCID of the database system being referenced.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host String
- (Updatable) The IP Address of the host.
- nsg
Ids List<String> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- port Number
- (Updatable) The port to be used for the connection.
- replication
Password String - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username String - (Updatable) The username (credential) used when creating or updating this resource.
- security
Protocol String - (Updatable) Security Type for MySQL.
- ssh
Host String - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key String - (Updatable) Private SSH key string.
- ssh
Sudo StringLocation - (Updatable) Sudo location
- ssh
User String - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca String - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert String - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl String - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key String - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode String - (Updatable) SSL modes for MySQL.
- subnet
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet String
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Ips List<ConnectionIngress Ip> - List of ingress IP addresses from where to connect to this connection's privateIp.
- Lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- Private
Endpoint stringId - The OCID of the resource being referenced.
- Secret
Id string - The OCID of the resource being referenced.
- State string
- The Connection's current lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Ips []ConnectionIngress Ip - List of ingress IP addresses from where to connect to this connection's privateIp.
- Lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- Private
Endpoint stringId - The OCID of the resource being referenced.
- Secret
Id string - The OCID of the resource being referenced.
- State string
- The Connection's current lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Ips List<ConnectionIngress Ip> - List of ingress IP addresses from where to connect to this connection's privateIp.
- lifecycle
Details String - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- private
Endpoint StringId - The OCID of the resource being referenced.
- secret
Id String - The OCID of the resource being referenced.
- state String
- The Connection's current lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
- id string
- The provider-assigned unique ID for this managed resource.
- ingress
Ips ConnectionIngress Ip[] - List of ingress IP addresses from where to connect to this connection's privateIp.
- lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- private
Endpoint stringId - The OCID of the resource being referenced.
- secret
Id string - The OCID of the resource being referenced.
- state string
- The Connection's current lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
- id str
- The provider-assigned unique ID for this managed resource.
- ingress_
ips Sequence[databasemigration.Connection Ingress Ip] - List of ingress IP addresses from where to connect to this connection's privateIp.
- lifecycle_
details str - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- private_
endpoint_ strid - The OCID of the resource being referenced.
- secret_
id str - The OCID of the resource being referenced.
- state str
- The Connection's current lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time_
updated str - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Ips List<Property Map> - List of ingress IP addresses from where to connect to this connection's privateIp.
- lifecycle
Details String - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- private
Endpoint StringId - The OCID of the resource being referenced.
- secret
Id String - The OCID of the resource being referenced.
- state String
- The Connection's current lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
.
Look up Existing Connection Resource
Get an existing Connection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectionState, opts?: CustomResourceOptions): Connection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_attributes: Optional[Sequence[_databasemigration.ConnectionAdditionalAttributeArgs]] = None,
compartment_id: Optional[str] = None,
connection_string: Optional[str] = None,
connection_type: Optional[str] = None,
database_id: Optional[str] = None,
database_name: Optional[str] = None,
db_system_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
host: Optional[str] = None,
ingress_ips: Optional[Sequence[_databasemigration.ConnectionIngressIpArgs]] = None,
key_id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
nsg_ids: Optional[Sequence[str]] = None,
password: Optional[str] = None,
port: Optional[int] = None,
private_endpoint_id: Optional[str] = None,
replication_password: Optional[str] = None,
replication_username: Optional[str] = None,
secret_id: Optional[str] = None,
security_protocol: Optional[str] = None,
ssh_host: Optional[str] = None,
ssh_key: Optional[str] = None,
ssh_sudo_location: Optional[str] = None,
ssh_user: Optional[str] = None,
ssl_ca: Optional[str] = None,
ssl_cert: Optional[str] = None,
ssl_crl: Optional[str] = None,
ssl_key: Optional[str] = None,
ssl_mode: Optional[str] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
technology_type: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
username: Optional[str] = None,
vault_id: Optional[str] = None,
wallet: Optional[str] = None) -> Connection
func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)
public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)
public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Additional
Attributes List<ConnectionAdditional Attribute> - (Updatable) An array of name-value pair attribute entries.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- Connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- Database
Id string - (Updatable) The OCID of the database being referenced.
- Database
Name string - (Updatable) The name of the database being referenced.
- Db
System stringId - (Updatable) The OCID of the database system being referenced.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Host string
- (Updatable) The IP Address of the host.
- Ingress
Ips List<ConnectionIngress Ip> - List of ingress IP addresses from where to connect to this connection's privateIp.
- Key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- Lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- Nsg
Ids List<string> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- Password string
- (Updatable) The password (credential) used when creating or updating this resource.
- Port int
- (Updatable) The port to be used for the connection.
- Private
Endpoint stringId - The OCID of the resource being referenced.
- Replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- Replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- Secret
Id string - The OCID of the resource being referenced.
- Security
Protocol string - (Updatable) Security Type for MySQL.
- Ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- Ssh
Key string - (Updatable) Private SSH key string.
- Ssh
Sudo stringLocation - (Updatable) Sudo location
- Ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- Ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- Ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- Ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- Ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- Ssl
Mode string - (Updatable) SSL modes for MySQL.
- State string
- The Connection's current lifecycle state.
- Subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- Time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Username string
- (Updatable) The username (credential) used when creating or updating this resource.
- Vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Additional
Attributes []ConnectionAdditional Attribute Args - (Updatable) An array of name-value pair attribute entries.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- Connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- Database
Id string - (Updatable) The OCID of the database being referenced.
- Database
Name string - (Updatable) The name of the database being referenced.
- Db
System stringId - (Updatable) The OCID of the database system being referenced.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Host string
- (Updatable) The IP Address of the host.
- Ingress
Ips []ConnectionIngress Ip Args - List of ingress IP addresses from where to connect to this connection's privateIp.
- Key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- Lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- Nsg
Ids []string - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- Password string
- (Updatable) The password (credential) used when creating or updating this resource.
- Port int
- (Updatable) The port to be used for the connection.
- Private
Endpoint stringId - The OCID of the resource being referenced.
- Replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- Replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- Secret
Id string - The OCID of the resource being referenced.
- Security
Protocol string - (Updatable) Security Type for MySQL.
- Ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- Ssh
Key string - (Updatable) Private SSH key string.
- Ssh
Sudo stringLocation - (Updatable) Sudo location
- Ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- Ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- Ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- Ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- Ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- Ssl
Mode string - (Updatable) SSL modes for MySQL.
- State string
- The Connection's current lifecycle state.
- Subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- Time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - Username string
- (Updatable) The username (credential) used when creating or updating this resource.
- Vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- Wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- additional
Attributes List<ConnectionAdditional Attribute> - (Updatable) An array of name-value pair attribute entries.
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
String String - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- connection
Type String - (Updatable) Defines the type of connection. For example, ORACLE.
- database
Id String - (Updatable) The OCID of the database being referenced.
- database
Name String - (Updatable) The name of the database being referenced.
- db
System StringId - (Updatable) The OCID of the database system being referenced.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host String
- (Updatable) The IP Address of the host.
- ingress
Ips List<ConnectionIngress Ip> - List of ingress IP addresses from where to connect to this connection's privateIp.
- key
Id String - (Updatable) The OCID of the key used in cryptographic operations.
- lifecycle
Details String - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- nsg
Ids List<String> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- password String
- (Updatable) The password (credential) used when creating or updating this resource.
- port Integer
- (Updatable) The port to be used for the connection.
- private
Endpoint StringId - The OCID of the resource being referenced.
- replication
Password String - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username String - (Updatable) The username (credential) used when creating or updating this resource.
- secret
Id String - The OCID of the resource being referenced.
- security
Protocol String - (Updatable) Security Type for MySQL.
- ssh
Host String - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key String - (Updatable) Private SSH key string.
- ssh
Sudo StringLocation - (Updatable) Sudo location
- ssh
User String - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca String - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert String - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl String - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key String - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode String - (Updatable) SSL modes for MySQL.
- state String
- The Connection's current lifecycle state.
- subnet
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- technology
Type String - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- time
Created String - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - username String
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet String
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- additional
Attributes ConnectionAdditional Attribute[] - (Updatable) An array of name-value pair attribute entries.
- compartment
Id string - (Updatable) The OCID of the compartment.
- connection
String string - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- connection
Type string - (Updatable) Defines the type of connection. For example, ORACLE.
- database
Id string - (Updatable) The OCID of the database being referenced.
- database
Name string - (Updatable) The name of the database being referenced.
- db
System stringId - (Updatable) The OCID of the database system being referenced.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host string
- (Updatable) The IP Address of the host.
- ingress
Ips ConnectionIngress Ip[] - List of ingress IP addresses from where to connect to this connection's privateIp.
- key
Id string - (Updatable) The OCID of the key used in cryptographic operations.
- lifecycle
Details string - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- nsg
Ids string[] - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- password string
- (Updatable) The password (credential) used when creating or updating this resource.
- port number
- (Updatable) The port to be used for the connection.
- private
Endpoint stringId - The OCID of the resource being referenced.
- replication
Password string - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username string - (Updatable) The username (credential) used when creating or updating this resource.
- secret
Id string - The OCID of the resource being referenced.
- security
Protocol string - (Updatable) Security Type for MySQL.
- ssh
Host string - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key string - (Updatable) Private SSH key string.
- ssh
Sudo stringLocation - (Updatable) Sudo location
- ssh
User string - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca string - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert string - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl string - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key string - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode string - (Updatable) SSL modes for MySQL.
- state string
- The Connection's current lifecycle state.
- subnet
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- technology
Type string - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- time
Created string - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated string - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - username string
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id string - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet string
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- additional_
attributes Sequence[databasemigration.Connection Additional Attribute Args] - (Updatable) An array of name-value pair attribute entries.
- compartment_
id str - (Updatable) The OCID of the compartment.
- connection_
string str - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- connection_
type str - (Updatable) Defines the type of connection. For example, ORACLE.
- database_
id str - (Updatable) The OCID of the database being referenced.
- database_
name str - (Updatable) The name of the database being referenced.
- db_
system_ strid - (Updatable) The OCID of the database system being referenced.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host str
- (Updatable) The IP Address of the host.
- ingress_
ips Sequence[databasemigration.Connection Ingress Ip Args] - List of ingress IP addresses from where to connect to this connection's privateIp.
- key_
id str - (Updatable) The OCID of the key used in cryptographic operations.
- lifecycle_
details str - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- nsg_
ids Sequence[str] - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- password str
- (Updatable) The password (credential) used when creating or updating this resource.
- port int
- (Updatable) The port to be used for the connection.
- private_
endpoint_ strid - The OCID of the resource being referenced.
- replication_
password str - (Updatable) The password (credential) used when creating or updating this resource.
- replication_
username str - (Updatable) The username (credential) used when creating or updating this resource.
- secret_
id str - The OCID of the resource being referenced.
- security_
protocol str - (Updatable) Security Type for MySQL.
- ssh_
host str - (Updatable) Name of the host the SSH key is valid for.
- ssh_
key str - (Updatable) Private SSH key string.
- ssh_
sudo_ strlocation - (Updatable) Sudo location
- ssh_
user str - (Updatable) The username (credential) used when creating or updating this resource.
- ssl_
ca str - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl_
cert str - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl_
crl str - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl_
key str - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl_
mode str - (Updatable) SSL modes for MySQL.
- state str
- The Connection's current lifecycle state.
- subnet_
id str - (Updatable) Oracle Cloud Infrastructure resource ID.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- technology_
type str - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- time_
created str - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time_
updated str - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - username str
- (Updatable) The username (credential) used when creating or updating this resource.
- vault_
id str - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet str
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- additional
Attributes List<Property Map> - (Updatable) An array of name-value pair attribute entries.
- compartment
Id String - (Updatable) The OCID of the compartment.
- connection
String String - (Updatable) Connect descriptor or Easy Connect Naming method used to connect to a database.
- connection
Type String - (Updatable) Defines the type of connection. For example, ORACLE.
- database
Id String - (Updatable) The OCID of the database being referenced.
- database
Name String - (Updatable) The name of the database being referenced.
- db
System StringId - (Updatable) The OCID of the database system being referenced.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- host String
- (Updatable) The IP Address of the host.
- ingress
Ips List<Property Map> - List of ingress IP addresses from where to connect to this connection's privateIp.
- key
Id String - (Updatable) The OCID of the key used in cryptographic operations.
- lifecycle
Details String - The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
- nsg
Ids List<String> - (Updatable) An array of Network Security Group OCIDs used to define network access for Connections.
- password String
- (Updatable) The password (credential) used when creating or updating this resource.
- port Number
- (Updatable) The port to be used for the connection.
- private
Endpoint StringId - The OCID of the resource being referenced.
- replication
Password String - (Updatable) The password (credential) used when creating or updating this resource.
- replication
Username String - (Updatable) The username (credential) used when creating or updating this resource.
- secret
Id String - The OCID of the resource being referenced.
- security
Protocol String - (Updatable) Security Type for MySQL.
- ssh
Host String - (Updatable) Name of the host the SSH key is valid for.
- ssh
Key String - (Updatable) Private SSH key string.
- ssh
Sudo StringLocation - (Updatable) Sudo location
- ssh
User String - (Updatable) The username (credential) used when creating or updating this resource.
- ssl
Ca String - (Updatable) Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
- ssl
Cert String - (Updatable) Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
- ssl
Crl String - (Updatable) Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
- ssl
Key String - (Updatable) Client Key - The client-key.pem containing the client private key (for 2-way SSL).
- ssl
Mode String - (Updatable) SSL modes for MySQL.
- state String
- The Connection's current lifecycle state.
- subnet
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- technology
Type String - The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
- time
Created String - The time when this resource was created. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time when this resource was updated. An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z
. - username String
- (Updatable) The username (credential) used when creating or updating this resource.
- vault
Id String - (Updatable) Oracle Cloud Infrastructure resource ID.
- wallet String
(Updatable) The wallet contents used to make connections to a database. This attribute is expected to be base64 encoded.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
ConnectionAdditionalAttribute, ConnectionAdditionalAttributeArgs
ConnectionIngressIp, ConnectionIngressIpArgs
- Ingress
Ip string - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
- Ingress
Ip string - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
- ingress
Ip String - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
- ingress
Ip string - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
- ingress_
ip str - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
- ingress
Ip String - A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet.
Import
Connections can be imported using the id
, e.g.
$ pulumi import oci:DatabaseMigration/connection:Connection test_connection "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.