pulumi-oci 2.7.0__py3-none-any.whl → 2.7.0a1723456529__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_oci/__init__.py +0 -16
- pulumi_oci/database/autonomous_database.py +7 -7
- pulumi_oci/database/get_autonomous_database.py +1 -1
- pulumi_oci/database/outputs.py +4 -4
- pulumi_oci/datasafe/__init__.py +0 -2
- pulumi_oci/datasafe/_inputs.py +0 -120
- pulumi_oci/datasafe/outputs.py +0 -132
- pulumi_oci/disasterrecovery/get_dr_plan_executions.py +42 -1
- pulumi_oci/integration/get_integration_instance.py +1 -14
- pulumi_oci/integration/integration_instance.py +0 -28
- pulumi_oci/integration/outputs.py +0 -11
- pulumi_oci/limits/get_limit_definitions.py +7 -24
- pulumi_oci/limits/get_limit_values.py +7 -24
- pulumi_oci/limits/get_resource_availability.py +5 -24
- pulumi_oci/limits/get_services.py +7 -24
- pulumi_oci/limits/outputs.py +2 -35
- pulumi_oci/networkloadbalancer/backend_set.py +2 -2
- pulumi_oci/networkloadbalancer/get_listener.py +3 -29
- pulumi_oci/networkloadbalancer/listener.py +24 -122
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +2 -2
- pulumi_oci/networkloadbalancer/outputs.py +5 -27
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.7.0.dist-info → pulumi_oci-2.7.0a1723456529.dist-info}/METADATA +1 -1
- {pulumi_oci-2.7.0.dist-info → pulumi_oci-2.7.0a1723456529.dist-info}/RECORD +27 -29
- {pulumi_oci-2.7.0.dist-info → pulumi_oci-2.7.0a1723456529.dist-info}/WHEEL +1 -1
- pulumi_oci/datasafe/calculate_audit_volume_available.py +0 -391
- pulumi_oci/datasafe/calculate_audit_volume_collected.py +0 -343
- {pulumi_oci-2.7.0.dist-info → pulumi_oci-2.7.0a1723456529.dist-info}/top_level.txt +0 -0
@@ -334,7 +334,6 @@ class _IntegrationInstanceState:
|
|
334
334
|
shape: Optional[pulumi.Input[str]] = None,
|
335
335
|
state: Optional[pulumi.Input[str]] = None,
|
336
336
|
state_message: Optional[pulumi.Input[str]] = None,
|
337
|
-
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
338
337
|
time_created: Optional[pulumi.Input[str]] = None,
|
339
338
|
time_updated: Optional[pulumi.Input[str]] = None):
|
340
339
|
"""
|
@@ -365,7 +364,6 @@ class _IntegrationInstanceState:
|
|
365
364
|
** IMPORTANT **
|
366
365
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
367
366
|
:param pulumi.Input[str] state_message: An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
368
|
-
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
369
367
|
:param pulumi.Input[str] time_created: The time the the Integration Instance was created. An RFC3339 formatted datetime string.
|
370
368
|
:param pulumi.Input[str] time_updated: The time the IntegrationInstance was updated. An RFC3339 formatted datetime string.
|
371
369
|
"""
|
@@ -415,8 +413,6 @@ class _IntegrationInstanceState:
|
|
415
413
|
pulumi.set(__self__, "state", state)
|
416
414
|
if state_message is not None:
|
417
415
|
pulumi.set(__self__, "state_message", state_message)
|
418
|
-
if system_tags is not None:
|
419
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
420
416
|
if time_created is not None:
|
421
417
|
pulumi.set(__self__, "time_created", time_created)
|
422
418
|
if time_updated is not None:
|
@@ -699,18 +695,6 @@ class _IntegrationInstanceState:
|
|
699
695
|
def state_message(self, value: Optional[pulumi.Input[str]]):
|
700
696
|
pulumi.set(self, "state_message", value)
|
701
697
|
|
702
|
-
@property
|
703
|
-
@pulumi.getter(name="systemTags")
|
704
|
-
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
705
|
-
"""
|
706
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
707
|
-
"""
|
708
|
-
return pulumi.get(self, "system_tags")
|
709
|
-
|
710
|
-
@system_tags.setter
|
711
|
-
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
712
|
-
pulumi.set(self, "system_tags", value)
|
713
|
-
|
714
698
|
@property
|
715
699
|
@pulumi.getter(name="timeCreated")
|
716
700
|
def time_created(self) -> Optional[pulumi.Input[str]]:
|
@@ -979,7 +963,6 @@ class IntegrationInstance(pulumi.CustomResource):
|
|
979
963
|
__props__.__dict__["instance_url"] = None
|
980
964
|
__props__.__dict__["private_endpoint_outbound_connections"] = None
|
981
965
|
__props__.__dict__["state_message"] = None
|
982
|
-
__props__.__dict__["system_tags"] = None
|
983
966
|
__props__.__dict__["time_created"] = None
|
984
967
|
__props__.__dict__["time_updated"] = None
|
985
968
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["idcsAt"])
|
@@ -1017,7 +1000,6 @@ class IntegrationInstance(pulumi.CustomResource):
|
|
1017
1000
|
shape: Optional[pulumi.Input[str]] = None,
|
1018
1001
|
state: Optional[pulumi.Input[str]] = None,
|
1019
1002
|
state_message: Optional[pulumi.Input[str]] = None,
|
1020
|
-
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1021
1003
|
time_created: Optional[pulumi.Input[str]] = None,
|
1022
1004
|
time_updated: Optional[pulumi.Input[str]] = None) -> 'IntegrationInstance':
|
1023
1005
|
"""
|
@@ -1053,7 +1035,6 @@ class IntegrationInstance(pulumi.CustomResource):
|
|
1053
1035
|
** IMPORTANT **
|
1054
1036
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1055
1037
|
:param pulumi.Input[str] state_message: An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
1056
|
-
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1057
1038
|
:param pulumi.Input[str] time_created: The time the the Integration Instance was created. An RFC3339 formatted datetime string.
|
1058
1039
|
:param pulumi.Input[str] time_updated: The time the IntegrationInstance was updated. An RFC3339 formatted datetime string.
|
1059
1040
|
"""
|
@@ -1084,7 +1065,6 @@ class IntegrationInstance(pulumi.CustomResource):
|
|
1084
1065
|
__props__.__dict__["shape"] = shape
|
1085
1066
|
__props__.__dict__["state"] = state
|
1086
1067
|
__props__.__dict__["state_message"] = state_message
|
1087
|
-
__props__.__dict__["system_tags"] = system_tags
|
1088
1068
|
__props__.__dict__["time_created"] = time_created
|
1089
1069
|
__props__.__dict__["time_updated"] = time_updated
|
1090
1070
|
return IntegrationInstance(resource_name, opts=opts, __props__=__props__)
|
@@ -1274,14 +1254,6 @@ class IntegrationInstance(pulumi.CustomResource):
|
|
1274
1254
|
"""
|
1275
1255
|
return pulumi.get(self, "state_message")
|
1276
1256
|
|
1277
|
-
@property
|
1278
|
-
@pulumi.getter(name="systemTags")
|
1279
|
-
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
1280
|
-
"""
|
1281
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1282
|
-
"""
|
1283
|
-
return pulumi.get(self, "system_tags")
|
1284
|
-
|
1285
1257
|
@property
|
1286
1258
|
@pulumi.getter(name="timeCreated")
|
1287
1259
|
def time_created(self) -> pulumi.Output[str]:
|
@@ -966,7 +966,6 @@ class GetIntegrationInstancesIntegrationInstanceResult(dict):
|
|
966
966
|
shape: str,
|
967
967
|
state: str,
|
968
968
|
state_message: str,
|
969
|
-
system_tags: Mapping[str, Any],
|
970
969
|
time_created: str,
|
971
970
|
time_updated: str):
|
972
971
|
"""
|
@@ -991,7 +990,6 @@ class GetIntegrationInstancesIntegrationInstanceResult(dict):
|
|
991
990
|
:param str shape: Shape
|
992
991
|
:param str state: Life cycle state to query on.
|
993
992
|
:param str state_message: An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
994
|
-
:param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
995
993
|
:param str time_created: The time the the Integration Instance was created. An RFC3339 formatted datetime string.
|
996
994
|
:param str time_updated: The time the IntegrationInstance was updated. An RFC3339 formatted datetime string.
|
997
995
|
"""
|
@@ -1019,7 +1017,6 @@ class GetIntegrationInstancesIntegrationInstanceResult(dict):
|
|
1019
1017
|
pulumi.set(__self__, "shape", shape)
|
1020
1018
|
pulumi.set(__self__, "state", state)
|
1021
1019
|
pulumi.set(__self__, "state_message", state_message)
|
1022
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
1023
1020
|
pulumi.set(__self__, "time_created", time_created)
|
1024
1021
|
pulumi.set(__self__, "time_updated", time_updated)
|
1025
1022
|
|
@@ -1206,14 +1203,6 @@ class GetIntegrationInstancesIntegrationInstanceResult(dict):
|
|
1206
1203
|
"""
|
1207
1204
|
return pulumi.get(self, "state_message")
|
1208
1205
|
|
1209
|
-
@property
|
1210
|
-
@pulumi.getter(name="systemTags")
|
1211
|
-
def system_tags(self) -> Mapping[str, Any]:
|
1212
|
-
"""
|
1213
|
-
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1214
|
-
"""
|
1215
|
-
return pulumi.get(self, "system_tags")
|
1216
|
-
|
1217
1206
|
@property
|
1218
1207
|
@pulumi.getter(name="timeCreated")
|
1219
1208
|
def time_created(self) -> str:
|
@@ -23,7 +23,7 @@ class GetLimitDefinitionsResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getLimitDefinitions.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, filters=None, id=None, limit_definitions=None, name=None, service_name=None
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, limit_definitions=None, name=None, service_name=None):
|
27
27
|
if compartment_id and not isinstance(compartment_id, str):
|
28
28
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
29
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -42,9 +42,6 @@ class GetLimitDefinitionsResult:
|
|
42
42
|
if service_name and not isinstance(service_name, str):
|
43
43
|
raise TypeError("Expected argument 'service_name' to be a str")
|
44
44
|
pulumi.set(__self__, "service_name", service_name)
|
45
|
-
if subscription_id and not isinstance(subscription_id, str):
|
46
|
-
raise TypeError("Expected argument 'subscription_id' to be a str")
|
47
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
48
45
|
|
49
46
|
@property
|
50
47
|
@pulumi.getter(name="compartmentId")
|
@@ -88,11 +85,6 @@ class GetLimitDefinitionsResult:
|
|
88
85
|
"""
|
89
86
|
return pulumi.get(self, "service_name")
|
90
87
|
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="subscriptionId")
|
93
|
-
def subscription_id(self) -> Optional[str]:
|
94
|
-
return pulumi.get(self, "subscription_id")
|
95
|
-
|
96
88
|
|
97
89
|
class AwaitableGetLimitDefinitionsResult(GetLimitDefinitionsResult):
|
98
90
|
# pylint: disable=using-constant-test
|
@@ -105,20 +97,18 @@ class AwaitableGetLimitDefinitionsResult(GetLimitDefinitionsResult):
|
|
105
97
|
id=self.id,
|
106
98
|
limit_definitions=self.limit_definitions,
|
107
99
|
name=self.name,
|
108
|
-
service_name=self.service_name
|
109
|
-
subscription_id=self.subscription_id)
|
100
|
+
service_name=self.service_name)
|
110
101
|
|
111
102
|
|
112
103
|
def get_limit_definitions(compartment_id: Optional[str] = None,
|
113
104
|
filters: Optional[Sequence[Union['GetLimitDefinitionsFilterArgs', 'GetLimitDefinitionsFilterArgsDict']]] = None,
|
114
105
|
name: Optional[str] = None,
|
115
106
|
service_name: Optional[str] = None,
|
116
|
-
subscription_id: Optional[str] = None,
|
117
107
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLimitDefinitionsResult:
|
118
108
|
"""
|
119
109
|
This data source provides the list of Limit Definitions in Oracle Cloud Infrastructure Limits service.
|
120
110
|
|
121
|
-
Includes a list of resource limits that are currently supported.
|
111
|
+
Includes a list of resource limits that are currently supported.
|
122
112
|
If the 'areQuotasSupported' property is true, you can create quota policies on top of this limit at the
|
123
113
|
compartment level.
|
124
114
|
|
@@ -130,22 +120,19 @@ def get_limit_definitions(compartment_id: Optional[str] = None,
|
|
130
120
|
|
131
121
|
test_limit_definitions = oci.Limits.get_limit_definitions(compartment_id=tenancy_ocid,
|
132
122
|
name=limit_definition_name,
|
133
|
-
service_name=test_service["name"]
|
134
|
-
subscription_id=subscription_ocid)
|
123
|
+
service_name=test_service["name"])
|
135
124
|
```
|
136
125
|
|
137
126
|
|
138
127
|
:param str compartment_id: The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
139
128
|
:param str name: Optional field, filter for a specific resource limit.
|
140
129
|
:param str service_name: The target service name.
|
141
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
142
130
|
"""
|
143
131
|
__args__ = dict()
|
144
132
|
__args__['compartmentId'] = compartment_id
|
145
133
|
__args__['filters'] = filters
|
146
134
|
__args__['name'] = name
|
147
135
|
__args__['serviceName'] = service_name
|
148
|
-
__args__['subscriptionId'] = subscription_id
|
149
136
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
150
137
|
__ret__ = pulumi.runtime.invoke('oci:Limits/getLimitDefinitions:getLimitDefinitions', __args__, opts=opts, typ=GetLimitDefinitionsResult).value
|
151
138
|
|
@@ -155,8 +142,7 @@ def get_limit_definitions(compartment_id: Optional[str] = None,
|
|
155
142
|
id=pulumi.get(__ret__, 'id'),
|
156
143
|
limit_definitions=pulumi.get(__ret__, 'limit_definitions'),
|
157
144
|
name=pulumi.get(__ret__, 'name'),
|
158
|
-
service_name=pulumi.get(__ret__, 'service_name')
|
159
|
-
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
145
|
+
service_name=pulumi.get(__ret__, 'service_name'))
|
160
146
|
|
161
147
|
|
162
148
|
@_utilities.lift_output_func(get_limit_definitions)
|
@@ -164,12 +150,11 @@ def get_limit_definitions_output(compartment_id: Optional[pulumi.Input[str]] = N
|
|
164
150
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetLimitDefinitionsFilterArgs', 'GetLimitDefinitionsFilterArgsDict']]]]] = None,
|
165
151
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
166
152
|
service_name: Optional[pulumi.Input[Optional[str]]] = None,
|
167
|
-
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
168
153
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLimitDefinitionsResult]:
|
169
154
|
"""
|
170
155
|
This data source provides the list of Limit Definitions in Oracle Cloud Infrastructure Limits service.
|
171
156
|
|
172
|
-
Includes a list of resource limits that are currently supported.
|
157
|
+
Includes a list of resource limits that are currently supported.
|
173
158
|
If the 'areQuotasSupported' property is true, you can create quota policies on top of this limit at the
|
174
159
|
compartment level.
|
175
160
|
|
@@ -181,14 +166,12 @@ def get_limit_definitions_output(compartment_id: Optional[pulumi.Input[str]] = N
|
|
181
166
|
|
182
167
|
test_limit_definitions = oci.Limits.get_limit_definitions(compartment_id=tenancy_ocid,
|
183
168
|
name=limit_definition_name,
|
184
|
-
service_name=test_service["name"]
|
185
|
-
subscription_id=subscription_ocid)
|
169
|
+
service_name=test_service["name"])
|
186
170
|
```
|
187
171
|
|
188
172
|
|
189
173
|
:param str compartment_id: The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
190
174
|
:param str name: Optional field, filter for a specific resource limit.
|
191
175
|
:param str service_name: The target service name.
|
192
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
193
176
|
"""
|
194
177
|
...
|
@@ -23,7 +23,7 @@ class GetLimitValuesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getLimitValues.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, limit_values=None, name=None, scope_type=None, service_name=None
|
26
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, limit_values=None, name=None, scope_type=None, service_name=None):
|
27
27
|
if availability_domain and not isinstance(availability_domain, str):
|
28
28
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
29
29
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -48,9 +48,6 @@ class GetLimitValuesResult:
|
|
48
48
|
if service_name and not isinstance(service_name, str):
|
49
49
|
raise TypeError("Expected argument 'service_name' to be a str")
|
50
50
|
pulumi.set(__self__, "service_name", service_name)
|
51
|
-
if subscription_id and not isinstance(subscription_id, str):
|
52
|
-
raise TypeError("Expected argument 'subscription_id' to be a str")
|
53
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
54
51
|
|
55
52
|
@property
|
56
53
|
@pulumi.getter(name="availabilityDomain")
|
@@ -107,11 +104,6 @@ class GetLimitValuesResult:
|
|
107
104
|
def service_name(self) -> str:
|
108
105
|
return pulumi.get(self, "service_name")
|
109
106
|
|
110
|
-
@property
|
111
|
-
@pulumi.getter(name="subscriptionId")
|
112
|
-
def subscription_id(self) -> Optional[str]:
|
113
|
-
return pulumi.get(self, "subscription_id")
|
114
|
-
|
115
107
|
|
116
108
|
class AwaitableGetLimitValuesResult(GetLimitValuesResult):
|
117
109
|
# pylint: disable=using-constant-test
|
@@ -126,8 +118,7 @@ class AwaitableGetLimitValuesResult(GetLimitValuesResult):
|
|
126
118
|
limit_values=self.limit_values,
|
127
119
|
name=self.name,
|
128
120
|
scope_type=self.scope_type,
|
129
|
-
service_name=self.service_name
|
130
|
-
subscription_id=self.subscription_id)
|
121
|
+
service_name=self.service_name)
|
131
122
|
|
132
123
|
|
133
124
|
def get_limit_values(availability_domain: Optional[str] = None,
|
@@ -136,12 +127,11 @@ def get_limit_values(availability_domain: Optional[str] = None,
|
|
136
127
|
name: Optional[str] = None,
|
137
128
|
scope_type: Optional[str] = None,
|
138
129
|
service_name: Optional[str] = None,
|
139
|
-
subscription_id: Optional[str] = None,
|
140
130
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLimitValuesResult:
|
141
131
|
"""
|
142
132
|
This data source provides the list of Limit Values in Oracle Cloud Infrastructure Limits service.
|
143
133
|
|
144
|
-
Includes a full list of resource limits belonging to a given service.
|
134
|
+
Includes a full list of resource limits belonging to a given service.
|
145
135
|
|
146
136
|
## Example Usage
|
147
137
|
|
@@ -153,8 +143,7 @@ def get_limit_values(availability_domain: Optional[str] = None,
|
|
153
143
|
service_name=test_service["name"],
|
154
144
|
availability_domain=limit_value_availability_domain,
|
155
145
|
name=limit_value_name,
|
156
|
-
scope_type=limit_value_scope_type
|
157
|
-
subscription_id=subscription_ocid)
|
146
|
+
scope_type=limit_value_scope_type)
|
158
147
|
```
|
159
148
|
|
160
149
|
|
@@ -163,7 +152,6 @@ def get_limit_values(availability_domain: Optional[str] = None,
|
|
163
152
|
:param str name: Optional field, can be used to see a specific resource limit value.
|
164
153
|
:param str scope_type: Filter entries by scope type.
|
165
154
|
:param str service_name: The target service name.
|
166
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
167
155
|
"""
|
168
156
|
__args__ = dict()
|
169
157
|
__args__['availabilityDomain'] = availability_domain
|
@@ -172,7 +160,6 @@ def get_limit_values(availability_domain: Optional[str] = None,
|
|
172
160
|
__args__['name'] = name
|
173
161
|
__args__['scopeType'] = scope_type
|
174
162
|
__args__['serviceName'] = service_name
|
175
|
-
__args__['subscriptionId'] = subscription_id
|
176
163
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
177
164
|
__ret__ = pulumi.runtime.invoke('oci:Limits/getLimitValues:getLimitValues', __args__, opts=opts, typ=GetLimitValuesResult).value
|
178
165
|
|
@@ -184,8 +171,7 @@ def get_limit_values(availability_domain: Optional[str] = None,
|
|
184
171
|
limit_values=pulumi.get(__ret__, 'limit_values'),
|
185
172
|
name=pulumi.get(__ret__, 'name'),
|
186
173
|
scope_type=pulumi.get(__ret__, 'scope_type'),
|
187
|
-
service_name=pulumi.get(__ret__, 'service_name')
|
188
|
-
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
174
|
+
service_name=pulumi.get(__ret__, 'service_name'))
|
189
175
|
|
190
176
|
|
191
177
|
@_utilities.lift_output_func(get_limit_values)
|
@@ -195,12 +181,11 @@ def get_limit_values_output(availability_domain: Optional[pulumi.Input[Optional[
|
|
195
181
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
196
182
|
scope_type: Optional[pulumi.Input[Optional[str]]] = None,
|
197
183
|
service_name: Optional[pulumi.Input[str]] = None,
|
198
|
-
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
199
184
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLimitValuesResult]:
|
200
185
|
"""
|
201
186
|
This data source provides the list of Limit Values in Oracle Cloud Infrastructure Limits service.
|
202
187
|
|
203
|
-
Includes a full list of resource limits belonging to a given service.
|
188
|
+
Includes a full list of resource limits belonging to a given service.
|
204
189
|
|
205
190
|
## Example Usage
|
206
191
|
|
@@ -212,8 +197,7 @@ def get_limit_values_output(availability_domain: Optional[pulumi.Input[Optional[
|
|
212
197
|
service_name=test_service["name"],
|
213
198
|
availability_domain=limit_value_availability_domain,
|
214
199
|
name=limit_value_name,
|
215
|
-
scope_type=limit_value_scope_type
|
216
|
-
subscription_id=subscription_ocid)
|
200
|
+
scope_type=limit_value_scope_type)
|
217
201
|
```
|
218
202
|
|
219
203
|
|
@@ -222,6 +206,5 @@ def get_limit_values_output(availability_domain: Optional[pulumi.Input[Optional[
|
|
222
206
|
:param str name: Optional field, can be used to see a specific resource limit value.
|
223
207
|
:param str scope_type: Filter entries by scope type.
|
224
208
|
:param str service_name: The target service name.
|
225
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
226
209
|
"""
|
227
210
|
...
|
@@ -21,7 +21,7 @@ class GetResourceAvailabilityResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getResourceAvailability.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, availability_domain=None, available=None, compartment_id=None, effective_quota_value=None, fractional_availability=None, fractional_usage=None, id=None, limit_name=None, service_name=None,
|
24
|
+
def __init__(__self__, availability_domain=None, available=None, compartment_id=None, effective_quota_value=None, fractional_availability=None, fractional_usage=None, id=None, limit_name=None, service_name=None, used=None):
|
25
25
|
if availability_domain and not isinstance(availability_domain, str):
|
26
26
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
27
27
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -49,9 +49,6 @@ class GetResourceAvailabilityResult:
|
|
49
49
|
if service_name and not isinstance(service_name, str):
|
50
50
|
raise TypeError("Expected argument 'service_name' to be a str")
|
51
51
|
pulumi.set(__self__, "service_name", service_name)
|
52
|
-
if subscription_id and not isinstance(subscription_id, str):
|
53
|
-
raise TypeError("Expected argument 'subscription_id' to be a str")
|
54
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
55
52
|
if used and not isinstance(used, str):
|
56
53
|
raise TypeError("Expected argument 'used' to be a str")
|
57
54
|
pulumi.set(__self__, "used", used)
|
@@ -116,11 +113,6 @@ class GetResourceAvailabilityResult:
|
|
116
113
|
def service_name(self) -> str:
|
117
114
|
return pulumi.get(self, "service_name")
|
118
115
|
|
119
|
-
@property
|
120
|
-
@pulumi.getter(name="subscriptionId")
|
121
|
-
def subscription_id(self) -> Optional[str]:
|
122
|
-
return pulumi.get(self, "subscription_id")
|
123
|
-
|
124
116
|
@property
|
125
117
|
@pulumi.getter
|
126
118
|
def used(self) -> str:
|
@@ -145,7 +137,6 @@ class AwaitableGetResourceAvailabilityResult(GetResourceAvailabilityResult):
|
|
145
137
|
id=self.id,
|
146
138
|
limit_name=self.limit_name,
|
147
139
|
service_name=self.service_name,
|
148
|
-
subscription_id=self.subscription_id,
|
149
140
|
used=self.used)
|
150
141
|
|
151
142
|
|
@@ -153,7 +144,6 @@ def get_resource_availability(availability_domain: Optional[str] = None,
|
|
153
144
|
compartment_id: Optional[str] = None,
|
154
145
|
limit_name: Optional[str] = None,
|
155
146
|
service_name: Optional[str] = None,
|
156
|
-
subscription_id: Optional[str] = None,
|
157
147
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourceAvailabilityResult:
|
158
148
|
"""
|
159
149
|
This data source provides details about a specific Resource Availability resource in Oracle Cloud Infrastructure Limits service.
|
@@ -161,8 +151,7 @@ def get_resource_availability(availability_domain: Optional[str] = None,
|
|
161
151
|
For a given compartmentId, resource limit name, and scope, returns the following:
|
162
152
|
* The number of available resources associated with the given limit.
|
163
153
|
* The usage in the selected compartment for the given limit.
|
164
|
-
|
165
|
-
Note that not all resource limits support this API. If the value is not available, the API returns a 404 response.
|
154
|
+
Note that not all resource limits support this API. If the value is not available, the API returns a 404 response.
|
166
155
|
|
167
156
|
## Example Usage
|
168
157
|
|
@@ -173,8 +162,7 @@ def get_resource_availability(availability_domain: Optional[str] = None,
|
|
173
162
|
test_resource_availability = oci.Limits.get_resource_availability(compartment_id=tenancy_ocid,
|
174
163
|
limit_name=resource_availability_limit_name,
|
175
164
|
service_name=test_service["name"],
|
176
|
-
availability_domain=resource_availability_availability_domain
|
177
|
-
subscription_id=subscription_ocid)
|
165
|
+
availability_domain=resource_availability_availability_domain)
|
178
166
|
```
|
179
167
|
|
180
168
|
|
@@ -182,14 +170,12 @@ def get_resource_availability(availability_domain: Optional[str] = None,
|
|
182
170
|
:param str compartment_id: The OCID of the compartment for which data is being fetched.
|
183
171
|
:param str limit_name: The limit name for which to fetch the data.
|
184
172
|
:param str service_name: The service name of the target quota.
|
185
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
186
173
|
"""
|
187
174
|
__args__ = dict()
|
188
175
|
__args__['availabilityDomain'] = availability_domain
|
189
176
|
__args__['compartmentId'] = compartment_id
|
190
177
|
__args__['limitName'] = limit_name
|
191
178
|
__args__['serviceName'] = service_name
|
192
|
-
__args__['subscriptionId'] = subscription_id
|
193
179
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
194
180
|
__ret__ = pulumi.runtime.invoke('oci:Limits/getResourceAvailability:getResourceAvailability', __args__, opts=opts, typ=GetResourceAvailabilityResult).value
|
195
181
|
|
@@ -203,7 +189,6 @@ def get_resource_availability(availability_domain: Optional[str] = None,
|
|
203
189
|
id=pulumi.get(__ret__, 'id'),
|
204
190
|
limit_name=pulumi.get(__ret__, 'limit_name'),
|
205
191
|
service_name=pulumi.get(__ret__, 'service_name'),
|
206
|
-
subscription_id=pulumi.get(__ret__, 'subscription_id'),
|
207
192
|
used=pulumi.get(__ret__, 'used'))
|
208
193
|
|
209
194
|
|
@@ -212,7 +197,6 @@ def get_resource_availability_output(availability_domain: Optional[pulumi.Input[
|
|
212
197
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
213
198
|
limit_name: Optional[pulumi.Input[str]] = None,
|
214
199
|
service_name: Optional[pulumi.Input[str]] = None,
|
215
|
-
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
216
200
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceAvailabilityResult]:
|
217
201
|
"""
|
218
202
|
This data source provides details about a specific Resource Availability resource in Oracle Cloud Infrastructure Limits service.
|
@@ -220,8 +204,7 @@ def get_resource_availability_output(availability_domain: Optional[pulumi.Input[
|
|
220
204
|
For a given compartmentId, resource limit name, and scope, returns the following:
|
221
205
|
* The number of available resources associated with the given limit.
|
222
206
|
* The usage in the selected compartment for the given limit.
|
223
|
-
|
224
|
-
Note that not all resource limits support this API. If the value is not available, the API returns a 404 response.
|
207
|
+
Note that not all resource limits support this API. If the value is not available, the API returns a 404 response.
|
225
208
|
|
226
209
|
## Example Usage
|
227
210
|
|
@@ -232,8 +215,7 @@ def get_resource_availability_output(availability_domain: Optional[pulumi.Input[
|
|
232
215
|
test_resource_availability = oci.Limits.get_resource_availability(compartment_id=tenancy_ocid,
|
233
216
|
limit_name=resource_availability_limit_name,
|
234
217
|
service_name=test_service["name"],
|
235
|
-
availability_domain=resource_availability_availability_domain
|
236
|
-
subscription_id=subscription_ocid)
|
218
|
+
availability_domain=resource_availability_availability_domain)
|
237
219
|
```
|
238
220
|
|
239
221
|
|
@@ -241,6 +223,5 @@ def get_resource_availability_output(availability_domain: Optional[pulumi.Input[
|
|
241
223
|
:param str compartment_id: The OCID of the compartment for which data is being fetched.
|
242
224
|
:param str limit_name: The limit name for which to fetch the data.
|
243
225
|
:param str service_name: The service name of the target quota.
|
244
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
245
226
|
"""
|
246
227
|
...
|
@@ -23,7 +23,7 @@ class GetServicesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getServices.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, filters=None, id=None, services=None
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, services=None):
|
27
27
|
if compartment_id and not isinstance(compartment_id, str):
|
28
28
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
29
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -36,9 +36,6 @@ class GetServicesResult:
|
|
36
36
|
if services and not isinstance(services, list):
|
37
37
|
raise TypeError("Expected argument 'services' to be a list")
|
38
38
|
pulumi.set(__self__, "services", services)
|
39
|
-
if subscription_id and not isinstance(subscription_id, str):
|
40
|
-
raise TypeError("Expected argument 'subscription_id' to be a str")
|
41
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
42
39
|
|
43
40
|
@property
|
44
41
|
@pulumi.getter(name="compartmentId")
|
@@ -66,11 +63,6 @@ class GetServicesResult:
|
|
66
63
|
"""
|
67
64
|
return pulumi.get(self, "services")
|
68
65
|
|
69
|
-
@property
|
70
|
-
@pulumi.getter(name="subscriptionId")
|
71
|
-
def subscription_id(self) -> Optional[str]:
|
72
|
-
return pulumi.get(self, "subscription_id")
|
73
|
-
|
74
66
|
|
75
67
|
class AwaitableGetServicesResult(GetServicesResult):
|
76
68
|
# pylint: disable=using-constant-test
|
@@ -81,18 +73,16 @@ class AwaitableGetServicesResult(GetServicesResult):
|
|
81
73
|
compartment_id=self.compartment_id,
|
82
74
|
filters=self.filters,
|
83
75
|
id=self.id,
|
84
|
-
services=self.services
|
85
|
-
subscription_id=self.subscription_id)
|
76
|
+
services=self.services)
|
86
77
|
|
87
78
|
|
88
79
|
def get_services(compartment_id: Optional[str] = None,
|
89
80
|
filters: Optional[Sequence[Union['GetServicesFilterArgs', 'GetServicesFilterArgsDict']]] = None,
|
90
|
-
subscription_id: Optional[str] = None,
|
91
81
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicesResult:
|
92
82
|
"""
|
93
83
|
This data source provides the list of Services in Oracle Cloud Infrastructure Limits service.
|
94
84
|
|
95
|
-
Returns the list of supported services.
|
85
|
+
Returns the list of supported services.
|
96
86
|
This includes the programmatic service name, along with the friendly service name.
|
97
87
|
|
98
88
|
## Example Usage
|
@@ -101,18 +91,15 @@ def get_services(compartment_id: Optional[str] = None,
|
|
101
91
|
import pulumi
|
102
92
|
import pulumi_oci as oci
|
103
93
|
|
104
|
-
test_services = oci.Limits.get_services(compartment_id=tenancy_ocid
|
105
|
-
subscription_id=subscription_ocid)
|
94
|
+
test_services = oci.Limits.get_services(compartment_id=tenancy_ocid)
|
106
95
|
```
|
107
96
|
|
108
97
|
|
109
98
|
:param str compartment_id: The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
110
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
111
99
|
"""
|
112
100
|
__args__ = dict()
|
113
101
|
__args__['compartmentId'] = compartment_id
|
114
102
|
__args__['filters'] = filters
|
115
|
-
__args__['subscriptionId'] = subscription_id
|
116
103
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
117
104
|
__ret__ = pulumi.runtime.invoke('oci:Limits/getServices:getServices', __args__, opts=opts, typ=GetServicesResult).value
|
118
105
|
|
@@ -120,19 +107,17 @@ def get_services(compartment_id: Optional[str] = None,
|
|
120
107
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
121
108
|
filters=pulumi.get(__ret__, 'filters'),
|
122
109
|
id=pulumi.get(__ret__, 'id'),
|
123
|
-
services=pulumi.get(__ret__, 'services')
|
124
|
-
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
110
|
+
services=pulumi.get(__ret__, 'services'))
|
125
111
|
|
126
112
|
|
127
113
|
@_utilities.lift_output_func(get_services)
|
128
114
|
def get_services_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
129
115
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetServicesFilterArgs', 'GetServicesFilterArgsDict']]]]] = None,
|
130
|
-
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
131
116
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicesResult]:
|
132
117
|
"""
|
133
118
|
This data source provides the list of Services in Oracle Cloud Infrastructure Limits service.
|
134
119
|
|
135
|
-
Returns the list of supported services.
|
120
|
+
Returns the list of supported services.
|
136
121
|
This includes the programmatic service name, along with the friendly service name.
|
137
122
|
|
138
123
|
## Example Usage
|
@@ -141,12 +126,10 @@ def get_services_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
|
141
126
|
import pulumi
|
142
127
|
import pulumi_oci as oci
|
143
128
|
|
144
|
-
test_services = oci.Limits.get_services(compartment_id=tenancy_ocid
|
145
|
-
subscription_id=subscription_ocid)
|
129
|
+
test_services = oci.Limits.get_services(compartment_id=tenancy_ocid)
|
146
130
|
```
|
147
131
|
|
148
132
|
|
149
133
|
:param str compartment_id: The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
150
|
-
:param str subscription_id: The OCID of the subscription assigned to tenant
|
151
134
|
"""
|
152
135
|
...
|