pulumi-harness 0.9.0a1760076204__py3-none-any.whl → 0.10.0a1764049859__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.
Files changed (55) hide show
  1. pulumi_harness/__init__.py +24 -0
  2. pulumi_harness/autostopping/__init__.py +2 -0
  3. pulumi_harness/autostopping/_inputs.py +1698 -622
  4. pulumi_harness/autostopping/get_aws_alb.py +4 -0
  5. pulumi_harness/autostopping/get_aws_proxy.py +4 -0
  6. pulumi_harness/autostopping/get_azure_gateway.py +4 -0
  7. pulumi_harness/autostopping/get_azure_proxy.py +4 -0
  8. pulumi_harness/autostopping/get_gcp_proxy.py +4 -0
  9. pulumi_harness/autostopping/get_rule_ecs.py +4 -0
  10. pulumi_harness/autostopping/get_rule_rds.py +4 -0
  11. pulumi_harness/autostopping/get_rule_scale_group.py +254 -0
  12. pulumi_harness/autostopping/get_rule_vm.py +4 -0
  13. pulumi_harness/autostopping/outputs.py +727 -0
  14. pulumi_harness/autostopping/rule_ecs.py +58 -0
  15. pulumi_harness/autostopping/rule_scale_group.py +592 -0
  16. pulumi_harness/cluster/get_orchestrator.py +4 -0
  17. pulumi_harness/cluster/get_orchestrator_config.py +21 -1
  18. pulumi_harness/cluster/orchestrator.py +2 -28
  19. pulumi_harness/cluster/orchestrator_config.py +49 -0
  20. pulumi_harness/platform/__init__.py +5 -0
  21. pulumi_harness/platform/_inputs.py +5804 -371
  22. pulumi_harness/platform/connector_rancher.py +36 -0
  23. pulumi_harness/platform/db_instance.py +49 -49
  24. pulumi_harness/platform/db_schema.py +243 -0
  25. pulumi_harness/platform/environment.py +166 -0
  26. pulumi_harness/platform/environment_group.py +10 -10
  27. pulumi_harness/platform/gcp_secret_manager_connector.py +94 -0
  28. pulumi_harness/platform/get_db_instance.py +21 -21
  29. pulumi_harness/platform/get_db_schema.py +21 -1
  30. pulumi_harness/platform/get_default_notification_template_set.py +31 -1
  31. pulumi_harness/platform/get_gitops_agent_operator_yaml.py +4 -0
  32. pulumi_harness/platform/get_gitops_app_project_mapping.py +4 -0
  33. pulumi_harness/platform/get_gitops_applications.py +4 -0
  34. pulumi_harness/platform/get_gitops_repo_cert.py +4 -0
  35. pulumi_harness/platform/get_infra_module.py +192 -6
  36. pulumi_harness/platform/get_infra_module_testing.py +521 -0
  37. pulumi_harness/platform/get_infra_modules.py +103 -0
  38. pulumi_harness/platform/get_manual_freeze.py +4 -0
  39. pulumi_harness/platform/get_pipeline_central_notification_rule.py +2 -26
  40. pulumi_harness/platform/get_secret_winrm.py +263 -0
  41. pulumi_harness/platform/git_ops_applications.py +0 -4
  42. pulumi_harness/platform/gitops_applicationset.py +308 -6
  43. pulumi_harness/platform/infra_module_testing.py +1134 -0
  44. pulumi_harness/platform/infrastructure.py +82 -0
  45. pulumi_harness/platform/outputs.py +4467 -251
  46. pulumi_harness/platform/pipeline.py +2 -2
  47. pulumi_harness/platform/pipeline_central_notification_rule.py +187 -0
  48. pulumi_harness/platform/secret_winrm.py +1082 -0
  49. pulumi_harness/platform/service.py +150 -0
  50. pulumi_harness/platform/triggers.py +6 -4
  51. pulumi_harness/pulumi-plugin.json +1 -1
  52. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/METADATA +1 -1
  53. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/RECORD +55 -48
  54. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/WHEEL +0 -0
  55. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/top_level.txt +0 -0
@@ -501,7 +501,7 @@ class Pipeline(pulumi.CustomResource):
501
501
  - stage:
502
502
  name: dep
503
503
  identifier: dep
504
- description: ""
504
+ description: \\"\\"
505
505
  type: Deployment
506
506
  spec:
507
507
  serviceConfig:
@@ -670,7 +670,7 @@ class Pipeline(pulumi.CustomResource):
670
670
  - stage:
671
671
  name: dep
672
672
  identifier: dep
673
- description: ""
673
+ description: \\"\\"
674
674
  type: Deployment
675
675
  spec:
676
676
  serviceConfig:
@@ -31,6 +31,7 @@ class PipelineCentralNotificationRuleArgs:
31
31
  status: Optional[pulumi.Input[_builtins.str]] = None):
32
32
  """
33
33
  The set of arguments for constructing a PipelineCentralNotificationRule resource.
34
+ :param pulumi.Input[_builtins.str] status: Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
34
35
  """
35
36
  pulumi.set(__self__, "identifier", identifier)
36
37
  pulumi.set(__self__, "notification_channel_refs", notification_channel_refs)
@@ -112,6 +113,9 @@ class PipelineCentralNotificationRuleArgs:
112
113
  @_builtins.property
113
114
  @pulumi.getter
114
115
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
116
+ """
117
+ Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
118
+ """
115
119
  return pulumi.get(self, "status")
116
120
 
117
121
  @status.setter
@@ -138,6 +142,7 @@ class _PipelineCentralNotificationRuleState:
138
142
  :param pulumi.Input[_builtins.str] account: Account identifier associated with this notification channel.
139
143
  :param pulumi.Input[_builtins.int] created: Timestamp when the notification rule was created.
140
144
  :param pulumi.Input[_builtins.int] last_modified: Timestamp when the notification rule was last modified.
145
+ :param pulumi.Input[_builtins.str] status: Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
141
146
  """
142
147
  if account is not None:
143
148
  pulumi.set(__self__, "account", account)
@@ -264,6 +269,9 @@ class _PipelineCentralNotificationRuleState:
264
269
  @_builtins.property
265
270
  @pulumi.getter
266
271
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
272
+ """
273
+ Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
274
+ """
267
275
  return pulumi.get(self, "status")
268
276
 
269
277
  @status.setter
@@ -289,8 +297,96 @@ class PipelineCentralNotificationRule(pulumi.CustomResource):
289
297
  """
290
298
  Resource for creating a Harness Notification Rule for Pipeline
291
299
 
300
+ ## Example Usage
301
+
302
+ ```python
303
+ import pulumi
304
+ import pulumi_harness as harness
305
+
306
+ proj_example = harness.platform.PipelineCentralNotificationRule("projExample",
307
+ identifier="identifier",
308
+ name="name",
309
+ status="ENABLED",
310
+ notification_channel_refs=["account.channel"],
311
+ org="default",
312
+ project="proj0",
313
+ notification_conditions=[{
314
+ "condition_name": "pipelineRuleProjectConditionName",
315
+ "notification_event_configs": [{
316
+ "notification_entity": "PIPELINE",
317
+ "notification_event": "PIPELINE_START",
318
+ "notification_event_datas": [{
319
+ "type": "PIPELINE",
320
+ "scope_identifiers": [],
321
+ }],
322
+ "entity_identifiers": [],
323
+ }],
324
+ }])
325
+ org_example = harness.platform.PipelineCentralNotificationRule("orgExample",
326
+ identifier="identifier",
327
+ name="name",
328
+ status="ENABLED",
329
+ notification_channel_refs=["channel"],
330
+ org="default",
331
+ notification_conditions=[{
332
+ "condition_name": "pipelineRuleOrgConditionName",
333
+ "notification_event_configs": [{
334
+ "notification_entity": "PIPELINE",
335
+ "notification_event": "PIPELINE_START",
336
+ "notification_event_datas": [{
337
+ "type": "PIPELINE",
338
+ "scope_identifiers": [
339
+ "proj0",
340
+ "random",
341
+ ],
342
+ }],
343
+ "entity_identifiers": [],
344
+ }],
345
+ }])
346
+ account_example = harness.platform.PipelineCentralNotificationRule("accountExample",
347
+ identifier="identifier",
348
+ name="name",
349
+ status="DISABLED",
350
+ notification_channel_refs=["org.channel"],
351
+ notification_conditions=[{
352
+ "condition_name": "pipelineRuleConditionName",
353
+ "notification_event_configs": [{
354
+ "notification_entity": "PIPELINE",
355
+ "notification_event": "PIPELINE_START",
356
+ "notification_event_datas": [{
357
+ "type": "PIPELINE",
358
+ "scope_identifiers": ["org"],
359
+ }],
360
+ "entity_identifiers": [],
361
+ }],
362
+ }])
363
+ ```
364
+
365
+ ## Import
366
+
367
+ The `pulumi import` command can be used, for example:
368
+
369
+ Import account level pipeline central notification rule
370
+
371
+ ```sh
372
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <notification_rule_id>
373
+ ```
374
+
375
+ Import org level pipeline central notification rule
376
+
377
+ ```sh
378
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <ord_id>/<notification_rule_id>
379
+ ```
380
+
381
+ Import project level pipeline central notification rule
382
+
383
+ ```sh
384
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <org_id>/<project_id>/<notification_rule_id>
385
+ ```
386
+
292
387
  :param str resource_name: The name of the resource.
293
388
  :param pulumi.ResourceOptions opts: Options for the resource.
389
+ :param pulumi.Input[_builtins.str] status: Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
294
390
  """
295
391
  ...
296
392
  @overload
@@ -301,6 +397,93 @@ class PipelineCentralNotificationRule(pulumi.CustomResource):
301
397
  """
302
398
  Resource for creating a Harness Notification Rule for Pipeline
303
399
 
400
+ ## Example Usage
401
+
402
+ ```python
403
+ import pulumi
404
+ import pulumi_harness as harness
405
+
406
+ proj_example = harness.platform.PipelineCentralNotificationRule("projExample",
407
+ identifier="identifier",
408
+ name="name",
409
+ status="ENABLED",
410
+ notification_channel_refs=["account.channel"],
411
+ org="default",
412
+ project="proj0",
413
+ notification_conditions=[{
414
+ "condition_name": "pipelineRuleProjectConditionName",
415
+ "notification_event_configs": [{
416
+ "notification_entity": "PIPELINE",
417
+ "notification_event": "PIPELINE_START",
418
+ "notification_event_datas": [{
419
+ "type": "PIPELINE",
420
+ "scope_identifiers": [],
421
+ }],
422
+ "entity_identifiers": [],
423
+ }],
424
+ }])
425
+ org_example = harness.platform.PipelineCentralNotificationRule("orgExample",
426
+ identifier="identifier",
427
+ name="name",
428
+ status="ENABLED",
429
+ notification_channel_refs=["channel"],
430
+ org="default",
431
+ notification_conditions=[{
432
+ "condition_name": "pipelineRuleOrgConditionName",
433
+ "notification_event_configs": [{
434
+ "notification_entity": "PIPELINE",
435
+ "notification_event": "PIPELINE_START",
436
+ "notification_event_datas": [{
437
+ "type": "PIPELINE",
438
+ "scope_identifiers": [
439
+ "proj0",
440
+ "random",
441
+ ],
442
+ }],
443
+ "entity_identifiers": [],
444
+ }],
445
+ }])
446
+ account_example = harness.platform.PipelineCentralNotificationRule("accountExample",
447
+ identifier="identifier",
448
+ name="name",
449
+ status="DISABLED",
450
+ notification_channel_refs=["org.channel"],
451
+ notification_conditions=[{
452
+ "condition_name": "pipelineRuleConditionName",
453
+ "notification_event_configs": [{
454
+ "notification_entity": "PIPELINE",
455
+ "notification_event": "PIPELINE_START",
456
+ "notification_event_datas": [{
457
+ "type": "PIPELINE",
458
+ "scope_identifiers": ["org"],
459
+ }],
460
+ "entity_identifiers": [],
461
+ }],
462
+ }])
463
+ ```
464
+
465
+ ## Import
466
+
467
+ The `pulumi import` command can be used, for example:
468
+
469
+ Import account level pipeline central notification rule
470
+
471
+ ```sh
472
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <notification_rule_id>
473
+ ```
474
+
475
+ Import org level pipeline central notification rule
476
+
477
+ ```sh
478
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <ord_id>/<notification_rule_id>
479
+ ```
480
+
481
+ Import project level pipeline central notification rule
482
+
483
+ ```sh
484
+ $ pulumi import harness:platform/pipelineCentralNotificationRule:PipelineCentralNotificationRule example <org_id>/<project_id>/<notification_rule_id>
485
+ ```
486
+
304
487
  :param str resource_name: The name of the resource.
305
488
  :param PipelineCentralNotificationRuleArgs args: The arguments to use to populate this resource's properties.
306
489
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -381,6 +564,7 @@ class PipelineCentralNotificationRule(pulumi.CustomResource):
381
564
  :param pulumi.Input[_builtins.str] account: Account identifier associated with this notification channel.
382
565
  :param pulumi.Input[_builtins.int] created: Timestamp when the notification rule was created.
383
566
  :param pulumi.Input[_builtins.int] last_modified: Timestamp when the notification rule was last modified.
567
+ :param pulumi.Input[_builtins.str] status: Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
384
568
  """
385
569
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
386
570
 
@@ -461,5 +645,8 @@ class PipelineCentralNotificationRule(pulumi.CustomResource):
461
645
  @_builtins.property
462
646
  @pulumi.getter
463
647
  def status(self) -> pulumi.Output[Optional[_builtins.str]]:
648
+ """
649
+ Status of the notification rule. Supported values: `ENABLED`, `DISABLED`. Default: `ENABLED`.
650
+ """
464
651
  return pulumi.get(self, "status")
465
652