2022-12-06 15:26:19 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAwsIamRole struct {
|
2023-12-11 21:53:21 +00:00
|
|
|
ExternalId string `json:"external_id,omitempty"`
|
|
|
|
RoleArn string `json:"role_arn"`
|
|
|
|
UnityCatalogIamArn string `json:"unity_catalog_iam_arn,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAzureManagedIdentity struct {
|
|
|
|
AccessConnectorId string `json:"access_connector_id"`
|
2023-10-16 12:52:16 +00:00
|
|
|
CredentialId string `json:"credential_id,omitempty"`
|
|
|
|
ManagedIdentityId string `json:"managed_identity_id,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceStorageCredentialAzureServicePrincipal struct {
|
|
|
|
ApplicationId string `json:"application_id"`
|
|
|
|
ClientSecret string `json:"client_secret"`
|
|
|
|
DirectoryId string `json:"directory_id"`
|
|
|
|
}
|
|
|
|
|
2024-08-15 12:43:39 +00:00
|
|
|
type ResourceStorageCredentialCloudflareApiToken struct {
|
|
|
|
AccessKeyId string `json:"access_key_id"`
|
|
|
|
AccountId string `json:"account_id"`
|
|
|
|
SecretAccessKey string `json:"secret_access_key"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceStorageCredentialDatabricksGcpServiceAccount struct {
|
2023-10-16 12:52:16 +00:00
|
|
|
CredentialId string `json:"credential_id,omitempty"`
|
|
|
|
Email string `json:"email,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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"`
|
2023-10-16 12:52:16 +00:00
|
|
|
ForceDestroy bool `json:"force_destroy,omitempty"`
|
2024-02-16 07:05:45 +00:00
|
|
|
ForceUpdate bool `json:"force_update,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Id string `json:"id,omitempty"`
|
2024-07-30 10:13:05 +00:00
|
|
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
MetastoreId string `json:"metastore_id,omitempty"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Owner string `json:"owner,omitempty"`
|
2023-06-21 06:40:11 +00:00
|
|
|
ReadOnly bool `json:"read_only,omitempty"`
|
2024-02-16 07:05:45 +00:00
|
|
|
SkipValidation bool `json:"skip_validation,omitempty"`
|
2024-07-30 10:13:05 +00:00
|
|
|
StorageCredentialId string `json:"storage_credential_id,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
|
|
|
|
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
|
|
|
|
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
|
2024-08-15 12:43:39 +00:00
|
|
|
CloudflareApiToken *ResourceStorageCredentialCloudflareApiToken `json:"cloudflare_api_token,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
DatabricksGcpServiceAccount *ResourceStorageCredentialDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"`
|
|
|
|
GcpServiceAccountKey *ResourceStorageCredentialGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|