pulumi-gcp 7.35.0__py3-none-any.whl → 7.35.0a1722924350__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/accesscontextmanager/_inputs.py +3 -12
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/outputs.py +2 -8
- pulumi_gcp/bigquery/data_transfer_config.py +0 -52
- pulumi_gcp/compute/_inputs.py +24 -24
- pulumi_gcp/compute/disk.py +0 -75
- pulumi_gcp/compute/get_disk.py +1 -11
- pulumi_gcp/compute/get_hc_vpn_gateway.py +1 -11
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +7 -68
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/firebase/project.py +2 -10
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/migrationcenter/_inputs.py +129 -21
- pulumi_gcp/migrationcenter/outputs.py +86 -14
- pulumi_gcp/networkconnectivity/hub.py +0 -69
- pulumi_gcp/organizations/project.py +7 -16
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +15 -35
- pulumi_gcp/sql/outputs.py +14 -50
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/RECORD +28 -28
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.35.0.dist-info → pulumi_gcp-7.35.0a1722924350.dist-info}/top_level.txt +0 -0
@@ -2686,10 +2686,7 @@ if not MYPY:
|
|
2686
2686
|
"""
|
2687
2687
|
A Google Cloud resource that is allowed to ingress the perimeter.
|
2688
2688
|
Requests from these resources will be allowed to access perimeter data.
|
2689
|
-
Currently only projects
|
2690
|
-
Project format: `projects/{projectNumber}`
|
2691
|
-
VPC network format:
|
2692
|
-
`//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
2689
|
+
Currently only projects are allowed. Format `projects/{project_number}`
|
2693
2690
|
The project may be in any Google Cloud organization, not just the
|
2694
2691
|
organization that the perimeter is defined in. `*` is not allowed, the case
|
2695
2692
|
of allowing all Google Cloud resources only is not supported.
|
@@ -2713,10 +2710,7 @@ class ServicePerimeterIngressPolicyIngressFromSourceArgs:
|
|
2713
2710
|
If * is specified, then all IngressSources will be allowed.
|
2714
2711
|
:param pulumi.Input[str] resource: A Google Cloud resource that is allowed to ingress the perimeter.
|
2715
2712
|
Requests from these resources will be allowed to access perimeter data.
|
2716
|
-
Currently only projects
|
2717
|
-
Project format: `projects/{projectNumber}`
|
2718
|
-
VPC network format:
|
2719
|
-
`//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
2713
|
+
Currently only projects are allowed. Format `projects/{project_number}`
|
2720
2714
|
The project may be in any Google Cloud organization, not just the
|
2721
2715
|
organization that the perimeter is defined in. `*` is not allowed, the case
|
2722
2716
|
of allowing all Google Cloud resources only is not supported.
|
@@ -2751,10 +2745,7 @@ class ServicePerimeterIngressPolicyIngressFromSourceArgs:
|
|
2751
2745
|
"""
|
2752
2746
|
A Google Cloud resource that is allowed to ingress the perimeter.
|
2753
2747
|
Requests from these resources will be allowed to access perimeter data.
|
2754
|
-
Currently only projects
|
2755
|
-
Project format: `projects/{projectNumber}`
|
2756
|
-
VPC network format:
|
2757
|
-
`//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
2748
|
+
Currently only projects are allowed. Format `projects/{project_number}`
|
2758
2749
|
The project may be in any Google Cloud organization, not just the
|
2759
2750
|
organization that the perimeter is defined in. `*` is not allowed, the case
|
2760
2751
|
of allowing all Google Cloud resources only is not supported.
|
@@ -25,13 +25,13 @@ class AccessPolicyArgs:
|
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a AccessPolicy resource.
|
27
27
|
:param pulumi.Input[str] parent: The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
28
|
-
Format:
|
28
|
+
Format: organizations/{organization_id}
|
29
29
|
:param pulumi.Input[str] title: Human readable title. Does not affect behavior.
|
30
30
|
|
31
31
|
|
32
32
|
- - -
|
33
33
|
:param pulumi.Input[str] scopes: Folder or project on which this policy is applicable.
|
34
|
-
Format:
|
34
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
35
35
|
"""
|
36
36
|
pulumi.set(__self__, "parent", parent)
|
37
37
|
pulumi.set(__self__, "title", title)
|
@@ -43,7 +43,7 @@ class AccessPolicyArgs:
|
|
43
43
|
def parent(self) -> pulumi.Input[str]:
|
44
44
|
"""
|
45
45
|
The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
46
|
-
Format:
|
46
|
+
Format: organizations/{organization_id}
|
47
47
|
"""
|
48
48
|
return pulumi.get(self, "parent")
|
49
49
|
|
@@ -71,7 +71,7 @@ class AccessPolicyArgs:
|
|
71
71
|
def scopes(self) -> Optional[pulumi.Input[str]]:
|
72
72
|
"""
|
73
73
|
Folder or project on which this policy is applicable.
|
74
|
-
Format:
|
74
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
75
75
|
"""
|
76
76
|
return pulumi.get(self, "scopes")
|
77
77
|
|
@@ -92,11 +92,11 @@ class _AccessPolicyState:
|
|
92
92
|
"""
|
93
93
|
Input properties used for looking up and filtering AccessPolicy resources.
|
94
94
|
:param pulumi.Input[str] create_time: Time the AccessPolicy was created in UTC.
|
95
|
-
:param pulumi.Input[str] name: Resource name of the AccessPolicy. Format:
|
95
|
+
:param pulumi.Input[str] name: Resource name of the AccessPolicy. Format: {policy_id}
|
96
96
|
:param pulumi.Input[str] parent: The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
97
|
-
Format:
|
97
|
+
Format: organizations/{organization_id}
|
98
98
|
:param pulumi.Input[str] scopes: Folder or project on which this policy is applicable.
|
99
|
-
Format:
|
99
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
100
100
|
:param pulumi.Input[str] title: Human readable title. Does not affect behavior.
|
101
101
|
|
102
102
|
|
@@ -132,7 +132,7 @@ class _AccessPolicyState:
|
|
132
132
|
@pulumi.getter
|
133
133
|
def name(self) -> Optional[pulumi.Input[str]]:
|
134
134
|
"""
|
135
|
-
Resource name of the AccessPolicy. Format:
|
135
|
+
Resource name of the AccessPolicy. Format: {policy_id}
|
136
136
|
"""
|
137
137
|
return pulumi.get(self, "name")
|
138
138
|
|
@@ -145,7 +145,7 @@ class _AccessPolicyState:
|
|
145
145
|
def parent(self) -> Optional[pulumi.Input[str]]:
|
146
146
|
"""
|
147
147
|
The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
148
|
-
Format:
|
148
|
+
Format: organizations/{organization_id}
|
149
149
|
"""
|
150
150
|
return pulumi.get(self, "parent")
|
151
151
|
|
@@ -158,7 +158,7 @@ class _AccessPolicyState:
|
|
158
158
|
def scopes(self) -> Optional[pulumi.Input[str]]:
|
159
159
|
"""
|
160
160
|
Folder or project on which this policy is applicable.
|
161
|
-
Format:
|
161
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
162
162
|
"""
|
163
163
|
return pulumi.get(self, "scopes")
|
164
164
|
|
@@ -265,9 +265,9 @@ class AccessPolicy(pulumi.CustomResource):
|
|
265
265
|
:param str resource_name: The name of the resource.
|
266
266
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
267
|
:param pulumi.Input[str] parent: The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
268
|
-
Format:
|
268
|
+
Format: organizations/{organization_id}
|
269
269
|
:param pulumi.Input[str] scopes: Folder or project on which this policy is applicable.
|
270
|
-
Format:
|
270
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
271
271
|
:param pulumi.Input[str] title: Human readable title. Does not affect behavior.
|
272
272
|
|
273
273
|
|
@@ -399,11 +399,11 @@ class AccessPolicy(pulumi.CustomResource):
|
|
399
399
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
400
400
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
401
401
|
:param pulumi.Input[str] create_time: Time the AccessPolicy was created in UTC.
|
402
|
-
:param pulumi.Input[str] name: Resource name of the AccessPolicy. Format:
|
402
|
+
:param pulumi.Input[str] name: Resource name of the AccessPolicy. Format: {policy_id}
|
403
403
|
:param pulumi.Input[str] parent: The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
404
|
-
Format:
|
404
|
+
Format: organizations/{organization_id}
|
405
405
|
:param pulumi.Input[str] scopes: Folder or project on which this policy is applicable.
|
406
|
-
Format:
|
406
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
407
407
|
:param pulumi.Input[str] title: Human readable title. Does not affect behavior.
|
408
408
|
|
409
409
|
|
@@ -434,7 +434,7 @@ class AccessPolicy(pulumi.CustomResource):
|
|
434
434
|
@pulumi.getter
|
435
435
|
def name(self) -> pulumi.Output[str]:
|
436
436
|
"""
|
437
|
-
Resource name of the AccessPolicy. Format:
|
437
|
+
Resource name of the AccessPolicy. Format: {policy_id}
|
438
438
|
"""
|
439
439
|
return pulumi.get(self, "name")
|
440
440
|
|
@@ -443,7 +443,7 @@ class AccessPolicy(pulumi.CustomResource):
|
|
443
443
|
def parent(self) -> pulumi.Output[str]:
|
444
444
|
"""
|
445
445
|
The parent of this AccessPolicy in the Cloud Resource Hierarchy.
|
446
|
-
Format:
|
446
|
+
Format: organizations/{organization_id}
|
447
447
|
"""
|
448
448
|
return pulumi.get(self, "parent")
|
449
449
|
|
@@ -452,7 +452,7 @@ class AccessPolicy(pulumi.CustomResource):
|
|
452
452
|
def scopes(self) -> pulumi.Output[Optional[str]]:
|
453
453
|
"""
|
454
454
|
Folder or project on which this policy is applicable.
|
455
|
-
Format:
|
455
|
+
Format: folders/{{folder_id}} or projects/{{project_id}}
|
456
456
|
"""
|
457
457
|
return pulumi.get(self, "scopes")
|
458
458
|
|
@@ -2049,10 +2049,7 @@ class ServicePerimeterIngressPolicyIngressFromSource(dict):
|
|
2049
2049
|
If * is specified, then all IngressSources will be allowed.
|
2050
2050
|
:param str resource: A Google Cloud resource that is allowed to ingress the perimeter.
|
2051
2051
|
Requests from these resources will be allowed to access perimeter data.
|
2052
|
-
Currently only projects
|
2053
|
-
Project format: `projects/{projectNumber}`
|
2054
|
-
VPC network format:
|
2055
|
-
`//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
2052
|
+
Currently only projects are allowed. Format `projects/{project_number}`
|
2056
2053
|
The project may be in any Google Cloud organization, not just the
|
2057
2054
|
organization that the perimeter is defined in. `*` is not allowed, the case
|
2058
2055
|
of allowing all Google Cloud resources only is not supported.
|
@@ -2083,10 +2080,7 @@ class ServicePerimeterIngressPolicyIngressFromSource(dict):
|
|
2083
2080
|
"""
|
2084
2081
|
A Google Cloud resource that is allowed to ingress the perimeter.
|
2085
2082
|
Requests from these resources will be allowed to access perimeter data.
|
2086
|
-
Currently only projects
|
2087
|
-
Project format: `projects/{projectNumber}`
|
2088
|
-
VPC network format:
|
2089
|
-
`//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
2083
|
+
Currently only projects are allowed. Format `projects/{project_number}`
|
2090
2084
|
The project may be in any Google Cloud organization, not just the
|
2091
2085
|
organization that the perimeter is defined in. `*` is not allowed, the case
|
2092
2086
|
of allowing all Google Cloud resources only is not supported.
|
@@ -693,32 +693,6 @@ class DataTransferConfig(pulumi.CustomResource):
|
|
693
693
|
},
|
694
694
|
opts = pulumi.ResourceOptions(depends_on=[permissions]))
|
695
695
|
```
|
696
|
-
### Bigquerydatatransfer Config Salesforce
|
697
|
-
|
698
|
-
```python
|
699
|
-
import pulumi
|
700
|
-
import pulumi_gcp as gcp
|
701
|
-
|
702
|
-
project = gcp.organizations.get_project()
|
703
|
-
my_dataset = gcp.bigquery.Dataset("my_dataset",
|
704
|
-
dataset_id="my_dataset",
|
705
|
-
description="My dataset",
|
706
|
-
location="asia-northeast1")
|
707
|
-
salesforce_config = gcp.bigquery.DataTransferConfig("salesforce_config",
|
708
|
-
display_name="my-salesforce-config",
|
709
|
-
location="asia-northeast1",
|
710
|
-
data_source_id="salesforce",
|
711
|
-
schedule="first sunday of quarter 00:00",
|
712
|
-
destination_dataset_id=my_dataset.dataset_id,
|
713
|
-
params={
|
714
|
-
"connector.authentication.oauth.clientId": "client-id",
|
715
|
-
"connector.authentication.oauth.clientSecret": "client-secret",
|
716
|
-
"connector.authentication.username": "username",
|
717
|
-
"connector.authentication.password": "password",
|
718
|
-
"connector.authentication.securityToken": "security-token",
|
719
|
-
"assets": "[\\"asset-a\\",\\"asset-b\\"]",
|
720
|
-
})
|
721
|
-
```
|
722
696
|
|
723
697
|
## Import
|
724
698
|
|
@@ -829,32 +803,6 @@ class DataTransferConfig(pulumi.CustomResource):
|
|
829
803
|
},
|
830
804
|
opts = pulumi.ResourceOptions(depends_on=[permissions]))
|
831
805
|
```
|
832
|
-
### Bigquerydatatransfer Config Salesforce
|
833
|
-
|
834
|
-
```python
|
835
|
-
import pulumi
|
836
|
-
import pulumi_gcp as gcp
|
837
|
-
|
838
|
-
project = gcp.organizations.get_project()
|
839
|
-
my_dataset = gcp.bigquery.Dataset("my_dataset",
|
840
|
-
dataset_id="my_dataset",
|
841
|
-
description="My dataset",
|
842
|
-
location="asia-northeast1")
|
843
|
-
salesforce_config = gcp.bigquery.DataTransferConfig("salesforce_config",
|
844
|
-
display_name="my-salesforce-config",
|
845
|
-
location="asia-northeast1",
|
846
|
-
data_source_id="salesforce",
|
847
|
-
schedule="first sunday of quarter 00:00",
|
848
|
-
destination_dataset_id=my_dataset.dataset_id,
|
849
|
-
params={
|
850
|
-
"connector.authentication.oauth.clientId": "client-id",
|
851
|
-
"connector.authentication.oauth.clientSecret": "client-secret",
|
852
|
-
"connector.authentication.username": "username",
|
853
|
-
"connector.authentication.password": "password",
|
854
|
-
"connector.authentication.securityToken": "security-token",
|
855
|
-
"assets": "[\\"asset-a\\",\\"asset-b\\"]",
|
856
|
-
})
|
857
|
-
```
|
858
806
|
|
859
807
|
## Import
|
860
808
|
|
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -13962,19 +13962,19 @@ if not MYPY:
|
|
13962
13962
|
"""
|
13963
13963
|
max_surge_fixed: NotRequired[pulumi.Input[int]]
|
13964
13964
|
"""
|
13965
|
-
,
|
13965
|
+
, The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. If neither is set, defaults to 1
|
13966
13966
|
"""
|
13967
13967
|
max_surge_percent: NotRequired[pulumi.Input[int]]
|
13968
13968
|
"""
|
13969
|
-
,
|
13969
|
+
, The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`.
|
13970
13970
|
"""
|
13971
13971
|
max_unavailable_fixed: NotRequired[pulumi.Input[int]]
|
13972
13972
|
"""
|
13973
|
-
,
|
13973
|
+
, The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. If neither is set, defaults to 1
|
13974
13974
|
"""
|
13975
13975
|
max_unavailable_percent: NotRequired[pulumi.Input[int]]
|
13976
13976
|
"""
|
13977
|
-
,
|
13977
|
+
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`.
|
13978
13978
|
"""
|
13979
13979
|
min_ready_sec: NotRequired[pulumi.Input[int]]
|
13980
13980
|
"""
|
@@ -14007,10 +14007,10 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14007
14007
|
"""
|
14008
14008
|
:param pulumi.Input[str] minimal_action: Minimal action to be taken on an instance. You can specify either `NONE` to forbid any actions, `REFRESH` to update without stopping instances, `RESTART` to restart existing instances or `REPLACE` to delete and create new instances from the target template. If you specify a `REFRESH`, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
|
14009
14009
|
:param pulumi.Input[str] type: The type of update process. You can specify either `PROACTIVE` so that the instance group manager proactively executes actions in order to bring instances to their target versions or `OPPORTUNISTIC` so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
|
14010
|
-
:param pulumi.Input[int] max_surge_fixed: ,
|
14011
|
-
:param pulumi.Input[int] max_surge_percent: ,
|
14012
|
-
:param pulumi.Input[int] max_unavailable_fixed: ,
|
14013
|
-
:param pulumi.Input[int] max_unavailable_percent: ,
|
14010
|
+
:param pulumi.Input[int] max_surge_fixed: , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. If neither is set, defaults to 1
|
14011
|
+
:param pulumi.Input[int] max_surge_percent: , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`.
|
14012
|
+
:param pulumi.Input[int] max_unavailable_fixed: , The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. If neither is set, defaults to 1
|
14013
|
+
:param pulumi.Input[int] max_unavailable_percent: , The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`.
|
14014
14014
|
:param pulumi.Input[int] min_ready_sec: , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
|
14015
14015
|
:param pulumi.Input[str] most_disruptive_allowed_action: Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
|
14016
14016
|
:param pulumi.Input[str] replacement_method: , The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
|
@@ -14061,7 +14061,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14061
14061
|
@pulumi.getter(name="maxSurgeFixed")
|
14062
14062
|
def max_surge_fixed(self) -> Optional[pulumi.Input[int]]:
|
14063
14063
|
"""
|
14064
|
-
,
|
14064
|
+
, The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. If neither is set, defaults to 1
|
14065
14065
|
"""
|
14066
14066
|
return pulumi.get(self, "max_surge_fixed")
|
14067
14067
|
|
@@ -14073,7 +14073,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14073
14073
|
@pulumi.getter(name="maxSurgePercent")
|
14074
14074
|
def max_surge_percent(self) -> Optional[pulumi.Input[int]]:
|
14075
14075
|
"""
|
14076
|
-
,
|
14076
|
+
, The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`.
|
14077
14077
|
"""
|
14078
14078
|
return pulumi.get(self, "max_surge_percent")
|
14079
14079
|
|
@@ -14085,7 +14085,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14085
14085
|
@pulumi.getter(name="maxUnavailableFixed")
|
14086
14086
|
def max_unavailable_fixed(self) -> Optional[pulumi.Input[int]]:
|
14087
14087
|
"""
|
14088
|
-
,
|
14088
|
+
, The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. If neither is set, defaults to 1
|
14089
14089
|
"""
|
14090
14090
|
return pulumi.get(self, "max_unavailable_fixed")
|
14091
14091
|
|
@@ -14097,7 +14097,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14097
14097
|
@pulumi.getter(name="maxUnavailablePercent")
|
14098
14098
|
def max_unavailable_percent(self) -> Optional[pulumi.Input[int]]:
|
14099
14099
|
"""
|
14100
|
-
,
|
14100
|
+
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`.
|
14101
14101
|
"""
|
14102
14102
|
return pulumi.get(self, "max_unavailable_percent")
|
14103
14103
|
|
@@ -27090,19 +27090,19 @@ if not MYPY:
|
|
27090
27090
|
"""
|
27091
27091
|
max_surge_fixed: NotRequired[pulumi.Input[int]]
|
27092
27092
|
"""
|
27093
|
-
,
|
27093
|
+
, The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27094
27094
|
"""
|
27095
27095
|
max_surge_percent: NotRequired[pulumi.Input[int]]
|
27096
27096
|
"""
|
27097
|
-
,
|
27097
|
+
, The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27098
27098
|
"""
|
27099
27099
|
max_unavailable_fixed: NotRequired[pulumi.Input[int]]
|
27100
27100
|
"""
|
27101
|
-
,
|
27101
|
+
, The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27102
27102
|
"""
|
27103
27103
|
max_unavailable_percent: NotRequired[pulumi.Input[int]]
|
27104
27104
|
"""
|
27105
|
-
,
|
27105
|
+
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27106
27106
|
"""
|
27107
27107
|
min_ready_sec: NotRequired[pulumi.Input[int]]
|
27108
27108
|
"""
|
@@ -27137,10 +27137,10 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27137
27137
|
:param pulumi.Input[str] minimal_action: Minimal action to be taken on an instance. You can specify either `NONE` to forbid any actions, `REFRESH` to update without stopping instances, `RESTART` to restart existing instances or `REPLACE` to delete and create new instances from the target template. If you specify a `REFRESH`, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
|
27138
27138
|
:param pulumi.Input[str] type: The type of update process. You can specify either `PROACTIVE` so that the instance group manager proactively executes actions in order to bring instances to their target versions or `OPPORTUNISTIC` so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
|
27139
27139
|
:param pulumi.Input[str] instance_redistribution_type: The instance redistribution policy for regional managed instance groups. Valid values are: `"PROACTIVE"`, `"NONE"`. If `PROACTIVE` (default), the group attempts to maintain an even distribution of VM instances across zones in the region. If `NONE`, proactive redistribution is disabled.
|
27140
|
-
:param pulumi.Input[int] max_surge_fixed: ,
|
27141
|
-
:param pulumi.Input[int] max_surge_percent: ,
|
27142
|
-
:param pulumi.Input[int] max_unavailable_fixed: ,
|
27143
|
-
:param pulumi.Input[int] max_unavailable_percent: ,
|
27140
|
+
:param pulumi.Input[int] max_surge_fixed: , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27141
|
+
:param pulumi.Input[int] max_surge_percent: , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27142
|
+
:param pulumi.Input[int] max_unavailable_fixed: , The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27143
|
+
:param pulumi.Input[int] max_unavailable_percent: , The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27144
27144
|
:param pulumi.Input[int] min_ready_sec: , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
|
27145
27145
|
:param pulumi.Input[str] most_disruptive_allowed_action: Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
|
27146
27146
|
:param pulumi.Input[str] replacement_method: , The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
|
@@ -27205,7 +27205,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27205
27205
|
@pulumi.getter(name="maxSurgeFixed")
|
27206
27206
|
def max_surge_fixed(self) -> Optional[pulumi.Input[int]]:
|
27207
27207
|
"""
|
27208
|
-
,
|
27208
|
+
, The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27209
27209
|
"""
|
27210
27210
|
return pulumi.get(self, "max_surge_fixed")
|
27211
27211
|
|
@@ -27217,7 +27217,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27217
27217
|
@pulumi.getter(name="maxSurgePercent")
|
27218
27218
|
def max_surge_percent(self) -> Optional[pulumi.Input[int]]:
|
27219
27219
|
"""
|
27220
|
-
,
|
27220
|
+
, The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27221
27221
|
"""
|
27222
27222
|
return pulumi.get(self, "max_surge_percent")
|
27223
27223
|
|
@@ -27229,7 +27229,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27229
27229
|
@pulumi.getter(name="maxUnavailableFixed")
|
27230
27230
|
def max_unavailable_fixed(self) -> Optional[pulumi.Input[int]]:
|
27231
27231
|
"""
|
27232
|
-
,
|
27232
|
+
, The maximum number of instances that can be unavailable during the update process. Conflicts with `max_unavailable_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0.
|
27233
27233
|
"""
|
27234
27234
|
return pulumi.get(self, "max_unavailable_fixed")
|
27235
27235
|
|
@@ -27241,7 +27241,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27241
27241
|
@pulumi.getter(name="maxUnavailablePercent")
|
27242
27242
|
def max_unavailable_percent(self) -> Optional[pulumi.Input[int]]:
|
27243
27243
|
"""
|
27244
|
-
,
|
27244
|
+
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with `max_unavailable_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.
|
27245
27245
|
"""
|
27246
27246
|
return pulumi.get(self, "max_unavailable_percent")
|
27247
27247
|
|
pulumi_gcp/compute/disk.py
CHANGED
@@ -21,7 +21,6 @@ __all__ = ['DiskArgs', 'Disk']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class DiskArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
access_mode: Optional[pulumi.Input[str]] = None,
|
25
24
|
async_primary_disk: Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']] = None,
|
26
25
|
description: Optional[pulumi.Input[str]] = None,
|
27
26
|
disk_encryption_key: Optional[pulumi.Input['DiskDiskEncryptionKeyArgs']] = None,
|
@@ -48,11 +47,6 @@ class DiskArgs:
|
|
48
47
|
zone: Optional[pulumi.Input[str]] = None):
|
49
48
|
"""
|
50
49
|
The set of arguments for constructing a Disk resource.
|
51
|
-
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
52
|
-
For example:
|
53
|
-
* READ_WRITE_SINGLE
|
54
|
-
* READ_WRITE_MANY
|
55
|
-
* READ_ONLY_SINGLE
|
56
50
|
:param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
|
57
51
|
Structure is documented below.
|
58
52
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -160,8 +154,6 @@ class DiskArgs:
|
|
160
154
|
create the disk. Provide this when creating the disk.
|
161
155
|
:param pulumi.Input[str] zone: A reference to the zone where the disk resides.
|
162
156
|
"""
|
163
|
-
if access_mode is not None:
|
164
|
-
pulumi.set(__self__, "access_mode", access_mode)
|
165
157
|
if async_primary_disk is not None:
|
166
158
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
167
159
|
if description is not None:
|
@@ -214,22 +206,6 @@ class DiskArgs:
|
|
214
206
|
if zone is not None:
|
215
207
|
pulumi.set(__self__, "zone", zone)
|
216
208
|
|
217
|
-
@property
|
218
|
-
@pulumi.getter(name="accessMode")
|
219
|
-
def access_mode(self) -> Optional[pulumi.Input[str]]:
|
220
|
-
"""
|
221
|
-
The accessMode of the disk.
|
222
|
-
For example:
|
223
|
-
* READ_WRITE_SINGLE
|
224
|
-
* READ_WRITE_MANY
|
225
|
-
* READ_ONLY_SINGLE
|
226
|
-
"""
|
227
|
-
return pulumi.get(self, "access_mode")
|
228
|
-
|
229
|
-
@access_mode.setter
|
230
|
-
def access_mode(self, value: Optional[pulumi.Input[str]]):
|
231
|
-
pulumi.set(self, "access_mode", value)
|
232
|
-
|
233
209
|
@property
|
234
210
|
@pulumi.getter(name="asyncPrimaryDisk")
|
235
211
|
def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
|
@@ -605,7 +581,6 @@ class DiskArgs:
|
|
605
581
|
@pulumi.input_type
|
606
582
|
class _DiskState:
|
607
583
|
def __init__(__self__, *,
|
608
|
-
access_mode: Optional[pulumi.Input[str]] = None,
|
609
584
|
async_primary_disk: Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']] = None,
|
610
585
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
611
586
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -644,11 +619,6 @@ class _DiskState:
|
|
644
619
|
zone: Optional[pulumi.Input[str]] = None):
|
645
620
|
"""
|
646
621
|
Input properties used for looking up and filtering Disk resources.
|
647
|
-
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
648
|
-
For example:
|
649
|
-
* READ_WRITE_SINGLE
|
650
|
-
* READ_WRITE_MANY
|
651
|
-
* READ_ONLY_SINGLE
|
652
622
|
:param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
|
653
623
|
Structure is documented below.
|
654
624
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
@@ -782,8 +752,6 @@ class _DiskState:
|
|
782
752
|
project/zones/zone/instances/instance
|
783
753
|
:param pulumi.Input[str] zone: A reference to the zone where the disk resides.
|
784
754
|
"""
|
785
|
-
if access_mode is not None:
|
786
|
-
pulumi.set(__self__, "access_mode", access_mode)
|
787
755
|
if async_primary_disk is not None:
|
788
756
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
789
757
|
if creation_timestamp is not None:
|
@@ -860,22 +828,6 @@ class _DiskState:
|
|
860
828
|
if zone is not None:
|
861
829
|
pulumi.set(__self__, "zone", zone)
|
862
830
|
|
863
|
-
@property
|
864
|
-
@pulumi.getter(name="accessMode")
|
865
|
-
def access_mode(self) -> Optional[pulumi.Input[str]]:
|
866
|
-
"""
|
867
|
-
The accessMode of the disk.
|
868
|
-
For example:
|
869
|
-
* READ_WRITE_SINGLE
|
870
|
-
* READ_WRITE_MANY
|
871
|
-
* READ_ONLY_SINGLE
|
872
|
-
"""
|
873
|
-
return pulumi.get(self, "access_mode")
|
874
|
-
|
875
|
-
@access_mode.setter
|
876
|
-
def access_mode(self, value: Optional[pulumi.Input[str]]):
|
877
|
-
pulumi.set(self, "access_mode", value)
|
878
|
-
|
879
831
|
@property
|
880
832
|
@pulumi.getter(name="asyncPrimaryDisk")
|
881
833
|
def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
|
@@ -1411,7 +1363,6 @@ class Disk(pulumi.CustomResource):
|
|
1411
1363
|
def __init__(__self__,
|
1412
1364
|
resource_name: str,
|
1413
1365
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1414
|
-
access_mode: Optional[pulumi.Input[str]] = None,
|
1415
1366
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1416
1367
|
description: Optional[pulumi.Input[str]] = None,
|
1417
1368
|
disk_encryption_key: Optional[pulumi.Input[Union['DiskDiskEncryptionKeyArgs', 'DiskDiskEncryptionKeyArgsDict']]] = None,
|
@@ -1558,11 +1509,6 @@ class Disk(pulumi.CustomResource):
|
|
1558
1509
|
|
1559
1510
|
:param str resource_name: The name of the resource.
|
1560
1511
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1561
|
-
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
1562
|
-
For example:
|
1563
|
-
* READ_WRITE_SINGLE
|
1564
|
-
* READ_WRITE_MANY
|
1565
|
-
* READ_ONLY_SINGLE
|
1566
1512
|
:param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
|
1567
1513
|
Structure is documented below.
|
1568
1514
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -1810,7 +1756,6 @@ class Disk(pulumi.CustomResource):
|
|
1810
1756
|
def _internal_init(__self__,
|
1811
1757
|
resource_name: str,
|
1812
1758
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1813
|
-
access_mode: Optional[pulumi.Input[str]] = None,
|
1814
1759
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1815
1760
|
description: Optional[pulumi.Input[str]] = None,
|
1816
1761
|
disk_encryption_key: Optional[pulumi.Input[Union['DiskDiskEncryptionKeyArgs', 'DiskDiskEncryptionKeyArgsDict']]] = None,
|
@@ -1844,7 +1789,6 @@ class Disk(pulumi.CustomResource):
|
|
1844
1789
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1845
1790
|
__props__ = DiskArgs.__new__(DiskArgs)
|
1846
1791
|
|
1847
|
-
__props__.__dict__["access_mode"] = access_mode
|
1848
1792
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1849
1793
|
__props__.__dict__["description"] = description
|
1850
1794
|
__props__.__dict__["disk_encryption_key"] = disk_encryption_key
|
@@ -1893,7 +1837,6 @@ class Disk(pulumi.CustomResource):
|
|
1893
1837
|
def get(resource_name: str,
|
1894
1838
|
id: pulumi.Input[str],
|
1895
1839
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1896
|
-
access_mode: Optional[pulumi.Input[str]] = None,
|
1897
1840
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1898
1841
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1899
1842
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1937,11 +1880,6 @@ class Disk(pulumi.CustomResource):
|
|
1937
1880
|
:param str resource_name: The unique name of the resulting resource.
|
1938
1881
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1939
1882
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1940
|
-
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
1941
|
-
For example:
|
1942
|
-
* READ_WRITE_SINGLE
|
1943
|
-
* READ_WRITE_MANY
|
1944
|
-
* READ_ONLY_SINGLE
|
1945
1883
|
:param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
|
1946
1884
|
Structure is documented below.
|
1947
1885
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
@@ -2079,7 +2017,6 @@ class Disk(pulumi.CustomResource):
|
|
2079
2017
|
|
2080
2018
|
__props__ = _DiskState.__new__(_DiskState)
|
2081
2019
|
|
2082
|
-
__props__.__dict__["access_mode"] = access_mode
|
2083
2020
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
2084
2021
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
2085
2022
|
__props__.__dict__["description"] = description
|
@@ -2118,18 +2055,6 @@ class Disk(pulumi.CustomResource):
|
|
2118
2055
|
__props__.__dict__["zone"] = zone
|
2119
2056
|
return Disk(resource_name, opts=opts, __props__=__props__)
|
2120
2057
|
|
2121
|
-
@property
|
2122
|
-
@pulumi.getter(name="accessMode")
|
2123
|
-
def access_mode(self) -> pulumi.Output[str]:
|
2124
|
-
"""
|
2125
|
-
The accessMode of the disk.
|
2126
|
-
For example:
|
2127
|
-
* READ_WRITE_SINGLE
|
2128
|
-
* READ_WRITE_MANY
|
2129
|
-
* READ_ONLY_SINGLE
|
2130
|
-
"""
|
2131
|
-
return pulumi.get(self, "access_mode")
|
2132
|
-
|
2133
2058
|
@property
|
2134
2059
|
@pulumi.getter(name="asyncPrimaryDisk")
|
2135
2060
|
def async_primary_disk(self) -> pulumi.Output[Optional['outputs.DiskAsyncPrimaryDisk']]:
|