pulumi-gcp 7.21.0__py3-none-any.whl → 7.21.0a1714149635__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -40
- pulumi_gcp/alloydb/_inputs.py +0 -74
- pulumi_gcp/alloydb/backup.py +12 -0
- pulumi_gcp/alloydb/cluster.py +12 -0
- pulumi_gcp/alloydb/instance.py +81 -90
- pulumi_gcp/alloydb/outputs.py +0 -98
- pulumi_gcp/apigee/environment.py +0 -47
- pulumi_gcp/apigee/sharedflow.py +20 -0
- pulumi_gcp/appengine/flexible_app_version.py +20 -0
- pulumi_gcp/applicationintegration/__init__.py +0 -1
- pulumi_gcp/applicationintegration/_inputs.py +0 -843
- pulumi_gcp/applicationintegration/outputs.py +0 -891
- pulumi_gcp/bigquerydatapolicy/_inputs.py +4 -21
- pulumi_gcp/bigquerydatapolicy/data_policy.py +0 -78
- pulumi_gcp/bigquerydatapolicy/outputs.py +3 -16
- pulumi_gcp/certificateauthority/_inputs.py +12 -92
- pulumi_gcp/certificateauthority/authority.py +27 -117
- pulumi_gcp/certificateauthority/certificate.py +0 -176
- pulumi_gcp/certificateauthority/outputs.py +12 -144
- pulumi_gcp/cloudbuild/worker_pool.py +12 -0
- pulumi_gcp/cloudbuildv2/connection.py +12 -0
- pulumi_gcp/cloudbuildv2/repository.py +12 -0
- pulumi_gcp/clouddeploy/automation.py +12 -0
- pulumi_gcp/clouddeploy/custom_target_type.py +12 -0
- pulumi_gcp/clouddeploy/delivery_pipeline.py +12 -0
- pulumi_gcp/clouddeploy/target.py +12 -0
- pulumi_gcp/cloudrunv2/job.py +12 -0
- pulumi_gcp/cloudrunv2/service.py +12 -0
- pulumi_gcp/composer/__init__.py +0 -1
- pulumi_gcp/composer/environment.py +47 -35
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +58 -121
- pulumi_gcp/compute/forwarding_rule.py +13 -0
- pulumi_gcp/compute/global_address.py +12 -0
- pulumi_gcp/compute/global_forwarding_rule.py +282 -0
- pulumi_gcp/compute/instance_from_machine_image.py +46 -14
- pulumi_gcp/compute/instance_from_template.py +46 -14
- pulumi_gcp/compute/outputs.py +65 -120
- pulumi_gcp/compute/region_instance_template.py +13 -0
- pulumi_gcp/compute/region_target_https_proxy.py +0 -257
- pulumi_gcp/compute/region_url_map.py +470 -0
- pulumi_gcp/container/attached_cluster.py +12 -0
- pulumi_gcp/container/aws_cluster.py +12 -0
- pulumi_gcp/container/aws_node_pool.py +12 -0
- pulumi_gcp/container/azure_cluster.py +12 -0
- pulumi_gcp/container/azure_node_pool.py +12 -0
- pulumi_gcp/container/cluster.py +20 -0
- pulumi_gcp/dataflow/flex_template_job.py +39 -0
- pulumi_gcp/dataloss/__init__.py +0 -1
- pulumi_gcp/dataloss/_inputs.py +0 -1040
- pulumi_gcp/dataloss/outputs.py +0 -1123
- pulumi_gcp/dataproc/cluster.py +20 -0
- pulumi_gcp/dataproc/workflow_template.py +26 -21
- pulumi_gcp/deploymentmanager/deployment.py +34 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +36 -2
- pulumi_gcp/filestore/get_instance.py +1 -11
- pulumi_gcp/filestore/instance.py +0 -101
- pulumi_gcp/firebase/_inputs.py +0 -16
- pulumi_gcp/firebase/android_app.py +27 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +0 -20
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +0 -10
- pulumi_gcp/firebase/app_check_service_config.py +125 -0
- pulumi_gcp/firebase/apple_app.py +27 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +27 -0
- pulumi_gcp/firebase/hosting_version.py +0 -44
- pulumi_gcp/firebase/outputs.py +0 -12
- pulumi_gcp/firebase/web_app.py +20 -0
- pulumi_gcp/firestore/database.py +68 -0
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +12 -0
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +12 -0
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +12 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +12 -0
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +12 -0
- pulumi_gcp/logging/folder_sink.py +0 -54
- pulumi_gcp/logging/organization_sink.py +0 -54
- pulumi_gcp/monitoring/_inputs.py +2 -46
- pulumi_gcp/monitoring/outputs.py +2 -40
- pulumi_gcp/monitoring/uptime_check_config.py +0 -6
- pulumi_gcp/netapp/active_directory.py +20 -0
- pulumi_gcp/netapp/volume_replication.py +68 -0
- pulumi_gcp/networkconnectivity/__init__.py +0 -1
- pulumi_gcp/secretmanager/get_secret.py +3 -13
- pulumi_gcp/secretmanager/outputs.py +1 -20
- pulumi_gcp/secretmanager/secret.py +15 -90
- pulumi_gcp/servicenetworking/connection.py +20 -0
- pulumi_gcp/spanner/database.py +41 -0
- pulumi_gcp/spanner/instance.py +40 -0
- pulumi_gcp/storage/__init__.py +0 -1
- pulumi_gcp/storage/bucket.py +12 -0
- pulumi_gcp/storage/outputs.py +0 -63
- pulumi_gcp/workstations/workstation.py +12 -0
- pulumi_gcp/workstations/workstation_cluster.py +12 -0
- pulumi_gcp/workstations/workstation_config.py +12 -0
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/RECORD +99 -105
- pulumi_gcp/applicationintegration/auth_config.py +0 -998
- pulumi_gcp/composer/user_workloads_secret.py +0 -441
- pulumi_gcp/compute/security_policy_rule.py +0 -850
- pulumi_gcp/dataloss/prevention_discovery_config.py +0 -737
- pulumi_gcp/networkconnectivity/internal_range.py +0 -1024
- pulumi_gcp/storage/get_bucket_objects.py +0 -153
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0.dist-info → pulumi_gcp-7.21.0a1714149635.dist-info}/top_level.txt +0 -0
@@ -1186,6 +1186,147 @@ class GlobalForwardingRule(pulumi.CustomResource):
|
|
1186
1186
|
|
1187
1187
|
## Example Usage
|
1188
1188
|
|
1189
|
+
### External Ssl Proxy Lb Mig Backend
|
1190
|
+
|
1191
|
+
```python
|
1192
|
+
import pulumi
|
1193
|
+
import pulumi_gcp as gcp
|
1194
|
+
import pulumi_tls as tls
|
1195
|
+
|
1196
|
+
# External SSL proxy load balancer with managed instance group backend
|
1197
|
+
# VPC
|
1198
|
+
default = gcp.compute.Network("default",
|
1199
|
+
name="ssl-proxy-xlb-network",
|
1200
|
+
auto_create_subnetworks=False)
|
1201
|
+
# backend subnet
|
1202
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
1203
|
+
name="ssl-proxy-xlb-subnet",
|
1204
|
+
ip_cidr_range="10.0.1.0/24",
|
1205
|
+
region="us-central1",
|
1206
|
+
network=default.id)
|
1207
|
+
# reserved IP address
|
1208
|
+
default_global_address = gcp.compute.GlobalAddress("default", name="ssl-proxy-xlb-ip")
|
1209
|
+
# Self-signed regional SSL certificate for testing
|
1210
|
+
default_private_key = tls.PrivateKey("default",
|
1211
|
+
algorithm="RSA",
|
1212
|
+
rsa_bits=2048)
|
1213
|
+
default_self_signed_cert = tls.SelfSignedCert("default",
|
1214
|
+
key_algorithm=default_private_key.algorithm,
|
1215
|
+
private_key_pem=default_private_key.private_key_pem,
|
1216
|
+
validity_period_hours=12,
|
1217
|
+
early_renewal_hours=3,
|
1218
|
+
allowed_uses=[
|
1219
|
+
"key_encipherment",
|
1220
|
+
"digital_signature",
|
1221
|
+
"server_auth",
|
1222
|
+
],
|
1223
|
+
dns_names=["example.com"],
|
1224
|
+
subject=tls.SelfSignedCertSubjectArgs(
|
1225
|
+
common_name="example.com",
|
1226
|
+
organization="ACME Examples, Inc",
|
1227
|
+
))
|
1228
|
+
default_ssl_certificate = gcp.compute.SSLCertificate("default",
|
1229
|
+
name="default-cert",
|
1230
|
+
private_key=default_private_key.private_key_pem,
|
1231
|
+
certificate=default_self_signed_cert.cert_pem)
|
1232
|
+
default_health_check = gcp.compute.HealthCheck("default",
|
1233
|
+
name="ssl-proxy-health-check",
|
1234
|
+
timeout_sec=1,
|
1235
|
+
check_interval_sec=1,
|
1236
|
+
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
1237
|
+
port=443,
|
1238
|
+
))
|
1239
|
+
# instance template
|
1240
|
+
default_instance_template = gcp.compute.InstanceTemplate("default",
|
1241
|
+
network_interfaces=[gcp.compute.InstanceTemplateNetworkInterfaceArgs(
|
1242
|
+
access_configs=[gcp.compute.InstanceTemplateNetworkInterfaceAccessConfigArgs()],
|
1243
|
+
network=default.id,
|
1244
|
+
subnetwork=default_subnetwork.id,
|
1245
|
+
)],
|
1246
|
+
name="ssl-proxy-xlb-mig-template",
|
1247
|
+
machine_type="e2-small",
|
1248
|
+
tags=["allow-health-check"],
|
1249
|
+
disks=[gcp.compute.InstanceTemplateDiskArgs(
|
1250
|
+
source_image="debian-cloud/debian-10",
|
1251
|
+
auto_delete=True,
|
1252
|
+
boot=True,
|
1253
|
+
)],
|
1254
|
+
metadata={
|
1255
|
+
"startup-script": \"\"\"#! /bin/bash
|
1256
|
+
set -euo pipefail
|
1257
|
+
export DEBIAN_FRONTEND=noninteractive
|
1258
|
+
sudo apt-get update
|
1259
|
+
sudo apt-get install -y apache2 jq
|
1260
|
+
sudo a2ensite default-ssl
|
1261
|
+
sudo a2enmod ssl
|
1262
|
+
sudo service apache2 restart
|
1263
|
+
NAME=$(curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/hostname")
|
1264
|
+
IP=$(curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ip")
|
1265
|
+
METADATA=$(curl -f -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/attributes/?recursive=True" | jq 'del(.["startup-script"])')
|
1266
|
+
cat <<EOF > /var/www/html/index.html
|
1267
|
+
<h1>SSL Load Balancer</h1>
|
1268
|
+
<pre>
|
1269
|
+
Name: $NAME
|
1270
|
+
IP: $IP
|
1271
|
+
Metadata: $METADATA
|
1272
|
+
</pre>
|
1273
|
+
EOF
|
1274
|
+
\"\"\",
|
1275
|
+
})
|
1276
|
+
# MIG
|
1277
|
+
default_instance_group_manager = gcp.compute.InstanceGroupManager("default",
|
1278
|
+
name="ssl-proxy-xlb-mig1",
|
1279
|
+
zone="us-central1-c",
|
1280
|
+
named_ports=[gcp.compute.InstanceGroupManagerNamedPortArgs(
|
1281
|
+
name="tcp",
|
1282
|
+
port=443,
|
1283
|
+
)],
|
1284
|
+
versions=[gcp.compute.InstanceGroupManagerVersionArgs(
|
1285
|
+
instance_template=default_instance_template.id,
|
1286
|
+
name="primary",
|
1287
|
+
)],
|
1288
|
+
base_instance_name="vm",
|
1289
|
+
target_size=2)
|
1290
|
+
# backend service
|
1291
|
+
default_backend_service = gcp.compute.BackendService("default",
|
1292
|
+
name="ssl-proxy-xlb-backend-service",
|
1293
|
+
protocol="SSL",
|
1294
|
+
port_name="tcp",
|
1295
|
+
load_balancing_scheme="EXTERNAL",
|
1296
|
+
timeout_sec=10,
|
1297
|
+
health_checks=default_health_check.id,
|
1298
|
+
backends=[gcp.compute.BackendServiceBackendArgs(
|
1299
|
+
group=default_instance_group_manager.instance_group,
|
1300
|
+
balancing_mode="UTILIZATION",
|
1301
|
+
max_utilization=1,
|
1302
|
+
capacity_scaler=1,
|
1303
|
+
)])
|
1304
|
+
default_target_ssl_proxy = gcp.compute.TargetSSLProxy("default",
|
1305
|
+
name="test-proxy",
|
1306
|
+
backend_service=default_backend_service.id,
|
1307
|
+
ssl_certificates=[default_ssl_certificate.id])
|
1308
|
+
# forwarding rule
|
1309
|
+
default_global_forwarding_rule = gcp.compute.GlobalForwardingRule("default",
|
1310
|
+
name="ssl-proxy-xlb-forwarding-rule",
|
1311
|
+
ip_protocol="TCP",
|
1312
|
+
load_balancing_scheme="EXTERNAL",
|
1313
|
+
port_range="443",
|
1314
|
+
target=default_target_ssl_proxy.id,
|
1315
|
+
ip_address=default_global_address.id)
|
1316
|
+
# allow access from health check ranges
|
1317
|
+
default_firewall = gcp.compute.Firewall("default",
|
1318
|
+
name="ssl-proxy-xlb-fw-allow-hc",
|
1319
|
+
direction="INGRESS",
|
1320
|
+
network=default.id,
|
1321
|
+
source_ranges=[
|
1322
|
+
"130.211.0.0/22",
|
1323
|
+
"35.191.0.0/16",
|
1324
|
+
],
|
1325
|
+
allows=[gcp.compute.FirewallAllowArgs(
|
1326
|
+
protocol="tcp",
|
1327
|
+
)],
|
1328
|
+
target_tags=["allow-health-check"])
|
1329
|
+
```
|
1189
1330
|
### External Tcp Proxy Lb Mig Backend
|
1190
1331
|
|
1191
1332
|
```python
|
@@ -2085,6 +2226,147 @@ class GlobalForwardingRule(pulumi.CustomResource):
|
|
2085
2226
|
|
2086
2227
|
## Example Usage
|
2087
2228
|
|
2229
|
+
### External Ssl Proxy Lb Mig Backend
|
2230
|
+
|
2231
|
+
```python
|
2232
|
+
import pulumi
|
2233
|
+
import pulumi_gcp as gcp
|
2234
|
+
import pulumi_tls as tls
|
2235
|
+
|
2236
|
+
# External SSL proxy load balancer with managed instance group backend
|
2237
|
+
# VPC
|
2238
|
+
default = gcp.compute.Network("default",
|
2239
|
+
name="ssl-proxy-xlb-network",
|
2240
|
+
auto_create_subnetworks=False)
|
2241
|
+
# backend subnet
|
2242
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
2243
|
+
name="ssl-proxy-xlb-subnet",
|
2244
|
+
ip_cidr_range="10.0.1.0/24",
|
2245
|
+
region="us-central1",
|
2246
|
+
network=default.id)
|
2247
|
+
# reserved IP address
|
2248
|
+
default_global_address = gcp.compute.GlobalAddress("default", name="ssl-proxy-xlb-ip")
|
2249
|
+
# Self-signed regional SSL certificate for testing
|
2250
|
+
default_private_key = tls.PrivateKey("default",
|
2251
|
+
algorithm="RSA",
|
2252
|
+
rsa_bits=2048)
|
2253
|
+
default_self_signed_cert = tls.SelfSignedCert("default",
|
2254
|
+
key_algorithm=default_private_key.algorithm,
|
2255
|
+
private_key_pem=default_private_key.private_key_pem,
|
2256
|
+
validity_period_hours=12,
|
2257
|
+
early_renewal_hours=3,
|
2258
|
+
allowed_uses=[
|
2259
|
+
"key_encipherment",
|
2260
|
+
"digital_signature",
|
2261
|
+
"server_auth",
|
2262
|
+
],
|
2263
|
+
dns_names=["example.com"],
|
2264
|
+
subject=tls.SelfSignedCertSubjectArgs(
|
2265
|
+
common_name="example.com",
|
2266
|
+
organization="ACME Examples, Inc",
|
2267
|
+
))
|
2268
|
+
default_ssl_certificate = gcp.compute.SSLCertificate("default",
|
2269
|
+
name="default-cert",
|
2270
|
+
private_key=default_private_key.private_key_pem,
|
2271
|
+
certificate=default_self_signed_cert.cert_pem)
|
2272
|
+
default_health_check = gcp.compute.HealthCheck("default",
|
2273
|
+
name="ssl-proxy-health-check",
|
2274
|
+
timeout_sec=1,
|
2275
|
+
check_interval_sec=1,
|
2276
|
+
tcp_health_check=gcp.compute.HealthCheckTcpHealthCheckArgs(
|
2277
|
+
port=443,
|
2278
|
+
))
|
2279
|
+
# instance template
|
2280
|
+
default_instance_template = gcp.compute.InstanceTemplate("default",
|
2281
|
+
network_interfaces=[gcp.compute.InstanceTemplateNetworkInterfaceArgs(
|
2282
|
+
access_configs=[gcp.compute.InstanceTemplateNetworkInterfaceAccessConfigArgs()],
|
2283
|
+
network=default.id,
|
2284
|
+
subnetwork=default_subnetwork.id,
|
2285
|
+
)],
|
2286
|
+
name="ssl-proxy-xlb-mig-template",
|
2287
|
+
machine_type="e2-small",
|
2288
|
+
tags=["allow-health-check"],
|
2289
|
+
disks=[gcp.compute.InstanceTemplateDiskArgs(
|
2290
|
+
source_image="debian-cloud/debian-10",
|
2291
|
+
auto_delete=True,
|
2292
|
+
boot=True,
|
2293
|
+
)],
|
2294
|
+
metadata={
|
2295
|
+
"startup-script": \"\"\"#! /bin/bash
|
2296
|
+
set -euo pipefail
|
2297
|
+
export DEBIAN_FRONTEND=noninteractive
|
2298
|
+
sudo apt-get update
|
2299
|
+
sudo apt-get install -y apache2 jq
|
2300
|
+
sudo a2ensite default-ssl
|
2301
|
+
sudo a2enmod ssl
|
2302
|
+
sudo service apache2 restart
|
2303
|
+
NAME=$(curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/hostname")
|
2304
|
+
IP=$(curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ip")
|
2305
|
+
METADATA=$(curl -f -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/attributes/?recursive=True" | jq 'del(.["startup-script"])')
|
2306
|
+
cat <<EOF > /var/www/html/index.html
|
2307
|
+
<h1>SSL Load Balancer</h1>
|
2308
|
+
<pre>
|
2309
|
+
Name: $NAME
|
2310
|
+
IP: $IP
|
2311
|
+
Metadata: $METADATA
|
2312
|
+
</pre>
|
2313
|
+
EOF
|
2314
|
+
\"\"\",
|
2315
|
+
})
|
2316
|
+
# MIG
|
2317
|
+
default_instance_group_manager = gcp.compute.InstanceGroupManager("default",
|
2318
|
+
name="ssl-proxy-xlb-mig1",
|
2319
|
+
zone="us-central1-c",
|
2320
|
+
named_ports=[gcp.compute.InstanceGroupManagerNamedPortArgs(
|
2321
|
+
name="tcp",
|
2322
|
+
port=443,
|
2323
|
+
)],
|
2324
|
+
versions=[gcp.compute.InstanceGroupManagerVersionArgs(
|
2325
|
+
instance_template=default_instance_template.id,
|
2326
|
+
name="primary",
|
2327
|
+
)],
|
2328
|
+
base_instance_name="vm",
|
2329
|
+
target_size=2)
|
2330
|
+
# backend service
|
2331
|
+
default_backend_service = gcp.compute.BackendService("default",
|
2332
|
+
name="ssl-proxy-xlb-backend-service",
|
2333
|
+
protocol="SSL",
|
2334
|
+
port_name="tcp",
|
2335
|
+
load_balancing_scheme="EXTERNAL",
|
2336
|
+
timeout_sec=10,
|
2337
|
+
health_checks=default_health_check.id,
|
2338
|
+
backends=[gcp.compute.BackendServiceBackendArgs(
|
2339
|
+
group=default_instance_group_manager.instance_group,
|
2340
|
+
balancing_mode="UTILIZATION",
|
2341
|
+
max_utilization=1,
|
2342
|
+
capacity_scaler=1,
|
2343
|
+
)])
|
2344
|
+
default_target_ssl_proxy = gcp.compute.TargetSSLProxy("default",
|
2345
|
+
name="test-proxy",
|
2346
|
+
backend_service=default_backend_service.id,
|
2347
|
+
ssl_certificates=[default_ssl_certificate.id])
|
2348
|
+
# forwarding rule
|
2349
|
+
default_global_forwarding_rule = gcp.compute.GlobalForwardingRule("default",
|
2350
|
+
name="ssl-proxy-xlb-forwarding-rule",
|
2351
|
+
ip_protocol="TCP",
|
2352
|
+
load_balancing_scheme="EXTERNAL",
|
2353
|
+
port_range="443",
|
2354
|
+
target=default_target_ssl_proxy.id,
|
2355
|
+
ip_address=default_global_address.id)
|
2356
|
+
# allow access from health check ranges
|
2357
|
+
default_firewall = gcp.compute.Firewall("default",
|
2358
|
+
name="ssl-proxy-xlb-fw-allow-hc",
|
2359
|
+
direction="INGRESS",
|
2360
|
+
network=default.id,
|
2361
|
+
source_ranges=[
|
2362
|
+
"130.211.0.0/22",
|
2363
|
+
"35.191.0.0/16",
|
2364
|
+
],
|
2365
|
+
allows=[gcp.compute.FirewallAllowArgs(
|
2366
|
+
protocol="tcp",
|
2367
|
+
)],
|
2368
|
+
target_tags=["allow-health-check"])
|
2369
|
+
```
|
2088
2370
|
### External Tcp Proxy Lb Mig Backend
|
2089
2371
|
|
2090
2372
|
```python
|
@@ -51,6 +51,8 @@ class InstanceFromMachineImageArgs:
|
|
51
51
|
|
52
52
|
- - -
|
53
53
|
:param pulumi.Input['InstanceFromMachineImageAdvancedMachineFeaturesArgs'] advanced_machine_features: Controls for advanced machine-related behavior features.
|
54
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
55
|
+
stopping the instance without setting this field, the update will fail.
|
54
56
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
55
57
|
:param pulumi.Input['InstanceFromMachineImageConfidentialInstanceConfigArgs'] confidential_instance_config: The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail
|
56
58
|
to create.
|
@@ -60,8 +62,8 @@ class InstanceFromMachineImageArgs:
|
|
60
62
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
61
63
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageGuestAcceleratorArgs']]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
62
64
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
63
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
64
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
65
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
66
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
65
67
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
66
68
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
67
69
|
the resource.
|
@@ -178,6 +180,10 @@ class InstanceFromMachineImageArgs:
|
|
178
180
|
@property
|
179
181
|
@pulumi.getter(name="allowStoppingForUpdate")
|
180
182
|
def allow_stopping_for_update(self) -> Optional[pulumi.Input[bool]]:
|
183
|
+
"""
|
184
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
185
|
+
stopping the instance without setting this field, the update will fail.
|
186
|
+
"""
|
181
187
|
return pulumi.get(self, "allow_stopping_for_update")
|
182
188
|
|
183
189
|
@allow_stopping_for_update.setter
|
@@ -274,8 +280,8 @@ class InstanceFromMachineImageArgs:
|
|
274
280
|
def hostname(self) -> Optional[pulumi.Input[str]]:
|
275
281
|
"""
|
276
282
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
277
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
278
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
283
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
284
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
279
285
|
"""
|
280
286
|
return pulumi.get(self, "hostname")
|
281
287
|
|
@@ -546,6 +552,8 @@ class _InstanceFromMachineImageState:
|
|
546
552
|
"""
|
547
553
|
Input properties used for looking up and filtering InstanceFromMachineImage resources.
|
548
554
|
:param pulumi.Input['InstanceFromMachineImageAdvancedMachineFeaturesArgs'] advanced_machine_features: Controls for advanced machine-related behavior features.
|
555
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
556
|
+
stopping the instance without setting this field, the update will fail.
|
549
557
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageAttachedDiskArgs']]] attached_disks: List of disks attached to the instance
|
550
558
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageBootDiskArgs']]] boot_disks: The boot disk for the instance.
|
551
559
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -558,11 +566,13 @@ class _InstanceFromMachineImageState:
|
|
558
566
|
:param pulumi.Input[bool] deletion_protection: Whether deletion protection is enabled on this instance.
|
559
567
|
:param pulumi.Input[str] description: A brief description of the resource.
|
560
568
|
:param pulumi.Input[str] desired_status: Desired status of the instance. Either "RUNNING" or "TERMINATED".
|
569
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
570
|
+
clients and services.
|
561
571
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
562
572
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageGuestAcceleratorArgs']]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
563
573
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
564
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
565
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
574
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
575
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
566
576
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
567
577
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
568
578
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
@@ -700,6 +710,10 @@ class _InstanceFromMachineImageState:
|
|
700
710
|
@property
|
701
711
|
@pulumi.getter(name="allowStoppingForUpdate")
|
702
712
|
def allow_stopping_for_update(self) -> Optional[pulumi.Input[bool]]:
|
713
|
+
"""
|
714
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
715
|
+
stopping the instance without setting this field, the update will fail.
|
716
|
+
"""
|
703
717
|
return pulumi.get(self, "allow_stopping_for_update")
|
704
718
|
|
705
719
|
@allow_stopping_for_update.setter
|
@@ -820,6 +834,10 @@ class _InstanceFromMachineImageState:
|
|
820
834
|
@property
|
821
835
|
@pulumi.getter(name="effectiveLabels")
|
822
836
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
837
|
+
"""
|
838
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
839
|
+
clients and services.
|
840
|
+
"""
|
823
841
|
return pulumi.get(self, "effective_labels")
|
824
842
|
|
825
843
|
@effective_labels.setter
|
@@ -855,8 +873,8 @@ class _InstanceFromMachineImageState:
|
|
855
873
|
def hostname(self) -> Optional[pulumi.Input[str]]:
|
856
874
|
"""
|
857
875
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
858
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
859
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
876
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
877
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
860
878
|
"""
|
861
879
|
return pulumi.get(self, "hostname")
|
862
880
|
|
@@ -1243,6 +1261,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1243
1261
|
:param str resource_name: The name of the resource.
|
1244
1262
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1245
1263
|
:param pulumi.Input[pulumi.InputType['InstanceFromMachineImageAdvancedMachineFeaturesArgs']] advanced_machine_features: Controls for advanced machine-related behavior features.
|
1264
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1265
|
+
stopping the instance without setting this field, the update will fail.
|
1246
1266
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
1247
1267
|
:param pulumi.Input[pulumi.InputType['InstanceFromMachineImageConfidentialInstanceConfigArgs']] confidential_instance_config: The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail
|
1248
1268
|
to create.
|
@@ -1252,8 +1272,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1252
1272
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
1253
1273
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromMachineImageGuestAcceleratorArgs']]]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
1254
1274
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1255
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1256
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1275
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1276
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1257
1277
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
1258
1278
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
1259
1279
|
the resource.
|
@@ -1474,6 +1494,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1474
1494
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1475
1495
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1476
1496
|
:param pulumi.Input[pulumi.InputType['InstanceFromMachineImageAdvancedMachineFeaturesArgs']] advanced_machine_features: Controls for advanced machine-related behavior features.
|
1497
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1498
|
+
stopping the instance without setting this field, the update will fail.
|
1477
1499
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromMachineImageAttachedDiskArgs']]]] attached_disks: List of disks attached to the instance
|
1478
1500
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromMachineImageBootDiskArgs']]]] boot_disks: The boot disk for the instance.
|
1479
1501
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -1486,11 +1508,13 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1486
1508
|
:param pulumi.Input[bool] deletion_protection: Whether deletion protection is enabled on this instance.
|
1487
1509
|
:param pulumi.Input[str] description: A brief description of the resource.
|
1488
1510
|
:param pulumi.Input[str] desired_status: Desired status of the instance. Either "RUNNING" or "TERMINATED".
|
1511
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
1512
|
+
clients and services.
|
1489
1513
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
1490
1514
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromMachineImageGuestAcceleratorArgs']]]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
1491
1515
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1492
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1493
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1516
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1517
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1494
1518
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
1495
1519
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
1496
1520
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
@@ -1589,6 +1613,10 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1589
1613
|
@property
|
1590
1614
|
@pulumi.getter(name="allowStoppingForUpdate")
|
1591
1615
|
def allow_stopping_for_update(self) -> pulumi.Output[bool]:
|
1616
|
+
"""
|
1617
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1618
|
+
stopping the instance without setting this field, the update will fail.
|
1619
|
+
"""
|
1592
1620
|
return pulumi.get(self, "allow_stopping_for_update")
|
1593
1621
|
|
1594
1622
|
@property
|
@@ -1669,6 +1697,10 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1669
1697
|
@property
|
1670
1698
|
@pulumi.getter(name="effectiveLabels")
|
1671
1699
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1700
|
+
"""
|
1701
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
1702
|
+
clients and services.
|
1703
|
+
"""
|
1672
1704
|
return pulumi.get(self, "effective_labels")
|
1673
1705
|
|
1674
1706
|
@property
|
@@ -1692,8 +1724,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1692
1724
|
def hostname(self) -> pulumi.Output[str]:
|
1693
1725
|
"""
|
1694
1726
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1695
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1696
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1727
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1728
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1697
1729
|
"""
|
1698
1730
|
return pulumi.get(self, "hostname")
|
1699
1731
|
|
@@ -55,6 +55,8 @@ class InstanceFromTemplateArgs:
|
|
55
55
|
|
56
56
|
- - -
|
57
57
|
:param pulumi.Input['InstanceFromTemplateAdvancedMachineFeaturesArgs'] advanced_machine_features: Controls for advanced machine-related behavior features.
|
58
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
59
|
+
stopping the instance without setting this field, the update will fail.
|
58
60
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateAttachedDiskArgs']]] attached_disks: List of disks attached to the instance
|
59
61
|
:param pulumi.Input['InstanceFromTemplateBootDiskArgs'] boot_disk: The boot disk for the instance.
|
60
62
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -66,8 +68,8 @@ class InstanceFromTemplateArgs:
|
|
66
68
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
67
69
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateGuestAcceleratorArgs']]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
68
70
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
69
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
70
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
71
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
72
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
71
73
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
72
74
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
73
75
|
the resource.
|
@@ -190,6 +192,10 @@ class InstanceFromTemplateArgs:
|
|
190
192
|
@property
|
191
193
|
@pulumi.getter(name="allowStoppingForUpdate")
|
192
194
|
def allow_stopping_for_update(self) -> Optional[pulumi.Input[bool]]:
|
195
|
+
"""
|
196
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
197
|
+
stopping the instance without setting this field, the update will fail.
|
198
|
+
"""
|
193
199
|
return pulumi.get(self, "allow_stopping_for_update")
|
194
200
|
|
195
201
|
@allow_stopping_for_update.setter
|
@@ -310,8 +316,8 @@ class InstanceFromTemplateArgs:
|
|
310
316
|
def hostname(self) -> Optional[pulumi.Input[str]]:
|
311
317
|
"""
|
312
318
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
313
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
314
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
319
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
320
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
315
321
|
"""
|
316
322
|
return pulumi.get(self, "hostname")
|
317
323
|
|
@@ -592,6 +598,8 @@ class _InstanceFromTemplateState:
|
|
592
598
|
"""
|
593
599
|
Input properties used for looking up and filtering InstanceFromTemplate resources.
|
594
600
|
:param pulumi.Input['InstanceFromTemplateAdvancedMachineFeaturesArgs'] advanced_machine_features: Controls for advanced machine-related behavior features.
|
601
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
602
|
+
stopping the instance without setting this field, the update will fail.
|
595
603
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateAttachedDiskArgs']]] attached_disks: List of disks attached to the instance
|
596
604
|
:param pulumi.Input['InstanceFromTemplateBootDiskArgs'] boot_disk: The boot disk for the instance.
|
597
605
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -604,11 +612,13 @@ class _InstanceFromTemplateState:
|
|
604
612
|
:param pulumi.Input[bool] deletion_protection: Whether deletion protection is enabled on this instance.
|
605
613
|
:param pulumi.Input[str] description: A brief description of the resource.
|
606
614
|
:param pulumi.Input[str] desired_status: Desired status of the instance. Either "RUNNING" or "TERMINATED".
|
615
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
616
|
+
clients and services.
|
607
617
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
608
618
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateGuestAcceleratorArgs']]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
609
619
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
610
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
611
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
620
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
621
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
612
622
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
613
623
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
614
624
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
@@ -745,6 +755,10 @@ class _InstanceFromTemplateState:
|
|
745
755
|
@property
|
746
756
|
@pulumi.getter(name="allowStoppingForUpdate")
|
747
757
|
def allow_stopping_for_update(self) -> Optional[pulumi.Input[bool]]:
|
758
|
+
"""
|
759
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
760
|
+
stopping the instance without setting this field, the update will fail.
|
761
|
+
"""
|
748
762
|
return pulumi.get(self, "allow_stopping_for_update")
|
749
763
|
|
750
764
|
@allow_stopping_for_update.setter
|
@@ -865,6 +879,10 @@ class _InstanceFromTemplateState:
|
|
865
879
|
@property
|
866
880
|
@pulumi.getter(name="effectiveLabels")
|
867
881
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
882
|
+
"""
|
883
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
884
|
+
clients and services.
|
885
|
+
"""
|
868
886
|
return pulumi.get(self, "effective_labels")
|
869
887
|
|
870
888
|
@effective_labels.setter
|
@@ -900,8 +918,8 @@ class _InstanceFromTemplateState:
|
|
900
918
|
def hostname(self) -> Optional[pulumi.Input[str]]:
|
901
919
|
"""
|
902
920
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
903
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
904
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
921
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
922
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
905
923
|
"""
|
906
924
|
return pulumi.get(self, "hostname")
|
907
925
|
|
@@ -1310,6 +1328,8 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1310
1328
|
:param str resource_name: The name of the resource.
|
1311
1329
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1312
1330
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateAdvancedMachineFeaturesArgs']] advanced_machine_features: Controls for advanced machine-related behavior features.
|
1331
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1332
|
+
stopping the instance without setting this field, the update will fail.
|
1313
1333
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateAttachedDiskArgs']]]] attached_disks: List of disks attached to the instance
|
1314
1334
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateBootDiskArgs']] boot_disk: The boot disk for the instance.
|
1315
1335
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -1321,8 +1341,8 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1321
1341
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
1322
1342
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateGuestAcceleratorArgs']]]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
1323
1343
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1324
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1325
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1344
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1345
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1326
1346
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
1327
1347
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
1328
1348
|
the resource.
|
@@ -1566,6 +1586,8 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1566
1586
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1567
1587
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1568
1588
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateAdvancedMachineFeaturesArgs']] advanced_machine_features: Controls for advanced machine-related behavior features.
|
1589
|
+
:param pulumi.Input[bool] allow_stopping_for_update: If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1590
|
+
stopping the instance without setting this field, the update will fail.
|
1569
1591
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateAttachedDiskArgs']]]] attached_disks: List of disks attached to the instance
|
1570
1592
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateBootDiskArgs']] boot_disk: The boot disk for the instance.
|
1571
1593
|
:param pulumi.Input[bool] can_ip_forward: Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
|
@@ -1578,11 +1600,13 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1578
1600
|
:param pulumi.Input[bool] deletion_protection: Whether deletion protection is enabled on this instance.
|
1579
1601
|
:param pulumi.Input[str] description: A brief description of the resource.
|
1580
1602
|
:param pulumi.Input[str] desired_status: Desired status of the instance. Either "RUNNING" or "TERMINATED".
|
1603
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
1604
|
+
clients and services.
|
1581
1605
|
:param pulumi.Input[bool] enable_display: Whether the instance has virtual displays enabled.
|
1582
1606
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateGuestAcceleratorArgs']]]] guest_accelerators: List of the type and count of accelerator cards attached to the instance.
|
1583
1607
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1584
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1585
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1608
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1609
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1586
1610
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
1587
1611
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
1588
1612
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
@@ -1680,6 +1704,10 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1680
1704
|
@property
|
1681
1705
|
@pulumi.getter(name="allowStoppingForUpdate")
|
1682
1706
|
def allow_stopping_for_update(self) -> pulumi.Output[bool]:
|
1707
|
+
"""
|
1708
|
+
If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires
|
1709
|
+
stopping the instance without setting this field, the update will fail.
|
1710
|
+
"""
|
1683
1711
|
return pulumi.get(self, "allow_stopping_for_update")
|
1684
1712
|
|
1685
1713
|
@property
|
@@ -1760,6 +1788,10 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1760
1788
|
@property
|
1761
1789
|
@pulumi.getter(name="effectiveLabels")
|
1762
1790
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1791
|
+
"""
|
1792
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
|
1793
|
+
clients and services.
|
1794
|
+
"""
|
1763
1795
|
return pulumi.get(self, "effective_labels")
|
1764
1796
|
|
1765
1797
|
@property
|
@@ -1783,8 +1815,8 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1783
1815
|
def hostname(self) -> pulumi.Output[str]:
|
1784
1816
|
"""
|
1785
1817
|
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1786
|
-
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The
|
1787
|
-
exceed 253 characters. Changing this forces a new resource to be created.
|
1818
|
+
labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The
|
1819
|
+
entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1788
1820
|
"""
|
1789
1821
|
return pulumi.get(self, "hostname")
|
1790
1822
|
|