pulumi-digitalocean 4.46.0a1748901174__py3-none-any.whl → 4.47.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +10 -0
- pulumi_digitalocean/_inputs.py +217 -9
- pulumi_digitalocean/app.py +48 -0
- pulumi_digitalocean/get_partner_attachment.py +16 -1
- pulumi_digitalocean/get_vpc_nat_gateway.py +253 -0
- pulumi_digitalocean/kubernetes_cluster.py +13 -0
- pulumi_digitalocean/outputs.py +289 -7
- pulumi_digitalocean/partner_attachment.py +48 -1
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/vpc_nat_gateway.py +672 -0
- {pulumi_digitalocean-4.46.0a1748901174.dist-info → pulumi_digitalocean-4.47.0.dist-info}/METADATA +1 -1
- {pulumi_digitalocean-4.46.0a1748901174.dist-info → pulumi_digitalocean-4.47.0.dist-info}/RECORD +14 -12
- {pulumi_digitalocean-4.46.0a1748901174.dist-info → pulumi_digitalocean-4.47.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.46.0a1748901174.dist-info → pulumi_digitalocean-4.47.0.dist-info}/top_level.txt +0 -0
pulumi_digitalocean/outputs.py
CHANGED
|
@@ -161,6 +161,9 @@ __all__ = [
|
|
|
161
161
|
'SpacesKeyGrant',
|
|
162
162
|
'UptimeAlertNotification',
|
|
163
163
|
'UptimeAlertNotificationSlack',
|
|
164
|
+
'VpcNatGatewayEgress',
|
|
165
|
+
'VpcNatGatewayEgressPublicGateway',
|
|
166
|
+
'VpcNatGatewayVpc',
|
|
164
167
|
'GetAppDedicatedIpResult',
|
|
165
168
|
'GetAppSpecResult',
|
|
166
169
|
'GetAppSpecAlertResult',
|
|
@@ -316,6 +319,9 @@ __all__ = [
|
|
|
316
319
|
'GetTagsFilterResult',
|
|
317
320
|
'GetTagsSortResult',
|
|
318
321
|
'GetTagsTagResult',
|
|
322
|
+
'GetVpcNatGatewayEgressResult',
|
|
323
|
+
'GetVpcNatGatewayEgressPublicGatewayResult',
|
|
324
|
+
'GetVpcNatGatewayVpcResult',
|
|
319
325
|
]
|
|
320
326
|
|
|
321
327
|
@pulumi.output_type
|
|
@@ -366,8 +372,14 @@ class AppSpec(dict):
|
|
|
366
372
|
@staticmethod
|
|
367
373
|
def __key_warning(key: str):
|
|
368
374
|
suggest = None
|
|
369
|
-
if key == "
|
|
375
|
+
if key == "disableEdgeCache":
|
|
376
|
+
suggest = "disable_edge_cache"
|
|
377
|
+
elif key == "disableEmailObfuscation":
|
|
378
|
+
suggest = "disable_email_obfuscation"
|
|
379
|
+
elif key == "domainNames":
|
|
370
380
|
suggest = "domain_names"
|
|
381
|
+
elif key == "enhancedThreatControlEnabled":
|
|
382
|
+
suggest = "enhanced_threat_control_enabled"
|
|
371
383
|
elif key == "staticSites":
|
|
372
384
|
suggest = "static_sites"
|
|
373
385
|
|
|
@@ -386,9 +398,12 @@ class AppSpec(dict):
|
|
|
386
398
|
name: builtins.str,
|
|
387
399
|
alerts: Optional[Sequence['outputs.AppSpecAlert']] = None,
|
|
388
400
|
databases: Optional[Sequence['outputs.AppSpecDatabase']] = None,
|
|
401
|
+
disable_edge_cache: Optional[builtins.bool] = None,
|
|
402
|
+
disable_email_obfuscation: Optional[builtins.bool] = None,
|
|
389
403
|
domain_names: Optional[Sequence['outputs.AppSpecDomainName']] = None,
|
|
390
404
|
domains: Optional[Sequence[builtins.str]] = None,
|
|
391
405
|
egresses: Optional[Sequence['outputs.AppSpecEgress']] = None,
|
|
406
|
+
enhanced_threat_control_enabled: Optional[builtins.bool] = None,
|
|
392
407
|
envs: Optional[Sequence['outputs.AppSpecEnv']] = None,
|
|
393
408
|
features: Optional[Sequence[builtins.str]] = None,
|
|
394
409
|
functions: Optional[Sequence['outputs.AppSpecFunction']] = None,
|
|
@@ -401,8 +416,11 @@ class AppSpec(dict):
|
|
|
401
416
|
"""
|
|
402
417
|
:param builtins.str name: The name of the component.
|
|
403
418
|
:param Sequence['AppSpecAlertArgs'] alerts: Describes an alert policy for the component.
|
|
419
|
+
:param builtins.bool disable_edge_cache: A boolean indicating whether to disable the edge cache for this app. Default: `false`. Available only for non-static sites. Requires custom domains and applies to all the domains of the app.
|
|
420
|
+
:param builtins.bool disable_email_obfuscation: A boolean indicating whether to disable email obfuscation for this app. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
404
421
|
:param Sequence['AppSpecDomainNameArgs'] domain_names: Describes a domain where the application will be made available.
|
|
405
422
|
:param Sequence['AppSpecEgressArgs'] egresses: Specification for app egress configurations.
|
|
423
|
+
:param builtins.bool enhanced_threat_control_enabled: A boolean, when set to `true`, enables enhanced analyzing of incoming traffic to prevent layer 7 DDoS attacks. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
406
424
|
:param Sequence['AppSpecEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
407
425
|
:param Sequence[builtins.str] features: A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)
|
|
408
426
|
:param 'AppSpecIngressArgs' ingress: Specification for component routing, rewrites, and redirects.
|
|
@@ -413,12 +431,18 @@ class AppSpec(dict):
|
|
|
413
431
|
pulumi.set(__self__, "alerts", alerts)
|
|
414
432
|
if databases is not None:
|
|
415
433
|
pulumi.set(__self__, "databases", databases)
|
|
434
|
+
if disable_edge_cache is not None:
|
|
435
|
+
pulumi.set(__self__, "disable_edge_cache", disable_edge_cache)
|
|
436
|
+
if disable_email_obfuscation is not None:
|
|
437
|
+
pulumi.set(__self__, "disable_email_obfuscation", disable_email_obfuscation)
|
|
416
438
|
if domain_names is not None:
|
|
417
439
|
pulumi.set(__self__, "domain_names", domain_names)
|
|
418
440
|
if domains is not None:
|
|
419
441
|
pulumi.set(__self__, "domains", domains)
|
|
420
442
|
if egresses is not None:
|
|
421
443
|
pulumi.set(__self__, "egresses", egresses)
|
|
444
|
+
if enhanced_threat_control_enabled is not None:
|
|
445
|
+
pulumi.set(__self__, "enhanced_threat_control_enabled", enhanced_threat_control_enabled)
|
|
422
446
|
if envs is not None:
|
|
423
447
|
pulumi.set(__self__, "envs", envs)
|
|
424
448
|
if features is not None:
|
|
@@ -459,6 +483,22 @@ class AppSpec(dict):
|
|
|
459
483
|
def databases(self) -> Optional[Sequence['outputs.AppSpecDatabase']]:
|
|
460
484
|
return pulumi.get(self, "databases")
|
|
461
485
|
|
|
486
|
+
@property
|
|
487
|
+
@pulumi.getter(name="disableEdgeCache")
|
|
488
|
+
def disable_edge_cache(self) -> Optional[builtins.bool]:
|
|
489
|
+
"""
|
|
490
|
+
A boolean indicating whether to disable the edge cache for this app. Default: `false`. Available only for non-static sites. Requires custom domains and applies to all the domains of the app.
|
|
491
|
+
"""
|
|
492
|
+
return pulumi.get(self, "disable_edge_cache")
|
|
493
|
+
|
|
494
|
+
@property
|
|
495
|
+
@pulumi.getter(name="disableEmailObfuscation")
|
|
496
|
+
def disable_email_obfuscation(self) -> Optional[builtins.bool]:
|
|
497
|
+
"""
|
|
498
|
+
A boolean indicating whether to disable email obfuscation for this app. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
499
|
+
"""
|
|
500
|
+
return pulumi.get(self, "disable_email_obfuscation")
|
|
501
|
+
|
|
462
502
|
@property
|
|
463
503
|
@pulumi.getter(name="domainNames")
|
|
464
504
|
def domain_names(self) -> Optional[Sequence['outputs.AppSpecDomainName']]:
|
|
@@ -481,6 +521,14 @@ class AppSpec(dict):
|
|
|
481
521
|
"""
|
|
482
522
|
return pulumi.get(self, "egresses")
|
|
483
523
|
|
|
524
|
+
@property
|
|
525
|
+
@pulumi.getter(name="enhancedThreatControlEnabled")
|
|
526
|
+
def enhanced_threat_control_enabled(self) -> Optional[builtins.bool]:
|
|
527
|
+
"""
|
|
528
|
+
A boolean, when set to `true`, enables enhanced analyzing of incoming traffic to prevent layer 7 DDoS attacks. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
529
|
+
"""
|
|
530
|
+
return pulumi.get(self, "enhanced_threat_control_enabled")
|
|
531
|
+
|
|
484
532
|
@property
|
|
485
533
|
@pulumi.getter
|
|
486
534
|
def envs(self) -> Optional[Sequence['outputs.AppSpecEnv']]:
|
|
@@ -8129,7 +8177,8 @@ class KubernetesClusterControlPlaneFirewall(dict):
|
|
|
8129
8177
|
allowed_addresses: Sequence[builtins.str],
|
|
8130
8178
|
enabled: builtins.bool):
|
|
8131
8179
|
"""
|
|
8132
|
-
:param builtins.
|
|
8180
|
+
:param Sequence[builtins.str] allowed_addresses: A list of addresses allowed (CIDR notation).
|
|
8181
|
+
:param builtins.bool enabled: Boolean flag whether the firewall should be enabled or not.
|
|
8133
8182
|
"""
|
|
8134
8183
|
pulumi.set(__self__, "allowed_addresses", allowed_addresses)
|
|
8135
8184
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -8137,13 +8186,16 @@ class KubernetesClusterControlPlaneFirewall(dict):
|
|
|
8137
8186
|
@property
|
|
8138
8187
|
@pulumi.getter(name="allowedAddresses")
|
|
8139
8188
|
def allowed_addresses(self) -> Sequence[builtins.str]:
|
|
8189
|
+
"""
|
|
8190
|
+
A list of addresses allowed (CIDR notation).
|
|
8191
|
+
"""
|
|
8140
8192
|
return pulumi.get(self, "allowed_addresses")
|
|
8141
8193
|
|
|
8142
8194
|
@property
|
|
8143
8195
|
@pulumi.getter
|
|
8144
8196
|
def enabled(self) -> builtins.bool:
|
|
8145
8197
|
"""
|
|
8146
|
-
Boolean flag whether the
|
|
8198
|
+
Boolean flag whether the firewall should be enabled or not.
|
|
8147
8199
|
"""
|
|
8148
8200
|
return pulumi.get(self, "enabled")
|
|
8149
8201
|
|
|
@@ -8832,7 +8884,7 @@ class LoadBalancerDomain(dict):
|
|
|
8832
8884
|
verification_error_reasons: Optional[Sequence[builtins.str]] = None):
|
|
8833
8885
|
"""
|
|
8834
8886
|
:param builtins.str name: The domain name to be used for ingressing traffic to a Global Load Balancer.
|
|
8835
|
-
:param builtins.str certificate_id: The certificate
|
|
8887
|
+
:param builtins.str certificate_id: **Deprecated** The certificate ID to be used for TLS handshaking.
|
|
8836
8888
|
:param builtins.str certificate_name: The certificate name to be used for TLS handshaking.
|
|
8837
8889
|
:param builtins.bool is_managed: Control flag to specify whether the domain is managed by DigitalOcean.
|
|
8838
8890
|
:param Sequence[builtins.str] ssl_validation_error_reasons: list of domain SSL validation errors
|
|
@@ -8862,7 +8914,7 @@ class LoadBalancerDomain(dict):
|
|
|
8862
8914
|
@pulumi.getter(name="certificateId")
|
|
8863
8915
|
def certificate_id(self) -> Optional[builtins.str]:
|
|
8864
8916
|
"""
|
|
8865
|
-
The certificate
|
|
8917
|
+
**Deprecated** The certificate ID to be used for TLS handshaking.
|
|
8866
8918
|
"""
|
|
8867
8919
|
return pulumi.get(self, "certificate_id")
|
|
8868
8920
|
|
|
@@ -8976,7 +9028,7 @@ class LoadBalancerForwardingRule(dict):
|
|
|
8976
9028
|
:param builtins.str entry_protocol: The protocol used for traffic to the Load Balancer. The possible values are: `http`, `https`, `http2`, `http3`, `tcp`, or `udp`.
|
|
8977
9029
|
:param builtins.int target_port: An integer representing the port on the backend Droplets to which the Load Balancer will send traffic.
|
|
8978
9030
|
:param builtins.str target_protocol: The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http`, `https`, `http2`, `tcp`, or `udp`.
|
|
8979
|
-
:param builtins.str certificate_id: **Deprecated** The ID of the TLS certificate to be used for SSL termination.
|
|
9031
|
+
:param builtins.str certificate_id: **Deprecated** The ID of the TLS certificate to be used for SSL termination. Use `certificate_name` instead.
|
|
8980
9032
|
:param builtins.str certificate_name: The unique name of the TLS certificate to be used for SSL termination.
|
|
8981
9033
|
:param builtins.bool tls_passthrough: A boolean value indicating whether SSL encrypted traffic will be passed through to the backend Droplets. The default value is `false`.
|
|
8982
9034
|
"""
|
|
@@ -9028,7 +9080,7 @@ class LoadBalancerForwardingRule(dict):
|
|
|
9028
9080
|
@_utilities.deprecated("""Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.""")
|
|
9029
9081
|
def certificate_id(self) -> Optional[builtins.str]:
|
|
9030
9082
|
"""
|
|
9031
|
-
**Deprecated** The ID of the TLS certificate to be used for SSL termination.
|
|
9083
|
+
**Deprecated** The ID of the TLS certificate to be used for SSL termination. Use `certificate_name` instead.
|
|
9032
9084
|
"""
|
|
9033
9085
|
return pulumi.get(self, "certificate_id")
|
|
9034
9086
|
|
|
@@ -9933,6 +9985,124 @@ class UptimeAlertNotificationSlack(dict):
|
|
|
9933
9985
|
return pulumi.get(self, "url")
|
|
9934
9986
|
|
|
9935
9987
|
|
|
9988
|
+
@pulumi.output_type
|
|
9989
|
+
class VpcNatGatewayEgress(dict):
|
|
9990
|
+
@staticmethod
|
|
9991
|
+
def __key_warning(key: str):
|
|
9992
|
+
suggest = None
|
|
9993
|
+
if key == "publicGateways":
|
|
9994
|
+
suggest = "public_gateways"
|
|
9995
|
+
|
|
9996
|
+
if suggest:
|
|
9997
|
+
pulumi.log.warn(f"Key '{key}' not found in VpcNatGatewayEgress. Access the value via the '{suggest}' property getter instead.")
|
|
9998
|
+
|
|
9999
|
+
def __getitem__(self, key: str) -> Any:
|
|
10000
|
+
VpcNatGatewayEgress.__key_warning(key)
|
|
10001
|
+
return super().__getitem__(key)
|
|
10002
|
+
|
|
10003
|
+
def get(self, key: str, default = None) -> Any:
|
|
10004
|
+
VpcNatGatewayEgress.__key_warning(key)
|
|
10005
|
+
return super().get(key, default)
|
|
10006
|
+
|
|
10007
|
+
def __init__(__self__, *,
|
|
10008
|
+
public_gateways: Optional[Sequence['outputs.VpcNatGatewayEgressPublicGateway']] = None):
|
|
10009
|
+
"""
|
|
10010
|
+
:param Sequence['VpcNatGatewayEgressPublicGatewayArgs'] public_gateways: List of public gateway IPs
|
|
10011
|
+
"""
|
|
10012
|
+
if public_gateways is not None:
|
|
10013
|
+
pulumi.set(__self__, "public_gateways", public_gateways)
|
|
10014
|
+
|
|
10015
|
+
@property
|
|
10016
|
+
@pulumi.getter(name="publicGateways")
|
|
10017
|
+
def public_gateways(self) -> Optional[Sequence['outputs.VpcNatGatewayEgressPublicGateway']]:
|
|
10018
|
+
"""
|
|
10019
|
+
List of public gateway IPs
|
|
10020
|
+
"""
|
|
10021
|
+
return pulumi.get(self, "public_gateways")
|
|
10022
|
+
|
|
10023
|
+
|
|
10024
|
+
@pulumi.output_type
|
|
10025
|
+
class VpcNatGatewayEgressPublicGateway(dict):
|
|
10026
|
+
def __init__(__self__, *,
|
|
10027
|
+
ipv4: Optional[builtins.str] = None):
|
|
10028
|
+
"""
|
|
10029
|
+
:param builtins.str ipv4: IPv4 address
|
|
10030
|
+
"""
|
|
10031
|
+
if ipv4 is not None:
|
|
10032
|
+
pulumi.set(__self__, "ipv4", ipv4)
|
|
10033
|
+
|
|
10034
|
+
@property
|
|
10035
|
+
@pulumi.getter
|
|
10036
|
+
def ipv4(self) -> Optional[builtins.str]:
|
|
10037
|
+
"""
|
|
10038
|
+
IPv4 address
|
|
10039
|
+
"""
|
|
10040
|
+
return pulumi.get(self, "ipv4")
|
|
10041
|
+
|
|
10042
|
+
|
|
10043
|
+
@pulumi.output_type
|
|
10044
|
+
class VpcNatGatewayVpc(dict):
|
|
10045
|
+
@staticmethod
|
|
10046
|
+
def __key_warning(key: str):
|
|
10047
|
+
suggest = None
|
|
10048
|
+
if key == "vpcUuid":
|
|
10049
|
+
suggest = "vpc_uuid"
|
|
10050
|
+
elif key == "defaultGateway":
|
|
10051
|
+
suggest = "default_gateway"
|
|
10052
|
+
elif key == "gatewayIp":
|
|
10053
|
+
suggest = "gateway_ip"
|
|
10054
|
+
|
|
10055
|
+
if suggest:
|
|
10056
|
+
pulumi.log.warn(f"Key '{key}' not found in VpcNatGatewayVpc. Access the value via the '{suggest}' property getter instead.")
|
|
10057
|
+
|
|
10058
|
+
def __getitem__(self, key: str) -> Any:
|
|
10059
|
+
VpcNatGatewayVpc.__key_warning(key)
|
|
10060
|
+
return super().__getitem__(key)
|
|
10061
|
+
|
|
10062
|
+
def get(self, key: str, default = None) -> Any:
|
|
10063
|
+
VpcNatGatewayVpc.__key_warning(key)
|
|
10064
|
+
return super().get(key, default)
|
|
10065
|
+
|
|
10066
|
+
def __init__(__self__, *,
|
|
10067
|
+
vpc_uuid: builtins.str,
|
|
10068
|
+
default_gateway: Optional[builtins.bool] = None,
|
|
10069
|
+
gateway_ip: Optional[builtins.str] = None):
|
|
10070
|
+
"""
|
|
10071
|
+
:param builtins.str vpc_uuid: The ID of the ingress VPC
|
|
10072
|
+
:param builtins.bool default_gateway: Boolean flag indicating if this should be the default gateway in this VPC
|
|
10073
|
+
:param builtins.str gateway_ip: The private IP of the VPC NAT Gateway
|
|
10074
|
+
"""
|
|
10075
|
+
pulumi.set(__self__, "vpc_uuid", vpc_uuid)
|
|
10076
|
+
if default_gateway is not None:
|
|
10077
|
+
pulumi.set(__self__, "default_gateway", default_gateway)
|
|
10078
|
+
if gateway_ip is not None:
|
|
10079
|
+
pulumi.set(__self__, "gateway_ip", gateway_ip)
|
|
10080
|
+
|
|
10081
|
+
@property
|
|
10082
|
+
@pulumi.getter(name="vpcUuid")
|
|
10083
|
+
def vpc_uuid(self) -> builtins.str:
|
|
10084
|
+
"""
|
|
10085
|
+
The ID of the ingress VPC
|
|
10086
|
+
"""
|
|
10087
|
+
return pulumi.get(self, "vpc_uuid")
|
|
10088
|
+
|
|
10089
|
+
@property
|
|
10090
|
+
@pulumi.getter(name="defaultGateway")
|
|
10091
|
+
def default_gateway(self) -> Optional[builtins.bool]:
|
|
10092
|
+
"""
|
|
10093
|
+
Boolean flag indicating if this should be the default gateway in this VPC
|
|
10094
|
+
"""
|
|
10095
|
+
return pulumi.get(self, "default_gateway")
|
|
10096
|
+
|
|
10097
|
+
@property
|
|
10098
|
+
@pulumi.getter(name="gatewayIp")
|
|
10099
|
+
def gateway_ip(self) -> Optional[builtins.str]:
|
|
10100
|
+
"""
|
|
10101
|
+
The private IP of the VPC NAT Gateway
|
|
10102
|
+
"""
|
|
10103
|
+
return pulumi.get(self, "gateway_ip")
|
|
10104
|
+
|
|
10105
|
+
|
|
9936
10106
|
@pulumi.output_type
|
|
9937
10107
|
class GetAppDedicatedIpResult(dict):
|
|
9938
10108
|
def __init__(__self__, *,
|
|
@@ -9983,7 +10153,10 @@ class GetAppSpecResult(dict):
|
|
|
9983
10153
|
name: builtins.str,
|
|
9984
10154
|
alerts: Optional[Sequence['outputs.GetAppSpecAlertResult']] = None,
|
|
9985
10155
|
databases: Optional[Sequence['outputs.GetAppSpecDatabaseResult']] = None,
|
|
10156
|
+
disable_edge_cache: Optional[builtins.bool] = None,
|
|
10157
|
+
disable_email_obfuscation: Optional[builtins.bool] = None,
|
|
9986
10158
|
egresses: Optional[Sequence['outputs.GetAppSpecEgressResult']] = None,
|
|
10159
|
+
enhanced_threat_control_enabled: Optional[builtins.bool] = None,
|
|
9987
10160
|
envs: Optional[Sequence['outputs.GetAppSpecEnvResult']] = None,
|
|
9988
10161
|
functions: Optional[Sequence['outputs.GetAppSpecFunctionResult']] = None,
|
|
9989
10162
|
jobs: Optional[Sequence['outputs.GetAppSpecJobResult']] = None,
|
|
@@ -9995,6 +10168,9 @@ class GetAppSpecResult(dict):
|
|
|
9995
10168
|
:param Sequence[builtins.str] features: List of features which is applied to the app
|
|
9996
10169
|
:param builtins.str name: The name of the component.
|
|
9997
10170
|
:param Sequence['GetAppSpecAlertArgs'] alerts: Describes an alert policy for the component.
|
|
10171
|
+
:param builtins.bool disable_edge_cache: Whether to disable the edge cache for the app. Default is false, which enables the edge cache.
|
|
10172
|
+
:param builtins.bool disable_email_obfuscation: Email obfuscation configuration for the app. Default is false, which keeps the email obfuscated.
|
|
10173
|
+
:param builtins.bool enhanced_threat_control_enabled: Whether to enable enhanced threat control for the app. Default is false. Set to true to enable enhanced threat control, putting additional security measures for Layer 7 DDoS attacks.
|
|
9998
10174
|
:param Sequence['GetAppSpecEnvArgs'] envs: Describes an environment variable made available to an app competent.
|
|
9999
10175
|
:param builtins.str region: The slug for the DigitalOcean data center region hosting the app
|
|
10000
10176
|
"""
|
|
@@ -10007,8 +10183,14 @@ class GetAppSpecResult(dict):
|
|
|
10007
10183
|
pulumi.set(__self__, "alerts", alerts)
|
|
10008
10184
|
if databases is not None:
|
|
10009
10185
|
pulumi.set(__self__, "databases", databases)
|
|
10186
|
+
if disable_edge_cache is not None:
|
|
10187
|
+
pulumi.set(__self__, "disable_edge_cache", disable_edge_cache)
|
|
10188
|
+
if disable_email_obfuscation is not None:
|
|
10189
|
+
pulumi.set(__self__, "disable_email_obfuscation", disable_email_obfuscation)
|
|
10010
10190
|
if egresses is not None:
|
|
10011
10191
|
pulumi.set(__self__, "egresses", egresses)
|
|
10192
|
+
if enhanced_threat_control_enabled is not None:
|
|
10193
|
+
pulumi.set(__self__, "enhanced_threat_control_enabled", enhanced_threat_control_enabled)
|
|
10012
10194
|
if envs is not None:
|
|
10013
10195
|
pulumi.set(__self__, "envs", envs)
|
|
10014
10196
|
if functions is not None:
|
|
@@ -10069,11 +10251,35 @@ class GetAppSpecResult(dict):
|
|
|
10069
10251
|
def databases(self) -> Optional[Sequence['outputs.GetAppSpecDatabaseResult']]:
|
|
10070
10252
|
return pulumi.get(self, "databases")
|
|
10071
10253
|
|
|
10254
|
+
@property
|
|
10255
|
+
@pulumi.getter(name="disableEdgeCache")
|
|
10256
|
+
def disable_edge_cache(self) -> Optional[builtins.bool]:
|
|
10257
|
+
"""
|
|
10258
|
+
Whether to disable the edge cache for the app. Default is false, which enables the edge cache.
|
|
10259
|
+
"""
|
|
10260
|
+
return pulumi.get(self, "disable_edge_cache")
|
|
10261
|
+
|
|
10262
|
+
@property
|
|
10263
|
+
@pulumi.getter(name="disableEmailObfuscation")
|
|
10264
|
+
def disable_email_obfuscation(self) -> Optional[builtins.bool]:
|
|
10265
|
+
"""
|
|
10266
|
+
Email obfuscation configuration for the app. Default is false, which keeps the email obfuscated.
|
|
10267
|
+
"""
|
|
10268
|
+
return pulumi.get(self, "disable_email_obfuscation")
|
|
10269
|
+
|
|
10072
10270
|
@property
|
|
10073
10271
|
@pulumi.getter
|
|
10074
10272
|
def egresses(self) -> Optional[Sequence['outputs.GetAppSpecEgressResult']]:
|
|
10075
10273
|
return pulumi.get(self, "egresses")
|
|
10076
10274
|
|
|
10275
|
+
@property
|
|
10276
|
+
@pulumi.getter(name="enhancedThreatControlEnabled")
|
|
10277
|
+
def enhanced_threat_control_enabled(self) -> Optional[builtins.bool]:
|
|
10278
|
+
"""
|
|
10279
|
+
Whether to enable enhanced threat control for the app. Default is false. Set to true to enable enhanced threat control, putting additional security measures for Layer 7 DDoS attacks.
|
|
10280
|
+
"""
|
|
10281
|
+
return pulumi.get(self, "enhanced_threat_control_enabled")
|
|
10282
|
+
|
|
10077
10283
|
@property
|
|
10078
10284
|
@pulumi.getter
|
|
10079
10285
|
def envs(self) -> Optional[Sequence['outputs.GetAppSpecEnvResult']]:
|
|
@@ -18504,3 +18710,79 @@ class GetTagsTagResult(dict):
|
|
|
18504
18710
|
return pulumi.get(self, "volumes_count")
|
|
18505
18711
|
|
|
18506
18712
|
|
|
18713
|
+
@pulumi.output_type
|
|
18714
|
+
class GetVpcNatGatewayEgressResult(dict):
|
|
18715
|
+
def __init__(__self__, *,
|
|
18716
|
+
public_gateways: Sequence['outputs.GetVpcNatGatewayEgressPublicGatewayResult']):
|
|
18717
|
+
"""
|
|
18718
|
+
:param Sequence['GetVpcNatGatewayEgressPublicGatewayArgs'] public_gateways: List of public gateway IPs
|
|
18719
|
+
"""
|
|
18720
|
+
pulumi.set(__self__, "public_gateways", public_gateways)
|
|
18721
|
+
|
|
18722
|
+
@property
|
|
18723
|
+
@pulumi.getter(name="publicGateways")
|
|
18724
|
+
def public_gateways(self) -> Sequence['outputs.GetVpcNatGatewayEgressPublicGatewayResult']:
|
|
18725
|
+
"""
|
|
18726
|
+
List of public gateway IPs
|
|
18727
|
+
"""
|
|
18728
|
+
return pulumi.get(self, "public_gateways")
|
|
18729
|
+
|
|
18730
|
+
|
|
18731
|
+
@pulumi.output_type
|
|
18732
|
+
class GetVpcNatGatewayEgressPublicGatewayResult(dict):
|
|
18733
|
+
def __init__(__self__, *,
|
|
18734
|
+
ipv4: builtins.str):
|
|
18735
|
+
"""
|
|
18736
|
+
:param builtins.str ipv4: IPv4 address
|
|
18737
|
+
"""
|
|
18738
|
+
pulumi.set(__self__, "ipv4", ipv4)
|
|
18739
|
+
|
|
18740
|
+
@property
|
|
18741
|
+
@pulumi.getter
|
|
18742
|
+
def ipv4(self) -> builtins.str:
|
|
18743
|
+
"""
|
|
18744
|
+
IPv4 address
|
|
18745
|
+
"""
|
|
18746
|
+
return pulumi.get(self, "ipv4")
|
|
18747
|
+
|
|
18748
|
+
|
|
18749
|
+
@pulumi.output_type
|
|
18750
|
+
class GetVpcNatGatewayVpcResult(dict):
|
|
18751
|
+
def __init__(__self__, *,
|
|
18752
|
+
default_gateway: builtins.bool,
|
|
18753
|
+
gateway_ip: builtins.str,
|
|
18754
|
+
vpc_uuid: builtins.str):
|
|
18755
|
+
"""
|
|
18756
|
+
:param builtins.bool default_gateway: Indicates if this is the default VPC NAT Gateway in the VPC
|
|
18757
|
+
:param builtins.str gateway_ip: Gateway IP of the VPC NAT Gateway
|
|
18758
|
+
:param builtins.str vpc_uuid: ID of the ingress VPC
|
|
18759
|
+
"""
|
|
18760
|
+
pulumi.set(__self__, "default_gateway", default_gateway)
|
|
18761
|
+
pulumi.set(__self__, "gateway_ip", gateway_ip)
|
|
18762
|
+
pulumi.set(__self__, "vpc_uuid", vpc_uuid)
|
|
18763
|
+
|
|
18764
|
+
@property
|
|
18765
|
+
@pulumi.getter(name="defaultGateway")
|
|
18766
|
+
def default_gateway(self) -> builtins.bool:
|
|
18767
|
+
"""
|
|
18768
|
+
Indicates if this is the default VPC NAT Gateway in the VPC
|
|
18769
|
+
"""
|
|
18770
|
+
return pulumi.get(self, "default_gateway")
|
|
18771
|
+
|
|
18772
|
+
@property
|
|
18773
|
+
@pulumi.getter(name="gatewayIp")
|
|
18774
|
+
def gateway_ip(self) -> builtins.str:
|
|
18775
|
+
"""
|
|
18776
|
+
Gateway IP of the VPC NAT Gateway
|
|
18777
|
+
"""
|
|
18778
|
+
return pulumi.get(self, "gateway_ip")
|
|
18779
|
+
|
|
18780
|
+
@property
|
|
18781
|
+
@pulumi.getter(name="vpcUuid")
|
|
18782
|
+
def vpc_uuid(self) -> builtins.str:
|
|
18783
|
+
"""
|
|
18784
|
+
ID of the ingress VPC
|
|
18785
|
+
"""
|
|
18786
|
+
return pulumi.get(self, "vpc_uuid")
|
|
18787
|
+
|
|
18788
|
+
|
|
@@ -27,7 +27,8 @@ class PartnerAttachmentArgs:
|
|
|
27
27
|
region: pulumi.Input[builtins.str],
|
|
28
28
|
vpc_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
29
29
|
bgp: Optional[pulumi.Input['PartnerAttachmentBgpArgs']] = None,
|
|
30
|
-
name: Optional[pulumi.Input[builtins.str]] = None
|
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
redundancy_zone: Optional[pulumi.Input[builtins.str]] = None):
|
|
31
32
|
"""
|
|
32
33
|
The set of arguments for constructing a PartnerAttachment resource.
|
|
33
34
|
:param pulumi.Input[builtins.int] connection_bandwidth_in_mbps: The connection bandwidth in Mbps
|
|
@@ -35,6 +36,7 @@ class PartnerAttachmentArgs:
|
|
|
35
36
|
:param pulumi.Input[builtins.str] region: The region where the Partner Attachment will be created
|
|
36
37
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: The list of VPC IDs to attach the Partner Attachment to
|
|
37
38
|
:param pulumi.Input[builtins.str] name: The name of the Partner Attachment
|
|
39
|
+
:param pulumi.Input[builtins.str] redundancy_zone: The redundancy zone for the NaaS
|
|
38
40
|
"""
|
|
39
41
|
pulumi.set(__self__, "connection_bandwidth_in_mbps", connection_bandwidth_in_mbps)
|
|
40
42
|
pulumi.set(__self__, "naas_provider", naas_provider)
|
|
@@ -44,6 +46,8 @@ class PartnerAttachmentArgs:
|
|
|
44
46
|
pulumi.set(__self__, "bgp", bgp)
|
|
45
47
|
if name is not None:
|
|
46
48
|
pulumi.set(__self__, "name", name)
|
|
49
|
+
if redundancy_zone is not None:
|
|
50
|
+
pulumi.set(__self__, "redundancy_zone", redundancy_zone)
|
|
47
51
|
|
|
48
52
|
@property
|
|
49
53
|
@pulumi.getter(name="connectionBandwidthInMbps")
|
|
@@ -114,6 +118,18 @@ class PartnerAttachmentArgs:
|
|
|
114
118
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
115
119
|
pulumi.set(self, "name", value)
|
|
116
120
|
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="redundancyZone")
|
|
123
|
+
def redundancy_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
124
|
+
"""
|
|
125
|
+
The redundancy zone for the NaaS
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "redundancy_zone")
|
|
128
|
+
|
|
129
|
+
@redundancy_zone.setter
|
|
130
|
+
def redundancy_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
131
|
+
pulumi.set(self, "redundancy_zone", value)
|
|
132
|
+
|
|
117
133
|
|
|
118
134
|
@pulumi.input_type
|
|
119
135
|
class _PartnerAttachmentState:
|
|
@@ -123,6 +139,7 @@ class _PartnerAttachmentState:
|
|
|
123
139
|
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
140
|
naas_provider: Optional[pulumi.Input[builtins.str]] = None,
|
|
125
141
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
142
|
+
redundancy_zone: Optional[pulumi.Input[builtins.str]] = None,
|
|
126
143
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
144
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
145
|
vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
@@ -132,6 +149,7 @@ class _PartnerAttachmentState:
|
|
|
132
149
|
:param pulumi.Input[builtins.str] created_at: The date and time when the Partner Attachment was created
|
|
133
150
|
:param pulumi.Input[builtins.str] naas_provider: The NaaS provider
|
|
134
151
|
:param pulumi.Input[builtins.str] name: The name of the Partner Attachment
|
|
152
|
+
:param pulumi.Input[builtins.str] redundancy_zone: The redundancy zone for the NaaS
|
|
135
153
|
:param pulumi.Input[builtins.str] region: The region where the Partner Attachment will be created
|
|
136
154
|
:param pulumi.Input[builtins.str] state: The state of the Partner Attachment
|
|
137
155
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: The list of VPC IDs to attach the Partner Attachment to
|
|
@@ -146,6 +164,8 @@ class _PartnerAttachmentState:
|
|
|
146
164
|
pulumi.set(__self__, "naas_provider", naas_provider)
|
|
147
165
|
if name is not None:
|
|
148
166
|
pulumi.set(__self__, "name", name)
|
|
167
|
+
if redundancy_zone is not None:
|
|
168
|
+
pulumi.set(__self__, "redundancy_zone", redundancy_zone)
|
|
149
169
|
if region is not None:
|
|
150
170
|
pulumi.set(__self__, "region", region)
|
|
151
171
|
if state is not None:
|
|
@@ -210,6 +230,18 @@ class _PartnerAttachmentState:
|
|
|
210
230
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
231
|
pulumi.set(self, "name", value)
|
|
212
232
|
|
|
233
|
+
@property
|
|
234
|
+
@pulumi.getter(name="redundancyZone")
|
|
235
|
+
def redundancy_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
236
|
+
"""
|
|
237
|
+
The redundancy zone for the NaaS
|
|
238
|
+
"""
|
|
239
|
+
return pulumi.get(self, "redundancy_zone")
|
|
240
|
+
|
|
241
|
+
@redundancy_zone.setter
|
|
242
|
+
def redundancy_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
243
|
+
pulumi.set(self, "redundancy_zone", value)
|
|
244
|
+
|
|
213
245
|
@property
|
|
214
246
|
@pulumi.getter
|
|
215
247
|
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -257,6 +289,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
257
289
|
connection_bandwidth_in_mbps: Optional[pulumi.Input[builtins.int]] = None,
|
|
258
290
|
naas_provider: Optional[pulumi.Input[builtins.str]] = None,
|
|
259
291
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
292
|
+
redundancy_zone: Optional[pulumi.Input[builtins.str]] = None,
|
|
260
293
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
261
294
|
vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
262
295
|
__props__=None):
|
|
@@ -267,6 +300,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
267
300
|
:param pulumi.Input[builtins.int] connection_bandwidth_in_mbps: The connection bandwidth in Mbps
|
|
268
301
|
:param pulumi.Input[builtins.str] naas_provider: The NaaS provider
|
|
269
302
|
:param pulumi.Input[builtins.str] name: The name of the Partner Attachment
|
|
303
|
+
:param pulumi.Input[builtins.str] redundancy_zone: The redundancy zone for the NaaS
|
|
270
304
|
:param pulumi.Input[builtins.str] region: The region where the Partner Attachment will be created
|
|
271
305
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: The list of VPC IDs to attach the Partner Attachment to
|
|
272
306
|
"""
|
|
@@ -297,6 +331,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
297
331
|
connection_bandwidth_in_mbps: Optional[pulumi.Input[builtins.int]] = None,
|
|
298
332
|
naas_provider: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
333
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
|
+
redundancy_zone: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
335
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
336
|
vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
302
337
|
__props__=None):
|
|
@@ -316,6 +351,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
316
351
|
raise TypeError("Missing required property 'naas_provider'")
|
|
317
352
|
__props__.__dict__["naas_provider"] = naas_provider
|
|
318
353
|
__props__.__dict__["name"] = name
|
|
354
|
+
__props__.__dict__["redundancy_zone"] = redundancy_zone
|
|
319
355
|
if region is None and not opts.urn:
|
|
320
356
|
raise TypeError("Missing required property 'region'")
|
|
321
357
|
__props__.__dict__["region"] = region
|
|
@@ -339,6 +375,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
339
375
|
created_at: Optional[pulumi.Input[builtins.str]] = None,
|
|
340
376
|
naas_provider: Optional[pulumi.Input[builtins.str]] = None,
|
|
341
377
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
378
|
+
redundancy_zone: Optional[pulumi.Input[builtins.str]] = None,
|
|
342
379
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
343
380
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
344
381
|
vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'PartnerAttachment':
|
|
@@ -353,6 +390,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
353
390
|
:param pulumi.Input[builtins.str] created_at: The date and time when the Partner Attachment was created
|
|
354
391
|
:param pulumi.Input[builtins.str] naas_provider: The NaaS provider
|
|
355
392
|
:param pulumi.Input[builtins.str] name: The name of the Partner Attachment
|
|
393
|
+
:param pulumi.Input[builtins.str] redundancy_zone: The redundancy zone for the NaaS
|
|
356
394
|
:param pulumi.Input[builtins.str] region: The region where the Partner Attachment will be created
|
|
357
395
|
:param pulumi.Input[builtins.str] state: The state of the Partner Attachment
|
|
358
396
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: The list of VPC IDs to attach the Partner Attachment to
|
|
@@ -366,6 +404,7 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
366
404
|
__props__.__dict__["created_at"] = created_at
|
|
367
405
|
__props__.__dict__["naas_provider"] = naas_provider
|
|
368
406
|
__props__.__dict__["name"] = name
|
|
407
|
+
__props__.__dict__["redundancy_zone"] = redundancy_zone
|
|
369
408
|
__props__.__dict__["region"] = region
|
|
370
409
|
__props__.__dict__["state"] = state
|
|
371
410
|
__props__.__dict__["vpc_ids"] = vpc_ids
|
|
@@ -408,6 +447,14 @@ class PartnerAttachment(pulumi.CustomResource):
|
|
|
408
447
|
"""
|
|
409
448
|
return pulumi.get(self, "name")
|
|
410
449
|
|
|
450
|
+
@property
|
|
451
|
+
@pulumi.getter(name="redundancyZone")
|
|
452
|
+
def redundancy_zone(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
453
|
+
"""
|
|
454
|
+
The redundancy zone for the NaaS
|
|
455
|
+
"""
|
|
456
|
+
return pulumi.get(self, "redundancy_zone")
|
|
457
|
+
|
|
411
458
|
@property
|
|
412
459
|
@pulumi.getter
|
|
413
460
|
def region(self) -> pulumi.Output[builtins.str]:
|