pulumi-gcp 7.3.0a1702567892__py3-none-any.whl → 7.3.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +129 -0
- pulumi_gcp/artifactregistry/_inputs.py +88 -0
- pulumi_gcp/artifactregistry/outputs.py +148 -0
- pulumi_gcp/artifactregistry/repository.py +116 -16
- pulumi_gcp/bigquery/_inputs.py +110 -0
- pulumi_gcp/bigquery/connection.py +123 -3
- pulumi_gcp/bigquery/outputs.py +145 -0
- pulumi_gcp/cloudbuild/_inputs.py +241 -1
- pulumi_gcp/cloudbuild/outputs.py +353 -2
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +6 -2
- pulumi_gcp/cloudidentity/_inputs.py +54 -5
- pulumi_gcp/cloudidentity/group_membership.py +0 -8
- pulumi_gcp/cloudidentity/outputs.py +99 -4
- pulumi_gcp/cloudrunv2/_inputs.py +8 -4
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/cloudrunv2/service.py +42 -0
- pulumi_gcp/cloudtasks/queue.py +0 -10
- pulumi_gcp/composer/_inputs.py +17 -4
- pulumi_gcp/composer/outputs.py +20 -4
- pulumi_gcp/compute/_inputs.py +46 -0
- pulumi_gcp/compute/get_global_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_forwarding_rule.py +69 -0
- pulumi_gcp/compute/outputs.py +75 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +58 -0
- pulumi_gcp/container/node_pool.py +68 -14
- pulumi_gcp/container/outputs.py +68 -0
- pulumi_gcp/dataform/__init__.py +4 -0
- pulumi_gcp/dataform/_inputs.py +80 -0
- pulumi_gcp/dataform/get_repository_iam_policy.py +144 -0
- pulumi_gcp/dataform/outputs.py +56 -0
- pulumi_gcp/dataform/repository_iam_binding.py +325 -0
- pulumi_gcp/dataform/repository_iam_member.py +325 -0
- pulumi_gcp/dataform/repository_iam_policy.py +254 -0
- pulumi_gcp/dataloss/_inputs.py +29 -26
- pulumi_gcp/dataloss/outputs.py +28 -25
- pulumi_gcp/dataloss/prevention_job_trigger.py +78 -0
- pulumi_gcp/datastream/connection_profile.py +82 -4
- pulumi_gcp/datastream/stream.py +32 -22
- pulumi_gcp/firestore/database.py +146 -28
- pulumi_gcp/gkehub/_inputs.py +821 -3
- pulumi_gcp/gkehub/feature.py +176 -0
- pulumi_gcp/gkehub/feature_membership.py +105 -59
- pulumi_gcp/gkehub/fleet.py +70 -2
- pulumi_gcp/gkehub/outputs.py +819 -3
- pulumi_gcp/gkehub/scope.py +2 -2
- pulumi_gcp/iam/_inputs.py +72 -0
- pulumi_gcp/iam/outputs.py +79 -0
- pulumi_gcp/iam/workforce_pool.py +75 -0
- pulumi_gcp/identityplatform/project_default_config.py +4 -0
- pulumi_gcp/logging/__init__.py +3 -0
- pulumi_gcp/logging/get_folder_settings.py +197 -0
- pulumi_gcp/logging/get_organization_settings.py +197 -0
- pulumi_gcp/logging/get_project_settings.py +197 -0
- pulumi_gcp/migrationcenter/__init__.py +8 -0
- pulumi_gcp/migrationcenter/group.py +652 -0
- pulumi_gcp/netapp/__init__.py +8 -0
- pulumi_gcp/netapp/storage_pool.py +970 -0
- pulumi_gcp/projects/iam_custom_role.py +7 -7
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/securesourcemanager/__init__.py +14 -0
- pulumi_gcp/securesourcemanager/_inputs.py +94 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +168 -0
- pulumi_gcp/securesourcemanager/instance.py +607 -0
- pulumi_gcp/securesourcemanager/instance_iam_binding.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_member.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_policy.py +254 -0
- pulumi_gcp/securesourcemanager/outputs.py +70 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +528 -0
- pulumi_gcp/sql/_inputs.py +2 -2
- pulumi_gcp/sql/database_instance.py +4 -4
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +16 -0
- pulumi_gcp/storage/outputs.py +21 -0
- pulumi_gcp/vertex/__init__.py +4 -0
- pulumi_gcp/vertex/_inputs.py +80 -0
- pulumi_gcp/vertex/ai_endpoint_iam_binding.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_member.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_policy.py +254 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +140 -0
- pulumi_gcp/vertex/outputs.py +56 -0
- pulumi_gcp/vmwareengine/__init__.py +5 -0
- pulumi_gcp/vmwareengine/_inputs.py +104 -2
- pulumi_gcp/vmwareengine/get_network.py +14 -4
- pulumi_gcp/vmwareengine/get_network_peering.py +260 -0
- pulumi_gcp/vmwareengine/get_network_policy.py +228 -0
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +133 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +14 -4
- pulumi_gcp/vmwareengine/network.py +41 -7
- pulumi_gcp/vmwareengine/network_peering.py +959 -0
- pulumi_gcp/vmwareengine/network_policy.py +836 -0
- pulumi_gcp/vmwareengine/outputs.py +133 -2
- pulumi_gcp/vmwareengine/private_cloud.py +20 -68
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/RECORD +101 -72
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/top_level.txt +0 -0
pulumi_gcp/gkehub/outputs.py
CHANGED
@@ -17,6 +17,17 @@ __all__ = [
|
|
17
17
|
'FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit',
|
18
18
|
'FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci',
|
19
19
|
'FeatureFleetDefaultMemberConfigMesh',
|
20
|
+
'FeatureFleetDefaultMemberConfigPolicycontroller',
|
21
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig',
|
22
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig',
|
23
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources',
|
24
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesLimits',
|
25
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequests',
|
26
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodToleration',
|
27
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring',
|
28
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent',
|
29
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle',
|
30
|
+
'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary',
|
20
31
|
'FeatureIamBindingCondition',
|
21
32
|
'FeatureIamMemberCondition',
|
22
33
|
'FeatureMembershipConfigmanagement',
|
@@ -37,6 +48,10 @@ __all__ = [
|
|
37
48
|
'FeatureSpecMulticlusteringress',
|
38
49
|
'FeatureState',
|
39
50
|
'FeatureStateState',
|
51
|
+
'FleetDefaultClusterConfig',
|
52
|
+
'FleetDefaultClusterConfigBinaryAuthorizationConfig',
|
53
|
+
'FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding',
|
54
|
+
'FleetDefaultClusterConfigSecurityPostureConfig',
|
40
55
|
'FleetState',
|
41
56
|
'MembershipAuthority',
|
42
57
|
'MembershipBindingState',
|
@@ -58,17 +73,22 @@ __all__ = [
|
|
58
73
|
class FeatureFleetDefaultMemberConfig(dict):
|
59
74
|
def __init__(__self__, *,
|
60
75
|
configmanagement: Optional['outputs.FeatureFleetDefaultMemberConfigConfigmanagement'] = None,
|
61
|
-
mesh: Optional['outputs.FeatureFleetDefaultMemberConfigMesh'] = None
|
76
|
+
mesh: Optional['outputs.FeatureFleetDefaultMemberConfigMesh'] = None,
|
77
|
+
policycontroller: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontroller'] = None):
|
62
78
|
"""
|
63
79
|
:param 'FeatureFleetDefaultMemberConfigConfigmanagementArgs' configmanagement: Config Management spec
|
64
80
|
Structure is documented below.
|
65
81
|
:param 'FeatureFleetDefaultMemberConfigMeshArgs' mesh: Service Mesh spec
|
66
82
|
Structure is documented below.
|
83
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerArgs' policycontroller: Policy Controller spec
|
84
|
+
Structure is documented below.
|
67
85
|
"""
|
68
86
|
if configmanagement is not None:
|
69
87
|
pulumi.set(__self__, "configmanagement", configmanagement)
|
70
88
|
if mesh is not None:
|
71
89
|
pulumi.set(__self__, "mesh", mesh)
|
90
|
+
if policycontroller is not None:
|
91
|
+
pulumi.set(__self__, "policycontroller", policycontroller)
|
72
92
|
|
73
93
|
@property
|
74
94
|
@pulumi.getter
|
@@ -88,6 +108,15 @@ class FeatureFleetDefaultMemberConfig(dict):
|
|
88
108
|
"""
|
89
109
|
return pulumi.get(self, "mesh")
|
90
110
|
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def policycontroller(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontroller']:
|
114
|
+
"""
|
115
|
+
Policy Controller spec
|
116
|
+
Structure is documented below.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "policycontroller")
|
119
|
+
|
91
120
|
|
92
121
|
@pulumi.output_type
|
93
122
|
class FeatureFleetDefaultMemberConfigConfigmanagement(dict):
|
@@ -447,6 +476,610 @@ class FeatureFleetDefaultMemberConfigMesh(dict):
|
|
447
476
|
return pulumi.get(self, "management")
|
448
477
|
|
449
478
|
|
479
|
+
@pulumi.output_type
|
480
|
+
class FeatureFleetDefaultMemberConfigPolicycontroller(dict):
|
481
|
+
@staticmethod
|
482
|
+
def __key_warning(key: str):
|
483
|
+
suggest = None
|
484
|
+
if key == "policyControllerHubConfig":
|
485
|
+
suggest = "policy_controller_hub_config"
|
486
|
+
|
487
|
+
if suggest:
|
488
|
+
pulumi.log.warn(f"Key '{key}' not found in FeatureFleetDefaultMemberConfigPolicycontroller. Access the value via the '{suggest}' property getter instead.")
|
489
|
+
|
490
|
+
def __getitem__(self, key: str) -> Any:
|
491
|
+
FeatureFleetDefaultMemberConfigPolicycontroller.__key_warning(key)
|
492
|
+
return super().__getitem__(key)
|
493
|
+
|
494
|
+
def get(self, key: str, default = None) -> Any:
|
495
|
+
FeatureFleetDefaultMemberConfigPolicycontroller.__key_warning(key)
|
496
|
+
return super().get(key, default)
|
497
|
+
|
498
|
+
def __init__(__self__, *,
|
499
|
+
policy_controller_hub_config: 'outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig',
|
500
|
+
version: Optional[str] = None):
|
501
|
+
"""
|
502
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigArgs' policy_controller_hub_config: Configuration of Policy Controller
|
503
|
+
Structure is documented below.
|
504
|
+
:param str version: Configures the version of Policy Controller
|
505
|
+
"""
|
506
|
+
pulumi.set(__self__, "policy_controller_hub_config", policy_controller_hub_config)
|
507
|
+
if version is not None:
|
508
|
+
pulumi.set(__self__, "version", version)
|
509
|
+
|
510
|
+
@property
|
511
|
+
@pulumi.getter(name="policyControllerHubConfig")
|
512
|
+
def policy_controller_hub_config(self) -> 'outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig':
|
513
|
+
"""
|
514
|
+
Configuration of Policy Controller
|
515
|
+
Structure is documented below.
|
516
|
+
"""
|
517
|
+
return pulumi.get(self, "policy_controller_hub_config")
|
518
|
+
|
519
|
+
@property
|
520
|
+
@pulumi.getter
|
521
|
+
def version(self) -> Optional[str]:
|
522
|
+
"""
|
523
|
+
Configures the version of Policy Controller
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "version")
|
526
|
+
|
527
|
+
|
528
|
+
@pulumi.output_type
|
529
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig(dict):
|
530
|
+
@staticmethod
|
531
|
+
def __key_warning(key: str):
|
532
|
+
suggest = None
|
533
|
+
if key == "installSpec":
|
534
|
+
suggest = "install_spec"
|
535
|
+
elif key == "auditIntervalSeconds":
|
536
|
+
suggest = "audit_interval_seconds"
|
537
|
+
elif key == "constraintViolationLimit":
|
538
|
+
suggest = "constraint_violation_limit"
|
539
|
+
elif key == "deploymentConfigs":
|
540
|
+
suggest = "deployment_configs"
|
541
|
+
elif key == "exemptableNamespaces":
|
542
|
+
suggest = "exemptable_namespaces"
|
543
|
+
elif key == "logDeniesEnabled":
|
544
|
+
suggest = "log_denies_enabled"
|
545
|
+
elif key == "mutationEnabled":
|
546
|
+
suggest = "mutation_enabled"
|
547
|
+
elif key == "policyContent":
|
548
|
+
suggest = "policy_content"
|
549
|
+
elif key == "referentialRulesEnabled":
|
550
|
+
suggest = "referential_rules_enabled"
|
551
|
+
|
552
|
+
if suggest:
|
553
|
+
pulumi.log.warn(f"Key '{key}' not found in FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig. Access the value via the '{suggest}' property getter instead.")
|
554
|
+
|
555
|
+
def __getitem__(self, key: str) -> Any:
|
556
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig.__key_warning(key)
|
557
|
+
return super().__getitem__(key)
|
558
|
+
|
559
|
+
def get(self, key: str, default = None) -> Any:
|
560
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig.__key_warning(key)
|
561
|
+
return super().get(key, default)
|
562
|
+
|
563
|
+
def __init__(__self__, *,
|
564
|
+
install_spec: str,
|
565
|
+
audit_interval_seconds: Optional[int] = None,
|
566
|
+
constraint_violation_limit: Optional[int] = None,
|
567
|
+
deployment_configs: Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig']] = None,
|
568
|
+
exemptable_namespaces: Optional[Sequence[str]] = None,
|
569
|
+
log_denies_enabled: Optional[bool] = None,
|
570
|
+
monitoring: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring'] = None,
|
571
|
+
mutation_enabled: Optional[bool] = None,
|
572
|
+
policy_content: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent'] = None,
|
573
|
+
referential_rules_enabled: Optional[bool] = None):
|
574
|
+
"""
|
575
|
+
:param str install_spec: Configures the mode of the Policy Controller installation
|
576
|
+
Possible values are: `INSTALL_SPEC_UNSPECIFIED`, `INSTALL_SPEC_NOT_INSTALLED`, `INSTALL_SPEC_ENABLED`, `INSTALL_SPEC_SUSPENDED`, `INSTALL_SPEC_DETACHED`.
|
577
|
+
:param int audit_interval_seconds: Interval for Policy Controller Audit scans (in seconds). When set to 0, this disables audit functionality altogether.
|
578
|
+
:param int constraint_violation_limit: The maximum number of audit violations to be stored in a constraint. If not set, the internal default of 20 will be used.
|
579
|
+
:param Sequence['FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigArgs'] deployment_configs: Map of deployment configs to deployments ("admission", "audit", "mutation").
|
580
|
+
Structure is documented below.
|
581
|
+
:param Sequence[str] exemptable_namespaces: The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
|
582
|
+
:param bool log_denies_enabled: Logs all denies and dry run failures.
|
583
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringArgs' monitoring: Monitoring specifies the configuration of monitoring Policy Controller.
|
584
|
+
Structure is documented below.
|
585
|
+
:param bool mutation_enabled: Enables the ability to mutate resources using Policy Controller.
|
586
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs' policy_content: Specifies the desired policy content on the cluster.
|
587
|
+
Structure is documented below.
|
588
|
+
:param bool referential_rules_enabled: Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
|
589
|
+
"""
|
590
|
+
pulumi.set(__self__, "install_spec", install_spec)
|
591
|
+
if audit_interval_seconds is not None:
|
592
|
+
pulumi.set(__self__, "audit_interval_seconds", audit_interval_seconds)
|
593
|
+
if constraint_violation_limit is not None:
|
594
|
+
pulumi.set(__self__, "constraint_violation_limit", constraint_violation_limit)
|
595
|
+
if deployment_configs is not None:
|
596
|
+
pulumi.set(__self__, "deployment_configs", deployment_configs)
|
597
|
+
if exemptable_namespaces is not None:
|
598
|
+
pulumi.set(__self__, "exemptable_namespaces", exemptable_namespaces)
|
599
|
+
if log_denies_enabled is not None:
|
600
|
+
pulumi.set(__self__, "log_denies_enabled", log_denies_enabled)
|
601
|
+
if monitoring is not None:
|
602
|
+
pulumi.set(__self__, "monitoring", monitoring)
|
603
|
+
if mutation_enabled is not None:
|
604
|
+
pulumi.set(__self__, "mutation_enabled", mutation_enabled)
|
605
|
+
if policy_content is not None:
|
606
|
+
pulumi.set(__self__, "policy_content", policy_content)
|
607
|
+
if referential_rules_enabled is not None:
|
608
|
+
pulumi.set(__self__, "referential_rules_enabled", referential_rules_enabled)
|
609
|
+
|
610
|
+
@property
|
611
|
+
@pulumi.getter(name="installSpec")
|
612
|
+
def install_spec(self) -> str:
|
613
|
+
"""
|
614
|
+
Configures the mode of the Policy Controller installation
|
615
|
+
Possible values are: `INSTALL_SPEC_UNSPECIFIED`, `INSTALL_SPEC_NOT_INSTALLED`, `INSTALL_SPEC_ENABLED`, `INSTALL_SPEC_SUSPENDED`, `INSTALL_SPEC_DETACHED`.
|
616
|
+
"""
|
617
|
+
return pulumi.get(self, "install_spec")
|
618
|
+
|
619
|
+
@property
|
620
|
+
@pulumi.getter(name="auditIntervalSeconds")
|
621
|
+
def audit_interval_seconds(self) -> Optional[int]:
|
622
|
+
"""
|
623
|
+
Interval for Policy Controller Audit scans (in seconds). When set to 0, this disables audit functionality altogether.
|
624
|
+
"""
|
625
|
+
return pulumi.get(self, "audit_interval_seconds")
|
626
|
+
|
627
|
+
@property
|
628
|
+
@pulumi.getter(name="constraintViolationLimit")
|
629
|
+
def constraint_violation_limit(self) -> Optional[int]:
|
630
|
+
"""
|
631
|
+
The maximum number of audit violations to be stored in a constraint. If not set, the internal default of 20 will be used.
|
632
|
+
"""
|
633
|
+
return pulumi.get(self, "constraint_violation_limit")
|
634
|
+
|
635
|
+
@property
|
636
|
+
@pulumi.getter(name="deploymentConfigs")
|
637
|
+
def deployment_configs(self) -> Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig']]:
|
638
|
+
"""
|
639
|
+
Map of deployment configs to deployments ("admission", "audit", "mutation").
|
640
|
+
Structure is documented below.
|
641
|
+
"""
|
642
|
+
return pulumi.get(self, "deployment_configs")
|
643
|
+
|
644
|
+
@property
|
645
|
+
@pulumi.getter(name="exemptableNamespaces")
|
646
|
+
def exemptable_namespaces(self) -> Optional[Sequence[str]]:
|
647
|
+
"""
|
648
|
+
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
|
649
|
+
"""
|
650
|
+
return pulumi.get(self, "exemptable_namespaces")
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter(name="logDeniesEnabled")
|
654
|
+
def log_denies_enabled(self) -> Optional[bool]:
|
655
|
+
"""
|
656
|
+
Logs all denies and dry run failures.
|
657
|
+
"""
|
658
|
+
return pulumi.get(self, "log_denies_enabled")
|
659
|
+
|
660
|
+
@property
|
661
|
+
@pulumi.getter
|
662
|
+
def monitoring(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring']:
|
663
|
+
"""
|
664
|
+
Monitoring specifies the configuration of monitoring Policy Controller.
|
665
|
+
Structure is documented below.
|
666
|
+
"""
|
667
|
+
return pulumi.get(self, "monitoring")
|
668
|
+
|
669
|
+
@property
|
670
|
+
@pulumi.getter(name="mutationEnabled")
|
671
|
+
def mutation_enabled(self) -> Optional[bool]:
|
672
|
+
"""
|
673
|
+
Enables the ability to mutate resources using Policy Controller.
|
674
|
+
"""
|
675
|
+
return pulumi.get(self, "mutation_enabled")
|
676
|
+
|
677
|
+
@property
|
678
|
+
@pulumi.getter(name="policyContent")
|
679
|
+
def policy_content(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent']:
|
680
|
+
"""
|
681
|
+
Specifies the desired policy content on the cluster.
|
682
|
+
Structure is documented below.
|
683
|
+
"""
|
684
|
+
return pulumi.get(self, "policy_content")
|
685
|
+
|
686
|
+
@property
|
687
|
+
@pulumi.getter(name="referentialRulesEnabled")
|
688
|
+
def referential_rules_enabled(self) -> Optional[bool]:
|
689
|
+
"""
|
690
|
+
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
|
691
|
+
"""
|
692
|
+
return pulumi.get(self, "referential_rules_enabled")
|
693
|
+
|
694
|
+
|
695
|
+
@pulumi.output_type
|
696
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig(dict):
|
697
|
+
@staticmethod
|
698
|
+
def __key_warning(key: str):
|
699
|
+
suggest = None
|
700
|
+
if key == "containerResources":
|
701
|
+
suggest = "container_resources"
|
702
|
+
elif key == "podAffinity":
|
703
|
+
suggest = "pod_affinity"
|
704
|
+
elif key == "podTolerations":
|
705
|
+
suggest = "pod_tolerations"
|
706
|
+
elif key == "replicaCount":
|
707
|
+
suggest = "replica_count"
|
708
|
+
|
709
|
+
if suggest:
|
710
|
+
pulumi.log.warn(f"Key '{key}' not found in FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig. Access the value via the '{suggest}' property getter instead.")
|
711
|
+
|
712
|
+
def __getitem__(self, key: str) -> Any:
|
713
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig.__key_warning(key)
|
714
|
+
return super().__getitem__(key)
|
715
|
+
|
716
|
+
def get(self, key: str, default = None) -> Any:
|
717
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfig.__key_warning(key)
|
718
|
+
return super().get(key, default)
|
719
|
+
|
720
|
+
def __init__(__self__, *,
|
721
|
+
component: str,
|
722
|
+
container_resources: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources'] = None,
|
723
|
+
pod_affinity: Optional[str] = None,
|
724
|
+
pod_tolerations: Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodToleration']] = None,
|
725
|
+
replica_count: Optional[int] = None):
|
726
|
+
"""
|
727
|
+
:param str component: The identifier for this object. Format specified above.
|
728
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesArgs' container_resources: Container resource requirements.
|
729
|
+
Structure is documented below.
|
730
|
+
:param str pod_affinity: Pod affinity configuration.
|
731
|
+
Possible values are: `AFFINITY_UNSPECIFIED`, `NO_AFFINITY`, `ANTI_AFFINITY`.
|
732
|
+
:param Sequence['FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodTolerationArgs'] pod_tolerations: Pod tolerations of node taints.
|
733
|
+
Structure is documented below.
|
734
|
+
:param int replica_count: Pod replica count.
|
735
|
+
"""
|
736
|
+
pulumi.set(__self__, "component", component)
|
737
|
+
if container_resources is not None:
|
738
|
+
pulumi.set(__self__, "container_resources", container_resources)
|
739
|
+
if pod_affinity is not None:
|
740
|
+
pulumi.set(__self__, "pod_affinity", pod_affinity)
|
741
|
+
if pod_tolerations is not None:
|
742
|
+
pulumi.set(__self__, "pod_tolerations", pod_tolerations)
|
743
|
+
if replica_count is not None:
|
744
|
+
pulumi.set(__self__, "replica_count", replica_count)
|
745
|
+
|
746
|
+
@property
|
747
|
+
@pulumi.getter
|
748
|
+
def component(self) -> str:
|
749
|
+
"""
|
750
|
+
The identifier for this object. Format specified above.
|
751
|
+
"""
|
752
|
+
return pulumi.get(self, "component")
|
753
|
+
|
754
|
+
@property
|
755
|
+
@pulumi.getter(name="containerResources")
|
756
|
+
def container_resources(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources']:
|
757
|
+
"""
|
758
|
+
Container resource requirements.
|
759
|
+
Structure is documented below.
|
760
|
+
"""
|
761
|
+
return pulumi.get(self, "container_resources")
|
762
|
+
|
763
|
+
@property
|
764
|
+
@pulumi.getter(name="podAffinity")
|
765
|
+
def pod_affinity(self) -> Optional[str]:
|
766
|
+
"""
|
767
|
+
Pod affinity configuration.
|
768
|
+
Possible values are: `AFFINITY_UNSPECIFIED`, `NO_AFFINITY`, `ANTI_AFFINITY`.
|
769
|
+
"""
|
770
|
+
return pulumi.get(self, "pod_affinity")
|
771
|
+
|
772
|
+
@property
|
773
|
+
@pulumi.getter(name="podTolerations")
|
774
|
+
def pod_tolerations(self) -> Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodToleration']]:
|
775
|
+
"""
|
776
|
+
Pod tolerations of node taints.
|
777
|
+
Structure is documented below.
|
778
|
+
"""
|
779
|
+
return pulumi.get(self, "pod_tolerations")
|
780
|
+
|
781
|
+
@property
|
782
|
+
@pulumi.getter(name="replicaCount")
|
783
|
+
def replica_count(self) -> Optional[int]:
|
784
|
+
"""
|
785
|
+
Pod replica count.
|
786
|
+
"""
|
787
|
+
return pulumi.get(self, "replica_count")
|
788
|
+
|
789
|
+
|
790
|
+
@pulumi.output_type
|
791
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources(dict):
|
792
|
+
def __init__(__self__, *,
|
793
|
+
limits: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesLimits'] = None,
|
794
|
+
requests: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequests'] = None):
|
795
|
+
"""
|
796
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesLimitsArgs' limits: Limits describes the maximum amount of compute resources allowed for use by the running container.
|
797
|
+
Structure is documented below.
|
798
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequestsArgs' requests: Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
|
799
|
+
Structure is documented below.
|
800
|
+
"""
|
801
|
+
if limits is not None:
|
802
|
+
pulumi.set(__self__, "limits", limits)
|
803
|
+
if requests is not None:
|
804
|
+
pulumi.set(__self__, "requests", requests)
|
805
|
+
|
806
|
+
@property
|
807
|
+
@pulumi.getter
|
808
|
+
def limits(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesLimits']:
|
809
|
+
"""
|
810
|
+
Limits describes the maximum amount of compute resources allowed for use by the running container.
|
811
|
+
Structure is documented below.
|
812
|
+
"""
|
813
|
+
return pulumi.get(self, "limits")
|
814
|
+
|
815
|
+
@property
|
816
|
+
@pulumi.getter
|
817
|
+
def requests(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequests']:
|
818
|
+
"""
|
819
|
+
Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
|
820
|
+
Structure is documented below.
|
821
|
+
"""
|
822
|
+
return pulumi.get(self, "requests")
|
823
|
+
|
824
|
+
|
825
|
+
@pulumi.output_type
|
826
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesLimits(dict):
|
827
|
+
def __init__(__self__, *,
|
828
|
+
cpu: Optional[str] = None,
|
829
|
+
memory: Optional[str] = None):
|
830
|
+
"""
|
831
|
+
:param str cpu: CPU requirement expressed in Kubernetes resource units.
|
832
|
+
:param str memory: Memory requirement expressed in Kubernetes resource units.
|
833
|
+
"""
|
834
|
+
if cpu is not None:
|
835
|
+
pulumi.set(__self__, "cpu", cpu)
|
836
|
+
if memory is not None:
|
837
|
+
pulumi.set(__self__, "memory", memory)
|
838
|
+
|
839
|
+
@property
|
840
|
+
@pulumi.getter
|
841
|
+
def cpu(self) -> Optional[str]:
|
842
|
+
"""
|
843
|
+
CPU requirement expressed in Kubernetes resource units.
|
844
|
+
"""
|
845
|
+
return pulumi.get(self, "cpu")
|
846
|
+
|
847
|
+
@property
|
848
|
+
@pulumi.getter
|
849
|
+
def memory(self) -> Optional[str]:
|
850
|
+
"""
|
851
|
+
Memory requirement expressed in Kubernetes resource units.
|
852
|
+
"""
|
853
|
+
return pulumi.get(self, "memory")
|
854
|
+
|
855
|
+
|
856
|
+
@pulumi.output_type
|
857
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResourcesRequests(dict):
|
858
|
+
def __init__(__self__, *,
|
859
|
+
cpu: Optional[str] = None,
|
860
|
+
memory: Optional[str] = None):
|
861
|
+
"""
|
862
|
+
:param str cpu: CPU requirement expressed in Kubernetes resource units.
|
863
|
+
:param str memory: Memory requirement expressed in Kubernetes resource units.
|
864
|
+
"""
|
865
|
+
if cpu is not None:
|
866
|
+
pulumi.set(__self__, "cpu", cpu)
|
867
|
+
if memory is not None:
|
868
|
+
pulumi.set(__self__, "memory", memory)
|
869
|
+
|
870
|
+
@property
|
871
|
+
@pulumi.getter
|
872
|
+
def cpu(self) -> Optional[str]:
|
873
|
+
"""
|
874
|
+
CPU requirement expressed in Kubernetes resource units.
|
875
|
+
"""
|
876
|
+
return pulumi.get(self, "cpu")
|
877
|
+
|
878
|
+
@property
|
879
|
+
@pulumi.getter
|
880
|
+
def memory(self) -> Optional[str]:
|
881
|
+
"""
|
882
|
+
Memory requirement expressed in Kubernetes resource units.
|
883
|
+
"""
|
884
|
+
return pulumi.get(self, "memory")
|
885
|
+
|
886
|
+
|
887
|
+
@pulumi.output_type
|
888
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodToleration(dict):
|
889
|
+
def __init__(__self__, *,
|
890
|
+
effect: Optional[str] = None,
|
891
|
+
key: Optional[str] = None,
|
892
|
+
operator: Optional[str] = None,
|
893
|
+
value: Optional[str] = None):
|
894
|
+
"""
|
895
|
+
:param str effect: Matches a taint effect.
|
896
|
+
:param str key: Matches a taint key (not necessarily unique).
|
897
|
+
:param str operator: Matches a taint operator.
|
898
|
+
:param str value: Matches a taint value.
|
899
|
+
"""
|
900
|
+
if effect is not None:
|
901
|
+
pulumi.set(__self__, "effect", effect)
|
902
|
+
if key is not None:
|
903
|
+
pulumi.set(__self__, "key", key)
|
904
|
+
if operator is not None:
|
905
|
+
pulumi.set(__self__, "operator", operator)
|
906
|
+
if value is not None:
|
907
|
+
pulumi.set(__self__, "value", value)
|
908
|
+
|
909
|
+
@property
|
910
|
+
@pulumi.getter
|
911
|
+
def effect(self) -> Optional[str]:
|
912
|
+
"""
|
913
|
+
Matches a taint effect.
|
914
|
+
"""
|
915
|
+
return pulumi.get(self, "effect")
|
916
|
+
|
917
|
+
@property
|
918
|
+
@pulumi.getter
|
919
|
+
def key(self) -> Optional[str]:
|
920
|
+
"""
|
921
|
+
Matches a taint key (not necessarily unique).
|
922
|
+
"""
|
923
|
+
return pulumi.get(self, "key")
|
924
|
+
|
925
|
+
@property
|
926
|
+
@pulumi.getter
|
927
|
+
def operator(self) -> Optional[str]:
|
928
|
+
"""
|
929
|
+
Matches a taint operator.
|
930
|
+
"""
|
931
|
+
return pulumi.get(self, "operator")
|
932
|
+
|
933
|
+
@property
|
934
|
+
@pulumi.getter
|
935
|
+
def value(self) -> Optional[str]:
|
936
|
+
"""
|
937
|
+
Matches a taint value.
|
938
|
+
"""
|
939
|
+
return pulumi.get(self, "value")
|
940
|
+
|
941
|
+
|
942
|
+
@pulumi.output_type
|
943
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring(dict):
|
944
|
+
def __init__(__self__, *,
|
945
|
+
backends: Optional[Sequence[str]] = None):
|
946
|
+
"""
|
947
|
+
:param Sequence[str] backends: Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
|
948
|
+
Each value may be one of: `MONITORING_BACKEND_UNSPECIFIED`, `PROMETHEUS`, `CLOUD_MONITORING`.
|
949
|
+
"""
|
950
|
+
if backends is not None:
|
951
|
+
pulumi.set(__self__, "backends", backends)
|
952
|
+
|
953
|
+
@property
|
954
|
+
@pulumi.getter
|
955
|
+
def backends(self) -> Optional[Sequence[str]]:
|
956
|
+
"""
|
957
|
+
Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
|
958
|
+
Each value may be one of: `MONITORING_BACKEND_UNSPECIFIED`, `PROMETHEUS`, `CLOUD_MONITORING`.
|
959
|
+
"""
|
960
|
+
return pulumi.get(self, "backends")
|
961
|
+
|
962
|
+
|
963
|
+
@pulumi.output_type
|
964
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent(dict):
|
965
|
+
@staticmethod
|
966
|
+
def __key_warning(key: str):
|
967
|
+
suggest = None
|
968
|
+
if key == "templateLibrary":
|
969
|
+
suggest = "template_library"
|
970
|
+
|
971
|
+
if suggest:
|
972
|
+
pulumi.log.warn(f"Key '{key}' not found in FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent. Access the value via the '{suggest}' property getter instead.")
|
973
|
+
|
974
|
+
def __getitem__(self, key: str) -> Any:
|
975
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent.__key_warning(key)
|
976
|
+
return super().__getitem__(key)
|
977
|
+
|
978
|
+
def get(self, key: str, default = None) -> Any:
|
979
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent.__key_warning(key)
|
980
|
+
return super().get(key, default)
|
981
|
+
|
982
|
+
def __init__(__self__, *,
|
983
|
+
bundles: Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle']] = None,
|
984
|
+
template_library: Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary'] = None):
|
985
|
+
"""
|
986
|
+
:param Sequence['FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs'] bundles: Configures which bundles to install and their corresponding install specs.
|
987
|
+
Structure is documented below.
|
988
|
+
:param 'FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgs' template_library: Configures the installation of the Template Library.
|
989
|
+
Structure is documented below.
|
990
|
+
"""
|
991
|
+
if bundles is not None:
|
992
|
+
pulumi.set(__self__, "bundles", bundles)
|
993
|
+
if template_library is not None:
|
994
|
+
pulumi.set(__self__, "template_library", template_library)
|
995
|
+
|
996
|
+
@property
|
997
|
+
@pulumi.getter
|
998
|
+
def bundles(self) -> Optional[Sequence['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle']]:
|
999
|
+
"""
|
1000
|
+
Configures which bundles to install and their corresponding install specs.
|
1001
|
+
Structure is documented below.
|
1002
|
+
"""
|
1003
|
+
return pulumi.get(self, "bundles")
|
1004
|
+
|
1005
|
+
@property
|
1006
|
+
@pulumi.getter(name="templateLibrary")
|
1007
|
+
def template_library(self) -> Optional['outputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary']:
|
1008
|
+
"""
|
1009
|
+
Configures the installation of the Template Library.
|
1010
|
+
Structure is documented below.
|
1011
|
+
"""
|
1012
|
+
return pulumi.get(self, "template_library")
|
1013
|
+
|
1014
|
+
|
1015
|
+
@pulumi.output_type
|
1016
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle(dict):
|
1017
|
+
@staticmethod
|
1018
|
+
def __key_warning(key: str):
|
1019
|
+
suggest = None
|
1020
|
+
if key == "exemptedNamespaces":
|
1021
|
+
suggest = "exempted_namespaces"
|
1022
|
+
|
1023
|
+
if suggest:
|
1024
|
+
pulumi.log.warn(f"Key '{key}' not found in FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle. Access the value via the '{suggest}' property getter instead.")
|
1025
|
+
|
1026
|
+
def __getitem__(self, key: str) -> Any:
|
1027
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle.__key_warning(key)
|
1028
|
+
return super().__getitem__(key)
|
1029
|
+
|
1030
|
+
def get(self, key: str, default = None) -> Any:
|
1031
|
+
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundle.__key_warning(key)
|
1032
|
+
return super().get(key, default)
|
1033
|
+
|
1034
|
+
def __init__(__self__, *,
|
1035
|
+
bundle: str,
|
1036
|
+
exempted_namespaces: Optional[Sequence[str]] = None):
|
1037
|
+
"""
|
1038
|
+
:param str bundle: The identifier for this object. Format specified above.
|
1039
|
+
:param Sequence[str] exempted_namespaces: The set of namespaces to be exempted from the bundle.
|
1040
|
+
"""
|
1041
|
+
pulumi.set(__self__, "bundle", bundle)
|
1042
|
+
if exempted_namespaces is not None:
|
1043
|
+
pulumi.set(__self__, "exempted_namespaces", exempted_namespaces)
|
1044
|
+
|
1045
|
+
@property
|
1046
|
+
@pulumi.getter
|
1047
|
+
def bundle(self) -> str:
|
1048
|
+
"""
|
1049
|
+
The identifier for this object. Format specified above.
|
1050
|
+
"""
|
1051
|
+
return pulumi.get(self, "bundle")
|
1052
|
+
|
1053
|
+
@property
|
1054
|
+
@pulumi.getter(name="exemptedNamespaces")
|
1055
|
+
def exempted_namespaces(self) -> Optional[Sequence[str]]:
|
1056
|
+
"""
|
1057
|
+
The set of namespaces to be exempted from the bundle.
|
1058
|
+
"""
|
1059
|
+
return pulumi.get(self, "exempted_namespaces")
|
1060
|
+
|
1061
|
+
|
1062
|
+
@pulumi.output_type
|
1063
|
+
class FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary(dict):
|
1064
|
+
def __init__(__self__, *,
|
1065
|
+
installation: Optional[str] = None):
|
1066
|
+
"""
|
1067
|
+
:param str installation: Configures the manner in which the template library is installed on the cluster.
|
1068
|
+
Possible values are: `INSTALATION_UNSPECIFIED`, `NOT_INSTALLED`, `ALL`.
|
1069
|
+
"""
|
1070
|
+
if installation is not None:
|
1071
|
+
pulumi.set(__self__, "installation", installation)
|
1072
|
+
|
1073
|
+
@property
|
1074
|
+
@pulumi.getter
|
1075
|
+
def installation(self) -> Optional[str]:
|
1076
|
+
"""
|
1077
|
+
Configures the manner in which the template library is installed on the cluster.
|
1078
|
+
Possible values are: `INSTALATION_UNSPECIFIED`, `NOT_INSTALLED`, `ALL`.
|
1079
|
+
"""
|
1080
|
+
return pulumi.get(self, "installation")
|
1081
|
+
|
1082
|
+
|
450
1083
|
@pulumi.output_type
|
451
1084
|
class FeatureIamBindingCondition(dict):
|
452
1085
|
def __init__(__self__, *,
|
@@ -1027,7 +1660,7 @@ class FeatureMembershipConfigmanagementPolicyController(dict):
|
|
1027
1660
|
:param bool enabled: Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
|
1028
1661
|
:param Sequence[str] exemptable_namespaces: The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
|
1029
1662
|
:param bool log_denies_enabled: Logs all denies and dry run failures.
|
1030
|
-
:param 'FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs' monitoring: Specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [
|
1663
|
+
:param 'FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs' monitoring: Specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]. Default: ["cloudmonitoring", "prometheus"]
|
1031
1664
|
:param bool mutation_enabled: Enables mutation in policy controller. If true, mutation CRDs, webhook, and controller deployment will be deployed to the cluster.
|
1032
1665
|
:param bool referential_rules_enabled: Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
|
1033
1666
|
:param bool template_library_installed: Installs the default template library along with Policy Controller.
|
@@ -1085,7 +1718,7 @@ class FeatureMembershipConfigmanagementPolicyController(dict):
|
|
1085
1718
|
@pulumi.getter
|
1086
1719
|
def monitoring(self) -> Optional['outputs.FeatureMembershipConfigmanagementPolicyControllerMonitoring']:
|
1087
1720
|
"""
|
1088
|
-
Specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [
|
1721
|
+
Specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]. Default: ["cloudmonitoring", "prometheus"]
|
1089
1722
|
"""
|
1090
1723
|
return pulumi.get(self, "monitoring")
|
1091
1724
|
|
@@ -1521,6 +2154,189 @@ class FeatureStateState(dict):
|
|
1521
2154
|
return pulumi.get(self, "update_time")
|
1522
2155
|
|
1523
2156
|
|
2157
|
+
@pulumi.output_type
|
2158
|
+
class FleetDefaultClusterConfig(dict):
|
2159
|
+
@staticmethod
|
2160
|
+
def __key_warning(key: str):
|
2161
|
+
suggest = None
|
2162
|
+
if key == "binaryAuthorizationConfig":
|
2163
|
+
suggest = "binary_authorization_config"
|
2164
|
+
elif key == "securityPostureConfig":
|
2165
|
+
suggest = "security_posture_config"
|
2166
|
+
|
2167
|
+
if suggest:
|
2168
|
+
pulumi.log.warn(f"Key '{key}' not found in FleetDefaultClusterConfig. Access the value via the '{suggest}' property getter instead.")
|
2169
|
+
|
2170
|
+
def __getitem__(self, key: str) -> Any:
|
2171
|
+
FleetDefaultClusterConfig.__key_warning(key)
|
2172
|
+
return super().__getitem__(key)
|
2173
|
+
|
2174
|
+
def get(self, key: str, default = None) -> Any:
|
2175
|
+
FleetDefaultClusterConfig.__key_warning(key)
|
2176
|
+
return super().get(key, default)
|
2177
|
+
|
2178
|
+
def __init__(__self__, *,
|
2179
|
+
binary_authorization_config: Optional['outputs.FleetDefaultClusterConfigBinaryAuthorizationConfig'] = None,
|
2180
|
+
security_posture_config: Optional['outputs.FleetDefaultClusterConfigSecurityPostureConfig'] = None):
|
2181
|
+
"""
|
2182
|
+
:param 'FleetDefaultClusterConfigBinaryAuthorizationConfigArgs' binary_authorization_config: Enable/Disable binary authorization features for the cluster.
|
2183
|
+
Structure is documented below.
|
2184
|
+
:param 'FleetDefaultClusterConfigSecurityPostureConfigArgs' security_posture_config: Enable/Disable Security Posture features for the cluster.
|
2185
|
+
Structure is documented below.
|
2186
|
+
"""
|
2187
|
+
if binary_authorization_config is not None:
|
2188
|
+
pulumi.set(__self__, "binary_authorization_config", binary_authorization_config)
|
2189
|
+
if security_posture_config is not None:
|
2190
|
+
pulumi.set(__self__, "security_posture_config", security_posture_config)
|
2191
|
+
|
2192
|
+
@property
|
2193
|
+
@pulumi.getter(name="binaryAuthorizationConfig")
|
2194
|
+
def binary_authorization_config(self) -> Optional['outputs.FleetDefaultClusterConfigBinaryAuthorizationConfig']:
|
2195
|
+
"""
|
2196
|
+
Enable/Disable binary authorization features for the cluster.
|
2197
|
+
Structure is documented below.
|
2198
|
+
"""
|
2199
|
+
return pulumi.get(self, "binary_authorization_config")
|
2200
|
+
|
2201
|
+
@property
|
2202
|
+
@pulumi.getter(name="securityPostureConfig")
|
2203
|
+
def security_posture_config(self) -> Optional['outputs.FleetDefaultClusterConfigSecurityPostureConfig']:
|
2204
|
+
"""
|
2205
|
+
Enable/Disable Security Posture features for the cluster.
|
2206
|
+
Structure is documented below.
|
2207
|
+
"""
|
2208
|
+
return pulumi.get(self, "security_posture_config")
|
2209
|
+
|
2210
|
+
|
2211
|
+
@pulumi.output_type
|
2212
|
+
class FleetDefaultClusterConfigBinaryAuthorizationConfig(dict):
|
2213
|
+
@staticmethod
|
2214
|
+
def __key_warning(key: str):
|
2215
|
+
suggest = None
|
2216
|
+
if key == "evaluationMode":
|
2217
|
+
suggest = "evaluation_mode"
|
2218
|
+
elif key == "policyBindings":
|
2219
|
+
suggest = "policy_bindings"
|
2220
|
+
|
2221
|
+
if suggest:
|
2222
|
+
pulumi.log.warn(f"Key '{key}' not found in FleetDefaultClusterConfigBinaryAuthorizationConfig. Access the value via the '{suggest}' property getter instead.")
|
2223
|
+
|
2224
|
+
def __getitem__(self, key: str) -> Any:
|
2225
|
+
FleetDefaultClusterConfigBinaryAuthorizationConfig.__key_warning(key)
|
2226
|
+
return super().__getitem__(key)
|
2227
|
+
|
2228
|
+
def get(self, key: str, default = None) -> Any:
|
2229
|
+
FleetDefaultClusterConfigBinaryAuthorizationConfig.__key_warning(key)
|
2230
|
+
return super().get(key, default)
|
2231
|
+
|
2232
|
+
def __init__(__self__, *,
|
2233
|
+
evaluation_mode: Optional[str] = None,
|
2234
|
+
policy_bindings: Optional[Sequence['outputs.FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding']] = None):
|
2235
|
+
"""
|
2236
|
+
:param str evaluation_mode: Mode of operation for binauthz policy evaluation.
|
2237
|
+
Possible values are: `DISABLED`, `POLICY_BINDINGS`.
|
2238
|
+
:param Sequence['FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs'] policy_bindings: Binauthz policies that apply to this cluster.
|
2239
|
+
Structure is documented below.
|
2240
|
+
"""
|
2241
|
+
if evaluation_mode is not None:
|
2242
|
+
pulumi.set(__self__, "evaluation_mode", evaluation_mode)
|
2243
|
+
if policy_bindings is not None:
|
2244
|
+
pulumi.set(__self__, "policy_bindings", policy_bindings)
|
2245
|
+
|
2246
|
+
@property
|
2247
|
+
@pulumi.getter(name="evaluationMode")
|
2248
|
+
def evaluation_mode(self) -> Optional[str]:
|
2249
|
+
"""
|
2250
|
+
Mode of operation for binauthz policy evaluation.
|
2251
|
+
Possible values are: `DISABLED`, `POLICY_BINDINGS`.
|
2252
|
+
"""
|
2253
|
+
return pulumi.get(self, "evaluation_mode")
|
2254
|
+
|
2255
|
+
@property
|
2256
|
+
@pulumi.getter(name="policyBindings")
|
2257
|
+
def policy_bindings(self) -> Optional[Sequence['outputs.FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding']]:
|
2258
|
+
"""
|
2259
|
+
Binauthz policies that apply to this cluster.
|
2260
|
+
Structure is documented below.
|
2261
|
+
"""
|
2262
|
+
return pulumi.get(self, "policy_bindings")
|
2263
|
+
|
2264
|
+
|
2265
|
+
@pulumi.output_type
|
2266
|
+
class FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding(dict):
|
2267
|
+
def __init__(__self__, *,
|
2268
|
+
name: Optional[str] = None):
|
2269
|
+
"""
|
2270
|
+
:param str name: The relative resource name of the binauthz platform policy to audit. GKE
|
2271
|
+
platform policies have the following format:
|
2272
|
+
`projects/{project_number}/platforms/gke/policies/{policy_id}`.
|
2273
|
+
"""
|
2274
|
+
if name is not None:
|
2275
|
+
pulumi.set(__self__, "name", name)
|
2276
|
+
|
2277
|
+
@property
|
2278
|
+
@pulumi.getter
|
2279
|
+
def name(self) -> Optional[str]:
|
2280
|
+
"""
|
2281
|
+
The relative resource name of the binauthz platform policy to audit. GKE
|
2282
|
+
platform policies have the following format:
|
2283
|
+
`projects/{project_number}/platforms/gke/policies/{policy_id}`.
|
2284
|
+
"""
|
2285
|
+
return pulumi.get(self, "name")
|
2286
|
+
|
2287
|
+
|
2288
|
+
@pulumi.output_type
|
2289
|
+
class FleetDefaultClusterConfigSecurityPostureConfig(dict):
|
2290
|
+
@staticmethod
|
2291
|
+
def __key_warning(key: str):
|
2292
|
+
suggest = None
|
2293
|
+
if key == "vulnerabilityMode":
|
2294
|
+
suggest = "vulnerability_mode"
|
2295
|
+
|
2296
|
+
if suggest:
|
2297
|
+
pulumi.log.warn(f"Key '{key}' not found in FleetDefaultClusterConfigSecurityPostureConfig. Access the value via the '{suggest}' property getter instead.")
|
2298
|
+
|
2299
|
+
def __getitem__(self, key: str) -> Any:
|
2300
|
+
FleetDefaultClusterConfigSecurityPostureConfig.__key_warning(key)
|
2301
|
+
return super().__getitem__(key)
|
2302
|
+
|
2303
|
+
def get(self, key: str, default = None) -> Any:
|
2304
|
+
FleetDefaultClusterConfigSecurityPostureConfig.__key_warning(key)
|
2305
|
+
return super().get(key, default)
|
2306
|
+
|
2307
|
+
def __init__(__self__, *,
|
2308
|
+
mode: Optional[str] = None,
|
2309
|
+
vulnerability_mode: Optional[str] = None):
|
2310
|
+
"""
|
2311
|
+
:param str mode: Sets which mode to use for Security Posture features.
|
2312
|
+
Possible values are: `DISABLED`, `BASIC`.
|
2313
|
+
:param str vulnerability_mode: Sets which mode to use for vulnerability scanning.
|
2314
|
+
Possible values are: `VULNERABILITY_DISABLED`, `VULNERABILITY_BASIC`, `VULNERABILITY_ENTERPRISE`.
|
2315
|
+
"""
|
2316
|
+
if mode is not None:
|
2317
|
+
pulumi.set(__self__, "mode", mode)
|
2318
|
+
if vulnerability_mode is not None:
|
2319
|
+
pulumi.set(__self__, "vulnerability_mode", vulnerability_mode)
|
2320
|
+
|
2321
|
+
@property
|
2322
|
+
@pulumi.getter
|
2323
|
+
def mode(self) -> Optional[str]:
|
2324
|
+
"""
|
2325
|
+
Sets which mode to use for Security Posture features.
|
2326
|
+
Possible values are: `DISABLED`, `BASIC`.
|
2327
|
+
"""
|
2328
|
+
return pulumi.get(self, "mode")
|
2329
|
+
|
2330
|
+
@property
|
2331
|
+
@pulumi.getter(name="vulnerabilityMode")
|
2332
|
+
def vulnerability_mode(self) -> Optional[str]:
|
2333
|
+
"""
|
2334
|
+
Sets which mode to use for vulnerability scanning.
|
2335
|
+
Possible values are: `VULNERABILITY_DISABLED`, `VULNERABILITY_BASIC`, `VULNERABILITY_ENTERPRISE`.
|
2336
|
+
"""
|
2337
|
+
return pulumi.get(self, "vulnerability_mode")
|
2338
|
+
|
2339
|
+
|
1524
2340
|
@pulumi.output_type
|
1525
2341
|
class FleetState(dict):
|
1526
2342
|
def __init__(__self__, *,
|