pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.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 +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,26 +19,26 @@ __all__ = ['ServicePrincipalSecretArgs', 'ServicePrincipalSecret']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class ServicePrincipalSecretArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
service_principal_id: pulumi.Input[
|
|
24
|
-
create_time: Optional[pulumi.Input[
|
|
25
|
-
expire_time: Optional[pulumi.Input[
|
|
26
|
-
lifetime: Optional[pulumi.Input[
|
|
27
|
-
secret: Optional[pulumi.Input[
|
|
28
|
-
secret_hash: Optional[pulumi.Input[
|
|
29
|
-
status: Optional[pulumi.Input[
|
|
30
|
-
time_rotating: Optional[pulumi.Input[
|
|
31
|
-
update_time: Optional[pulumi.Input[
|
|
22
|
+
service_principal_id: pulumi.Input[_builtins.str],
|
|
23
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
expire_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
lifetime: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
time_rotating: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
32
31
|
"""
|
|
33
32
|
The set of arguments for constructing a ServicePrincipalSecret resource.
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[_builtins.str] service_principal_id: SCIM ID of the ServicePrincipal (not application ID).
|
|
34
|
+
:param pulumi.Input[_builtins.str] create_time: UTC time when the secret was created.
|
|
35
|
+
:param pulumi.Input[_builtins.str] expire_time: UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
36
|
+
:param pulumi.Input[_builtins.str] lifetime: The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
37
|
+
:param pulumi.Input[_builtins.str] secret: **Sensitive** Generated secret for the service principal.
|
|
38
|
+
:param pulumi.Input[_builtins.str] secret_hash: Secret Hash.
|
|
39
|
+
:param pulumi.Input[_builtins.str] status: Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
40
|
+
:param pulumi.Input[_builtins.str] time_rotating: Changing this argument forces recreation of the secret.
|
|
41
|
+
:param pulumi.Input[_builtins.str] update_time: UTC time when the secret was updated.
|
|
43
42
|
"""
|
|
44
43
|
pulumi.set(__self__, "service_principal_id", service_principal_id)
|
|
45
44
|
if create_time is not None:
|
|
@@ -59,138 +58,138 @@ class ServicePrincipalSecretArgs:
|
|
|
59
58
|
if update_time is not None:
|
|
60
59
|
pulumi.set(__self__, "update_time", update_time)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="servicePrincipalId")
|
|
64
|
-
def service_principal_id(self) -> pulumi.Input[
|
|
63
|
+
def service_principal_id(self) -> pulumi.Input[_builtins.str]:
|
|
65
64
|
"""
|
|
66
65
|
SCIM ID of the ServicePrincipal (not application ID).
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "service_principal_id")
|
|
69
68
|
|
|
70
69
|
@service_principal_id.setter
|
|
71
|
-
def service_principal_id(self, value: pulumi.Input[
|
|
70
|
+
def service_principal_id(self, value: pulumi.Input[_builtins.str]):
|
|
72
71
|
pulumi.set(self, "service_principal_id", value)
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter(name="createTime")
|
|
76
|
-
def create_time(self) -> Optional[pulumi.Input[
|
|
75
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
77
76
|
"""
|
|
78
77
|
UTC time when the secret was created.
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "create_time")
|
|
81
80
|
|
|
82
81
|
@create_time.setter
|
|
83
|
-
def create_time(self, value: Optional[pulumi.Input[
|
|
82
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
84
83
|
pulumi.set(self, "create_time", value)
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter(name="expireTime")
|
|
88
|
-
def expire_time(self) -> Optional[pulumi.Input[
|
|
87
|
+
def expire_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
89
88
|
"""
|
|
90
89
|
UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "expire_time")
|
|
93
92
|
|
|
94
93
|
@expire_time.setter
|
|
95
|
-
def expire_time(self, value: Optional[pulumi.Input[
|
|
94
|
+
def expire_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
95
|
pulumi.set(self, "expire_time", value)
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
@pulumi.getter
|
|
100
|
-
def lifetime(self) -> Optional[pulumi.Input[
|
|
99
|
+
def lifetime(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
100
|
"""
|
|
102
101
|
The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
103
102
|
"""
|
|
104
103
|
return pulumi.get(self, "lifetime")
|
|
105
104
|
|
|
106
105
|
@lifetime.setter
|
|
107
|
-
def lifetime(self, value: Optional[pulumi.Input[
|
|
106
|
+
def lifetime(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
108
107
|
pulumi.set(self, "lifetime", value)
|
|
109
108
|
|
|
110
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
111
110
|
@pulumi.getter
|
|
112
|
-
def secret(self) -> Optional[pulumi.Input[
|
|
111
|
+
def secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
113
112
|
"""
|
|
114
113
|
**Sensitive** Generated secret for the service principal.
|
|
115
114
|
"""
|
|
116
115
|
return pulumi.get(self, "secret")
|
|
117
116
|
|
|
118
117
|
@secret.setter
|
|
119
|
-
def secret(self, value: Optional[pulumi.Input[
|
|
118
|
+
def secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
119
|
pulumi.set(self, "secret", value)
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
@pulumi.getter(name="secretHash")
|
|
124
|
-
def secret_hash(self) -> Optional[pulumi.Input[
|
|
123
|
+
def secret_hash(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
125
124
|
"""
|
|
126
125
|
Secret Hash.
|
|
127
126
|
"""
|
|
128
127
|
return pulumi.get(self, "secret_hash")
|
|
129
128
|
|
|
130
129
|
@secret_hash.setter
|
|
131
|
-
def secret_hash(self, value: Optional[pulumi.Input[
|
|
130
|
+
def secret_hash(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
132
131
|
pulumi.set(self, "secret_hash", value)
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter
|
|
136
|
-
def status(self) -> Optional[pulumi.Input[
|
|
135
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
136
|
"""
|
|
138
137
|
Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
139
138
|
"""
|
|
140
139
|
return pulumi.get(self, "status")
|
|
141
140
|
|
|
142
141
|
@status.setter
|
|
143
|
-
def status(self, value: Optional[pulumi.Input[
|
|
142
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
143
|
pulumi.set(self, "status", value)
|
|
145
144
|
|
|
146
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
147
146
|
@pulumi.getter(name="timeRotating")
|
|
148
|
-
def time_rotating(self) -> Optional[pulumi.Input[
|
|
147
|
+
def time_rotating(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
149
148
|
"""
|
|
150
149
|
Changing this argument forces recreation of the secret.
|
|
151
150
|
"""
|
|
152
151
|
return pulumi.get(self, "time_rotating")
|
|
153
152
|
|
|
154
153
|
@time_rotating.setter
|
|
155
|
-
def time_rotating(self, value: Optional[pulumi.Input[
|
|
154
|
+
def time_rotating(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
155
|
pulumi.set(self, "time_rotating", value)
|
|
157
156
|
|
|
158
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
159
158
|
@pulumi.getter(name="updateTime")
|
|
160
|
-
def update_time(self) -> Optional[pulumi.Input[
|
|
159
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
161
160
|
"""
|
|
162
161
|
UTC time when the secret was updated.
|
|
163
162
|
"""
|
|
164
163
|
return pulumi.get(self, "update_time")
|
|
165
164
|
|
|
166
165
|
@update_time.setter
|
|
167
|
-
def update_time(self, value: Optional[pulumi.Input[
|
|
166
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
167
|
pulumi.set(self, "update_time", value)
|
|
169
168
|
|
|
170
169
|
|
|
171
170
|
@pulumi.input_type
|
|
172
171
|
class _ServicePrincipalSecretState:
|
|
173
172
|
def __init__(__self__, *,
|
|
174
|
-
create_time: Optional[pulumi.Input[
|
|
175
|
-
expire_time: Optional[pulumi.Input[
|
|
176
|
-
lifetime: Optional[pulumi.Input[
|
|
177
|
-
secret: Optional[pulumi.Input[
|
|
178
|
-
secret_hash: Optional[pulumi.Input[
|
|
179
|
-
service_principal_id: Optional[pulumi.Input[
|
|
180
|
-
status: Optional[pulumi.Input[
|
|
181
|
-
time_rotating: Optional[pulumi.Input[
|
|
182
|
-
update_time: Optional[pulumi.Input[
|
|
173
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
174
|
+
expire_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
175
|
+
lifetime: Optional[pulumi.Input[_builtins.str]] = None,
|
|
176
|
+
secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
177
|
+
secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
|
178
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
179
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
180
|
+
time_rotating: Optional[pulumi.Input[_builtins.str]] = None,
|
|
181
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
183
182
|
"""
|
|
184
183
|
Input properties used for looking up and filtering ServicePrincipalSecret resources.
|
|
185
|
-
:param pulumi.Input[
|
|
186
|
-
:param pulumi.Input[
|
|
187
|
-
:param pulumi.Input[
|
|
188
|
-
:param pulumi.Input[
|
|
189
|
-
:param pulumi.Input[
|
|
190
|
-
:param pulumi.Input[
|
|
191
|
-
:param pulumi.Input[
|
|
192
|
-
:param pulumi.Input[
|
|
193
|
-
:param pulumi.Input[
|
|
184
|
+
:param pulumi.Input[_builtins.str] create_time: UTC time when the secret was created.
|
|
185
|
+
:param pulumi.Input[_builtins.str] expire_time: UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
186
|
+
:param pulumi.Input[_builtins.str] lifetime: The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
187
|
+
:param pulumi.Input[_builtins.str] secret: **Sensitive** Generated secret for the service principal.
|
|
188
|
+
:param pulumi.Input[_builtins.str] secret_hash: Secret Hash.
|
|
189
|
+
:param pulumi.Input[_builtins.str] service_principal_id: SCIM ID of the ServicePrincipal (not application ID).
|
|
190
|
+
:param pulumi.Input[_builtins.str] status: Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
191
|
+
:param pulumi.Input[_builtins.str] time_rotating: Changing this argument forces recreation of the secret.
|
|
192
|
+
:param pulumi.Input[_builtins.str] update_time: UTC time when the secret was updated.
|
|
194
193
|
"""
|
|
195
194
|
if create_time is not None:
|
|
196
195
|
pulumi.set(__self__, "create_time", create_time)
|
|
@@ -211,112 +210,112 @@ class _ServicePrincipalSecretState:
|
|
|
211
210
|
if update_time is not None:
|
|
212
211
|
pulumi.set(__self__, "update_time", update_time)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="createTime")
|
|
216
|
-
def create_time(self) -> Optional[pulumi.Input[
|
|
215
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
217
216
|
"""
|
|
218
217
|
UTC time when the secret was created.
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "create_time")
|
|
221
220
|
|
|
222
221
|
@create_time.setter
|
|
223
|
-
def create_time(self, value: Optional[pulumi.Input[
|
|
222
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
223
|
pulumi.set(self, "create_time", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter(name="expireTime")
|
|
228
|
-
def expire_time(self) -> Optional[pulumi.Input[
|
|
227
|
+
def expire_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
229
228
|
"""
|
|
230
229
|
UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
231
230
|
"""
|
|
232
231
|
return pulumi.get(self, "expire_time")
|
|
233
232
|
|
|
234
233
|
@expire_time.setter
|
|
235
|
-
def expire_time(self, value: Optional[pulumi.Input[
|
|
234
|
+
def expire_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
236
235
|
pulumi.set(self, "expire_time", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter
|
|
240
|
-
def lifetime(self) -> Optional[pulumi.Input[
|
|
239
|
+
def lifetime(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
241
240
|
"""
|
|
242
241
|
The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "lifetime")
|
|
245
244
|
|
|
246
245
|
@lifetime.setter
|
|
247
|
-
def lifetime(self, value: Optional[pulumi.Input[
|
|
246
|
+
def lifetime(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
248
247
|
pulumi.set(self, "lifetime", value)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter
|
|
252
|
-
def secret(self) -> Optional[pulumi.Input[
|
|
251
|
+
def secret(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
253
252
|
"""
|
|
254
253
|
**Sensitive** Generated secret for the service principal.
|
|
255
254
|
"""
|
|
256
255
|
return pulumi.get(self, "secret")
|
|
257
256
|
|
|
258
257
|
@secret.setter
|
|
259
|
-
def secret(self, value: Optional[pulumi.Input[
|
|
258
|
+
def secret(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
260
259
|
pulumi.set(self, "secret", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter(name="secretHash")
|
|
264
|
-
def secret_hash(self) -> Optional[pulumi.Input[
|
|
263
|
+
def secret_hash(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
265
264
|
"""
|
|
266
265
|
Secret Hash.
|
|
267
266
|
"""
|
|
268
267
|
return pulumi.get(self, "secret_hash")
|
|
269
268
|
|
|
270
269
|
@secret_hash.setter
|
|
271
|
-
def secret_hash(self, value: Optional[pulumi.Input[
|
|
270
|
+
def secret_hash(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
272
271
|
pulumi.set(self, "secret_hash", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="servicePrincipalId")
|
|
276
|
-
def service_principal_id(self) -> Optional[pulumi.Input[
|
|
275
|
+
def service_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
277
276
|
"""
|
|
278
277
|
SCIM ID of the ServicePrincipal (not application ID).
|
|
279
278
|
"""
|
|
280
279
|
return pulumi.get(self, "service_principal_id")
|
|
281
280
|
|
|
282
281
|
@service_principal_id.setter
|
|
283
|
-
def service_principal_id(self, value: Optional[pulumi.Input[
|
|
282
|
+
def service_principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
284
283
|
pulumi.set(self, "service_principal_id", value)
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter
|
|
288
|
-
def status(self) -> Optional[pulumi.Input[
|
|
287
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
289
288
|
"""
|
|
290
289
|
Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
291
290
|
"""
|
|
292
291
|
return pulumi.get(self, "status")
|
|
293
292
|
|
|
294
293
|
@status.setter
|
|
295
|
-
def status(self, value: Optional[pulumi.Input[
|
|
294
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
296
295
|
pulumi.set(self, "status", value)
|
|
297
296
|
|
|
298
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
299
298
|
@pulumi.getter(name="timeRotating")
|
|
300
|
-
def time_rotating(self) -> Optional[pulumi.Input[
|
|
299
|
+
def time_rotating(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
301
300
|
"""
|
|
302
301
|
Changing this argument forces recreation of the secret.
|
|
303
302
|
"""
|
|
304
303
|
return pulumi.get(self, "time_rotating")
|
|
305
304
|
|
|
306
305
|
@time_rotating.setter
|
|
307
|
-
def time_rotating(self, value: Optional[pulumi.Input[
|
|
306
|
+
def time_rotating(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
308
307
|
pulumi.set(self, "time_rotating", value)
|
|
309
308
|
|
|
310
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
311
310
|
@pulumi.getter(name="updateTime")
|
|
312
|
-
def update_time(self) -> Optional[pulumi.Input[
|
|
311
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
313
312
|
"""
|
|
314
313
|
UTC time when the secret was updated.
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "update_time")
|
|
317
316
|
|
|
318
317
|
@update_time.setter
|
|
319
|
-
def update_time(self, value: Optional[pulumi.Input[
|
|
318
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
320
319
|
pulumi.set(self, "update_time", value)
|
|
321
320
|
|
|
322
321
|
|
|
@@ -326,20 +325,20 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
326
325
|
def __init__(__self__,
|
|
327
326
|
resource_name: str,
|
|
328
327
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
329
|
-
create_time: Optional[pulumi.Input[
|
|
330
|
-
expire_time: Optional[pulumi.Input[
|
|
331
|
-
lifetime: Optional[pulumi.Input[
|
|
332
|
-
secret: Optional[pulumi.Input[
|
|
333
|
-
secret_hash: Optional[pulumi.Input[
|
|
334
|
-
service_principal_id: Optional[pulumi.Input[
|
|
335
|
-
status: Optional[pulumi.Input[
|
|
336
|
-
time_rotating: Optional[pulumi.Input[
|
|
337
|
-
update_time: Optional[pulumi.Input[
|
|
328
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
expire_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
|
+
lifetime: Optional[pulumi.Input[_builtins.str]] = None,
|
|
331
|
+
secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
332
|
+
secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
|
333
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
334
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
335
|
+
time_rotating: Optional[pulumi.Input[_builtins.str]] = None,
|
|
336
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
338
337
|
__props__=None):
|
|
339
338
|
"""
|
|
340
339
|
With this resource you can create a secret for a given [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html).
|
|
341
340
|
|
|
342
|
-
> This resource can only be used with an account-level provider!
|
|
341
|
+
> This resource can only be used with an account-level or workspace-level provider!
|
|
343
342
|
|
|
344
343
|
This secret can be used to configure the Databricks Pulumi Provider to authenticate with the service principal. See Authenticating with service principal.
|
|
345
344
|
|
|
@@ -377,15 +376,15 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
377
376
|
|
|
378
377
|
:param str resource_name: The name of the resource.
|
|
379
378
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
380
|
-
:param pulumi.Input[
|
|
381
|
-
:param pulumi.Input[
|
|
382
|
-
:param pulumi.Input[
|
|
383
|
-
:param pulumi.Input[
|
|
384
|
-
:param pulumi.Input[
|
|
385
|
-
:param pulumi.Input[
|
|
386
|
-
:param pulumi.Input[
|
|
387
|
-
:param pulumi.Input[
|
|
388
|
-
:param pulumi.Input[
|
|
379
|
+
:param pulumi.Input[_builtins.str] create_time: UTC time when the secret was created.
|
|
380
|
+
:param pulumi.Input[_builtins.str] expire_time: UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
381
|
+
:param pulumi.Input[_builtins.str] lifetime: The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
382
|
+
:param pulumi.Input[_builtins.str] secret: **Sensitive** Generated secret for the service principal.
|
|
383
|
+
:param pulumi.Input[_builtins.str] secret_hash: Secret Hash.
|
|
384
|
+
:param pulumi.Input[_builtins.str] service_principal_id: SCIM ID of the ServicePrincipal (not application ID).
|
|
385
|
+
:param pulumi.Input[_builtins.str] status: Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
386
|
+
:param pulumi.Input[_builtins.str] time_rotating: Changing this argument forces recreation of the secret.
|
|
387
|
+
:param pulumi.Input[_builtins.str] update_time: UTC time when the secret was updated.
|
|
389
388
|
"""
|
|
390
389
|
...
|
|
391
390
|
@overload
|
|
@@ -396,7 +395,7 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
396
395
|
"""
|
|
397
396
|
With this resource you can create a secret for a given [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html).
|
|
398
397
|
|
|
399
|
-
> This resource can only be used with an account-level provider!
|
|
398
|
+
> This resource can only be used with an account-level or workspace-level provider!
|
|
400
399
|
|
|
401
400
|
This secret can be used to configure the Databricks Pulumi Provider to authenticate with the service principal. See Authenticating with service principal.
|
|
402
401
|
|
|
@@ -447,15 +446,15 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
447
446
|
def _internal_init(__self__,
|
|
448
447
|
resource_name: str,
|
|
449
448
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
450
|
-
create_time: Optional[pulumi.Input[
|
|
451
|
-
expire_time: Optional[pulumi.Input[
|
|
452
|
-
lifetime: Optional[pulumi.Input[
|
|
453
|
-
secret: Optional[pulumi.Input[
|
|
454
|
-
secret_hash: Optional[pulumi.Input[
|
|
455
|
-
service_principal_id: Optional[pulumi.Input[
|
|
456
|
-
status: Optional[pulumi.Input[
|
|
457
|
-
time_rotating: Optional[pulumi.Input[
|
|
458
|
-
update_time: Optional[pulumi.Input[
|
|
449
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
450
|
+
expire_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
451
|
+
lifetime: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
|
+
secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
453
|
+
secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
|
454
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
|
+
time_rotating: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
458
|
__props__=None):
|
|
460
459
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
461
460
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -488,15 +487,15 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
488
487
|
def get(resource_name: str,
|
|
489
488
|
id: pulumi.Input[str],
|
|
490
489
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
491
|
-
create_time: Optional[pulumi.Input[
|
|
492
|
-
expire_time: Optional[pulumi.Input[
|
|
493
|
-
lifetime: Optional[pulumi.Input[
|
|
494
|
-
secret: Optional[pulumi.Input[
|
|
495
|
-
secret_hash: Optional[pulumi.Input[
|
|
496
|
-
service_principal_id: Optional[pulumi.Input[
|
|
497
|
-
status: Optional[pulumi.Input[
|
|
498
|
-
time_rotating: Optional[pulumi.Input[
|
|
499
|
-
update_time: Optional[pulumi.Input[
|
|
490
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
491
|
+
expire_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
492
|
+
lifetime: Optional[pulumi.Input[_builtins.str]] = None,
|
|
493
|
+
secret: Optional[pulumi.Input[_builtins.str]] = None,
|
|
494
|
+
secret_hash: Optional[pulumi.Input[_builtins.str]] = None,
|
|
495
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
496
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
497
|
+
time_rotating: Optional[pulumi.Input[_builtins.str]] = None,
|
|
498
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServicePrincipalSecret':
|
|
500
499
|
"""
|
|
501
500
|
Get an existing ServicePrincipalSecret resource's state with the given name, id, and optional extra
|
|
502
501
|
properties used to qualify the lookup.
|
|
@@ -504,15 +503,15 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
504
503
|
:param str resource_name: The unique name of the resulting resource.
|
|
505
504
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
506
505
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
507
|
-
:param pulumi.Input[
|
|
508
|
-
:param pulumi.Input[
|
|
509
|
-
:param pulumi.Input[
|
|
510
|
-
:param pulumi.Input[
|
|
511
|
-
:param pulumi.Input[
|
|
512
|
-
:param pulumi.Input[
|
|
513
|
-
:param pulumi.Input[
|
|
514
|
-
:param pulumi.Input[
|
|
515
|
-
:param pulumi.Input[
|
|
506
|
+
:param pulumi.Input[_builtins.str] create_time: UTC time when the secret was created.
|
|
507
|
+
:param pulumi.Input[_builtins.str] expire_time: UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
508
|
+
:param pulumi.Input[_builtins.str] lifetime: The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
509
|
+
:param pulumi.Input[_builtins.str] secret: **Sensitive** Generated secret for the service principal.
|
|
510
|
+
:param pulumi.Input[_builtins.str] secret_hash: Secret Hash.
|
|
511
|
+
:param pulumi.Input[_builtins.str] service_principal_id: SCIM ID of the ServicePrincipal (not application ID).
|
|
512
|
+
:param pulumi.Input[_builtins.str] status: Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
513
|
+
:param pulumi.Input[_builtins.str] time_rotating: Changing this argument forces recreation of the secret.
|
|
514
|
+
:param pulumi.Input[_builtins.str] update_time: UTC time when the secret was updated.
|
|
516
515
|
"""
|
|
517
516
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
518
517
|
|
|
@@ -529,73 +528,73 @@ class ServicePrincipalSecret(pulumi.CustomResource):
|
|
|
529
528
|
__props__.__dict__["update_time"] = update_time
|
|
530
529
|
return ServicePrincipalSecret(resource_name, opts=opts, __props__=__props__)
|
|
531
530
|
|
|
532
|
-
@property
|
|
531
|
+
@_builtins.property
|
|
533
532
|
@pulumi.getter(name="createTime")
|
|
534
|
-
def create_time(self) -> pulumi.Output[
|
|
533
|
+
def create_time(self) -> pulumi.Output[_builtins.str]:
|
|
535
534
|
"""
|
|
536
535
|
UTC time when the secret was created.
|
|
537
536
|
"""
|
|
538
537
|
return pulumi.get(self, "create_time")
|
|
539
538
|
|
|
540
|
-
@property
|
|
539
|
+
@_builtins.property
|
|
541
540
|
@pulumi.getter(name="expireTime")
|
|
542
|
-
def expire_time(self) -> pulumi.Output[
|
|
541
|
+
def expire_time(self) -> pulumi.Output[_builtins.str]:
|
|
543
542
|
"""
|
|
544
543
|
UTC time when the secret will expire. If the field is not present, the secret does not expire.
|
|
545
544
|
"""
|
|
546
545
|
return pulumi.get(self, "expire_time")
|
|
547
546
|
|
|
548
|
-
@property
|
|
547
|
+
@_builtins.property
|
|
549
548
|
@pulumi.getter
|
|
550
|
-
def lifetime(self) -> pulumi.Output[
|
|
549
|
+
def lifetime(self) -> pulumi.Output[_builtins.str]:
|
|
551
550
|
"""
|
|
552
551
|
The lifetime of the secret in seconds formatted as `NNNNs`. If this parameter is not provided, the secret will have a default lifetime of 730 days (`63072000s`). Expiration of secret will lead to generation of new secret.
|
|
553
552
|
"""
|
|
554
553
|
return pulumi.get(self, "lifetime")
|
|
555
554
|
|
|
556
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
557
556
|
@pulumi.getter
|
|
558
|
-
def secret(self) -> pulumi.Output[
|
|
557
|
+
def secret(self) -> pulumi.Output[_builtins.str]:
|
|
559
558
|
"""
|
|
560
559
|
**Sensitive** Generated secret for the service principal.
|
|
561
560
|
"""
|
|
562
561
|
return pulumi.get(self, "secret")
|
|
563
562
|
|
|
564
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
565
564
|
@pulumi.getter(name="secretHash")
|
|
566
|
-
def secret_hash(self) -> pulumi.Output[
|
|
565
|
+
def secret_hash(self) -> pulumi.Output[_builtins.str]:
|
|
567
566
|
"""
|
|
568
567
|
Secret Hash.
|
|
569
568
|
"""
|
|
570
569
|
return pulumi.get(self, "secret_hash")
|
|
571
570
|
|
|
572
|
-
@property
|
|
571
|
+
@_builtins.property
|
|
573
572
|
@pulumi.getter(name="servicePrincipalId")
|
|
574
|
-
def service_principal_id(self) -> pulumi.Output[
|
|
573
|
+
def service_principal_id(self) -> pulumi.Output[_builtins.str]:
|
|
575
574
|
"""
|
|
576
575
|
SCIM ID of the ServicePrincipal (not application ID).
|
|
577
576
|
"""
|
|
578
577
|
return pulumi.get(self, "service_principal_id")
|
|
579
578
|
|
|
580
|
-
@property
|
|
579
|
+
@_builtins.property
|
|
581
580
|
@pulumi.getter
|
|
582
|
-
def status(self) -> pulumi.Output[
|
|
581
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
583
582
|
"""
|
|
584
583
|
Status of the secret (i.e., `ACTIVE` - see [REST API docs for full list](https://docs.databricks.com/api/account/serviceprincipalsecrets/list#secrets-status)).
|
|
585
584
|
"""
|
|
586
585
|
return pulumi.get(self, "status")
|
|
587
586
|
|
|
588
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
589
588
|
@pulumi.getter(name="timeRotating")
|
|
590
|
-
def time_rotating(self) -> pulumi.Output[Optional[
|
|
589
|
+
def time_rotating(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
591
590
|
"""
|
|
592
591
|
Changing this argument forces recreation of the secret.
|
|
593
592
|
"""
|
|
594
593
|
return pulumi.get(self, "time_rotating")
|
|
595
594
|
|
|
596
|
-
@property
|
|
595
|
+
@_builtins.property
|
|
597
596
|
@pulumi.getter(name="updateTime")
|
|
598
|
-
def update_time(self) -> pulumi.Output[
|
|
597
|
+
def update_time(self) -> pulumi.Output[_builtins.str]:
|
|
599
598
|
"""
|
|
600
599
|
UTC time when the secret was updated.
|
|
601
600
|
"""
|