Class DatabricksConnection
Represents the metadata of a Databricks Connection.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class DatabricksConnection : Connection
Properties
AuthenticationType
Declaration
[Required(ErrorMessage = "AuthenticationType is required.")]
[JsonProperty(PropertyName = "authenticationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabricksConnection.AuthenticationTypeEnum? AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
DatabricksConnection.AuthenticationTypeEnum? | Used authentication mechanism to access Databricks. Required fields by authentication types:
|
Remarks
Required
ClientId
Declaration
[JsonProperty(PropertyName = "clientId")]
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
string | OAuth client id, only applicable for authenticationType == OAUTH_M2M |
ClientSecretSecretId
Declaration
[JsonProperty(PropertyName = "clientSecretSecretId")]
public string ClientSecretSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, 'clientSecret' field must not be provided. |
ConnectionUrl
Declaration
[Required(ErrorMessage = "ConnectionUrl is required.")]
[JsonProperty(PropertyName = "connectionUrl")]
public string ConnectionUrl { get; set; }
Property Value
Type | Description |
---|---|
string | Connection URL. e.g.: 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' |
Remarks
Required
PasswordSecretId
Declaration
[JsonProperty(PropertyName = "passwordSecretId")]
public string PasswordSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Secret where the password is stored. Note: When provided, 'password' field must not be provided. |
StorageCredentialName
Declaration
[JsonProperty(PropertyName = "storageCredentialName")]
public string StorageCredentialName { get; set; }
Property Value
Type | Description |
---|---|
string | Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS. |
TechnologyType
Declaration
[Required(ErrorMessage = "TechnologyType is required.")]
[JsonProperty(PropertyName = "technologyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabricksConnection.TechnologyTypeEnum? TechnologyType { get; set; }
Property Value
Type | Description |
---|---|
DatabricksConnection.TechnologyTypeEnum? | The Databricks technology type. |
Remarks
Required