oci.DataCatalog.Connection
Explore with Pulumi AI
This resource provides the Connection resource in Oracle Cloud Infrastructure Data Catalog service.
Creates a new connection.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConnection = new oci.datacatalog.Connection("test_connection", {
catalogId: testCatalog.id,
dataAssetKey: connectionDataAssetKey,
displayName: connectionDisplayName,
properties: connectionProperties,
typeKey: connectionTypeKey,
description: connectionDescription,
encProperties: connectionEncProperties,
isDefault: connectionIsDefault,
});
import pulumi
import pulumi_oci as oci
test_connection = oci.data_catalog.Connection("test_connection",
catalog_id=test_catalog["id"],
data_asset_key=connection_data_asset_key,
display_name=connection_display_name,
properties=connection_properties,
type_key=connection_type_key,
description=connection_description,
enc_properties=connection_enc_properties,
is_default=connection_is_default)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataCatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataCatalog.NewConnection(ctx, "test_connection", &DataCatalog.ConnectionArgs{
CatalogId: pulumi.Any(testCatalog.Id),
DataAssetKey: pulumi.Any(connectionDataAssetKey),
DisplayName: pulumi.Any(connectionDisplayName),
Properties: pulumi.Any(connectionProperties),
TypeKey: pulumi.Any(connectionTypeKey),
Description: pulumi.Any(connectionDescription),
EncProperties: pulumi.Any(connectionEncProperties),
IsDefault: pulumi.Any(connectionIsDefault),
})
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.DataCatalog.Connection("test_connection", new()
{
CatalogId = testCatalog.Id,
DataAssetKey = connectionDataAssetKey,
DisplayName = connectionDisplayName,
Properties = connectionProperties,
TypeKey = connectionTypeKey,
Description = connectionDescription,
EncProperties = connectionEncProperties,
IsDefault = connectionIsDefault,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataCatalog.Connection;
import com.pulumi.oci.DataCatalog.ConnectionArgs;
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()
.catalogId(testCatalog.id())
.dataAssetKey(connectionDataAssetKey)
.displayName(connectionDisplayName)
.properties(connectionProperties)
.typeKey(connectionTypeKey)
.description(connectionDescription)
.encProperties(connectionEncProperties)
.isDefault(connectionIsDefault)
.build());
}
}
resources:
testConnection:
type: oci:DataCatalog:Connection
name: test_connection
properties:
catalogId: ${testCatalog.id}
dataAssetKey: ${connectionDataAssetKey}
displayName: ${connectionDisplayName}
properties: ${connectionProperties}
typeKey: ${connectionTypeKey}
description: ${connectionDescription}
encProperties: ${connectionEncProperties}
isDefault: ${connectionIsDefault}
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,
catalog_id: Optional[str] = None,
data_asset_key: Optional[str] = None,
display_name: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
type_key: Optional[str] = None,
description: Optional[str] = None,
enc_properties: Optional[Mapping[str, str]] = None,
is_default: Optional[bool] = 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:DataCatalog: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 connectionResource = new Oci.DataCatalog.Connection("connectionResource", new()
{
CatalogId = "string",
DataAssetKey = "string",
DisplayName = "string",
Properties =
{
{ "string", "string" },
},
TypeKey = "string",
Description = "string",
EncProperties =
{
{ "string", "string" },
},
IsDefault = false,
});
example, err := DataCatalog.NewConnection(ctx, "connectionResource", &DataCatalog.ConnectionArgs{
CatalogId: pulumi.String("string"),
DataAssetKey: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
TypeKey: pulumi.String("string"),
Description: pulumi.String("string"),
EncProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsDefault: pulumi.Bool(false),
})
var connectionResource = new Connection("connectionResource", ConnectionArgs.builder()
.catalogId("string")
.dataAssetKey("string")
.displayName("string")
.properties(Map.of("string", "string"))
.typeKey("string")
.description("string")
.encProperties(Map.of("string", "string"))
.isDefault(false)
.build());
connection_resource = oci.data_catalog.Connection("connectionResource",
catalog_id="string",
data_asset_key="string",
display_name="string",
properties={
"string": "string",
},
type_key="string",
description="string",
enc_properties={
"string": "string",
},
is_default=False)
const connectionResource = new oci.datacatalog.Connection("connectionResource", {
catalogId: "string",
dataAssetKey: "string",
displayName: "string",
properties: {
string: "string",
},
typeKey: "string",
description: "string",
encProperties: {
string: "string",
},
isDefault: false,
});
type: oci:DataCatalog:Connection
properties:
catalogId: string
dataAssetKey: string
description: string
displayName: string
encProperties:
string: string
isDefault: false
properties:
string: string
typeKey: 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:
- Catalog
Id string - Unique catalog identifier.
- Data
Asset stringKey - Unique data asset key.
- Display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Properties Dictionary<string, string>
- Type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- Description string
- (Updatable) A description of the connection.
- Enc
Properties Dictionary<string, string> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- Is
Default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- Catalog
Id string - Unique catalog identifier.
- Data
Asset stringKey - Unique data asset key.
- Display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Properties map[string]string
- Type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- Description string
- (Updatable) A description of the connection.
- Enc
Properties map[string]string - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- Is
Default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- catalog
Id String - Unique catalog identifier.
- data
Asset StringKey - Unique data asset key.
- display
Name String - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- properties Map<String,String>
- type
Key String The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- description String
- (Updatable) A description of the connection.
- enc
Properties Map<String,String> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- is
Default Boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- catalog
Id string - Unique catalog identifier.
- data
Asset stringKey - Unique data asset key.
- display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- properties {[key: string]: string}
- type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- description string
- (Updatable) A description of the connection.
- enc
Properties {[key: string]: string} - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- is
Default boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- catalog_
id str - Unique catalog identifier.
- data_
asset_ strkey - Unique data asset key.
- display_
name str - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- properties Mapping[str, str]
- type_
key str The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- description str
- (Updatable) A description of the connection.
- enc_
properties Mapping[str, str] - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- is_
default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- catalog
Id String - Unique catalog identifier.
- data
Asset StringKey - Unique data asset key.
- display
Name String - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- properties Map<String>
- type
Key String The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- description String
- (Updatable) A description of the connection.
- enc
Properties Map<String> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- is
Default Boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Created
By stringId - OCID of the user who created the connection.
- External
Key string - Unique external key of this object from the source system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Unique connection key that is immutable.
- State string
- The current state of the connection.
- Time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- Time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- Time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- Updated
By stringId - OCID of the user who modified the connection.
- Uri string
- URI to the connection instance in the API.
- Created
By stringId - OCID of the user who created the connection.
- External
Key string - Unique external key of this object from the source system.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Unique connection key that is immutable.
- State string
- The current state of the connection.
- Time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- Time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- Time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- Updated
By stringId - OCID of the user who modified the connection.
- Uri string
- URI to the connection instance in the API.
- created
By StringId - OCID of the user who created the connection.
- external
Key String - Unique external key of this object from the source system.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- Unique connection key that is immutable.
- state String
- The current state of the connection.
- time
Created String - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status StringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated String - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- updated
By StringId - OCID of the user who modified the connection.
- uri String
- URI to the connection instance in the API.
- created
By stringId - OCID of the user who created the connection.
- external
Key string - Unique external key of this object from the source system.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- Unique connection key that is immutable.
- state string
- The current state of the connection.
- time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- updated
By stringId - OCID of the user who modified the connection.
- uri string
- URI to the connection instance in the API.
- created_
by_ strid - OCID of the user who created the connection.
- external_
key str - Unique external key of this object from the source system.
- id str
- The provider-assigned unique ID for this managed resource.
- key str
- Unique connection key that is immutable.
- state str
- The current state of the connection.
- time_
created str - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time_
status_ strupdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time_
updated str - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- updated_
by_ strid - OCID of the user who modified the connection.
- uri str
- URI to the connection instance in the API.
- created
By StringId - OCID of the user who created the connection.
- external
Key String - Unique external key of this object from the source system.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- Unique connection key that is immutable.
- state String
- The current state of the connection.
- time
Created String - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status StringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated String - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- updated
By StringId - OCID of the user who modified the connection.
- uri String
- URI to the connection instance in the API.
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,
catalog_id: Optional[str] = None,
created_by_id: Optional[str] = None,
data_asset_key: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
enc_properties: Optional[Mapping[str, str]] = None,
external_key: Optional[str] = None,
is_default: Optional[bool] = None,
key: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_status_updated: Optional[str] = None,
time_updated: Optional[str] = None,
type_key: Optional[str] = None,
updated_by_id: Optional[str] = None,
uri: 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.
- Catalog
Id string - Unique catalog identifier.
- Created
By stringId - OCID of the user who created the connection.
- Data
Asset stringKey - Unique data asset key.
- Description string
- (Updatable) A description of the connection.
- Display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Enc
Properties Dictionary<string, string> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- External
Key string - Unique external key of this object from the source system.
- Is
Default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- Key string
- Unique connection key that is immutable.
- Properties Dictionary<string, string>
- State string
- The current state of the connection.
- Time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- Time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- Time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- Type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- Updated
By stringId - OCID of the user who modified the connection.
- Uri string
- URI to the connection instance in the API.
- Catalog
Id string - Unique catalog identifier.
- Created
By stringId - OCID of the user who created the connection.
- Data
Asset stringKey - Unique data asset key.
- Description string
- (Updatable) A description of the connection.
- Display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Enc
Properties map[string]string - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- External
Key string - Unique external key of this object from the source system.
- Is
Default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- Key string
- Unique connection key that is immutable.
- Properties map[string]string
- State string
- The current state of the connection.
- Time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- Time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- Time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- Type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- Updated
By stringId - OCID of the user who modified the connection.
- Uri string
- URI to the connection instance in the API.
- catalog
Id String - Unique catalog identifier.
- created
By StringId - OCID of the user who created the connection.
- data
Asset StringKey - Unique data asset key.
- description String
- (Updatable) A description of the connection.
- display
Name String - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- enc
Properties Map<String,String> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- external
Key String - Unique external key of this object from the source system.
- is
Default Boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- key String
- Unique connection key that is immutable.
- properties Map<String,String>
- state String
- The current state of the connection.
- time
Created String - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status StringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated String - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- type
Key String The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- updated
By StringId - OCID of the user who modified the connection.
- uri String
- URI to the connection instance in the API.
- catalog
Id string - Unique catalog identifier.
- created
By stringId - OCID of the user who created the connection.
- data
Asset stringKey - Unique data asset key.
- description string
- (Updatable) A description of the connection.
- display
Name string - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- enc
Properties {[key: string]: string} - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- external
Key string - Unique external key of this object from the source system.
- is
Default boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- key string
- Unique connection key that is immutable.
- properties {[key: string]: string}
- state string
- The current state of the connection.
- time
Created string - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status stringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated string - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- type
Key string The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- updated
By stringId - OCID of the user who modified the connection.
- uri string
- URI to the connection instance in the API.
- catalog_
id str - Unique catalog identifier.
- created_
by_ strid - OCID of the user who created the connection.
- data_
asset_ strkey - Unique data asset key.
- description str
- (Updatable) A description of the connection.
- display_
name str - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- enc_
properties Mapping[str, str] - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- external_
key str - Unique external key of this object from the source system.
- is_
default bool - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- key str
- Unique connection key that is immutable.
- properties Mapping[str, str]
- state str
- The current state of the connection.
- time_
created str - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time_
status_ strupdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time_
updated str - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- type_
key str The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- updated_
by_ strid - OCID of the user who modified the connection.
- uri str
- URI to the connection instance in the API.
- catalog
Id String - Unique catalog identifier.
- created
By StringId - OCID of the user who created the connection.
- data
Asset StringKey - Unique data asset key.
- description String
- (Updatable) A description of the connection.
- display
Name String - (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- enc
Properties Map<String> - (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example:
{"encProperties": { "default": { "password": "example-password"}}}
- external
Key String - Unique external key of this object from the source system.
- is
Default Boolean - (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default.
- key String
- Unique connection key that is immutable.
- properties Map<String>
- state String
- The current state of the connection.
- time
Created String - The date and time the connection was created, in the format defined by RFC3339. Example:
2019-03-25T21:10:29.600Z
- time
Status StringUpdated - Time that the connections status was last updated. An RFC3339 formatted datetime string.
- time
Updated String - The last time that any change was made to the connection. An RFC3339 formatted datetime string.
- type
Key String The key of the object type. Type key's can be found via the '/types' endpoint.
** 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
- updated
By StringId - OCID of the user who modified the connection.
- uri String
- URI to the connection instance in the API.
Import
Connections can be imported using the id
, e.g.
$ pulumi import oci:DataCatalog/connection:Connection test_connection "catalogs/{catalogId}/dataAssets/{dataAssetKey}/connections/{connectionKey}"
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.