pulumi-gcp 7.24.0a1715926460__py3-none-any.whl → 7.24.0a1716510380__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/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/dataset_access.py +56 -0
- pulumi_gcp/bigquery/outputs.py +16 -0
- pulumi_gcp/cloudfunctions/function.py +21 -0
- pulumi_gcp/compute/_inputs.py +280 -0
- pulumi_gcp/compute/backend_service.py +315 -0
- pulumi_gcp/compute/outputs.py +288 -0
- pulumi_gcp/compute/region_backend_service.py +315 -0
- pulumi_gcp/compute/router_peer.py +88 -0
- pulumi_gcp/compute/security_policy.py +49 -0
- pulumi_gcp/container/_inputs.py +12 -0
- pulumi_gcp/container/outputs.py +12 -0
- pulumi_gcp/dataproc/_inputs.py +120 -46
- pulumi_gcp/dataproc/outputs.py +120 -46
- pulumi_gcp/networkservices/_inputs.py +18 -0
- pulumi_gcp/networkservices/outputs.py +18 -0
- pulumi_gcp/organizations/_inputs.py +10 -0
- pulumi_gcp/organizations/outputs.py +10 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- {pulumi_gcp-7.24.0a1715926460.dist-info → pulumi_gcp-7.24.0a1716510380.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.24.0a1715926460.dist-info → pulumi_gcp-7.24.0a1716510380.dist-info}/RECORD +23 -23
- {pulumi_gcp-7.24.0a1715926460.dist-info → pulumi_gcp-7.24.0a1716510380.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.24.0a1715926460.dist-info → pulumi_gcp-7.24.0a1716510380.dist-info}/top_level.txt +0 -0
pulumi_gcp/container/_inputs.py
CHANGED
@@ -6967,6 +6967,9 @@ class ClusterNodeConfigLinuxNodeConfigArgs:
|
|
6967
6967
|
"""
|
6968
6968
|
:param pulumi.Input[str] cgroup_mode: Possible cgroup modes that can be used.
|
6969
6969
|
Accepted values are:
|
6970
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
6971
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
6972
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
6970
6973
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sysctls: The Linux kernel parameters to be applied to the nodes
|
6971
6974
|
and all pods running on the nodes. Specified as a map from the key, such as
|
6972
6975
|
`net.core.wmem_max`, to a string value. Currently supported attributes can be found [here](https://cloud.google.com/sdk/gcloud/reference/beta/container/node-pools/create#--system-config-from-file).
|
@@ -6983,6 +6986,9 @@ class ClusterNodeConfigLinuxNodeConfigArgs:
|
|
6983
6986
|
"""
|
6984
6987
|
Possible cgroup modes that can be used.
|
6985
6988
|
Accepted values are:
|
6989
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
6990
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
6991
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
6986
6992
|
"""
|
6987
6993
|
return pulumi.get(self, "cgroup_mode")
|
6988
6994
|
|
@@ -9487,6 +9493,9 @@ class ClusterNodePoolNodeConfigLinuxNodeConfigArgs:
|
|
9487
9493
|
"""
|
9488
9494
|
:param pulumi.Input[str] cgroup_mode: Possible cgroup modes that can be used.
|
9489
9495
|
Accepted values are:
|
9496
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
9497
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
9498
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
9490
9499
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sysctls: The Linux kernel parameters to be applied to the nodes
|
9491
9500
|
and all pods running on the nodes. Specified as a map from the key, such as
|
9492
9501
|
`net.core.wmem_max`, to a string value. Currently supported attributes can be found [here](https://cloud.google.com/sdk/gcloud/reference/beta/container/node-pools/create#--system-config-from-file).
|
@@ -9503,6 +9512,9 @@ class ClusterNodePoolNodeConfigLinuxNodeConfigArgs:
|
|
9503
9512
|
"""
|
9504
9513
|
Possible cgroup modes that can be used.
|
9505
9514
|
Accepted values are:
|
9515
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
9516
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
9517
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
9506
9518
|
"""
|
9507
9519
|
return pulumi.get(self, "cgroup_mode")
|
9508
9520
|
|
pulumi_gcp/container/outputs.py
CHANGED
@@ -7652,6 +7652,9 @@ class ClusterNodeConfigLinuxNodeConfig(dict):
|
|
7652
7652
|
"""
|
7653
7653
|
:param str cgroup_mode: Possible cgroup modes that can be used.
|
7654
7654
|
Accepted values are:
|
7655
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
7656
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
7657
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
7655
7658
|
:param Mapping[str, str] sysctls: The Linux kernel parameters to be applied to the nodes
|
7656
7659
|
and all pods running on the nodes. Specified as a map from the key, such as
|
7657
7660
|
`net.core.wmem_max`, to a string value. Currently supported attributes can be found [here](https://cloud.google.com/sdk/gcloud/reference/beta/container/node-pools/create#--system-config-from-file).
|
@@ -7668,6 +7671,9 @@ class ClusterNodeConfigLinuxNodeConfig(dict):
|
|
7668
7671
|
"""
|
7669
7672
|
Possible cgroup modes that can be used.
|
7670
7673
|
Accepted values are:
|
7674
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
7675
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
7676
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
7671
7677
|
"""
|
7672
7678
|
return pulumi.get(self, "cgroup_mode")
|
7673
7679
|
|
@@ -10219,6 +10225,9 @@ class ClusterNodePoolNodeConfigLinuxNodeConfig(dict):
|
|
10219
10225
|
"""
|
10220
10226
|
:param str cgroup_mode: Possible cgroup modes that can be used.
|
10221
10227
|
Accepted values are:
|
10228
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
10229
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
10230
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
10222
10231
|
:param Mapping[str, str] sysctls: The Linux kernel parameters to be applied to the nodes
|
10223
10232
|
and all pods running on the nodes. Specified as a map from the key, such as
|
10224
10233
|
`net.core.wmem_max`, to a string value. Currently supported attributes can be found [here](https://cloud.google.com/sdk/gcloud/reference/beta/container/node-pools/create#--system-config-from-file).
|
@@ -10235,6 +10244,9 @@ class ClusterNodePoolNodeConfigLinuxNodeConfig(dict):
|
|
10235
10244
|
"""
|
10236
10245
|
Possible cgroup modes that can be used.
|
10237
10246
|
Accepted values are:
|
10247
|
+
* `CGROUP_MODE_UNSPECIFIED`: CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.
|
10248
|
+
* `CGROUP_MODE_V1`: CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.
|
10249
|
+
* `CGROUP_MODE_V2`: CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image.
|
10238
10250
|
"""
|
10239
10251
|
return pulumi.get(self, "cgroup_mode")
|
10240
10252
|
|
pulumi_gcp/dataproc/_inputs.py
CHANGED
@@ -1040,12 +1040,19 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs:
|
|
1040
1040
|
min_cpu_platform: Optional[pulumi.Input[str]] = None,
|
1041
1041
|
num_instances: Optional[pulumi.Input[int]] = None):
|
1042
1042
|
"""
|
1043
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorArgs']]] accelerators: The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
|
1043
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorArgs']]] accelerators: The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
|
1044
|
+
multiple times.
|
1044
1045
|
:param pulumi.Input['ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs'] disk_config: Disk Config
|
1045
1046
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_names: List of auxiliary node group instance names which have been assigned to the cluster.
|
1046
|
-
:param pulumi.Input[str] machine_type: The name of a Google Compute Engine machine type
|
1047
|
-
|
1048
|
-
|
1047
|
+
:param pulumi.Input[str] machine_type: The name of a Google Compute Engine machine type
|
1048
|
+
to create for the node group. If not specified, GCP will default to a predetermined
|
1049
|
+
computed value (currently `n1-standard-4`).
|
1050
|
+
:param pulumi.Input[str] min_cpu_platform: The name of a minimum generation of CPU family
|
1051
|
+
for the node group. If not specified, GCP will default to a predetermined computed value
|
1052
|
+
for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
1053
|
+
for details about which CPU families are available (and defaulted) for each zone.
|
1054
|
+
:param pulumi.Input[int] num_instances: Specifies the number of master nodes to create.
|
1055
|
+
Please set a number greater than 0. Node Group must have at least 1 instance.
|
1049
1056
|
"""
|
1050
1057
|
if accelerators is not None:
|
1051
1058
|
pulumi.set(__self__, "accelerators", accelerators)
|
@@ -1064,7 +1071,8 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs:
|
|
1064
1071
|
@pulumi.getter
|
1065
1072
|
def accelerators(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorArgs']]]]:
|
1066
1073
|
"""
|
1067
|
-
The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
|
1074
|
+
The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
|
1075
|
+
multiple times.
|
1068
1076
|
"""
|
1069
1077
|
return pulumi.get(self, "accelerators")
|
1070
1078
|
|
@@ -1100,7 +1108,9 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs:
|
|
1100
1108
|
@pulumi.getter(name="machineType")
|
1101
1109
|
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
1102
1110
|
"""
|
1103
|
-
The name of a Google Compute Engine machine type
|
1111
|
+
The name of a Google Compute Engine machine type
|
1112
|
+
to create for the node group. If not specified, GCP will default to a predetermined
|
1113
|
+
computed value (currently `n1-standard-4`).
|
1104
1114
|
"""
|
1105
1115
|
return pulumi.get(self, "machine_type")
|
1106
1116
|
|
@@ -1112,7 +1122,10 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs:
|
|
1112
1122
|
@pulumi.getter(name="minCpuPlatform")
|
1113
1123
|
def min_cpu_platform(self) -> Optional[pulumi.Input[str]]:
|
1114
1124
|
"""
|
1115
|
-
The name of a minimum generation of CPU family
|
1125
|
+
The name of a minimum generation of CPU family
|
1126
|
+
for the node group. If not specified, GCP will default to a predetermined computed value
|
1127
|
+
for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
1128
|
+
for details about which CPU families are available (and defaulted) for each zone.
|
1116
1129
|
"""
|
1117
1130
|
return pulumi.get(self, "min_cpu_platform")
|
1118
1131
|
|
@@ -1124,7 +1137,8 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs:
|
|
1124
1137
|
@pulumi.getter(name="numInstances")
|
1125
1138
|
def num_instances(self) -> Optional[pulumi.Input[int]]:
|
1126
1139
|
"""
|
1127
|
-
Specifies the number of
|
1140
|
+
Specifies the number of master nodes to create.
|
1141
|
+
Please set a number greater than 0. Node Group must have at least 1 instance.
|
1128
1142
|
"""
|
1129
1143
|
return pulumi.get(self, "num_instances")
|
1130
1144
|
|
@@ -1139,8 +1153,11 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorA
|
|
1139
1153
|
accelerator_count: pulumi.Input[int],
|
1140
1154
|
accelerator_type: pulumi.Input[str]):
|
1141
1155
|
"""
|
1142
|
-
:param pulumi.Input[int] accelerator_count: The number of the accelerator cards of this type exposed to this instance. Often restricted to one of 1
|
1143
|
-
|
1156
|
+
:param pulumi.Input[int] accelerator_count: The number of the accelerator cards of this type exposed to this instance. Often restricted to one of `1`, `2`, `4`, or `8`.
|
1157
|
+
|
1158
|
+
|
1159
|
+
- - -
|
1160
|
+
:param pulumi.Input[str] accelerator_type: The short name of the accelerator type to expose to this instance. For example, `nvidia-tesla-k80`.
|
1144
1161
|
"""
|
1145
1162
|
pulumi.set(__self__, "accelerator_count", accelerator_count)
|
1146
1163
|
pulumi.set(__self__, "accelerator_type", accelerator_type)
|
@@ -1149,7 +1166,10 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorA
|
|
1149
1166
|
@pulumi.getter(name="acceleratorCount")
|
1150
1167
|
def accelerator_count(self) -> pulumi.Input[int]:
|
1151
1168
|
"""
|
1152
|
-
The number of the accelerator cards of this type exposed to this instance. Often restricted to one of 1
|
1169
|
+
The number of the accelerator cards of this type exposed to this instance. Often restricted to one of `1`, `2`, `4`, or `8`.
|
1170
|
+
|
1171
|
+
|
1172
|
+
- - -
|
1153
1173
|
"""
|
1154
1174
|
return pulumi.get(self, "accelerator_count")
|
1155
1175
|
|
@@ -1161,7 +1181,7 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAcceleratorA
|
|
1161
1181
|
@pulumi.getter(name="acceleratorType")
|
1162
1182
|
def accelerator_type(self) -> pulumi.Input[str]:
|
1163
1183
|
"""
|
1164
|
-
The short name of the accelerator type to expose to this instance. For example, nvidia-tesla-k80
|
1184
|
+
The short name of the accelerator type to expose to this instance. For example, `nvidia-tesla-k80`.
|
1165
1185
|
"""
|
1166
1186
|
return pulumi.get(self, "accelerator_type")
|
1167
1187
|
|
@@ -1177,9 +1197,15 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigAr
|
|
1177
1197
|
boot_disk_type: Optional[pulumi.Input[str]] = None,
|
1178
1198
|
num_local_ssds: Optional[pulumi.Input[int]] = None):
|
1179
1199
|
"""
|
1180
|
-
:param pulumi.Input[int] boot_disk_size_gb: Size of the primary disk attached to each node, specified
|
1181
|
-
|
1182
|
-
|
1200
|
+
:param pulumi.Input[int] boot_disk_size_gb: Size of the primary disk attached to each node, specified
|
1201
|
+
in GB. The primary disk contains the boot volume and system libraries, and the
|
1202
|
+
smallest allowed disk size is 10GB. GCP will default to a predetermined
|
1203
|
+
computed value if not set (currently 500GB). Note: If SSDs are not
|
1204
|
+
attached, it also contains the HDFS data blocks and Hadoop working directories.
|
1205
|
+
:param pulumi.Input[str] boot_disk_type: The disk type of the primary disk attached to each node.
|
1206
|
+
One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
|
1207
|
+
:param pulumi.Input[int] num_local_ssds: The amount of local SSD disks that will be attached to each master cluster node.
|
1208
|
+
Defaults to 0.
|
1183
1209
|
"""
|
1184
1210
|
if boot_disk_size_gb is not None:
|
1185
1211
|
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
@@ -1192,7 +1218,11 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigAr
|
|
1192
1218
|
@pulumi.getter(name="bootDiskSizeGb")
|
1193
1219
|
def boot_disk_size_gb(self) -> Optional[pulumi.Input[int]]:
|
1194
1220
|
"""
|
1195
|
-
Size of the primary disk attached to each node, specified
|
1221
|
+
Size of the primary disk attached to each node, specified
|
1222
|
+
in GB. The primary disk contains the boot volume and system libraries, and the
|
1223
|
+
smallest allowed disk size is 10GB. GCP will default to a predetermined
|
1224
|
+
computed value if not set (currently 500GB). Note: If SSDs are not
|
1225
|
+
attached, it also contains the HDFS data blocks and Hadoop working directories.
|
1196
1226
|
"""
|
1197
1227
|
return pulumi.get(self, "boot_disk_size_gb")
|
1198
1228
|
|
@@ -1204,7 +1234,8 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigAr
|
|
1204
1234
|
@pulumi.getter(name="bootDiskType")
|
1205
1235
|
def boot_disk_type(self) -> Optional[pulumi.Input[str]]:
|
1206
1236
|
"""
|
1207
|
-
The disk type of the primary disk attached to each node.
|
1237
|
+
The disk type of the primary disk attached to each node.
|
1238
|
+
One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
|
1208
1239
|
"""
|
1209
1240
|
return pulumi.get(self, "boot_disk_type")
|
1210
1241
|
|
@@ -1216,7 +1247,8 @@ class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigAr
|
|
1216
1247
|
@pulumi.getter(name="numLocalSsds")
|
1217
1248
|
def num_local_ssds(self) -> Optional[pulumi.Input[int]]:
|
1218
1249
|
"""
|
1219
|
-
The amount of local SSD disks that will be attached to each master cluster node.
|
1250
|
+
The amount of local SSD disks that will be attached to each master cluster node.
|
1251
|
+
Defaults to 0.
|
1220
1252
|
"""
|
1221
1253
|
return pulumi.get(self, "num_local_ssds")
|
1222
1254
|
|
@@ -2028,9 +2060,15 @@ class ClusterClusterConfigMasterConfigDiskConfigArgs:
|
|
2028
2060
|
boot_disk_type: Optional[pulumi.Input[str]] = None,
|
2029
2061
|
num_local_ssds: Optional[pulumi.Input[int]] = None):
|
2030
2062
|
"""
|
2031
|
-
:param pulumi.Input[int] boot_disk_size_gb: Size of the primary disk attached to each node, specified
|
2032
|
-
|
2033
|
-
|
2063
|
+
:param pulumi.Input[int] boot_disk_size_gb: Size of the primary disk attached to each node, specified
|
2064
|
+
in GB. The primary disk contains the boot volume and system libraries, and the
|
2065
|
+
smallest allowed disk size is 10GB. GCP will default to a predetermined
|
2066
|
+
computed value if not set (currently 500GB). Note: If SSDs are not
|
2067
|
+
attached, it also contains the HDFS data blocks and Hadoop working directories.
|
2068
|
+
:param pulumi.Input[str] boot_disk_type: The disk type of the primary disk attached to each node.
|
2069
|
+
One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
|
2070
|
+
:param pulumi.Input[int] num_local_ssds: The amount of local SSD disks that will be
|
2071
|
+
attached to each master cluster node. Defaults to 0.
|
2034
2072
|
"""
|
2035
2073
|
if boot_disk_size_gb is not None:
|
2036
2074
|
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
@@ -2043,7 +2081,11 @@ class ClusterClusterConfigMasterConfigDiskConfigArgs:
|
|
2043
2081
|
@pulumi.getter(name="bootDiskSizeGb")
|
2044
2082
|
def boot_disk_size_gb(self) -> Optional[pulumi.Input[int]]:
|
2045
2083
|
"""
|
2046
|
-
Size of the primary disk attached to each node, specified
|
2084
|
+
Size of the primary disk attached to each node, specified
|
2085
|
+
in GB. The primary disk contains the boot volume and system libraries, and the
|
2086
|
+
smallest allowed disk size is 10GB. GCP will default to a predetermined
|
2087
|
+
computed value if not set (currently 500GB). Note: If SSDs are not
|
2088
|
+
attached, it also contains the HDFS data blocks and Hadoop working directories.
|
2047
2089
|
"""
|
2048
2090
|
return pulumi.get(self, "boot_disk_size_gb")
|
2049
2091
|
|
@@ -2055,7 +2097,8 @@ class ClusterClusterConfigMasterConfigDiskConfigArgs:
|
|
2055
2097
|
@pulumi.getter(name="bootDiskType")
|
2056
2098
|
def boot_disk_type(self) -> Optional[pulumi.Input[str]]:
|
2057
2099
|
"""
|
2058
|
-
The disk type of the primary disk attached to each node.
|
2100
|
+
The disk type of the primary disk attached to each node.
|
2101
|
+
One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
|
2059
2102
|
"""
|
2060
2103
|
return pulumi.get(self, "boot_disk_type")
|
2061
2104
|
|
@@ -2067,7 +2110,8 @@ class ClusterClusterConfigMasterConfigDiskConfigArgs:
|
|
2067
2110
|
@pulumi.getter(name="numLocalSsds")
|
2068
2111
|
def num_local_ssds(self) -> Optional[pulumi.Input[int]]:
|
2069
2112
|
"""
|
2070
|
-
The amount of local SSD disks that will be
|
2113
|
+
The amount of local SSD disks that will be
|
2114
|
+
attached to each master cluster node. Defaults to 0.
|
2071
2115
|
"""
|
2072
2116
|
return pulumi.get(self, "num_local_ssds")
|
2073
2117
|
|
@@ -2218,7 +2262,8 @@ class ClusterClusterConfigPreemptibleWorkerConfigDiskConfigArgs:
|
|
2218
2262
|
attached, it also contains the HDFS data blocks and Hadoop working directories.
|
2219
2263
|
:param pulumi.Input[str] boot_disk_type: The disk type of the primary disk attached to each preemptible worker node.
|
2220
2264
|
One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
|
2221
|
-
:param pulumi.Input[int] num_local_ssds: The amount of local SSD disks that will be
|
2265
|
+
:param pulumi.Input[int] num_local_ssds: The amount of local SSD disks that will be
|
2266
|
+
attached to each preemptible worker node. Defaults to 0.
|
2222
2267
|
"""
|
2223
2268
|
if boot_disk_size_gb is not None:
|
2224
2269
|
pulumi.set(__self__, "boot_disk_size_gb", boot_disk_size_gb)
|
@@ -2259,7 +2304,8 @@ class ClusterClusterConfigPreemptibleWorkerConfigDiskConfigArgs:
|
|
2259
2304
|
@pulumi.getter(name="numLocalSsds")
|
2260
2305
|
def num_local_ssds(self) -> Optional[pulumi.Input[int]]:
|
2261
2306
|
"""
|
2262
|
-
The amount of local SSD disks that will be
|
2307
|
+
The amount of local SSD disks that will be
|
2308
|
+
attached to each preemptible worker node. Defaults to 0.
|
2263
2309
|
"""
|
2264
2310
|
return pulumi.get(self, "num_local_ssds")
|
2265
2311
|
|
@@ -2313,8 +2359,10 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstan
|
|
2313
2359
|
machine_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2314
2360
|
rank: Optional[pulumi.Input[int]] = None):
|
2315
2361
|
"""
|
2316
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] machine_types: Full machine-type names, e.g. "n1-standard-16"
|
2317
|
-
:param pulumi.Input[int] rank: Preference of this instance selection.
|
2362
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] machine_types: Full machine-type names, e.g. `"n1-standard-16"`.
|
2363
|
+
:param pulumi.Input[int] rank: Preference of this instance selection. A lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
|
2364
|
+
|
2365
|
+
- - -
|
2318
2366
|
"""
|
2319
2367
|
if machine_types is not None:
|
2320
2368
|
pulumi.set(__self__, "machine_types", machine_types)
|
@@ -2325,7 +2373,7 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstan
|
|
2325
2373
|
@pulumi.getter(name="machineTypes")
|
2326
2374
|
def machine_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
2327
2375
|
"""
|
2328
|
-
Full machine-type names, e.g. "n1-standard-16"
|
2376
|
+
Full machine-type names, e.g. `"n1-standard-16"`.
|
2329
2377
|
"""
|
2330
2378
|
return pulumi.get(self, "machine_types")
|
2331
2379
|
|
@@ -2337,7 +2385,9 @@ class ClusterClusterConfigPreemptibleWorkerConfigInstanceFlexibilityPolicyInstan
|
|
2337
2385
|
@pulumi.getter
|
2338
2386
|
def rank(self) -> Optional[pulumi.Input[int]]:
|
2339
2387
|
"""
|
2340
|
-
Preference of this instance selection.
|
2388
|
+
Preference of this instance selection. A lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
|
2389
|
+
|
2390
|
+
- - -
|
2341
2391
|
"""
|
2342
2392
|
return pulumi.get(self, "rank")
|
2343
2393
|
|
@@ -3403,9 +3453,13 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3403
3453
|
roles: pulumi.Input[Sequence[pulumi.Input[str]]],
|
3404
3454
|
node_pool_config: Optional[pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs']] = None):
|
3405
3455
|
"""
|
3406
|
-
:param pulumi.Input[str] node_pool: The target GKE node pool.
|
3407
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] roles: The roles associated with the GKE node pool.
|
3408
|
-
|
3456
|
+
:param pulumi.Input[str] node_pool: The target GKE node pool.
|
3457
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] roles: The roles associated with the GKE node pool.
|
3458
|
+
One of `"DEFAULT"`, `"CONTROLLER"`, `"SPARK_DRIVER"` or `"SPARK_EXECUTOR"`.
|
3459
|
+
:param pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs'] node_pool_config: The configuration for the GKE node pool.
|
3460
|
+
If specified, Dataproc attempts to create a node pool with the specified shape.
|
3461
|
+
If one with the same name already exists, it is verified against all specified fields.
|
3462
|
+
If a field differs, the virtual cluster creation will fail.
|
3409
3463
|
"""
|
3410
3464
|
pulumi.set(__self__, "node_pool", node_pool)
|
3411
3465
|
pulumi.set(__self__, "roles", roles)
|
@@ -3416,7 +3470,7 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3416
3470
|
@pulumi.getter(name="nodePool")
|
3417
3471
|
def node_pool(self) -> pulumi.Input[str]:
|
3418
3472
|
"""
|
3419
|
-
The target GKE node pool.
|
3473
|
+
The target GKE node pool.
|
3420
3474
|
"""
|
3421
3475
|
return pulumi.get(self, "node_pool")
|
3422
3476
|
|
@@ -3428,7 +3482,8 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3428
3482
|
@pulumi.getter
|
3429
3483
|
def roles(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
3430
3484
|
"""
|
3431
|
-
The roles associated with the GKE node pool.
|
3485
|
+
The roles associated with the GKE node pool.
|
3486
|
+
One of `"DEFAULT"`, `"CONTROLLER"`, `"SPARK_DRIVER"` or `"SPARK_EXECUTOR"`.
|
3432
3487
|
"""
|
3433
3488
|
return pulumi.get(self, "roles")
|
3434
3489
|
|
@@ -3440,7 +3495,10 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3440
3495
|
@pulumi.getter(name="nodePoolConfig")
|
3441
3496
|
def node_pool_config(self) -> Optional[pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs']]:
|
3442
3497
|
"""
|
3443
|
-
|
3498
|
+
The configuration for the GKE node pool.
|
3499
|
+
If specified, Dataproc attempts to create a node pool with the specified shape.
|
3500
|
+
If one with the same name already exists, it is verified against all specified fields.
|
3501
|
+
If a field differs, the virtual cluster creation will fail.
|
3444
3502
|
"""
|
3445
3503
|
return pulumi.get(self, "node_pool_config")
|
3446
3504
|
|
@@ -3456,8 +3514,11 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3456
3514
|
autoscaling: Optional[pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs']] = None,
|
3457
3515
|
config: Optional[pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfigArgs']] = None):
|
3458
3516
|
"""
|
3459
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of Compute Engine zones where node pool nodes associated
|
3460
|
-
|
3517
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] locations: The list of Compute Engine zones where node pool nodes associated
|
3518
|
+
with a Dataproc on GKE virtual cluster will be located.
|
3519
|
+
- - -
|
3520
|
+
:param pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs'] autoscaling: The autoscaler configuration for this node pool.
|
3521
|
+
The autoscaler is enabled only when a valid configuration is present.
|
3461
3522
|
:param pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfigArgs'] config: The node pool configuration.
|
3462
3523
|
"""
|
3463
3524
|
pulumi.set(__self__, "locations", locations)
|
@@ -3470,7 +3531,9 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3470
3531
|
@pulumi.getter
|
3471
3532
|
def locations(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
3472
3533
|
"""
|
3473
|
-
The list of Compute Engine zones where node pool nodes associated
|
3534
|
+
The list of Compute Engine zones where node pool nodes associated
|
3535
|
+
with a Dataproc on GKE virtual cluster will be located.
|
3536
|
+
- - -
|
3474
3537
|
"""
|
3475
3538
|
return pulumi.get(self, "locations")
|
3476
3539
|
|
@@ -3482,7 +3545,8 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3482
3545
|
@pulumi.getter
|
3483
3546
|
def autoscaling(self) -> Optional[pulumi.Input['ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs']]:
|
3484
3547
|
"""
|
3485
|
-
The autoscaler configuration for this node pool.
|
3548
|
+
The autoscaler configuration for this node pool.
|
3549
|
+
The autoscaler is enabled only when a valid configuration is present.
|
3486
3550
|
"""
|
3487
3551
|
return pulumi.get(self, "autoscaling")
|
3488
3552
|
|
@@ -3551,10 +3615,15 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3551
3615
|
preemptible: Optional[pulumi.Input[bool]] = None,
|
3552
3616
|
spot: Optional[pulumi.Input[bool]] = None):
|
3553
3617
|
"""
|
3554
|
-
:param pulumi.Input[int] local_ssd_count: The
|
3618
|
+
:param pulumi.Input[int] local_ssd_count: The number of local SSD disks to attach to the node,
|
3619
|
+
which is limited by the maximum number of disks allowable per zone.
|
3555
3620
|
:param pulumi.Input[str] machine_type: The name of a Compute Engine machine type.
|
3556
|
-
:param pulumi.Input[str] min_cpu_platform: Minimum CPU platform to be used by this instance.
|
3557
|
-
|
3621
|
+
:param pulumi.Input[str] min_cpu_platform: Minimum CPU platform to be used by this instance.
|
3622
|
+
The instance may be scheduled on the specified or a newer CPU platform.
|
3623
|
+
Specify the friendly names of CPU platforms, such as "Intel Haswell" or "Intel Sandy Bridge".
|
3624
|
+
:param pulumi.Input[bool] preemptible: Whether the nodes are created as preemptible VM instances.
|
3625
|
+
Preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the
|
3626
|
+
CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
|
3558
3627
|
:param pulumi.Input[bool] spot: Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
|
3559
3628
|
"""
|
3560
3629
|
if local_ssd_count is not None:
|
@@ -3572,7 +3641,8 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3572
3641
|
@pulumi.getter(name="localSsdCount")
|
3573
3642
|
def local_ssd_count(self) -> Optional[pulumi.Input[int]]:
|
3574
3643
|
"""
|
3575
|
-
The
|
3644
|
+
The number of local SSD disks to attach to the node,
|
3645
|
+
which is limited by the maximum number of disks allowable per zone.
|
3576
3646
|
"""
|
3577
3647
|
return pulumi.get(self, "local_ssd_count")
|
3578
3648
|
|
@@ -3596,7 +3666,9 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3596
3666
|
@pulumi.getter(name="minCpuPlatform")
|
3597
3667
|
def min_cpu_platform(self) -> Optional[pulumi.Input[str]]:
|
3598
3668
|
"""
|
3599
|
-
Minimum CPU platform to be used by this instance.
|
3669
|
+
Minimum CPU platform to be used by this instance.
|
3670
|
+
The instance may be scheduled on the specified or a newer CPU platform.
|
3671
|
+
Specify the friendly names of CPU platforms, such as "Intel Haswell" or "Intel Sandy Bridge".
|
3600
3672
|
"""
|
3601
3673
|
return pulumi.get(self, "min_cpu_platform")
|
3602
3674
|
|
@@ -3608,7 +3680,9 @@ class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePool
|
|
3608
3680
|
@pulumi.getter
|
3609
3681
|
def preemptible(self) -> Optional[pulumi.Input[bool]]:
|
3610
3682
|
"""
|
3611
|
-
Whether the nodes are created as preemptible VM instances.
|
3683
|
+
Whether the nodes are created as preemptible VM instances.
|
3684
|
+
Preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the
|
3685
|
+
CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
|
3612
3686
|
"""
|
3613
3687
|
return pulumi.get(self, "preemptible")
|
3614
3688
|
|