Interface GitCredentialsService
-
@Generated public interface GitCredentialsService
Registers personal access token for Databricks to do operations on behalf of the user.See [more info].
[more info]: https://docs.databricks.com/repos/get-access-tokens-from-git-provider.html
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCredentialsResponse
create(CreateCredentials createCredentials)
Create a credential entry.void
delete(DeleteGitCredentialRequest deleteGitCredentialRequest)
Delete a credential.CredentialInfo
get(GetGitCredentialRequest getGitCredentialRequest)
Get a credential entry.GetCredentialsResponse
list()
Get Git credentials.void
update(UpdateCredentials updateCredentials)
Update a credential.
-
-
-
Method Detail
-
create
CreateCredentialsResponse create(CreateCredentials createCredentials)
Create a credential entry.Creates a Git credential entry for the user. Only one Git credential per user is supported, so any attempts to create credentials if an entry already exists will fail. Use the PATCH endpoint to update existing credentials, or the DELETE endpoint to delete existing credentials.
-
delete
void delete(DeleteGitCredentialRequest deleteGitCredentialRequest)
Delete a credential.Deletes the specified Git credential.
-
get
CredentialInfo get(GetGitCredentialRequest getGitCredentialRequest)
Get a credential entry.Gets the Git credential with the specified credential ID.
-
list
GetCredentialsResponse list()
Get Git credentials.Lists the calling user's Git credentials. One credential per user is supported.
-
update
void update(UpdateCredentials updateCredentials)
Update a credential.Updates the specified Git credential.
-
-