pulumi-databricks 1.77.0a1762276204__py3-none-any.whl → 1.78.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/_inputs.py +117 -120
- pulumi_databricks/account_federation_policy.py +24 -0
- pulumi_databricks/account_network_policy.py +50 -0
- pulumi_databricks/alert_v2.py +72 -0
- pulumi_databricks/app.py +64 -0
- pulumi_databricks/apps_settings_custom_template.py +66 -0
- pulumi_databricks/catalog.py +7 -7
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/database_synced_database_table.py +212 -0
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_cluster.py +54 -0
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +85 -51
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/outputs.py +99 -76
- pulumi_databricks/permission_assignment.py +49 -0
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +7 -7
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +28 -0
- pulumi_databricks/sql_table.py +7 -7
- pulumi_databricks/volume.py +7 -7
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/METADATA +1 -1
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/RECORD +48 -48
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/recipient.py
CHANGED
|
@@ -545,6 +545,43 @@ class Recipient(pulumi.CustomResource):
|
|
|
545
545
|
})
|
|
546
546
|
```
|
|
547
547
|
|
|
548
|
+
### Databricks to Databricks Sharing
|
|
549
|
+
|
|
550
|
+
Setting `authentication_type` type to `DATABRICKS` allows you to automatically create a provider for a recipient who
|
|
551
|
+
is using Databricks. To do this they would need to provide the global metastore id that you will be sharing with. The
|
|
552
|
+
global metastore id follows the format: `<cloud>:<region>:<guid>`
|
|
553
|
+
|
|
554
|
+
```python
|
|
555
|
+
import pulumi
|
|
556
|
+
import pulumi_databricks as databricks
|
|
557
|
+
import pulumi_std as std
|
|
558
|
+
|
|
559
|
+
current = databricks.get_current_user()
|
|
560
|
+
recipient_metastore = databricks.Metastore("recipient_metastore",
|
|
561
|
+
name="recipient",
|
|
562
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
563
|
+
args=[
|
|
564
|
+
unity_catalog["name"],
|
|
565
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
566
|
+
]).result,
|
|
567
|
+
delta_sharing_scope="INTERNAL",
|
|
568
|
+
delta_sharing_recipient_token_lifetime_in_seconds=60000000,
|
|
569
|
+
force_destroy=True)
|
|
570
|
+
db2db = databricks.Recipient("db2db",
|
|
571
|
+
name=f"{current.alphanumeric}-recipient",
|
|
572
|
+
comment="Made by Pulumi",
|
|
573
|
+
authentication_type="DATABRICKS",
|
|
574
|
+
data_recipient_global_metastore_id=recipient_metastore.global_metastore_id)
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
## Related Resources
|
|
578
|
+
|
|
579
|
+
The following resources are often used in the same context:
|
|
580
|
+
|
|
581
|
+
* Share to create Delta Sharing shares.
|
|
582
|
+
* Grants to manage Delta Sharing permissions.
|
|
583
|
+
* get_shares to read existing Delta Sharing shares.
|
|
584
|
+
|
|
548
585
|
## Import
|
|
549
586
|
|
|
550
587
|
The recipient resource can be imported using the name of the recipient:
|
|
@@ -621,6 +658,43 @@ class Recipient(pulumi.CustomResource):
|
|
|
621
658
|
})
|
|
622
659
|
```
|
|
623
660
|
|
|
661
|
+
### Databricks to Databricks Sharing
|
|
662
|
+
|
|
663
|
+
Setting `authentication_type` type to `DATABRICKS` allows you to automatically create a provider for a recipient who
|
|
664
|
+
is using Databricks. To do this they would need to provide the global metastore id that you will be sharing with. The
|
|
665
|
+
global metastore id follows the format: `<cloud>:<region>:<guid>`
|
|
666
|
+
|
|
667
|
+
```python
|
|
668
|
+
import pulumi
|
|
669
|
+
import pulumi_databricks as databricks
|
|
670
|
+
import pulumi_std as std
|
|
671
|
+
|
|
672
|
+
current = databricks.get_current_user()
|
|
673
|
+
recipient_metastore = databricks.Metastore("recipient_metastore",
|
|
674
|
+
name="recipient",
|
|
675
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
676
|
+
args=[
|
|
677
|
+
unity_catalog["name"],
|
|
678
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
679
|
+
]).result,
|
|
680
|
+
delta_sharing_scope="INTERNAL",
|
|
681
|
+
delta_sharing_recipient_token_lifetime_in_seconds=60000000,
|
|
682
|
+
force_destroy=True)
|
|
683
|
+
db2db = databricks.Recipient("db2db",
|
|
684
|
+
name=f"{current.alphanumeric}-recipient",
|
|
685
|
+
comment="Made by Pulumi",
|
|
686
|
+
authentication_type="DATABRICKS",
|
|
687
|
+
data_recipient_global_metastore_id=recipient_metastore.global_metastore_id)
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
## Related Resources
|
|
691
|
+
|
|
692
|
+
The following resources are often used in the same context:
|
|
693
|
+
|
|
694
|
+
* Share to create Delta Sharing shares.
|
|
695
|
+
* Grants to manage Delta Sharing permissions.
|
|
696
|
+
* get_shares to read existing Delta Sharing shares.
|
|
697
|
+
|
|
624
698
|
## Import
|
|
625
699
|
|
|
626
700
|
The recipient resource can be imported using the name of the recipient:
|
|
@@ -42,7 +42,7 @@ class RegisteredModelArgs:
|
|
|
42
42
|
:param pulumi.Input[_builtins.str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.*
|
|
43
43
|
:param pulumi.Input[_builtins.str] owner: Name of the registered model owner.
|
|
44
44
|
:param pulumi.Input[_builtins.str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.*
|
|
45
|
-
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
45
|
+
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
46
46
|
"""
|
|
47
47
|
if aliases is not None:
|
|
48
48
|
pulumi.set(__self__, "aliases", aliases)
|
|
@@ -191,7 +191,7 @@ class RegisteredModelArgs:
|
|
|
191
191
|
@pulumi.getter(name="storageLocation")
|
|
192
192
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
193
|
"""
|
|
194
|
-
The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
194
|
+
The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
195
195
|
"""
|
|
196
196
|
return pulumi.get(self, "storage_location")
|
|
197
197
|
|
|
@@ -242,7 +242,7 @@ class _RegisteredModelState:
|
|
|
242
242
|
:param pulumi.Input[_builtins.str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.*
|
|
243
243
|
:param pulumi.Input[_builtins.str] owner: Name of the registered model owner.
|
|
244
244
|
:param pulumi.Input[_builtins.str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.*
|
|
245
|
-
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
245
|
+
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
246
246
|
"""
|
|
247
247
|
if aliases is not None:
|
|
248
248
|
pulumi.set(__self__, "aliases", aliases)
|
|
@@ -391,7 +391,7 @@ class _RegisteredModelState:
|
|
|
391
391
|
@pulumi.getter(name="storageLocation")
|
|
392
392
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
393
393
|
"""
|
|
394
|
-
The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
394
|
+
The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
395
395
|
"""
|
|
396
396
|
return pulumi.get(self, "storage_location")
|
|
397
397
|
|
|
@@ -498,7 +498,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
498
498
|
:param pulumi.Input[_builtins.str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.*
|
|
499
499
|
:param pulumi.Input[_builtins.str] owner: Name of the registered model owner.
|
|
500
500
|
:param pulumi.Input[_builtins.str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.*
|
|
501
|
-
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
501
|
+
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
502
502
|
"""
|
|
503
503
|
...
|
|
504
504
|
@overload
|
|
@@ -646,7 +646,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
646
646
|
:param pulumi.Input[_builtins.str] name: The name of the registered model. *Change of this parameter forces recreation of the resource.*
|
|
647
647
|
:param pulumi.Input[_builtins.str] owner: Name of the registered model owner.
|
|
648
648
|
:param pulumi.Input[_builtins.str] schema_name: The name of the schema where the registered model resides. *Change of this parameter forces recreation of the resource.*
|
|
649
|
-
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
649
|
+
:param pulumi.Input[_builtins.str] storage_location: The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
650
650
|
"""
|
|
651
651
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
652
652
|
|
|
@@ -742,7 +742,7 @@ class RegisteredModel(pulumi.CustomResource):
|
|
|
742
742
|
@pulumi.getter(name="storageLocation")
|
|
743
743
|
def storage_location(self) -> pulumi.Output[_builtins.str]:
|
|
744
744
|
"""
|
|
745
|
-
The storage location under which model version data files are stored. *Change of this parameter forces recreation of the resource.*
|
|
745
|
+
The storage location under which model version data files are stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). *Change of this parameter forces recreation of the resource.*
|
|
746
746
|
"""
|
|
747
747
|
return pulumi.get(self, "storage_location")
|
|
748
748
|
|
pulumi_databricks/schema.py
CHANGED
|
@@ -37,7 +37,7 @@ class SchemaArgs:
|
|
|
37
37
|
:param pulumi.Input[_builtins.str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource.
|
|
38
38
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the schema owner.
|
|
39
39
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Schema properties.
|
|
40
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
40
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
41
41
|
"""
|
|
42
42
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
43
43
|
if comment is not None:
|
|
@@ -154,7 +154,7 @@ class SchemaArgs:
|
|
|
154
154
|
@pulumi.getter(name="storageRoot")
|
|
155
155
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
156
156
|
"""
|
|
157
|
-
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
157
|
+
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
158
158
|
"""
|
|
159
159
|
return pulumi.get(self, "storage_root")
|
|
160
160
|
|
|
@@ -186,7 +186,7 @@ class _SchemaState:
|
|
|
186
186
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the schema owner.
|
|
187
187
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Schema properties.
|
|
188
188
|
:param pulumi.Input[_builtins.str] schema_id: The unique identifier of the schema.
|
|
189
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
189
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
190
190
|
"""
|
|
191
191
|
if catalog_name is not None:
|
|
192
192
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -318,7 +318,7 @@ class _SchemaState:
|
|
|
318
318
|
@pulumi.getter(name="storageRoot")
|
|
319
319
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
320
320
|
"""
|
|
321
|
-
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
321
|
+
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
322
322
|
"""
|
|
323
323
|
return pulumi.get(self, "storage_root")
|
|
324
324
|
|
|
@@ -410,7 +410,7 @@ class Schema(pulumi.CustomResource):
|
|
|
410
410
|
:param pulumi.Input[_builtins.str] name: Name of Schema relative to parent catalog. Change forces creation of a new resource.
|
|
411
411
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the schema owner.
|
|
412
412
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Schema properties.
|
|
413
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
413
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
414
414
|
"""
|
|
415
415
|
...
|
|
416
416
|
@overload
|
|
@@ -556,7 +556,7 @@ class Schema(pulumi.CustomResource):
|
|
|
556
556
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the schema owner.
|
|
557
557
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Schema properties.
|
|
558
558
|
:param pulumi.Input[_builtins.str] schema_id: The unique identifier of the schema.
|
|
559
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
559
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
560
560
|
"""
|
|
561
561
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
562
562
|
|
|
@@ -647,7 +647,7 @@ class Schema(pulumi.CustomResource):
|
|
|
647
647
|
@pulumi.getter(name="storageRoot")
|
|
648
648
|
def storage_root(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
649
649
|
"""
|
|
650
|
-
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
650
|
+
Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
651
651
|
"""
|
|
652
652
|
return pulumi.get(self, "storage_root")
|
|
653
653
|
|
|
@@ -250,6 +250,20 @@ class ServicePrincipalFederationPolicy(pulumi.CustomResource):
|
|
|
250
250
|
|
|
251
251
|
## Example Usage
|
|
252
252
|
|
|
253
|
+
```python
|
|
254
|
+
import pulumi
|
|
255
|
+
import pulumi_databricks as databricks
|
|
256
|
+
|
|
257
|
+
this = databricks.ServicePrincipalFederationPolicy("this",
|
|
258
|
+
service_principal_id=1234,
|
|
259
|
+
policy_id="my-policy",
|
|
260
|
+
oidc_policy={
|
|
261
|
+
"issuer": "https://myidp.example.com",
|
|
262
|
+
"subject_claim": "sub",
|
|
263
|
+
"subject": "subject-in-token-from-myidp",
|
|
264
|
+
})
|
|
265
|
+
```
|
|
266
|
+
|
|
253
267
|
## Import
|
|
254
268
|
|
|
255
269
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -293,6 +307,20 @@ class ServicePrincipalFederationPolicy(pulumi.CustomResource):
|
|
|
293
307
|
|
|
294
308
|
## Example Usage
|
|
295
309
|
|
|
310
|
+
```python
|
|
311
|
+
import pulumi
|
|
312
|
+
import pulumi_databricks as databricks
|
|
313
|
+
|
|
314
|
+
this = databricks.ServicePrincipalFederationPolicy("this",
|
|
315
|
+
service_principal_id=1234,
|
|
316
|
+
policy_id="my-policy",
|
|
317
|
+
oidc_policy={
|
|
318
|
+
"issuer": "https://myidp.example.com",
|
|
319
|
+
"subject_claim": "sub",
|
|
320
|
+
"subject": "subject-in-token-from-myidp",
|
|
321
|
+
})
|
|
322
|
+
```
|
|
323
|
+
|
|
296
324
|
## Import
|
|
297
325
|
|
|
298
326
|
As of Pulumi v1.5, resources can be imported through configuration.
|
pulumi_databricks/sql_table.py
CHANGED
|
@@ -52,7 +52,7 @@ class SqlTableArgs:
|
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
53
53
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
54
54
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
55
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
55
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
56
56
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
57
57
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
58
58
|
"""
|
|
@@ -254,7 +254,7 @@ class SqlTableArgs:
|
|
|
254
254
|
@pulumi.getter(name="storageLocation")
|
|
255
255
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
256
256
|
"""
|
|
257
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
257
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
258
258
|
"""
|
|
259
259
|
return pulumi.get(self, "storage_location")
|
|
260
260
|
|
|
@@ -322,7 +322,7 @@ class _SqlTableState:
|
|
|
322
322
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
323
323
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
324
324
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
325
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
325
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
326
326
|
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
327
327
|
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
328
328
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
@@ -530,7 +530,7 @@ class _SqlTableState:
|
|
|
530
530
|
@pulumi.getter(name="storageLocation")
|
|
531
531
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
532
532
|
"""
|
|
533
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
533
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
534
534
|
"""
|
|
535
535
|
return pulumi.get(self, "storage_location")
|
|
536
536
|
|
|
@@ -647,7 +647,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
647
647
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
648
648
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
649
649
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
650
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
650
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
651
651
|
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
652
652
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
653
653
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
@@ -794,7 +794,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
794
794
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
795
795
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
796
796
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
797
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
797
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
798
798
|
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
799
799
|
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
800
800
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
@@ -932,7 +932,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
932
932
|
@pulumi.getter(name="storageLocation")
|
|
933
933
|
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
934
934
|
"""
|
|
935
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
935
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
936
936
|
"""
|
|
937
937
|
return pulumi.get(self, "storage_location")
|
|
938
938
|
|
pulumi_databricks/volume.py
CHANGED
|
@@ -34,7 +34,7 @@ class VolumeArgs:
|
|
|
34
34
|
:param pulumi.Input[_builtins.str] comment: Free-form text.
|
|
35
35
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
36
36
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
37
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
37
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
40
40
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
@@ -124,7 +124,7 @@ class VolumeArgs:
|
|
|
124
124
|
@pulumi.getter(name="storageLocation")
|
|
125
125
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "storage_location")
|
|
130
130
|
|
|
@@ -151,7 +151,7 @@ class _VolumeState:
|
|
|
151
151
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
152
152
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
153
153
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
154
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
154
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
155
155
|
:param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
|
|
156
156
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
157
157
|
"""
|
|
@@ -236,7 +236,7 @@ class _VolumeState:
|
|
|
236
236
|
@pulumi.getter(name="storageLocation")
|
|
237
237
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
238
|
"""
|
|
239
|
-
|
|
239
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "storage_location")
|
|
242
242
|
|
|
@@ -378,7 +378,7 @@ class Volume(pulumi.CustomResource):
|
|
|
378
378
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
379
379
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
380
380
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
381
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
381
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
382
382
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
383
383
|
"""
|
|
384
384
|
...
|
|
@@ -550,7 +550,7 @@ class Volume(pulumi.CustomResource):
|
|
|
550
550
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
551
551
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
552
552
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
553
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
553
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
554
554
|
:param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
|
|
555
555
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
556
556
|
"""
|
|
@@ -612,7 +612,7 @@ class Volume(pulumi.CustomResource):
|
|
|
612
612
|
@pulumi.getter(name="storageLocation")
|
|
613
613
|
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
614
614
|
"""
|
|
615
|
-
|
|
615
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
616
616
|
"""
|
|
617
617
|
return pulumi.get(self, "storage_location")
|
|
618
618
|
|