pulumi-cloudngfwaws 0.2.0a1759901853__py3-none-any.whl → 1.0.0a1759959360__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-cloudngfwaws might be problematic. Click here for more details.

@@ -89,8 +89,6 @@ region: Optional[str]
89
89
  AWS region. Environment variable: `CLOUDNGFWAWS_REGION`. JSON conf file variable: `region`.
90
90
  """
91
91
 
92
- resourceTimeout: Optional[int]
93
-
94
92
  secretKey: Optional[str]
95
93
  """
96
94
  (Used for the initial `sts assume role`) AWS secret key. Environment variable: `CLOUDNGFWAWS_SECRET_KEY`. JSON conf file variable: `secret-key`.
@@ -111,3 +109,8 @@ timeout: Optional[int]
111
109
  The timeout for any single API call (default: `30`). Environment variable: `CLOUDNGFWAWS_TIMEOUT`. JSON conf file variable: `timeout`.
112
110
  """
113
111
 
112
+ v2Host: Optional[str]
113
+ """
114
+ The hostname of the V2 API (default: `api.us-east-1.aws.cloudngfw.paloaltonetworks.com`). Environment variable: `CLOUDNGFWAWS_V2_HOST`. JSON conf file variable: `v2_host`.
115
+ """
116
+
@@ -125,10 +125,6 @@ class _ExportableConfig(types.ModuleType):
125
125
  """
126
126
  return __config__.get('region')
127
127
 
128
- @_builtins.property
129
- def resource_timeout(self) -> Optional[int]:
130
- return __config__.get_int('resourceTimeout')
131
-
132
128
  @_builtins.property
133
129
  def secret_key(self) -> Optional[str]:
134
130
  """
@@ -157,3 +153,10 @@ class _ExportableConfig(types.ModuleType):
157
153
  """
158
154
  return __config__.get_int('timeout')
159
155
 
156
+ @_builtins.property
157
+ def v2_host(self) -> Optional[str]:
158
+ """
159
+ The hostname of the V2 API (default: `api.us-east-1.aws.cloudngfw.paloaltonetworks.com`). Environment variable: `CLOUDNGFWAWS_V2_HOST`. JSON conf file variable: `v2_host`.
160
+ """
161
+ return __config__.get('v2Host')
162
+
@@ -27,25 +27,43 @@ class GetNgfwResult:
27
27
  """
28
28
  A collection of values returned by getNgfw.
29
29
  """
30
- def __init__(__self__, account_id=None, app_id_version=None, automatic_upgrade_app_id_version=None, description=None, endpoint_mode=None, endpoint_service_name=None, firewall_id=None, global_rulestack=None, id=None, link_id=None, link_status=None, multi_vpc=None, name=None, rulestack=None, statuses=None, subnet_mappings=None, tags=None, update_token=None, vpc_id=None):
30
+ def __init__(__self__, account_id=None, allowlist_accounts=None, app_id_version=None, automatic_upgrade_app_id_version=None, az_lists=None, change_protections=None, deployment_update_token=None, description=None, egress_nats=None, endpoint_mode=None, endpoint_service_name=None, endpoints=None, firewall_id=None, global_rulestack=None, id=None, link_id=None, link_status=None, multi_vpc=None, name=None, private_accesses=None, rulestack=None, statuses=None, subnet_mappings=None, tags=None, update_token=None, user_ids=None, vpc_id=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)
34
+ if allowlist_accounts and not isinstance(allowlist_accounts, list):
35
+ raise TypeError("Expected argument 'allowlist_accounts' to be a list")
36
+ pulumi.set(__self__, "allowlist_accounts", allowlist_accounts)
34
37
  if app_id_version and not isinstance(app_id_version, str):
35
38
  raise TypeError("Expected argument 'app_id_version' to be a str")
36
39
  pulumi.set(__self__, "app_id_version", app_id_version)
37
40
  if automatic_upgrade_app_id_version and not isinstance(automatic_upgrade_app_id_version, bool):
38
41
  raise TypeError("Expected argument 'automatic_upgrade_app_id_version' to be a bool")
39
42
  pulumi.set(__self__, "automatic_upgrade_app_id_version", automatic_upgrade_app_id_version)
43
+ if az_lists and not isinstance(az_lists, list):
44
+ raise TypeError("Expected argument 'az_lists' to be a list")
45
+ pulumi.set(__self__, "az_lists", az_lists)
46
+ if change_protections and not isinstance(change_protections, list):
47
+ raise TypeError("Expected argument 'change_protections' to be a list")
48
+ pulumi.set(__self__, "change_protections", change_protections)
49
+ if deployment_update_token and not isinstance(deployment_update_token, str):
50
+ raise TypeError("Expected argument 'deployment_update_token' to be a str")
51
+ pulumi.set(__self__, "deployment_update_token", deployment_update_token)
40
52
  if description and not isinstance(description, str):
41
53
  raise TypeError("Expected argument 'description' to be a str")
42
54
  pulumi.set(__self__, "description", description)
55
+ if egress_nats and not isinstance(egress_nats, list):
56
+ raise TypeError("Expected argument 'egress_nats' to be a list")
57
+ pulumi.set(__self__, "egress_nats", egress_nats)
43
58
  if endpoint_mode and not isinstance(endpoint_mode, str):
44
59
  raise TypeError("Expected argument 'endpoint_mode' to be a str")
45
60
  pulumi.set(__self__, "endpoint_mode", endpoint_mode)
46
61
  if endpoint_service_name and not isinstance(endpoint_service_name, str):
47
62
  raise TypeError("Expected argument 'endpoint_service_name' to be a str")
48
63
  pulumi.set(__self__, "endpoint_service_name", endpoint_service_name)
64
+ if endpoints and not isinstance(endpoints, list):
65
+ raise TypeError("Expected argument 'endpoints' to be a list")
66
+ pulumi.set(__self__, "endpoints", endpoints)
49
67
  if firewall_id and not isinstance(firewall_id, str):
50
68
  raise TypeError("Expected argument 'firewall_id' to be a str")
51
69
  pulumi.set(__self__, "firewall_id", firewall_id)
@@ -67,6 +85,9 @@ class GetNgfwResult:
67
85
  if name and not isinstance(name, str):
68
86
  raise TypeError("Expected argument 'name' to be a str")
69
87
  pulumi.set(__self__, "name", name)
88
+ if private_accesses and not isinstance(private_accesses, list):
89
+ raise TypeError("Expected argument 'private_accesses' to be a list")
90
+ pulumi.set(__self__, "private_accesses", private_accesses)
70
91
  if rulestack and not isinstance(rulestack, str):
71
92
  raise TypeError("Expected argument 'rulestack' to be a str")
72
93
  pulumi.set(__self__, "rulestack", rulestack)
@@ -82,18 +103,29 @@ class GetNgfwResult:
82
103
  if update_token and not isinstance(update_token, str):
83
104
  raise TypeError("Expected argument 'update_token' to be a str")
84
105
  pulumi.set(__self__, "update_token", update_token)
106
+ if user_ids and not isinstance(user_ids, list):
107
+ raise TypeError("Expected argument 'user_ids' to be a list")
108
+ pulumi.set(__self__, "user_ids", user_ids)
85
109
  if vpc_id and not isinstance(vpc_id, str):
86
110
  raise TypeError("Expected argument 'vpc_id' to be a str")
87
111
  pulumi.set(__self__, "vpc_id", vpc_id)
88
112
 
89
113
  @_builtins.property
90
114
  @pulumi.getter(name="accountId")
91
- def account_id(self) -> Optional[_builtins.str]:
115
+ def account_id(self) -> _builtins.str:
92
116
  """
93
- The account ID. This field is mandatory if using multiple accounts.
117
+ The description.
94
118
  """
95
119
  return pulumi.get(self, "account_id")
96
120
 
121
+ @_builtins.property
122
+ @pulumi.getter(name="allowlistAccounts")
123
+ def allowlist_accounts(self) -> Sequence[_builtins.str]:
124
+ """
125
+ The list of allowed accounts for this NGFW.
126
+ """
127
+ return pulumi.get(self, "allowlist_accounts")
128
+
97
129
  @_builtins.property
98
130
  @pulumi.getter(name="appIdVersion")
99
131
  def app_id_version(self) -> _builtins.str:
@@ -110,14 +142,43 @@ class GetNgfwResult:
110
142
  """
111
143
  return pulumi.get(self, "automatic_upgrade_app_id_version")
112
144
 
145
+ @_builtins.property
146
+ @pulumi.getter(name="azLists")
147
+ def az_lists(self) -> Sequence[_builtins.str]:
148
+ """
149
+ The list of availability zones for this NGFW.
150
+ """
151
+ return pulumi.get(self, "az_lists")
152
+
153
+ @_builtins.property
154
+ @pulumi.getter(name="changeProtections")
155
+ def change_protections(self) -> Sequence[_builtins.str]:
156
+ """
157
+ Enables or disables change protection for the NGFW.
158
+ """
159
+ return pulumi.get(self, "change_protections")
160
+
161
+ @_builtins.property
162
+ @pulumi.getter(name="deploymentUpdateToken")
163
+ def deployment_update_token(self) -> _builtins.str:
164
+ """
165
+ The update token.
166
+ """
167
+ return pulumi.get(self, "deployment_update_token")
168
+
113
169
  @_builtins.property
114
170
  @pulumi.getter
115
171
  def description(self) -> _builtins.str:
116
172
  """
117
- The description.
173
+ The NGFW description.
118
174
  """
119
175
  return pulumi.get(self, "description")
120
176
 
177
+ @_builtins.property
178
+ @pulumi.getter(name="egressNats")
179
+ def egress_nats(self) -> Sequence['outputs.GetNgfwEgressNatResult']:
180
+ return pulumi.get(self, "egress_nats")
181
+
121
182
  @_builtins.property
122
183
  @pulumi.getter(name="endpointMode")
123
184
  def endpoint_mode(self) -> _builtins.str:
@@ -134,11 +195,16 @@ class GetNgfwResult:
134
195
  """
135
196
  return pulumi.get(self, "endpoint_service_name")
136
197
 
198
+ @_builtins.property
199
+ @pulumi.getter
200
+ def endpoints(self) -> Sequence['outputs.GetNgfwEndpointResult']:
201
+ return pulumi.get(self, "endpoints")
202
+
137
203
  @_builtins.property
138
204
  @pulumi.getter(name="firewallId")
139
205
  def firewall_id(self) -> _builtins.str:
140
206
  """
141
- The Id of the NGFW.
207
+ The Firewall ID.
142
208
  """
143
209
  return pulumi.get(self, "firewall_id")
144
210
 
@@ -190,6 +256,11 @@ class GetNgfwResult:
190
256
  """
191
257
  return pulumi.get(self, "name")
192
258
 
259
+ @_builtins.property
260
+ @pulumi.getter(name="privateAccesses")
261
+ def private_accesses(self) -> Sequence['outputs.GetNgfwPrivateAccessResult']:
262
+ return pulumi.get(self, "private_accesses")
263
+
193
264
  @_builtins.property
194
265
  @pulumi.getter
195
266
  def rulestack(self) -> _builtins.str:
@@ -227,11 +298,16 @@ class GetNgfwResult:
227
298
  """
228
299
  return pulumi.get(self, "update_token")
229
300
 
301
+ @_builtins.property
302
+ @pulumi.getter(name="userIds")
303
+ def user_ids(self) -> Sequence['outputs.GetNgfwUserIdResult']:
304
+ return pulumi.get(self, "user_ids")
305
+
230
306
  @_builtins.property
231
307
  @pulumi.getter(name="vpcId")
232
308
  def vpc_id(self) -> _builtins.str:
233
309
  """
234
- The vpc id.
310
+ The VPC ID for the NGFW.
235
311
  """
236
312
  return pulumi.get(self, "vpc_id")
237
313
 
@@ -243,11 +319,17 @@ class AwaitableGetNgfwResult(GetNgfwResult):
243
319
  yield self
244
320
  return GetNgfwResult(
245
321
  account_id=self.account_id,
322
+ allowlist_accounts=self.allowlist_accounts,
246
323
  app_id_version=self.app_id_version,
247
324
  automatic_upgrade_app_id_version=self.automatic_upgrade_app_id_version,
325
+ az_lists=self.az_lists,
326
+ change_protections=self.change_protections,
327
+ deployment_update_token=self.deployment_update_token,
248
328
  description=self.description,
329
+ egress_nats=self.egress_nats,
249
330
  endpoint_mode=self.endpoint_mode,
250
331
  endpoint_service_name=self.endpoint_service_name,
332
+ endpoints=self.endpoints,
251
333
  firewall_id=self.firewall_id,
252
334
  global_rulestack=self.global_rulestack,
253
335
  id=self.id,
@@ -255,16 +337,17 @@ class AwaitableGetNgfwResult(GetNgfwResult):
255
337
  link_status=self.link_status,
256
338
  multi_vpc=self.multi_vpc,
257
339
  name=self.name,
340
+ private_accesses=self.private_accesses,
258
341
  rulestack=self.rulestack,
259
342
  statuses=self.statuses,
260
343
  subnet_mappings=self.subnet_mappings,
261
344
  tags=self.tags,
262
345
  update_token=self.update_token,
346
+ user_ids=self.user_ids,
263
347
  vpc_id=self.vpc_id)
264
348
 
265
349
 
266
- def get_ngfw(account_id: Optional[_builtins.str] = None,
267
- name: Optional[_builtins.str] = None,
350
+ def get_ngfw(firewall_id: Optional[_builtins.str] = None,
268
351
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNgfwResult:
269
352
  """
270
353
  Data source for retrieving NGFW information.
@@ -273,32 +356,27 @@ def get_ngfw(account_id: Optional[_builtins.str] = None,
273
356
 
274
357
  * `Firewall`
275
358
 
276
- ## Example Usage
277
-
278
- ```python
279
- import pulumi
280
- import pulumi_cloudngfwaws as cloudngfwaws
281
-
282
- example = cloudngfwaws.get_ngfw(name="example-instance")
283
- ```
284
359
 
285
-
286
- :param _builtins.str account_id: The account ID. This field is mandatory if using multiple accounts.
287
- :param _builtins.str name: The NGFW name.
360
+ :param _builtins.str firewall_id: The Firewall ID.
288
361
  """
289
362
  __args__ = dict()
290
- __args__['accountId'] = account_id
291
- __args__['name'] = name
363
+ __args__['firewallId'] = firewall_id
292
364
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
293
365
  __ret__ = pulumi.runtime.invoke('cloudngfwaws:index/getNgfw:getNgfw', __args__, opts=opts, typ=GetNgfwResult).value
294
366
 
295
367
  return AwaitableGetNgfwResult(
296
368
  account_id=pulumi.get(__ret__, 'account_id'),
369
+ allowlist_accounts=pulumi.get(__ret__, 'allowlist_accounts'),
297
370
  app_id_version=pulumi.get(__ret__, 'app_id_version'),
298
371
  automatic_upgrade_app_id_version=pulumi.get(__ret__, 'automatic_upgrade_app_id_version'),
372
+ az_lists=pulumi.get(__ret__, 'az_lists'),
373
+ change_protections=pulumi.get(__ret__, 'change_protections'),
374
+ deployment_update_token=pulumi.get(__ret__, 'deployment_update_token'),
299
375
  description=pulumi.get(__ret__, 'description'),
376
+ egress_nats=pulumi.get(__ret__, 'egress_nats'),
300
377
  endpoint_mode=pulumi.get(__ret__, 'endpoint_mode'),
301
378
  endpoint_service_name=pulumi.get(__ret__, 'endpoint_service_name'),
379
+ endpoints=pulumi.get(__ret__, 'endpoints'),
302
380
  firewall_id=pulumi.get(__ret__, 'firewall_id'),
303
381
  global_rulestack=pulumi.get(__ret__, 'global_rulestack'),
304
382
  id=pulumi.get(__ret__, 'id'),
@@ -306,14 +384,15 @@ def get_ngfw(account_id: Optional[_builtins.str] = None,
306
384
  link_status=pulumi.get(__ret__, 'link_status'),
307
385
  multi_vpc=pulumi.get(__ret__, 'multi_vpc'),
308
386
  name=pulumi.get(__ret__, 'name'),
387
+ private_accesses=pulumi.get(__ret__, 'private_accesses'),
309
388
  rulestack=pulumi.get(__ret__, 'rulestack'),
310
389
  statuses=pulumi.get(__ret__, 'statuses'),
311
390
  subnet_mappings=pulumi.get(__ret__, 'subnet_mappings'),
312
391
  tags=pulumi.get(__ret__, 'tags'),
313
392
  update_token=pulumi.get(__ret__, 'update_token'),
393
+ user_ids=pulumi.get(__ret__, 'user_ids'),
314
394
  vpc_id=pulumi.get(__ret__, 'vpc_id'))
315
- def get_ngfw_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
316
- name: Optional[pulumi.Input[_builtins.str]] = None,
395
+ def get_ngfw_output(firewall_id: Optional[pulumi.Input[_builtins.str]] = None,
317
396
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNgfwResult]:
318
397
  """
319
398
  Data source for retrieving NGFW information.
@@ -322,31 +401,26 @@ def get_ngfw_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]]
322
401
 
323
402
  * `Firewall`
324
403
 
325
- ## Example Usage
326
-
327
- ```python
328
- import pulumi
329
- import pulumi_cloudngfwaws as cloudngfwaws
330
-
331
- example = cloudngfwaws.get_ngfw(name="example-instance")
332
- ```
333
-
334
404
 
335
- :param _builtins.str account_id: The account ID. This field is mandatory if using multiple accounts.
336
- :param _builtins.str name: The NGFW name.
405
+ :param _builtins.str firewall_id: The Firewall ID.
337
406
  """
338
407
  __args__ = dict()
339
- __args__['accountId'] = account_id
340
- __args__['name'] = name
408
+ __args__['firewallId'] = firewall_id
341
409
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
342
410
  __ret__ = pulumi.runtime.invoke_output('cloudngfwaws:index/getNgfw:getNgfw', __args__, opts=opts, typ=GetNgfwResult)
343
411
  return __ret__.apply(lambda __response__: GetNgfwResult(
344
412
  account_id=pulumi.get(__response__, 'account_id'),
413
+ allowlist_accounts=pulumi.get(__response__, 'allowlist_accounts'),
345
414
  app_id_version=pulumi.get(__response__, 'app_id_version'),
346
415
  automatic_upgrade_app_id_version=pulumi.get(__response__, 'automatic_upgrade_app_id_version'),
416
+ az_lists=pulumi.get(__response__, 'az_lists'),
417
+ change_protections=pulumi.get(__response__, 'change_protections'),
418
+ deployment_update_token=pulumi.get(__response__, 'deployment_update_token'),
347
419
  description=pulumi.get(__response__, 'description'),
420
+ egress_nats=pulumi.get(__response__, 'egress_nats'),
348
421
  endpoint_mode=pulumi.get(__response__, 'endpoint_mode'),
349
422
  endpoint_service_name=pulumi.get(__response__, 'endpoint_service_name'),
423
+ endpoints=pulumi.get(__response__, 'endpoints'),
350
424
  firewall_id=pulumi.get(__response__, 'firewall_id'),
351
425
  global_rulestack=pulumi.get(__response__, 'global_rulestack'),
352
426
  id=pulumi.get(__response__, 'id'),
@@ -354,9 +428,11 @@ def get_ngfw_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]]
354
428
  link_status=pulumi.get(__response__, 'link_status'),
355
429
  multi_vpc=pulumi.get(__response__, 'multi_vpc'),
356
430
  name=pulumi.get(__response__, 'name'),
431
+ private_accesses=pulumi.get(__response__, 'private_accesses'),
357
432
  rulestack=pulumi.get(__response__, 'rulestack'),
358
433
  statuses=pulumi.get(__response__, 'statuses'),
359
434
  subnet_mappings=pulumi.get(__response__, 'subnet_mappings'),
360
435
  tags=pulumi.get(__response__, 'tags'),
361
436
  update_token=pulumi.get(__response__, 'update_token'),
437
+ user_ids=pulumi.get(__response__, 'user_ids'),
362
438
  vpc_id=pulumi.get(__response__, 'vpc_id')))
@@ -27,7 +27,7 @@ class GetNgfwLogProfileResult:
27
27
  """
28
28
  A collection of values returned by getNgfwLogProfile.
29
29
  """
30
- def __init__(__self__, account_id=None, advanced_threat_log=None, cloud_watch_metric_namespace=None, cloudwatch_metric_fields=None, id=None, log_destinations=None, ngfw=None):
30
+ def __init__(__self__, account_id=None, advanced_threat_log=None, cloud_watch_metric_namespace=None, cloudwatch_metric_fields=None, firewall_id=None, id=None, log_configs=None, log_destinations=None, ngfw=None, region=None, update_token=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)
@@ -40,19 +40,31 @@ class GetNgfwLogProfileResult:
40
40
  if cloudwatch_metric_fields and not isinstance(cloudwatch_metric_fields, list):
41
41
  raise TypeError("Expected argument 'cloudwatch_metric_fields' to be a list")
42
42
  pulumi.set(__self__, "cloudwatch_metric_fields", cloudwatch_metric_fields)
43
+ if firewall_id and not isinstance(firewall_id, str):
44
+ raise TypeError("Expected argument 'firewall_id' to be a str")
45
+ pulumi.set(__self__, "firewall_id", firewall_id)
43
46
  if id and not isinstance(id, str):
44
47
  raise TypeError("Expected argument 'id' to be a str")
45
48
  pulumi.set(__self__, "id", id)
49
+ if log_configs and not isinstance(log_configs, list):
50
+ raise TypeError("Expected argument 'log_configs' to be a list")
51
+ pulumi.set(__self__, "log_configs", log_configs)
46
52
  if log_destinations and not isinstance(log_destinations, list):
47
53
  raise TypeError("Expected argument 'log_destinations' to be a list")
48
54
  pulumi.set(__self__, "log_destinations", log_destinations)
49
55
  if ngfw and not isinstance(ngfw, str):
50
56
  raise TypeError("Expected argument 'ngfw' to be a str")
51
57
  pulumi.set(__self__, "ngfw", ngfw)
58
+ if region and not isinstance(region, str):
59
+ raise TypeError("Expected argument 'region' to be a str")
60
+ pulumi.set(__self__, "region", region)
61
+ if update_token and not isinstance(update_token, str):
62
+ raise TypeError("Expected argument 'update_token' to be a str")
63
+ pulumi.set(__self__, "update_token", update_token)
52
64
 
53
65
  @_builtins.property
54
66
  @pulumi.getter(name="accountId")
55
- def account_id(self) -> _builtins.str:
67
+ def account_id(self) -> Optional[_builtins.str]:
56
68
  """
57
69
  The unique ID of the account.
58
70
  """
@@ -82,6 +94,14 @@ class GetNgfwLogProfileResult:
82
94
  """
83
95
  return pulumi.get(self, "cloudwatch_metric_fields")
84
96
 
97
+ @_builtins.property
98
+ @pulumi.getter(name="firewallId")
99
+ def firewall_id(self) -> _builtins.str:
100
+ """
101
+ The Firewall Id for the NGFW.
102
+ """
103
+ return pulumi.get(self, "firewall_id")
104
+
85
105
  @_builtins.property
86
106
  @pulumi.getter
87
107
  def id(self) -> _builtins.str:
@@ -90,6 +110,14 @@ class GetNgfwLogProfileResult:
90
110
  """
91
111
  return pulumi.get(self, "id")
92
112
 
113
+ @_builtins.property
114
+ @pulumi.getter(name="logConfigs")
115
+ def log_configs(self) -> Sequence['outputs.GetNgfwLogProfileLogConfigResult']:
116
+ """
117
+ Log configuration details.
118
+ """
119
+ return pulumi.get(self, "log_configs")
120
+
93
121
  @_builtins.property
94
122
  @pulumi.getter(name="logDestinations")
95
123
  def log_destinations(self) -> Sequence['outputs.GetNgfwLogProfileLogDestinationResult']:
@@ -100,12 +128,28 @@ class GetNgfwLogProfileResult:
100
128
 
101
129
  @_builtins.property
102
130
  @pulumi.getter
103
- def ngfw(self) -> _builtins.str:
131
+ def ngfw(self) -> Optional[_builtins.str]:
104
132
  """
105
133
  The name of the NGFW.
106
134
  """
107
135
  return pulumi.get(self, "ngfw")
108
136
 
137
+ @_builtins.property
138
+ @pulumi.getter
139
+ def region(self) -> _builtins.str:
140
+ """
141
+ The region of the NGFW.
142
+ """
143
+ return pulumi.get(self, "region")
144
+
145
+ @_builtins.property
146
+ @pulumi.getter(name="updateToken")
147
+ def update_token(self) -> _builtins.str:
148
+ """
149
+ The update token.
150
+ """
151
+ return pulumi.get(self, "update_token")
152
+
109
153
 
110
154
  class AwaitableGetNgfwLogProfileResult(GetNgfwLogProfileResult):
111
155
  # pylint: disable=using-constant-test
@@ -117,9 +161,13 @@ class AwaitableGetNgfwLogProfileResult(GetNgfwLogProfileResult):
117
161
  advanced_threat_log=self.advanced_threat_log,
118
162
  cloud_watch_metric_namespace=self.cloud_watch_metric_namespace,
119
163
  cloudwatch_metric_fields=self.cloudwatch_metric_fields,
164
+ firewall_id=self.firewall_id,
120
165
  id=self.id,
166
+ log_configs=self.log_configs,
121
167
  log_destinations=self.log_destinations,
122
- ngfw=self.ngfw)
168
+ ngfw=self.ngfw,
169
+ region=self.region,
170
+ update_token=self.update_token)
123
171
 
124
172
 
125
173
  def get_ngfw_log_profile(account_id: Optional[_builtins.str] = None,
@@ -157,11 +205,15 @@ def get_ngfw_log_profile(account_id: Optional[_builtins.str] = None,
157
205
  advanced_threat_log=pulumi.get(__ret__, 'advanced_threat_log'),
158
206
  cloud_watch_metric_namespace=pulumi.get(__ret__, 'cloud_watch_metric_namespace'),
159
207
  cloudwatch_metric_fields=pulumi.get(__ret__, 'cloudwatch_metric_fields'),
208
+ firewall_id=pulumi.get(__ret__, 'firewall_id'),
160
209
  id=pulumi.get(__ret__, 'id'),
210
+ log_configs=pulumi.get(__ret__, 'log_configs'),
161
211
  log_destinations=pulumi.get(__ret__, 'log_destinations'),
162
- ngfw=pulumi.get(__ret__, 'ngfw'))
163
- def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[_builtins.str]] = None,
164
- ngfw: Optional[pulumi.Input[_builtins.str]] = None,
212
+ ngfw=pulumi.get(__ret__, 'ngfw'),
213
+ region=pulumi.get(__ret__, 'region'),
214
+ update_token=pulumi.get(__ret__, 'update_token'))
215
+ def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
216
+ ngfw: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
165
217
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNgfwLogProfileResult]:
166
218
  """
167
219
  Data source for retrieving log profile information.
@@ -194,6 +246,10 @@ def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[_builtins.str]
194
246
  advanced_threat_log=pulumi.get(__response__, 'advanced_threat_log'),
195
247
  cloud_watch_metric_namespace=pulumi.get(__response__, 'cloud_watch_metric_namespace'),
196
248
  cloudwatch_metric_fields=pulumi.get(__response__, 'cloudwatch_metric_fields'),
249
+ firewall_id=pulumi.get(__response__, 'firewall_id'),
197
250
  id=pulumi.get(__response__, 'id'),
251
+ log_configs=pulumi.get(__response__, 'log_configs'),
198
252
  log_destinations=pulumi.get(__response__, 'log_destinations'),
199
- ngfw=pulumi.get(__response__, 'ngfw')))
253
+ ngfw=pulumi.get(__response__, 'ngfw'),
254
+ region=pulumi.get(__response__, 'region'),
255
+ update_token=pulumi.get(__response__, 'update_token')))
@@ -27,13 +27,16 @@ class GetNgfwsResult:
27
27
  """
28
28
  A collection of values returned by getNgfws.
29
29
  """
30
- def __init__(__self__, id=None, instances=None, rulestack=None, vpc_ids=None):
30
+ def __init__(__self__, id=None, instances=None, region=None, rulestack=None, vpc_ids=None):
31
31
  if id and not isinstance(id, str):
32
32
  raise TypeError("Expected argument 'id' to be a str")
33
33
  pulumi.set(__self__, "id", id)
34
34
  if instances and not isinstance(instances, list):
35
35
  raise TypeError("Expected argument 'instances' to be a list")
36
36
  pulumi.set(__self__, "instances", instances)
37
+ if region and not isinstance(region, str):
38
+ raise TypeError("Expected argument 'region' to be a str")
39
+ pulumi.set(__self__, "region", region)
37
40
  if rulestack and not isinstance(rulestack, str):
38
41
  raise TypeError("Expected argument 'rulestack' to be a str")
39
42
  pulumi.set(__self__, "rulestack", rulestack)
@@ -57,6 +60,14 @@ class GetNgfwsResult:
57
60
  """
58
61
  return pulumi.get(self, "instances")
59
62
 
63
+ @_builtins.property
64
+ @pulumi.getter
65
+ def region(self) -> Optional[_builtins.str]:
66
+ """
67
+ The region to filter on.
68
+ """
69
+ return pulumi.get(self, "region")
70
+
60
71
  @_builtins.property
61
72
  @pulumi.getter
62
73
  def rulestack(self) -> Optional[_builtins.str]:
@@ -82,11 +93,13 @@ class AwaitableGetNgfwsResult(GetNgfwsResult):
82
93
  return GetNgfwsResult(
83
94
  id=self.id,
84
95
  instances=self.instances,
96
+ region=self.region,
85
97
  rulestack=self.rulestack,
86
98
  vpc_ids=self.vpc_ids)
87
99
 
88
100
 
89
- def get_ngfws(rulestack: Optional[_builtins.str] = None,
101
+ def get_ngfws(region: Optional[_builtins.str] = None,
102
+ rulestack: Optional[_builtins.str] = None,
90
103
  vpc_ids: Optional[Sequence[_builtins.str]] = None,
91
104
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNgfwsResult:
92
105
  """
@@ -106,10 +119,12 @@ def get_ngfws(rulestack: Optional[_builtins.str] = None,
106
119
  ```
107
120
 
108
121
 
122
+ :param _builtins.str region: The region to filter on.
109
123
  :param _builtins.str rulestack: The rulestack to filter on.
110
124
  :param Sequence[_builtins.str] vpc_ids: List of vpc ids to filter on.
111
125
  """
112
126
  __args__ = dict()
127
+ __args__['region'] = region
113
128
  __args__['rulestack'] = rulestack
114
129
  __args__['vpcIds'] = vpc_ids
115
130
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -118,9 +133,11 @@ def get_ngfws(rulestack: Optional[_builtins.str] = None,
118
133
  return AwaitableGetNgfwsResult(
119
134
  id=pulumi.get(__ret__, 'id'),
120
135
  instances=pulumi.get(__ret__, 'instances'),
136
+ region=pulumi.get(__ret__, 'region'),
121
137
  rulestack=pulumi.get(__ret__, 'rulestack'),
122
138
  vpc_ids=pulumi.get(__ret__, 'vpc_ids'))
123
- def get_ngfws_output(rulestack: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
139
+ def get_ngfws_output(region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
140
+ rulestack: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
124
141
  vpc_ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
125
142
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNgfwsResult]:
126
143
  """
@@ -140,10 +157,12 @@ def get_ngfws_output(rulestack: Optional[pulumi.Input[Optional[_builtins.str]]]
140
157
  ```
141
158
 
142
159
 
160
+ :param _builtins.str region: The region to filter on.
143
161
  :param _builtins.str rulestack: The rulestack to filter on.
144
162
  :param Sequence[_builtins.str] vpc_ids: List of vpc ids to filter on.
145
163
  """
146
164
  __args__ = dict()
165
+ __args__['region'] = region
147
166
  __args__['rulestack'] = rulestack
148
167
  __args__['vpcIds'] = vpc_ids
149
168
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -151,5 +170,6 @@ def get_ngfws_output(rulestack: Optional[pulumi.Input[Optional[_builtins.str]]]
151
170
  return __ret__.apply(lambda __response__: GetNgfwsResult(
152
171
  id=pulumi.get(__response__, 'id'),
153
172
  instances=pulumi.get(__response__, 'instances'),
173
+ region=pulumi.get(__response__, 'region'),
154
174
  rulestack=pulumi.get(__response__, 'rulestack'),
155
175
  vpc_ids=pulumi.get(__response__, 'vpc_ids')))