schemas

package
v0.94.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiAuthenticationPropertiesNames = []string{
	"ENABLED",
	"OAUTH_ACCESS_TOKEN_VALIDITY",
	"OAUTH_REFRESH_TOKEN_VALIDITY",
	"OAUTH_CLIENT_ID",
	"OAUTH_CLIENT_AUTH_METHOD",
	"OAUTH_AUTHORIZATION_ENDPOINT",
	"OAUTH_TOKEN_ENDPOINT",
	"OAUTH_ALLOWED_SCOPES",
	"OAUTH_GRANT",
	"PARENT_INTEGRATION",
	"AUTH_TYPE",
	"COMMENT",
}
View Source
var DatabaseDescribeSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
}
View Source
var DescribeApiAuthSecurityIntegrationSchema = map[string]*schema.Schema{
	"enabled":                      DescribePropertyListSchema,
	"oauth_access_token_validity":  DescribePropertyListSchema,
	"oauth_refresh_token_validity": DescribePropertyListSchema,
	"oauth_client_id":              DescribePropertyListSchema,
	"oauth_client_auth_method":     DescribePropertyListSchema,
	"oauth_authorization_endpoint": DescribePropertyListSchema,
	"oauth_token_endpoint":         DescribePropertyListSchema,
	"oauth_allowed_scopes":         DescribePropertyListSchema,
	"oauth_grant":                  DescribePropertyListSchema,
	"parent_integration":           DescribePropertyListSchema,
	"auth_type":                    DescribePropertyListSchema,
	"comment":                      DescribePropertyListSchema,
}

DescribeApiAuthSecurityIntegrationSchema represents output of DESCRIBE query for the single SecurityIntegration.

View Source
var DescribeExternalOauthSecurityIntegrationSchema = map[string]*schema.Schema{
	"enabled":                                         DescribePropertyListSchema,
	"external_oauth_issuer":                           DescribePropertyListSchema,
	"external_oauth_jws_keys_url":                     DescribePropertyListSchema,
	"external_oauth_any_role_mode":                    DescribePropertyListSchema,
	"external_oauth_rsa_public_key":                   DescribePropertyListSchema,
	"external_oauth_rsa_public_key_2":                 DescribePropertyListSchema,
	"external_oauth_blocked_roles_list":               DescribePropertyListSchema,
	"external_oauth_allowed_roles_list":               DescribePropertyListSchema,
	"external_oauth_audience_list":                    DescribePropertyListSchema,
	"external_oauth_token_user_mapping_claim":         DescribePropertyListSchema,
	"external_oauth_snowflake_user_mapping_attribute": DescribePropertyListSchema,
	"external_oauth_scope_delimiter":                  DescribePropertyListSchema,
	"comment":                                         DescribePropertyListSchema,
}

DescribeExternalOauthSecurityIntegrationSchema represents output of DESCRIBE query for the single SecurityIntegration.

View Source
var DescribeNetworkPolicySchema = map[string]*schema.Schema{
	"allowed_ip_list": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"blocked_ip_list": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"allowed_network_rule_list": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"blocked_network_rule_list": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

DescribeNetworkPolicySchema represents output of DESCRIBE query for the single NetworkPolicy.

View Source
var DescribeOauthIntegrationForCustomClients = map[string]*schema.Schema{
	"oauth_client_type":                     DescribePropertyListSchema,
	"oauth_redirect_uri":                    DescribePropertyListSchema,
	"enabled":                               DescribePropertyListSchema,
	"oauth_allow_non_tls_redirect_uri":      DescribePropertyListSchema,
	"oauth_enforce_pkce":                    DescribePropertyListSchema,
	"oauth_use_secondary_roles":             DescribePropertyListSchema,
	"pre_authorized_roles_list":             DescribePropertyListSchema,
	"blocked_roles_list":                    DescribePropertyListSchema,
	"oauth_issue_refresh_tokens":            DescribePropertyListSchema,
	"oauth_refresh_token_validity":          DescribePropertyListSchema,
	"network_policy":                        DescribePropertyListSchema,
	"oauth_client_rsa_public_key_fp":        DescribePropertyListSchema,
	"oauth_client_rsa_public_key_2_fp":      DescribePropertyListSchema,
	"comment":                               DescribePropertyListSchema,
	"oauth_client_id":                       DescribePropertyListSchema,
	"oauth_authorization_endpoint":          DescribePropertyListSchema,
	"oauth_token_endpoint":                  DescribePropertyListSchema,
	"oauth_allowed_authorization_endpoints": DescribePropertyListSchema,
	"oauth_allowed_token_endpoints":         DescribePropertyListSchema,
}
View Source
var DescribeOauthIntegrationForPartnerApplications = map[string]*schema.Schema{
	"oauth_client_type":                     DescribePropertyListSchema,
	"oauth_redirect_uri":                    DescribePropertyListSchema,
	"enabled":                               DescribePropertyListSchema,
	"oauth_allow_non_tls_redirect_uri":      DescribePropertyListSchema,
	"oauth_enforce_pkce":                    DescribePropertyListSchema,
	"oauth_use_secondary_roles":             DescribePropertyListSchema,
	"pre_authorized_roles_list":             DescribePropertyListSchema,
	"blocked_roles_list":                    DescribePropertyListSchema,
	"oauth_issue_refresh_tokens":            DescribePropertyListSchema,
	"oauth_refresh_token_validity":          DescribePropertyListSchema,
	"network_policy":                        DescribePropertyListSchema,
	"oauth_client_rsa_public_key_fp":        DescribePropertyListSchema,
	"oauth_client_rsa_public_key_2_fp":      DescribePropertyListSchema,
	"comment":                               DescribePropertyListSchema,
	"oauth_client_id":                       DescribePropertyListSchema,
	"oauth_authorization_endpoint":          DescribePropertyListSchema,
	"oauth_token_endpoint":                  DescribePropertyListSchema,
	"oauth_allowed_authorization_endpoints": DescribePropertyListSchema,
	"oauth_allowed_token_endpoints":         DescribePropertyListSchema,
}
View Source
var DescribePropertyListSchema = &schema.Schema{
	Type:     schema.TypeList,
	Computed: true,
	Elem: &schema.Resource{
		Schema: ShowSecurityIntegrationPropertySchema,
	},
}

DescribePropertyListSchema represents Snowflake property object returned by DESCRIBE query.

View Source
var DescribeSaml2IntegrationSchema = map[string]*schema.Schema{
	"saml2_issuer":                        DescribePropertyListSchema,
	"saml2_sso_url":                       DescribePropertyListSchema,
	"saml2_provider":                      DescribePropertyListSchema,
	"saml2_x509_cert":                     DescribePropertyListSchema,
	"saml2_sp_initiated_login_page_label": DescribePropertyListSchema,
	"saml2_enable_sp_initiated":           DescribePropertyListSchema,
	"saml2_snowflake_x509_cert":           DescribePropertyListSchema,
	"saml2_sign_request":                  DescribePropertyListSchema,
	"saml2_requested_nameid_format":       DescribePropertyListSchema,
	"saml2_post_logout_redirect_url":      DescribePropertyListSchema,
	"saml2_force_authn":                   DescribePropertyListSchema,
	"saml2_snowflake_issuer_url":          DescribePropertyListSchema,
	"saml2_snowflake_acs_url":             DescribePropertyListSchema,
	"saml2_snowflake_metadata":            DescribePropertyListSchema,
	"saml2_digest_methods_used":           DescribePropertyListSchema,
	"saml2_signature_methods_used":        DescribePropertyListSchema,
	"allowed_user_domains":                DescribePropertyListSchema,
	"allowed_email_patterns":              DescribePropertyListSchema,
	"comment":                             DescribePropertyListSchema,
}
View Source
var DescribeScimSecurityIntegrationSchema = map[string]*schema.Schema{
	"enabled":        DescribePropertyListSchema,
	"network_policy": DescribePropertyListSchema,
	"run_as_role":    DescribePropertyListSchema,
	"sync_password":  DescribePropertyListSchema,
	"comment":        DescribePropertyListSchema,
}

DescribeScimSecurityIntegrationSchema represents output of DESCRIBE query for the single SecurityIntegration.

View Source
var DescribeStreamlitSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"title": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"root_location": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"main_file": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"query_warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"url_id": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default_packages": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"user_packages": {
		Type:     schema.TypeSet,
		Elem:     &schema.Schema{Type: schema.TypeString},
		Computed: true,
	},
	"import_urls": {
		Type:     schema.TypeSet,
		Elem:     &schema.Schema{Type: schema.TypeString},
		Computed: true,
	},
	"external_access_integrations": {
		Type:     schema.TypeSet,
		Elem:     &schema.Schema{Type: schema.TypeString},
		Computed: true,
	},
	"external_access_secrets": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

DescribeStreamlitSchema represents output of DESCRIBE query for the single streamlit.

View Source
var ExternalOauthPropertiesNames = []string{
	"ENABLED",
	"EXTERNAL_OAUTH_ISSUER",
	"EXTERNAL_OAUTH_JWS_KEYS_URL",
	"EXTERNAL_OAUTH_ANY_ROLE_MODE",
	"EXTERNAL_OAUTH_RSA_PUBLIC_KEY",
	"EXTERNAL_OAUTH_RSA_PUBLIC_KEY_2",
	"EXTERNAL_OAUTH_BLOCKED_ROLES_LIST",
	"EXTERNAL_OAUTH_ALLOWED_ROLES_LIST",
	"EXTERNAL_OAUTH_AUDIENCE_LIST",
	"EXTERNAL_OAUTH_TOKEN_USER_MAPPING_CLAIM",
	"EXTERNAL_OAUTH_SNOWFLAKE_USER_MAPPING_ATTRIBUTE",
	"EXTERNAL_OAUTH_SCOPE_DELIMITER",
	"COMMENT",
}
View Source
var OauthIntegrationForCustomClientsPropertiesNames = []string{
	"OAUTH_CLIENT_TYPE",
	"OAUTH_REDIRECT_URI",
	"ENABLED",
	"OAUTH_ALLOW_NON_TLS_REDIRECT_URI",
	"OAUTH_ENFORCE_PKCE",
	"OAUTH_USE_SECONDARY_ROLES",
	"PRE_AUTHORIZED_ROLES_LIST",
	"BLOCKED_ROLES_LIST",
	"OAUTH_ISSUE_REFRESH_TOKENS",
	"OAUTH_REFRESH_TOKEN_VALIDITY",
	"NETWORK_POLICY",
	"OAUTH_CLIENT_RSA_PUBLIC_KEY_FP",
	"OAUTH_CLIENT_RSA_PUBLIC_KEY_2_FP",
	"COMMENT",
	"OAUTH_CLIENT_ID",
	"OAUTH_AUTHORIZATION_ENDPOINT",
	"OAUTH_TOKEN_ENDPOINT",
	"OAUTH_ALLOWED_AUTHORIZATION_ENDPOINTS",
	"OAUTH_ALLOWED_TOKEN_ENDPOINTS",
}
View Source
var OauthIntegrationForPartnerApplicationsPropertiesNames = []string{
	"OAUTH_CLIENT_TYPE",
	"OAUTH_REDIRECT_URI",
	"ENABLED",
	"OAUTH_ALLOW_NON_TLS_REDIRECT_URI",
	"OAUTH_ENFORCE_PKCE",
	"OAUTH_USE_SECONDARY_ROLES",
	"PRE_AUTHORIZED_ROLES_LIST",
	"BLOCKED_ROLES_LIST",
	"OAUTH_ISSUE_REFRESH_TOKENS",
	"OAUTH_REFRESH_TOKEN_VALIDITY",
	"NETWORK_POLICY",
	"OAUTH_CLIENT_RSA_PUBLIC_KEY_FP",
	"OAUTH_CLIENT_RSA_PUBLIC_KEY_2_FP",
	"COMMENT",
	"OAUTH_CLIENT_ID",
	"OAUTH_AUTHORIZATION_ENDPOINT",
	"OAUTH_TOKEN_ENDPOINT",
	"OAUTH_ALLOWED_AUTHORIZATION_ENDPOINTS",
	"OAUTH_ALLOWED_TOKEN_ENDPOINTS",
}
View Source
var ParameterListSchema = &schema.Schema{
	Type:     schema.TypeList,
	Computed: true,
	Elem: &schema.Resource{
		Schema: ShowParameterSchema,
	},
}

ParameterListSchema represents Snowflake parameter object.

View Source
var Saml2PropertiesNames = []string{
	"COMMENT",
	"SAML2_ISSUER",
	"SAML2_SSO_URL",
	"SAML2_PROVIDER",
	"SAML2_X509_CERT",
	"SAML2_SP_INITIATED_LOGIN_PAGE_LABEL",
	"SAML2_SNOWFLAKE_X509_CERT",
	"SAML2_REQUESTED_NAMEID_FORMAT",
	"SAML2_POST_LOGOUT_REDIRECT_URL",
	"SAML2_SNOWFLAKE_ISSUER_URL",
	"SAML2_SNOWFLAKE_ACS_URL",
	"SAML2_SNOWFLAKE_METADATA",
	"SAML2_DIGEST_METHODS_USED",
	"SAML2_SIGNATURE_METHODS_USED",
	"SAML2_ENABLE_SP_INITIATED",
	"SAML2_SIGN_REQUEST",
	"SAML2_FORCE_AUTHN",
	"ALLOWED_USER_DOMAINS",
	"ALLOWED_EMAIL_PATTERNS",
}
View Source
var SchemaDescribeSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
}
View Source
var (
	ScimPropertiesNames = []string{
		"ENABLED",
		"NETWORK_POLICY",
		"RUN_AS_ROLE",
		"SYNC_PASSWORD",
		"COMMENT",
	}
)
View Source
var ShowAccountSchema = map[string]*schema.Schema{
	"organization_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"region_group": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"snowflake_region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"edition": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator_url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"managed_accounts": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"consumption_billing_entity_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"marketplace_consumer_billing_entity_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"marketplace_provider_billing_entity_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"old_account_url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_org_admin": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowAccountSchema represents output of SHOW query for the single Account.

View Source
var ShowAlertSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schedule": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"state": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"condition": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"action": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowAlertSchema represents output of SHOW query for the single Alert.

View Source
var ShowApiIntegrationSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"api_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"category": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"enabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowApiIntegrationSchema represents output of SHOW query for the single ApiIntegration.

View Source
var ShowApplicationPackageSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"distribution": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"retention_time": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"dropped_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"application_class": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowApplicationPackageSchema represents output of SHOW query for the single ApplicationPackage.

View Source
var ShowApplicationRoleSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowApplicationRoleSchema represents output of SHOW query for the single ApplicationRole.

View Source
var ShowApplicationSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"source_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"source": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"version": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"label": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"patch": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"retention_time": {
		Type:     schema.TypeInt,
		Computed: true,
	},
}

ShowApplicationSchema represents output of SHOW query for the single Application.

View Source
var (
	ShowDatabaseParametersSchema = make(map[string]*schema.Schema)
)
View Source
var ShowDatabaseRoleSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_inherited": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"granted_to_roles": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"granted_to_database_roles": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"granted_database_roles": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowDatabaseRoleSchema represents output of SHOW query for the single DatabaseRole.

View Source
var ShowDatabaseSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"origin": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"retention_time": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"resource_group": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"dropped_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"transient": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowDatabaseSchema represents output of SHOW query for the single Database.

View Source
var ShowDynamicTableSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"reserved": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cluster_by": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"rows": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"bytes": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"target_lag": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"refresh_mode": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"refresh_mode_reason": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"text": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"automatic_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"scheduling_state": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_suspended_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_clone": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_replica": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"data_timestamp": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowDynamicTableSchema represents output of SHOW query for the single DynamicTable.

View Source
var ShowEventTableSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowEventTableSchema represents output of SHOW query for the single EventTable.

View Source
var ShowExternalFunctionSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_builtin": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_aggregate": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_ansi": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"min_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"max_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"arguments": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"description": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"catalog_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_table_function": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"valid_for_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_secure": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_external_function": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"language": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_memoizable": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_data_metric": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowExternalFunctionSchema represents output of SHOW query for the single ExternalFunction.

View Source
var ShowExternalTableSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"invalid": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"invalid_reason": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"stage": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"file_format_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"file_format_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cloud": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"notification_channel": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_refreshed_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"table_format": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_refresh_details": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowExternalTableSchema represents output of SHOW query for the single ExternalTable.

View Source
var ShowFailoverGroupSchema = map[string]*schema.Schema{
	"region_group": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"snowflake_region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_primary": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"primary": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"object_types": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"allowed_integration_types": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"allowed_accounts": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"organization_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"replication_schedule": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"secondary_state": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"next_scheduled_refresh": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowFailoverGroupSchema represents output of SHOW query for the single FailoverGroup.

View Source
var ShowFileFormatSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
}

ShowFileFormatSchema represents output of SHOW query for the single FileFormat.

View Source
var ShowFunctionSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_builtin": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_aggregate": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_ansi": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"min_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"max_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"arguments": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"description": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"catalog_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_table_function": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"valid_for_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_secure": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_external_function": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"language": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_memoizable": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowFunctionSchema represents output of SHOW query for the single Function.

View Source
var ShowGrantSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"privilege": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"granted_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"grant_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"granted_to": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"grant_to": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"grantee_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"grant_option": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"granted_by": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowGrantSchema represents output of SHOW query for the single Grant.

View Source
var ShowManagedAccountSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cloud": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"locator": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator_url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_reader": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowManagedAccountSchema represents output of SHOW query for the single ManagedAccount.

View Source
var ShowMaskingPolicySchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"exempt_other_policies": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowMaskingPolicySchema represents output of SHOW query for the single MaskingPolicy.

View Source
var ShowMaterializedViewSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"reserved": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cluster_by": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"rows": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"bytes": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"source_database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"source_schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"source_table_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"refreshed_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"compacted_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"invalid": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"invalid_reason": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"behind_by": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"text": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_secure": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"automatic_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"budget": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowMaterializedViewSchema represents output of SHOW query for the single MaterializedView.

View Source
var ShowNetworkPolicySchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"entries_in_allowed_ip_list": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"entries_in_blocked_ip_list": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"entries_in_allowed_network_rules": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"entries_in_blocked_network_rules": {
		Type:     schema.TypeInt,
		Computed: true,
	},
}

ShowNetworkPolicySchema represents output of SHOW query for the single NetworkPolicy.

View Source
var ShowNetworkRuleSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"mode": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"entries_in_value_list": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowNetworkRuleSchema represents output of SHOW query for the single NetworkRule.

View Source
var ShowNotificationIntegrationSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"notification_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"category": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"enabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowNotificationIntegrationSchema represents output of SHOW query for the single NotificationIntegration.

View Source
var ShowParameterSchema = map[string]*schema.Schema{
	"key": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"value": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"level": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"description": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowParameterSchema represents output of SHOW query for the single Parameter.

View Source
var ShowPasswordPolicySchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowPasswordPolicySchema represents output of SHOW query for the single PasswordPolicy.

View Source
var ShowPipeSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"definition": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"notification_channel": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"integration": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"pattern": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"error_integration": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"invalid_reason": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowPipeSchema represents output of SHOW query for the single Pipe.

View Source
var ShowPolicyReferenceSchema = map[string]*schema.Schema{
	"policy_db": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"policy_schema": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"policy_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"policy_kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_entity_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_entity_domain": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_column_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ref_arg_column_names": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"tag_database": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"tag_schema": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"tag_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"policy_status": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowPolicyReferenceSchema represents output of SHOW query for the single PolicyReference.

View Source
var ShowProcedureSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_builtin": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_aggregate": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_ansi": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"min_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"max_num_arguments": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"arguments": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"description": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"catalog_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_table_function": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"valid_for_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_secure": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowProcedureSchema represents output of SHOW query for the single Procedure.

View Source
var ShowRegionSchema = map[string]*schema.Schema{
	"region_group": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"snowflake_region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cloud_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"display_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowRegionSchema represents output of SHOW query for the single Region.

View Source
var ShowReplicationAccountSchema = map[string]*schema.Schema{
	"snowflake_region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"organization_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_org_admin": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowReplicationAccountSchema represents output of SHOW query for the single ReplicationAccount.

View Source
var ShowReplicationDatabaseSchema = map[string]*schema.Schema{
	"region_group": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"snowflake_region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_primary": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"primary_database": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"replication_allowed_to_accounts": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"failover_allowed_to_accounts": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"organization_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"account_locator": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowReplicationDatabaseSchema represents output of SHOW query for the single ReplicationDatabase.

View Source
var ShowResourceMonitorSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"credit_quota": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"used_credits": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"remaining_credits": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"frequency": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"start_time": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"end_time": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"suspend_at": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"suspend_immediate_at": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"notify_triggers": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"level": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"notify_users": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
}

ShowResourceMonitorSchema represents output of SHOW query for the single ResourceMonitor.

View Source
var ShowRoleSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_inherited": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"assigned_to_users": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"granted_to_roles": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"granted_roles": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowRoleSchema represents output of SHOW query for the single Role.

View Source
var ShowRowAccessPolicySchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowRowAccessPolicySchema represents output of SHOW query for the single RowAccessPolicy.

View Source
var (
	ShowSchemaParametersSchema = make(map[string]*schema.Schema)
)
View Source
var ShowSchemaSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"dropped_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"retention_time": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowSchemaSchema represents output of SHOW query for the single Schema.

View Source
var ShowSecurityIntegrationPropertySchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"value": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowSecurityIntegrationPropertySchema represents output of SHOW query for the single SecurityIntegrationProperty.

View Source
var ShowSecurityIntegrationSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"integration_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"category": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"enabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowSecurityIntegrationSchema represents output of SHOW query for the single SecurityIntegration.

View Source
var ShowSequenceSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"next_value": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"interval": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ordered": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowSequenceSchema represents output of SHOW query for the single Sequence.

View Source
var ShowSessionPolicySchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"options": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowSessionPolicySchema represents output of SHOW query for the single SessionPolicy.

View Source
var ShowShareSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"to": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowShareSchema represents output of SHOW query for the single Share.

View Source
var ShowStageSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"url": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"has_credentials": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"has_encryption_key": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cloud": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"storage_integration": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"endpoint": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"directory_enabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowStageSchema represents output of SHOW query for the single Stage.

View Source
var ShowStorageIntegrationSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"storage_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"category": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"enabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowStorageIntegrationSchema represents output of SHOW query for the single StorageIntegration.

View Source
var ShowStreamSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"table_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"table_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"source_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"base_tables": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"stale": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"mode": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"stale_after": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"invalid_reason": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowStreamSchema represents output of SHOW query for the single Stream.

View Source
var ShowStreamlitSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"title": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"query_warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"url_id": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowStreamlitSchema represents output of SHOW query for the single Streamlit.

View Source
var ShowTableSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"cluster_by": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"rows": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"bytes": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"retention_time": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"dropped_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"automatic_clustering": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"change_tracking": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"search_optimization": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"search_optimization_progress": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"search_optimization_bytes": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"is_external": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"enable_schema_evolution": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_event": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"budget": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowTableSchema represents output of SHOW query for the single Table.

View Source
var ShowTagSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"allowed_values": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowTagSchema represents output of SHOW query for the single Tag.

View Source
var ShowTaskSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"id": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schedule": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"predecessors": {
		Type:     schema.TypeInvalid,
		Computed: true,
	},
	"state": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"definition": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"condition": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"allow_overlapping_execution": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"error_integration": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_committed_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_suspended_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"config": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"budget": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowTaskSchema represents output of SHOW query for the single Task.

View Source
var ShowUserSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"login_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"display_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"first_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"email": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"mins_to_unlock": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"days_to_expiry": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"disabled": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"must_change_password": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"snowflake_lock": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"default_warehouse": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default_namespace": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default_role": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"default_secondary_roles": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"ext_authn_duo": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"ext_authn_uid": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"mins_to_bypass_mfa": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"last_success_login": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"expires_at_time": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"locked_until_time": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"has_password": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"has_rsa_public_key": {
		Type:     schema.TypeBool,
		Computed: true,
	},
}

ShowUserSchema represents output of SHOW query for the single User.

View Source
var ShowViewSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"reserved": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"database_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"schema_name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"text": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"is_secure": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_materialized": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"change_tracking": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowViewSchema represents output of SHOW query for the single View.

View Source
var ShowWarehouseParametersSchema = map[string]*schema.Schema{
	"max_concurrency_level":               ParameterListSchema,
	"statement_queued_timeout_in_seconds": ParameterListSchema,
	"statement_timeout_in_seconds":        ParameterListSchema,
}

ShowWarehouseParametersSchema contains all Snowflake parameters for the warehouses. TODO [SNOW-1473425]: descriptions (take from .Description; tool to validate changes later) TODO [SNOW-1473425]: should be generated later based on sdk.WarehouseParameters

View Source
var ShowWarehouseSchema = map[string]*schema.Schema{
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"state": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"type": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"size": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"min_cluster_count": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"max_cluster_count": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"started_clusters": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"running": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"queued": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"is_default": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"is_current": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"auto_suspend": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"auto_resume": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"available": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"provisioning": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"quiescing": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"other": {
		Type:     schema.TypeFloat,
		Computed: true,
	},
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"resumed_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"updated_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"comment": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"enable_query_acceleration": {
		Type:     schema.TypeBool,
		Computed: true,
	},
	"query_acceleration_max_scale_factor": {
		Type:     schema.TypeInt,
		Computed: true,
	},
	"resource_monitor": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"scaling_policy": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"owner_role_type": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

ShowWarehouseSchema represents output of SHOW query for the single Warehouse.

View Source
var WarehouseDescribeSchema = map[string]*schema.Schema{
	"created_on": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"name": {
		Type:     schema.TypeString,
		Computed: true,
	},
	"kind": {
		Type:     schema.TypeString,
		Computed: true,
	},
}

Functions

func AccountToSchema

func AccountToSchema(account *sdk.Account) map[string]any

func AlertToSchema

func AlertToSchema(alert *sdk.Alert) map[string]any

func ApiAuthSecurityIntegrationPropertiesToSchema

func ApiAuthSecurityIntegrationPropertiesToSchema(securityIntegrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func ApiIntegrationToSchema

func ApiIntegrationToSchema(apiIntegration *sdk.ApiIntegration) map[string]any

func ApplicationPackageToSchema

func ApplicationPackageToSchema(applicationPackage *sdk.ApplicationPackage) map[string]any

func ApplicationRoleToSchema

func ApplicationRoleToSchema(applicationRole *sdk.ApplicationRole) map[string]any

func ApplicationToSchema

func ApplicationToSchema(application *sdk.Application) map[string]any

func DatabaseDescriptionToSchema

func DatabaseDescriptionToSchema(description sdk.DatabaseDetails) []map[string]any

func DatabaseParametersToSchema

func DatabaseParametersToSchema(parameters []*sdk.Parameter) map[string]any

func DatabaseRoleToSchema

func DatabaseRoleToSchema(databaseRole *sdk.DatabaseRole) map[string]any

func DatabaseToSchema

func DatabaseToSchema(database *sdk.Database) map[string]any

func DescribeOauthIntegrationForCustomClientsToSchema

func DescribeOauthIntegrationForCustomClientsToSchema(integrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func DescribeOauthIntegrationForPartnerApplicationsToSchema

func DescribeOauthIntegrationForPartnerApplicationsToSchema(integrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func DescribeSaml2IntegrationToSchema

func DescribeSaml2IntegrationToSchema(props []sdk.SecurityIntegrationProperty) map[string]any

func DynamicTableToSchema

func DynamicTableToSchema(dynamicTable *sdk.DynamicTable) map[string]any

func EventTableToSchema

func EventTableToSchema(eventTable *sdk.EventTable) map[string]any

func ExternalFunctionToSchema

func ExternalFunctionToSchema(externalFunction *sdk.ExternalFunction) map[string]any

func ExternalOauthParametersToSchema

func ExternalOauthParametersToSchema(parameters []*sdk.Parameter) map[string]any

func ExternalOauthSecurityIntegrationPropertiesToSchema

func ExternalOauthSecurityIntegrationPropertiesToSchema(securityIntegrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func ExternalTableToSchema

func ExternalTableToSchema(externalTable *sdk.ExternalTable) map[string]any

func FailoverGroupToSchema

func FailoverGroupToSchema(failoverGroup *sdk.FailoverGroup) map[string]any

func FileFormatToSchema

func FileFormatToSchema(fileFormat *sdk.FileFormat) map[string]any

func FunctionToSchema

func FunctionToSchema(function *sdk.Function) map[string]any

func GrantToSchema

func GrantToSchema(grant *sdk.Grant) map[string]any

func ManagedAccountToSchema

func ManagedAccountToSchema(managedAccount *sdk.ManagedAccount) map[string]any

func MaskingPolicyToSchema

func MaskingPolicyToSchema(maskingPolicy *sdk.MaskingPolicy) map[string]any

func MaterializedViewToSchema

func MaterializedViewToSchema(materializedView *sdk.MaterializedView) map[string]any

func NetworkPolicyPropertiesToSchema added in v0.94.0

func NetworkPolicyPropertiesToSchema(networkPolicyProperties []sdk.NetworkPolicyProperty) map[string]any

func NetworkPolicyToSchema

func NetworkPolicyToSchema(networkPolicy *sdk.NetworkPolicy) map[string]any

func NetworkRuleToSchema

func NetworkRuleToSchema(networkRule *sdk.NetworkRule) map[string]any

func NotificationIntegrationToSchema

func NotificationIntegrationToSchema(notificationIntegration *sdk.NotificationIntegration) map[string]any

func ParameterToSchema

func ParameterToSchema(parameter *sdk.Parameter) map[string]any

func PasswordPolicyToSchema

func PasswordPolicyToSchema(passwordPolicy *sdk.PasswordPolicy) map[string]any

func PipeToSchema

func PipeToSchema(pipe *sdk.Pipe) map[string]any

func PolicyReferenceToSchema

func PolicyReferenceToSchema(policyReference *sdk.PolicyReference) map[string]any

func ProcedureToSchema

func ProcedureToSchema(procedure *sdk.Procedure) map[string]any

func RegionToSchema

func RegionToSchema(region *sdk.Region) map[string]any

func ReplicationAccountToSchema

func ReplicationAccountToSchema(replicationAccount *sdk.ReplicationAccount) map[string]any

func ReplicationDatabaseToSchema

func ReplicationDatabaseToSchema(replicationDatabase *sdk.ReplicationDatabase) map[string]any

func ResourceMonitorToSchema

func ResourceMonitorToSchema(resourceMonitor *sdk.ResourceMonitor) map[string]any

func RoleToSchema

func RoleToSchema(role *sdk.Role) map[string]any

func RowAccessPolicyToSchema

func RowAccessPolicyToSchema(rowAccessPolicy *sdk.RowAccessPolicy) map[string]any

func SchemaDescriptionToSchema added in v0.94.0

func SchemaDescriptionToSchema(description []sdk.SchemaDetails) []map[string]any

func SchemaParametersToSchema added in v0.94.0

func SchemaParametersToSchema(parameters []*sdk.Parameter) map[string]any

func SchemaToSchema

func SchemaToSchema(schema *sdk.Schema) map[string]any

func ScimSecurityIntegrationPropertiesToSchema

func ScimSecurityIntegrationPropertiesToSchema(securityIntegrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func SecurityIntegrationPropertyToSchema

func SecurityIntegrationPropertyToSchema(securityIntegrationProperty *sdk.SecurityIntegrationProperty) map[string]any

func SecurityIntegrationToSchema

func SecurityIntegrationToSchema(securityIntegration *sdk.SecurityIntegration) map[string]any

func SecurityIntegrationsDescriptionsToSchema

func SecurityIntegrationsDescriptionsToSchema(integrationProperties []sdk.SecurityIntegrationProperty) map[string]any

func SequenceToSchema

func SequenceToSchema(sequence *sdk.Sequence) map[string]any

func SessionPolicyToSchema

func SessionPolicyToSchema(sessionPolicy *sdk.SessionPolicy) map[string]any

func ShareToSchema

func ShareToSchema(share *sdk.Share) map[string]any

func StageToSchema

func StageToSchema(stage *sdk.Stage) map[string]any

func StorageIntegrationToSchema

func StorageIntegrationToSchema(storageIntegration *sdk.StorageIntegration) map[string]any

func StreamToSchema

func StreamToSchema(stream *sdk.Stream) map[string]any

func StreamlitPropertiesToSchema added in v0.94.0

func StreamlitPropertiesToSchema(details sdk.StreamlitDetail) (map[string]any, error)

func StreamlitToSchema

func StreamlitToSchema(streamlit *sdk.Streamlit) map[string]any

func TableToSchema

func TableToSchema(table *sdk.Table) map[string]any

func TagToSchema

func TagToSchema(tag *sdk.Tag) map[string]any

func TaskToSchema

func TaskToSchema(task *sdk.Task) map[string]any

func UserToSchema

func UserToSchema(user *sdk.User) map[string]any

func ViewToSchema

func ViewToSchema(view *sdk.View) map[string]any

func WarehouseDescriptionToSchema

func WarehouseDescriptionToSchema(description sdk.WarehouseDetails) []map[string]any

func WarehouseParametersToSchema

func WarehouseParametersToSchema(parameters []*sdk.Parameter) map[string]any

TODO [SNOW-1473425]: validate all present?

func WarehouseToSchema

func WarehouseToSchema(warehouse *sdk.Warehouse) map[string]any

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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