pulumi-gcp 7.12.0a1709365001__py3-none-any.whl → 7.13.0a1709814369__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 +72 -0
- pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -2
- pulumi_gcp/appengine/engine_split_traffic.py +4 -4
- pulumi_gcp/appengine/service_network_settings.py +2 -2
- pulumi_gcp/appengine/standard_app_version.py +4 -4
- pulumi_gcp/bigquery/_inputs.py +88 -0
- pulumi_gcp/bigquery/dataset_iam_binding.py +35 -28
- pulumi_gcp/bigquery/dataset_iam_member.py +35 -28
- pulumi_gcp/bigquery/dataset_iam_policy.py +35 -28
- pulumi_gcp/bigquery/outputs.py +91 -0
- pulumi_gcp/bigquery/routine.py +118 -12
- pulumi_gcp/certificatemanager/dns_authorization.py +63 -14
- pulumi_gcp/clouddeploy/__init__.py +4 -0
- pulumi_gcp/clouddeploy/_inputs.py +80 -0
- pulumi_gcp/clouddeploy/automation.py +16 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +162 -0
- pulumi_gcp/clouddeploy/outputs.py +56 -0
- pulumi_gcp/clouddeploy/target_iam_binding.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_member.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_policy.py +253 -0
- pulumi_gcp/cloudfunctionsv2/function.py +0 -2
- pulumi_gcp/cloudrunv2/_inputs.py +4 -2
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/composer/_inputs.py +18 -2
- pulumi_gcp/composer/outputs.py +29 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/get_forwarding_rules.py +142 -0
- pulumi_gcp/compute/instance_group_membership.py +4 -4
- pulumi_gcp/compute/outputs.py +816 -0
- pulumi_gcp/compute/region_network_endpoint.py +2 -2
- pulumi_gcp/compute/region_target_https_proxy.py +162 -37
- pulumi_gcp/compute/router_nat.py +8 -8
- pulumi_gcp/container/_inputs.py +80 -0
- pulumi_gcp/container/cluster.py +20 -16
- pulumi_gcp/container/outputs.py +115 -1
- pulumi_gcp/firebase/__init__.py +4 -0
- pulumi_gcp/firebase/app_check_app_attest_config.py +461 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +465 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +474 -0
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +511 -0
- pulumi_gcp/gkehub/scope.py +85 -0
- pulumi_gcp/integrationconnectors/connection.py +4 -4
- pulumi_gcp/looker/_inputs.py +42 -0
- pulumi_gcp/looker/instance.py +90 -0
- pulumi_gcp/looker/outputs.py +34 -0
- pulumi_gcp/migrationcenter/__init__.py +3 -0
- pulumi_gcp/migrationcenter/_inputs.py +500 -0
- pulumi_gcp/migrationcenter/outputs.py +562 -0
- pulumi_gcp/migrationcenter/preference_set.py +687 -0
- pulumi_gcp/monitoring/custom_service.py +4 -2
- pulumi_gcp/monitoring/generic_service.py +4 -2
- pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/_inputs.py +275 -0
- pulumi_gcp/netapp/outputs.py +290 -0
- pulumi_gcp/netapp/volume.py +140 -2
- pulumi_gcp/netapp/volume_replication.py +1292 -0
- pulumi_gcp/notebooks/instance.py +1 -1
- pulumi_gcp/securityposture/_inputs.py +22 -19
- pulumi_gcp/securityposture/outputs.py +18 -15
- pulumi_gcp/securityposture/posture.py +28 -48
- pulumi_gcp/spanner/_inputs.py +20 -0
- pulumi_gcp/spanner/database_iam_binding.py +134 -0
- pulumi_gcp/spanner/database_iam_member.py +134 -0
- pulumi_gcp/spanner/database_iam_policy.py +114 -0
- pulumi_gcp/spanner/outputs.py +20 -0
- pulumi_gcp/workbench/_inputs.py +157 -2
- pulumi_gcp/workbench/instance.py +52 -0
- pulumi_gcp/workbench/outputs.py +154 -2
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/RECORD +73 -60
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,500 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'PreferenceSetVirtualMachinePreferencesArgs',
|
14
|
+
'PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs',
|
15
|
+
'PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs',
|
16
|
+
'PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs',
|
17
|
+
'PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs',
|
18
|
+
'PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs',
|
19
|
+
'PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs',
|
20
|
+
'PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs',
|
21
|
+
]
|
22
|
+
|
23
|
+
@pulumi.input_type
|
24
|
+
class PreferenceSetVirtualMachinePreferencesArgs:
|
25
|
+
def __init__(__self__, *,
|
26
|
+
commitment_plan: Optional[pulumi.Input[str]] = None,
|
27
|
+
compute_engine_preferences: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs']] = None,
|
28
|
+
region_preferences: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs']] = None,
|
29
|
+
sizing_optimization_strategy: Optional[pulumi.Input[str]] = None,
|
30
|
+
sole_tenancy_preferences: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs']] = None,
|
31
|
+
target_product: Optional[pulumi.Input[str]] = None,
|
32
|
+
vmware_engine_preferences: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs']] = None):
|
33
|
+
"""
|
34
|
+
:param pulumi.Input[str] commitment_plan: Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
35
|
+
Possible values:
|
36
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
37
|
+
COMMITMENT_PLAN_NONE
|
38
|
+
COMMITMENT_PLAN_ONE_YEAR
|
39
|
+
COMMITMENT_PLAN_THREE_YEARS
|
40
|
+
:param pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs'] compute_engine_preferences: The user preferences relating to Compute Engine target platform.
|
41
|
+
Structure is documented below.
|
42
|
+
:param pulumi.Input['PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs'] region_preferences: The user preferences relating to target regions.
|
43
|
+
Structure is documented below.
|
44
|
+
:param pulumi.Input[str] sizing_optimization_strategy: Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
|
45
|
+
Possible values:
|
46
|
+
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
|
47
|
+
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
|
48
|
+
SIZING_OPTIMIZATION_STRATEGY_MODERATE
|
49
|
+
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
|
50
|
+
:param pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs'] sole_tenancy_preferences: Preferences concerning Sole Tenancy nodes and VMs.
|
51
|
+
Structure is documented below.
|
52
|
+
:param pulumi.Input[str] target_product: Target product for assets using this preference set. Specify either target product or business goal, but not both.
|
53
|
+
Possible values:
|
54
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED
|
55
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE
|
56
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE
|
57
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
|
58
|
+
:param pulumi.Input['PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs'] vmware_engine_preferences: The user preferences relating to Google Cloud VMware Engine target platform.
|
59
|
+
Structure is documented below.
|
60
|
+
"""
|
61
|
+
if commitment_plan is not None:
|
62
|
+
pulumi.set(__self__, "commitment_plan", commitment_plan)
|
63
|
+
if compute_engine_preferences is not None:
|
64
|
+
pulumi.set(__self__, "compute_engine_preferences", compute_engine_preferences)
|
65
|
+
if region_preferences is not None:
|
66
|
+
pulumi.set(__self__, "region_preferences", region_preferences)
|
67
|
+
if sizing_optimization_strategy is not None:
|
68
|
+
pulumi.set(__self__, "sizing_optimization_strategy", sizing_optimization_strategy)
|
69
|
+
if sole_tenancy_preferences is not None:
|
70
|
+
pulumi.set(__self__, "sole_tenancy_preferences", sole_tenancy_preferences)
|
71
|
+
if target_product is not None:
|
72
|
+
pulumi.set(__self__, "target_product", target_product)
|
73
|
+
if vmware_engine_preferences is not None:
|
74
|
+
pulumi.set(__self__, "vmware_engine_preferences", vmware_engine_preferences)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="commitmentPlan")
|
78
|
+
def commitment_plan(self) -> Optional[pulumi.Input[str]]:
|
79
|
+
"""
|
80
|
+
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
81
|
+
Possible values:
|
82
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
83
|
+
COMMITMENT_PLAN_NONE
|
84
|
+
COMMITMENT_PLAN_ONE_YEAR
|
85
|
+
COMMITMENT_PLAN_THREE_YEARS
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "commitment_plan")
|
88
|
+
|
89
|
+
@commitment_plan.setter
|
90
|
+
def commitment_plan(self, value: Optional[pulumi.Input[str]]):
|
91
|
+
pulumi.set(self, "commitment_plan", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="computeEnginePreferences")
|
95
|
+
def compute_engine_preferences(self) -> Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs']]:
|
96
|
+
"""
|
97
|
+
The user preferences relating to Compute Engine target platform.
|
98
|
+
Structure is documented below.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "compute_engine_preferences")
|
101
|
+
|
102
|
+
@compute_engine_preferences.setter
|
103
|
+
def compute_engine_preferences(self, value: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs']]):
|
104
|
+
pulumi.set(self, "compute_engine_preferences", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="regionPreferences")
|
108
|
+
def region_preferences(self) -> Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs']]:
|
109
|
+
"""
|
110
|
+
The user preferences relating to target regions.
|
111
|
+
Structure is documented below.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "region_preferences")
|
114
|
+
|
115
|
+
@region_preferences.setter
|
116
|
+
def region_preferences(self, value: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs']]):
|
117
|
+
pulumi.set(self, "region_preferences", value)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="sizingOptimizationStrategy")
|
121
|
+
def sizing_optimization_strategy(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
|
124
|
+
Possible values:
|
125
|
+
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
|
126
|
+
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
|
127
|
+
SIZING_OPTIMIZATION_STRATEGY_MODERATE
|
128
|
+
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "sizing_optimization_strategy")
|
131
|
+
|
132
|
+
@sizing_optimization_strategy.setter
|
133
|
+
def sizing_optimization_strategy(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "sizing_optimization_strategy", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter(name="soleTenancyPreferences")
|
138
|
+
def sole_tenancy_preferences(self) -> Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs']]:
|
139
|
+
"""
|
140
|
+
Preferences concerning Sole Tenancy nodes and VMs.
|
141
|
+
Structure is documented below.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "sole_tenancy_preferences")
|
144
|
+
|
145
|
+
@sole_tenancy_preferences.setter
|
146
|
+
def sole_tenancy_preferences(self, value: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs']]):
|
147
|
+
pulumi.set(self, "sole_tenancy_preferences", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="targetProduct")
|
151
|
+
def target_product(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
Target product for assets using this preference set. Specify either target product or business goal, but not both.
|
154
|
+
Possible values:
|
155
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_UNSPECIFIED
|
156
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_COMPUTE_ENGINE
|
157
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_VMWARE_ENGINE
|
158
|
+
COMPUTE_MIGRATION_TARGET_PRODUCT_SOLE_TENANCY
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "target_product")
|
161
|
+
|
162
|
+
@target_product.setter
|
163
|
+
def target_product(self, value: Optional[pulumi.Input[str]]):
|
164
|
+
pulumi.set(self, "target_product", value)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="vmwareEnginePreferences")
|
168
|
+
def vmware_engine_preferences(self) -> Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs']]:
|
169
|
+
"""
|
170
|
+
The user preferences relating to Google Cloud VMware Engine target platform.
|
171
|
+
Structure is documented below.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "vmware_engine_preferences")
|
174
|
+
|
175
|
+
@vmware_engine_preferences.setter
|
176
|
+
def vmware_engine_preferences(self, value: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs']]):
|
177
|
+
pulumi.set(self, "vmware_engine_preferences", value)
|
178
|
+
|
179
|
+
|
180
|
+
@pulumi.input_type
|
181
|
+
class PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesArgs:
|
182
|
+
def __init__(__self__, *,
|
183
|
+
license_type: Optional[pulumi.Input[str]] = None,
|
184
|
+
machine_preferences: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs']] = None):
|
185
|
+
"""
|
186
|
+
:param pulumi.Input[str] license_type: License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
|
187
|
+
Possible values:
|
188
|
+
LICENSE_TYPE_UNSPECIFIED
|
189
|
+
LICENSE_TYPE_DEFAULT
|
190
|
+
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
|
191
|
+
:param pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs'] machine_preferences: The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions.
|
192
|
+
Structure is documented below.
|
193
|
+
"""
|
194
|
+
if license_type is not None:
|
195
|
+
pulumi.set(__self__, "license_type", license_type)
|
196
|
+
if machine_preferences is not None:
|
197
|
+
pulumi.set(__self__, "machine_preferences", machine_preferences)
|
198
|
+
|
199
|
+
@property
|
200
|
+
@pulumi.getter(name="licenseType")
|
201
|
+
def license_type(self) -> Optional[pulumi.Input[str]]:
|
202
|
+
"""
|
203
|
+
License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan.
|
204
|
+
Possible values:
|
205
|
+
LICENSE_TYPE_UNSPECIFIED
|
206
|
+
LICENSE_TYPE_DEFAULT
|
207
|
+
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "license_type")
|
210
|
+
|
211
|
+
@license_type.setter
|
212
|
+
def license_type(self, value: Optional[pulumi.Input[str]]):
|
213
|
+
pulumi.set(self, "license_type", value)
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter(name="machinePreferences")
|
217
|
+
def machine_preferences(self) -> Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs']]:
|
218
|
+
"""
|
219
|
+
The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions.
|
220
|
+
Structure is documented below.
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "machine_preferences")
|
223
|
+
|
224
|
+
@machine_preferences.setter
|
225
|
+
def machine_preferences(self, value: Optional[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs']]):
|
226
|
+
pulumi.set(self, "machine_preferences", value)
|
227
|
+
|
228
|
+
|
229
|
+
@pulumi.input_type
|
230
|
+
class PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesArgs:
|
231
|
+
def __init__(__self__, *,
|
232
|
+
allowed_machine_series: Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs']]]] = None):
|
233
|
+
"""
|
234
|
+
:param pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs']]] allowed_machine_series: Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.
|
235
|
+
Structure is documented below.
|
236
|
+
"""
|
237
|
+
if allowed_machine_series is not None:
|
238
|
+
pulumi.set(__self__, "allowed_machine_series", allowed_machine_series)
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter(name="allowedMachineSeries")
|
242
|
+
def allowed_machine_series(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs']]]]:
|
243
|
+
"""
|
244
|
+
Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.
|
245
|
+
Structure is documented below.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "allowed_machine_series")
|
248
|
+
|
249
|
+
@allowed_machine_series.setter
|
250
|
+
def allowed_machine_series(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs']]]]):
|
251
|
+
pulumi.set(self, "allowed_machine_series", value)
|
252
|
+
|
253
|
+
|
254
|
+
@pulumi.input_type
|
255
|
+
class PreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesArgs:
|
256
|
+
def __init__(__self__, *,
|
257
|
+
code: Optional[pulumi.Input[str]] = None):
|
258
|
+
"""
|
259
|
+
:param pulumi.Input[str] code: Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
|
260
|
+
"""
|
261
|
+
if code is not None:
|
262
|
+
pulumi.set(__self__, "code", code)
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter
|
266
|
+
def code(self) -> Optional[pulumi.Input[str]]:
|
267
|
+
"""
|
268
|
+
Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "code")
|
271
|
+
|
272
|
+
@code.setter
|
273
|
+
def code(self, value: Optional[pulumi.Input[str]]):
|
274
|
+
pulumi.set(self, "code", value)
|
275
|
+
|
276
|
+
|
277
|
+
@pulumi.input_type
|
278
|
+
class PreferenceSetVirtualMachinePreferencesRegionPreferencesArgs:
|
279
|
+
def __init__(__self__, *,
|
280
|
+
preferred_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
281
|
+
"""
|
282
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_regions: A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
|
283
|
+
"""
|
284
|
+
if preferred_regions is not None:
|
285
|
+
pulumi.set(__self__, "preferred_regions", preferred_regions)
|
286
|
+
|
287
|
+
@property
|
288
|
+
@pulumi.getter(name="preferredRegions")
|
289
|
+
def preferred_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
290
|
+
"""
|
291
|
+
A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
|
292
|
+
"""
|
293
|
+
return pulumi.get(self, "preferred_regions")
|
294
|
+
|
295
|
+
@preferred_regions.setter
|
296
|
+
def preferred_regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
297
|
+
pulumi.set(self, "preferred_regions", value)
|
298
|
+
|
299
|
+
|
300
|
+
@pulumi.input_type
|
301
|
+
class PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs:
|
302
|
+
def __init__(__self__, *,
|
303
|
+
commitment_plan: Optional[pulumi.Input[str]] = None,
|
304
|
+
cpu_overcommit_ratio: Optional[pulumi.Input[float]] = None,
|
305
|
+
host_maintenance_policy: Optional[pulumi.Input[str]] = None,
|
306
|
+
node_types: Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs']]]] = None):
|
307
|
+
"""
|
308
|
+
:param pulumi.Input[str] commitment_plan: Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
309
|
+
Possible values:
|
310
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
311
|
+
ON_DEMAND
|
312
|
+
COMMITMENT_1_YEAR
|
313
|
+
COMMITMENT_3_YEAR
|
314
|
+
:param pulumi.Input[float] cpu_overcommit_ratio: CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
|
315
|
+
:param pulumi.Input[str] host_maintenance_policy: Sole Tenancy nodes maintenance policy.
|
316
|
+
Possible values:
|
317
|
+
HOST_MAINTENANCE_POLICY_UNSPECIFIED
|
318
|
+
HOST_MAINTENANCE_POLICY_DEFAULT
|
319
|
+
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE
|
320
|
+
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
|
321
|
+
:param pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs']]] node_types: A list of sole tenant node types. An empty list means that all possible node types will be considered.
|
322
|
+
Structure is documented below.
|
323
|
+
"""
|
324
|
+
if commitment_plan is not None:
|
325
|
+
pulumi.set(__self__, "commitment_plan", commitment_plan)
|
326
|
+
if cpu_overcommit_ratio is not None:
|
327
|
+
pulumi.set(__self__, "cpu_overcommit_ratio", cpu_overcommit_ratio)
|
328
|
+
if host_maintenance_policy is not None:
|
329
|
+
pulumi.set(__self__, "host_maintenance_policy", host_maintenance_policy)
|
330
|
+
if node_types is not None:
|
331
|
+
pulumi.set(__self__, "node_types", node_types)
|
332
|
+
|
333
|
+
@property
|
334
|
+
@pulumi.getter(name="commitmentPlan")
|
335
|
+
def commitment_plan(self) -> Optional[pulumi.Input[str]]:
|
336
|
+
"""
|
337
|
+
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
338
|
+
Possible values:
|
339
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
340
|
+
ON_DEMAND
|
341
|
+
COMMITMENT_1_YEAR
|
342
|
+
COMMITMENT_3_YEAR
|
343
|
+
"""
|
344
|
+
return pulumi.get(self, "commitment_plan")
|
345
|
+
|
346
|
+
@commitment_plan.setter
|
347
|
+
def commitment_plan(self, value: Optional[pulumi.Input[str]]):
|
348
|
+
pulumi.set(self, "commitment_plan", value)
|
349
|
+
|
350
|
+
@property
|
351
|
+
@pulumi.getter(name="cpuOvercommitRatio")
|
352
|
+
def cpu_overcommit_ratio(self) -> Optional[pulumi.Input[float]]:
|
353
|
+
"""
|
354
|
+
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "cpu_overcommit_ratio")
|
357
|
+
|
358
|
+
@cpu_overcommit_ratio.setter
|
359
|
+
def cpu_overcommit_ratio(self, value: Optional[pulumi.Input[float]]):
|
360
|
+
pulumi.set(self, "cpu_overcommit_ratio", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="hostMaintenancePolicy")
|
364
|
+
def host_maintenance_policy(self) -> Optional[pulumi.Input[str]]:
|
365
|
+
"""
|
366
|
+
Sole Tenancy nodes maintenance policy.
|
367
|
+
Possible values:
|
368
|
+
HOST_MAINTENANCE_POLICY_UNSPECIFIED
|
369
|
+
HOST_MAINTENANCE_POLICY_DEFAULT
|
370
|
+
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE
|
371
|
+
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
|
372
|
+
"""
|
373
|
+
return pulumi.get(self, "host_maintenance_policy")
|
374
|
+
|
375
|
+
@host_maintenance_policy.setter
|
376
|
+
def host_maintenance_policy(self, value: Optional[pulumi.Input[str]]):
|
377
|
+
pulumi.set(self, "host_maintenance_policy", value)
|
378
|
+
|
379
|
+
@property
|
380
|
+
@pulumi.getter(name="nodeTypes")
|
381
|
+
def node_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs']]]]:
|
382
|
+
"""
|
383
|
+
A list of sole tenant node types. An empty list means that all possible node types will be considered.
|
384
|
+
Structure is documented below.
|
385
|
+
"""
|
386
|
+
return pulumi.get(self, "node_types")
|
387
|
+
|
388
|
+
@node_types.setter
|
389
|
+
def node_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs']]]]):
|
390
|
+
pulumi.set(self, "node_types", value)
|
391
|
+
|
392
|
+
|
393
|
+
@pulumi.input_type
|
394
|
+
class PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs:
|
395
|
+
def __init__(__self__, *,
|
396
|
+
node_name: Optional[pulumi.Input[str]] = None):
|
397
|
+
"""
|
398
|
+
:param pulumi.Input[str] node_name: Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
|
399
|
+
"""
|
400
|
+
if node_name is not None:
|
401
|
+
pulumi.set(__self__, "node_name", node_name)
|
402
|
+
|
403
|
+
@property
|
404
|
+
@pulumi.getter(name="nodeName")
|
405
|
+
def node_name(self) -> Optional[pulumi.Input[str]]:
|
406
|
+
"""
|
407
|
+
Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "node_name")
|
410
|
+
|
411
|
+
@node_name.setter
|
412
|
+
def node_name(self, value: Optional[pulumi.Input[str]]):
|
413
|
+
pulumi.set(self, "node_name", value)
|
414
|
+
|
415
|
+
|
416
|
+
@pulumi.input_type
|
417
|
+
class PreferenceSetVirtualMachinePreferencesVmwareEnginePreferencesArgs:
|
418
|
+
def __init__(__self__, *,
|
419
|
+
commitment_plan: Optional[pulumi.Input[str]] = None,
|
420
|
+
cpu_overcommit_ratio: Optional[pulumi.Input[float]] = None,
|
421
|
+
memory_overcommit_ratio: Optional[pulumi.Input[float]] = None,
|
422
|
+
storage_deduplication_compression_ratio: Optional[pulumi.Input[float]] = None):
|
423
|
+
"""
|
424
|
+
:param pulumi.Input[str] commitment_plan: Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
425
|
+
Possible values:
|
426
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
427
|
+
ON_DEMAND
|
428
|
+
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS
|
429
|
+
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS
|
430
|
+
COMMITMENT_1_YEAR_UPFRONT_PAYMENT
|
431
|
+
COMMITMENT_3_YEAR_UPFRONT_PAYMENT
|
432
|
+
:param pulumi.Input[float] cpu_overcommit_ratio: CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
|
433
|
+
:param pulumi.Input[float] memory_overcommit_ratio: Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
|
434
|
+
:param pulumi.Input[float] storage_deduplication_compression_ratio: The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
|
435
|
+
"""
|
436
|
+
if commitment_plan is not None:
|
437
|
+
pulumi.set(__self__, "commitment_plan", commitment_plan)
|
438
|
+
if cpu_overcommit_ratio is not None:
|
439
|
+
pulumi.set(__self__, "cpu_overcommit_ratio", cpu_overcommit_ratio)
|
440
|
+
if memory_overcommit_ratio is not None:
|
441
|
+
pulumi.set(__self__, "memory_overcommit_ratio", memory_overcommit_ratio)
|
442
|
+
if storage_deduplication_compression_ratio is not None:
|
443
|
+
pulumi.set(__self__, "storage_deduplication_compression_ratio", storage_deduplication_compression_ratio)
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="commitmentPlan")
|
447
|
+
def commitment_plan(self) -> Optional[pulumi.Input[str]]:
|
448
|
+
"""
|
449
|
+
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
|
450
|
+
Possible values:
|
451
|
+
COMMITMENT_PLAN_UNSPECIFIED
|
452
|
+
ON_DEMAND
|
453
|
+
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS
|
454
|
+
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS
|
455
|
+
COMMITMENT_1_YEAR_UPFRONT_PAYMENT
|
456
|
+
COMMITMENT_3_YEAR_UPFRONT_PAYMENT
|
457
|
+
"""
|
458
|
+
return pulumi.get(self, "commitment_plan")
|
459
|
+
|
460
|
+
@commitment_plan.setter
|
461
|
+
def commitment_plan(self, value: Optional[pulumi.Input[str]]):
|
462
|
+
pulumi.set(self, "commitment_plan", value)
|
463
|
+
|
464
|
+
@property
|
465
|
+
@pulumi.getter(name="cpuOvercommitRatio")
|
466
|
+
def cpu_overcommit_ratio(self) -> Optional[pulumi.Input[float]]:
|
467
|
+
"""
|
468
|
+
CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
|
469
|
+
"""
|
470
|
+
return pulumi.get(self, "cpu_overcommit_ratio")
|
471
|
+
|
472
|
+
@cpu_overcommit_ratio.setter
|
473
|
+
def cpu_overcommit_ratio(self, value: Optional[pulumi.Input[float]]):
|
474
|
+
pulumi.set(self, "cpu_overcommit_ratio", value)
|
475
|
+
|
476
|
+
@property
|
477
|
+
@pulumi.getter(name="memoryOvercommitRatio")
|
478
|
+
def memory_overcommit_ratio(self) -> Optional[pulumi.Input[float]]:
|
479
|
+
"""
|
480
|
+
Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
|
481
|
+
"""
|
482
|
+
return pulumi.get(self, "memory_overcommit_ratio")
|
483
|
+
|
484
|
+
@memory_overcommit_ratio.setter
|
485
|
+
def memory_overcommit_ratio(self, value: Optional[pulumi.Input[float]]):
|
486
|
+
pulumi.set(self, "memory_overcommit_ratio", value)
|
487
|
+
|
488
|
+
@property
|
489
|
+
@pulumi.getter(name="storageDeduplicationCompressionRatio")
|
490
|
+
def storage_deduplication_compression_ratio(self) -> Optional[pulumi.Input[float]]:
|
491
|
+
"""
|
492
|
+
The Deduplication and Compression ratio is based on the logical (Used Before) space required to store data before applying deduplication and compression, in relation to the physical (Used After) space required after applying deduplication and compression. Specifically, the ratio is the Used Before space divided by the Used After space. For example, if the Used Before space is 3 GB, but the physical Used After space is 1 GB, the deduplication and compression ratio is 3x. Acceptable values are between 1.0 and 4.0.
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "storage_deduplication_compression_ratio")
|
495
|
+
|
496
|
+
@storage_deduplication_compression_ratio.setter
|
497
|
+
def storage_deduplication_compression_ratio(self, value: Optional[pulumi.Input[float]]):
|
498
|
+
pulumi.set(self, "storage_deduplication_compression_ratio", value)
|
499
|
+
|
500
|
+
|