github.com/databricks/cli@v0.203.0/bundle/internal/tf/schema/resource_storage_credential.go (about) 1 // Generated from Databricks Terraform provider schema. DO NOT EDIT. 2 3 package schema 4 5 type ResourceStorageCredentialAwsIamRole struct { 6 RoleArn string `json:"role_arn"` 7 } 8 9 type ResourceStorageCredentialAzureManagedIdentity struct { 10 AccessConnectorId string `json:"access_connector_id"` 11 } 12 13 type ResourceStorageCredentialAzureServicePrincipal struct { 14 ApplicationId string `json:"application_id"` 15 ClientSecret string `json:"client_secret"` 16 DirectoryId string `json:"directory_id"` 17 } 18 19 type ResourceStorageCredentialDatabricksGcpServiceAccount struct { 20 Email string `json:"email,omitempty"` 21 } 22 23 type ResourceStorageCredentialGcpServiceAccountKey struct { 24 Email string `json:"email"` 25 PrivateKey string `json:"private_key"` 26 PrivateKeyId string `json:"private_key_id"` 27 } 28 29 type ResourceStorageCredential struct { 30 Comment string `json:"comment,omitempty"` 31 Id string `json:"id,omitempty"` 32 MetastoreId string `json:"metastore_id,omitempty"` 33 Name string `json:"name"` 34 Owner string `json:"owner,omitempty"` 35 ReadOnly bool `json:"read_only,omitempty"` 36 AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"` 37 AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"` 38 AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"` 39 DatabricksGcpServiceAccount *ResourceStorageCredentialDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"` 40 GcpServiceAccountKey *ResourceStorageCredentialGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"` 41 }