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"`
|
|
|
|
}
|
|
|
|
|
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"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
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"`
|
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"`
|
|
|
|
DatabricksGcpServiceAccount *ResourceStorageCredentialDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"`
|
|
|
|
GcpServiceAccountKey *ResourceStorageCredentialGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|