2022-12-06 15:26:19 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAwsIamRole struct {
|
|
|
|
RoleArn string `json:"role_arn"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAzureManagedIdentity struct {
|
|
|
|
AccessConnectorId string `json:"access_connector_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAzureServicePrincipal struct {
|
|
|
|
ApplicationId string `json:"application_id"`
|
|
|
|
ClientSecret string `json:"client_secret"`
|
|
|
|
DirectoryId string `json:"directory_id"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceStorageCredentialDatabricksGcpServiceAccount struct {
|
|
|
|
Email string `json:"email,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceStorageCredentialGcpServiceAccountKey struct {
|
|
|
|
Email string `json:"email"`
|
|
|
|
PrivateKey string `json:"private_key"`
|
|
|
|
PrivateKeyId string `json:"private_key_id"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceStorageCredential struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Comment string `json:"comment,omitempty"`
|
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
MetastoreId string `json:"metastore_id,omitempty"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Owner string `json:"owner,omitempty"`
|
|
|
|
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
|
|
|
|
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
|
|
|
|
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
|
|
|
|
DatabricksGcpServiceAccount *ResourceStorageCredentialDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"`
|
|
|
|
GcpServiceAccountKey *ResourceStorageCredentialGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|