Documentation ¶
Index ¶
- Constants
- func ADiffB(setA []interface{}, setB []interface{}) []string
- func APIIntegration() *schema.Resource
- func Account() *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 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(d *schema.ResourceData, meta interface{}) error
- func CreateAccount(d *schema.ResourceData, meta interface{}) error
- func CreateAccountParameter(d *schema.ResourceData, meta interface{}) error
- func CreateAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- 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 CreateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func CreateContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 CreateContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 interface{}) diag.Diagnostics
- func CreateContextTagMaskingPolicyAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 CreateDatabaseOld(d *schema.ResourceData, meta interface{}) error
- func CreateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateDynamicTable(d *schema.ResourceData, meta interface{}) error
- func CreateEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func CreateExternalTable(d *schema.ResourceData, meta any) error
- func CreateFailoverGroup(d *schema.ResourceData, meta interface{}) error
- func CreateFileFormat(d *schema.ResourceData, meta interface{}) error
- func CreateGrantAccountRole(d *schema.ResourceData, meta interface{}) error
- func CreateGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta interface{}) error
- func CreateMaskingPolicy(d *schema.ResourceData, meta interface{}) error
- func CreateMaterializedView(d *schema.ResourceData, meta interface{}) error
- func CreateNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- func CreateNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func CreateOAuthIntegration(d *schema.ResourceData, meta interface{}) error
- func CreateObjectParameter(d *schema.ResourceData, meta interface{}) error
- func CreatePasswordPolicy(d *schema.ResourceData, meta interface{}) error
- func CreatePipe(d *schema.ResourceData, meta interface{}) error
- func CreateResourceMonitor(d *schema.ResourceData, meta interface{}) error
- func CreateRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
- func CreateSAMLIntegration(d *schema.ResourceData, meta interface{}) error
- func CreateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateSequence(d *schema.ResourceData, meta interface{}) error
- func CreateSessionParameter(d *schema.ResourceData, meta interface{}) error
- func CreateShare(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta any) error
- func CreateStream(d *schema.ResourceData, meta interface{}) error
- func CreateTable(d *schema.ResourceData, meta interface{}) error
- func CreateTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
- func CreateTableConstraint(d *schema.ResourceData, meta interface{}) error
- func CreateTask(d *schema.ResourceData, meta interface{}) error
- func CreateUnsafeExecute(d *schema.ResourceData, meta interface{}) error
- func CreateUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func CreateUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
- func CreateUserPublicKeys(d *schema.ResourceData, meta interface{}) error
- func CreateView(orReplace bool) schema.CreateContextFunc
- func CreateWarehouse(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DataTypeIssue3007DiffSuppressFunc(_, old, new string, _ *schema.ResourceData) bool
- func Database() *schema.Resource
- func DatabaseOld() *schema.Resource
- func DatabaseRole() *schema.Resource
- func DeleteAPIIntegration(d *schema.ResourceData, meta interface{}) error
- func DeleteAccount(d *schema.ResourceData, meta interface{}) error
- func DeleteAccountParameter(d *schema.ResourceData, meta interface{}) error
- func DeleteAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- 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 DeleteContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DeleteContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 DeleteContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 DeleteContextTagMaskingPolicyAssociation(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 DeleteDatabaseOld(d *schema.ResourceData, meta interface{}) error
- func DeleteDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteDynamicTable(d *schema.ResourceData, meta interface{}) error
- func DeleteEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func DeleteExternalTable(d *schema.ResourceData, meta any) error
- func DeleteFailoverGroup(d *schema.ResourceData, meta interface{}) error
- func DeleteFileFormat(d *schema.ResourceData, meta interface{}) error
- func DeleteGrantAccountRole(d *schema.ResourceData, meta interface{}) error
- func DeleteGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta interface{}) error
- func DeleteMaskingPolicy(d *schema.ResourceData, meta interface{}) error
- func DeleteMaterializedView(d *schema.ResourceData, meta interface{}) error
- func DeleteNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- func DeleteNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func DeleteOAuthIntegration(d *schema.ResourceData, meta interface{}) error
- func DeleteObjectParameter(d *schema.ResourceData, meta interface{}) error
- func DeletePasswordPolicy(d *schema.ResourceData, meta interface{}) error
- func DeletePipe(d *schema.ResourceData, meta interface{}) error
- func DeleteResource(t string, builder func(string) *snowflake.Builder) func(*schema.ResourceData, interface{}) error
- func DeleteResourceMonitor(d *schema.ResourceData, meta interface{}) error
- func DeleteRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
- func DeleteSAMLIntegration(d *schema.ResourceData, meta interface{}) error
- func DeleteSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteSequence(d *schema.ResourceData, meta interface{}) error
- func DeleteSessionParameter(d *schema.ResourceData, meta interface{}) error
- func DeleteShare(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta any) error
- func DeleteStream(d *schema.ResourceData, meta interface{}) error
- func DeleteTable(d *schema.ResourceData, meta interface{}) error
- func DeleteTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
- func DeleteTableConstraint(d *schema.ResourceData, meta interface{}) error
- func DeleteTask(d *schema.ResourceData, meta interface{}) error
- func DeleteUnsafeExecute(d *schema.ResourceData, meta interface{}) error
- func DeleteUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func DeleteUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
- func DeleteUserPublicKeys(d *schema.ResourceData, meta interface{}) error
- 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 ExternalFunction() *schema.Resource
- func ExternalOauthIntegration() *schema.Resource
- func ExternalTable() *schema.Resource
- func FailoverGroup() *schema.Resource
- func FileFormat() *schema.Resource
- 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 Function() *schema.Resource
- func GetConfigPropertyAsPointerAllowingZeroValue[T any](d *schema.ResourceData, property string) *T
- 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(withExternalChangesMarking bool) schema.ReadContextFunc
- func GetReadWarehouseFunc(withExternalChangesMarking bool) schema.ReadContextFunc
- func GetTagsDiff(d *schema.ResourceData, key string) (unsetTags []sdk.ObjectIdentifier, setTags []sdk.TagAssociation)
- 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 IgnoreValuesFromSetIfParamSet(key, param string, values []string) schema.SchemaDiffSuppressFunc
- 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 ImportExternalOauthIntegration(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 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 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 ImportStreamlit(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
- func ImportUser(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 IsDataType() schema.SchemaValidateFunc
- func IsValidAccountIdentifier() schema.SchemaValidateDiagFunc
- func IsValidIdentifier[...]() schema.SchemaValidateDiagFunc
- func JoinDiags(diagnostics ...diag.Diagnostics) diag.Diagnostics
- func ListDiff[T comparable](beforeList []T, afterList []T) (added []T, removed []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 NotificationIntegration() *schema.Resource
- func OAuthIntegration() *schema.Resource
- func OauthIntegrationForCustomClients() *schema.Resource
- func OauthIntegrationForPartnerApplications() *schema.Resource
- func ObjectParameter() *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 Procedure() *schema.Resource
- func ReadAPIIntegration(d *schema.ResourceData, meta interface{}) error
- func ReadAccount(d *schema.ResourceData, meta interface{}) error
- func ReadAccountParameter(d *schema.ResourceData, meta interface{}) error
- func ReadAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- 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 ReadContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextExternalOauthIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 ReadContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ReadContextSAML2Integration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSCIMIntegration(withExternalChangesMarking bool) schema.ReadContextFunc
- func ReadContextSchema(withExternalChangesMarking bool) schema.ReadContextFunc
- 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 interface{}) diag.Diagnostics
- func ReadContextTagMaskingPolicyAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 ReadDatabaseOld(d *schema.ResourceData, meta interface{}) error
- func ReadDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadDynamicTable(d *schema.ResourceData, meta interface{}) error
- func ReadEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func ReadExternalTable(d *schema.ResourceData, meta any) error
- func ReadFailoverGroup(d *schema.ResourceData, meta interface{}) error
- func ReadFileFormat(d *schema.ResourceData, meta interface{}) error
- func ReadGrantAccountRole(d *schema.ResourceData, meta interface{}) error
- func ReadGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta interface{}) error
- func ReadMaskingPolicy(d *schema.ResourceData, meta interface{}) error
- func ReadMaterializedView(d *schema.ResourceData, meta interface{}) error
- func ReadNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- func ReadNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func ReadOAuthIntegration(d *schema.ResourceData, meta interface{}) error
- func ReadObjectParameter(d *schema.ResourceData, meta interface{}) error
- func ReadPasswordPolicy(d *schema.ResourceData, meta interface{}) error
- func ReadPipe(d *schema.ResourceData, meta interface{}) error
- func ReadResourceMonitor(d *schema.ResourceData, meta interface{}) error
- func ReadRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
- func ReadSAMLIntegration(d *schema.ResourceData, meta interface{}) error
- func ReadSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func ReadSequence(d *schema.ResourceData, meta interface{}) error
- func ReadSessionParameter(d *schema.ResourceData, meta interface{}) error
- func ReadShare(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta any) error
- func ReadStream(d *schema.ResourceData, meta interface{}) error
- func ReadTable(d *schema.ResourceData, meta interface{}) error
- func ReadTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
- func ReadTableConstraint(_ *schema.ResourceData, _ interface{}) error
- func ReadTask(d *schema.ResourceData, meta interface{}) error
- func ReadUnsafeExecute(d *schema.ResourceData, meta interface{}) error
- func ReadUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
- func ReadUserPublicKeys(d *schema.ResourceData, meta interface{}) error
- func ReadView(withExternalChangesMarking bool) schema.ReadContextFunc
- func ResourceMonitor() *schema.Resource
- func Role() *schema.Resource
- func RowAccessPolicy() *schema.Resource
- func SAML2Integration() *schema.Resource
- func SAMLIntegration() *schema.Resource
- func SCIMIntegration() *schema.Resource
- func Schema() *schema.Resource
- func SecondaryDatabase() *schema.Resource
- func Sequence() *schema.Resource
- func SessionParameter() *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 Stream() *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)
- func TagMaskingPolicyAssociation() *schema.Resource
- func Task() *schema.Resource
- func UnsafeExecute() *schema.Resource
- func UpdateAPIIntegration(d *schema.ResourceData, meta interface{}) error
- func UpdateAccount(d *schema.ResourceData, meta interface{}) error
- func UpdateAccountParameter(d *schema.ResourceData, meta interface{}) error
- 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 UpdateContextExternalFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextExternalOauthIntegration(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func UpdateContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 UpdateContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 interface{}) 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 UpdateDatabaseOld(d *schema.ResourceData, meta interface{}) error
- func UpdateDatabaseRole(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateDynamicTable(d *schema.ResourceData, meta interface{}) error
- func UpdateEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func UpdateExternalTable(d *schema.ResourceData, meta any) error
- func UpdateFailoverGroup(d *schema.ResourceData, meta interface{}) error
- func UpdateFileFormat(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta interface{}) error
- func UpdateMaterializedView(d *schema.ResourceData, meta interface{}) error
- func UpdateNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
- func UpdateNotificationIntegration(d *schema.ResourceData, meta interface{}) error
- func UpdateOAuthIntegration(d *schema.ResourceData, meta interface{}) error
- func UpdateObjectParameter(d *schema.ResourceData, meta interface{}) error
- func UpdatePasswordPolicy(d *schema.ResourceData, meta interface{}) error
- func UpdatePipe(d *schema.ResourceData, meta interface{}) error
- func UpdateResourceMonitor(d *schema.ResourceData, meta interface{}) error
- func UpdateRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
- func UpdateSAMLIntegration(d *schema.ResourceData, meta interface{}) error
- func UpdateSecondaryDatabase(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateSequence(d *schema.ResourceData, meta interface{}) error
- func UpdateSessionParameter(d *schema.ResourceData, meta interface{}) error
- func UpdateShare(d *schema.ResourceData, meta interface{}) error
- 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(d *schema.ResourceData, meta any) error
- func UpdateStream(d *schema.ResourceData, meta interface{}) error
- func UpdateTable(d *schema.ResourceData, meta interface{}) error
- func UpdateTableConstraint(d *schema.ResourceData, meta interface{}) error
- func UpdateTask(d *schema.ResourceData, meta interface{}) error
- func UpdateUnsafeExecute(d *schema.ResourceData, meta interface{}) error
- func UpdateUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func UpdateUserPublicKeys(d *schema.ResourceData, meta interface{}) error
- 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 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 OnAccountGrantData
- type OnAccountObjectGrantData
- type OnDatabaseGrantData
- type OnObjectGrantOwnershipData
- type OnSchemaGrantData
- type OnSchemaGrantKind
- type OnSchemaObjectGrantData
- type OnSchemaObjectGrantKind
- type OutboundPrivilegesBehavior
- type Privilege
- type PrivilegeSet
- type ResourceIdProvider
- type ResourceValueSetter
- type ShareGrantKind
- type ViewDataMetricFunctionConfig
Constants ¶
const ( ShowOutputAttributeName = "show_output" DescribeOutputAttributeName = "describe_output" ParametersAttributeName = "parameters" RelatedParametersAttributeName = "related_parameters" )
const ( BooleanTrue = "true" BooleanFalse = "false" BooleanDefault = "default" IntDefault = -1 IntDefaultString = "-1" )
const FullyQualifiedNameAttributeName = "fully_qualified_name"
const (
SnowflakeReaderAccountType = "READER"
)
Variables ¶
This section is empty.
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 AccountParameter ¶ added in v0.54.0
func AccountPasswordPolicyAttachment ¶ added in v0.67.0
AccountPasswordPolicyAttachment returns a pointer to the resource representing an api integration.
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 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(d *schema.ResourceData, meta interface{}) error
CreateAPIIntegration implements schema.CreateFunc.
func CreateAccount ¶ added in v0.56.0
func CreateAccount(d *schema.ResourceData, meta interface{}) error
CreateAccount implements schema.CreateFunc.
func CreateAccountParameter ¶ added in v0.54.0
func CreateAccountParameter(d *schema.ResourceData, meta interface{}) error
CreateAccountParameter implements schema.CreateFunc.
func CreateAccountPasswordPolicyAttachment ¶ added in v0.67.0
func CreateAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
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 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 CreateContextFunction ¶ added in v0.86.0
func CreateContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 CreateContextProcedure ¶ added in v0.86.0
func CreateContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 interface{}) diag.Diagnostics
func CreateContextTagMaskingPolicyAssociation ¶ added in v0.87.1
func CreateContextTagMaskingPolicyAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 CreateDatabaseOld ¶ added in v0.93.0
func CreateDatabaseOld(d *schema.ResourceData, meta interface{}) error
CreateDatabase implements schema.CreateFunc.
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(d *schema.ResourceData, meta interface{}) error
CreateDynamicTable implements schema.CreateFunc.
func CreateEmailNotificationIntegration ¶ added in v0.64.0
func CreateEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
CreateEmailNotificationIntegration implements schema.CreateFunc.
func CreateExternalTable ¶ added in v0.34.0
func CreateExternalTable(d *schema.ResourceData, meta any) error
CreateExternalTable implements schema.CreateFunc.
func CreateFailoverGroup ¶ added in v0.49.0
func CreateFailoverGroup(d *schema.ResourceData, meta interface{}) error
CreateFailoverGroup implements schema.CreateFunc.
func CreateFileFormat ¶ added in v0.34.0
func CreateFileFormat(d *schema.ResourceData, meta interface{}) error
CreateFileFormat implements schema.CreateFunc.
func CreateGrantAccountRole ¶ added in v0.84.0
func CreateGrantAccountRole(d *schema.ResourceData, meta interface{}) error
CreateGrantAccountRole implements schema.CreateFunc.
func CreateGrantDatabaseRole ¶ added in v0.84.0
func CreateGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
CreateManagedAccount implements schema.CreateFunc.
func CreateMaskingPolicy ¶ added in v0.34.0
func CreateMaskingPolicy(d *schema.ResourceData, meta interface{}) error
CreateMaskingPolicy implements schema.CreateFunc.
func CreateMaterializedView ¶ added in v0.34.0
func CreateMaterializedView(d *schema.ResourceData, meta interface{}) error
CreateMaterializedView implements schema.CreateFunc.
func CreateNetworkPolicyAttachment ¶ added in v0.34.0
func CreateNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
CreateNetworkPolicyAttachment implements schema.CreateFunc.
func CreateNotificationIntegration ¶ added in v0.34.0
func CreateNotificationIntegration(d *schema.ResourceData, meta interface{}) error
CreateNotificationIntegration implements schema.CreateFunc.
func CreateOAuthIntegration ¶ added in v0.34.0
func CreateOAuthIntegration(d *schema.ResourceData, meta interface{}) error
CreateOAuthIntegration implements schema.CreateFunc.
func CreateObjectParameter ¶ added in v0.54.0
func CreateObjectParameter(d *schema.ResourceData, meta interface{}) error
CreateObjectParameter implements schema.CreateFunc.
func CreatePasswordPolicy ¶ added in v0.62.0
func CreatePasswordPolicy(d *schema.ResourceData, meta interface{}) error
CreatePasswordPolicy implements schema.CreateFunc.
func CreatePipe ¶ added in v0.34.0
func CreatePipe(d *schema.ResourceData, meta interface{}) error
CreatePipe implements schema.CreateFunc.
func CreateResourceMonitor ¶ added in v0.34.0
func CreateResourceMonitor(d *schema.ResourceData, meta interface{}) error
CreateResourceMonitor implements schema.CreateFunc.
func CreateRowAccessPolicy ¶ added in v0.34.0
func CreateRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
CreateRowAccessPolicy implements schema.CreateFunc.
func CreateSAMLIntegration ¶ added in v0.34.0
func CreateSAMLIntegration(d *schema.ResourceData, meta interface{}) error
CreateSAMLIntegration implements schema.CreateFunc.
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(d *schema.ResourceData, meta interface{}) error
func CreateSessionParameter ¶ added in v0.54.0
func CreateSessionParameter(d *schema.ResourceData, meta interface{}) error
CreateSessionParameter implements schema.CreateFunc.
func CreateShare ¶ added in v0.34.0
func CreateShare(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta any) error
func CreateStream ¶ added in v0.34.0
func CreateStream(d *schema.ResourceData, meta interface{}) error
CreateStream implements schema.CreateFunc.
func CreateTable ¶ added in v0.34.0
func CreateTable(d *schema.ResourceData, meta interface{}) error
CreateTable implements schema.CreateFunc.
func CreateTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func CreateTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
CreateTableColumnMaskingPolicyApplication implements schema.CreateFunc.
func CreateTableConstraint ¶ added in v0.47.0
func CreateTableConstraint(d *schema.ResourceData, meta interface{}) error
CreateTableConstraint implements schema.CreateFunc.
func CreateTask ¶ added in v0.34.0
func CreateTask(d *schema.ResourceData, meta interface{}) error
CreateTask implements schema.CreateFunc.
func CreateUnsafeExecute ¶ added in v0.77.0
func CreateUnsafeExecute(d *schema.ResourceData, meta interface{}) error
func CreateUser ¶
func CreateUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func CreateUserPasswordPolicyAttachment ¶ added in v0.86.0
func CreateUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
func CreateUserPublicKeys ¶ added in v0.34.0
func CreateUserPublicKeys(d *schema.ResourceData, meta interface{}) error
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 DataTypeIssue3007DiffSuppressFunc ¶ added in v0.95.0
func DataTypeIssue3007DiffSuppressFunc(_, old, new string, _ *schema.ResourceData) bool
DataTypeIssue3007DiffSuppressFunc is a temporary solution to handle data type suppression problems. Currently, it handles only number and text data types. It falls back to Snowflake defaults for arguments if no arguments were provided for the data type. TODO [SNOW-1348103 or SNOW-1348106]: visit with functions and procedures rework
func DatabaseOld ¶ added in v0.93.0
Database returns a pointer to the resource representing a database.
func DatabaseRole ¶ added in v0.62.0
func DeleteAPIIntegration ¶ added in v0.34.0
func DeleteAPIIntegration(d *schema.ResourceData, meta interface{}) error
DeleteAPIIntegration implements schema.DeleteFunc.
func DeleteAccount ¶ added in v0.56.0
func DeleteAccount(d *schema.ResourceData, meta interface{}) error
DeleteAccount implements schema.DeleteFunc.
func DeleteAccountParameter ¶ added in v0.54.0
func DeleteAccountParameter(d *schema.ResourceData, meta interface{}) error
DeleteAccountParameter implements schema.DeleteFunc.
func DeleteAccountPasswordPolicyAttachment ¶ added in v0.67.0
func DeleteAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
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 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 DeleteContextFunction ¶ added in v0.86.0
func DeleteContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 DeleteContextProcedure ¶ added in v0.86.0
func DeleteContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 DeleteContextTagMaskingPolicyAssociation ¶ added in v0.87.1
func DeleteContextTagMaskingPolicyAssociation(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 DeleteDatabaseOld ¶ added in v0.93.0
func DeleteDatabaseOld(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
DeleteDynamicTable implements schema.DeleteFunc.
func DeleteEmailNotificationIntegration ¶ added in v0.64.0
func DeleteEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
DeleteEmailNotificationIntegration implements schema.DeleteFunc.
func DeleteExternalTable ¶ added in v0.34.0
func DeleteExternalTable(d *schema.ResourceData, meta any) error
DeleteExternalTable implements schema.DeleteFunc.
func DeleteFailoverGroup ¶ added in v0.49.0
func DeleteFailoverGroup(d *schema.ResourceData, meta interface{}) error
DeleteFailoverGroup implements schema.DeleteFunc.
func DeleteFileFormat ¶ added in v0.34.0
func DeleteFileFormat(d *schema.ResourceData, meta interface{}) error
DeleteFileFormat implements schema.DeleteFunc.
func DeleteGrantAccountRole ¶ added in v0.84.0
func DeleteGrantAccountRole(d *schema.ResourceData, meta interface{}) error
func DeleteGrantDatabaseRole ¶ added in v0.84.0
func DeleteGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
DeleteManagedAccount implements schema.DeleteFunc.
func DeleteMaskingPolicy ¶ added in v0.34.0
func DeleteMaskingPolicy(d *schema.ResourceData, meta interface{}) error
DeleteMaskingPolicy implements schema.DeleteFunc.
func DeleteMaterializedView ¶ added in v0.34.0
func DeleteMaterializedView(d *schema.ResourceData, meta interface{}) error
DeleteMaterializedView implements schema.DeleteFunc.
func DeleteNetworkPolicyAttachment ¶ added in v0.34.0
func DeleteNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
DeleteNetworkPolicyAttachment implements schema.DeleteFunc.
func DeleteNotificationIntegration ¶ added in v0.34.0
func DeleteNotificationIntegration(d *schema.ResourceData, meta interface{}) error
DeleteNotificationIntegration implements schema.DeleteFunc.
func DeleteOAuthIntegration ¶ added in v0.34.0
func DeleteOAuthIntegration(d *schema.ResourceData, meta interface{}) error
DeleteOAuthIntegration implements schema.DeleteFunc.
func DeleteObjectParameter ¶ added in v0.54.0
func DeleteObjectParameter(d *schema.ResourceData, meta interface{}) error
DeleteObjectParameter implements schema.DeleteFunc.
func DeletePasswordPolicy ¶ added in v0.62.0
func DeletePasswordPolicy(d *schema.ResourceData, meta interface{}) error
DeletePasswordPolicy implements schema.DeleteFunc.
func DeletePipe ¶ added in v0.34.0
func DeletePipe(d *schema.ResourceData, meta interface{}) error
DeletePipe implements schema.DeleteFunc.
func DeleteResource ¶ added in v0.3.0
func DeleteResourceMonitor ¶ added in v0.34.0
func DeleteResourceMonitor(d *schema.ResourceData, meta interface{}) error
DeleteResourceMonitor implements schema.DeleteFunc.
func DeleteRowAccessPolicy ¶ added in v0.34.0
func DeleteRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
DeleteRowAccessPolicy implements schema.DeleteFunc.
func DeleteSAMLIntegration ¶ added in v0.34.0
func DeleteSAMLIntegration(d *schema.ResourceData, meta interface{}) error
DeleteSAMLIntegration implements schema.DeleteFunc.
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(d *schema.ResourceData, meta interface{}) error
func DeleteSessionParameter ¶ added in v0.54.0
func DeleteSessionParameter(d *schema.ResourceData, meta interface{}) error
DeleteSessionParameter implements schema.DeleteFunc.
func DeleteShare ¶ added in v0.34.0
func DeleteShare(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta any) error
func DeleteStream ¶ added in v0.34.0
func DeleteStream(d *schema.ResourceData, meta interface{}) error
DeleteStream implements schema.DeleteFunc.
func DeleteTable ¶ added in v0.34.0
func DeleteTable(d *schema.ResourceData, meta interface{}) error
DeleteTable implements schema.DeleteFunc.
func DeleteTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func DeleteTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
DeleteTableColumnMaskingPolicyApplication implements schema.DeleteFunc.
func DeleteTableConstraint ¶ added in v0.47.0
func DeleteTableConstraint(d *schema.ResourceData, meta interface{}) error
DeleteTableConstraint implements schema.DeleteFunc.
func DeleteTask ¶ added in v0.34.0
func DeleteTask(d *schema.ResourceData, meta interface{}) error
DeleteTask implements schema.DeleteFunc.
func DeleteUnsafeExecute ¶ added in v0.77.0
func DeleteUnsafeExecute(d *schema.ResourceData, meta interface{}) error
func DeleteUser ¶
func DeleteUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func DeleteUserPasswordPolicyAttachment ¶ added in v0.86.0
func DeleteUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
func DeleteUserPublicKeys ¶ added in v0.34.0
func DeleteUserPublicKeys(d *schema.ResourceData, meta interface{}) error
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 ExternalFunction ¶ added in v0.34.0
func ExternalOauthIntegration ¶ added in v0.34.0
func ExternalTable ¶ added in v0.34.0
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 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 GetConfigPropertyAsPointerAllowingZeroValue ¶ added in v0.93.0
func GetConfigPropertyAsPointerAllowingZeroValue[T any](d *schema.ResourceData, property string) *T
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(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 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 IgnoreValuesFromSetIfParamSet ¶ added in v0.93.0
func IgnoreValuesFromSetIfParamSet(key, param string, values []string) schema.SchemaDiffSuppressFunc
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 ImportExternalOauthIntegration ¶ added in v0.93.0
func ImportExternalOauthIntegration(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 ImportName ¶ added in v0.95.0
func ImportName[T sdk.AccountObjectIdentifier | sdk.DatabaseObjectIdentifier | sdk.SchemaObjectIdentifier](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 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 ImportStreamlit ¶ added in v0.94.0
func ImportStreamlit(ctx context.Context, d *schema.ResourceData, meta any) ([]*schema.ResourceData, error)
func ImportUser ¶ added in v0.95.0
func ImportUser(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 IsDataType ¶ added in v0.80.0
func IsDataType() schema.SchemaValidateFunc
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 deprecated, 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
IsValidIdentifier is a validator that can be used for validating identifiers passed in resources and data sources.
Typically, we expect passed identifiers to be a variation of sdk.ObjectIdentifier. For now, we're expecting implementations of sdk.ObjectIdentifier, because we won't support sdk.ExternalObjectIdentifiers. The reason behind it is that the functions that parse identifiers are not able to differentiate between sdk.ExternalObjectIdentifiers and sdk.DatabaseObjectIdentifier or sdk.SchemaObjectIdentifier. That's because sdk.ExternalObjectIdentifiers has varying parts count (2 or 3).
To use this function, pass it as a validation function on identifier field with generic parameter set to the desired sdk.ObjectIdentifier implementation.
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 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 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 NotificationIntegration ¶ added in v0.34.0
NotificationIntegration returns a pointer to the resource representing a notification integration.
func OAuthIntegration ¶ added in v0.34.0
OAuthIntegration returns a pointer to the resource representing an OAuth integration.
func OauthIntegrationForCustomClients ¶ added in v0.93.0
func OauthIntegrationForPartnerApplications ¶ added in v0.93.0
func ObjectParameter ¶ added in v0.54.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 Procedure ¶ added in v0.34.0
Procedure returns a pointer to the resource representing a stored procedure.
func ReadAPIIntegration ¶ added in v0.34.0
func ReadAPIIntegration(d *schema.ResourceData, meta interface{}) error
ReadAPIIntegration implements schema.ReadFunc.
func ReadAccount ¶ added in v0.56.0
func ReadAccount(d *schema.ResourceData, meta interface{}) error
ReadAccount implements schema.ReadFunc.
func ReadAccountParameter ¶ added in v0.54.0
func ReadAccountParameter(d *schema.ResourceData, meta interface{}) error
ReadAccountParameter implements schema.ReadFunc.
func ReadAccountPasswordPolicyAttachment ¶ added in v0.67.0
func ReadAccountPasswordPolicyAttachment(d *schema.ResourceData, meta interface{}) error
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 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 ReadContextFunction ¶ added in v0.86.0
func ReadContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 ReadContextProcedure ¶ added in v0.86.0
func ReadContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 interface{}) diag.Diagnostics
func ReadContextTagMaskingPolicyAssociation ¶ added in v0.87.1
func ReadContextTagMaskingPolicyAssociation(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 ReadDatabaseOld ¶ added in v0.93.0
func ReadDatabaseOld(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
ReadDynamicTable implements schema.ReadFunc.
func ReadEmailNotificationIntegration ¶ added in v0.64.0
func ReadEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
ReadEmailNotificationIntegration implements schema.ReadFunc.
func ReadExternalTable ¶ added in v0.34.0
func ReadExternalTable(d *schema.ResourceData, meta any) error
ReadExternalTable implements schema.ReadFunc.
func ReadFailoverGroup ¶ added in v0.49.0
func ReadFailoverGroup(d *schema.ResourceData, meta interface{}) error
ReadFailoverGroup implements schema.ReadFunc.
func ReadFileFormat ¶ added in v0.34.0
func ReadFileFormat(d *schema.ResourceData, meta interface{}) error
ReadFileFormat implements schema.ReadFunc.
func ReadGrantAccountRole ¶ added in v0.84.0
func ReadGrantAccountRole(d *schema.ResourceData, meta interface{}) error
func ReadGrantDatabaseRole ¶ added in v0.84.0
func ReadGrantDatabaseRole(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
ReadManagedAccount implements schema.ReadFunc.
func ReadMaskingPolicy ¶ added in v0.34.0
func ReadMaskingPolicy(d *schema.ResourceData, meta interface{}) error
ReadMaskingPolicy implements schema.ReadFunc.
func ReadMaterializedView ¶ added in v0.34.0
func ReadMaterializedView(d *schema.ResourceData, meta interface{}) error
ReadMaterializedView implements schema.ReadFunc.
func ReadNetworkPolicyAttachment ¶ added in v0.34.0
func ReadNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
ReadNetworkPolicyAttachment implements schema.ReadFunc.
func ReadNotificationIntegration ¶ added in v0.34.0
func ReadNotificationIntegration(d *schema.ResourceData, meta interface{}) error
ReadNotificationIntegration implements schema.ReadFunc.
func ReadOAuthIntegration ¶ added in v0.34.0
func ReadOAuthIntegration(d *schema.ResourceData, meta interface{}) error
ReadOAuthIntegration implements schema.ReadFunc.
func ReadObjectParameter ¶ added in v0.54.0
func ReadObjectParameter(d *schema.ResourceData, meta interface{}) error
ReadObjectParameter implements schema.ReadFunc.
func ReadPasswordPolicy ¶ added in v0.62.0
func ReadPasswordPolicy(d *schema.ResourceData, meta interface{}) error
ReadPasswordPolicy implements schema.ReadFunc.
func ReadPipe ¶ added in v0.34.0
func ReadPipe(d *schema.ResourceData, meta interface{}) error
ReadPipe implements schema.ReadFunc.
func ReadResourceMonitor ¶ added in v0.34.0
func ReadResourceMonitor(d *schema.ResourceData, meta interface{}) error
ReadResourceMonitor implements schema.ReadFunc.
func ReadRowAccessPolicy ¶ added in v0.34.0
func ReadRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
ReadRowAccessPolicy implements schema.ReadFunc.
func ReadSAMLIntegration ¶ added in v0.34.0
func ReadSAMLIntegration(d *schema.ResourceData, meta interface{}) error
ReadSAMLIntegration implements schema.ReadFunc.
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(d *schema.ResourceData, meta interface{}) error
func ReadSessionParameter ¶ added in v0.54.0
func ReadSessionParameter(d *schema.ResourceData, meta interface{}) error
ReadSessionParameter implements schema.ReadFunc.
func ReadShare ¶ added in v0.34.0
func ReadShare(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta any) error
func ReadStream ¶ added in v0.34.0
func ReadStream(d *schema.ResourceData, meta interface{}) error
ReadStream implements schema.ReadFunc.
func ReadTable ¶ added in v0.34.0
func ReadTable(d *schema.ResourceData, meta interface{}) error
ReadTable implements schema.ReadFunc.
func ReadTableColumnMaskingPolicyApplication ¶ added in v0.63.0
func ReadTableColumnMaskingPolicyApplication(d *schema.ResourceData, meta interface{}) error
ReadTableColumnMaskingPolicyApplication implements schema.ReadFunc.
func ReadTableConstraint ¶ added in v0.47.0
func ReadTableConstraint(_ *schema.ResourceData, _ interface{}) error
ReadTableConstraint implements schema.ReadFunc.
func ReadTask ¶ added in v0.34.0
func ReadTask(d *schema.ResourceData, meta interface{}) error
ReadTask implements schema.ReadFunc.
func ReadUnsafeExecute ¶ added in v0.77.0
func ReadUnsafeExecute(d *schema.ResourceData, meta interface{}) error
func ReadUserPasswordPolicyAttachment ¶ added in v0.86.0
func ReadUserPasswordPolicyAttachment(d *schema.ResourceData, meta any) error
func ReadUserPublicKeys ¶ added in v0.34.0
func ReadUserPublicKeys(d *schema.ResourceData, meta interface{}) error
func ReadView ¶ added in v0.34.0
func ReadView(withExternalChangesMarking bool) schema.ReadContextFunc
func ResourceMonitor ¶ added in v0.34.0
ResourceMonitor returns a pointer to the resource representing a resource monitor.
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 SAMLIntegration ¶ added in v0.34.0
SAMLIntegration returns a pointer to the resource representing a SAML2 security integration.
func SCIMIntegration ¶ added in v0.34.0
func SecondaryDatabase ¶ added in v0.92.0
func SessionParameter ¶ added in v0.54.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 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)
func TagMaskingPolicyAssociation ¶ added in v0.43.0
Schema returns a pointer to the resource representing a schema.
func UnsafeExecute ¶ added in v0.77.0
func UpdateAPIIntegration ¶ added in v0.34.0
func UpdateAPIIntegration(d *schema.ResourceData, meta interface{}) error
UpdateAPIIntegration implements schema.UpdateFunc.
func UpdateAccount ¶ added in v0.56.0
func UpdateAccount(d *schema.ResourceData, meta interface{}) error
UpdateAccount implements schema.UpdateFunc.
func UpdateAccountParameter ¶ added in v0.54.0
func UpdateAccountParameter(d *schema.ResourceData, meta interface{}) error
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 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 UpdateContextFunction ¶ added in v0.86.0
func UpdateContextFunction(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 UpdateContextProcedure ¶ added in v0.86.0
func UpdateContextProcedure(ctx context.Context, d *schema.ResourceData, meta interface{}) 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 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 interface{}) 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 UpdateDatabaseOld ¶ added in v0.93.0
func UpdateDatabaseOld(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta interface{}) error
UpdateDynamicTable implements schema.UpdateFunc.
func UpdateEmailNotificationIntegration ¶ added in v0.64.0
func UpdateEmailNotificationIntegration(d *schema.ResourceData, meta interface{}) error
UpdateEmailNotificationIntegration implements schema.UpdateFunc.
func UpdateExternalTable ¶ added in v0.34.0
func UpdateExternalTable(d *schema.ResourceData, meta any) error
UpdateExternalTable implements schema.UpdateFunc.
func UpdateFailoverGroup ¶ added in v0.49.0
func UpdateFailoverGroup(d *schema.ResourceData, meta interface{}) error
UpdateFailoverGroup implements schema.UpdateFunc.
func UpdateFileFormat ¶ added in v0.34.0
func UpdateFileFormat(d *schema.ResourceData, meta interface{}) error
UpdateFileFormat implements schema.UpdateFunc.
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(d *schema.ResourceData, meta interface{}) error
UpdateMaskingPolicy implements schema.UpdateFunc.
func UpdateMaterializedView ¶ added in v0.34.0
func UpdateMaterializedView(d *schema.ResourceData, meta interface{}) error
UpdateMaterializedView implements schema.UpdateFunc.
func UpdateNetworkPolicyAttachment ¶ added in v0.34.0
func UpdateNetworkPolicyAttachment(d *schema.ResourceData, meta interface{}) error
UpdateNetworkPolicyAttachment implements schema.UpdateFunc.
func UpdateNotificationIntegration ¶ added in v0.34.0
func UpdateNotificationIntegration(d *schema.ResourceData, meta interface{}) error
UpdateNotificationIntegration implements schema.UpdateFunc.
func UpdateOAuthIntegration ¶ added in v0.34.0
func UpdateOAuthIntegration(d *schema.ResourceData, meta interface{}) error
UpdateOAuthIntegration implements schema.UpdateFunc.
func UpdateObjectParameter ¶ added in v0.54.0
func UpdateObjectParameter(d *schema.ResourceData, meta interface{}) error
UpdateObjectParameter implements schema.UpdateFunc.
func UpdatePasswordPolicy ¶ added in v0.62.0
func UpdatePasswordPolicy(d *schema.ResourceData, meta interface{}) error
UpdatePasswordPolicy implements schema.UpdateFunc.
func UpdatePipe ¶ added in v0.34.0
func UpdatePipe(d *schema.ResourceData, meta interface{}) error
UpdatePipe implements schema.UpdateFunc.
func UpdateResourceMonitor ¶ added in v0.55.0
func UpdateResourceMonitor(d *schema.ResourceData, meta interface{}) error
UpdateResourceMonitor implements schema.UpdateFunc.
func UpdateRowAccessPolicy ¶ added in v0.34.0
func UpdateRowAccessPolicy(d *schema.ResourceData, meta interface{}) error
UpdateRowAccessPolicy implements schema.UpdateFunc.
func UpdateSAMLIntegration ¶ added in v0.34.0
func UpdateSAMLIntegration(d *schema.ResourceData, meta interface{}) error
UpdateSAMLIntegration 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(d *schema.ResourceData, meta interface{}) error
func UpdateSessionParameter ¶ added in v0.54.0
func UpdateSessionParameter(d *schema.ResourceData, meta interface{}) error
UpdateSessionParameter implements schema.UpdateFunc.
func UpdateShare ¶ added in v0.34.0
func UpdateShare(d *schema.ResourceData, meta interface{}) error
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(d *schema.ResourceData, meta any) error
func UpdateStream ¶ added in v0.34.0
func UpdateStream(d *schema.ResourceData, meta interface{}) error
UpdateStream implements schema.UpdateFunc.
func UpdateTable ¶ added in v0.34.0
func UpdateTable(d *schema.ResourceData, meta interface{}) error
UpdateTable implements schema.UpdateFunc.
func UpdateTableConstraint ¶ added in v0.47.0
func UpdateTableConstraint(d *schema.ResourceData, meta interface{}) error
UpdateTableConstraint implements schema.UpdateFunc.
func UpdateTask ¶ added in v0.34.0
func UpdateTask(d *schema.ResourceData, meta interface{}) error
UpdateTask implements schema.UpdateFunc.
func UpdateUnsafeExecute ¶ added in v0.77.0
func UpdateUnsafeExecute(d *schema.ResourceData, meta interface{}) error
func UpdateUser ¶
func UpdateUser(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func UpdateUserPublicKeys ¶ added in v0.34.0
func UpdateUserPublicKeys(d *schema.ResourceData, meta interface{}) error
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 UserPasswordPolicyAttachment ¶ added in v0.86.0
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 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 PrivilegeSet ¶ added in v0.34.0
type PrivilegeSet map[Privilege]struct{}
func NewPrivilegeSet ¶ added in v0.34.0
func NewPrivilegeSet(privileges ...Privilege) PrivilegeSet
func (PrivilegeSet) ToList ¶ added in v0.34.0
func (ps PrivilegeSet) ToList() []string
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_parameter.go
- account_password_policy_attachment.go
- account_role.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
- common.go
- cortex_search_service.go
- custom_diffs.go
- database.go
- database_commons.go
- database_old.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
- external_function.go
- external_function_state_upgraders.go
- external_oauth_integration.go
- external_oauth_integration_stage_upgraders.go
- external_table.go
- failover_group.go
- file_format.go
- function.go
- function_state_upgraders.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
- materialized_view.go
- network_policy.go
- network_policy_attachment.go
- network_rule.go
- notification_integration.go
- oauth_integration.go
- oauth_integration_for_custom_clients.go
- oauth_integration_for_partner_applications.go
- object_parameter.go
- password_policy.go
- pipe.go
- privileges.go
- procedure.go
- procedure_state_upgraders.go
- resource.go
- resource_helpers_create.go
- resource_helpers_read.go
- resource_helpers_update.go
- resource_monitor.go
- resource_parameters_commons.go
- role.go
- row_access_policy.go
- saml2_integration.go
- saml_integration.go
- schema.go
- schema_parameters.go
- schema_state_upgraders.go
- scim_integration.go
- scim_integration_state_upgraders.go
- secondary_database.go
- sequence.go
- session_parameter.go
- share.go
- shared_database.go
- show_and_describe_handlers.go
- special_values.go
- stage.go
- storage_integration.go
- stream.go
- streamlit.go
- table.go
- table_column_masking_policy_application.go
- table_constraint.go
- tag.go
- tag_association.go
- tag_masking_policy_association.go
- task.go
- unsafe_execute.go
- user.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