Documentation ¶
Index ¶
- Constants
- Variables
- func ADiffB(setA []interface{}, setB []interface{}) []string
- func APIIntegration() *schema.Resource
- func Account() *schema.Resource
- func AccountAuthenticationPolicyAttachment() *schema.Resource
- func AccountParameter() *schema.Resource
- func AccountPasswordPolicyAttachment() *schema.Resource
- func AccountRole() *schema.Resource
- func Alert() *schema.Resource
- func ApiAuthenticationIntegrationWithAuthorizationCodeGrant() *schema.Resource
- func ApiAuthenticationIntegrationWithClientCredentials() *schema.Resource
- func ApiAuthenticationIntegrationWithJwtBearer() *schema.Resource
- func AuthenticationPolicy() *schema.Resource
- func BoolParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, ...) schema.CustomizeDiffFunc
- func ComputedIfAnyAttributeChanged(resourceSchema map[string]*schema.Schema, key string, ...) schema.CustomizeDiffFunc
- func CortexSearchService() *schema.Resource
- func CreateAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextFunctionJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextFunctionJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextFunctionPython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextFunctionScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextFunctionSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextOauthIntegrationForPartnerApplications(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextProcedureJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextProcedureJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextProcedurePython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextProcedureScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextProcedureSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSAML2Integration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreatePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreatePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateStreamOnDirectoryTable(orReplace bool) schema.CreateContextFunc
- func CreateStreamOnExternalTable(orReplace bool) schema.CreateContextFunc
- func CreateStreamOnTable(orReplace bool) schema.CreateContextFunc
- func CreateStreamOnView(orReplace bool) schema.CreateContextFunc
- func CreateTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
- func CreateUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateView(orReplace bool) schema.CreateContextFunc
- func CreateWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func Database() *schema.Resource
- func DatabaseRole() *schema.Resource
- func DeleteAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextSAM2LIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextSecret(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextSecurityIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteFunction(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeletePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeletePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteProcedure(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteResource(t string, builder func(string) *snowflake.Builder) func(*schema.ResourceData, interface{}) error
- func DeleteResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteStreamContext(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
- func DeleteUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DiffSuppressStatement(_, old, new string, _ *schema.ResourceData) bool
- func DynamicTable() *schema.Resource
- func EmailNotificationIntegration() *schema.Resource
- func Execute() *schema.Resource
- func ExpandObjectIdentifierSet(configured []any, objectType sdk.ObjectType) ([]sdk.ObjectIdentifier, error)
- func ExternalFunction() *schema.Resource
- func ExternalOauthIntegration() *schema.Resource
- func ExternalTable() *schema.Resource
- func ExternalVolume() *schema.Resource
- func FailoverGroup() *schema.Resource
- func FileFormat() *schema.Resource
- func ForceNewIfAllKeysAreNotSet(key string, keys ...string) schema.CustomizeDiffFunc
- func ForceNewIfChangeToEmptySet(key string) schema.CustomizeDiffFunc
- func ForceNewIfChangeToEmptySlice[T any](key string) schema.CustomizeDiffFunc
- func ForceNewIfChangeToEmptyString(key string) schema.CustomizeDiffFunc
- func FormatFullyQualifiedObjectID(dbName, schemaName, objectName string) string
- func FunctionJava() *schema.Resource
- func FunctionJavascript() *schema.Resource
- func FunctionPython() *schema.Resource
- func FunctionScala() *schema.Resource
- func FunctionSql() *schema.Resource
- func GetConfigPropertyAsPointerAllowingZeroValue[T any](d *schema.ResourceData, property string) *T
- func GetCreateUserFunc(userType sdk.UserType) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func GetImportUserFunc(userType sdk.UserType) ...
- func GetOnObjectIdentifier(objectType sdk.ObjectType, objectName string) (sdk.ObjectIdentifier, error)
- func GetPropertyAsPointer[T any](d *schema.ResourceData, property string) *T
- func GetPropertyOfFirstNestedObjectByKey[T any](d *schema.ResourceData, propertyKey string, nestedValueKey string) (*T, error)
- func GetPropertyOfFirstNestedObjectByValueKey[T any](d *schema.ResourceData, propertyKey string) (*T, error)
- func GetReadUserFunc(userType sdk.UserType, withExternalChangesMarking bool) schema.ReadContextFunc
- func GetReadWarehouseFunc(withExternalChangesMarking bool) schema.ReadContextFunc
- func GetTagsDiff(d *schema.ResourceData, key string) (unsetTags []sdk.ObjectIdentifier, setTags []sdk.TagAssociation)
- func GetUpdateUserFunc(userType sdk.UserType) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func GrantAccountRole() *schema.Resource
- func GrantApplicationRole() *schema.Resource
- func GrantDatabaseRole() *schema.Resource
- func GrantOwnership() *schema.Resource
- func GrantPrivilegesToAccountRole() *schema.Resource
- func GrantPrivilegesToDatabaseRole() *schema.Resource
- func GrantPrivilegesToShare() *schema.Resource
- func IgnoreAfterCreation(_, _, _ string, d *schema.ResourceData) bool
- func IgnoreChangeToCurrentSnowflakeListValueInDescribe(keyInDescribeOutput string) schema.SchemaDiffSuppressFunc
- func IgnoreChangeToCurrentSnowflakePlainValueInOutput(attrName, keyInOutput string) schema.SchemaDiffSuppressFunc
- func IgnoreChangeToCurrentSnowflakePlainValueInOutputWithMapping(attrName, keyInOutput string, mapping func(any) any) schema.SchemaDiffSuppressFunc
- func IgnoreChangeToCurrentSnowflakeValueInDescribe(keyInOutput string) schema.SchemaDiffSuppressFunc
- func IgnoreChangeToCurrentSnowflakeValueInShow(keyInOutput string) schema.SchemaDiffSuppressFunc
- func IgnoreChangeToCurrentSnowflakeValueInShowWithMapping(keyInOutput string, mapping func(any) any) schema.SchemaDiffSuppressFunc
- func IgnoreMatchingColumnNameAndMaskingPolicyUsingFirstElem() schema.SchemaDiffSuppressFunc
- func IgnoreNewEmptyListOrSubfields(ignoredSubfields ...string) schema.SchemaDiffSuppressFunc
- func IgnoreValuesFromSetIfParamSet(key, param string, values []string) schema.SchemaDiffSuppressFunc
- func ImportAccount(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportApiAuthenticationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportApiAuthenticationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportApiAuthenticationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportFunction(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportGrantOwnership() schema.StateContextFunc
- func ImportGrantPrivilegesToAccountRole() ...
- func ImportGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportGrantPrivilegesToShare() ...
- func ImportMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportName[...](ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportOauthForCustomClientsIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportOauthForPartnerApplicationIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportProcedure(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSaml2Integration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSchema(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportScimIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportStreamOnExternalTable(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportStreamOnTable(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportStreamOnView(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportStreamlit(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportTask(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportView(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportWarehouse(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func IntInSlice(valid []int) schema.SchemaValidateDiagFunc
- func IntParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, ...) schema.CustomizeDiffFunc
- func IsValidAccountIdentifier() schema.SchemaValidateDiagFunc
- func IsValidIdentifier[...]() schema.SchemaValidateDiagFunc
- func JoinDiags(diagnostics ...diag.Diagnostics) diag.Diagnostics
- func LegacyServiceUser() *schema.Resource
- func ListDiff[T comparable](beforeList []T, afterList []T) (added []T, removed []T)
- func ListDiffWithCommonItems[T comparable](beforeList []T, afterList []T) (added []T, removed []T, common []T)
- func ManagedAccount() *schema.Resource
- func MaskingPolicy() *schema.Resource
- func MaterializedView() *schema.Resource
- func NetworkPolicy() *schema.Resource
- func NetworkPolicyAttachment() *schema.Resource
- func NetworkRule() *schema.Resource
- func NormalizeAndCompare[T comparable](normalize func(string) (T, error)) schema.SchemaDiffSuppressFunc
- func NormalizeAndCompareIdentifiersInSet(key string) schema.SchemaDiffSuppressFunc
- func NormalizeAndCompareUsingFunc[T any](normalize func(string) (T, error), compareFunc func(a, b T) bool) schema.SchemaDiffSuppressFunc
- func NotificationIntegration() *schema.Resource
- func OauthIntegrationForCustomClients() *schema.Resource
- func OauthIntegrationForPartnerApplications() *schema.Resource
- func ObjectParameter() *schema.Resource
- func ObjectRenamingListsAndSets() *schema.Resource
- func ParameterValueComputedIf[T ~string](key string, parameters []*sdk.Parameter, ...) schema.CustomizeDiffFunc
- func ParametersCustomDiff[T ~string](...) schema.CustomizeDiffFunc
- func ParseFullyQualifiedObjectID(s string) (dbName, schemaName, objectName string)
- func PasswordPolicy() *schema.Resource
- func Pipe() *schema.Resource
- func PreviewFeatureCreateContextWrapper(featureRaw string, createFunc schema.CreateContextFunc) schema.CreateContextFunc
- func PreviewFeatureDeleteContextWrapper(featureRaw string, deleteFunc schema.DeleteContextFunc) schema.DeleteContextFunc
- func PreviewFeatureReadContextWrapper(featureRaw string, readFunc schema.ReadContextFunc) schema.ReadContextFunc
- func PreviewFeatureUpdateContextWrapper(featureRaw string, updateFunc schema.UpdateContextFunc) schema.UpdateContextFunc
- func PrimaryConnection() *schema.Resource
- func ProcedureJava() *schema.Resource
- func ProcedureJavascript() *schema.Resource
- func ProcedurePython() *schema.Resource
- func ProcedureScala() *schema.Resource
- func ProcedureSql() *schema.Resource
- func ReadAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadAccount(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextApiAuthenticationIntegrationWithClientCredentials(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextApiAuthenticationIntegrationWithJwtBearer(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextExternalOauthIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextExternalVolume(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextFunctionJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextFunctionJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextFunctionPython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextFunctionScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextFunctionSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextOauthIntegrationForCustomClients(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextOauthIntegrationForPartnerApplications(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextProcedureJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextProcedureJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextProcedurePython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextProcedureScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextProcedureSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextSAML2Integration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSCIMIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSchema(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextSecretWithAuthorizationCodeGrant(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadMaskingPolicy(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadObjectRenamingListsAndSets(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadPasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadPipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadResourceMonitor(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadStreamOnDirectoryTable(withDirectoryChangesMarking bool) schema.ReadContextFunc
- func ReadStreamOnExternalTable(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadStreamOnTable(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadStreamOnView(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadTableConstraint(ctx context.Context, _ *schema.ResourceData, _ interface{}) diag.Diagnostics
- func ReadTask(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadView(withExternalChangesMarking bool) schema.ReadContextFunc
- func RecreateWhenResourceBoolFieldChangedExternally(boolField string, wantValue bool) schema.CustomizeDiffFunc
- func RecreateWhenResourceStringFieldChangedExternally(field string, wantValue string) schema.CustomizeDiffFunc
- func RecreateWhenResourceTypeChangedExternally[T ~string](typeField string, wantType T, toType func(string) (T, error)) schema.CustomizeDiffFunc
- func RecreateWhenSecretTypeChangedExternally(secretType sdk.SecretType) schema.CustomizeDiffFunc
- func RecreateWhenStreamIsStale() schema.CustomizeDiffFunc
- func RecreateWhenStreamTypeChangedExternally(streamType sdk.StreamSourceType) schema.CustomizeDiffFunc
- func RecreateWhenUserTypeChangedExternally(userType sdk.UserType) schema.CustomizeDiffFunc
- func ResourceMonitor() *schema.Resource
- func RowAccessPolicy() *schema.Resource
- func SAML2Integration() *schema.Resource
- func SCIMIntegration() *schema.Resource
- func Schema() *schema.Resource
- func SecondaryConnection() *schema.Resource
- func SecondaryDatabase() *schema.Resource
- func SecretWithAuthorizationCodeGrant() *schema.Resource
- func SecretWithBasicAuthentication() *schema.Resource
- func SecretWithClientCredentials() *schema.Resource
- func SecretWithGenericString() *schema.Resource
- func Sequence() *schema.Resource
- func ServiceUser() *schema.Resource
- func SetPropertyOfFirstNestedObjectByKey[T any](d *schema.ResourceData, propertyKey string, nestedValueKey string, value T) error
- func SetPropertyOfFirstNestedObjectByValueKey[T any](d *schema.ResourceData, propertyKey string, value T) error
- func Share() *schema.Resource
- func SharedDatabase() *schema.Resource
- func Stage() *schema.Resource
- func StorageIntegration() *schema.Resource
- func StreamOnDirectoryTable() *schema.Resource
- func StreamOnExternalTable() *schema.Resource
- func StreamOnTable() *schema.Resource
- func StreamOnView() *schema.Resource
- func Streamlit() *schema.Resource
- func StringInSlice(valid []string, ignoreCase bool) schema.SchemaValidateDiagFunc
- func StringParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, ...) schema.CustomizeDiffFunc
- func SuppressCaseInSet(key string) schema.SchemaDiffSuppressFunc
- func SuppressIfAny(diffSuppressFunctions ...schema.SchemaDiffSuppressFunc) schema.SchemaDiffSuppressFunc
- func Table() *schema.Resource
- func TableColumnMaskingPolicyApplication() *schema.Resource
- func TableColumnMaskingPolicyApplicationID(mpa *snowflake.TableColumnMaskingPolicyApplication) string
- func TableColumnMaskingPolicyApplicationIdentifier(id string) (table *snowflake.SchemaObjectIdentifier, column string)
- func TableConstraint() *schema.Resource
- func Tag() *schema.Resource
- func TagAssociation() *schema.Resource
- func TagIdentifierAndObjectIdentifier(d *schema.ResourceData) (sdk.SchemaObjectIdentifier, []sdk.ObjectIdentifier, sdk.ObjectType, error)
- func Task() *schema.Resource
- func TrackingCreateWrapper(resourceName resources.Resource, createImplementation schema.CreateContextFunc) schema.CreateContextFunc
- func TrackingCustomDiffWrapper(resourceName resources.Resource, ...) schema.CustomizeDiffFunc
- func TrackingDeleteWrapper(resourceName resources.Resource, deleteImplementation schema.DeleteContextFunc) schema.DeleteContextFunc
- func TrackingImportWrapper(resourceName resources.Resource, importImplementation schema.StateContextFunc) schema.StateContextFunc
- func TrackingReadWrapper(resourceName resources.Resource, readImplementation schema.ReadContextFunc) schema.ReadContextFunc
- func TrackingUpdateWrapper(resourceName resources.Resource, updateImplementation schema.UpdateContextFunc) schema.UpdateContextFunc
- func UpdateAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextOauthIntegrationForPartnerApplications(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSAML2Integration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateFunction(language string, ...) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdatePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdatePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateProcedure(language string, ...) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStreamOnDirectoryTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStreamOnExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStreamOnTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateStreamOnView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
- func UpdateUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func User() *schema.Resource
- func UserAuthenticationPolicyAttachment() *schema.Resource
- func UserPasswordPolicyAttachment() *schema.Resource
- func UserPublicKeys() *schema.Resource
- func View() *schema.Resource
- func Warehouse() *schema.Resource
- type AccountRoleGrantKind
- type BulkOperationGrantData
- type BulkOperationGrantKind
- type DatabaseRoleGrantKind
- type GrantOwnershipId
- type GrantOwnershipKind
- type GrantOwnershipTargetRoleKind
- type GrantPrivilegesToAccountRoleId
- type GrantPrivilegesToDatabaseRoleId
- type GrantPrivilegesToShareId
- type ObjectRenamingDatabaseChangelog
- type ObjectRenamingDatabaseChangelogChange
- type ObjectRenamingDatabaseListItem
- type ObjectRenamingDatabaseManuallyOrderedListItem
- type OnAccountGrantData
- type OnAccountObjectGrantData
- type OnDatabaseGrantData
- type OnObjectGrantOwnershipData
- type OnSchemaGrantData
- type OnSchemaGrantKind
- type OnSchemaObjectGrantData
- type OnSchemaObjectGrantKind
- type OutboundPrivilegesBehavior
- type PlanCheckFunc
- type ResourceIdProvider
- type ResourceValueSetter
- type ShareGrantKind
- type ViewDataMetricFunctionConfig
Constants ¶
const ( FullyQualifiedNameAttributeName = "fully_qualified_name" AtAttributeName = "at" BeforeAttributeName = "before" )
const ( ShowOutputAttributeName = "show_output" DescribeOutputAttributeName = "describe_output" ParametersAttributeName = "parameters" RelatedParametersAttributeName = "related_parameters" )
const ( BooleanTrue = "true" BooleanFalse = "false" BooleanDefault = "default" IntDefault = -1 IntDefaultString = "-1" )
const (
SnowflakeReaderAccountType = "READER"
)
Variables ¶
var DiffSuppressDataTypes = NormalizeAndCompareUsingFunc(datatypes.ParseDataType, datatypes.AreTheSame)
DiffSuppressDataTypes handles data type suppression taking into account data type attributes for each type. It falls back to Snowflake defaults for arguments if no arguments were provided for the data type.
var IsDataTypeValid = sdkValidation(datatypes.ParseDataType)
var ObjectRenamingDatabaseInstance = &objectRenamingDatabase{ List: make([]ObjectRenamingDatabaseListItem, 0), OrderedList: make([]objectRenamingDatabaseOrderedListItem, 0), ManuallyOrderedList: make([]ObjectRenamingDatabaseManuallyOrderedListItem, 0), ChangeLog: ObjectRenamingDatabaseChangelog{}, }
var StreamOnViewSchema = func() map[string]*schema.Schema { streamOnView := map[string]*schema.Schema{ "view": { Type: schema.TypeString, Required: true, Description: relatedResourceDescription(blocklistedCharactersFieldDescription("Specifies an identifier for the view the stream will monitor."), resources.View), DiffSuppressFunc: SuppressIfAny(suppressIdentifierQuoting, IgnoreChangeToCurrentSnowflakeValueInShow("table_name")), ValidateDiagFunc: IsValidIdentifier[sdk.SchemaObjectIdentifier](), }, "append_only": { Type: schema.TypeString, Optional: true, Default: BooleanDefault, ValidateDiagFunc: validateBooleanString, DiffSuppressFunc: IgnoreChangeToCurrentSnowflakeValueInShowWithMapping("mode", func(x any) any { return x.(string) == string(sdk.StreamModeAppendOnly) }), Description: booleanStringFieldDescription("Specifies whether this is an append-only stream."), }, "show_initial_rows": { Type: schema.TypeString, Optional: true, Default: BooleanDefault, ValidateDiagFunc: validateBooleanString, Description: externalChangesNotDetectedFieldDescription(booleanStringFieldDescription("Specifies whether to return all existing rows in the source table as row inserts the first time the stream is consumed.")), }, AtAttributeName: atSchema, BeforeAttributeName: beforeSchema, } return collections.MergeMaps(streamCommonSchema, streamOnView) }()
Functions ¶
func ADiffB ¶ added in v0.69.0
func ADiffB(setA []interface{}, setB []interface{}) []string
ADiffB takes all the elements of A that are not also present in B, A-B in set notation
func APIIntegration ¶ added in v0.34.0
APIIntegration returns a pointer to the resource representing an api integration.
func AccountAuthenticationPolicyAttachment ¶ added in v0.98.0
AccountAuthenticationPolicyAttachment returns a pointer to the resource representing an account authentication policy attachment.
func AccountParameter ¶ added in v0.54.0
func AccountPasswordPolicyAttachment ¶ added in v0.67.0
AccountPasswordPolicyAttachment returns a pointer to the resource representing an account password policy attachment.
func AccountRole ¶ added in v0.94.0
func ApiAuthenticationIntegrationWithAuthorizationCodeGrant ¶ added in v0.93.0
func ApiAuthenticationIntegrationWithClientCredentials ¶ added in v0.93.0
func ApiAuthenticationIntegrationWithJwtBearer ¶ added in v0.93.0
func AuthenticationPolicy ¶ added in v0.98.0
AuthenticationPolicy returns a pointer to the resource representing an authentication policy.
func BoolParameterValueComputedIf ¶ added in v0.93.0
func BoolParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, parameter T) schema.CustomizeDiffFunc
func ComputedIfAnyAttributeChanged ¶ added in v0.93.0
func ComputedIfAnyAttributeChanged(resourceSchema map[string]*schema.Schema, key string, changedAttributeKeys ...string) schema.CustomizeDiffFunc
ComputedIfAnyAttributeChanged marks the given fields as computed if any of the listed fields changes. It takes field-level diffSuppress into consideration based on the schema passed. If the field is not found in the given schema, it continues without error. Only top level schema fields should be used.
func CortexSearchService ¶ added in v0.93.0
CortexSearchService returns a pointer to the resource representing a Cortex search service.
func CreateAPIIntegration ¶ added in v0.34.0
func CreateAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateAPIIntegration implements schema.CreateFunc.
func CreateAccount ¶ added in v0.56.0
func CreateAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateAccountAuthenticationPolicyAttachment ¶ added in v0.98.0
func CreateAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateAccountAuthenticationPolicyAttachment implements schema.CreateFunc.
func CreateAccountParameter ¶ added in v0.54.0
func CreateAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateAccountParameter implements schema.CreateFunc.
func CreateAccountPasswordPolicyAttachment ¶ added in v0.67.0
func CreateAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateAccountPasswordPolicyAttachment implements schema.CreateFunc.
func CreateAccountRole ¶ added in v0.85.0
func CreateAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateAlert ¶ added in v0.62.0
func CreateAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateAlert implements schema.CreateContextFunc.
func CreateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant ¶ added in v0.93.0
func CreateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextApiAuthenticationIntegrationWithClientCredentials ¶ added in v0.93.0
func CreateContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextApiAuthenticationIntegrationWithJwtBearer ¶ added in v0.93.0
func CreateContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextAuthenticationPolicy ¶ added in v0.98.0
func CreateContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextExternalFunction ¶ added in v0.86.0
func CreateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextExternalOauthIntegration ¶ added in v0.93.0
func CreateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextExternalVolume ¶ added in v0.98.0
func CreateContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextFunctionJava ¶ added in v1.0.0
func CreateContextFunctionJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextFunctionJavascript ¶ added in v1.0.0
func CreateContextFunctionJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextFunctionPython ¶ added in v1.0.0
func CreateContextFunctionPython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextFunctionScala ¶ added in v1.0.0
func CreateContextFunctionScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextFunctionSql ¶ added in v1.0.0
func CreateContextFunctionSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextGrantApplicationRole ¶ added in v0.91.0
func CreateContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextNetworkPolicy ¶ added in v0.92.0
func CreateContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextNetworkRule ¶ added in v0.92.0
func CreateContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextOauthIntegrationForCustomClients ¶ added in v0.93.0
func CreateContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextOauthIntegrationForPartnerApplications ¶ added in v0.93.0
func CreateContextOauthIntegrationForPartnerApplications(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextPrimaryConnection ¶ added in v0.98.0
func CreateContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextProcedureJava ¶ added in v1.0.0
func CreateContextProcedureJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextProcedureJavascript ¶ added in v1.0.0
func CreateContextProcedureJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextProcedurePython ¶ added in v1.0.0
func CreateContextProcedurePython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextProcedureScala ¶ added in v1.0.0
func CreateContextProcedureScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextProcedureSql ¶ added in v1.0.0
func CreateContextProcedureSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSAML2Integration ¶ added in v0.93.0
func CreateContextSAML2Integration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSCIMIntegration ¶ added in v0.93.0
func CreateContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func CreateContextSchema ¶ added in v0.94.0
func CreateContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSecondaryConnection ¶ added in v0.98.0
func CreateContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSecretWithAuthorizationCodeGrant ¶ added in v0.98.0
func CreateContextSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSecretWithBasicAuthentication ¶ added in v0.98.0
func CreateContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSecretWithClientCredentials ¶ added in v0.98.0
func CreateContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextSecretWithGenericString ¶ added in v0.98.0
func CreateContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextStreamlit ¶ added in v0.94.0
func CreateContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextTag ¶ added in v0.87.1
func CreateContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateContextTagAssociation ¶ added in v0.87.1
func CreateContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateCortexSearchService ¶ added in v0.93.0
func CreateCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateCortexSearchService implements schema.CreateFunc.
func CreateDatabase ¶
func CreateDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateDatabaseRole ¶ added in v0.62.0
func CreateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateDynamicTable ¶ added in v0.74.0
func CreateDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateDynamicTable implements schema.CreateFunc.
func CreateEmailNotificationIntegration ¶ added in v0.64.0
func CreateEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateEmailNotificationIntegration implements schema.CreateFunc.
func CreateExecute ¶ added in v1.0.0
func CreateExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateExternalTable ¶ added in v0.34.0
func CreateExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateExternalTable implements schema.CreateFunc.
func CreateFailoverGroup ¶ added in v0.49.0
func CreateFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateFailoverGroup implements schema.CreateFunc.
func CreateFileFormat ¶ added in v0.34.0
func CreateFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateFileFormat implements schema.CreateFunc.
func CreateGrantAccountRole ¶ added in v0.84.0
func CreateGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateGrantAccountRole implements schema.CreateFunc.
func CreateGrantDatabaseRole ¶ added in v0.84.0
func CreateGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
CreateGrantDatabaseRole implements schema.CreateFunc.
func CreateGrantOwnership ¶ added in v0.88.0
func CreateGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateGrantPrivilegesToAccountRole ¶ added in v0.85.0
func CreateGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateGrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func CreateGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateGrantPrivilegesToShare ¶ added in v0.85.0
func CreateGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateManagedAccount ¶ added in v0.34.0
func CreateManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateManagedAccount implements schema.CreateFunc.
func CreateMaskingPolicy ¶ added in v0.34.0
func CreateMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateMaterializedView ¶ added in v0.34.0
func CreateMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateMaterializedView implements schema.CreateFunc.
func CreateNetworkPolicyAttachment ¶ added in v0.34.0
func CreateNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateNetworkPolicyAttachment implements schema.CreateFunc.
func CreateNotificationIntegration ¶ added in v0.34.0
func CreateNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateNotificationIntegration implements schema.CreateFunc.
func CreateObjectParameter ¶ added in v0.54.0
func CreateObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateObjectParameter implements schema.CreateFunc.
func CreateObjectRenamingListsAndSets ¶ added in v0.98.0
func CreateObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreatePasswordPolicy ¶ added in v0.62.0
func CreatePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreatePasswordPolicy implements schema.CreateFunc.
func CreatePipe ¶ added in v0.34.0
func CreatePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreatePipe implements schema.CreateFunc.
func CreateResourceMonitor ¶ added in v0.34.0
func CreateResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateRowAccessPolicy ¶ added in v0.34.0
func CreateRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateSecondaryDatabase ¶ added in v0.92.0
func CreateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateSequence ¶ added in v0.34.0
func CreateSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateShare ¶ added in v0.34.0
func CreateShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateShare implements schema.CreateFunc.
func CreateSharedDatabase ¶ added in v0.92.0
func CreateSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateStage ¶ added in v0.34.0
func CreateStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateStorageIntegration ¶ added in v0.34.0
func CreateStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateStreamOnDirectoryTable ¶ added in v0.98.0
func CreateStreamOnDirectoryTable(orReplace bool) schema.CreateContextFunc
func CreateStreamOnExternalTable ¶ added in v0.97.0
func CreateStreamOnExternalTable(orReplace bool) schema.CreateContextFunc
func CreateStreamOnTable ¶ added in v0.97.0
func CreateStreamOnTable(orReplace bool) schema.CreateContextFunc
func CreateStreamOnView ¶ added in v0.98.0
func CreateStreamOnView(orReplace bool) schema.CreateContextFunc
func CreateTable ¶ added in v0.34.0
func CreateTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateTable implements schema.CreateFunc.
func CreateTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func CreateTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateTableColumnMaskingPolicyApplication implements schema.CreateFunc.
func CreateTableConstraint ¶ added in v0.47.0
func CreateTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateTableConstraint implements schema.CreateFunc.
func CreateTask ¶ added in v0.34.0
func CreateTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
func CreateUserAuthenticationPolicyAttachment ¶ added in v0.98.0
func CreateUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateUserPasswordPolicyAttachment ¶ added in v0.86.0
func CreateUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateUserPublicKeys ¶ added in v0.34.0
func CreateUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateView ¶ added in v0.34.0
func CreateView(orReplace bool) schema.CreateContextFunc
func CreateWarehouse ¶
func CreateWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
CreateWarehouse implements schema.CreateFunc.
func DatabaseRole ¶ added in v0.62.0
func DeleteAPIIntegration ¶ added in v0.34.0
func DeleteAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DeleteAPIIntegration implements schema.DeleteFunc.
func DeleteAccount ¶ added in v0.56.0
func DeleteAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteAccountAuthenticationPolicyAttachment ¶ added in v0.98.0
func DeleteAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DeleteAccountAuthenticationPolicyAttachment implements schema.DeleteFunc.
func DeleteAccountParameter ¶ added in v0.54.0
func DeleteAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteAccountParameter implements schema.DeleteFunc.
func DeleteAccountPasswordPolicyAttachment ¶ added in v0.67.0
func DeleteAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DeleteAccountPasswordPolicyAttachment implements schema.DeleteFunc.
func DeleteAccountRole ¶ added in v0.85.0
func DeleteAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteAlert ¶ added in v0.62.0
func DeleteAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DeleteAlert implements schema.DeleteContextFunc.
func DeleteContextApiAuthenticationIntegrationWithAuthorizationCodeGrant ¶ added in v0.93.0
func DeleteContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextApiAuthenticationIntegrationWithClientCredentials ¶ added in v0.93.0
func DeleteContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextApiAuthenticationIntegrationWithJwtBearer ¶ added in v0.93.0
func DeleteContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextAuthenticationPolicy ¶ added in v0.98.0
func DeleteContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextExternalFunction ¶ added in v0.86.0
func DeleteContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextExternalOauthIntegration ¶ added in v0.93.0
func DeleteContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextExternalVolume ¶ added in v0.98.0
func DeleteContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextGrantApplicationRole ¶ added in v0.91.0
func DeleteContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextNetworkPolicy ¶ added in v0.92.0
func DeleteContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextNetworkRule ¶ added in v0.92.0
func DeleteContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextOauthIntegrationForCustomClients ¶ added in v0.93.0
func DeleteContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextPrimaryConnection ¶ added in v0.98.0
func DeleteContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextSAM2LIntegration ¶ added in v0.93.0
func DeleteContextSAM2LIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextSCIMIntegration ¶ added in v0.93.0
func DeleteContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteContextSchema ¶ added in v0.94.0
func DeleteContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextSecondaryConnection ¶ added in v0.98.0
func DeleteContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextSecret ¶ added in v0.98.0
func DeleteContextSecret(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextSecurityIntegration ¶ added in v0.93.0
func DeleteContextSecurityIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextStreamlit ¶ added in v0.94.0
func DeleteContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextTag ¶ added in v0.87.1
func DeleteContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteContextTagAssociation ¶ added in v0.87.1
func DeleteContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteCortexSearchService ¶ added in v0.93.0
func DeleteCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteCortexSearchService implements schema.DeleteFunc.
func DeleteDatabase ¶
func DeleteDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteDatabaseRole ¶ added in v0.62.0
func DeleteDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteDynamicTable ¶ added in v0.74.0
func DeleteDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteDynamicTable implements schema.DeleteFunc.
func DeleteEmailNotificationIntegration ¶ added in v0.64.0
func DeleteEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteEmailNotificationIntegration implements schema.DeleteFunc.
func DeleteExecute ¶ added in v1.0.0
func DeleteExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteExternalTable ¶ added in v0.34.0
func DeleteExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteExternalTable implements schema.DeleteFunc.
func DeleteFailoverGroup ¶ added in v0.49.0
func DeleteFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteFailoverGroup implements schema.DeleteFunc.
func DeleteFileFormat ¶ added in v0.34.0
func DeleteFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteFileFormat implements schema.DeleteFunc.
func DeleteFunction ¶ added in v0.34.0
func DeleteFunction(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteGrantAccountRole ¶ added in v0.84.0
func DeleteGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DeleteGrantDatabaseRole ¶ added in v0.84.0
func DeleteGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DeleteGrantDatabaseRole implements schema.DeleteFunc.
func DeleteGrantOwnership ¶ added in v0.88.0
func DeleteGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteGrantPrivilegesToAccountRole ¶ added in v0.85.0
func DeleteGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteGrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func DeleteGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteGrantPrivilegesToShare ¶ added in v0.85.0
func DeleteGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteManagedAccount ¶ added in v0.34.0
func DeleteManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteManagedAccount implements schema.DeleteFunc.
func DeleteMaskingPolicy ¶ added in v0.34.0
func DeleteMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteMaterializedView ¶ added in v0.34.0
func DeleteMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteMaterializedView implements schema.DeleteFunc.
func DeleteNetworkPolicyAttachment ¶ added in v0.34.0
func DeleteNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteNetworkPolicyAttachment implements schema.DeleteFunc.
func DeleteNotificationIntegration ¶ added in v0.34.0
func DeleteNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteNotificationIntegration implements schema.DeleteFunc.
func DeleteObjectParameter ¶ added in v0.54.0
func DeleteObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteObjectParameter implements schema.DeleteFunc.
func DeleteObjectRenamingListsAndSets ¶ added in v0.98.0
func DeleteObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeletePasswordPolicy ¶ added in v0.62.0
func DeletePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeletePasswordPolicy implements schema.DeleteFunc.
func DeletePipe ¶ added in v0.34.0
func DeletePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeletePipe implements schema.DeleteFunc.
func DeleteProcedure ¶ added in v0.34.0
func DeleteProcedure(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteResource ¶ added in v0.3.0
func DeleteResourceMonitor ¶ added in v0.34.0
func DeleteResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteRowAccessPolicy ¶ added in v0.34.0
func DeleteRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteSecondaryDatabase ¶ added in v0.92.0
func DeleteSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteSequence ¶ added in v0.34.0
func DeleteSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteShare ¶ added in v0.34.0
func DeleteShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteShare implements schema.DeleteFunc.
func DeleteSharedDatabase ¶ added in v0.92.0
func DeleteSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteStage ¶ added in v0.34.0
func DeleteStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteStorageIntegration ¶ added in v0.34.0
func DeleteStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteStreamContext ¶ added in v0.97.0
func DeleteStreamContext(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteTable ¶ added in v0.34.0
func DeleteTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteTable implements schema.DeleteFunc.
func DeleteTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func DeleteTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteTableColumnMaskingPolicyApplication implements schema.DeleteFunc.
func DeleteTableConstraint ¶ added in v0.47.0
func DeleteTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteTableConstraint implements schema.DeleteFunc.
func DeleteTask ¶ added in v0.34.0
func DeleteTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
func DeleteUser ¶
func DeleteUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteUserAuthenticationPolicyAttachment ¶ added in v0.98.0
func DeleteUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteUserPasswordPolicyAttachment ¶ added in v0.86.0
func DeleteUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteUserPublicKeys ¶ added in v0.34.0
func DeleteUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteView ¶ added in v0.34.0
func DeleteView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteWarehouse ¶
func DeleteWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
DeleteWarehouse implements schema.DeleteFunc.
func DiffSuppressStatement ¶ added in v0.34.0
func DiffSuppressStatement(_, old, new string, _ *schema.ResourceData) bool
DiffSuppressStatement will suppress diffs between statements if they differ in only case or in runs of whitespace (\s+ = \s). This is needed because the snowflake api does not faithfully round-trip queries, so we cannot do a simple character-wise comparison to detect changes.
Warnings: We will have false positives in cases where a change in case or run of whitespace is semantically significant.
If we can find a sql parser that can handle the snowflake dialect then we should switch to parsing queries and either comparing ASTs or emitting a canonical serialization for comparison. I couldn't find such a library.
func DynamicTable ¶ added in v0.74.0
DynamicTable returns a pointer to the resource representing a dynamic table.
func EmailNotificationIntegration ¶ added in v0.64.0
EmailNotificationIntegration returns a pointer to the resource representing a notification integration.
func ExpandObjectIdentifierSet ¶ added in v1.0.0
func ExpandObjectIdentifierSet(configured []any, objectType sdk.ObjectType) ([]sdk.ObjectIdentifier, error)
func ExternalFunction ¶ added in v0.34.0
func ExternalOauthIntegration ¶ added in v0.34.0
func ExternalTable ¶ added in v0.34.0
func ExternalVolume ¶ added in v0.98.0
ExternalVolume returns a pointer to the resource representing an external volume.
func FailoverGroup ¶ added in v0.49.0
FailoverGroup returns a pointer to the resource representing a failover group.
func FileFormat ¶ added in v0.34.0
FileFormat returns a pointer to the resource representing a file format.
func ForceNewIfAllKeysAreNotSet ¶ added in v0.96.0
func ForceNewIfAllKeysAreNotSet(key string, keys ...string) schema.CustomizeDiffFunc
func ForceNewIfChangeToEmptySet ¶ added in v0.93.0
func ForceNewIfChangeToEmptySet(key string) schema.CustomizeDiffFunc
ForceNewIfChangeToEmptySet sets a ForceNew for a list field which was set to an empty value.
func ForceNewIfChangeToEmptySlice ¶ added in v0.93.0
func ForceNewIfChangeToEmptySlice[T any](key string) schema.CustomizeDiffFunc
ForceNewIfChangeToEmptySlice sets a ForceNew for a list field which was set to an empty value.
func ForceNewIfChangeToEmptyString ¶ added in v0.93.0
func ForceNewIfChangeToEmptyString(key string) schema.CustomizeDiffFunc
ForceNewIfChangeToEmptyString sets a ForceNew for a string field which was set to an empty value.
func FormatFullyQualifiedObjectID ¶ added in v0.93.0
TODO [SNOW-1634872]: replace during identifiers rework follow-up
func FunctionJava ¶ added in v1.0.0
func FunctionJavascript ¶ added in v1.0.0
func FunctionPython ¶ added in v1.0.0
func FunctionScala ¶ added in v1.0.0
func FunctionSql ¶ added in v1.0.0
func GetConfigPropertyAsPointerAllowingZeroValue ¶ added in v0.93.0
func GetConfigPropertyAsPointerAllowingZeroValue[T any](d *schema.ResourceData, property string) *T
func GetCreateUserFunc ¶ added in v0.97.0
func GetCreateUserFunc(userType sdk.UserType) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func GetImportUserFunc ¶ added in v0.97.0
func GetImportUserFunc(userType sdk.UserType) func(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func GetOnObjectIdentifier ¶ added in v1.0.0
func GetOnObjectIdentifier(objectType sdk.ObjectType, objectName string) (sdk.ObjectIdentifier, error)
TODO(SNOW-1229218): Make sdk.ObjectType + string objectName to sdk.ObjectIdentifier mapping available in the sdk (for all object types).
func GetPropertyAsPointer ¶ added in v0.74.0
func GetPropertyAsPointer[T any](d *schema.ResourceData, property string) *T
func GetPropertyOfFirstNestedObjectByKey ¶ added in v0.92.0
func GetPropertyOfFirstNestedObjectByKey[T any](d *schema.ResourceData, propertyKey string, nestedValueKey string) (*T, error)
GetPropertyOfFirstNestedObjectByKey should be used for single objects defined in the Terraform schema as schema.TypeList with MaxItems set to one and inner schema with single value. To easily retrieve the inner value, you can specify the top-level property with propertyKey and the nested value with nestedValueKey.
func GetPropertyOfFirstNestedObjectByValueKey ¶ added in v0.93.0
func GetPropertyOfFirstNestedObjectByValueKey[T any](d *schema.ResourceData, propertyKey string) (*T, error)
func GetReadUserFunc ¶ added in v0.95.0
func GetReadUserFunc(userType sdk.UserType, withExternalChangesMarking bool) schema.ReadContextFunc
func GetReadWarehouseFunc ¶ added in v0.93.0
func GetReadWarehouseFunc(withExternalChangesMarking bool) schema.ReadContextFunc
func GetTagsDiff ¶ added in v0.80.0
func GetTagsDiff(d *schema.ResourceData, key string) (unsetTags []sdk.ObjectIdentifier, setTags []sdk.TagAssociation)
func GetUpdateUserFunc ¶ added in v0.97.0
func GetUpdateUserFunc(userType sdk.UserType) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func GrantAccountRole ¶ added in v0.84.0
func GrantApplicationRole ¶ added in v0.91.0
func GrantDatabaseRole ¶ added in v0.84.0
func GrantOwnership ¶ added in v0.88.0
func GrantPrivilegesToAccountRole ¶ added in v0.85.0
func GrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func GrantPrivilegesToShare ¶ added in v0.85.0
func IgnoreAfterCreation ¶ added in v0.93.0
func IgnoreAfterCreation(_, _, _ string, d *schema.ResourceData) bool
IgnoreAfterCreation should be used to ignore changes to the given attribute post creation.
func IgnoreChangeToCurrentSnowflakeListValueInDescribe ¶ added in v0.94.0
func IgnoreChangeToCurrentSnowflakeListValueInDescribe(keyInDescribeOutput string) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakeListValueInDescribe works similarly to IgnoreChangeToCurrentSnowflakeValueInDescribe, but assumes that in `describe_output` the value is saved in nested `value` field.
func IgnoreChangeToCurrentSnowflakePlainValueInOutput ¶ added in v0.94.0
func IgnoreChangeToCurrentSnowflakePlainValueInOutput(attrName, keyInOutput string) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakePlainValueInOutput should be used to ignore changes to the given attribute when its value is equal to value in provided `attrName`.
func IgnoreChangeToCurrentSnowflakePlainValueInOutputWithMapping ¶ added in v0.94.0
func IgnoreChangeToCurrentSnowflakePlainValueInOutputWithMapping(attrName, keyInOutput string, mapping func(any) any) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakePlainValueInOutput should be used to ignore changes to the given attribute when its value is equal to value in provided `attrName`.
func IgnoreChangeToCurrentSnowflakeValueInDescribe ¶ added in v0.93.0
func IgnoreChangeToCurrentSnowflakeValueInDescribe(keyInOutput string) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakeValueInDescribe should be used to ignore changes to the given attribute when its value is equal to value in describe_output.
func IgnoreChangeToCurrentSnowflakeValueInShow ¶ added in v0.93.0
func IgnoreChangeToCurrentSnowflakeValueInShow(keyInOutput string) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakeValueInShow should be used to ignore changes to the given attribute when its value is equal to value in show_output.
func IgnoreChangeToCurrentSnowflakeValueInShowWithMapping ¶ added in v0.94.0
func IgnoreChangeToCurrentSnowflakeValueInShowWithMapping(keyInOutput string, mapping func(any) any) schema.SchemaDiffSuppressFunc
IgnoreChangeToCurrentSnowflakeValueInShowWithMapping should be used to ignore changes to the given attribute when its value is equal to value in show_output after applying the mapping.
func IgnoreMatchingColumnNameAndMaskingPolicyUsingFirstElem ¶ added in v1.0.0
func IgnoreMatchingColumnNameAndMaskingPolicyUsingFirstElem() schema.SchemaDiffSuppressFunc
IgnoreMatchingColumnNameAndMaskingPolicyUsingFirstElem ignores when the first element of USING is matching the column name. see USING section in https://docs.snowflake.com/en/sql-reference/sql/create-view#optional-parameters TODO(SNOW-1852423): improve docs and add more tests
func IgnoreNewEmptyListOrSubfields ¶ added in v0.96.0
func IgnoreNewEmptyListOrSubfields(ignoredSubfields ...string) schema.SchemaDiffSuppressFunc
IgnoreNewEmptyListOrSubfields suppresses the diff if `new` list is empty or compared subfield is ignored. Subfields can be nested.
func IgnoreValuesFromSetIfParamSet ¶ added in v0.93.0
func IgnoreValuesFromSetIfParamSet(key, param string, values []string) schema.SchemaDiffSuppressFunc
func ImportAccount ¶ added in v1.0.0
func ImportAccount(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportApiAuthenticationWithAuthorizationCodeGrant ¶ added in v0.93.0
func ImportApiAuthenticationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportApiAuthenticationWithClientCredentials ¶ added in v0.93.0
func ImportApiAuthenticationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportApiAuthenticationWithJwtBearer ¶ added in v0.93.0
func ImportApiAuthenticationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportAuthenticationPolicy ¶ added in v0.98.0
func ImportAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportExternalOauthIntegration ¶ added in v0.93.0
func ImportExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportExternalVolume ¶ added in v0.98.0
func ImportExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportFunction ¶ added in v1.0.0
func ImportFunction(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportGrantOwnership ¶ added in v0.88.0
func ImportGrantOwnership() schema.StateContextFunc
func ImportGrantPrivilegesToAccountRole ¶ added in v0.85.0
func ImportGrantPrivilegesToAccountRole() func(ctx context.Context, d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error)
func ImportGrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func ImportGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportGrantPrivilegesToShare ¶ added in v0.85.0
func ImportGrantPrivilegesToShare() func(ctx context.Context, d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error)
func ImportMaskingPolicy ¶ added in v0.96.0
func ImportMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportName ¶ added in v0.95.0
func ImportName[T sdk.AccountObjectIdentifier | sdk.DatabaseObjectIdentifier | sdk.SchemaObjectIdentifier | sdk.AccountIdentifier](ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportOauthForCustomClientsIntegration ¶ added in v0.93.0
func ImportOauthForCustomClientsIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportOauthForPartnerApplicationIntegration ¶ added in v0.93.0
func ImportOauthForPartnerApplicationIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportProcedure ¶ added in v1.0.0
func ImportProcedure(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportResourceMonitor ¶ added in v0.96.0
func ImportResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportRowAccessPolicy ¶ added in v0.96.0
func ImportRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSaml2Integration ¶ added in v0.93.0
func ImportSaml2Integration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSchema ¶ added in v0.94.0
func ImportSchema(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportScimIntegration ¶ added in v0.93.0
func ImportScimIntegration(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSecretWithAuthorizationCodeGrant ¶ added in v0.98.0
func ImportSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSecretWithBasicAuthentication ¶ added in v0.98.0
func ImportSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSecretWithClientCredentials ¶ added in v0.98.0
func ImportSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportSecretWithGenericString ¶ added in v0.98.0
func ImportSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportStreamOnExternalTable ¶ added in v0.97.0
func ImportStreamOnExternalTable(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportStreamOnTable ¶ added in v0.97.0
func ImportStreamOnTable(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportStreamOnView ¶ added in v0.98.0
func ImportStreamOnView(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportStreamlit ¶ added in v0.94.0
func ImportStreamlit(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportTagAssociation ¶ added in v1.0.0
func ImportTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportTask ¶ added in v0.99.0
func ImportTask(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportView ¶ added in v0.95.0
func ImportView(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportWarehouse ¶ added in v0.93.0
func ImportWarehouse(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func IntInSlice ¶ added in v0.95.0
func IntInSlice(valid []int) schema.SchemaValidateDiagFunc
IntInSlice has the same implementation as validation.StringInSlice, but adapted to schema.SchemaValidateDiagFunc
func IntParameterValueComputedIf ¶ added in v0.93.0
func IntParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, parameter T) schema.CustomizeDiffFunc
func IsValidAccountIdentifier ¶ added in v0.93.0
func IsValidAccountIdentifier() schema.SchemaValidateDiagFunc
IsValidAccountIdentifier is a validator that can be used for validating account identifiers passed in resources and data sources.
Provider supported both account locators and organization name + account name pairs. The account locators are not supported, so this function accepts only the new format.
func IsValidIdentifier ¶ added in v0.81.0
func IsValidIdentifier[T sdk.AccountObjectIdentifier | sdk.DatabaseObjectIdentifier | sdk.SchemaObjectIdentifier | sdk.TableColumnIdentifier]() schema.SchemaValidateDiagFunc
func JoinDiags ¶ added in v0.93.0
func JoinDiags(diagnostics ...diag.Diagnostics) diag.Diagnostics
TODO(SNOW-1479870): Test JoinDiags iterates through passed diag.Diagnostics and joins them into one diag.Diagnostics. If none of the passed diagnostics contained any element a nil reference will be returned.
func LegacyServiceUser ¶ added in v0.97.0
func ListDiff ¶ added in v0.93.0
func ListDiff[T comparable](beforeList []T, afterList []T) (added []T, removed []T)
ListDiff compares two lists (before and after), then compares and returns two lists that include added and removed items between those lists.
func ListDiffWithCommonItems ¶ added in v1.0.0
func ListDiffWithCommonItems[T comparable](beforeList []T, afterList []T) (added []T, removed []T, common []T)
ListDiffWithCommonItems compares two lists (before and after), then compares and returns three lists that include added, removed and common items between those lists.
func ManagedAccount ¶ added in v0.34.0
ManagedAccount returns a pointer to the resource representing a managed account.
func MaskingPolicy ¶ added in v0.34.0
MaskingPolicy returns a pointer to the resource representing a masking policy.
func MaterializedView ¶ added in v0.34.0
MaterializedView returns a pointer to the resource representing a view.
func NetworkPolicy ¶ added in v0.34.0
func NetworkPolicyAttachment ¶ added in v0.34.0
NetworkPolicyAttachment returns a pointer to the resource representing a network policy attachment.
func NetworkRule ¶ added in v0.92.0
NetworkRule returns a pointer to the resource representing a network rule.
func NormalizeAndCompare ¶ added in v0.93.0
func NormalizeAndCompare[T comparable](normalize func(string) (T, error)) schema.SchemaDiffSuppressFunc
func NormalizeAndCompareIdentifiersInSet ¶ added in v0.94.0
func NormalizeAndCompareIdentifiersInSet(key string) schema.SchemaDiffSuppressFunc
NormalizeAndCompareIdentifiersInSet is a diff suppression function that should be used at top-level TypeSet fields that hold identifiers to avoid diffs like: - "DATABASE"."SCHEMA"."OBJECT" + DATABASE.SCHEMA.OBJECT where both identifiers are pointing to the same object, but have different structure. When a diff occurs in the list or set, we have to handle two suppressions (one that prevents adding and one that prevents the removal). It's handled by the two statements with the help of helpers.ContainsIdentifierIgnoringQuotes and by getting the current state of ids to compare against. The diff suppressions for lists and sets are running for each element one by one, and the first diff is usually .# referring to the collection length (we skip those).
func NormalizeAndCompareUsingFunc ¶ added in v1.0.0
func NotificationIntegration ¶ added in v0.34.0
NotificationIntegration returns a pointer to the resource representing a notification integration.
func OauthIntegrationForCustomClients ¶ added in v0.93.0
func OauthIntegrationForPartnerApplications ¶ added in v0.93.0
func ObjectParameter ¶ added in v0.54.0
func ObjectRenamingListsAndSets ¶ added in v0.98.0
func ParameterValueComputedIf ¶ added in v0.93.0
func ParameterValueComputedIf[T ~string](key string, parameters []*sdk.Parameter, objectParameterLevel sdk.ParameterType, param T, valueToString func(v any) string) schema.CustomizeDiffFunc
func ParametersCustomDiff ¶ added in v0.93.0
func ParametersCustomDiff[T ~string](parametersProvider func(context.Context, ResourceIdProvider, any) ([]*sdk.Parameter, error), parameters ...parameter[T]) schema.CustomizeDiffFunc
func ParseFullyQualifiedObjectID ¶ added in v0.93.0
TODO [SNOW-1634872]: replace during identifiers rework follow-up
func PasswordPolicy ¶ added in v0.62.0
func PreviewFeatureCreateContextWrapper ¶ added in v1.0.0
func PreviewFeatureCreateContextWrapper(featureRaw string, createFunc schema.CreateContextFunc) schema.CreateContextFunc
func PreviewFeatureDeleteContextWrapper ¶ added in v1.0.0
func PreviewFeatureDeleteContextWrapper(featureRaw string, deleteFunc schema.DeleteContextFunc) schema.DeleteContextFunc
func PreviewFeatureReadContextWrapper ¶ added in v1.0.0
func PreviewFeatureReadContextWrapper(featureRaw string, readFunc schema.ReadContextFunc) schema.ReadContextFunc
func PreviewFeatureUpdateContextWrapper ¶ added in v1.0.0
func PreviewFeatureUpdateContextWrapper(featureRaw string, updateFunc schema.UpdateContextFunc) schema.UpdateContextFunc
func PrimaryConnection ¶ added in v0.98.0
func ProcedureJava ¶ added in v1.0.0
func ProcedureJavascript ¶ added in v1.0.0
func ProcedurePython ¶ added in v1.0.0
func ProcedureScala ¶ added in v1.0.0
func ProcedureSql ¶ added in v1.0.0
func ReadAPIIntegration ¶ added in v0.34.0
func ReadAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ReadAPIIntegration implements schema.ReadFunc.
func ReadAccount ¶ added in v0.56.0
func ReadAccount(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadAccountAuthenticationPolicyAttachment ¶ added in v0.98.0
func ReadAccountAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadAccountParameter ¶ added in v0.54.0
func ReadAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadAccountParameter implements schema.ReadFunc.
func ReadAccountPasswordPolicyAttachment ¶ added in v0.67.0
func ReadAccountPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadAccountRole ¶ added in v0.85.0
func ReadAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadAlert ¶ added in v0.62.0
func ReadAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ReadAlert implements schema.ReadContextFunc.
func ReadContextApiAuthenticationIntegrationWithAuthorizationCodeGrant ¶ added in v0.93.0
func ReadContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextApiAuthenticationIntegrationWithClientCredentials ¶ added in v0.93.0
func ReadContextApiAuthenticationIntegrationWithClientCredentials(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextApiAuthenticationIntegrationWithJwtBearer ¶ added in v0.93.0
func ReadContextApiAuthenticationIntegrationWithJwtBearer(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextAuthenticationPolicy ¶ added in v0.98.0
func ReadContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadContextExternalFunction ¶ added in v0.86.0
func ReadContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadContextExternalOauthIntegration ¶ added in v0.93.0
func ReadContextExternalOauthIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextExternalVolume ¶ added in v0.98.0
func ReadContextExternalVolume(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextFunctionJava ¶ added in v1.0.0
func ReadContextFunctionJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextFunctionJavascript ¶ added in v1.0.0
func ReadContextFunctionJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextFunctionPython ¶ added in v1.0.0
func ReadContextFunctionPython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextFunctionScala ¶ added in v1.0.0
func ReadContextFunctionScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextFunctionSql ¶ added in v1.0.0
func ReadContextFunctionSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextGrantApplicationRole ¶ added in v0.91.0
func ReadContextGrantApplicationRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadContextNetworkPolicy ¶ added in v0.92.0
func ReadContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextNetworkRule ¶ added in v0.92.0
func ReadContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadContextOauthIntegrationForCustomClients ¶ added in v0.93.0
func ReadContextOauthIntegrationForCustomClients(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextOauthIntegrationForPartnerApplications ¶ added in v0.93.0
func ReadContextOauthIntegrationForPartnerApplications(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextPrimaryConnection ¶ added in v0.98.0
func ReadContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextProcedureJava ¶ added in v1.0.0
func ReadContextProcedureJava(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextProcedureJavascript ¶ added in v1.0.0
func ReadContextProcedureJavascript(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextProcedurePython ¶ added in v1.0.0
func ReadContextProcedurePython(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextProcedureScala ¶ added in v1.0.0
func ReadContextProcedureScala(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextProcedureSql ¶ added in v1.0.0
func ReadContextProcedureSql(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextSAML2Integration ¶ added in v0.93.0
func ReadContextSAML2Integration(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextSCIMIntegration ¶ added in v0.93.0
func ReadContextSCIMIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextSchema ¶ added in v0.94.0
func ReadContextSchema(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextSecondaryConnection ¶ added in v0.98.0
func ReadContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextSecretWithAuthorizationCodeGrant ¶ added in v0.98.0
func ReadContextSecretWithAuthorizationCodeGrant(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadContextSecretWithBasicAuthentication ¶ added in v0.98.0
func ReadContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextSecretWithClientCredentials ¶ added in v0.98.0
func ReadContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextSecretWithGenericString ¶ added in v0.98.0
func ReadContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextStreamlit ¶ added in v0.94.0
func ReadContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextTag ¶ added in v0.87.1
func ReadContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadContextTagAssociation ¶ added in v0.87.1
func ReadContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadCortexSearchService ¶ added in v0.93.0
func ReadCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadCortexSearchServicee implements schema.ReadFunc.
func ReadDatabase ¶
func ReadDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadDatabaseRole ¶ added in v0.62.0
func ReadDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadDynamicTable ¶ added in v0.74.0
func ReadDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadDynamicTable implements schema.ReadFunc.
func ReadEmailNotificationIntegration ¶ added in v0.64.0
func ReadEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadEmailNotificationIntegration implements schema.ReadFunc.
func ReadExecute ¶ added in v1.0.0
func ReadExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadExternalTable ¶ added in v0.34.0
func ReadExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadExternalTable implements schema.ReadFunc.
func ReadFailoverGroup ¶ added in v0.49.0
func ReadFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadFailoverGroup implements schema.ReadFunc.
func ReadFileFormat ¶ added in v0.34.0
func ReadFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadFileFormat implements schema.ReadFunc.
func ReadGrantAccountRole ¶ added in v0.84.0
func ReadGrantAccountRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ReadGrantDatabaseRole ¶ added in v0.84.0
func ReadGrantDatabaseRole(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ReadGrantDatabaseRole implements schema.ReadFunc.
func ReadGrantOwnership ¶ added in v0.88.0
func ReadGrantOwnership(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadGrantPrivilegesToAccountRole ¶ added in v0.85.0
func ReadGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadGrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func ReadGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadGrantPrivilegesToShare ¶ added in v0.85.0
func ReadGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadManagedAccount ¶ added in v0.34.0
func ReadManagedAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadManagedAccount implements schema.ReadFunc.
func ReadMaskingPolicy ¶ added in v0.34.0
func ReadMaskingPolicy(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadMaterializedView ¶ added in v0.34.0
func ReadMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadMaterializedView implements schema.ReadFunc.
func ReadNetworkPolicyAttachment ¶ added in v0.34.0
func ReadNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadNetworkPolicyAttachment implements schema.ReadFunc.
func ReadNotificationIntegration ¶ added in v0.34.0
func ReadNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadNotificationIntegration implements schema.ReadFunc.
func ReadObjectParameter ¶ added in v0.54.0
func ReadObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadObjectParameter implements schema.ReadFunc.
func ReadObjectRenamingListsAndSets ¶ added in v0.98.0
func ReadObjectRenamingListsAndSets(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadPasswordPolicy ¶ added in v0.62.0
func ReadPasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadPasswordPolicy implements schema.ReadFunc.
func ReadPipe ¶ added in v0.34.0
func ReadPipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadPipe implements schema.ReadFunc.
func ReadResourceMonitor ¶ added in v0.34.0
func ReadResourceMonitor(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadRowAccessPolicy ¶ added in v0.34.0
func ReadRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadSecondaryDatabase ¶ added in v0.92.0
func ReadSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadSequence ¶ added in v0.34.0
func ReadSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadShare ¶ added in v0.34.0
func ReadShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadShare implements schema.ReadFunc.
func ReadSharedDatabase ¶ added in v0.92.0
func ReadSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadStage ¶ added in v0.34.0
func ReadStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadStorageIntegration ¶ added in v0.34.0
func ReadStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadStreamOnDirectoryTable ¶ added in v0.98.0
func ReadStreamOnDirectoryTable(withDirectoryChangesMarking bool) schema.ReadContextFunc
func ReadStreamOnExternalTable ¶ added in v0.97.0
func ReadStreamOnExternalTable(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadStreamOnTable ¶ added in v0.97.0
func ReadStreamOnTable(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadStreamOnView ¶ added in v0.98.0
func ReadStreamOnView(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadTable ¶ added in v0.34.0
func ReadTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadTable implements schema.ReadFunc.
func ReadTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func ReadTableColumnMaskingPolicyApplication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
ReadTableColumnMaskingPolicyApplication implements schema.ReadFunc.
func ReadTableConstraint ¶ added in v0.47.0
func ReadTableConstraint(ctx context.Context, _ *schema.ResourceData, _ interface{}) diag.Diagnostics
ReadTableConstraint implements schema.ReadFunc.
func ReadTask ¶ added in v0.34.0
func ReadTask(withExternalChangesMarking bool) schema.ReadContextFunc
func ReadUserAuthenticationPolicyAttachment ¶ added in v0.98.0
func ReadUserAuthenticationPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadUserPasswordPolicyAttachment ¶ added in v0.86.0
func ReadUserPasswordPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadUserPublicKeys ¶ added in v0.34.0
func ReadUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func ReadView ¶ added in v0.34.0
func ReadView(withExternalChangesMarking bool) schema.ReadContextFunc
func RecreateWhenResourceBoolFieldChangedExternally ¶ added in v0.98.0
func RecreateWhenResourceBoolFieldChangedExternally(boolField string, wantValue bool) schema.CustomizeDiffFunc
RecreateWhenResourceBoolFieldChangedExternally recreates a resource when wantValue is different than value in boolField.
func RecreateWhenResourceStringFieldChangedExternally ¶ added in v1.0.0
func RecreateWhenResourceStringFieldChangedExternally(field string, wantValue string) schema.CustomizeDiffFunc
RecreateWhenResourceStringFieldChangedExternally recreates a resource when wantValue is different from value in field. TODO [SNOW-1850370]: merge with above? test.
func RecreateWhenResourceTypeChangedExternally ¶ added in v0.98.0
func RecreateWhenResourceTypeChangedExternally[T ~string](typeField string, wantType T, toType func(string) (T, error)) schema.CustomizeDiffFunc
RecreateWhenResourceTypeChangedExternally recreates a resource when argument wantType is different than the value in typeField.
func RecreateWhenSecretTypeChangedExternally ¶ added in v0.98.0
func RecreateWhenSecretTypeChangedExternally(secretType sdk.SecretType) schema.CustomizeDiffFunc
func RecreateWhenStreamIsStale ¶ added in v0.98.0
func RecreateWhenStreamIsStale() schema.CustomizeDiffFunc
RecreateWhenStreamIsStale detects when the stream is stale, and sets a `false` value for `stale` field. This means that the provider can detect that change in `stale` from `true` to `false`, where `false` is our desired state.
func RecreateWhenStreamTypeChangedExternally ¶ added in v0.98.0
func RecreateWhenStreamTypeChangedExternally(streamType sdk.StreamSourceType) schema.CustomizeDiffFunc
RecreateWhenStreamTypeChangedExternally recreates a stream when argument streamType is different than in the state.
func RecreateWhenUserTypeChangedExternally ¶ added in v0.97.0
func RecreateWhenUserTypeChangedExternally(userType sdk.UserType) schema.CustomizeDiffFunc
func ResourceMonitor ¶ added in v0.34.0
func RowAccessPolicy ¶ added in v0.34.0
RowAccessPolicy returns a pointer to the resource representing a row access policy.
func SAML2Integration ¶ added in v0.93.0
func SCIMIntegration ¶ added in v0.34.0
func SecondaryConnection ¶ added in v0.98.0
func SecondaryDatabase ¶ added in v0.92.0
func SecretWithAuthorizationCodeGrant ¶ added in v0.98.0
func SecretWithBasicAuthentication ¶ added in v0.98.0
func SecretWithClientCredentials ¶ added in v0.98.0
func SecretWithGenericString ¶ added in v0.98.0
func ServiceUser ¶ added in v0.97.0
func SetPropertyOfFirstNestedObjectByKey ¶ added in v0.93.0
func SetPropertyOfFirstNestedObjectByKey[T any](d *schema.ResourceData, propertyKey string, nestedValueKey string, value T) error
SetPropertyOfFirstNestedObjectByKey should be used for single objects defined in the Terraform schema as schema.TypeList with MaxItems set to one and inner schema with single value. To easily set the inner value, you can specify top-level property with propertyKey, nested value with nestedValueKey and value at the end.
func SetPropertyOfFirstNestedObjectByValueKey ¶ added in v0.93.0
func SetPropertyOfFirstNestedObjectByValueKey[T any](d *schema.ResourceData, propertyKey string, value T) error
func SharedDatabase ¶ added in v0.92.0
func Stage ¶ added in v0.34.0
TODO (SNOW-1019005): Remove snowflake package that is used in Create and Update operations
func StorageIntegration ¶ added in v0.34.0
StorageIntegration returns a pointer to the resource representing a storage integration.
func StreamOnDirectoryTable ¶ added in v0.98.0
func StreamOnExternalTable ¶ added in v0.97.0
func StreamOnTable ¶ added in v0.97.0
func StreamOnView ¶ added in v0.98.0
func StringInSlice ¶ added in v0.83.0
func StringInSlice(valid []string, ignoreCase bool) schema.SchemaValidateDiagFunc
StringInSlice has the same implementation as validation.StringInSlice, but adapted to schema.SchemaValidateDiagFunc
func StringParameterValueComputedIf ¶ added in v0.93.0
func StringParameterValueComputedIf[T ~string](key string, params []*sdk.Parameter, parameterLevel sdk.ParameterType, parameter T) schema.CustomizeDiffFunc
func SuppressCaseInSet ¶ added in v0.95.0
func SuppressCaseInSet(key string) schema.SchemaDiffSuppressFunc
func SuppressIfAny ¶ added in v0.93.0
func SuppressIfAny(diffSuppressFunctions ...schema.SchemaDiffSuppressFunc) schema.SchemaDiffSuppressFunc
func TableColumnMaskingPolicyApplication ¶ added in v0.63.0
func TableColumnMaskingPolicyApplicationID ¶ added in v0.63.0
func TableColumnMaskingPolicyApplicationID(mpa *snowflake.TableColumnMaskingPolicyApplication) string
func TableColumnMaskingPolicyApplicationIdentifier ¶ added in v0.63.0
func TableColumnMaskingPolicyApplicationIdentifier(id string) (table *snowflake.SchemaObjectIdentifier, column string)
func TableConstraint ¶ added in v0.47.0
func TagAssociation ¶ added in v0.42.0
TagAssociation returns a pointer to the resource representing a schema.
func TagIdentifierAndObjectIdentifier ¶ added in v0.87.1
func TagIdentifierAndObjectIdentifier(d *schema.ResourceData) (sdk.SchemaObjectIdentifier, []sdk.ObjectIdentifier, sdk.ObjectType, error)
func TrackingCreateWrapper ¶ added in v0.99.0
func TrackingCreateWrapper(resourceName resources.Resource, createImplementation schema.CreateContextFunc) schema.CreateContextFunc
func TrackingCustomDiffWrapper ¶ added in v0.99.0
func TrackingCustomDiffWrapper(resourceName resources.Resource, customdiffImplementation schema.CustomizeDiffFunc) schema.CustomizeDiffFunc
func TrackingDeleteWrapper ¶ added in v0.99.0
func TrackingDeleteWrapper(resourceName resources.Resource, deleteImplementation schema.DeleteContextFunc) schema.DeleteContextFunc
func TrackingImportWrapper ¶ added in v0.99.0
func TrackingImportWrapper(resourceName resources.Resource, importImplementation schema.StateContextFunc) schema.StateContextFunc
func TrackingReadWrapper ¶ added in v0.99.0
func TrackingReadWrapper(resourceName resources.Resource, readImplementation schema.ReadContextFunc) schema.ReadContextFunc
func TrackingUpdateWrapper ¶ added in v0.99.0
func TrackingUpdateWrapper(resourceName resources.Resource, updateImplementation schema.UpdateContextFunc) schema.UpdateContextFunc
func UpdateAPIIntegration ¶ added in v0.34.0
func UpdateAPIIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
UpdateAPIIntegration implements schema.UpdateFunc.
func UpdateAccount ¶ added in v0.56.0
func UpdateAccount(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateAccountParameter ¶ added in v0.54.0
func UpdateAccountParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateAccountParameter implements schema.UpdateFunc.
func UpdateAccountRole ¶ added in v0.85.0
func UpdateAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateAlert ¶ added in v0.62.0
func UpdateAlert(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
UpdateAlert implements schema.UpdateContextFunc.
func UpdateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant ¶ added in v0.93.0
func UpdateContextApiAuthenticationIntegrationWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextApiAuthenticationIntegrationWithClientCredentials ¶ added in v0.93.0
func UpdateContextApiAuthenticationIntegrationWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextApiAuthenticationIntegrationWithJwtBearer ¶ added in v0.93.0
func UpdateContextApiAuthenticationIntegrationWithJwtBearer(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextAuthenticationPolicy ¶ added in v0.98.0
func UpdateContextAuthenticationPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextExternalFunction ¶ added in v0.86.0
func UpdateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextExternalOauthIntegration ¶ added in v0.93.0
func UpdateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextExternalVolume ¶ added in v0.98.0
func UpdateContextExternalVolume(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextNetworkPolicy ¶ added in v0.92.0
func UpdateContextNetworkPolicy(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextNetworkRule ¶ added in v0.92.0
func UpdateContextNetworkRule(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextOauthIntegrationForCustomClients ¶ added in v0.93.0
func UpdateContextOauthIntegrationForCustomClients(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextOauthIntegrationForPartnerApplications ¶ added in v0.93.0
func UpdateContextOauthIntegrationForPartnerApplications(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextPrimaryConnection ¶ added in v0.98.0
func UpdateContextPrimaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSAML2Integration ¶ added in v0.93.0
func UpdateContextSAML2Integration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSCIMIntegration ¶ added in v0.93.0
func UpdateContextSCIMIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func UpdateContextSchema ¶ added in v0.94.0
func UpdateContextSchema(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSecondaryConnection ¶ added in v0.98.0
func UpdateContextSecondaryConnection(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSecretWithAuthorizationCodeGrant ¶ added in v0.98.0
func UpdateContextSecretWithAuthorizationCodeGrant(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSecretWithBasicAuthentication ¶ added in v0.98.0
func UpdateContextSecretWithBasicAuthentication(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSecretWithClientCredentials ¶ added in v0.98.0
func UpdateContextSecretWithClientCredentials(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextSecretWithGenericString ¶ added in v0.98.0
func UpdateContextSecretWithGenericString(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextStreamlit ¶ added in v0.94.0
func UpdateContextStreamlit(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextTag ¶ added in v0.87.1
func UpdateContextTag(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateContextTagAssociation ¶ added in v0.87.1
func UpdateContextTagAssociation(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateCortexSearchService ¶ added in v0.93.0
func UpdateCortexSearchService(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateCortexSearchService implements schema.UpdateFunc.
func UpdateDatabase ¶
func UpdateDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateDatabaseRole ¶ added in v0.62.0
func UpdateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateDynamicTable ¶ added in v0.74.0
func UpdateDynamicTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateDynamicTable implements schema.UpdateFunc.
func UpdateEmailNotificationIntegration ¶ added in v0.64.0
func UpdateEmailNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateEmailNotificationIntegration implements schema.UpdateFunc.
func UpdateExecute ¶ added in v1.0.0
func UpdateExecute(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateExternalTable ¶ added in v0.34.0
func UpdateExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateExternalTable implements schema.UpdateFunc.
func UpdateFailoverGroup ¶ added in v0.49.0
func UpdateFailoverGroup(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateFailoverGroup implements schema.UpdateFunc.
func UpdateFileFormat ¶ added in v0.34.0
func UpdateFileFormat(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateFileFormat implements schema.UpdateFunc.
func UpdateFunction ¶ added in v0.34.0
func UpdateFunction(language string, readFunc func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateGrantPrivilegesToAccountRole ¶ added in v0.85.0
func UpdateGrantPrivilegesToAccountRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateGrantPrivilegesToDatabaseRole ¶ added in v0.83.0
func UpdateGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateGrantPrivilegesToShare ¶ added in v0.85.0
func UpdateGrantPrivilegesToShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateMaskingPolicy ¶ added in v0.34.0
func UpdateMaskingPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateMaterializedView ¶ added in v0.34.0
func UpdateMaterializedView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateMaterializedView implements schema.UpdateFunc.
func UpdateNetworkPolicyAttachment ¶ added in v0.34.0
func UpdateNetworkPolicyAttachment(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateNetworkPolicyAttachment implements schema.UpdateFunc.
func UpdateNotificationIntegration ¶ added in v0.34.0
func UpdateNotificationIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateNotificationIntegration implements schema.UpdateFunc.
func UpdateObjectParameter ¶ added in v0.54.0
func UpdateObjectParameter(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateObjectParameter implements schema.UpdateFunc.
func UpdateObjectRenamingListsAndSets ¶ added in v0.98.0
func UpdateObjectRenamingListsAndSets(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdatePasswordPolicy ¶ added in v0.62.0
func UpdatePasswordPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdatePasswordPolicy implements schema.UpdateFunc.
func UpdatePipe ¶ added in v0.34.0
func UpdatePipe(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdatePipe implements schema.UpdateFunc.
func UpdateProcedure ¶ added in v0.34.0
func UpdateProcedure(language string, readFunc func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics) func(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateResourceMonitor ¶ added in v0.55.0
func UpdateResourceMonitor(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateRowAccessPolicy ¶ added in v0.34.0
func UpdateRowAccessPolicy(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateRowAccessPolicy implements schema.UpdateFunc.
func UpdateSecondaryDatabase ¶ added in v0.92.0
func UpdateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateSequence ¶ added in v0.34.0
func UpdateSequence(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateShare ¶ added in v0.34.0
func UpdateShare(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateShare implements schema.UpdateFunc.
func UpdateSharedDatabase ¶ added in v0.92.0
func UpdateSharedDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStage ¶ added in v0.34.0
func UpdateStage(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStorageIntegration ¶ added in v0.34.0
func UpdateStorageIntegration(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStreamOnDirectoryTable ¶ added in v0.98.0
func UpdateStreamOnDirectoryTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStreamOnExternalTable ¶ added in v0.97.0
func UpdateStreamOnExternalTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStreamOnTable ¶ added in v0.97.0
func UpdateStreamOnTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateStreamOnView ¶ added in v0.98.0
func UpdateStreamOnView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateTable ¶ added in v0.34.0
func UpdateTable(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateTable implements schema.UpdateFunc.
func UpdateTableConstraint ¶ added in v0.47.0
func UpdateTableConstraint(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateTableConstraint implements schema.UpdateFunc.
func UpdateTask ¶ added in v0.34.0
func UpdateTask(ctx context.Context, d *schema.ResourceData, meta any) (diags diag.Diagnostics)
func UpdateUserPublicKeys ¶ added in v0.34.0
func UpdateUserPublicKeys(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateView ¶ added in v0.34.0
func UpdateView(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateWarehouse ¶
func UpdateWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
UpdateWarehouse implements schema.UpdateFunc.
func UserAuthenticationPolicyAttachment ¶ added in v0.98.0
UserAuthenticationPolicyAttachment returns a pointer to the resource representing a user authentication policy attachment.
func UserPasswordPolicyAttachment ¶ added in v0.86.0
UserPasswordPolicyAttachment returns a pointer to the resource representing a user password policy attachment.
func UserPublicKeys ¶ added in v0.34.0
Types ¶
type AccountRoleGrantKind ¶ added in v0.85.0
type AccountRoleGrantKind string
const ( OnAccountAccountRoleGrantKind AccountRoleGrantKind = "OnAccount" OnAccountObjectAccountRoleGrantKind AccountRoleGrantKind = "OnAccountObject" OnSchemaAccountRoleGrantKind AccountRoleGrantKind = "OnSchema" OnSchemaObjectAccountRoleGrantKind AccountRoleGrantKind = "OnSchemaObject" )
type BulkOperationGrantData ¶ added in v0.83.0
type BulkOperationGrantData struct { ObjectNamePlural sdk.PluralObjectType Kind BulkOperationGrantKind Database *sdk.AccountObjectIdentifier Schema *sdk.DatabaseObjectIdentifier }
func (*BulkOperationGrantData) String ¶ added in v0.88.0
func (d *BulkOperationGrantData) String() string
type BulkOperationGrantKind ¶ added in v0.83.0
type BulkOperationGrantKind string
const ( InDatabaseBulkOperationGrantKind BulkOperationGrantKind = "InDatabase" InSchemaBulkOperationGrantKind BulkOperationGrantKind = "InSchema" )
type DatabaseRoleGrantKind ¶ added in v0.83.0
type DatabaseRoleGrantKind string
const ( OnDatabaseDatabaseRoleGrantKind DatabaseRoleGrantKind = "OnDatabase" OnSchemaDatabaseRoleGrantKind DatabaseRoleGrantKind = "OnSchema" OnSchemaObjectDatabaseRoleGrantKind DatabaseRoleGrantKind = "OnSchemaObject" )
type GrantOwnershipId ¶ added in v0.88.0
type GrantOwnershipId struct { GrantOwnershipTargetRoleKind GrantOwnershipTargetRoleKind AccountRoleName sdk.AccountObjectIdentifier DatabaseRoleName sdk.DatabaseObjectIdentifier OutboundPrivilegesBehavior *OutboundPrivilegesBehavior Kind GrantOwnershipKind Data fmt.Stringer }
func ParseGrantOwnershipId ¶ added in v0.88.0
func ParseGrantOwnershipId(id string) (*GrantOwnershipId, error)
func (*GrantOwnershipId) String ¶ added in v0.88.0
func (g *GrantOwnershipId) String() string
type GrantOwnershipKind ¶ added in v0.88.0
type GrantOwnershipKind string
const ( OnObjectGrantOwnershipKind GrantOwnershipKind = "OnObject" OnAllGrantOwnershipKind GrantOwnershipKind = "OnAll" OnFutureGrantOwnershipKind GrantOwnershipKind = "OnFuture" )
type GrantOwnershipTargetRoleKind ¶ added in v0.88.0
type GrantOwnershipTargetRoleKind string
const ( ToAccountGrantOwnershipTargetRoleKind GrantOwnershipTargetRoleKind = "ToAccountRole" ToDatabaseGrantOwnershipTargetRoleKind GrantOwnershipTargetRoleKind = "ToDatabaseRole" )
type GrantPrivilegesToAccountRoleId ¶ added in v0.85.0
type GrantPrivilegesToAccountRoleId struct { RoleName sdk.AccountObjectIdentifier WithGrantOption bool AlwaysApply bool AllPrivileges bool Privileges []string Kind AccountRoleGrantKind Data fmt.Stringer }
func ParseGrantPrivilegesToAccountRoleId ¶ added in v0.85.0
func ParseGrantPrivilegesToAccountRoleId(id string) (GrantPrivilegesToAccountRoleId, error)
func (*GrantPrivilegesToAccountRoleId) String ¶ added in v0.85.0
func (g *GrantPrivilegesToAccountRoleId) String() string
type GrantPrivilegesToDatabaseRoleId ¶ added in v0.83.0
type GrantPrivilegesToDatabaseRoleId struct { DatabaseRoleName sdk.DatabaseObjectIdentifier WithGrantOption bool AlwaysApply bool AllPrivileges bool Privileges []string Kind DatabaseRoleGrantKind Data fmt.Stringer }
func ParseGrantPrivilegesToDatabaseRoleId ¶ added in v0.83.0
func ParseGrantPrivilegesToDatabaseRoleId(id string) (GrantPrivilegesToDatabaseRoleId, error)
func (*GrantPrivilegesToDatabaseRoleId) String ¶ added in v0.83.0
func (g *GrantPrivilegesToDatabaseRoleId) String() string
type GrantPrivilegesToShareId ¶ added in v0.85.0
type GrantPrivilegesToShareId struct {}
func ParseGrantPrivilegesToShareId ¶ added in v0.85.0
func ParseGrantPrivilegesToShareId(idString string) (grantPrivilegesToShareId GrantPrivilegesToShareId, err error)
func (*GrantPrivilegesToShareId) String ¶ added in v0.85.0
func (id *GrantPrivilegesToShareId) String() string
type ObjectRenamingDatabaseChangelog ¶ added in v0.98.0
type ObjectRenamingDatabaseChangelog struct { Added []map[string]any Removed []map[string]any Changed []ObjectRenamingDatabaseChangelogChange }
ObjectRenamingDatabaseChangelog is used for testing purposes to track actions taken in the Update method like Add/Remove/Change. It's only supported the manually_ordered_list option.
type ObjectRenamingDatabaseChangelogChange ¶ added in v0.98.0
type ObjectRenamingDatabaseListItem ¶ added in v0.98.0
type ObjectRenamingDatabaseManuallyOrderedListItem ¶ added in v0.98.0
type OnAccountGrantData ¶ added in v0.85.0
type OnAccountGrantData struct{}
func (*OnAccountGrantData) String ¶ added in v0.85.0
func (d *OnAccountGrantData) String() string
type OnAccountObjectGrantData ¶ added in v0.85.0
type OnAccountObjectGrantData struct { ObjectType sdk.ObjectType ObjectName sdk.AccountObjectIdentifier }
func (*OnAccountObjectGrantData) String ¶ added in v0.85.0
func (d *OnAccountObjectGrantData) String() string
type OnDatabaseGrantData ¶ added in v0.83.0
type OnDatabaseGrantData struct {
DatabaseName sdk.AccountObjectIdentifier
}
func (*OnDatabaseGrantData) String ¶ added in v0.83.0
func (d *OnDatabaseGrantData) String() string
type OnObjectGrantOwnershipData ¶ added in v0.88.0
type OnObjectGrantOwnershipData struct { ObjectType sdk.ObjectType ObjectName sdk.ObjectIdentifier }
func (*OnObjectGrantOwnershipData) String ¶ added in v0.88.0
func (g *OnObjectGrantOwnershipData) String() string
type OnSchemaGrantData ¶ added in v0.83.0
type OnSchemaGrantData struct { Kind OnSchemaGrantKind SchemaName *sdk.DatabaseObjectIdentifier DatabaseName *sdk.AccountObjectIdentifier }
func (*OnSchemaGrantData) String ¶ added in v0.83.0
func (d *OnSchemaGrantData) String() string
type OnSchemaGrantKind ¶ added in v0.83.0
type OnSchemaGrantKind string
const ( OnSchemaSchemaGrantKind OnSchemaGrantKind = "OnSchema" OnAllSchemasInDatabaseSchemaGrantKind OnSchemaGrantKind = "OnAllSchemasInDatabase" OnFutureSchemasInDatabaseSchemaGrantKind OnSchemaGrantKind = "OnFutureSchemasInDatabase" )
type OnSchemaObjectGrantData ¶ added in v0.83.0
type OnSchemaObjectGrantData struct { Kind OnSchemaObjectGrantKind Object *sdk.Object OnAllOrFuture *BulkOperationGrantData }
func (*OnSchemaObjectGrantData) String ¶ added in v0.83.0
func (d *OnSchemaObjectGrantData) String() string
type OnSchemaObjectGrantKind ¶ added in v0.83.0
type OnSchemaObjectGrantKind string
const ( OnObjectSchemaObjectGrantKind OnSchemaObjectGrantKind = "OnObject" OnAllSchemaObjectGrantKind OnSchemaObjectGrantKind = "OnAll" OnFutureSchemaObjectGrantKind OnSchemaObjectGrantKind = "OnFuture" )
type OutboundPrivilegesBehavior ¶ added in v0.88.0
type OutboundPrivilegesBehavior string
const ( CopyOutboundPrivilegesBehavior OutboundPrivilegesBehavior = "COPY" RevokeOutboundPrivilegesBehavior OutboundPrivilegesBehavior = "REVOKE" )
func (OutboundPrivilegesBehavior) ToOwnershipCurrentGrantsOutboundPrivileges ¶ added in v0.88.0
func (o OutboundPrivilegesBehavior) ToOwnershipCurrentGrantsOutboundPrivileges() *sdk.OwnershipCurrentGrantsOutboundPrivileges
type PlanCheckFunc ¶ added in v1.0.0
type PlanCheckFunc func(ctx context.Context, req plancheck.CheckPlanRequest, resp *plancheck.CheckPlanResponse)
func (PlanCheckFunc) CheckPlan ¶ added in v1.0.0
func (fn PlanCheckFunc) CheckPlan(ctx context.Context, req plancheck.CheckPlanRequest, resp *plancheck.CheckPlanResponse)
type ResourceIdProvider ¶ added in v0.93.0
type ResourceIdProvider interface {
Id() string
}
type ResourceValueSetter ¶ added in v0.95.0
type ViewDataMetricFunctionConfig ¶ added in v0.95.0
type ViewDataMetricFunctionConfig struct { DataMetricFunction sdk.SchemaObjectIdentifier On []sdk.Column ScheduleStatus string }
Source Files ¶
- account.go
- account_authentication_policy_attachment.go
- account_parameter.go
- account_password_policy_attachment.go
- account_role.go
- account_state_upgraders.go
- alert.go
- api_authentication_integration_common.go
- api_authentication_integration_with_authorization_code_grant.go
- api_authentication_integration_with_client_credentials.go
- api_authentication_integration_with_jwt_bearer.go
- api_integration.go
- authentication_policy.go
- common.go
- cortex_search_service.go
- custom_diffs.go
- database.go
- database_commons.go
- database_role.go
- database_state_upgraders.go
- deprecated_identifier_helpers.go
- diff_suppressions.go
- doc_helpers.go
- dynamic_table.go
- email_notification_integration.go
- execute.go
- external_function.go
- external_function_state_upgraders.go
- external_oauth_integration.go
- external_oauth_integration_stage_upgraders.go
- external_table.go
- external_volume.go
- failover_group.go
- file_format.go
- function_and_procedure_commons.go
- function_commons.go
- function_java.go
- function_javascript.go
- function_parameters.go
- function_python.go
- function_scala.go
- function_sql.go
- grant_account_role.go
- grant_application_role.go
- grant_database_role.go
- grant_helpers.go
- grant_ownership.go
- grant_ownership_identifier.go
- grant_privileges_identifier_commons.go
- grant_privileges_to_account_role.go
- grant_privileges_to_account_role_identifier.go
- grant_privileges_to_database_role.go
- grant_privileges_to_database_role_identifier.go
- grant_privileges_to_share.go
- grant_privileges_to_share_identifier.go
- helper_expansion.go
- helpers.go
- identifier_state_upgraders.go
- identifiers_state_upgraders.go
- managed_account.go
- masking_policy.go
- masking_policy_state_upgraders.go
- materialized_view.go
- network_policy.go
- network_policy_attachment.go
- network_rule.go
- notification_integration.go
- oauth_integration_for_custom_clients.go
- oauth_integration_for_partner_applications.go
- object_parameter.go
- object_renaming_lists_and_sets.go
- password_policy.go
- pipe.go
- primary_connection.go
- procedure_commons.go
- procedure_java.go
- procedure_javascript.go
- procedure_parameters.go
- procedure_python.go
- procedure_scala.go
- procedure_sql.go
- resource.go
- resource_helpers_create.go
- resource_helpers_read.go
- resource_helpers_update.go
- resource_monitor.go
- resource_parameters_commons.go
- row_access_policy.go
- row_access_policy_state_upgraders.go
- saml2_integration.go
- schema.go
- schema_parameters.go
- schema_state_upgraders.go
- scim_integration.go
- scim_integration_state_upgraders.go
- secondary_connection.go
- secondary_database.go
- secret_common.go
- secret_with_basic_authentication.go
- secret_with_generic_string.go
- secret_with_oauth_authorization_code_grant.go
- secret_with_oauth_client_credentials.go
- sequence.go
- share.go
- shared_database.go
- show_and_describe_handlers.go
- special_values.go
- stage.go
- storage_integration.go
- stream_common.go
- stream_on_directory_table.go
- stream_on_external_table.go
- stream_on_table.go
- stream_on_view.go
- streamlit.go
- table.go
- table_column_masking_policy_application.go
- table_constraint.go
- tag.go
- tag_association.go
- tag_association_state_upgraders.go
- task.go
- task_parameters.go
- task_state_upgraders.go
- user.go
- user_authentication_policy_attachment.go
- user_commons.go
- user_parameters.go
- user_password_policy_attachment.go
- user_public_keys.go
- user_state_upgraders.go
- validators.go
- view.go
- view_state_upgraders.go
- warehouse.go
- warehouse_state_upgraders.go