pulumi-gcp 8.10.2__py3-none-any.whl → 8.11.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_gcp/__init__.py +91 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +29 -0
- pulumi_gcp/accesscontextmanager/outputs.py +18 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +36 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
- pulumi_gcp/apigee/app_group.py +7 -7
- pulumi_gcp/applicationintegration/client.py +8 -6
- pulumi_gcp/artifactregistry/_inputs.py +24 -15
- pulumi_gcp/artifactregistry/outputs.py +32 -20
- pulumi_gcp/artifactregistry/repository.py +128 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
- pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
- pulumi_gcp/bigquery/app_profile.py +75 -0
- pulumi_gcp/billing/_inputs.py +6 -6
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/certificateauthority/_inputs.py +9 -9
- pulumi_gcp/certificateauthority/outputs.py +8 -8
- pulumi_gcp/cloudbuild/_inputs.py +53 -0
- pulumi_gcp/cloudbuild/outputs.py +50 -0
- pulumi_gcp/cloudbuild/worker_pool.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +254 -0
- pulumi_gcp/clouddeploy/outputs.py +211 -0
- pulumi_gcp/clouddeploy/target.py +47 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
- pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
- pulumi_gcp/composer/user_workloads_config_map.py +14 -0
- pulumi_gcp/composer/user_workloads_secret.py +6 -0
- pulumi_gcp/compute/_inputs.py +566 -25
- pulumi_gcp/compute/disk.py +21 -7
- pulumi_gcp/compute/firewall_policy_rule.py +12 -0
- pulumi_gcp/compute/get_forwarding_rules.py +2 -2
- pulumi_gcp/compute/get_global_forwarding_rule.py +12 -1
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_network.py +35 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +28 -0
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/network.py +75 -0
- pulumi_gcp/compute/outputs.py +655 -26
- pulumi_gcp/compute/region_health_check.py +28 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +28 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
- pulumi_gcp/compute/subnetwork.py +30 -2
- pulumi_gcp/compute/url_map.py +7 -7
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +201 -3
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +249 -3
- pulumi_gcp/dataproc/_inputs.py +209 -1
- pulumi_gcp/dataproc/batch.py +76 -0
- pulumi_gcp/dataproc/outputs.py +169 -3
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/discoveryengine/search_engine.py +7 -7
- pulumi_gcp/firebaserules/release.py +76 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/__init__.py +15 -0
- pulumi_gcp/gemini/_inputs.py +183 -0
- pulumi_gcp/gemini/code_repository_index.py +659 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
- pulumi_gcp/gemini/outputs.py +130 -0
- pulumi_gcp/gemini/repository_group.py +586 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
- pulumi_gcp/gkehub/_inputs.py +30 -10
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +21 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +137 -0
- pulumi_gcp/iam/folders_policy_binding.py +16 -0
- pulumi_gcp/iam/organizations_policy_binding.py +16 -0
- pulumi_gcp/iam/outputs.py +99 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
- pulumi_gcp/iam/projects_policy_binding.py +917 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/_inputs.py +15 -15
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +10 -10
- pulumi_gcp/monitoring/_inputs.py +13 -6
- pulumi_gcp/monitoring/outputs.py +10 -4
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/active_directory.py +7 -7
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +11 -11
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/__init__.py +4 -0
- pulumi_gcp/networksecurity/_inputs.py +115 -0
- pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
- pulumi_gcp/networksecurity/outputs.py +70 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +42 -4
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
- pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
- pulumi_gcp/oracledatabase/outputs.py +21 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +4 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +435 -3
- pulumi_gcp/redis/cluster.py +287 -16
- pulumi_gcp/redis/outputs.py +304 -2
- pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
- pulumi_gcp/serviceaccount/get_account_key.py +2 -2
- pulumi_gcp/storage/get_bucket.py +2 -2
- pulumi_gcp/storage/get_bucket_object_content.py +2 -2
- pulumi_gcp/tpu/__init__.py +1 -0
- pulumi_gcp/tpu/_inputs.py +188 -6
- pulumi_gcp/tpu/outputs.py +164 -4
- pulumi_gcp/tpu/v2_queued_resource.py +434 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- {pulumi_gcp-8.10.2.dist-info → pulumi_gcp-8.11.0.dist-info}/METADATA +3 -3
- {pulumi_gcp-8.10.2.dist-info → pulumi_gcp-8.11.0.dist-info}/RECORD +142 -125
- {pulumi_gcp-8.10.2.dist-info → pulumi_gcp-8.11.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.10.2.dist-info → pulumi_gcp-8.11.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -657,6 +657,8 @@ __all__ = [
|
|
657
657
|
'RegionNetworkEndpointGroupCloudFunctionArgsDict',
|
658
658
|
'RegionNetworkEndpointGroupCloudRunArgs',
|
659
659
|
'RegionNetworkEndpointGroupCloudRunArgsDict',
|
660
|
+
'RegionNetworkEndpointGroupPscDataArgs',
|
661
|
+
'RegionNetworkEndpointGroupPscDataArgsDict',
|
660
662
|
'RegionNetworkEndpointGroupServerlessDeploymentArgs',
|
661
663
|
'RegionNetworkEndpointGroupServerlessDeploymentArgsDict',
|
662
664
|
'RegionNetworkFirewallPolicyRuleMatchArgs',
|
@@ -1007,6 +1009,10 @@ __all__ = [
|
|
1007
1009
|
'SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgsDict',
|
1008
1010
|
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs',
|
1009
1011
|
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgsDict',
|
1012
|
+
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs',
|
1013
|
+
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgsDict',
|
1014
|
+
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs',
|
1015
|
+
'SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgsDict',
|
1010
1016
|
'SecurityPolicyAdvancedOptionsConfigArgs',
|
1011
1017
|
'SecurityPolicyAdvancedOptionsConfigArgsDict',
|
1012
1018
|
'SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs',
|
@@ -9987,6 +9993,14 @@ if not MYPY:
|
|
9987
9993
|
"""
|
9988
9994
|
Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
9989
9995
|
"""
|
9996
|
+
enable_uefi_networking: NotRequired[pulumi.Input[bool]]
|
9997
|
+
"""
|
9998
|
+
Whether to enable UEFI networking for instance creation.
|
9999
|
+
"""
|
10000
|
+
performance_monitoring_unit: NotRequired[pulumi.Input[str]]
|
10001
|
+
"""
|
10002
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
10003
|
+
"""
|
9990
10004
|
threads_per_core: NotRequired[pulumi.Input[int]]
|
9991
10005
|
"""
|
9992
10006
|
The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
@@ -10006,17 +10020,25 @@ elif False:
|
|
10006
10020
|
class InstanceAdvancedMachineFeaturesArgs:
|
10007
10021
|
def __init__(__self__, *,
|
10008
10022
|
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
10023
|
+
enable_uefi_networking: Optional[pulumi.Input[bool]] = None,
|
10024
|
+
performance_monitoring_unit: Optional[pulumi.Input[str]] = None,
|
10009
10025
|
threads_per_core: Optional[pulumi.Input[int]] = None,
|
10010
10026
|
turbo_mode: Optional[pulumi.Input[str]] = None,
|
10011
10027
|
visible_core_count: Optional[pulumi.Input[int]] = None):
|
10012
10028
|
"""
|
10013
10029
|
:param pulumi.Input[bool] enable_nested_virtualization: Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
10030
|
+
:param pulumi.Input[bool] enable_uefi_networking: Whether to enable UEFI networking for instance creation.
|
10031
|
+
:param pulumi.Input[str] performance_monitoring_unit: [The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
10014
10032
|
:param pulumi.Input[int] threads_per_core: The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
10015
10033
|
:param pulumi.Input[str] turbo_mode: Turbo frequency mode to use for the instance. Supported modes are currently either `ALL_CORE_MAX` or unset (default).
|
10016
10034
|
:param pulumi.Input[int] visible_core_count: The number of physical cores to expose to an instance. [visible cores info (VC)](https://cloud.google.com/compute/docs/instances/customize-visible-cores).
|
10017
10035
|
"""
|
10018
10036
|
if enable_nested_virtualization is not None:
|
10019
10037
|
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
10038
|
+
if enable_uefi_networking is not None:
|
10039
|
+
pulumi.set(__self__, "enable_uefi_networking", enable_uefi_networking)
|
10040
|
+
if performance_monitoring_unit is not None:
|
10041
|
+
pulumi.set(__self__, "performance_monitoring_unit", performance_monitoring_unit)
|
10020
10042
|
if threads_per_core is not None:
|
10021
10043
|
pulumi.set(__self__, "threads_per_core", threads_per_core)
|
10022
10044
|
if turbo_mode is not None:
|
@@ -10036,6 +10058,30 @@ class InstanceAdvancedMachineFeaturesArgs:
|
|
10036
10058
|
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
10037
10059
|
pulumi.set(self, "enable_nested_virtualization", value)
|
10038
10060
|
|
10061
|
+
@property
|
10062
|
+
@pulumi.getter(name="enableUefiNetworking")
|
10063
|
+
def enable_uefi_networking(self) -> Optional[pulumi.Input[bool]]:
|
10064
|
+
"""
|
10065
|
+
Whether to enable UEFI networking for instance creation.
|
10066
|
+
"""
|
10067
|
+
return pulumi.get(self, "enable_uefi_networking")
|
10068
|
+
|
10069
|
+
@enable_uefi_networking.setter
|
10070
|
+
def enable_uefi_networking(self, value: Optional[pulumi.Input[bool]]):
|
10071
|
+
pulumi.set(self, "enable_uefi_networking", value)
|
10072
|
+
|
10073
|
+
@property
|
10074
|
+
@pulumi.getter(name="performanceMonitoringUnit")
|
10075
|
+
def performance_monitoring_unit(self) -> Optional[pulumi.Input[str]]:
|
10076
|
+
"""
|
10077
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
10078
|
+
"""
|
10079
|
+
return pulumi.get(self, "performance_monitoring_unit")
|
10080
|
+
|
10081
|
+
@performance_monitoring_unit.setter
|
10082
|
+
def performance_monitoring_unit(self, value: Optional[pulumi.Input[str]]):
|
10083
|
+
pulumi.set(self, "performance_monitoring_unit", value)
|
10084
|
+
|
10039
10085
|
@property
|
10040
10086
|
@pulumi.getter(name="threadsPerCore")
|
10041
10087
|
def threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
@@ -10533,10 +10579,12 @@ if not MYPY:
|
|
10533
10579
|
"""
|
10534
10580
|
storage_pool: NotRequired[pulumi.Input[str]]
|
10535
10581
|
"""
|
10536
|
-
The URL of the storage pool in which the new disk is created.
|
10582
|
+
The URL or the name of the storage pool in which the new disk is created.
|
10537
10583
|
For example:
|
10538
10584
|
* https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10539
10585
|
* /projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10586
|
+
* /zones/{zone}/storagePools/{storagePool}
|
10587
|
+
* /{storagePool}
|
10540
10588
|
"""
|
10541
10589
|
type: NotRequired[pulumi.Input[str]]
|
10542
10590
|
"""
|
@@ -10590,10 +10638,12 @@ class InstanceBootDiskInitializeParamsArgs:
|
|
10590
10638
|
:param pulumi.Input[str] resource_policies: A list of self_links of resource policies to attach to the instance's boot disk. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
|
10591
10639
|
:param pulumi.Input[int] size: The size of the image in gigabytes. If not specified, it
|
10592
10640
|
will inherit the size of its base image.
|
10593
|
-
:param pulumi.Input[str] storage_pool: The URL of the storage pool in which the new disk is created.
|
10641
|
+
:param pulumi.Input[str] storage_pool: The URL or the name of the storage pool in which the new disk is created.
|
10594
10642
|
For example:
|
10595
10643
|
* https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10596
10644
|
* /projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10645
|
+
* /zones/{zone}/storagePools/{storagePool}
|
10646
|
+
* /{storagePool}
|
10597
10647
|
:param pulumi.Input[str] type: The GCE disk type. Such as pd-standard, pd-balanced or pd-ssd.
|
10598
10648
|
"""
|
10599
10649
|
if enable_confidential_compute is not None:
|
@@ -10740,10 +10790,12 @@ class InstanceBootDiskInitializeParamsArgs:
|
|
10740
10790
|
@pulumi.getter(name="storagePool")
|
10741
10791
|
def storage_pool(self) -> Optional[pulumi.Input[str]]:
|
10742
10792
|
"""
|
10743
|
-
The URL of the storage pool in which the new disk is created.
|
10793
|
+
The URL or the name of the storage pool in which the new disk is created.
|
10744
10794
|
For example:
|
10745
10795
|
* https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10746
10796
|
* /projects/{project}/zones/{zone}/storagePools/{storagePool}
|
10797
|
+
* /zones/{zone}/storagePools/{storagePool}
|
10798
|
+
* /{storagePool}
|
10747
10799
|
"""
|
10748
10800
|
return pulumi.get(self, "storage_pool")
|
10749
10801
|
|
@@ -10822,6 +10874,14 @@ if not MYPY:
|
|
10822
10874
|
"""
|
10823
10875
|
Whether to enable nested virtualization or not.
|
10824
10876
|
"""
|
10877
|
+
enable_uefi_networking: NotRequired[pulumi.Input[bool]]
|
10878
|
+
"""
|
10879
|
+
Whether to enable UEFI networking for the instance.
|
10880
|
+
"""
|
10881
|
+
performance_monitoring_unit: NotRequired[pulumi.Input[str]]
|
10882
|
+
"""
|
10883
|
+
The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
10884
|
+
"""
|
10825
10885
|
threads_per_core: NotRequired[pulumi.Input[int]]
|
10826
10886
|
"""
|
10827
10887
|
The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
|
@@ -10841,17 +10901,25 @@ elif False:
|
|
10841
10901
|
class InstanceFromMachineImageAdvancedMachineFeaturesArgs:
|
10842
10902
|
def __init__(__self__, *,
|
10843
10903
|
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
10904
|
+
enable_uefi_networking: Optional[pulumi.Input[bool]] = None,
|
10905
|
+
performance_monitoring_unit: Optional[pulumi.Input[str]] = None,
|
10844
10906
|
threads_per_core: Optional[pulumi.Input[int]] = None,
|
10845
10907
|
turbo_mode: Optional[pulumi.Input[str]] = None,
|
10846
10908
|
visible_core_count: Optional[pulumi.Input[int]] = None):
|
10847
10909
|
"""
|
10848
10910
|
:param pulumi.Input[bool] enable_nested_virtualization: Whether to enable nested virtualization or not.
|
10911
|
+
:param pulumi.Input[bool] enable_uefi_networking: Whether to enable UEFI networking for the instance.
|
10912
|
+
:param pulumi.Input[str] performance_monitoring_unit: The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
10849
10913
|
:param pulumi.Input[int] threads_per_core: The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
|
10850
10914
|
:param pulumi.Input[str] turbo_mode: Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
|
10851
10915
|
:param pulumi.Input[int] visible_core_count: The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance\\'s nominal CPU count and the underlying platform\\'s SMT width.
|
10852
10916
|
"""
|
10853
10917
|
if enable_nested_virtualization is not None:
|
10854
10918
|
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
10919
|
+
if enable_uefi_networking is not None:
|
10920
|
+
pulumi.set(__self__, "enable_uefi_networking", enable_uefi_networking)
|
10921
|
+
if performance_monitoring_unit is not None:
|
10922
|
+
pulumi.set(__self__, "performance_monitoring_unit", performance_monitoring_unit)
|
10855
10923
|
if threads_per_core is not None:
|
10856
10924
|
pulumi.set(__self__, "threads_per_core", threads_per_core)
|
10857
10925
|
if turbo_mode is not None:
|
@@ -10871,6 +10939,30 @@ class InstanceFromMachineImageAdvancedMachineFeaturesArgs:
|
|
10871
10939
|
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
10872
10940
|
pulumi.set(self, "enable_nested_virtualization", value)
|
10873
10941
|
|
10942
|
+
@property
|
10943
|
+
@pulumi.getter(name="enableUefiNetworking")
|
10944
|
+
def enable_uefi_networking(self) -> Optional[pulumi.Input[bool]]:
|
10945
|
+
"""
|
10946
|
+
Whether to enable UEFI networking for the instance.
|
10947
|
+
"""
|
10948
|
+
return pulumi.get(self, "enable_uefi_networking")
|
10949
|
+
|
10950
|
+
@enable_uefi_networking.setter
|
10951
|
+
def enable_uefi_networking(self, value: Optional[pulumi.Input[bool]]):
|
10952
|
+
pulumi.set(self, "enable_uefi_networking", value)
|
10953
|
+
|
10954
|
+
@property
|
10955
|
+
@pulumi.getter(name="performanceMonitoringUnit")
|
10956
|
+
def performance_monitoring_unit(self) -> Optional[pulumi.Input[str]]:
|
10957
|
+
"""
|
10958
|
+
The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
10959
|
+
"""
|
10960
|
+
return pulumi.get(self, "performance_monitoring_unit")
|
10961
|
+
|
10962
|
+
@performance_monitoring_unit.setter
|
10963
|
+
def performance_monitoring_unit(self, value: Optional[pulumi.Input[str]]):
|
10964
|
+
pulumi.set(self, "performance_monitoring_unit", value)
|
10965
|
+
|
10874
10966
|
@property
|
10875
10967
|
@pulumi.getter(name="threadsPerCore")
|
10876
10968
|
def threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
@@ -11599,7 +11691,7 @@ if not MYPY:
|
|
11599
11691
|
"""
|
11600
11692
|
nic_type: NotRequired[pulumi.Input[str]]
|
11601
11693
|
"""
|
11602
|
-
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
11694
|
+
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
11603
11695
|
"""
|
11604
11696
|
queue_count: NotRequired[pulumi.Input[int]]
|
11605
11697
|
"""
|
@@ -11655,7 +11747,7 @@ class InstanceFromMachineImageNetworkInterfaceArgs:
|
|
11655
11747
|
:param pulumi.Input[str] network: The name or self_link of the network attached to this interface.
|
11656
11748
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
11657
11749
|
:param pulumi.Input[str] network_ip: The private IP address assigned to the instance.
|
11658
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
11750
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
11659
11751
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
11660
11752
|
:param pulumi.Input[str] security_policy: A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
|
11661
11753
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
|
@@ -11820,7 +11912,7 @@ class InstanceFromMachineImageNetworkInterfaceArgs:
|
|
11820
11912
|
@pulumi.getter(name="nicType")
|
11821
11913
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
11822
11914
|
"""
|
11823
|
-
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
11915
|
+
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
11824
11916
|
"""
|
11825
11917
|
return pulumi.get(self, "nic_type")
|
11826
11918
|
|
@@ -12988,6 +13080,14 @@ if not MYPY:
|
|
12988
13080
|
"""
|
12989
13081
|
Whether to enable nested virtualization or not.
|
12990
13082
|
"""
|
13083
|
+
enable_uefi_networking: NotRequired[pulumi.Input[bool]]
|
13084
|
+
"""
|
13085
|
+
Whether to enable UEFI networking for the instance.
|
13086
|
+
"""
|
13087
|
+
performance_monitoring_unit: NotRequired[pulumi.Input[str]]
|
13088
|
+
"""
|
13089
|
+
The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
13090
|
+
"""
|
12991
13091
|
threads_per_core: NotRequired[pulumi.Input[int]]
|
12992
13092
|
"""
|
12993
13093
|
The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
|
@@ -13007,17 +13107,25 @@ elif False:
|
|
13007
13107
|
class InstanceFromTemplateAdvancedMachineFeaturesArgs:
|
13008
13108
|
def __init__(__self__, *,
|
13009
13109
|
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
13110
|
+
enable_uefi_networking: Optional[pulumi.Input[bool]] = None,
|
13111
|
+
performance_monitoring_unit: Optional[pulumi.Input[str]] = None,
|
13010
13112
|
threads_per_core: Optional[pulumi.Input[int]] = None,
|
13011
13113
|
turbo_mode: Optional[pulumi.Input[str]] = None,
|
13012
13114
|
visible_core_count: Optional[pulumi.Input[int]] = None):
|
13013
13115
|
"""
|
13014
13116
|
:param pulumi.Input[bool] enable_nested_virtualization: Whether to enable nested virtualization or not.
|
13117
|
+
:param pulumi.Input[bool] enable_uefi_networking: Whether to enable UEFI networking for the instance.
|
13118
|
+
:param pulumi.Input[str] performance_monitoring_unit: The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
13015
13119
|
:param pulumi.Input[int] threads_per_core: The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
|
13016
13120
|
:param pulumi.Input[str] turbo_mode: Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
|
13017
13121
|
:param pulumi.Input[int] visible_core_count: The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance\\'s nominal CPU count and the underlying platform\\'s SMT width.
|
13018
13122
|
"""
|
13019
13123
|
if enable_nested_virtualization is not None:
|
13020
13124
|
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
13125
|
+
if enable_uefi_networking is not None:
|
13126
|
+
pulumi.set(__self__, "enable_uefi_networking", enable_uefi_networking)
|
13127
|
+
if performance_monitoring_unit is not None:
|
13128
|
+
pulumi.set(__self__, "performance_monitoring_unit", performance_monitoring_unit)
|
13021
13129
|
if threads_per_core is not None:
|
13022
13130
|
pulumi.set(__self__, "threads_per_core", threads_per_core)
|
13023
13131
|
if turbo_mode is not None:
|
@@ -13037,6 +13145,30 @@ class InstanceFromTemplateAdvancedMachineFeaturesArgs:
|
|
13037
13145
|
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
13038
13146
|
pulumi.set(self, "enable_nested_virtualization", value)
|
13039
13147
|
|
13148
|
+
@property
|
13149
|
+
@pulumi.getter(name="enableUefiNetworking")
|
13150
|
+
def enable_uefi_networking(self) -> Optional[pulumi.Input[bool]]:
|
13151
|
+
"""
|
13152
|
+
Whether to enable UEFI networking for the instance.
|
13153
|
+
"""
|
13154
|
+
return pulumi.get(self, "enable_uefi_networking")
|
13155
|
+
|
13156
|
+
@enable_uefi_networking.setter
|
13157
|
+
def enable_uefi_networking(self, value: Optional[pulumi.Input[bool]]):
|
13158
|
+
pulumi.set(self, "enable_uefi_networking", value)
|
13159
|
+
|
13160
|
+
@property
|
13161
|
+
@pulumi.getter(name="performanceMonitoringUnit")
|
13162
|
+
def performance_monitoring_unit(self) -> Optional[pulumi.Input[str]]:
|
13163
|
+
"""
|
13164
|
+
The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
|
13165
|
+
"""
|
13166
|
+
return pulumi.get(self, "performance_monitoring_unit")
|
13167
|
+
|
13168
|
+
@performance_monitoring_unit.setter
|
13169
|
+
def performance_monitoring_unit(self, value: Optional[pulumi.Input[str]]):
|
13170
|
+
pulumi.set(self, "performance_monitoring_unit", value)
|
13171
|
+
|
13040
13172
|
@property
|
13041
13173
|
@pulumi.getter(name="threadsPerCore")
|
13042
13174
|
def threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
@@ -13765,7 +13897,7 @@ if not MYPY:
|
|
13765
13897
|
"""
|
13766
13898
|
nic_type: NotRequired[pulumi.Input[str]]
|
13767
13899
|
"""
|
13768
|
-
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
13900
|
+
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
13769
13901
|
"""
|
13770
13902
|
queue_count: NotRequired[pulumi.Input[int]]
|
13771
13903
|
"""
|
@@ -13821,7 +13953,7 @@ class InstanceFromTemplateNetworkInterfaceArgs:
|
|
13821
13953
|
:param pulumi.Input[str] network: The name or self_link of the network attached to this interface.
|
13822
13954
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
13823
13955
|
:param pulumi.Input[str] network_ip: The private IP address assigned to the instance.
|
13824
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
13956
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
13825
13957
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
13826
13958
|
:param pulumi.Input[str] security_policy: A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
|
13827
13959
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
|
@@ -13986,7 +14118,7 @@ class InstanceFromTemplateNetworkInterfaceArgs:
|
|
13986
14118
|
@pulumi.getter(name="nicType")
|
13987
14119
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
13988
14120
|
"""
|
13989
|
-
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF
|
14121
|
+
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
|
13990
14122
|
"""
|
13991
14123
|
return pulumi.get(self, "nic_type")
|
13992
14124
|
|
@@ -16523,7 +16655,7 @@ if not MYPY:
|
|
16523
16655
|
"""
|
16524
16656
|
nic_type: NotRequired[pulumi.Input[str]]
|
16525
16657
|
"""
|
16526
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF.
|
16658
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
16527
16659
|
"""
|
16528
16660
|
queue_count: NotRequired[pulumi.Input[int]]
|
16529
16661
|
"""
|
@@ -16596,7 +16728,7 @@ class InstanceNetworkInterfaceArgs:
|
|
16596
16728
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: `projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}`.
|
16597
16729
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
16598
16730
|
empty, the address will be automatically assigned.
|
16599
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF.
|
16731
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
16600
16732
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
16601
16733
|
:param pulumi.Input[str] security_policy: A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
|
16602
16734
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
@@ -16778,7 +16910,7 @@ class InstanceNetworkInterfaceArgs:
|
|
16778
16910
|
@pulumi.getter(name="nicType")
|
16779
16911
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
16780
16912
|
"""
|
16781
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF.
|
16913
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
16782
16914
|
"""
|
16783
16915
|
return pulumi.get(self, "nic_type")
|
16784
16916
|
|
@@ -18113,6 +18245,14 @@ if not MYPY:
|
|
18113
18245
|
"""
|
18114
18246
|
Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
18115
18247
|
"""
|
18248
|
+
enable_uefi_networking: NotRequired[pulumi.Input[bool]]
|
18249
|
+
"""
|
18250
|
+
Whether to enable UEFI networking for instance creation.
|
18251
|
+
"""
|
18252
|
+
performance_monitoring_unit: NotRequired[pulumi.Input[str]]
|
18253
|
+
"""
|
18254
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
18255
|
+
"""
|
18116
18256
|
threads_per_core: NotRequired[pulumi.Input[int]]
|
18117
18257
|
"""
|
18118
18258
|
The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
@@ -18132,17 +18272,25 @@ elif False:
|
|
18132
18272
|
class InstanceTemplateAdvancedMachineFeaturesArgs:
|
18133
18273
|
def __init__(__self__, *,
|
18134
18274
|
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
18275
|
+
enable_uefi_networking: Optional[pulumi.Input[bool]] = None,
|
18276
|
+
performance_monitoring_unit: Optional[pulumi.Input[str]] = None,
|
18135
18277
|
threads_per_core: Optional[pulumi.Input[int]] = None,
|
18136
18278
|
turbo_mode: Optional[pulumi.Input[str]] = None,
|
18137
18279
|
visible_core_count: Optional[pulumi.Input[int]] = None):
|
18138
18280
|
"""
|
18139
18281
|
:param pulumi.Input[bool] enable_nested_virtualization: Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
18282
|
+
:param pulumi.Input[bool] enable_uefi_networking: Whether to enable UEFI networking for instance creation.
|
18283
|
+
:param pulumi.Input[str] performance_monitoring_unit: [The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
18140
18284
|
:param pulumi.Input[int] threads_per_core: The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
18141
18285
|
:param pulumi.Input[str] turbo_mode: Turbo frequency mode to use for the instance. Supported modes are currently either `ALL_CORE_MAX` or unset (default).
|
18142
18286
|
:param pulumi.Input[int] visible_core_count: The number of physical cores to expose to an instance. [visible cores info (VC)](https://cloud.google.com/compute/docs/instances/customize-visible-cores).
|
18143
18287
|
"""
|
18144
18288
|
if enable_nested_virtualization is not None:
|
18145
18289
|
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
18290
|
+
if enable_uefi_networking is not None:
|
18291
|
+
pulumi.set(__self__, "enable_uefi_networking", enable_uefi_networking)
|
18292
|
+
if performance_monitoring_unit is not None:
|
18293
|
+
pulumi.set(__self__, "performance_monitoring_unit", performance_monitoring_unit)
|
18146
18294
|
if threads_per_core is not None:
|
18147
18295
|
pulumi.set(__self__, "threads_per_core", threads_per_core)
|
18148
18296
|
if turbo_mode is not None:
|
@@ -18162,6 +18310,30 @@ class InstanceTemplateAdvancedMachineFeaturesArgs:
|
|
18162
18310
|
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
18163
18311
|
pulumi.set(self, "enable_nested_virtualization", value)
|
18164
18312
|
|
18313
|
+
@property
|
18314
|
+
@pulumi.getter(name="enableUefiNetworking")
|
18315
|
+
def enable_uefi_networking(self) -> Optional[pulumi.Input[bool]]:
|
18316
|
+
"""
|
18317
|
+
Whether to enable UEFI networking for instance creation.
|
18318
|
+
"""
|
18319
|
+
return pulumi.get(self, "enable_uefi_networking")
|
18320
|
+
|
18321
|
+
@enable_uefi_networking.setter
|
18322
|
+
def enable_uefi_networking(self, value: Optional[pulumi.Input[bool]]):
|
18323
|
+
pulumi.set(self, "enable_uefi_networking", value)
|
18324
|
+
|
18325
|
+
@property
|
18326
|
+
@pulumi.getter(name="performanceMonitoringUnit")
|
18327
|
+
def performance_monitoring_unit(self) -> Optional[pulumi.Input[str]]:
|
18328
|
+
"""
|
18329
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
18330
|
+
"""
|
18331
|
+
return pulumi.get(self, "performance_monitoring_unit")
|
18332
|
+
|
18333
|
+
@performance_monitoring_unit.setter
|
18334
|
+
def performance_monitoring_unit(self, value: Optional[pulumi.Input[str]]):
|
18335
|
+
pulumi.set(self, "performance_monitoring_unit", value)
|
18336
|
+
|
18165
18337
|
@property
|
18166
18338
|
@pulumi.getter(name="threadsPerCore")
|
18167
18339
|
def threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
@@ -19050,7 +19222,7 @@ if not MYPY:
|
|
19050
19222
|
"""
|
19051
19223
|
nic_type: NotRequired[pulumi.Input[str]]
|
19052
19224
|
"""
|
19053
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
19225
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
19054
19226
|
"""
|
19055
19227
|
queue_count: NotRequired[pulumi.Input[int]]
|
19056
19228
|
"""
|
@@ -19116,7 +19288,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
19116
19288
|
:param pulumi.Input[str] network_attachment: The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
|
19117
19289
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
19118
19290
|
empty, the address will be automatically assigned.
|
19119
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
19291
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
19120
19292
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
19121
19293
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
19122
19294
|
:param pulumi.Input[str] subnetwork: the name of the subnetwork to attach this interface
|
@@ -19293,7 +19465,7 @@ class InstanceTemplateNetworkInterfaceArgs:
|
|
19293
19465
|
@pulumi.getter(name="nicType")
|
19294
19466
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
19295
19467
|
"""
|
19296
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
19468
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
19297
19469
|
"""
|
19298
19470
|
return pulumi.get(self, "nic_type")
|
19299
19471
|
|
@@ -31678,6 +31850,14 @@ if not MYPY:
|
|
31678
31850
|
"""
|
31679
31851
|
Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
31680
31852
|
"""
|
31853
|
+
enable_uefi_networking: NotRequired[pulumi.Input[bool]]
|
31854
|
+
"""
|
31855
|
+
Whether to enable UEFI networking for instance creation.
|
31856
|
+
"""
|
31857
|
+
performance_monitoring_unit: NotRequired[pulumi.Input[str]]
|
31858
|
+
"""
|
31859
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
31860
|
+
"""
|
31681
31861
|
threads_per_core: NotRequired[pulumi.Input[int]]
|
31682
31862
|
"""
|
31683
31863
|
The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
@@ -31697,17 +31877,25 @@ elif False:
|
|
31697
31877
|
class RegionInstanceTemplateAdvancedMachineFeaturesArgs:
|
31698
31878
|
def __init__(__self__, *,
|
31699
31879
|
enable_nested_virtualization: Optional[pulumi.Input[bool]] = None,
|
31880
|
+
enable_uefi_networking: Optional[pulumi.Input[bool]] = None,
|
31881
|
+
performance_monitoring_unit: Optional[pulumi.Input[str]] = None,
|
31700
31882
|
threads_per_core: Optional[pulumi.Input[int]] = None,
|
31701
31883
|
turbo_mode: Optional[pulumi.Input[str]] = None,
|
31702
31884
|
visible_core_count: Optional[pulumi.Input[int]] = None):
|
31703
31885
|
"""
|
31704
31886
|
:param pulumi.Input[bool] enable_nested_virtualization: Defines whether the instance should have nested virtualization enabled. Defaults to false.
|
31887
|
+
:param pulumi.Input[bool] enable_uefi_networking: Whether to enable UEFI networking for instance creation.
|
31888
|
+
:param pulumi.Input[str] performance_monitoring_unit: [The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
31705
31889
|
:param pulumi.Input[int] threads_per_core: The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
|
31706
31890
|
:param pulumi.Input[str] turbo_mode: Turbo frequency mode to use for the instance. Supported modes are currently either `ALL_CORE_MAX` or unset (default).
|
31707
31891
|
:param pulumi.Input[int] visible_core_count: The number of physical cores to expose to an instance. [visible cores info (VC)](https://cloud.google.com/compute/docs/instances/customize-visible-cores).
|
31708
31892
|
"""
|
31709
31893
|
if enable_nested_virtualization is not None:
|
31710
31894
|
pulumi.set(__self__, "enable_nested_virtualization", enable_nested_virtualization)
|
31895
|
+
if enable_uefi_networking is not None:
|
31896
|
+
pulumi.set(__self__, "enable_uefi_networking", enable_uefi_networking)
|
31897
|
+
if performance_monitoring_unit is not None:
|
31898
|
+
pulumi.set(__self__, "performance_monitoring_unit", performance_monitoring_unit)
|
31711
31899
|
if threads_per_core is not None:
|
31712
31900
|
pulumi.set(__self__, "threads_per_core", threads_per_core)
|
31713
31901
|
if turbo_mode is not None:
|
@@ -31727,6 +31915,30 @@ class RegionInstanceTemplateAdvancedMachineFeaturesArgs:
|
|
31727
31915
|
def enable_nested_virtualization(self, value: Optional[pulumi.Input[bool]]):
|
31728
31916
|
pulumi.set(self, "enable_nested_virtualization", value)
|
31729
31917
|
|
31918
|
+
@property
|
31919
|
+
@pulumi.getter(name="enableUefiNetworking")
|
31920
|
+
def enable_uefi_networking(self) -> Optional[pulumi.Input[bool]]:
|
31921
|
+
"""
|
31922
|
+
Whether to enable UEFI networking for instance creation.
|
31923
|
+
"""
|
31924
|
+
return pulumi.get(self, "enable_uefi_networking")
|
31925
|
+
|
31926
|
+
@enable_uefi_networking.setter
|
31927
|
+
def enable_uefi_networking(self, value: Optional[pulumi.Input[bool]]):
|
31928
|
+
pulumi.set(self, "enable_uefi_networking", value)
|
31929
|
+
|
31930
|
+
@property
|
31931
|
+
@pulumi.getter(name="performanceMonitoringUnit")
|
31932
|
+
def performance_monitoring_unit(self) -> Optional[pulumi.Input[str]]:
|
31933
|
+
"""
|
31934
|
+
[The PMU](https://cloud.google.com/compute/docs/pmu-overview) is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are `STANDARD`, `ENHANCED`, and `ARCHITECTURAL`.
|
31935
|
+
"""
|
31936
|
+
return pulumi.get(self, "performance_monitoring_unit")
|
31937
|
+
|
31938
|
+
@performance_monitoring_unit.setter
|
31939
|
+
def performance_monitoring_unit(self, value: Optional[pulumi.Input[str]]):
|
31940
|
+
pulumi.set(self, "performance_monitoring_unit", value)
|
31941
|
+
|
31730
31942
|
@property
|
31731
31943
|
@pulumi.getter(name="threadsPerCore")
|
31732
31944
|
def threads_per_core(self) -> Optional[pulumi.Input[int]]:
|
@@ -32602,7 +32814,7 @@ if not MYPY:
|
|
32602
32814
|
"""
|
32603
32815
|
nic_type: NotRequired[pulumi.Input[str]]
|
32604
32816
|
"""
|
32605
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
32817
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
32606
32818
|
"""
|
32607
32819
|
queue_count: NotRequired[pulumi.Input[int]]
|
32608
32820
|
"""
|
@@ -32659,7 +32871,7 @@ class RegionInstanceTemplateNetworkInterfaceArgs:
|
|
32659
32871
|
`subnetwork` for custom subnetted networks.
|
32660
32872
|
:param pulumi.Input[str] network_ip: The private IP address to assign to the instance. If
|
32661
32873
|
empty, the address will be automatically assigned.
|
32662
|
-
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
32874
|
+
:param pulumi.Input[str] nic_type: The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
32663
32875
|
:param pulumi.Input[int] queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
32664
32876
|
:param pulumi.Input[str] stack_type: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used.
|
32665
32877
|
:param pulumi.Input[str] subnetwork: the name of the subnetwork to attach this interface
|
@@ -32813,7 +33025,7 @@ class RegionInstanceTemplateNetworkInterfaceArgs:
|
|
32813
33025
|
@pulumi.getter(name="nicType")
|
32814
33026
|
def nic_type(self) -> Optional[pulumi.Input[str]]:
|
32815
33027
|
"""
|
32816
|
-
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET.
|
33028
|
+
The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET. In the beta provider the additional values of MRDMA and IRDMA are supported.
|
32817
33029
|
"""
|
32818
33030
|
return pulumi.get(self, "nic_type")
|
32819
33031
|
|
@@ -34229,6 +34441,47 @@ class RegionNetworkEndpointGroupCloudRunArgs:
|
|
34229
34441
|
pulumi.set(self, "url_mask", value)
|
34230
34442
|
|
34231
34443
|
|
34444
|
+
if not MYPY:
|
34445
|
+
class RegionNetworkEndpointGroupPscDataArgsDict(TypedDict):
|
34446
|
+
producer_port: NotRequired[pulumi.Input[str]]
|
34447
|
+
"""
|
34448
|
+
The PSC producer port to use when consumer PSC NEG connects to a producer. If
|
34449
|
+
this flag isn't specified for a PSC NEG with endpoint type
|
34450
|
+
private-service-connect, then PSC NEG will be connected to a first port in the
|
34451
|
+
available PSC producer port range.
|
34452
|
+
"""
|
34453
|
+
elif False:
|
34454
|
+
RegionNetworkEndpointGroupPscDataArgsDict: TypeAlias = Mapping[str, Any]
|
34455
|
+
|
34456
|
+
@pulumi.input_type
|
34457
|
+
class RegionNetworkEndpointGroupPscDataArgs:
|
34458
|
+
def __init__(__self__, *,
|
34459
|
+
producer_port: Optional[pulumi.Input[str]] = None):
|
34460
|
+
"""
|
34461
|
+
:param pulumi.Input[str] producer_port: The PSC producer port to use when consumer PSC NEG connects to a producer. If
|
34462
|
+
this flag isn't specified for a PSC NEG with endpoint type
|
34463
|
+
private-service-connect, then PSC NEG will be connected to a first port in the
|
34464
|
+
available PSC producer port range.
|
34465
|
+
"""
|
34466
|
+
if producer_port is not None:
|
34467
|
+
pulumi.set(__self__, "producer_port", producer_port)
|
34468
|
+
|
34469
|
+
@property
|
34470
|
+
@pulumi.getter(name="producerPort")
|
34471
|
+
def producer_port(self) -> Optional[pulumi.Input[str]]:
|
34472
|
+
"""
|
34473
|
+
The PSC producer port to use when consumer PSC NEG connects to a producer. If
|
34474
|
+
this flag isn't specified for a PSC NEG with endpoint type
|
34475
|
+
private-service-connect, then PSC NEG will be connected to a first port in the
|
34476
|
+
available PSC producer port range.
|
34477
|
+
"""
|
34478
|
+
return pulumi.get(self, "producer_port")
|
34479
|
+
|
34480
|
+
@producer_port.setter
|
34481
|
+
def producer_port(self, value: Optional[pulumi.Input[str]]):
|
34482
|
+
pulumi.set(self, "producer_port", value)
|
34483
|
+
|
34484
|
+
|
34232
34485
|
if not MYPY:
|
34233
34486
|
class RegionNetworkEndpointGroupServerlessDeploymentArgsDict(TypedDict):
|
34234
34487
|
platform: pulumi.Input[str]
|
@@ -50750,6 +51003,10 @@ if not MYPY:
|
|
50750
51003
|
"""
|
50751
51004
|
Rule visibility. Supported values include: "STANDARD", "PREMIUM".
|
50752
51005
|
"""
|
51006
|
+
threshold_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgsDict']]]]
|
51007
|
+
"""
|
51008
|
+
Configuration options for layer7 adaptive protection for various customizable thresholds.
|
51009
|
+
"""
|
50753
51010
|
elif False:
|
50754
51011
|
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgsDict: TypeAlias = Mapping[str, Any]
|
50755
51012
|
|
@@ -50757,15 +51014,19 @@ elif False:
|
|
50757
51014
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs:
|
50758
51015
|
def __init__(__self__, *,
|
50759
51016
|
enable: Optional[pulumi.Input[bool]] = None,
|
50760
|
-
rule_visibility: Optional[pulumi.Input[str]] = None
|
51017
|
+
rule_visibility: Optional[pulumi.Input[str]] = None,
|
51018
|
+
threshold_configs: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs']]]] = None):
|
50761
51019
|
"""
|
50762
51020
|
:param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.
|
50763
51021
|
:param pulumi.Input[str] rule_visibility: Rule visibility. Supported values include: "STANDARD", "PREMIUM".
|
51022
|
+
:param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs']]] threshold_configs: Configuration options for layer7 adaptive protection for various customizable thresholds.
|
50764
51023
|
"""
|
50765
51024
|
if enable is not None:
|
50766
51025
|
pulumi.set(__self__, "enable", enable)
|
50767
51026
|
if rule_visibility is not None:
|
50768
51027
|
pulumi.set(__self__, "rule_visibility", rule_visibility)
|
51028
|
+
if threshold_configs is not None:
|
51029
|
+
pulumi.set(__self__, "threshold_configs", threshold_configs)
|
50769
51030
|
|
50770
51031
|
@property
|
50771
51032
|
@pulumi.getter
|
@@ -50791,6 +51052,286 @@ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs:
|
|
50791
51052
|
def rule_visibility(self, value: Optional[pulumi.Input[str]]):
|
50792
51053
|
pulumi.set(self, "rule_visibility", value)
|
50793
51054
|
|
51055
|
+
@property
|
51056
|
+
@pulumi.getter(name="thresholdConfigs")
|
51057
|
+
def threshold_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs']]]]:
|
51058
|
+
"""
|
51059
|
+
Configuration options for layer7 adaptive protection for various customizable thresholds.
|
51060
|
+
"""
|
51061
|
+
return pulumi.get(self, "threshold_configs")
|
51062
|
+
|
51063
|
+
@threshold_configs.setter
|
51064
|
+
def threshold_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs']]]]):
|
51065
|
+
pulumi.set(self, "threshold_configs", value)
|
51066
|
+
|
51067
|
+
|
51068
|
+
if not MYPY:
|
51069
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgsDict(TypedDict):
|
51070
|
+
name: pulumi.Input[str]
|
51071
|
+
"""
|
51072
|
+
The name of config. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
|
51073
|
+
"""
|
51074
|
+
auto_deploy_confidence_threshold: NotRequired[pulumi.Input[float]]
|
51075
|
+
"""
|
51076
|
+
Confidence threshold above which Adaptive Protection's auto-deploy takes actions.
|
51077
|
+
"""
|
51078
|
+
auto_deploy_expiration_sec: NotRequired[pulumi.Input[int]]
|
51079
|
+
"""
|
51080
|
+
Duration over which Adaptive Protection's auto-deployed actions last.
|
51081
|
+
"""
|
51082
|
+
auto_deploy_impacted_baseline_threshold: NotRequired[pulumi.Input[float]]
|
51083
|
+
"""
|
51084
|
+
Impacted baseline threshold below which Adaptive Protection's auto-deploy takes actions.
|
51085
|
+
"""
|
51086
|
+
auto_deploy_load_threshold: NotRequired[pulumi.Input[float]]
|
51087
|
+
"""
|
51088
|
+
Load threshold above which Adaptive Protection automatically deploy threshold based on the backend load threshold and detect a new rule during an alerted attack.
|
51089
|
+
"""
|
51090
|
+
detection_absolute_qps: NotRequired[pulumi.Input[float]]
|
51091
|
+
"""
|
51092
|
+
Detection threshold based on absolute QPS.
|
51093
|
+
"""
|
51094
|
+
detection_load_threshold: NotRequired[pulumi.Input[float]]
|
51095
|
+
"""
|
51096
|
+
Detection threshold based on the backend service's load.
|
51097
|
+
"""
|
51098
|
+
detection_relative_to_baseline_qps: NotRequired[pulumi.Input[float]]
|
51099
|
+
"""
|
51100
|
+
Detection threshold based on QPS relative to the average of baseline traffic.
|
51101
|
+
"""
|
51102
|
+
traffic_granularity_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgsDict']]]]
|
51103
|
+
"""
|
51104
|
+
Configuration options for enabling Adaptive Protection to work on the specified service granularity. Structure is documented below.
|
51105
|
+
"""
|
51106
|
+
elif False:
|
51107
|
+
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgsDict: TypeAlias = Mapping[str, Any]
|
51108
|
+
|
51109
|
+
@pulumi.input_type
|
51110
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigArgs:
|
51111
|
+
def __init__(__self__, *,
|
51112
|
+
name: pulumi.Input[str],
|
51113
|
+
auto_deploy_confidence_threshold: Optional[pulumi.Input[float]] = None,
|
51114
|
+
auto_deploy_expiration_sec: Optional[pulumi.Input[int]] = None,
|
51115
|
+
auto_deploy_impacted_baseline_threshold: Optional[pulumi.Input[float]] = None,
|
51116
|
+
auto_deploy_load_threshold: Optional[pulumi.Input[float]] = None,
|
51117
|
+
detection_absolute_qps: Optional[pulumi.Input[float]] = None,
|
51118
|
+
detection_load_threshold: Optional[pulumi.Input[float]] = None,
|
51119
|
+
detection_relative_to_baseline_qps: Optional[pulumi.Input[float]] = None,
|
51120
|
+
traffic_granularity_configs: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs']]]] = None):
|
51121
|
+
"""
|
51122
|
+
:param pulumi.Input[str] name: The name of config. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
|
51123
|
+
:param pulumi.Input[float] auto_deploy_confidence_threshold: Confidence threshold above which Adaptive Protection's auto-deploy takes actions.
|
51124
|
+
:param pulumi.Input[int] auto_deploy_expiration_sec: Duration over which Adaptive Protection's auto-deployed actions last.
|
51125
|
+
:param pulumi.Input[float] auto_deploy_impacted_baseline_threshold: Impacted baseline threshold below which Adaptive Protection's auto-deploy takes actions.
|
51126
|
+
:param pulumi.Input[float] auto_deploy_load_threshold: Load threshold above which Adaptive Protection automatically deploy threshold based on the backend load threshold and detect a new rule during an alerted attack.
|
51127
|
+
:param pulumi.Input[float] detection_absolute_qps: Detection threshold based on absolute QPS.
|
51128
|
+
:param pulumi.Input[float] detection_load_threshold: Detection threshold based on the backend service's load.
|
51129
|
+
:param pulumi.Input[float] detection_relative_to_baseline_qps: Detection threshold based on QPS relative to the average of baseline traffic.
|
51130
|
+
:param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs']]] traffic_granularity_configs: Configuration options for enabling Adaptive Protection to work on the specified service granularity. Structure is documented below.
|
51131
|
+
"""
|
51132
|
+
pulumi.set(__self__, "name", name)
|
51133
|
+
if auto_deploy_confidence_threshold is not None:
|
51134
|
+
pulumi.set(__self__, "auto_deploy_confidence_threshold", auto_deploy_confidence_threshold)
|
51135
|
+
if auto_deploy_expiration_sec is not None:
|
51136
|
+
pulumi.set(__self__, "auto_deploy_expiration_sec", auto_deploy_expiration_sec)
|
51137
|
+
if auto_deploy_impacted_baseline_threshold is not None:
|
51138
|
+
pulumi.set(__self__, "auto_deploy_impacted_baseline_threshold", auto_deploy_impacted_baseline_threshold)
|
51139
|
+
if auto_deploy_load_threshold is not None:
|
51140
|
+
pulumi.set(__self__, "auto_deploy_load_threshold", auto_deploy_load_threshold)
|
51141
|
+
if detection_absolute_qps is not None:
|
51142
|
+
pulumi.set(__self__, "detection_absolute_qps", detection_absolute_qps)
|
51143
|
+
if detection_load_threshold is not None:
|
51144
|
+
pulumi.set(__self__, "detection_load_threshold", detection_load_threshold)
|
51145
|
+
if detection_relative_to_baseline_qps is not None:
|
51146
|
+
pulumi.set(__self__, "detection_relative_to_baseline_qps", detection_relative_to_baseline_qps)
|
51147
|
+
if traffic_granularity_configs is not None:
|
51148
|
+
pulumi.set(__self__, "traffic_granularity_configs", traffic_granularity_configs)
|
51149
|
+
|
51150
|
+
@property
|
51151
|
+
@pulumi.getter
|
51152
|
+
def name(self) -> pulumi.Input[str]:
|
51153
|
+
"""
|
51154
|
+
The name of config. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.
|
51155
|
+
"""
|
51156
|
+
return pulumi.get(self, "name")
|
51157
|
+
|
51158
|
+
@name.setter
|
51159
|
+
def name(self, value: pulumi.Input[str]):
|
51160
|
+
pulumi.set(self, "name", value)
|
51161
|
+
|
51162
|
+
@property
|
51163
|
+
@pulumi.getter(name="autoDeployConfidenceThreshold")
|
51164
|
+
def auto_deploy_confidence_threshold(self) -> Optional[pulumi.Input[float]]:
|
51165
|
+
"""
|
51166
|
+
Confidence threshold above which Adaptive Protection's auto-deploy takes actions.
|
51167
|
+
"""
|
51168
|
+
return pulumi.get(self, "auto_deploy_confidence_threshold")
|
51169
|
+
|
51170
|
+
@auto_deploy_confidence_threshold.setter
|
51171
|
+
def auto_deploy_confidence_threshold(self, value: Optional[pulumi.Input[float]]):
|
51172
|
+
pulumi.set(self, "auto_deploy_confidence_threshold", value)
|
51173
|
+
|
51174
|
+
@property
|
51175
|
+
@pulumi.getter(name="autoDeployExpirationSec")
|
51176
|
+
def auto_deploy_expiration_sec(self) -> Optional[pulumi.Input[int]]:
|
51177
|
+
"""
|
51178
|
+
Duration over which Adaptive Protection's auto-deployed actions last.
|
51179
|
+
"""
|
51180
|
+
return pulumi.get(self, "auto_deploy_expiration_sec")
|
51181
|
+
|
51182
|
+
@auto_deploy_expiration_sec.setter
|
51183
|
+
def auto_deploy_expiration_sec(self, value: Optional[pulumi.Input[int]]):
|
51184
|
+
pulumi.set(self, "auto_deploy_expiration_sec", value)
|
51185
|
+
|
51186
|
+
@property
|
51187
|
+
@pulumi.getter(name="autoDeployImpactedBaselineThreshold")
|
51188
|
+
def auto_deploy_impacted_baseline_threshold(self) -> Optional[pulumi.Input[float]]:
|
51189
|
+
"""
|
51190
|
+
Impacted baseline threshold below which Adaptive Protection's auto-deploy takes actions.
|
51191
|
+
"""
|
51192
|
+
return pulumi.get(self, "auto_deploy_impacted_baseline_threshold")
|
51193
|
+
|
51194
|
+
@auto_deploy_impacted_baseline_threshold.setter
|
51195
|
+
def auto_deploy_impacted_baseline_threshold(self, value: Optional[pulumi.Input[float]]):
|
51196
|
+
pulumi.set(self, "auto_deploy_impacted_baseline_threshold", value)
|
51197
|
+
|
51198
|
+
@property
|
51199
|
+
@pulumi.getter(name="autoDeployLoadThreshold")
|
51200
|
+
def auto_deploy_load_threshold(self) -> Optional[pulumi.Input[float]]:
|
51201
|
+
"""
|
51202
|
+
Load threshold above which Adaptive Protection automatically deploy threshold based on the backend load threshold and detect a new rule during an alerted attack.
|
51203
|
+
"""
|
51204
|
+
return pulumi.get(self, "auto_deploy_load_threshold")
|
51205
|
+
|
51206
|
+
@auto_deploy_load_threshold.setter
|
51207
|
+
def auto_deploy_load_threshold(self, value: Optional[pulumi.Input[float]]):
|
51208
|
+
pulumi.set(self, "auto_deploy_load_threshold", value)
|
51209
|
+
|
51210
|
+
@property
|
51211
|
+
@pulumi.getter(name="detectionAbsoluteQps")
|
51212
|
+
def detection_absolute_qps(self) -> Optional[pulumi.Input[float]]:
|
51213
|
+
"""
|
51214
|
+
Detection threshold based on absolute QPS.
|
51215
|
+
"""
|
51216
|
+
return pulumi.get(self, "detection_absolute_qps")
|
51217
|
+
|
51218
|
+
@detection_absolute_qps.setter
|
51219
|
+
def detection_absolute_qps(self, value: Optional[pulumi.Input[float]]):
|
51220
|
+
pulumi.set(self, "detection_absolute_qps", value)
|
51221
|
+
|
51222
|
+
@property
|
51223
|
+
@pulumi.getter(name="detectionLoadThreshold")
|
51224
|
+
def detection_load_threshold(self) -> Optional[pulumi.Input[float]]:
|
51225
|
+
"""
|
51226
|
+
Detection threshold based on the backend service's load.
|
51227
|
+
"""
|
51228
|
+
return pulumi.get(self, "detection_load_threshold")
|
51229
|
+
|
51230
|
+
@detection_load_threshold.setter
|
51231
|
+
def detection_load_threshold(self, value: Optional[pulumi.Input[float]]):
|
51232
|
+
pulumi.set(self, "detection_load_threshold", value)
|
51233
|
+
|
51234
|
+
@property
|
51235
|
+
@pulumi.getter(name="detectionRelativeToBaselineQps")
|
51236
|
+
def detection_relative_to_baseline_qps(self) -> Optional[pulumi.Input[float]]:
|
51237
|
+
"""
|
51238
|
+
Detection threshold based on QPS relative to the average of baseline traffic.
|
51239
|
+
"""
|
51240
|
+
return pulumi.get(self, "detection_relative_to_baseline_qps")
|
51241
|
+
|
51242
|
+
@detection_relative_to_baseline_qps.setter
|
51243
|
+
def detection_relative_to_baseline_qps(self, value: Optional[pulumi.Input[float]]):
|
51244
|
+
pulumi.set(self, "detection_relative_to_baseline_qps", value)
|
51245
|
+
|
51246
|
+
@property
|
51247
|
+
@pulumi.getter(name="trafficGranularityConfigs")
|
51248
|
+
def traffic_granularity_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs']]]]:
|
51249
|
+
"""
|
51250
|
+
Configuration options for enabling Adaptive Protection to work on the specified service granularity. Structure is documented below.
|
51251
|
+
"""
|
51252
|
+
return pulumi.get(self, "traffic_granularity_configs")
|
51253
|
+
|
51254
|
+
@traffic_granularity_configs.setter
|
51255
|
+
def traffic_granularity_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs']]]]):
|
51256
|
+
pulumi.set(self, "traffic_granularity_configs", value)
|
51257
|
+
|
51258
|
+
|
51259
|
+
if not MYPY:
|
51260
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgsDict(TypedDict):
|
51261
|
+
type: pulumi.Input[str]
|
51262
|
+
"""
|
51263
|
+
The type of this configuration, a granular traffic unit can be one of the following:
|
51264
|
+
* `HTTP_HEADER_HOST`
|
51265
|
+
* `HTTP_PATH`
|
51266
|
+
"""
|
51267
|
+
enable_each_unique_value: NotRequired[pulumi.Input[bool]]
|
51268
|
+
"""
|
51269
|
+
If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if value is empty.
|
51270
|
+
"""
|
51271
|
+
value: NotRequired[pulumi.Input[str]]
|
51272
|
+
"""
|
51273
|
+
Requests that match this value constitute a granular traffic unit.
|
51274
|
+
"""
|
51275
|
+
elif False:
|
51276
|
+
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgsDict: TypeAlias = Mapping[str, Any]
|
51277
|
+
|
51278
|
+
@pulumi.input_type
|
51279
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigArgs:
|
51280
|
+
def __init__(__self__, *,
|
51281
|
+
type: pulumi.Input[str],
|
51282
|
+
enable_each_unique_value: Optional[pulumi.Input[bool]] = None,
|
51283
|
+
value: Optional[pulumi.Input[str]] = None):
|
51284
|
+
"""
|
51285
|
+
:param pulumi.Input[str] type: The type of this configuration, a granular traffic unit can be one of the following:
|
51286
|
+
* `HTTP_HEADER_HOST`
|
51287
|
+
* `HTTP_PATH`
|
51288
|
+
:param pulumi.Input[bool] enable_each_unique_value: If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if value is empty.
|
51289
|
+
:param pulumi.Input[str] value: Requests that match this value constitute a granular traffic unit.
|
51290
|
+
"""
|
51291
|
+
pulumi.set(__self__, "type", type)
|
51292
|
+
if enable_each_unique_value is not None:
|
51293
|
+
pulumi.set(__self__, "enable_each_unique_value", enable_each_unique_value)
|
51294
|
+
if value is not None:
|
51295
|
+
pulumi.set(__self__, "value", value)
|
51296
|
+
|
51297
|
+
@property
|
51298
|
+
@pulumi.getter
|
51299
|
+
def type(self) -> pulumi.Input[str]:
|
51300
|
+
"""
|
51301
|
+
The type of this configuration, a granular traffic unit can be one of the following:
|
51302
|
+
* `HTTP_HEADER_HOST`
|
51303
|
+
* `HTTP_PATH`
|
51304
|
+
"""
|
51305
|
+
return pulumi.get(self, "type")
|
51306
|
+
|
51307
|
+
@type.setter
|
51308
|
+
def type(self, value: pulumi.Input[str]):
|
51309
|
+
pulumi.set(self, "type", value)
|
51310
|
+
|
51311
|
+
@property
|
51312
|
+
@pulumi.getter(name="enableEachUniqueValue")
|
51313
|
+
def enable_each_unique_value(self) -> Optional[pulumi.Input[bool]]:
|
51314
|
+
"""
|
51315
|
+
If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if value is empty.
|
51316
|
+
"""
|
51317
|
+
return pulumi.get(self, "enable_each_unique_value")
|
51318
|
+
|
51319
|
+
@enable_each_unique_value.setter
|
51320
|
+
def enable_each_unique_value(self, value: Optional[pulumi.Input[bool]]):
|
51321
|
+
pulumi.set(self, "enable_each_unique_value", value)
|
51322
|
+
|
51323
|
+
@property
|
51324
|
+
@pulumi.getter
|
51325
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
51326
|
+
"""
|
51327
|
+
Requests that match this value constitute a granular traffic unit.
|
51328
|
+
"""
|
51329
|
+
return pulumi.get(self, "value")
|
51330
|
+
|
51331
|
+
@value.setter
|
51332
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
51333
|
+
pulumi.set(self, "value", value)
|
51334
|
+
|
50794
51335
|
|
50795
51336
|
if not MYPY:
|
50796
51337
|
class SecurityPolicyAdvancedOptionsConfigArgsDict(TypedDict):
|
@@ -55729,7 +56270,7 @@ if not MYPY:
|
|
55729
56270
|
"""
|
55730
56271
|
default_custom_error_response_policy: NotRequired[pulumi.Input['URLMapPathMatcherDefaultCustomErrorResponsePolicyArgsDict']]
|
55731
56272
|
"""
|
55732
|
-
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
56273
|
+
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
55733
56274
|
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
55734
56275
|
For example, consider a UrlMap with the following configuration:
|
55735
56276
|
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
@@ -55808,7 +56349,7 @@ class URLMapPathMatcherArgs:
|
|
55808
56349
|
route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['URLMapPathMatcherRouteRuleArgs']]]] = None):
|
55809
56350
|
"""
|
55810
56351
|
:param pulumi.Input[str] name: The name to which this PathMatcher is referred by the HostRule.
|
55811
|
-
:param pulumi.Input['URLMapPathMatcherDefaultCustomErrorResponsePolicyArgs'] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
56352
|
+
:param pulumi.Input['URLMapPathMatcherDefaultCustomErrorResponsePolicyArgs'] default_custom_error_response_policy: defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
55812
56353
|
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
55813
56354
|
For example, consider a UrlMap with the following configuration:
|
55814
56355
|
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
@@ -55883,7 +56424,7 @@ class URLMapPathMatcherArgs:
|
|
55883
56424
|
@pulumi.getter(name="defaultCustomErrorResponsePolicy")
|
55884
56425
|
def default_custom_error_response_policy(self) -> Optional[pulumi.Input['URLMapPathMatcherDefaultCustomErrorResponsePolicyArgs']]:
|
55885
56426
|
"""
|
55886
|
-
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
56427
|
+
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
55887
56428
|
This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
55888
56429
|
For example, consider a UrlMap with the following configuration:
|
55889
56430
|
UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors
|
@@ -57969,7 +58510,7 @@ if not MYPY:
|
|
57969
58510
|
"""
|
57970
58511
|
custom_error_response_policy: NotRequired[pulumi.Input['URLMapPathMatcherPathRuleCustomErrorResponsePolicyArgsDict']]
|
57971
58512
|
"""
|
57972
|
-
customErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
58513
|
+
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
57973
58514
|
If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
57974
58515
|
For example, consider a UrlMap with the following configuration:
|
57975
58516
|
UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors
|
@@ -58015,7 +58556,7 @@ class URLMapPathMatcherPathRuleArgs:
|
|
58015
58556
|
\\* is allowed is at the end following a /. The string fed to the path matcher
|
58016
58557
|
does not include any text after the first ? or #, and those chars are not
|
58017
58558
|
allowed here.
|
58018
|
-
:param pulumi.Input['URLMapPathMatcherPathRuleCustomErrorResponsePolicyArgs'] custom_error_response_policy: customErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
58559
|
+
:param pulumi.Input['URLMapPathMatcherPathRuleCustomErrorResponsePolicyArgs'] custom_error_response_policy: customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
58019
58560
|
If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
58020
58561
|
For example, consider a UrlMap with the following configuration:
|
58021
58562
|
UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors
|
@@ -58065,7 +58606,7 @@ class URLMapPathMatcherPathRuleArgs:
|
|
58065
58606
|
@pulumi.getter(name="customErrorResponsePolicy")
|
58066
58607
|
def custom_error_response_policy(self) -> Optional[pulumi.Input['URLMapPathMatcherPathRuleCustomErrorResponsePolicyArgs']]:
|
58067
58608
|
"""
|
58068
|
-
customErrorResponsePolicy specifies how the Load Balancer returns error responses when
|
58609
|
+
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendService or BackendBucket responds with an error.
|
58069
58610
|
If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect.
|
58070
58611
|
For example, consider a UrlMap with the following configuration:
|
58071
58612
|
UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors
|