workspace_tf

package
v1.57.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclItem

type AclItem struct {
	// The permission level applied to the principal.
	Permission types.String `tfsdk:"permission" tf:""`
	// The principal in which the permission is applied.
	Principal types.String `tfsdk:"principal" tf:""`
}

func (*AclItem) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AclItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan AclItem)

func (*AclItem) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AclItem) SyncEffectiveFieldsDuringRead(existingState AclItem)

type AzureKeyVaultSecretScopeMetadata

type AzureKeyVaultSecretScopeMetadata struct {
	// The DNS of the KeyVault
	DnsName types.String `tfsdk:"dns_name" tf:""`
	// The resource id of the azure KeyVault that user wants to associate the
	// scope with.
	ResourceId types.String `tfsdk:"resource_id" tf:""`
}

func (*AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureKeyVaultSecretScopeMetadata)

func (*AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringRead(existingState AzureKeyVaultSecretScopeMetadata)

type CreateCredentialsRequest added in v1.53.0

type CreateCredentialsRequest struct {
	// Git provider. This field is case-insensitive. The available Git providers
	// are `gitHub`, `bitbucketCloud`, `gitLab`, `azureDevOpsServices`,
	// `gitHubEnterprise`, `bitbucketServer`, `gitLabEnterpriseEdition` and
	// `awsCodeCommit`.
	GitProvider types.String `tfsdk:"git_provider" tf:""`
	// The username or email provided with your Git provider account, depending
	// on which provider you are using. For GitHub, GitHub Enterprise Server, or
	// Azure DevOps Services, either email or username may be used. For GitLab,
	// GitLab Enterprise Edition, email must be used. For AWS CodeCommit,
	// BitBucket or BitBucket Server, username must be used. For all other
	// providers please see your provider's Personal Access Token authentication
	// documentation to see what is supported.
	GitUsername types.String `tfsdk:"git_username" tf:"optional"`
	// The personal access token used to authenticate to the corresponding Git
	// provider. For certain providers, support may exist for other types of
	// scoped access tokens. [Learn more].
	//
	// [Learn more]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html
	PersonalAccessToken types.String `tfsdk:"personal_access_token" tf:"optional"`
}

func (*CreateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCredentialsRequest)

func (*CreateCredentialsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsRequest)

type CreateCredentialsResponse

type CreateCredentialsResponse struct {
	// ID of the credential object in the workspace.
	CredentialId types.Int64 `tfsdk:"credential_id" tf:""`
	// The Git provider associated with the credential.
	GitProvider types.String `tfsdk:"git_provider" tf:""`
	// The username or email provided with your Git provider account and
	// associated with the credential.
	GitUsername types.String `tfsdk:"git_username" tf:"optional"`
}

func (*CreateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCredentialsResponse)

func (*CreateCredentialsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsResponse)

type CreateRepoRequest added in v1.53.0

type CreateRepoRequest struct {
	// Desired path for the repo in the workspace. Almost any path in the
	// workspace can be chosen. If repo is created in `/Repos`, path must be in
	// the format `/Repos/{folder}/{repo-name}`.
	Path types.String `tfsdk:"path" tf:"optional"`
	// Git provider. This field is case-insensitive. The available Git providers
	// are `gitHub`, `bitbucketCloud`, `gitLab`, `azureDevOpsServices`,
	// `gitHubEnterprise`, `bitbucketServer`, `gitLabEnterpriseEdition` and
	// `awsCodeCommit`.
	Provider types.String `tfsdk:"provider" tf:""`
	// If specified, the repo will be created with sparse checkout enabled. You
	// cannot enable/disable sparse checkout after the repo is created.
	SparseCheckout []SparseCheckout `tfsdk:"sparse_checkout" tf:"optional,object"`
	// URL of the Git repository to be linked.
	Url types.String `tfsdk:"url" tf:""`
}

func (*CreateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRepoRequest)

func (*CreateRepoRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateRepoRequest) SyncEffectiveFieldsDuringRead(existingState CreateRepoRequest)

type CreateRepoResponse added in v1.53.0

type CreateRepoResponse struct {
	// Branch that the Git folder (repo) is checked out to.
	Branch types.String `tfsdk:"branch" tf:"optional"`
	// SHA-1 hash representing the commit ID of the current HEAD of the Git
	// folder (repo).
	HeadCommitId types.String `tfsdk:"head_commit_id" tf:"optional"`
	// ID of the Git folder (repo) object in the workspace.
	Id types.Int64 `tfsdk:"id" tf:"optional"`
	// Path of the Git folder (repo) in the workspace.
	Path types.String `tfsdk:"path" tf:"optional"`
	// Git provider of the linked Git repository.
	Provider types.String `tfsdk:"provider" tf:"optional"`
	// Sparse checkout settings for the Git folder (repo).
	SparseCheckout []SparseCheckout `tfsdk:"sparse_checkout" tf:"optional,object"`
	// URL of the linked Git repository.
	Url types.String `tfsdk:"url" tf:"optional"`
}

func (*CreateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRepoResponse)

func (*CreateRepoResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateRepoResponse) SyncEffectiveFieldsDuringRead(existingState CreateRepoResponse)

type CreateScope

type CreateScope struct {
	// The metadata for the secret scope if the type is `AZURE_KEYVAULT`
	BackendAzureKeyvault []AzureKeyVaultSecretScopeMetadata `tfsdk:"backend_azure_keyvault" tf:"optional,object"`
	// The principal that is initially granted `MANAGE` permission to the
	// created scope.
	InitialManagePrincipal types.String `tfsdk:"initial_manage_principal" tf:"optional"`
	// Scope name requested by the user. Scope names are unique.
	Scope types.String `tfsdk:"scope" tf:""`
	// The backend type the scope will be created with. If not specified, will
	// default to `DATABRICKS`
	ScopeBackendType types.String `tfsdk:"scope_backend_type" tf:"optional"`
}

func (*CreateScope) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScope)

func (*CreateScope) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateScope) SyncEffectiveFieldsDuringRead(existingState CreateScope)

type CreateScopeResponse

type CreateScopeResponse struct {
}

func (*CreateScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScopeResponse)

func (*CreateScopeResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateScopeResponse) SyncEffectiveFieldsDuringRead(existingState CreateScopeResponse)

type CredentialInfo

type CredentialInfo struct {
	// ID of the credential object in the workspace.
	CredentialId types.Int64 `tfsdk:"credential_id" tf:""`
	// The Git provider associated with the credential.
	GitProvider types.String `tfsdk:"git_provider" tf:"optional"`
	// The username or email provided with your Git provider account and
	// associated with the credential.
	GitUsername types.String `tfsdk:"git_username" tf:"optional"`
}

func (*CredentialInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CredentialInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CredentialInfo)

func (*CredentialInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CredentialInfo) SyncEffectiveFieldsDuringRead(existingState CredentialInfo)

type Delete

type Delete struct {
	// The absolute path of the notebook or directory.
	Path types.String `tfsdk:"path" tf:""`
	// The flag that specifies whether to delete the object recursively. It is
	// `false` by default. Please note this deleting directory is not atomic. If
	// it fails in the middle, some of objects under this directory may be
	// deleted and cannot be undone.
	Recursive types.Bool `tfsdk:"recursive" tf:"optional"`
}

func (*Delete) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Delete) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delete)

func (*Delete) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Delete) SyncEffectiveFieldsDuringRead(existingState Delete)

type DeleteAcl

type DeleteAcl struct {
	// The principal to remove an existing ACL from.
	Principal types.String `tfsdk:"principal" tf:""`
	// The name of the scope to remove permissions from.
	Scope types.String `tfsdk:"scope" tf:""`
}

func (*DeleteAcl) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteAcl) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAcl)

func (*DeleteAcl) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteAcl) SyncEffectiveFieldsDuringRead(existingState DeleteAcl)

type DeleteAclResponse

type DeleteAclResponse struct {
}

func (*DeleteAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAclResponse)

func (*DeleteAclResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteAclResponse) SyncEffectiveFieldsDuringRead(existingState DeleteAclResponse)

type DeleteCredentialsRequest added in v1.53.0

type DeleteCredentialsRequest struct {
	// The ID for the corresponding credential to access.
	CredentialId types.Int64 `tfsdk:"-"`
}

Delete a credential

func (*DeleteCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialsRequest)

func (*DeleteCredentialsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsRequest)

type DeleteCredentialsResponse added in v1.53.0

type DeleteCredentialsResponse struct {
}

func (*DeleteCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialsResponse)

func (*DeleteCredentialsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsResponse)

type DeleteRepoRequest

type DeleteRepoRequest struct {
	// ID of the Git folder (repo) object in the workspace.
	RepoId types.Int64 `tfsdk:"-"`
}

Delete a repo

func (*DeleteRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRepoRequest)

func (*DeleteRepoRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteRepoRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRepoRequest)

type DeleteRepoResponse added in v1.53.0

type DeleteRepoResponse struct {
}

func (*DeleteRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRepoResponse)

func (*DeleteRepoResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteRepoResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRepoResponse)

type DeleteResponse

type DeleteResponse struct {
}

func (*DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)

func (*DeleteResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)

type DeleteScope

type DeleteScope struct {
	// Name of the scope to delete.
	Scope types.String `tfsdk:"scope" tf:""`
}

func (*DeleteScope) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScope)

func (*DeleteScope) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteScope) SyncEffectiveFieldsDuringRead(existingState DeleteScope)

type DeleteScopeResponse

type DeleteScopeResponse struct {
}

func (*DeleteScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScopeResponse)

func (*DeleteScopeResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteScopeResponse) SyncEffectiveFieldsDuringRead(existingState DeleteScopeResponse)

type DeleteSecret

type DeleteSecret struct {
	// Name of the secret to delete.
	Key types.String `tfsdk:"key" tf:""`
	// The name of the scope that contains the secret to delete.
	Scope types.String `tfsdk:"scope" tf:""`
}

func (*DeleteSecret) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSecret)

func (*DeleteSecret) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteSecret) SyncEffectiveFieldsDuringRead(existingState DeleteSecret)

type DeleteSecretResponse

type DeleteSecretResponse struct {
}

func (*DeleteSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSecretResponse)

func (*DeleteSecretResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteSecretResponse) SyncEffectiveFieldsDuringRead(existingState DeleteSecretResponse)

type ExportRequest

type ExportRequest struct {
	// This specifies the format of the exported file. By default, this is
	// `SOURCE`.
	//
	// The value is case sensitive.
	//
	// - `SOURCE`: The notebook is exported as source code. Directory exports
	// will not include non-notebook entries. - `HTML`: The notebook is exported
	// as an HTML file. - `JUPYTER`: The notebook is exported as a
	// Jupyter/IPython Notebook file. - `DBC`: The notebook is exported in
	// Databricks archive format. Directory exports will not include
	// non-notebook entries. - `R_MARKDOWN`: The notebook is exported to R
	// Markdown format. - `AUTO`: The object or directory is exported depending
	// on the objects type. Directory exports will include notebooks and
	// workspace files.
	Format types.String `tfsdk:"-"`
	// The absolute path of the object or directory. Exporting a directory is
	// only supported for the `DBC`, `SOURCE`, and `AUTO` format.
	Path types.String `tfsdk:"-"`
}

Export a workspace object

func (*ExportRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ExportRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRequest)

func (*ExportRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ExportRequest) SyncEffectiveFieldsDuringRead(existingState ExportRequest)

type ExportResponse

type ExportResponse struct {
	// The base64-encoded content. If the limit (10MB) is exceeded, exception
	// with error code **MAX_NOTEBOOK_SIZE_EXCEEDED** is thrown.
	Content types.String `tfsdk:"content" tf:"optional"`
	// The file type of the exported file.
	FileType types.String `tfsdk:"file_type" tf:"optional"`
}

func (*ExportResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ExportResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportResponse)

func (*ExportResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ExportResponse) SyncEffectiveFieldsDuringRead(existingState ExportResponse)

type GetAclRequest

type GetAclRequest struct {
	// The principal to fetch ACL information for.
	Principal types.String `tfsdk:"-"`
	// The name of the scope to fetch ACL information from.
	Scope types.String `tfsdk:"-"`
}

Get secret ACL details

func (*GetAclRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetAclRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAclRequest)

func (*GetAclRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetAclRequest) SyncEffectiveFieldsDuringRead(existingState GetAclRequest)

type GetCredentialsRequest added in v1.53.0

type GetCredentialsRequest struct {
	// The ID for the corresponding credential to access.
	CredentialId types.Int64 `tfsdk:"-"`
}

Get a credential entry

func (*GetCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialsRequest)

func (*GetCredentialsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState GetCredentialsRequest)

type GetCredentialsResponse

type GetCredentialsResponse struct {
	// ID of the credential object in the workspace.
	CredentialId types.Int64 `tfsdk:"credential_id" tf:""`
	// The Git provider associated with the credential.
	GitProvider types.String `tfsdk:"git_provider" tf:"optional"`
	// The username or email provided with your Git provider account and
	// associated with the credential.
	GitUsername types.String `tfsdk:"git_username" tf:"optional"`
}

func (*GetCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialsResponse)

func (*GetCredentialsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState GetCredentialsResponse)

type GetRepoPermissionLevelsRequest

type GetRepoPermissionLevelsRequest struct {
	// The repo for which to get or manage permissions.
	RepoId types.String `tfsdk:"-"`
}

Get repo permission levels

func (*GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionLevelsRequest)

func (*GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsRequest)

type GetRepoPermissionLevelsResponse

type GetRepoPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels []RepoPermissionsDescription `tfsdk:"permission_levels" tf:"optional"`
}

func (*GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionLevelsResponse)

func (*GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsResponse)

type GetRepoPermissionsRequest

type GetRepoPermissionsRequest struct {
	// The repo for which to get or manage permissions.
	RepoId types.String `tfsdk:"-"`
}

Get repo permissions

func (*GetRepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionsRequest)

func (*GetRepoPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRepoPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionsRequest)

type GetRepoRequest

type GetRepoRequest struct {
	// ID of the Git folder (repo) object in the workspace.
	RepoId types.Int64 `tfsdk:"-"`
}

Get a repo

func (*GetRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoRequest)

func (*GetRepoRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRepoRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoRequest)

type GetRepoResponse added in v1.53.0

type GetRepoResponse struct {
	// Branch that the local version of the repo is checked out to.
	Branch types.String `tfsdk:"branch" tf:"optional"`
	// SHA-1 hash representing the commit ID of the current HEAD of the repo.
	HeadCommitId types.String `tfsdk:"head_commit_id" tf:"optional"`
	// ID of the Git folder (repo) object in the workspace.
	Id types.Int64 `tfsdk:"id" tf:"optional"`
	// Path of the Git folder (repo) in the workspace.
	Path types.String `tfsdk:"path" tf:"optional"`
	// Git provider of the linked Git repository.
	Provider types.String `tfsdk:"provider" tf:"optional"`
	// Sparse checkout settings for the Git folder (repo).
	SparseCheckout []SparseCheckout `tfsdk:"sparse_checkout" tf:"optional,object"`
	// URL of the linked Git repository.
	Url types.String `tfsdk:"url" tf:"optional"`
}

func (*GetRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoResponse)

func (*GetRepoResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetRepoResponse) SyncEffectiveFieldsDuringRead(existingState GetRepoResponse)

type GetSecretRequest

type GetSecretRequest struct {
	// The key to fetch secret for.
	Key types.String `tfsdk:"-"`
	// The name of the scope to fetch secret information from.
	Scope types.String `tfsdk:"-"`
}

Get a secret

func (*GetSecretRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetSecretRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSecretRequest)

func (*GetSecretRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetSecretRequest) SyncEffectiveFieldsDuringRead(existingState GetSecretRequest)

type GetSecretResponse

type GetSecretResponse struct {
	// A unique name to identify the secret.
	Key types.String `tfsdk:"key" tf:"optional"`
	// The value of the secret in its byte representation.
	Value types.String `tfsdk:"value" tf:"optional"`
}

func (*GetSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSecretResponse)

func (*GetSecretResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetSecretResponse) SyncEffectiveFieldsDuringRead(existingState GetSecretResponse)

type GetStatusRequest

type GetStatusRequest struct {
	// The absolute path of the notebook or directory.
	Path types.String `tfsdk:"-"`
}

Get status

func (*GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest)

func (*GetStatusRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest)

type GetWorkspaceObjectPermissionLevelsRequest

type GetWorkspaceObjectPermissionLevelsRequest struct {
	// The workspace object for which to get or manage permissions.
	WorkspaceObjectId types.String `tfsdk:"-"`
	// The workspace object type for which to get or manage permissions.
	WorkspaceObjectType types.String `tfsdk:"-"`
}

Get workspace object permission levels

func (*GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionLevelsRequest)

func (*GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsRequest)

type GetWorkspaceObjectPermissionLevelsResponse

type GetWorkspaceObjectPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels []WorkspaceObjectPermissionsDescription `tfsdk:"permission_levels" tf:"optional"`
}

func (*GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionLevelsResponse)

func (*GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsResponse)

type GetWorkspaceObjectPermissionsRequest

type GetWorkspaceObjectPermissionsRequest struct {
	// The workspace object for which to get or manage permissions.
	WorkspaceObjectId types.String `tfsdk:"-"`
	// The workspace object type for which to get or manage permissions.
	WorkspaceObjectType types.String `tfsdk:"-"`
}

Get workspace object permissions

func (*GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionsRequest)

func (*GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionsRequest)

type Import

type Import struct {
	// The base64-encoded content. This has a limit of 10 MB.
	//
	// If the limit (10MB) is exceeded, exception with error code
	// **MAX_NOTEBOOK_SIZE_EXCEEDED** is thrown. This parameter might be absent,
	// and instead a posted file is used.
	Content types.String `tfsdk:"content" tf:"optional"`
	// This specifies the format of the file to be imported.
	//
	// The value is case sensitive.
	//
	// - `AUTO`: The item is imported depending on an analysis of the item's
	// extension and the header content provided in the request. If the item is
	// imported as a notebook, then the item's extension is automatically
	// removed. - `SOURCE`: The notebook or directory is imported as source
	// code. - `HTML`: The notebook is imported as an HTML file. - `JUPYTER`:
	// The notebook is imported as a Jupyter/IPython Notebook file. - `DBC`: The
	// notebook is imported in Databricks archive format. Required for
	// directories. - `R_MARKDOWN`: The notebook is imported from R Markdown
	// format.
	Format types.String `tfsdk:"format" tf:"optional"`
	// The language of the object. This value is set only if the object type is
	// `NOTEBOOK`.
	Language types.String `tfsdk:"language" tf:"optional"`
	// The flag that specifies whether to overwrite existing object. It is
	// `false` by default. For `DBC` format, `overwrite` is not supported since
	// it may contain a directory.
	Overwrite types.Bool `tfsdk:"overwrite" tf:"optional"`
	// The absolute path of the object or directory. Importing a directory is
	// only supported for the `DBC` and `SOURCE` formats.
	Path types.String `tfsdk:"path" tf:""`
}

func (*Import) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Import) SyncEffectiveFieldsDuringCreateOrUpdate(plan Import)

func (*Import) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Import) SyncEffectiveFieldsDuringRead(existingState Import)

type ImportResponse

type ImportResponse struct {
}

func (*ImportResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ImportResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ImportResponse)

func (*ImportResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ImportResponse) SyncEffectiveFieldsDuringRead(existingState ImportResponse)

type ListAclsRequest

type ListAclsRequest struct {
	// The name of the scope to fetch ACL information from.
	Scope types.String `tfsdk:"-"`
}

Lists ACLs

func (*ListAclsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAclsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAclsRequest)

func (*ListAclsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAclsRequest) SyncEffectiveFieldsDuringRead(existingState ListAclsRequest)

type ListAclsResponse

type ListAclsResponse struct {
	// The associated ACLs rule applied to principals in the given scope.
	Items []AclItem `tfsdk:"items" tf:"optional"`
}

func (*ListAclsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAclsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAclsResponse)

func (*ListAclsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAclsResponse) SyncEffectiveFieldsDuringRead(existingState ListAclsResponse)

type ListCredentialsResponse added in v1.53.0

type ListCredentialsResponse struct {
	// List of credentials.
	Credentials []CredentialInfo `tfsdk:"credentials" tf:"optional"`
}

func (*ListCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCredentialsResponse)

func (*ListCredentialsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState ListCredentialsResponse)

type ListReposRequest

type ListReposRequest struct {
	// Token used to get the next page of results. If not specified, returns the
	// first page of results as well as a next page token if there are more
	// results.
	NextPageToken types.String `tfsdk:"-"`
	// Filters repos that have paths starting with the given path prefix. If not
	// provided or when provided an effectively empty prefix (`/` or
	// `/Workspace`) Git folders (repos) from `/Workspace/Repos` will be served.
	PathPrefix types.String `tfsdk:"-"`
}

Get repos

func (*ListReposRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListReposRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListReposRequest)

func (*ListReposRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListReposRequest) SyncEffectiveFieldsDuringRead(existingState ListReposRequest)

type ListReposResponse

type ListReposResponse struct {
	// Token that can be specified as a query parameter to the `GET /repos`
	// endpoint to retrieve the next page of results.
	NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"`
	// List of Git folders (repos).
	Repos []RepoInfo `tfsdk:"repos" tf:"optional"`
}

func (*ListReposResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListReposResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListReposResponse)

func (*ListReposResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListReposResponse) SyncEffectiveFieldsDuringRead(existingState ListReposResponse)

type ListResponse

type ListResponse struct {
	// List of objects.
	Objects []ObjectInfo `tfsdk:"objects" tf:"optional"`
}

func (*ListResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListResponse)

func (*ListResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListResponse) SyncEffectiveFieldsDuringRead(existingState ListResponse)

type ListScopesResponse

type ListScopesResponse struct {
	// The available secret scopes.
	Scopes []SecretScope `tfsdk:"scopes" tf:"optional"`
}

func (*ListScopesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListScopesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListScopesResponse)

func (*ListScopesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListScopesResponse) SyncEffectiveFieldsDuringRead(existingState ListScopesResponse)

type ListSecretsRequest

type ListSecretsRequest struct {
	// The name of the scope to list secrets within.
	Scope types.String `tfsdk:"-"`
}

List secret keys

func (*ListSecretsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListSecretsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSecretsRequest)

func (*ListSecretsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListSecretsRequest) SyncEffectiveFieldsDuringRead(existingState ListSecretsRequest)

type ListSecretsResponse

type ListSecretsResponse struct {
	// Metadata information of all secrets contained within the given scope.
	Secrets []SecretMetadata `tfsdk:"secrets" tf:"optional"`
}

func (*ListSecretsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListSecretsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSecretsResponse)

func (*ListSecretsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListSecretsResponse) SyncEffectiveFieldsDuringRead(existingState ListSecretsResponse)

type ListWorkspaceRequest

type ListWorkspaceRequest struct {
	// UTC timestamp in milliseconds
	NotebooksModifiedAfter types.Int64 `tfsdk:"-"`
	// The absolute path of the notebook or directory.
	Path types.String `tfsdk:"-"`
}

List contents

func (*ListWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceRequest)

func (*ListWorkspaceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceRequest)

type Mkdirs

type Mkdirs struct {
	// The absolute path of the directory. If the parent directories do not
	// exist, it will also create them. If the directory already exists, this
	// command will do nothing and succeed.
	Path types.String `tfsdk:"path" tf:""`
}

func (*Mkdirs) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Mkdirs) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mkdirs)

func (*Mkdirs) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Mkdirs) SyncEffectiveFieldsDuringRead(existingState Mkdirs)

type MkdirsResponse

type MkdirsResponse struct {
}

func (*MkdirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *MkdirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkdirsResponse)

func (*MkdirsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *MkdirsResponse) SyncEffectiveFieldsDuringRead(existingState MkdirsResponse)

type ObjectInfo

type ObjectInfo struct {
	// Only applicable to files. The creation UTC timestamp.
	CreatedAt types.Int64 `tfsdk:"created_at" tf:"optional"`
	// The language of the object. This value is set only if the object type is
	// `NOTEBOOK`.
	Language types.String `tfsdk:"language" tf:"optional"`
	// Only applicable to files, the last modified UTC timestamp.
	ModifiedAt types.Int64 `tfsdk:"modified_at" tf:"optional"`
	// Unique identifier for the object.
	ObjectId types.Int64 `tfsdk:"object_id" tf:"optional"`
	// The type of the object in workspace.
	//
	// - `NOTEBOOK`: document that contains runnable code, visualizations, and
	// explanatory text. - `DIRECTORY`: directory - `LIBRARY`: library - `FILE`:
	// file - `REPO`: repository - `DASHBOARD`: Lakeview dashboard
	ObjectType types.String `tfsdk:"object_type" tf:"optional"`
	// The absolute path of the object.
	Path types.String `tfsdk:"path" tf:"optional"`
	// A unique identifier for the object that is consistent across all
	// Databricks APIs.
	ResourceId types.String `tfsdk:"resource_id" tf:"optional"`
	// Only applicable to files. The file size in bytes can be returned.
	Size types.Int64 `tfsdk:"size" tf:"optional"`
}

func (*ObjectInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ObjectInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ObjectInfo)

func (*ObjectInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ObjectInfo) SyncEffectiveFieldsDuringRead(existingState ObjectInfo)

type PutAcl

type PutAcl struct {
	// The permission level applied to the principal.
	Permission types.String `tfsdk:"permission" tf:""`
	// The principal in which the permission is applied.
	Principal types.String `tfsdk:"principal" tf:""`
	// The name of the scope to apply permissions to.
	Scope types.String `tfsdk:"scope" tf:""`
}

func (*PutAcl) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PutAcl) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAcl)

func (*PutAcl) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PutAcl) SyncEffectiveFieldsDuringRead(existingState PutAcl)

type PutAclResponse

type PutAclResponse struct {
}

func (*PutAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PutAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAclResponse)

func (*PutAclResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PutAclResponse) SyncEffectiveFieldsDuringRead(existingState PutAclResponse)

type PutSecret

type PutSecret struct {
	// If specified, value will be stored as bytes.
	BytesValue types.String `tfsdk:"bytes_value" tf:"optional"`
	// A unique name to identify the secret.
	Key types.String `tfsdk:"key" tf:""`
	// The name of the scope to which the secret will be associated with.
	Scope types.String `tfsdk:"scope" tf:""`
	// If specified, note that the value will be stored in UTF-8 (MB4) form.
	StringValue types.String `tfsdk:"string_value" tf:"optional"`
}

func (*PutSecret) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PutSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutSecret)

func (*PutSecret) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PutSecret) SyncEffectiveFieldsDuringRead(existingState PutSecret)

type PutSecretResponse

type PutSecretResponse struct {
}

func (*PutSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PutSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutSecretResponse)

func (*PutSecretResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PutSecretResponse) SyncEffectiveFieldsDuringRead(existingState PutSecretResponse)

type RepoAccessControlRequest

type RepoAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (*RepoAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoAccessControlRequest)

func (*RepoAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlRequest)

type RepoAccessControlResponse

type RepoAccessControlResponse struct {
	// All permissions.
	AllPermissions []RepoPermission `tfsdk:"all_permissions" tf:"optional"`
	// Display name of the user or service principal.
	DisplayName types.String `tfsdk:"display_name" tf:"optional"`
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Name of the service principal.
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (*RepoAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoAccessControlResponse)

func (*RepoAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlResponse)

type RepoInfo

type RepoInfo struct {
	// Name of the current git branch of the git folder (repo).
	Branch types.String `tfsdk:"branch" tf:"optional"`
	// Current git commit id of the git folder (repo).
	HeadCommitId types.String `tfsdk:"head_commit_id" tf:"optional"`
	// Id of the git folder (repo) in the Workspace.
	Id types.Int64 `tfsdk:"id" tf:"optional"`
	// Root path of the git folder (repo) in the Workspace.
	Path types.String `tfsdk:"path" tf:"optional"`
	// Git provider of the remote git repository, e.g. `gitHub`.
	Provider types.String `tfsdk:"provider" tf:"optional"`
	// Sparse checkout config for the git folder (repo).
	SparseCheckout []SparseCheckout `tfsdk:"sparse_checkout" tf:"optional,object"`
	// URL of the remote git repository.
	Url types.String `tfsdk:"url" tf:"optional"`
}

Git folder (repo) information.

func (*RepoInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoInfo)

func (*RepoInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoInfo) SyncEffectiveFieldsDuringRead(existingState RepoInfo)

type RepoPermission

type RepoPermission struct {
	Inherited types.Bool `tfsdk:"inherited" tf:"optional"`

	InheritedFromObject []types.String `tfsdk:"inherited_from_object" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (*RepoPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoPermission)

func (*RepoPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoPermission) SyncEffectiveFieldsDuringRead(existingState RepoPermission)

type RepoPermissions

type RepoPermissions struct {
	AccessControlList []RepoAccessControlResponse `tfsdk:"access_control_list" tf:"optional"`

	ObjectId types.String `tfsdk:"object_id" tf:"optional"`

	ObjectType types.String `tfsdk:"object_type" tf:"optional"`
}

func (*RepoPermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoPermissions)

func (*RepoPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoPermissions) SyncEffectiveFieldsDuringRead(existingState RepoPermissions)

type RepoPermissionsDescription

type RepoPermissionsDescription struct {
	Description types.String `tfsdk:"description" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (*RepoPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoPermissionsDescription)

func (*RepoPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsDescription)

type RepoPermissionsRequest

type RepoPermissionsRequest struct {
	AccessControlList []RepoAccessControlRequest `tfsdk:"access_control_list" tf:"optional"`
	// The repo for which to get or manage permissions.
	RepoId types.String `tfsdk:"-"`
}

func (*RepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoPermissionsRequest)

func (*RepoPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepoPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsRequest)

type SecretMetadata

type SecretMetadata struct {
	// A unique name to identify the secret.
	Key types.String `tfsdk:"key" tf:"optional"`
	// The last updated timestamp (in milliseconds) for the secret.
	LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"`
}

func (*SecretMetadata) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SecretMetadata) SyncEffectiveFieldsDuringCreateOrUpdate(plan SecretMetadata)

func (*SecretMetadata) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SecretMetadata) SyncEffectiveFieldsDuringRead(existingState SecretMetadata)

type SecretScope

type SecretScope struct {
	// The type of secret scope backend.
	BackendType types.String `tfsdk:"backend_type" tf:"optional"`
	// The metadata for the secret scope if the type is `AZURE_KEYVAULT`
	KeyvaultMetadata []AzureKeyVaultSecretScopeMetadata `tfsdk:"keyvault_metadata" tf:"optional,object"`
	// A unique name to identify the secret scope.
	Name types.String `tfsdk:"name" tf:"optional"`
}

func (*SecretScope) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SecretScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan SecretScope)

func (*SecretScope) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SecretScope) SyncEffectiveFieldsDuringRead(existingState SecretScope)

type SparseCheckout

type SparseCheckout struct {
	// List of sparse checkout cone patterns, see [cone mode handling] for
	// details.
	//
	// [cone mode handling]: https://git-scm.com/docs/git-sparse-checkout#_internalscone_mode_handling
	Patterns []types.String `tfsdk:"patterns" tf:"optional"`
}

Sparse checkout configuration, it contains options like cone patterns.

func (*SparseCheckout) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SparseCheckout) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparseCheckout)

func (*SparseCheckout) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SparseCheckout) SyncEffectiveFieldsDuringRead(existingState SparseCheckout)

type SparseCheckoutUpdate

type SparseCheckoutUpdate struct {
	// List of sparse checkout cone patterns, see [cone mode handling] for
	// details.
	//
	// [cone mode handling]: https://git-scm.com/docs/git-sparse-checkout#_internalscone_mode_handling
	Patterns []types.String `tfsdk:"patterns" tf:"optional"`
}

Sparse checkout configuration, it contains options like cone patterns.

func (*SparseCheckoutUpdate) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SparseCheckoutUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparseCheckoutUpdate)

func (*SparseCheckoutUpdate) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SparseCheckoutUpdate) SyncEffectiveFieldsDuringRead(existingState SparseCheckoutUpdate)

type UpdateCredentialsRequest added in v1.53.0

type UpdateCredentialsRequest struct {
	// The ID for the corresponding credential to access.
	CredentialId types.Int64 `tfsdk:"-"`
	// Git provider. This field is case-insensitive. The available Git providers
	// are `gitHub`, `bitbucketCloud`, `gitLab`, `azureDevOpsServices`,
	// `gitHubEnterprise`, `bitbucketServer`, `gitLabEnterpriseEdition` and
	// `awsCodeCommit`.
	GitProvider types.String `tfsdk:"git_provider" tf:""`
	// The username or email provided with your Git provider account, depending
	// on which provider you are using. For GitHub, GitHub Enterprise Server, or
	// Azure DevOps Services, either email or username may be used. For GitLab,
	// GitLab Enterprise Edition, email must be used. For AWS CodeCommit,
	// BitBucket or BitBucket Server, username must be used. For all other
	// providers please see your provider's Personal Access Token authentication
	// documentation to see what is supported.
	GitUsername types.String `tfsdk:"git_username" tf:"optional"`
	// The personal access token used to authenticate to the corresponding Git
	// provider. For certain providers, support may exist for other types of
	// scoped access tokens. [Learn more].
	//
	// [Learn more]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html
	PersonalAccessToken types.String `tfsdk:"personal_access_token" tf:"optional"`
}

func (*UpdateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCredentialsRequest)

func (*UpdateCredentialsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsRequest)

type UpdateCredentialsResponse added in v1.53.0

type UpdateCredentialsResponse struct {
}

func (*UpdateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCredentialsResponse)

func (*UpdateCredentialsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsResponse)

type UpdateRepoRequest added in v1.53.0

type UpdateRepoRequest struct {
	// Branch that the local version of the repo is checked out to.
	Branch types.String `tfsdk:"branch" tf:"optional"`
	// ID of the Git folder (repo) object in the workspace.
	RepoId types.Int64 `tfsdk:"-"`
	// If specified, update the sparse checkout settings. The update will fail
	// if sparse checkout is not enabled for the repo.
	SparseCheckout []SparseCheckoutUpdate `tfsdk:"sparse_checkout" tf:"optional,object"`
	// Tag that the local version of the repo is checked out to. Updating the
	// repo to a tag puts the repo in a detached HEAD state. Before committing
	// new changes, you must update the repo to a branch instead of the detached
	// HEAD.
	Tag types.String `tfsdk:"tag" tf:"optional"`
}

func (*UpdateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRepoRequest)

func (*UpdateRepoRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateRepoRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRepoRequest)

type UpdateRepoResponse added in v1.53.0

type UpdateRepoResponse struct {
}

func (*UpdateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRepoResponse)

func (*UpdateRepoResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateRepoResponse) SyncEffectiveFieldsDuringRead(existingState UpdateRepoResponse)

type WorkspaceObjectAccessControlRequest

type WorkspaceObjectAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (*WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectAccessControlRequest)

func (*WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlRequest)

type WorkspaceObjectAccessControlResponse

type WorkspaceObjectAccessControlResponse struct {
	// All permissions.
	AllPermissions []WorkspaceObjectPermission `tfsdk:"all_permissions" tf:"optional"`
	// Display name of the user or service principal.
	DisplayName types.String `tfsdk:"display_name" tf:"optional"`
	// name of the group
	GroupName types.String `tfsdk:"group_name" tf:"optional"`
	// Name of the service principal.
	ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"`
	// name of the user
	UserName types.String `tfsdk:"user_name" tf:"optional"`
}

func (*WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectAccessControlResponse)

func (*WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlResponse)

type WorkspaceObjectPermission

type WorkspaceObjectPermission struct {
	Inherited types.Bool `tfsdk:"inherited" tf:"optional"`

	InheritedFromObject []types.String `tfsdk:"inherited_from_object" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (*WorkspaceObjectPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectPermission)

func (*WorkspaceObjectPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectPermission) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermission)

type WorkspaceObjectPermissions

type WorkspaceObjectPermissions struct {
	AccessControlList []WorkspaceObjectAccessControlResponse `tfsdk:"access_control_list" tf:"optional"`

	ObjectId types.String `tfsdk:"object_id" tf:"optional"`

	ObjectType types.String `tfsdk:"object_type" tf:"optional"`
}

func (*WorkspaceObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectPermissions)

func (*WorkspaceObjectPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectPermissions) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissions)

type WorkspaceObjectPermissionsDescription

type WorkspaceObjectPermissionsDescription struct {
	Description types.String `tfsdk:"description" tf:"optional"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"`
}

func (*WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectPermissionsDescription)

func (*WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsDescription)

type WorkspaceObjectPermissionsRequest

type WorkspaceObjectPermissionsRequest struct {
	AccessControlList []WorkspaceObjectAccessControlRequest `tfsdk:"access_control_list" tf:"optional"`
	// The workspace object for which to get or manage permissions.
	WorkspaceObjectId types.String `tfsdk:"-"`
	// The workspace object type for which to get or manage permissions.
	WorkspaceObjectType types.String `tfsdk:"-"`
}

func (*WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceObjectPermissionsRequest)

func (*WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsRequest)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL