pulumi-databricks 1.78.0a1762407761__py3-none-any.whl → 1.79.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/__init__.py +23 -0
- pulumi_databricks/_inputs.py +1630 -181
- pulumi_databricks/access_control_rule_set.py +81 -0
- pulumi_databricks/account_federation_policy.py +24 -0
- pulumi_databricks/account_network_policy.py +50 -0
- pulumi_databricks/account_setting_v2.py +181 -12
- pulumi_databricks/alert_v2.py +74 -2
- pulumi_databricks/app.py +71 -7
- pulumi_databricks/apps_settings_custom_template.py +102 -0
- pulumi_databricks/catalog.py +8 -8
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/credential.py +7 -7
- pulumi_databricks/dashboard.py +94 -0
- pulumi_databricks/data_quality_monitor.py +2 -2
- pulumi_databricks/data_quality_refresh.py +78 -2
- pulumi_databricks/database_synced_database_table.py +212 -0
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/feature_engineering_feature.py +52 -19
- pulumi_databricks/feature_engineering_kafka_config.py +463 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +47 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_setting_v2.py +16 -16
- pulumi_databricks/get_alert_v2.py +2 -2
- pulumi_databricks/get_alerts_v2.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_dashboards.py +32 -0
- pulumi_databricks/get_data_quality_monitor.py +2 -2
- pulumi_databricks/get_data_quality_monitors.py +2 -2
- pulumi_databricks/get_data_quality_refresh.py +2 -2
- pulumi_databricks/get_data_quality_refreshes.py +2 -2
- pulumi_databricks/get_feature_engineering_feature.py +12 -1
- pulumi_databricks/get_feature_engineering_kafka_config.py +182 -0
- pulumi_databricks/get_feature_engineering_kafka_configs.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +16 -2
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_policy_info.py +36 -2
- pulumi_databricks/get_policy_infos.py +34 -2
- pulumi_databricks/get_service_principals.py +93 -7
- pulumi_databricks/get_spark_version.py +2 -2
- pulumi_databricks/get_tag_policies.py +2 -2
- pulumi_databricks/get_tag_policy.py +2 -2
- pulumi_databricks/get_users.py +194 -0
- pulumi_databricks/get_workspace_entity_tag_assignment.py +180 -0
- pulumi_databricks/get_workspace_entity_tag_assignments.py +171 -0
- pulumi_databricks/get_workspace_setting_v2.py +16 -16
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/lakehouse_monitor.py +2 -2
- 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 +115 -55
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/outputs.py +2017 -240
- pulumi_databricks/permission_assignment.py +49 -0
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +7 -7
- pulumi_databricks/policy_info.py +122 -2
- 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/rfa_access_request_destinations.py +86 -19
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +28 -0
- pulumi_databricks/sql_table.py +7 -7
- pulumi_databricks/tag_policy.py +2 -2
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_entity_tag_assignment.py +375 -0
- pulumi_databricks/workspace_setting_v2.py +181 -12
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/METADATA +1 -1
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/RECORD +86 -79
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/top_level.txt +0 -0
|
@@ -39,7 +39,7 @@ class ExternalLocationArgs:
|
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a ExternalLocation resource.
|
|
41
41
|
:param pulumi.Input[_builtins.str] credential_name: Name of the StorageCredential to use with this external location.
|
|
42
|
-
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
42
|
+
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
43
43
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text.
|
|
44
44
|
:param pulumi.Input[_builtins.bool] enable_file_events: indicates if managed file events are enabled for this external location. Requires `file_event_queue` block.
|
|
45
45
|
:param pulumi.Input[_builtins.bool] fallback: Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled (disabled by default), the access to the location falls back to cluster credentials if UC credentials are not sufficient.
|
|
@@ -96,7 +96,7 @@ class ExternalLocationArgs:
|
|
|
96
96
|
@pulumi.getter
|
|
97
97
|
def url(self) -> pulumi.Input[_builtins.str]:
|
|
98
98
|
"""
|
|
99
|
-
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
99
|
+
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "url")
|
|
102
102
|
|
|
@@ -294,7 +294,7 @@ class _ExternalLocationState:
|
|
|
294
294
|
:param pulumi.Input[_builtins.bool] skip_validation: Suppress validation errors if any & force save the external location
|
|
295
295
|
:param pulumi.Input[_builtins.int] updated_at: Time at which external location this was last modified, in epoch milliseconds.
|
|
296
296
|
:param pulumi.Input[_builtins.str] updated_by: Username of user who last modified the external location.
|
|
297
|
-
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
297
|
+
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
298
298
|
"""
|
|
299
299
|
if browse_only is not None:
|
|
300
300
|
pulumi.set(__self__, "browse_only", browse_only)
|
|
@@ -571,7 +571,7 @@ class _ExternalLocationState:
|
|
|
571
571
|
@pulumi.getter
|
|
572
572
|
def url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
573
573
|
"""
|
|
574
|
-
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
574
|
+
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
575
575
|
"""
|
|
576
576
|
return pulumi.get(self, "url")
|
|
577
577
|
|
|
@@ -642,6 +642,68 @@ class ExternalLocation(pulumi.CustomResource):
|
|
|
642
642
|
|
|
643
643
|
For Azure
|
|
644
644
|
|
|
645
|
+
```python
|
|
646
|
+
import pulumi
|
|
647
|
+
import pulumi_databricks as databricks
|
|
648
|
+
import pulumi_std as std
|
|
649
|
+
|
|
650
|
+
external = databricks.StorageCredential("external",
|
|
651
|
+
name=ext_cred["displayName"],
|
|
652
|
+
azure_service_principal={
|
|
653
|
+
"directory_id": tenant_id,
|
|
654
|
+
"application_id": ext_cred["applicationId"],
|
|
655
|
+
"client_secret": ext_cred_azuread_application_password["value"],
|
|
656
|
+
},
|
|
657
|
+
comment="Managed by TF",
|
|
658
|
+
opts = pulumi.ResourceOptions(depends_on=[this]))
|
|
659
|
+
some = databricks.ExternalLocation("some",
|
|
660
|
+
name="external",
|
|
661
|
+
url=std.format(input="abfss://%s@%s.dfs.core.windows.net",
|
|
662
|
+
args=[
|
|
663
|
+
ext_storage["name"],
|
|
664
|
+
ext_storage_azurerm_storage_account["name"],
|
|
665
|
+
]).result,
|
|
666
|
+
credential_name=external.id,
|
|
667
|
+
comment="Managed by TF",
|
|
668
|
+
opts = pulumi.ResourceOptions(depends_on=[this]))
|
|
669
|
+
some_grants = databricks.Grants("some",
|
|
670
|
+
external_location=some.id,
|
|
671
|
+
grants=[{
|
|
672
|
+
"principal": "Data Engineers",
|
|
673
|
+
"privileges": [
|
|
674
|
+
"CREATE_EXTERNAL_TABLE",
|
|
675
|
+
"READ_FILES",
|
|
676
|
+
],
|
|
677
|
+
}])
|
|
678
|
+
```
|
|
679
|
+
|
|
680
|
+
For GCP
|
|
681
|
+
|
|
682
|
+
```python
|
|
683
|
+
import pulumi
|
|
684
|
+
import pulumi_databricks as databricks
|
|
685
|
+
|
|
686
|
+
ext = databricks.StorageCredential("ext",
|
|
687
|
+
name="the-creds",
|
|
688
|
+
databricks_gcp_service_account={})
|
|
689
|
+
some = databricks.ExternalLocation("some",
|
|
690
|
+
name="the-ext-location",
|
|
691
|
+
url=f"gs://{ext_bucket['name']}",
|
|
692
|
+
credential_name=ext.id,
|
|
693
|
+
comment="Managed by TF")
|
|
694
|
+
some_grants = databricks.Grants("some",
|
|
695
|
+
external_location=some.id,
|
|
696
|
+
grants=[{
|
|
697
|
+
"principal": "Data Engineers",
|
|
698
|
+
"privileges": [
|
|
699
|
+
"CREATE_EXTERNAL_TABLE",
|
|
700
|
+
"READ_FILES",
|
|
701
|
+
],
|
|
702
|
+
}])
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
Example `encryption_details` specifying SSE_S3 encryption:
|
|
706
|
+
|
|
645
707
|
## Import
|
|
646
708
|
|
|
647
709
|
This resource can be imported by `name`:
|
|
@@ -677,7 +739,7 @@ class ExternalLocation(pulumi.CustomResource):
|
|
|
677
739
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the external location owner.
|
|
678
740
|
:param pulumi.Input[_builtins.bool] read_only: Indicates whether the external location is read-only.
|
|
679
741
|
:param pulumi.Input[_builtins.bool] skip_validation: Suppress validation errors if any & force save the external location
|
|
680
|
-
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
742
|
+
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
681
743
|
"""
|
|
682
744
|
...
|
|
683
745
|
@overload
|
|
@@ -725,6 +787,68 @@ class ExternalLocation(pulumi.CustomResource):
|
|
|
725
787
|
|
|
726
788
|
For Azure
|
|
727
789
|
|
|
790
|
+
```python
|
|
791
|
+
import pulumi
|
|
792
|
+
import pulumi_databricks as databricks
|
|
793
|
+
import pulumi_std as std
|
|
794
|
+
|
|
795
|
+
external = databricks.StorageCredential("external",
|
|
796
|
+
name=ext_cred["displayName"],
|
|
797
|
+
azure_service_principal={
|
|
798
|
+
"directory_id": tenant_id,
|
|
799
|
+
"application_id": ext_cred["applicationId"],
|
|
800
|
+
"client_secret": ext_cred_azuread_application_password["value"],
|
|
801
|
+
},
|
|
802
|
+
comment="Managed by TF",
|
|
803
|
+
opts = pulumi.ResourceOptions(depends_on=[this]))
|
|
804
|
+
some = databricks.ExternalLocation("some",
|
|
805
|
+
name="external",
|
|
806
|
+
url=std.format(input="abfss://%s@%s.dfs.core.windows.net",
|
|
807
|
+
args=[
|
|
808
|
+
ext_storage["name"],
|
|
809
|
+
ext_storage_azurerm_storage_account["name"],
|
|
810
|
+
]).result,
|
|
811
|
+
credential_name=external.id,
|
|
812
|
+
comment="Managed by TF",
|
|
813
|
+
opts = pulumi.ResourceOptions(depends_on=[this]))
|
|
814
|
+
some_grants = databricks.Grants("some",
|
|
815
|
+
external_location=some.id,
|
|
816
|
+
grants=[{
|
|
817
|
+
"principal": "Data Engineers",
|
|
818
|
+
"privileges": [
|
|
819
|
+
"CREATE_EXTERNAL_TABLE",
|
|
820
|
+
"READ_FILES",
|
|
821
|
+
],
|
|
822
|
+
}])
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
For GCP
|
|
826
|
+
|
|
827
|
+
```python
|
|
828
|
+
import pulumi
|
|
829
|
+
import pulumi_databricks as databricks
|
|
830
|
+
|
|
831
|
+
ext = databricks.StorageCredential("ext",
|
|
832
|
+
name="the-creds",
|
|
833
|
+
databricks_gcp_service_account={})
|
|
834
|
+
some = databricks.ExternalLocation("some",
|
|
835
|
+
name="the-ext-location",
|
|
836
|
+
url=f"gs://{ext_bucket['name']}",
|
|
837
|
+
credential_name=ext.id,
|
|
838
|
+
comment="Managed by TF")
|
|
839
|
+
some_grants = databricks.Grants("some",
|
|
840
|
+
external_location=some.id,
|
|
841
|
+
grants=[{
|
|
842
|
+
"principal": "Data Engineers",
|
|
843
|
+
"privileges": [
|
|
844
|
+
"CREATE_EXTERNAL_TABLE",
|
|
845
|
+
"READ_FILES",
|
|
846
|
+
],
|
|
847
|
+
}])
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
Example `encryption_details` specifying SSE_S3 encryption:
|
|
851
|
+
|
|
728
852
|
## Import
|
|
729
853
|
|
|
730
854
|
This resource can be imported by `name`:
|
|
@@ -865,7 +989,7 @@ class ExternalLocation(pulumi.CustomResource):
|
|
|
865
989
|
:param pulumi.Input[_builtins.bool] skip_validation: Suppress validation errors if any & force save the external location
|
|
866
990
|
:param pulumi.Input[_builtins.int] updated_at: Time at which external location this was last modified, in epoch milliseconds.
|
|
867
991
|
:param pulumi.Input[_builtins.str] updated_by: Username of user who last modified the external location.
|
|
868
|
-
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
992
|
+
:param pulumi.Input[_builtins.str] url: Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
869
993
|
"""
|
|
870
994
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
871
995
|
|
|
@@ -1046,7 +1170,7 @@ class ExternalLocation(pulumi.CustomResource):
|
|
|
1046
1170
|
@pulumi.getter
|
|
1047
1171
|
def url(self) -> pulumi.Output[_builtins.str]:
|
|
1048
1172
|
"""
|
|
1049
|
-
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
1173
|
+
Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.).
|
|
1050
1174
|
"""
|
|
1051
1175
|
return pulumi.get(self, "url")
|
|
1052
1176
|
|
|
@@ -25,28 +25,32 @@ class FeatureEngineeringFeatureArgs:
|
|
|
25
25
|
function: pulumi.Input['FeatureEngineeringFeatureFunctionArgs'],
|
|
26
26
|
inputs: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
27
27
|
source: pulumi.Input['FeatureEngineeringFeatureSourceArgs'],
|
|
28
|
-
time_window: pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs'],
|
|
29
28
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
-
filter_condition: Optional[pulumi.Input[_builtins.str]] = None
|
|
29
|
+
filter_condition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
lineage_context: Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']] = None,
|
|
31
|
+
time_window: Optional[pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']] = None):
|
|
31
32
|
"""
|
|
32
33
|
The set of arguments for constructing a FeatureEngineeringFeature resource.
|
|
33
34
|
:param pulumi.Input[_builtins.str] full_name: The full three-part name (catalog, schema, name) of the feature
|
|
34
35
|
:param pulumi.Input['FeatureEngineeringFeatureFunctionArgs'] function: The function by which the feature is computed
|
|
35
36
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] inputs: The input columns from which the feature is computed
|
|
36
37
|
:param pulumi.Input['FeatureEngineeringFeatureSourceArgs'] source: The data source of the feature
|
|
37
|
-
:param pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs'] time_window: The time window in which the feature is computed
|
|
38
38
|
:param pulumi.Input[_builtins.str] description: The description of the feature
|
|
39
39
|
:param pulumi.Input[_builtins.str] filter_condition: The filter condition applied to the source data before aggregation
|
|
40
|
+
:param pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs'] time_window: The time window in which the feature is computed
|
|
40
41
|
"""
|
|
41
42
|
pulumi.set(__self__, "full_name", full_name)
|
|
42
43
|
pulumi.set(__self__, "function", function)
|
|
43
44
|
pulumi.set(__self__, "inputs", inputs)
|
|
44
45
|
pulumi.set(__self__, "source", source)
|
|
45
|
-
pulumi.set(__self__, "time_window", time_window)
|
|
46
46
|
if description is not None:
|
|
47
47
|
pulumi.set(__self__, "description", description)
|
|
48
48
|
if filter_condition is not None:
|
|
49
49
|
pulumi.set(__self__, "filter_condition", filter_condition)
|
|
50
|
+
if lineage_context is not None:
|
|
51
|
+
pulumi.set(__self__, "lineage_context", lineage_context)
|
|
52
|
+
if time_window is not None:
|
|
53
|
+
pulumi.set(__self__, "time_window", time_window)
|
|
50
54
|
|
|
51
55
|
@_builtins.property
|
|
52
56
|
@pulumi.getter(name="fullName")
|
|
@@ -96,18 +100,6 @@ class FeatureEngineeringFeatureArgs:
|
|
|
96
100
|
def source(self, value: pulumi.Input['FeatureEngineeringFeatureSourceArgs']):
|
|
97
101
|
pulumi.set(self, "source", value)
|
|
98
102
|
|
|
99
|
-
@_builtins.property
|
|
100
|
-
@pulumi.getter(name="timeWindow")
|
|
101
|
-
def time_window(self) -> pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']:
|
|
102
|
-
"""
|
|
103
|
-
The time window in which the feature is computed
|
|
104
|
-
"""
|
|
105
|
-
return pulumi.get(self, "time_window")
|
|
106
|
-
|
|
107
|
-
@time_window.setter
|
|
108
|
-
def time_window(self, value: pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']):
|
|
109
|
-
pulumi.set(self, "time_window", value)
|
|
110
|
-
|
|
111
103
|
@_builtins.property
|
|
112
104
|
@pulumi.getter
|
|
113
105
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -132,6 +124,27 @@ class FeatureEngineeringFeatureArgs:
|
|
|
132
124
|
def filter_condition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
125
|
pulumi.set(self, "filter_condition", value)
|
|
134
126
|
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter(name="lineageContext")
|
|
129
|
+
def lineage_context(self) -> Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']]:
|
|
130
|
+
return pulumi.get(self, "lineage_context")
|
|
131
|
+
|
|
132
|
+
@lineage_context.setter
|
|
133
|
+
def lineage_context(self, value: Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']]):
|
|
134
|
+
pulumi.set(self, "lineage_context", value)
|
|
135
|
+
|
|
136
|
+
@_builtins.property
|
|
137
|
+
@pulumi.getter(name="timeWindow")
|
|
138
|
+
def time_window(self) -> Optional[pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']]:
|
|
139
|
+
"""
|
|
140
|
+
The time window in which the feature is computed
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "time_window")
|
|
143
|
+
|
|
144
|
+
@time_window.setter
|
|
145
|
+
def time_window(self, value: Optional[pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']]):
|
|
146
|
+
pulumi.set(self, "time_window", value)
|
|
147
|
+
|
|
135
148
|
|
|
136
149
|
@pulumi.input_type
|
|
137
150
|
class _FeatureEngineeringFeatureState:
|
|
@@ -141,6 +154,7 @@ class _FeatureEngineeringFeatureState:
|
|
|
141
154
|
full_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
155
|
function: Optional[pulumi.Input['FeatureEngineeringFeatureFunctionArgs']] = None,
|
|
143
156
|
inputs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
157
|
+
lineage_context: Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']] = None,
|
|
144
158
|
source: Optional[pulumi.Input['FeatureEngineeringFeatureSourceArgs']] = None,
|
|
145
159
|
time_window: Optional[pulumi.Input['FeatureEngineeringFeatureTimeWindowArgs']] = None):
|
|
146
160
|
"""
|
|
@@ -163,6 +177,8 @@ class _FeatureEngineeringFeatureState:
|
|
|
163
177
|
pulumi.set(__self__, "function", function)
|
|
164
178
|
if inputs is not None:
|
|
165
179
|
pulumi.set(__self__, "inputs", inputs)
|
|
180
|
+
if lineage_context is not None:
|
|
181
|
+
pulumi.set(__self__, "lineage_context", lineage_context)
|
|
166
182
|
if source is not None:
|
|
167
183
|
pulumi.set(__self__, "source", source)
|
|
168
184
|
if time_window is not None:
|
|
@@ -228,6 +244,15 @@ class _FeatureEngineeringFeatureState:
|
|
|
228
244
|
def inputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
229
245
|
pulumi.set(self, "inputs", value)
|
|
230
246
|
|
|
247
|
+
@_builtins.property
|
|
248
|
+
@pulumi.getter(name="lineageContext")
|
|
249
|
+
def lineage_context(self) -> Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']]:
|
|
250
|
+
return pulumi.get(self, "lineage_context")
|
|
251
|
+
|
|
252
|
+
@lineage_context.setter
|
|
253
|
+
def lineage_context(self, value: Optional[pulumi.Input['FeatureEngineeringFeatureLineageContextArgs']]):
|
|
254
|
+
pulumi.set(self, "lineage_context", value)
|
|
255
|
+
|
|
231
256
|
@_builtins.property
|
|
232
257
|
@pulumi.getter
|
|
233
258
|
def source(self) -> Optional[pulumi.Input['FeatureEngineeringFeatureSourceArgs']]:
|
|
@@ -264,6 +289,7 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
264
289
|
full_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
265
290
|
function: Optional[pulumi.Input[Union['FeatureEngineeringFeatureFunctionArgs', 'FeatureEngineeringFeatureFunctionArgsDict']]] = None,
|
|
266
291
|
inputs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
292
|
+
lineage_context: Optional[pulumi.Input[Union['FeatureEngineeringFeatureLineageContextArgs', 'FeatureEngineeringFeatureLineageContextArgsDict']]] = None,
|
|
267
293
|
source: Optional[pulumi.Input[Union['FeatureEngineeringFeatureSourceArgs', 'FeatureEngineeringFeatureSourceArgsDict']]] = None,
|
|
268
294
|
time_window: Optional[pulumi.Input[Union['FeatureEngineeringFeatureTimeWindowArgs', 'FeatureEngineeringFeatureTimeWindowArgsDict']]] = None,
|
|
269
295
|
__props__=None):
|
|
@@ -349,6 +375,7 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
349
375
|
full_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
376
|
function: Optional[pulumi.Input[Union['FeatureEngineeringFeatureFunctionArgs', 'FeatureEngineeringFeatureFunctionArgsDict']]] = None,
|
|
351
377
|
inputs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
378
|
+
lineage_context: Optional[pulumi.Input[Union['FeatureEngineeringFeatureLineageContextArgs', 'FeatureEngineeringFeatureLineageContextArgsDict']]] = None,
|
|
352
379
|
source: Optional[pulumi.Input[Union['FeatureEngineeringFeatureSourceArgs', 'FeatureEngineeringFeatureSourceArgsDict']]] = None,
|
|
353
380
|
time_window: Optional[pulumi.Input[Union['FeatureEngineeringFeatureTimeWindowArgs', 'FeatureEngineeringFeatureTimeWindowArgsDict']]] = None,
|
|
354
381
|
__props__=None):
|
|
@@ -371,11 +398,10 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
371
398
|
if inputs is None and not opts.urn:
|
|
372
399
|
raise TypeError("Missing required property 'inputs'")
|
|
373
400
|
__props__.__dict__["inputs"] = inputs
|
|
401
|
+
__props__.__dict__["lineage_context"] = lineage_context
|
|
374
402
|
if source is None and not opts.urn:
|
|
375
403
|
raise TypeError("Missing required property 'source'")
|
|
376
404
|
__props__.__dict__["source"] = source
|
|
377
|
-
if time_window is None and not opts.urn:
|
|
378
|
-
raise TypeError("Missing required property 'time_window'")
|
|
379
405
|
__props__.__dict__["time_window"] = time_window
|
|
380
406
|
super(FeatureEngineeringFeature, __self__).__init__(
|
|
381
407
|
'databricks:index/featureEngineeringFeature:FeatureEngineeringFeature',
|
|
@@ -392,6 +418,7 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
392
418
|
full_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
393
419
|
function: Optional[pulumi.Input[Union['FeatureEngineeringFeatureFunctionArgs', 'FeatureEngineeringFeatureFunctionArgsDict']]] = None,
|
|
394
420
|
inputs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
421
|
+
lineage_context: Optional[pulumi.Input[Union['FeatureEngineeringFeatureLineageContextArgs', 'FeatureEngineeringFeatureLineageContextArgsDict']]] = None,
|
|
395
422
|
source: Optional[pulumi.Input[Union['FeatureEngineeringFeatureSourceArgs', 'FeatureEngineeringFeatureSourceArgsDict']]] = None,
|
|
396
423
|
time_window: Optional[pulumi.Input[Union['FeatureEngineeringFeatureTimeWindowArgs', 'FeatureEngineeringFeatureTimeWindowArgsDict']]] = None) -> 'FeatureEngineeringFeature':
|
|
397
424
|
"""
|
|
@@ -418,6 +445,7 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
418
445
|
__props__.__dict__["full_name"] = full_name
|
|
419
446
|
__props__.__dict__["function"] = function
|
|
420
447
|
__props__.__dict__["inputs"] = inputs
|
|
448
|
+
__props__.__dict__["lineage_context"] = lineage_context
|
|
421
449
|
__props__.__dict__["source"] = source
|
|
422
450
|
__props__.__dict__["time_window"] = time_window
|
|
423
451
|
return FeatureEngineeringFeature(resource_name, opts=opts, __props__=__props__)
|
|
@@ -462,6 +490,11 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
462
490
|
"""
|
|
463
491
|
return pulumi.get(self, "inputs")
|
|
464
492
|
|
|
493
|
+
@_builtins.property
|
|
494
|
+
@pulumi.getter(name="lineageContext")
|
|
495
|
+
def lineage_context(self) -> pulumi.Output[Optional['outputs.FeatureEngineeringFeatureLineageContext']]:
|
|
496
|
+
return pulumi.get(self, "lineage_context")
|
|
497
|
+
|
|
465
498
|
@_builtins.property
|
|
466
499
|
@pulumi.getter
|
|
467
500
|
def source(self) -> pulumi.Output['outputs.FeatureEngineeringFeatureSource']:
|
|
@@ -472,7 +505,7 @@ class FeatureEngineeringFeature(pulumi.CustomResource):
|
|
|
472
505
|
|
|
473
506
|
@_builtins.property
|
|
474
507
|
@pulumi.getter(name="timeWindow")
|
|
475
|
-
def time_window(self) -> pulumi.Output['outputs.FeatureEngineeringFeatureTimeWindow']:
|
|
508
|
+
def time_window(self) -> pulumi.Output[Optional['outputs.FeatureEngineeringFeatureTimeWindow']]:
|
|
476
509
|
"""
|
|
477
510
|
The time window in which the feature is computed
|
|
478
511
|
"""
|