pulumi-cloudflare 6.10.1__py3-none-any.whl → 6.11.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.
- pulumi_cloudflare/__init__.py +31 -0
- pulumi_cloudflare/_inputs.py +2127 -309
- pulumi_cloudflare/access_application.py +7 -7
- pulumi_cloudflare/access_identity_provider.py +60 -0
- pulumi_cloudflare/access_mutual_tls_hostname_settings.py +26 -0
- pulumi_cloudflare/access_organization.py +56 -0
- pulumi_cloudflare/access_policy.py +96 -0
- pulumi_cloudflare/account.py +47 -0
- pulumi_cloudflare/account_dns_settings.py +62 -0
- pulumi_cloudflare/account_subscription.py +36 -0
- pulumi_cloudflare/account_token.py +90 -0
- pulumi_cloudflare/api_shield.py +0 -68
- pulumi_cloudflare/api_token.py +88 -0
- pulumi_cloudflare/authenticated_origin_pulls.py +26 -0
- pulumi_cloudflare/content_scanning.py +253 -0
- pulumi_cloudflare/custom_hostname.py +144 -0
- pulumi_cloudflare/custom_pages.py +7 -7
- pulumi_cloudflare/device_managed_networks.py +28 -0
- pulumi_cloudflare/device_posture_integration.py +34 -0
- pulumi_cloudflare/device_posture_rule.py +46 -0
- pulumi_cloudflare/dlp_custom_profile.py +57 -7
- pulumi_cloudflare/dns_firewall.py +50 -0
- pulumi_cloudflare/dns_record.py +38 -0
- pulumi_cloudflare/get_account.py +15 -1
- pulumi_cloudflare/get_api_shield.py +5 -27
- pulumi_cloudflare/get_content_scanning.py +136 -0
- pulumi_cloudflare/get_custom_pages.py +3 -3
- pulumi_cloudflare/get_list.py +2 -2
- pulumi_cloudflare/get_magic_transit_connector.py +12 -1
- pulumi_cloudflare/get_notification_policy.py +3 -3
- pulumi_cloudflare/get_notification_policy_webhooks.py +2 -2
- pulumi_cloudflare/get_organization.py +171 -0
- pulumi_cloudflare/get_organization_profile.py +154 -0
- pulumi_cloudflare/get_organizations.py +248 -0
- pulumi_cloudflare/get_pages_project.py +77 -7
- pulumi_cloudflare/get_worker.py +15 -1
- pulumi_cloudflare/get_zero_trust_access_application.py +1 -1
- pulumi_cloudflare/get_zero_trust_dex_test.py +7 -0
- pulumi_cloudflare/get_zero_trust_gateway_policy.py +1 -1
- pulumi_cloudflare/get_zero_trust_tunnel_cloudflared_config.py +18 -4
- pulumi_cloudflare/healthcheck.py +84 -0
- pulumi_cloudflare/hyperdrive_config.py +52 -0
- pulumi_cloudflare/keyless_certificate.py +34 -0
- pulumi_cloudflare/list_item.py +16 -0
- pulumi_cloudflare/load_balancer.py +282 -0
- pulumi_cloudflare/logpush_job.py +80 -0
- pulumi_cloudflare/magic_transit_site_acl.py +56 -0
- pulumi_cloudflare/magic_transit_site_lan.py +82 -0
- pulumi_cloudflare/magic_transit_site_wan.py +36 -0
- pulumi_cloudflare/magic_wan_static_route.py +34 -0
- pulumi_cloudflare/notification_policy.py +145 -7
- pulumi_cloudflare/organization.py +297 -0
- pulumi_cloudflare/organization_profile.py +340 -0
- pulumi_cloudflare/outputs.py +3322 -642
- pulumi_cloudflare/page_rule.py +34 -0
- pulumi_cloudflare/pages_project.py +571 -30
- pulumi_cloudflare/pulumi-plugin.json +1 -1
- pulumi_cloudflare/queue_consumer.py +38 -0
- pulumi_cloudflare/r2_bucket_cors.py +38 -0
- pulumi_cloudflare/r2_bucket_event_notification.py +19 -18
- pulumi_cloudflare/r2_bucket_lifecycle.py +70 -0
- pulumi_cloudflare/record.py +38 -0
- pulumi_cloudflare/snippet.py +42 -0
- pulumi_cloudflare/snippet_rules.py +28 -0
- pulumi_cloudflare/static_route.py +34 -0
- pulumi_cloudflare/teams_account.py +148 -0
- pulumi_cloudflare/teams_rule.py +259 -7
- pulumi_cloudflare/tunnel_config.py +50 -3
- pulumi_cloudflare/worker.py +88 -0
- pulumi_cloudflare/worker_script.py +158 -2
- pulumi_cloudflare/worker_version.py +112 -0
- pulumi_cloudflare/workers_deployment.py +34 -0
- pulumi_cloudflare/workers_script.py +158 -2
- pulumi_cloudflare/zero_trust_access_application.py +7 -7
- pulumi_cloudflare/zero_trust_access_identity_provider.py +60 -0
- pulumi_cloudflare/zero_trust_access_mtls_hostname_settings.py +26 -0
- pulumi_cloudflare/zero_trust_access_policy.py +96 -0
- pulumi_cloudflare/zero_trust_device_managed_networks.py +28 -0
- pulumi_cloudflare/zero_trust_device_posture_integration.py +34 -0
- pulumi_cloudflare/zero_trust_device_posture_rule.py +46 -0
- pulumi_cloudflare/zero_trust_dex_test.py +63 -3
- pulumi_cloudflare/zero_trust_dlp_custom_entry.py +6 -7
- pulumi_cloudflare/zero_trust_dlp_custom_profile.py +57 -7
- pulumi_cloudflare/zero_trust_dlp_entry.py +6 -7
- pulumi_cloudflare/zero_trust_dlp_predefined_entry.py +1 -1
- pulumi_cloudflare/zero_trust_gateway_policy.py +259 -7
- pulumi_cloudflare/zero_trust_gateway_settings.py +148 -0
- pulumi_cloudflare/zero_trust_organization.py +56 -0
- pulumi_cloudflare/zero_trust_tunnel_cloudflared_config.py +50 -3
- pulumi_cloudflare/zone_cache_variants.py +108 -0
- pulumi_cloudflare/zone_dns_settings.py +60 -0
- pulumi_cloudflare/zone_subscription.py +36 -0
- {pulumi_cloudflare-6.10.1.dist-info → pulumi_cloudflare-6.11.0.dist-info}/METADATA +1 -1
- {pulumi_cloudflare-6.10.1.dist-info → pulumi_cloudflare-6.11.0.dist-info}/RECORD +96 -89
- {pulumi_cloudflare-6.10.1.dist-info → pulumi_cloudflare-6.11.0.dist-info}/WHEEL +0 -0
- {pulumi_cloudflare-6.10.1.dist-info → pulumi_cloudflare-6.11.0.dist-info}/top_level.txt +0 -0
|
@@ -27,16 +27,13 @@ class GetApiShieldResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getApiShield.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, auth_id_characteristics=None, id=None,
|
|
30
|
+
def __init__(__self__, auth_id_characteristics=None, id=None, zone_id=None):
|
|
31
31
|
if auth_id_characteristics and not isinstance(auth_id_characteristics, list):
|
|
32
32
|
raise TypeError("Expected argument 'auth_id_characteristics' to be a list")
|
|
33
33
|
pulumi.set(__self__, "auth_id_characteristics", auth_id_characteristics)
|
|
34
34
|
if id and not isinstance(id, str):
|
|
35
35
|
raise TypeError("Expected argument 'id' to be a str")
|
|
36
36
|
pulumi.set(__self__, "id", id)
|
|
37
|
-
if properties and not isinstance(properties, list):
|
|
38
|
-
raise TypeError("Expected argument 'properties' to be a list")
|
|
39
|
-
pulumi.set(__self__, "properties", properties)
|
|
40
37
|
if zone_id and not isinstance(zone_id, str):
|
|
41
38
|
raise TypeError("Expected argument 'zone_id' to be a str")
|
|
42
39
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -54,14 +51,6 @@ class GetApiShieldResult:
|
|
|
54
51
|
"""
|
|
55
52
|
return pulumi.get(self, "id")
|
|
56
53
|
|
|
57
|
-
@_builtins.property
|
|
58
|
-
@pulumi.getter
|
|
59
|
-
def properties(self) -> Optional[Sequence[_builtins.str]]:
|
|
60
|
-
"""
|
|
61
|
-
Requests information about certain properties.
|
|
62
|
-
"""
|
|
63
|
-
return pulumi.get(self, "properties")
|
|
64
|
-
|
|
65
54
|
@_builtins.property
|
|
66
55
|
@pulumi.getter(name="zoneId")
|
|
67
56
|
def zone_id(self) -> _builtins.str:
|
|
@@ -79,12 +68,10 @@ class AwaitableGetApiShieldResult(GetApiShieldResult):
|
|
|
79
68
|
return GetApiShieldResult(
|
|
80
69
|
auth_id_characteristics=self.auth_id_characteristics,
|
|
81
70
|
id=self.id,
|
|
82
|
-
properties=self.properties,
|
|
83
71
|
zone_id=self.zone_id)
|
|
84
72
|
|
|
85
73
|
|
|
86
|
-
def get_api_shield(
|
|
87
|
-
zone_id: Optional[_builtins.str] = None,
|
|
74
|
+
def get_api_shield(zone_id: Optional[_builtins.str] = None,
|
|
88
75
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiShieldResult:
|
|
89
76
|
"""
|
|
90
77
|
## Example Usage
|
|
@@ -93,16 +80,13 @@ def get_api_shield(properties: Optional[Sequence[_builtins.str]] = None,
|
|
|
93
80
|
import pulumi
|
|
94
81
|
import pulumi_cloudflare as cloudflare
|
|
95
82
|
|
|
96
|
-
example_api_shield = cloudflare.get_api_shield(zone_id="023e105f4ecef8ad9ca31a8372d0c353"
|
|
97
|
-
properties=["auth_id_characteristics"])
|
|
83
|
+
example_api_shield = cloudflare.get_api_shield(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
|
|
98
84
|
```
|
|
99
85
|
|
|
100
86
|
|
|
101
|
-
:param Sequence[_builtins.str] properties: Requests information about certain properties.
|
|
102
87
|
:param _builtins.str zone_id: Identifier.
|
|
103
88
|
"""
|
|
104
89
|
__args__ = dict()
|
|
105
|
-
__args__['properties'] = properties
|
|
106
90
|
__args__['zoneId'] = zone_id
|
|
107
91
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
108
92
|
__ret__ = pulumi.runtime.invoke('cloudflare:index/getApiShield:getApiShield', __args__, opts=opts, typ=GetApiShieldResult).value
|
|
@@ -110,10 +94,8 @@ def get_api_shield(properties: Optional[Sequence[_builtins.str]] = None,
|
|
|
110
94
|
return AwaitableGetApiShieldResult(
|
|
111
95
|
auth_id_characteristics=pulumi.get(__ret__, 'auth_id_characteristics'),
|
|
112
96
|
id=pulumi.get(__ret__, 'id'),
|
|
113
|
-
properties=pulumi.get(__ret__, 'properties'),
|
|
114
97
|
zone_id=pulumi.get(__ret__, 'zone_id'))
|
|
115
|
-
def get_api_shield_output(
|
|
116
|
-
zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
98
|
+
def get_api_shield_output(zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
99
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApiShieldResult]:
|
|
118
100
|
"""
|
|
119
101
|
## Example Usage
|
|
@@ -122,21 +104,17 @@ def get_api_shield_output(properties: Optional[pulumi.Input[Optional[Sequence[_b
|
|
|
122
104
|
import pulumi
|
|
123
105
|
import pulumi_cloudflare as cloudflare
|
|
124
106
|
|
|
125
|
-
example_api_shield = cloudflare.get_api_shield(zone_id="023e105f4ecef8ad9ca31a8372d0c353"
|
|
126
|
-
properties=["auth_id_characteristics"])
|
|
107
|
+
example_api_shield = cloudflare.get_api_shield(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
|
|
127
108
|
```
|
|
128
109
|
|
|
129
110
|
|
|
130
|
-
:param Sequence[_builtins.str] properties: Requests information about certain properties.
|
|
131
111
|
:param _builtins.str zone_id: Identifier.
|
|
132
112
|
"""
|
|
133
113
|
__args__ = dict()
|
|
134
|
-
__args__['properties'] = properties
|
|
135
114
|
__args__['zoneId'] = zone_id
|
|
136
115
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
137
116
|
__ret__ = pulumi.runtime.invoke_output('cloudflare:index/getApiShield:getApiShield', __args__, opts=opts, typ=GetApiShieldResult)
|
|
138
117
|
return __ret__.apply(lambda __response__: GetApiShieldResult(
|
|
139
118
|
auth_id_characteristics=pulumi.get(__response__, 'auth_id_characteristics'),
|
|
140
119
|
id=pulumi.get(__response__, 'id'),
|
|
141
|
-
properties=pulumi.get(__response__, 'properties'),
|
|
142
120
|
zone_id=pulumi.get(__response__, 'zone_id')))
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetContentScanningResult',
|
|
19
|
+
'AwaitableGetContentScanningResult',
|
|
20
|
+
'get_content_scanning',
|
|
21
|
+
'get_content_scanning_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetContentScanningResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getContentScanning.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, id=None, modified=None, value=None, zone_id=None):
|
|
30
|
+
if id and not isinstance(id, str):
|
|
31
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "id", id)
|
|
33
|
+
if modified and not isinstance(modified, str):
|
|
34
|
+
raise TypeError("Expected argument 'modified' to be a str")
|
|
35
|
+
pulumi.set(__self__, "modified", modified)
|
|
36
|
+
if value and not isinstance(value, str):
|
|
37
|
+
raise TypeError("Expected argument 'value' to be a str")
|
|
38
|
+
pulumi.set(__self__, "value", value)
|
|
39
|
+
if zone_id and not isinstance(zone_id, str):
|
|
40
|
+
raise TypeError("Expected argument 'zone_id' to be a str")
|
|
41
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
42
|
+
|
|
43
|
+
@_builtins.property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def id(self) -> _builtins.str:
|
|
46
|
+
"""
|
|
47
|
+
The provider-assigned unique ID for this managed resource.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "id")
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def modified(self) -> _builtins.str:
|
|
54
|
+
"""
|
|
55
|
+
Defines the last modification date (ISO 8601) of the Content Scanning status.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "modified")
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def value(self) -> _builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
Defines the status of Content Scanning.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "value")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter(name="zoneId")
|
|
69
|
+
def zone_id(self) -> _builtins.str:
|
|
70
|
+
"""
|
|
71
|
+
Defines an identifier.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "zone_id")
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class AwaitableGetContentScanningResult(GetContentScanningResult):
|
|
77
|
+
# pylint: disable=using-constant-test
|
|
78
|
+
def __await__(self):
|
|
79
|
+
if False:
|
|
80
|
+
yield self
|
|
81
|
+
return GetContentScanningResult(
|
|
82
|
+
id=self.id,
|
|
83
|
+
modified=self.modified,
|
|
84
|
+
value=self.value,
|
|
85
|
+
zone_id=self.zone_id)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def get_content_scanning(zone_id: Optional[_builtins.str] = None,
|
|
89
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentScanningResult:
|
|
90
|
+
"""
|
|
91
|
+
## Example Usage
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
import pulumi
|
|
95
|
+
import pulumi_cloudflare as cloudflare
|
|
96
|
+
|
|
97
|
+
example_content_scanning = cloudflare.get_content_scanning(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param _builtins.str zone_id: Defines an identifier.
|
|
102
|
+
"""
|
|
103
|
+
__args__ = dict()
|
|
104
|
+
__args__['zoneId'] = zone_id
|
|
105
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
|
+
__ret__ = pulumi.runtime.invoke('cloudflare:index/getContentScanning:getContentScanning', __args__, opts=opts, typ=GetContentScanningResult).value
|
|
107
|
+
|
|
108
|
+
return AwaitableGetContentScanningResult(
|
|
109
|
+
id=pulumi.get(__ret__, 'id'),
|
|
110
|
+
modified=pulumi.get(__ret__, 'modified'),
|
|
111
|
+
value=pulumi.get(__ret__, 'value'),
|
|
112
|
+
zone_id=pulumi.get(__ret__, 'zone_id'))
|
|
113
|
+
def get_content_scanning_output(zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentScanningResult]:
|
|
115
|
+
"""
|
|
116
|
+
## Example Usage
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
import pulumi
|
|
120
|
+
import pulumi_cloudflare as cloudflare
|
|
121
|
+
|
|
122
|
+
example_content_scanning = cloudflare.get_content_scanning(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param _builtins.str zone_id: Defines an identifier.
|
|
127
|
+
"""
|
|
128
|
+
__args__ = dict()
|
|
129
|
+
__args__['zoneId'] = zone_id
|
|
130
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
|
+
__ret__ = pulumi.runtime.invoke_output('cloudflare:index/getContentScanning:getContentScanning', __args__, opts=opts, typ=GetContentScanningResult)
|
|
132
|
+
return __ret__.apply(lambda __response__: GetContentScanningResult(
|
|
133
|
+
id=pulumi.get(__response__, 'id'),
|
|
134
|
+
modified=pulumi.get(__response__, 'modified'),
|
|
135
|
+
value=pulumi.get(__response__, 'value'),
|
|
136
|
+
zone_id=pulumi.get(__response__, 'zone_id')))
|
|
@@ -92,7 +92,7 @@ class GetCustomPagesResult:
|
|
|
92
92
|
def identifier(self) -> _builtins.str:
|
|
93
93
|
"""
|
|
94
94
|
Error Page Types
|
|
95
|
-
Available values: "
|
|
95
|
+
Available values: "1000*errors", "500*errors", "basic*challenge", "country*challenge", "ip*block", "managed*challenge", "ratelimit*block", "under*attack", "waf_block".
|
|
96
96
|
"""
|
|
97
97
|
return pulumi.get(self, "identifier")
|
|
98
98
|
|
|
@@ -175,7 +175,7 @@ def get_custom_pages(account_id: Optional[_builtins.str] = None,
|
|
|
175
175
|
|
|
176
176
|
:param _builtins.str account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
|
|
177
177
|
:param _builtins.str identifier: Error Page Types
|
|
178
|
-
Available values: "
|
|
178
|
+
Available values: "1000*errors", "500*errors", "basic*challenge", "country*challenge", "ip*block", "managed*challenge", "ratelimit*block", "under*attack", "waf_block".
|
|
179
179
|
:param _builtins.str zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
|
|
180
180
|
"""
|
|
181
181
|
__args__ = dict()
|
|
@@ -216,7 +216,7 @@ def get_custom_pages_output(account_id: Optional[pulumi.Input[Optional[_builtins
|
|
|
216
216
|
|
|
217
217
|
:param _builtins.str account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
|
|
218
218
|
:param _builtins.str identifier: Error Page Types
|
|
219
|
-
Available values: "
|
|
219
|
+
Available values: "1000*errors", "500*errors", "basic*challenge", "country*challenge", "ip*block", "managed*challenge", "ratelimit*block", "under*attack", "waf_block".
|
|
220
220
|
:param _builtins.str zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
|
|
221
221
|
"""
|
|
222
222
|
__args__ = dict()
|
pulumi_cloudflare/get_list.py
CHANGED
|
@@ -116,7 +116,7 @@ class GetListResult:
|
|
|
116
116
|
|
|
117
117
|
@_builtins.property
|
|
118
118
|
@pulumi.getter(name="listId")
|
|
119
|
-
def list_id(self) -> _builtins.str:
|
|
119
|
+
def list_id(self) -> Optional[_builtins.str]:
|
|
120
120
|
"""
|
|
121
121
|
The unique ID of the list.
|
|
122
122
|
"""
|
|
@@ -225,7 +225,7 @@ def get_list(account_id: Optional[_builtins.str] = None,
|
|
|
225
225
|
num_referencing_filters=pulumi.get(__ret__, 'num_referencing_filters'),
|
|
226
226
|
search=pulumi.get(__ret__, 'search'))
|
|
227
227
|
def get_list_output(account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
|
-
list_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
|
+
list_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
229
229
|
search: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
230
230
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetListResult]:
|
|
231
231
|
"""
|
|
@@ -27,7 +27,7 @@ class GetMagicTransitConnectorResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getMagicTransitConnector.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, account_id=None, activated=None, connector_id=None, device=None, id=None, interrupt_window_duration_hours=None, interrupt_window_hour_of_day=None, last_heartbeat=None, last_seen_version=None, last_updated=None, notes=None, timezone=None):
|
|
30
|
+
def __init__(__self__, account_id=None, activated=None, connector_id=None, device=None, id=None, interrupt_window_duration_hours=None, interrupt_window_hour_of_day=None, last_heartbeat=None, last_seen_version=None, last_updated=None, license_key=None, notes=None, timezone=None):
|
|
31
31
|
if account_id and not isinstance(account_id, str):
|
|
32
32
|
raise TypeError("Expected argument 'account_id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -58,6 +58,9 @@ class GetMagicTransitConnectorResult:
|
|
|
58
58
|
if last_updated and not isinstance(last_updated, str):
|
|
59
59
|
raise TypeError("Expected argument 'last_updated' to be a str")
|
|
60
60
|
pulumi.set(__self__, "last_updated", last_updated)
|
|
61
|
+
if license_key and not isinstance(license_key, str):
|
|
62
|
+
raise TypeError("Expected argument 'license_key' to be a str")
|
|
63
|
+
pulumi.set(__self__, "license_key", license_key)
|
|
61
64
|
if notes and not isinstance(notes, str):
|
|
62
65
|
raise TypeError("Expected argument 'notes' to be a str")
|
|
63
66
|
pulumi.set(__self__, "notes", notes)
|
|
@@ -121,6 +124,11 @@ class GetMagicTransitConnectorResult:
|
|
|
121
124
|
def last_updated(self) -> _builtins.str:
|
|
122
125
|
return pulumi.get(self, "last_updated")
|
|
123
126
|
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter(name="licenseKey")
|
|
129
|
+
def license_key(self) -> _builtins.str:
|
|
130
|
+
return pulumi.get(self, "license_key")
|
|
131
|
+
|
|
124
132
|
@_builtins.property
|
|
125
133
|
@pulumi.getter
|
|
126
134
|
def notes(self) -> _builtins.str:
|
|
@@ -148,6 +156,7 @@ class AwaitableGetMagicTransitConnectorResult(GetMagicTransitConnectorResult):
|
|
|
148
156
|
last_heartbeat=self.last_heartbeat,
|
|
149
157
|
last_seen_version=self.last_seen_version,
|
|
150
158
|
last_updated=self.last_updated,
|
|
159
|
+
license_key=self.license_key,
|
|
151
160
|
notes=self.notes,
|
|
152
161
|
timezone=self.timezone)
|
|
153
162
|
|
|
@@ -186,6 +195,7 @@ def get_magic_transit_connector(account_id: Optional[_builtins.str] = None,
|
|
|
186
195
|
last_heartbeat=pulumi.get(__ret__, 'last_heartbeat'),
|
|
187
196
|
last_seen_version=pulumi.get(__ret__, 'last_seen_version'),
|
|
188
197
|
last_updated=pulumi.get(__ret__, 'last_updated'),
|
|
198
|
+
license_key=pulumi.get(__ret__, 'license_key'),
|
|
189
199
|
notes=pulumi.get(__ret__, 'notes'),
|
|
190
200
|
timezone=pulumi.get(__ret__, 'timezone'))
|
|
191
201
|
def get_magic_transit_connector_output(account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -221,5 +231,6 @@ def get_magic_transit_connector_output(account_id: Optional[pulumi.Input[_builti
|
|
|
221
231
|
last_heartbeat=pulumi.get(__response__, 'last_heartbeat'),
|
|
222
232
|
last_seen_version=pulumi.get(__response__, 'last_seen_version'),
|
|
223
233
|
last_updated=pulumi.get(__response__, 'last_updated'),
|
|
234
|
+
license_key=pulumi.get(__response__, 'license_key'),
|
|
224
235
|
notes=pulumi.get(__response__, 'notes'),
|
|
225
236
|
timezone=pulumi.get(__response__, 'timezone')))
|
|
@@ -86,7 +86,7 @@ class GetNotificationPolicyResult:
|
|
|
86
86
|
def alert_type(self) -> _builtins.str:
|
|
87
87
|
"""
|
|
88
88
|
Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
|
|
89
|
-
Available values: "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
89
|
+
Available values: "abuse*report*alert", "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "alert_type")
|
|
92
92
|
|
|
@@ -188,7 +188,7 @@ def get_notification_policy(account_id: Optional[_builtins.str] = None,
|
|
|
188
188
|
import pulumi_cloudflare as cloudflare
|
|
189
189
|
|
|
190
190
|
example_notification_policy = cloudflare.get_notification_policy(account_id="023e105f4ecef8ad9ca31a8372d0c353",
|
|
191
|
-
policy_id="
|
|
191
|
+
policy_id="0da2b59ef118439d8097bdfb215203c9")
|
|
192
192
|
```
|
|
193
193
|
|
|
194
194
|
|
|
@@ -225,7 +225,7 @@ def get_notification_policy_output(account_id: Optional[pulumi.Input[_builtins.s
|
|
|
225
225
|
import pulumi_cloudflare as cloudflare
|
|
226
226
|
|
|
227
227
|
example_notification_policy = cloudflare.get_notification_policy(account_id="023e105f4ecef8ad9ca31a8372d0c353",
|
|
228
|
-
policy_id="
|
|
228
|
+
policy_id="0da2b59ef118439d8097bdfb215203c9")
|
|
229
229
|
```
|
|
230
230
|
|
|
231
231
|
|
|
@@ -169,7 +169,7 @@ def get_notification_policy_webhooks(account_id: Optional[_builtins.str] = None,
|
|
|
169
169
|
import pulumi_cloudflare as cloudflare
|
|
170
170
|
|
|
171
171
|
example_notification_policy_webhooks = cloudflare.get_notification_policy_webhooks(account_id="023e105f4ecef8ad9ca31a8372d0c353",
|
|
172
|
-
webhook_id="
|
|
172
|
+
webhook_id="b115d5ec15c641ee8b7692c449b5227b")
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
|
|
@@ -204,7 +204,7 @@ def get_notification_policy_webhooks_output(account_id: Optional[pulumi.Input[_b
|
|
|
204
204
|
import pulumi_cloudflare as cloudflare
|
|
205
205
|
|
|
206
206
|
example_notification_policy_webhooks = cloudflare.get_notification_policy_webhooks(account_id="023e105f4ecef8ad9ca31a8372d0c353",
|
|
207
|
-
webhook_id="
|
|
207
|
+
webhook_id="b115d5ec15c641ee8b7692c449b5227b")
|
|
208
208
|
```
|
|
209
209
|
|
|
210
210
|
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetOrganizationResult',
|
|
21
|
+
'AwaitableGetOrganizationResult',
|
|
22
|
+
'get_organization',
|
|
23
|
+
'get_organization_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetOrganizationResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getOrganization.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, create_time=None, filter=None, id=None, meta=None, name=None, organization_id=None, parent=None, profile=None):
|
|
32
|
+
if create_time and not isinstance(create_time, str):
|
|
33
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
|
34
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
35
|
+
if filter and not isinstance(filter, dict):
|
|
36
|
+
raise TypeError("Expected argument 'filter' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "filter", filter)
|
|
38
|
+
if id and not isinstance(id, str):
|
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "id", id)
|
|
41
|
+
if meta and not isinstance(meta, dict):
|
|
42
|
+
raise TypeError("Expected argument 'meta' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "meta", meta)
|
|
44
|
+
if name and not isinstance(name, str):
|
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
46
|
+
pulumi.set(__self__, "name", name)
|
|
47
|
+
if organization_id and not isinstance(organization_id, str):
|
|
48
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
49
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
50
|
+
if parent and not isinstance(parent, dict):
|
|
51
|
+
raise TypeError("Expected argument 'parent' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "parent", parent)
|
|
53
|
+
if profile and not isinstance(profile, dict):
|
|
54
|
+
raise TypeError("Expected argument 'profile' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "profile", profile)
|
|
56
|
+
|
|
57
|
+
@_builtins.property
|
|
58
|
+
@pulumi.getter(name="createTime")
|
|
59
|
+
def create_time(self) -> _builtins.str:
|
|
60
|
+
return pulumi.get(self, "create_time")
|
|
61
|
+
|
|
62
|
+
@_builtins.property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def filter(self) -> Optional['outputs.GetOrganizationFilterResult']:
|
|
65
|
+
return pulumi.get(self, "filter")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def id(self) -> _builtins.str:
|
|
70
|
+
"""
|
|
71
|
+
The ID of this resource.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "id")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def meta(self) -> 'outputs.GetOrganizationMetaResult':
|
|
78
|
+
return pulumi.get(self, "meta")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def name(self) -> _builtins.str:
|
|
83
|
+
return pulumi.get(self, "name")
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter(name="organizationId")
|
|
87
|
+
def organization_id(self) -> Optional[_builtins.str]:
|
|
88
|
+
return pulumi.get(self, "organization_id")
|
|
89
|
+
|
|
90
|
+
@_builtins.property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def parent(self) -> 'outputs.GetOrganizationParentResult':
|
|
93
|
+
return pulumi.get(self, "parent")
|
|
94
|
+
|
|
95
|
+
@_builtins.property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def profile(self) -> 'outputs.GetOrganizationProfileResult':
|
|
98
|
+
return pulumi.get(self, "profile")
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
class AwaitableGetOrganizationResult(GetOrganizationResult):
|
|
102
|
+
# pylint: disable=using-constant-test
|
|
103
|
+
def __await__(self):
|
|
104
|
+
if False:
|
|
105
|
+
yield self
|
|
106
|
+
return GetOrganizationResult(
|
|
107
|
+
create_time=self.create_time,
|
|
108
|
+
filter=self.filter,
|
|
109
|
+
id=self.id,
|
|
110
|
+
meta=self.meta,
|
|
111
|
+
name=self.name,
|
|
112
|
+
organization_id=self.organization_id,
|
|
113
|
+
parent=self.parent,
|
|
114
|
+
profile=self.profile)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def get_organization(filter: Optional[Union['GetOrganizationFilterArgs', 'GetOrganizationFilterArgsDict']] = None,
|
|
118
|
+
organization_id: Optional[_builtins.str] = None,
|
|
119
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult:
|
|
120
|
+
"""
|
|
121
|
+
## Example Usage
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
import pulumi
|
|
125
|
+
import pulumi_cloudflare as cloudflare
|
|
126
|
+
|
|
127
|
+
example_organization = cloudflare.get_organization(organization_id="a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8")
|
|
128
|
+
```
|
|
129
|
+
"""
|
|
130
|
+
__args__ = dict()
|
|
131
|
+
__args__['filter'] = filter
|
|
132
|
+
__args__['organizationId'] = organization_id
|
|
133
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
134
|
+
__ret__ = pulumi.runtime.invoke('cloudflare:index/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value
|
|
135
|
+
|
|
136
|
+
return AwaitableGetOrganizationResult(
|
|
137
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
138
|
+
filter=pulumi.get(__ret__, 'filter'),
|
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
|
140
|
+
meta=pulumi.get(__ret__, 'meta'),
|
|
141
|
+
name=pulumi.get(__ret__, 'name'),
|
|
142
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
143
|
+
parent=pulumi.get(__ret__, 'parent'),
|
|
144
|
+
profile=pulumi.get(__ret__, 'profile'))
|
|
145
|
+
def get_organization_output(filter: Optional[pulumi.Input[Optional[Union['GetOrganizationFilterArgs', 'GetOrganizationFilterArgsDict']]]] = None,
|
|
146
|
+
organization_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
147
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]:
|
|
148
|
+
"""
|
|
149
|
+
## Example Usage
|
|
150
|
+
|
|
151
|
+
```python
|
|
152
|
+
import pulumi
|
|
153
|
+
import pulumi_cloudflare as cloudflare
|
|
154
|
+
|
|
155
|
+
example_organization = cloudflare.get_organization(organization_id="a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8")
|
|
156
|
+
```
|
|
157
|
+
"""
|
|
158
|
+
__args__ = dict()
|
|
159
|
+
__args__['filter'] = filter
|
|
160
|
+
__args__['organizationId'] = organization_id
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
|
+
__ret__ = pulumi.runtime.invoke_output('cloudflare:index/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult)
|
|
163
|
+
return __ret__.apply(lambda __response__: GetOrganizationResult(
|
|
164
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
165
|
+
filter=pulumi.get(__response__, 'filter'),
|
|
166
|
+
id=pulumi.get(__response__, 'id'),
|
|
167
|
+
meta=pulumi.get(__response__, 'meta'),
|
|
168
|
+
name=pulumi.get(__response__, 'name'),
|
|
169
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
170
|
+
parent=pulumi.get(__response__, 'parent'),
|
|
171
|
+
profile=pulumi.get(__response__, 'profile')))
|