You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/snowflake-docs/providers/snowflake/account/accounts/index.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,13 +77,16 @@ Creates, updates, deletes, gets or lists a <code>accounts</code> resource.
77
77
| <CopyableCodecode="delete_account" /> |`DELETE`| <CopyableCodecode="gracePeriodInDays, name, endpoint" /> | <CopyableCodecode="ifExists" /> | Deletes the specified account. If you enable the `ifExists` parameter, the operation succeeds even if the account does not exist. Otherwise, a 404 failure is returned if the account does not exist. if the drop is unsuccessful. |
78
78
| <CopyableCodecode="undrop_account" /> |`EXEC`| <CopyableCodecode="name, endpoint" /> | - | Restores a dropped account that has not yet been permanently deleted (a dropped account that is within its grace period). |
79
79
80
+
80
81
<details>
81
82
<summary>Optional Parameter Details</summary>
82
83
83
84
| Name | Description | Type | Default |
84
85
|------|-------------|------|---------|
85
86
| <CopyableCodecode="history" /> | Optionally includes dropped accounts that have not yet been purged. |`boolean`|`-`|
86
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
87
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
88
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
89
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
87
90
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
88
91
| <CopyableCodecode="showLimit" /> | Query parameter to limit the maximum number of rows returned by a command. |`integer`|`-`|
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. |`string`|`errorIfExists`|
62
+
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include:
63
+
-`errorIfExists`: Throws an error if you try to create a resource that already exists.
64
+
-`orReplace`: Automatically replaces the existing resource with the current one.
65
+
-`ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. | `string` | `errorIfExists` |
62
66
| <CopyableCodecode="fromName" /> | Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. |`string`|`-`|
63
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
67
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
68
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
69
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
64
70
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
65
71
| <CopyableCodecode="showLimit" /> | Query parameter to limit the maximum number of rows returned by a command. |`integer`|`-`|
66
72
| <CopyableCodecode="startsWith" /> | Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. |`string`|`-`|
Copy file name to clipboardExpand all lines: docs/snowflake-docs/providers/snowflake/api_integration/api_integrations/index.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,19 @@ Creates, updates, deletes, gets or lists a <code>api_integrations</code> resourc
47
47
| <CopyableCodecode="delete_api_integration" /> |`DELETE`| <CopyableCodecode="name, endpoint" /> | <CopyableCodecode="ifExists" /> | Delete an API integration |
48
48
| <CopyableCodecode="create_or_alter_api_integration" /> |`REPLACE`| <CopyableCodecode="name, data__api_allowed_prefixes, data__api_hook, data__enabled, data__name, endpoint" /> | - | Create an (or alter an existing) API integration. Note that API_KEY is not currently altered by this operation and is supported for a newly-created object only. Unsetting API_BLOCKED_PREFIXES is also unsupported. |
49
49
50
+
50
51
<details>
51
52
<summary>Optional Parameter Details</summary>
52
53
53
54
| Name | Description | Type | Default |
54
55
|------|-------------|------|---------|
55
-
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. |`string`|`errorIfExists`|
56
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
56
+
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include:
57
+
-`errorIfExists`: Throws an error if you try to create a resource that already exists.
58
+
-`orReplace`: Automatically replaces the existing resource with the current one.
59
+
-`ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. | `string` | `errorIfExists` |
60
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
61
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
62
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
57
63
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. |`string`|`errorIfExists`|
56
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
56
+
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include:
57
+
-`errorIfExists`: Throws an error if you try to create a resource that already exists.
58
+
-`orReplace`: Automatically replaces the existing resource with the current one.
59
+
-`ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. | `string` | `errorIfExists` |
60
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
61
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
62
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
57
63
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
Copy file name to clipboardExpand all lines: docs/snowflake-docs/providers/snowflake/compute_pool/compute_pools/index.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,19 @@ Creates, updates, deletes, gets or lists a <code>compute_pools</code> resource.
66
66
| <CopyableCodecode="stop_all_services_in_compute_pool_deprecated" /> |`EXEC`| <CopyableCodecode="name, endpoint" /> | - | Stops all services in the compute pool. Deprecated - use :stop-all-services instead. |
67
67
| <CopyableCodecode="suspend_compute_pool" /> |`EXEC`| <CopyableCodecode="name, endpoint" /> | - | Suspend a compute pool, if active. If the specified compute pool is already suspended, no action is taken. |
68
68
69
+
69
70
<details>
70
71
<summary>Optional Parameter Details</summary>
71
72
72
73
| Name | Description | Type | Default |
73
74
|------|-------------|------|---------|
74
-
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. |`string`|`errorIfExists`|
75
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
75
+
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include:
76
+
-`errorIfExists`: Throws an error if you try to create a resource that already exists.
77
+
-`orReplace`: Automatically replaces the existing resource with the current one.
78
+
-`ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. | `string` | `errorIfExists` |
79
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
80
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
81
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
76
82
| <CopyableCodecode="initiallySuspended" /> | Specifies whether the compute pool is created initially in the suspended state. |`boolean`|`-`|
77
83
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
78
84
| <CopyableCodecode="showLimit" /> | Query parameter to limit the maximum number of rows returned by a command. |`integer`|`-`|
Copy file name to clipboardExpand all lines: docs/snowflake-docs/providers/snowflake/database/databases/index.md
+14-5Lines changed: 14 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -73,20 +73,29 @@ Creates, updates, deletes, gets or lists a <code>databases</code> resource.
73
73
| <CopyableCodecode="refresh_database_replication" /> |`EXEC`| <CopyableCodecode="name, endpoint" /> | - | Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data. If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. |
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. |`string`|`errorIfExists`|
82
+
| <CopyableCodecode="createMode" /> | Query parameter allowing support for different modes of resource creation. Possible values include:
83
+
-`errorIfExists`: Throws an error if you try to create a resource that already exists.
84
+
-`orReplace`: Automatically replaces the existing resource with the current one.
85
+
-`ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. | `string` | `errorIfExists` |
82
86
| <CopyableCodecode="fromName" /> | Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. |`string`|`-`|
83
87
| <CopyableCodecode="history" /> | Optionally includes dropped databases that have not yet been purged. |`boolean`|`-`|
84
-
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. |`boolean`|`false`|
85
-
| <CopyableCodecode="ignore_edition_check" /> | Whether to allow replicating data to accounts on lower editions. Default: `true`. For more information, see the {a href=https://docs.snowflake.com/en/sql-reference/sql/alter-database} ALTER DATABASE{/a} reference. |`boolean`|`-`|
88
+
| <CopyableCodecode="ifExists" /> | Query parameter that specifies how to handle the request for a resource that does not exist:
89
+
-`true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
90
+
-`false`: The endpoint throws an error if the resource doesn't exist. | `boolean` | `false` |
91
+
| <CopyableCodecode="ignore_edition_check" /> | Whether to allow replicating data to accounts on lower editions. Default: `true`.
92
+
For more information, see the <a href=https://docs.snowflake.com/en/sql-reference/sql/alter-database> ALTER DATABASE</a> reference. | `boolean` | `-` |
86
93
| <CopyableCodecode="kind" /> | Type of database to create. Currently, Snowflake supports only `transient` and `permanent` (also represented by the empty string). |`string`|`-`|
87
94
| <CopyableCodecode="like" /> | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. |`string`|`-`|
88
-
| <CopyableCodecode="restrict" /> | Whether to drop the database if foreign keys exist that reference any tables in the database. - `true`: Return a warning about existing foreign key references and don't drop the database. - `false`: Drop the database and all objects in the database, including tables with primary or unique keys that are referenced by foreign keys in other tables. |`boolean`|`false`|
89
-
| <CopyableCodecode="share" /> | ID of the share from which to create the database, in the form "{provider_account}.{share_name}". |`string`|`-`|
95
+
| <CopyableCodecode="restrict" /> | Whether to drop the database if foreign keys exist that reference any tables in the database.
96
+
-`true`: Return a warning about existing foreign key references and don't drop the database.
97
+
-`false`: Drop the database and all objects in the database, including tables with primary or unique keys that are referenced by foreign keys in other tables. | `boolean` | `false` |
98
+
| <CopyableCodecode="share" /> | ID of the share from which to create the database, in the form "<provider_account>.<share_name>". |`string`|`-`|
90
99
| <CopyableCodecode="showLimit" /> | Query parameter to limit the maximum number of rows returned by a command. |`integer`|`-`|
91
100
| <CopyableCodecode="startsWith" /> | Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. |`string`|`-`|
0 commit comments