pulumi-akamai 9.2.0a1759209024__py3-none-any.whl → 10.2.0a1762837730__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-akamai might be problematic. Click here for more details.

Files changed (48) hide show
  1. pulumi_akamai/__init__.py +118 -0
  2. pulumi_akamai/_inputs.py +611 -0
  3. pulumi_akamai/apidefinitions_activation.py +415 -0
  4. pulumi_akamai/apidefinitions_api.py +368 -0
  5. pulumi_akamai/apidefinitions_resource_operations.py +226 -0
  6. pulumi_akamai/app_sec_ip_geo.py +156 -107
  7. pulumi_akamai/app_sec_siem_settings.py +47 -0
  8. pulumi_akamai/appsec_advanced_settings_ase_penalty_box.py +248 -0
  9. pulumi_akamai/appsec_advanced_settings_ja4_fingerprint.py +197 -0
  10. pulumi_akamai/apr_general_settings.py +233 -0
  11. pulumi_akamai/apr_protected_operations.py +281 -0
  12. pulumi_akamai/apr_user_allow_list.py +184 -0
  13. pulumi_akamai/apr_user_risk_response_strategy.py +185 -0
  14. pulumi_akamai/clientlist_list.py +7 -7
  15. pulumi_akamai/cloud_access_key.py +7 -7
  16. pulumi_akamai/get_apidefinitions_api.py +152 -0
  17. pulumi_akamai/get_apidefinitions_openapi.py +115 -0
  18. pulumi_akamai/get_apidefinitions_resource_operations.py +137 -0
  19. pulumi_akamai/get_app_sec_ip_geo.py +40 -28
  20. pulumi_akamai/get_appsec_advanced_settings_ase_penalty_box.py +107 -0
  21. pulumi_akamai/get_appsec_advanced_settings_ja4_fingerprint.py +107 -0
  22. pulumi_akamai/get_appsec_custom_rules_usage.py +134 -0
  23. pulumi_akamai/get_appsec_rapid_rules.py +16 -1
  24. pulumi_akamai/get_apr_general_settings.py +111 -0
  25. pulumi_akamai/get_apr_protected_operations.py +126 -0
  26. pulumi_akamai/get_apr_user_allow_list.py +96 -0
  27. pulumi_akamai/get_apr_user_risk_response_strategy.py +96 -0
  28. pulumi_akamai/get_clientlist_list.py +119 -0
  29. pulumi_akamai/get_dns_record_set.py +16 -16
  30. pulumi_akamai/get_mtlstruststore_ca_set.py +267 -0
  31. pulumi_akamai/get_mtlstruststore_ca_set_activation.py +189 -0
  32. pulumi_akamai/get_mtlstruststore_ca_set_activations.py +172 -0
  33. pulumi_akamai/get_mtlstruststore_ca_set_activities.py +183 -0
  34. pulumi_akamai/get_mtlstruststore_ca_set_associations.py +124 -0
  35. pulumi_akamai/get_mtlstruststore_ca_set_certificates.py +173 -0
  36. pulumi_akamai/get_mtlstruststore_ca_set_versions.py +128 -0
  37. pulumi_akamai/get_mtlstruststore_ca_sets.py +112 -0
  38. pulumi_akamai/mtlskeystore_client_certificate_akamai.py +129 -1
  39. pulumi_akamai/mtlskeystore_client_certificate_third_party.py +56 -0
  40. pulumi_akamai/mtlstruststore_ca_set.py +654 -0
  41. pulumi_akamai/mtlstruststore_ca_set_activation.py +394 -0
  42. pulumi_akamai/outputs.py +12656 -10706
  43. pulumi_akamai/property_hostname_bucket.py +7 -7
  44. pulumi_akamai/pulumi-plugin.json +1 -1
  45. {pulumi_akamai-9.2.0a1759209024.dist-info → pulumi_akamai-10.2.0a1762837730.dist-info}/METADATA +1 -1
  46. {pulumi_akamai-9.2.0a1759209024.dist-info → pulumi_akamai-10.2.0a1762837730.dist-info}/RECORD +48 -18
  47. {pulumi_akamai-9.2.0a1759209024.dist-info → pulumi_akamai-10.2.0a1762837730.dist-info}/WHEEL +0 -0
  48. {pulumi_akamai-9.2.0a1759209024.dist-info → pulumi_akamai-10.2.0a1762837730.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,7 @@ class ClientlistListArgs:
32
32
  The set of arguments for constructing a ClientlistList resource.
33
33
  :param pulumi.Input[_builtins.str] contract_id: Contract ID for which client list is assigned.
34
34
  :param pulumi.Input[_builtins.int] group_id: Group ID for which client list is assigned.
35
- :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
35
+ :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
36
36
  :param pulumi.Input[Sequence[pulumi.Input['ClientlistListItemArgs']]] items: Set of items containing item information.
37
37
  :param pulumi.Input[_builtins.str] name: The name of the client list.
38
38
  :param pulumi.Input[_builtins.str] notes: The client list notes.
@@ -78,7 +78,7 @@ class ClientlistListArgs:
78
78
  @pulumi.getter
79
79
  def type(self) -> pulumi.Input[_builtins.str]:
80
80
  """
81
- The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
81
+ The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
82
82
  """
83
83
  return pulumi.get(self, "type")
84
84
 
@@ -158,7 +158,7 @@ class _ClientlistListState:
158
158
  :param pulumi.Input[_builtins.str] name: The name of the client list.
159
159
  :param pulumi.Input[_builtins.str] notes: The client list notes.
160
160
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The client list tags.
161
- :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
161
+ :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
162
162
  :param pulumi.Input[_builtins.int] version: The current version of the client list.
163
163
  """
164
164
  if contract_id is not None:
@@ -282,7 +282,7 @@ class _ClientlistListState:
282
282
  @pulumi.getter
283
283
  def type(self) -> Optional[pulumi.Input[_builtins.str]]:
284
284
  """
285
- The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
285
+ The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
286
286
  """
287
287
  return pulumi.get(self, "type")
288
288
 
@@ -327,7 +327,7 @@ class ClientlistList(pulumi.CustomResource):
327
327
  :param pulumi.Input[_builtins.str] name: The name of the client list.
328
328
  :param pulumi.Input[_builtins.str] notes: The client list notes.
329
329
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The client list tags.
330
- :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
330
+ :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
331
331
  """
332
332
  ...
333
333
  @overload
@@ -419,7 +419,7 @@ class ClientlistList(pulumi.CustomResource):
419
419
  :param pulumi.Input[_builtins.str] name: The name of the client list.
420
420
  :param pulumi.Input[_builtins.str] notes: The client list notes.
421
421
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The client list tags.
422
- :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
422
+ :param pulumi.Input[_builtins.str] type: The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
423
423
  :param pulumi.Input[_builtins.int] version: The current version of the client list.
424
424
  """
425
425
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -506,7 +506,7 @@ class ClientlistList(pulumi.CustomResource):
506
506
  @pulumi.getter
507
507
  def type(self) -> pulumi.Output[_builtins.str]:
508
508
  """
509
- The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH]
509
+ The type of the client list. Valid types: [IP GEO ASN TLS_FINGERPRINT FILE_HASH USER_ID]
510
510
  """
511
511
  return pulumi.get(self, "type")
512
512
 
@@ -32,7 +32,7 @@ class CloudAccessKeyArgs:
32
32
  """
33
33
  The set of arguments for constructing a CloudAccessKey resource.
34
34
  :param pulumi.Input[_builtins.str] access_key_name: Name of the access key.
35
- :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
35
+ :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
36
36
  :param pulumi.Input[_builtins.str] contract_id: The unique identifier for the contract assigned to the access key
37
37
  :param pulumi.Input[_builtins.int] group_id: The unique identifier assigned to the access control group assigned to the access key
38
38
  :param pulumi.Input['CloudAccessKeyNetworkConfigurationArgs'] network_configuration: The secure networks that you assigned the access key to during creation
@@ -67,7 +67,7 @@ class CloudAccessKeyArgs:
67
67
  @pulumi.getter(name="authenticationMethod")
68
68
  def authentication_method(self) -> pulumi.Input[_builtins.str]:
69
69
  """
70
- The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
70
+ The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
71
71
  """
72
72
  return pulumi.get(self, "authentication_method")
73
73
 
@@ -162,7 +162,7 @@ class _CloudAccessKeyState:
162
162
  Input properties used for looking up and filtering CloudAccessKey resources.
163
163
  :param pulumi.Input[_builtins.str] access_key_name: Name of the access key.
164
164
  :param pulumi.Input[_builtins.int] access_key_uid: The unique identifier Akamai assigns to an access key.
165
- :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
165
+ :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
166
166
  :param pulumi.Input[_builtins.str] contract_id: The unique identifier for the contract assigned to the access key
167
167
  :param pulumi.Input['CloudAccessKeyCredentialsAArgs'] credentials_a: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
168
168
  :param pulumi.Input['CloudAccessKeyCredentialsBArgs'] credentials_b: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
@@ -219,7 +219,7 @@ class _CloudAccessKeyState:
219
219
  @pulumi.getter(name="authenticationMethod")
220
220
  def authentication_method(self) -> Optional[pulumi.Input[_builtins.str]]:
221
221
  """
222
- The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
222
+ The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
223
223
  """
224
224
  return pulumi.get(self, "authentication_method")
225
225
 
@@ -329,7 +329,7 @@ class CloudAccessKey(pulumi.CustomResource):
329
329
  :param str resource_name: The name of the resource.
330
330
  :param pulumi.ResourceOptions opts: Options for the resource.
331
331
  :param pulumi.Input[_builtins.str] access_key_name: Name of the access key.
332
- :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
332
+ :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
333
333
  :param pulumi.Input[_builtins.str] contract_id: The unique identifier for the contract assigned to the access key
334
334
  :param pulumi.Input[Union['CloudAccessKeyCredentialsAArgs', 'CloudAccessKeyCredentialsAArgsDict']] credentials_a: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
335
335
  :param pulumi.Input[Union['CloudAccessKeyCredentialsBArgs', 'CloudAccessKeyCredentialsBArgsDict']] credentials_b: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
@@ -425,7 +425,7 @@ class CloudAccessKey(pulumi.CustomResource):
425
425
  :param pulumi.ResourceOptions opts: Options for the resource.
426
426
  :param pulumi.Input[_builtins.str] access_key_name: Name of the access key.
427
427
  :param pulumi.Input[_builtins.int] access_key_uid: The unique identifier Akamai assigns to an access key.
428
- :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
428
+ :param pulumi.Input[_builtins.str] authentication_method: The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
429
429
  :param pulumi.Input[_builtins.str] contract_id: The unique identifier for the contract assigned to the access key
430
430
  :param pulumi.Input[Union['CloudAccessKeyCredentialsAArgs', 'CloudAccessKeyCredentialsAArgsDict']] credentials_a: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
431
431
  :param pulumi.Input[Union['CloudAccessKeyCredentialsBArgs', 'CloudAccessKeyCredentialsBArgsDict']] credentials_b: The combination of a `cloud_access_key_id` and a `cloud_secret_access_key` used to sign API requests. This pair can be identified as access key version. Access key can contain only two access key versions at specific time (defined as credentialsA and credentialsB).
@@ -469,7 +469,7 @@ class CloudAccessKey(pulumi.CustomResource):
469
469
  @pulumi.getter(name="authenticationMethod")
470
470
  def authentication_method(self) -> pulumi.Output[_builtins.str]:
471
471
  """
472
- The type of cloud provider signing process used to authenticate API requests. Two options are available: "AWS4_HMAC_SHA256" or "GOOG4_HMAC_SHA256".
472
+ The type of cloud provider signing process used to authenticate API requests. Three options are available: "AWS4_HMAC_SHA256", "GOOG4_HMAC_SHA256" or "AOS4_HMAC_SHA256".
473
473
  """
474
474
  return pulumi.get(self, "authentication_method")
475
475
 
@@ -0,0 +1,152 @@
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
+ 'GetApidefinitionsApiResult',
19
+ 'AwaitableGetApidefinitionsApiResult',
20
+ 'get_apidefinitions_api',
21
+ 'get_apidefinitions_api_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetApidefinitionsApiResult:
26
+ """
27
+ A collection of values returned by getApidefinitionsApi.
28
+ """
29
+ def __init__(__self__, api=None, contract_id=None, group_id=None, id=None, latest_version=None, name=None, production_version=None, staging_version=None):
30
+ if api and not isinstance(api, str):
31
+ raise TypeError("Expected argument 'api' to be a str")
32
+ pulumi.set(__self__, "api", api)
33
+ if contract_id and not isinstance(contract_id, str):
34
+ raise TypeError("Expected argument 'contract_id' to be a str")
35
+ pulumi.set(__self__, "contract_id", contract_id)
36
+ if group_id and not isinstance(group_id, int):
37
+ raise TypeError("Expected argument 'group_id' to be a int")
38
+ pulumi.set(__self__, "group_id", group_id)
39
+ if id and not isinstance(id, int):
40
+ raise TypeError("Expected argument 'id' to be a int")
41
+ pulumi.set(__self__, "id", id)
42
+ if latest_version and not isinstance(latest_version, int):
43
+ raise TypeError("Expected argument 'latest_version' to be a int")
44
+ pulumi.set(__self__, "latest_version", latest_version)
45
+ if name and not isinstance(name, str):
46
+ raise TypeError("Expected argument 'name' to be a str")
47
+ pulumi.set(__self__, "name", name)
48
+ if production_version and not isinstance(production_version, int):
49
+ raise TypeError("Expected argument 'production_version' to be a int")
50
+ pulumi.set(__self__, "production_version", production_version)
51
+ if staging_version and not isinstance(staging_version, int):
52
+ raise TypeError("Expected argument 'staging_version' to be a int")
53
+ pulumi.set(__self__, "staging_version", staging_version)
54
+
55
+ @_builtins.property
56
+ @pulumi.getter
57
+ def api(self) -> _builtins.str:
58
+ return pulumi.get(self, "api")
59
+
60
+ @_builtins.property
61
+ @pulumi.getter(name="contractId")
62
+ def contract_id(self) -> _builtins.str:
63
+ return pulumi.get(self, "contract_id")
64
+
65
+ @_builtins.property
66
+ @pulumi.getter(name="groupId")
67
+ def group_id(self) -> _builtins.int:
68
+ return pulumi.get(self, "group_id")
69
+
70
+ @_builtins.property
71
+ @pulumi.getter
72
+ def id(self) -> Optional[_builtins.int]:
73
+ return pulumi.get(self, "id")
74
+
75
+ @_builtins.property
76
+ @pulumi.getter(name="latestVersion")
77
+ def latest_version(self) -> _builtins.int:
78
+ return pulumi.get(self, "latest_version")
79
+
80
+ @_builtins.property
81
+ @pulumi.getter
82
+ def name(self) -> Optional[_builtins.str]:
83
+ return pulumi.get(self, "name")
84
+
85
+ @_builtins.property
86
+ @pulumi.getter(name="productionVersion")
87
+ def production_version(self) -> _builtins.int:
88
+ return pulumi.get(self, "production_version")
89
+
90
+ @_builtins.property
91
+ @pulumi.getter(name="stagingVersion")
92
+ def staging_version(self) -> _builtins.int:
93
+ return pulumi.get(self, "staging_version")
94
+
95
+
96
+ class AwaitableGetApidefinitionsApiResult(GetApidefinitionsApiResult):
97
+ # pylint: disable=using-constant-test
98
+ def __await__(self):
99
+ if False:
100
+ yield self
101
+ return GetApidefinitionsApiResult(
102
+ api=self.api,
103
+ contract_id=self.contract_id,
104
+ group_id=self.group_id,
105
+ id=self.id,
106
+ latest_version=self.latest_version,
107
+ name=self.name,
108
+ production_version=self.production_version,
109
+ staging_version=self.staging_version)
110
+
111
+
112
+ def get_apidefinitions_api(id: Optional[_builtins.int] = None,
113
+ name: Optional[_builtins.str] = None,
114
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApidefinitionsApiResult:
115
+ """
116
+ Use this data source to access information about an existing resource.
117
+ """
118
+ __args__ = dict()
119
+ __args__['id'] = id
120
+ __args__['name'] = name
121
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
122
+ __ret__ = pulumi.runtime.invoke('akamai:index/getApidefinitionsApi:getApidefinitionsApi', __args__, opts=opts, typ=GetApidefinitionsApiResult).value
123
+
124
+ return AwaitableGetApidefinitionsApiResult(
125
+ api=pulumi.get(__ret__, 'api'),
126
+ contract_id=pulumi.get(__ret__, 'contract_id'),
127
+ group_id=pulumi.get(__ret__, 'group_id'),
128
+ id=pulumi.get(__ret__, 'id'),
129
+ latest_version=pulumi.get(__ret__, 'latest_version'),
130
+ name=pulumi.get(__ret__, 'name'),
131
+ production_version=pulumi.get(__ret__, 'production_version'),
132
+ staging_version=pulumi.get(__ret__, 'staging_version'))
133
+ def get_apidefinitions_api_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
134
+ name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
135
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApidefinitionsApiResult]:
136
+ """
137
+ Use this data source to access information about an existing resource.
138
+ """
139
+ __args__ = dict()
140
+ __args__['id'] = id
141
+ __args__['name'] = name
142
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke_output('akamai:index/getApidefinitionsApi:getApidefinitionsApi', __args__, opts=opts, typ=GetApidefinitionsApiResult)
144
+ return __ret__.apply(lambda __response__: GetApidefinitionsApiResult(
145
+ api=pulumi.get(__response__, 'api'),
146
+ contract_id=pulumi.get(__response__, 'contract_id'),
147
+ group_id=pulumi.get(__response__, 'group_id'),
148
+ id=pulumi.get(__response__, 'id'),
149
+ latest_version=pulumi.get(__response__, 'latest_version'),
150
+ name=pulumi.get(__response__, 'name'),
151
+ production_version=pulumi.get(__response__, 'production_version'),
152
+ staging_version=pulumi.get(__response__, 'staging_version')))
@@ -0,0 +1,115 @@
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
+ 'GetApidefinitionsOpenapiResult',
19
+ 'AwaitableGetApidefinitionsOpenapiResult',
20
+ 'get_apidefinitions_openapi',
21
+ 'get_apidefinitions_openapi_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetApidefinitionsOpenapiResult:
26
+ """
27
+ A collection of values returned by getApidefinitionsOpenapi.
28
+ """
29
+ def __init__(__self__, api=None, api_file_name=None, file_path=None, id=None):
30
+ if api and not isinstance(api, str):
31
+ raise TypeError("Expected argument 'api' to be a str")
32
+ pulumi.set(__self__, "api", api)
33
+ if api_file_name and not isinstance(api_file_name, str):
34
+ raise TypeError("Expected argument 'api_file_name' to be a str")
35
+ pulumi.set(__self__, "api_file_name", api_file_name)
36
+ if file_path and not isinstance(file_path, str):
37
+ raise TypeError("Expected argument 'file_path' to be a str")
38
+ pulumi.set(__self__, "file_path", file_path)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+
43
+ @_builtins.property
44
+ @pulumi.getter
45
+ def api(self) -> Optional[_builtins.str]:
46
+ return pulumi.get(self, "api")
47
+
48
+ @_builtins.property
49
+ @pulumi.getter(name="apiFileName")
50
+ def api_file_name(self) -> Optional[_builtins.str]:
51
+ return pulumi.get(self, "api_file_name")
52
+
53
+ @_builtins.property
54
+ @pulumi.getter(name="filePath")
55
+ def file_path(self) -> _builtins.str:
56
+ return pulumi.get(self, "file_path")
57
+
58
+ @_builtins.property
59
+ @pulumi.getter
60
+ def id(self) -> _builtins.str:
61
+ """
62
+ The provider-assigned unique ID for this managed resource.
63
+ """
64
+ return pulumi.get(self, "id")
65
+
66
+
67
+ class AwaitableGetApidefinitionsOpenapiResult(GetApidefinitionsOpenapiResult):
68
+ # pylint: disable=using-constant-test
69
+ def __await__(self):
70
+ if False:
71
+ yield self
72
+ return GetApidefinitionsOpenapiResult(
73
+ api=self.api,
74
+ api_file_name=self.api_file_name,
75
+ file_path=self.file_path,
76
+ id=self.id)
77
+
78
+
79
+ def get_apidefinitions_openapi(api: Optional[_builtins.str] = None,
80
+ api_file_name: Optional[_builtins.str] = None,
81
+ file_path: Optional[_builtins.str] = None,
82
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApidefinitionsOpenapiResult:
83
+ """
84
+ Use this data source to access information about an existing resource.
85
+ """
86
+ __args__ = dict()
87
+ __args__['api'] = api
88
+ __args__['apiFileName'] = api_file_name
89
+ __args__['filePath'] = file_path
90
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
91
+ __ret__ = pulumi.runtime.invoke('akamai:index/getApidefinitionsOpenapi:getApidefinitionsOpenapi', __args__, opts=opts, typ=GetApidefinitionsOpenapiResult).value
92
+
93
+ return AwaitableGetApidefinitionsOpenapiResult(
94
+ api=pulumi.get(__ret__, 'api'),
95
+ api_file_name=pulumi.get(__ret__, 'api_file_name'),
96
+ file_path=pulumi.get(__ret__, 'file_path'),
97
+ id=pulumi.get(__ret__, 'id'))
98
+ def get_apidefinitions_openapi_output(api: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
99
+ api_file_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
100
+ file_path: Optional[pulumi.Input[_builtins.str]] = None,
101
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApidefinitionsOpenapiResult]:
102
+ """
103
+ Use this data source to access information about an existing resource.
104
+ """
105
+ __args__ = dict()
106
+ __args__['api'] = api
107
+ __args__['apiFileName'] = api_file_name
108
+ __args__['filePath'] = file_path
109
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
110
+ __ret__ = pulumi.runtime.invoke_output('akamai:index/getApidefinitionsOpenapi:getApidefinitionsOpenapi', __args__, opts=opts, typ=GetApidefinitionsOpenapiResult)
111
+ return __ret__.apply(lambda __response__: GetApidefinitionsOpenapiResult(
112
+ api=pulumi.get(__response__, 'api'),
113
+ api_file_name=pulumi.get(__response__, 'api_file_name'),
114
+ file_path=pulumi.get(__response__, 'file_path'),
115
+ id=pulumi.get(__response__, 'id')))
@@ -0,0 +1,137 @@
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
+ 'GetApidefinitionsResourceOperationsResult',
19
+ 'AwaitableGetApidefinitionsResourceOperationsResult',
20
+ 'get_apidefinitions_resource_operations',
21
+ 'get_apidefinitions_resource_operations_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetApidefinitionsResourceOperationsResult:
26
+ """
27
+ A collection of values returned by getApidefinitionsResourceOperations.
28
+ """
29
+ def __init__(__self__, api_id=None, id=None, resource_name=None, resource_operations=None, resource_path=None, version=None):
30
+ if api_id and not isinstance(api_id, int):
31
+ raise TypeError("Expected argument 'api_id' to be a int")
32
+ pulumi.set(__self__, "api_id", api_id)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if resource_name and not isinstance(resource_name, str):
37
+ raise TypeError("Expected argument 'resource_name' to be a str")
38
+ pulumi.set(__self__, "resource_name", resource_name)
39
+ if resource_operations and not isinstance(resource_operations, str):
40
+ raise TypeError("Expected argument 'resource_operations' to be a str")
41
+ pulumi.set(__self__, "resource_operations", resource_operations)
42
+ if resource_path and not isinstance(resource_path, str):
43
+ raise TypeError("Expected argument 'resource_path' to be a str")
44
+ pulumi.set(__self__, "resource_path", resource_path)
45
+ if version and not isinstance(version, int):
46
+ raise TypeError("Expected argument 'version' to be a int")
47
+ pulumi.set(__self__, "version", version)
48
+
49
+ @_builtins.property
50
+ @pulumi.getter(name="apiId")
51
+ def api_id(self) -> _builtins.int:
52
+ return pulumi.get(self, "api_id")
53
+
54
+ @_builtins.property
55
+ @pulumi.getter
56
+ def id(self) -> _builtins.str:
57
+ """
58
+ The provider-assigned unique ID for this managed resource.
59
+ """
60
+ return pulumi.get(self, "id")
61
+
62
+ @_builtins.property
63
+ @pulumi.getter(name="resourceName")
64
+ def resource_name(self) -> Optional[_builtins.str]:
65
+ return pulumi.get(self, "resource_name")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter(name="resourceOperations")
69
+ def resource_operations(self) -> _builtins.str:
70
+ return pulumi.get(self, "resource_operations")
71
+
72
+ @_builtins.property
73
+ @pulumi.getter(name="resourcePath")
74
+ def resource_path(self) -> Optional[_builtins.str]:
75
+ return pulumi.get(self, "resource_path")
76
+
77
+ @_builtins.property
78
+ @pulumi.getter
79
+ def version(self) -> _builtins.int:
80
+ return pulumi.get(self, "version")
81
+
82
+
83
+ class AwaitableGetApidefinitionsResourceOperationsResult(GetApidefinitionsResourceOperationsResult):
84
+ # pylint: disable=using-constant-test
85
+ def __await__(self):
86
+ if False:
87
+ yield self
88
+ return GetApidefinitionsResourceOperationsResult(
89
+ api_id=self.api_id,
90
+ id=self.id,
91
+ resource_name=self.resource_name,
92
+ resource_operations=self.resource_operations,
93
+ resource_path=self.resource_path,
94
+ version=self.version)
95
+
96
+
97
+ def get_apidefinitions_resource_operations(api_id: Optional[_builtins.int] = None,
98
+ resource_name: Optional[_builtins.str] = None,
99
+ resource_path: Optional[_builtins.str] = None,
100
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApidefinitionsResourceOperationsResult:
101
+ """
102
+ Use this data source to access information about an existing resource.
103
+ """
104
+ __args__ = dict()
105
+ __args__['apiId'] = api_id
106
+ __args__['resourceName'] = resource_name
107
+ __args__['resourcePath'] = resource_path
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('akamai:index/getApidefinitionsResourceOperations:getApidefinitionsResourceOperations', __args__, opts=opts, typ=GetApidefinitionsResourceOperationsResult).value
110
+
111
+ return AwaitableGetApidefinitionsResourceOperationsResult(
112
+ api_id=pulumi.get(__ret__, 'api_id'),
113
+ id=pulumi.get(__ret__, 'id'),
114
+ resource_name=pulumi.get(__ret__, 'resource_name'),
115
+ resource_operations=pulumi.get(__ret__, 'resource_operations'),
116
+ resource_path=pulumi.get(__ret__, 'resource_path'),
117
+ version=pulumi.get(__ret__, 'version'))
118
+ def get_apidefinitions_resource_operations_output(api_id: Optional[pulumi.Input[_builtins.int]] = None,
119
+ resource_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
120
+ resource_path: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
121
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApidefinitionsResourceOperationsResult]:
122
+ """
123
+ Use this data source to access information about an existing resource.
124
+ """
125
+ __args__ = dict()
126
+ __args__['apiId'] = api_id
127
+ __args__['resourceName'] = resource_name
128
+ __args__['resourcePath'] = resource_path
129
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
130
+ __ret__ = pulumi.runtime.invoke_output('akamai:index/getApidefinitionsResourceOperations:getApidefinitionsResourceOperations', __args__, opts=opts, typ=GetApidefinitionsResourceOperationsResult)
131
+ return __ret__.apply(lambda __response__: GetApidefinitionsResourceOperationsResult(
132
+ api_id=pulumi.get(__response__, 'api_id'),
133
+ id=pulumi.get(__response__, 'id'),
134
+ resource_name=pulumi.get(__response__, 'resource_name'),
135
+ resource_operations=pulumi.get(__response__, 'resource_operations'),
136
+ resource_path=pulumi.get(__response__, 'resource_path'),
137
+ version=pulumi.get(__response__, 'version')))