pulumi-oci 1.31.0a1712729931__py3-none-any.whl → 1.32.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +16 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +192 -0
- pulumi_oci/database/autonomous_container_database.py +83 -8
- pulumi_oci/database/autonomous_database_software_image.py +638 -0
- pulumi_oci/database/autonomous_vm_cluster.py +12 -4
- pulumi_oci/database/get_autonomous_container_database.py +26 -5
- pulumi_oci/database/get_autonomous_container_database_resource_usage.py +3 -3
- pulumi_oci/database/get_autonomous_database_software_image.py +262 -0
- pulumi_oci/database/get_autonomous_database_software_images.py +200 -0
- pulumi_oci/database/get_autonomous_vm_cluster.py +3 -1
- pulumi_oci/database/outputs.py +538 -28
- pulumi_oci/dataflow/get_invoke_run.py +11 -1
- pulumi_oci/dataflow/invoke_run.py +49 -0
- pulumi_oci/dataflow/outputs.py +7 -0
- pulumi_oci/datascience/_inputs.py +17 -1
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +39 -3
- pulumi_oci/devops/_inputs.py +380 -10
- pulumi_oci/devops/outputs.py +953 -32
- pulumi_oci/filestorage/replication.py +4 -4
- pulumi_oci/meteringcomputation/__init__.py +3 -0
- pulumi_oci/meteringcomputation/_inputs.py +110 -0
- pulumi_oci/meteringcomputation/get_schedule.py +1 -1
- pulumi_oci/meteringcomputation/get_scheduled_run.py +2 -2
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_group.py +173 -0
- pulumi_oci/meteringcomputation/get_usage_statement_email_recipients_groups.py +157 -0
- pulumi_oci/meteringcomputation/outputs.py +292 -2
- pulumi_oci/meteringcomputation/schedule.py +7 -7
- pulumi_oci/meteringcomputation/usage_statement_email_recipients_group.py +392 -0
- pulumi_oci/networkfirewall/outputs.py +12 -16
- pulumi_oci/networkloadbalancer/_inputs.py +222 -10
- pulumi_oci/networkloadbalancer/backend_set.py +70 -7
- pulumi_oci/networkloadbalancer/get_backend_set.py +15 -2
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -62
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +70 -7
- pulumi_oci/networkloadbalancer/outputs.py +397 -28
- pulumi_oci/opa/opa_instance.py +41 -22
- pulumi_oci/psql/_inputs.py +4 -4
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/outputs.py +4 -4
- pulumi_oci/redis/get_redis_cluster.py +14 -1
- pulumi_oci/redis/outputs.py +11 -0
- pulumi_oci/redis/redis_cluster.py +52 -3
- pulumi_oci/stackmonitoring/_inputs.py +209 -1
- pulumi_oci/stackmonitoring/get_monitored_resource.py +27 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +27 -1
- pulumi_oci/stackmonitoring/get_monitored_resources.py +18 -1
- pulumi_oci/stackmonitoring/monitored_resource.py +56 -0
- pulumi_oci/stackmonitoring/monitored_resource_task.py +18 -0
- pulumi_oci/stackmonitoring/monitored_resource_type.py +117 -19
- pulumi_oci/stackmonitoring/monitored_resources_search.py +197 -1
- pulumi_oci/stackmonitoring/outputs.py +436 -1
- {pulumi_oci-1.31.0a1712729931.dist-info → pulumi_oci-1.32.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.31.0a1712729931.dist-info → pulumi_oci-1.32.0.dist-info}/RECORD +57 -51
- {pulumi_oci-1.31.0a1712729931.dist-info → pulumi_oci-1.32.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.31.0a1712729931.dist-info → pulumi_oci-1.32.0.dist-info}/top_level.txt +0 -0
@@ -461,8 +461,8 @@ class Replication(pulumi.CustomResource):
|
|
461
461
|
|
462
462
|
test_replication = oci.file_storage.Replication("testReplication",
|
463
463
|
compartment_id=var["compartment_id"],
|
464
|
-
source_id=
|
465
|
-
target_id=
|
464
|
+
source_id=oci_file_storage_file_system["test_source"]["id"],
|
465
|
+
target_id=oci_file_storage_file_system["test_target"]["id"],
|
466
466
|
defined_tags={
|
467
467
|
"Operations.CostCenter": "42",
|
468
468
|
},
|
@@ -542,8 +542,8 @@ class Replication(pulumi.CustomResource):
|
|
542
542
|
|
543
543
|
test_replication = oci.file_storage.Replication("testReplication",
|
544
544
|
compartment_id=var["compartment_id"],
|
545
|
-
source_id=
|
546
|
-
target_id=
|
545
|
+
source_id=oci_file_storage_file_system["test_source"]["id"],
|
546
|
+
target_id=oci_file_storage_file_system["test_target"]["id"],
|
547
547
|
defined_tags={
|
548
548
|
"Operations.CostCenter": "42",
|
549
549
|
},
|
@@ -20,10 +20,13 @@ from .get_schedules import *
|
|
20
20
|
from .get_usage_carbon_emissions_config import *
|
21
21
|
from .get_usage_carbon_emissions_queries import *
|
22
22
|
from .get_usage_carbon_emissions_query import *
|
23
|
+
from .get_usage_statement_email_recipients_group import *
|
24
|
+
from .get_usage_statement_email_recipients_groups import *
|
23
25
|
from .query import *
|
24
26
|
from .schedule import *
|
25
27
|
from .usage import *
|
26
28
|
from .usage_carbon_emission import *
|
27
29
|
from .usage_carbon_emissions_query import *
|
30
|
+
from .usage_statement_email_recipients_group import *
|
28
31
|
from ._inputs import *
|
29
32
|
from . import outputs
|
@@ -32,11 +32,13 @@ __all__ = [
|
|
32
32
|
'UsageGroupByTagArgs',
|
33
33
|
'UsageItemArgs',
|
34
34
|
'UsageItemTagArgs',
|
35
|
+
'UsageStatementEmailRecipientsGroupRecipientsListArgs',
|
35
36
|
'GetCustomTablesFilterArgs',
|
36
37
|
'GetQueriesFilterArgs',
|
37
38
|
'GetScheduledRunsFilterArgs',
|
38
39
|
'GetSchedulesFilterArgs',
|
39
40
|
'GetUsageCarbonEmissionsQueriesFilterArgs',
|
41
|
+
'GetUsageStatementEmailRecipientsGroupsFilterArgs',
|
40
42
|
]
|
41
43
|
|
42
44
|
@pulumi.input_type
|
@@ -2320,6 +2322,75 @@ class UsageItemTagArgs:
|
|
2320
2322
|
pulumi.set(self, "value", value)
|
2321
2323
|
|
2322
2324
|
|
2325
|
+
@pulumi.input_type
|
2326
|
+
class UsageStatementEmailRecipientsGroupRecipientsListArgs:
|
2327
|
+
def __init__(__self__, *,
|
2328
|
+
email_id: pulumi.Input[str],
|
2329
|
+
state: pulumi.Input[str],
|
2330
|
+
first_name: Optional[pulumi.Input[str]] = None,
|
2331
|
+
last_name: Optional[pulumi.Input[str]] = None):
|
2332
|
+
"""
|
2333
|
+
:param pulumi.Input[str] email_id: (Updatable) the email of the recipient.
|
2334
|
+
:param pulumi.Input[str] state: (Updatable) The email recipient lifecycle state.
|
2335
|
+
:param pulumi.Input[str] first_name: (Updatable) the first name of the recipient.
|
2336
|
+
:param pulumi.Input[str] last_name: (Updatable) the last name of the recipient.
|
2337
|
+
"""
|
2338
|
+
pulumi.set(__self__, "email_id", email_id)
|
2339
|
+
pulumi.set(__self__, "state", state)
|
2340
|
+
if first_name is not None:
|
2341
|
+
pulumi.set(__self__, "first_name", first_name)
|
2342
|
+
if last_name is not None:
|
2343
|
+
pulumi.set(__self__, "last_name", last_name)
|
2344
|
+
|
2345
|
+
@property
|
2346
|
+
@pulumi.getter(name="emailId")
|
2347
|
+
def email_id(self) -> pulumi.Input[str]:
|
2348
|
+
"""
|
2349
|
+
(Updatable) the email of the recipient.
|
2350
|
+
"""
|
2351
|
+
return pulumi.get(self, "email_id")
|
2352
|
+
|
2353
|
+
@email_id.setter
|
2354
|
+
def email_id(self, value: pulumi.Input[str]):
|
2355
|
+
pulumi.set(self, "email_id", value)
|
2356
|
+
|
2357
|
+
@property
|
2358
|
+
@pulumi.getter
|
2359
|
+
def state(self) -> pulumi.Input[str]:
|
2360
|
+
"""
|
2361
|
+
(Updatable) The email recipient lifecycle state.
|
2362
|
+
"""
|
2363
|
+
return pulumi.get(self, "state")
|
2364
|
+
|
2365
|
+
@state.setter
|
2366
|
+
def state(self, value: pulumi.Input[str]):
|
2367
|
+
pulumi.set(self, "state", value)
|
2368
|
+
|
2369
|
+
@property
|
2370
|
+
@pulumi.getter(name="firstName")
|
2371
|
+
def first_name(self) -> Optional[pulumi.Input[str]]:
|
2372
|
+
"""
|
2373
|
+
(Updatable) the first name of the recipient.
|
2374
|
+
"""
|
2375
|
+
return pulumi.get(self, "first_name")
|
2376
|
+
|
2377
|
+
@first_name.setter
|
2378
|
+
def first_name(self, value: Optional[pulumi.Input[str]]):
|
2379
|
+
pulumi.set(self, "first_name", value)
|
2380
|
+
|
2381
|
+
@property
|
2382
|
+
@pulumi.getter(name="lastName")
|
2383
|
+
def last_name(self) -> Optional[pulumi.Input[str]]:
|
2384
|
+
"""
|
2385
|
+
(Updatable) the last name of the recipient.
|
2386
|
+
"""
|
2387
|
+
return pulumi.get(self, "last_name")
|
2388
|
+
|
2389
|
+
@last_name.setter
|
2390
|
+
def last_name(self, value: Optional[pulumi.Input[str]]):
|
2391
|
+
pulumi.set(self, "last_name", value)
|
2392
|
+
|
2393
|
+
|
2323
2394
|
@pulumi.input_type
|
2324
2395
|
class GetCustomTablesFilterArgs:
|
2325
2396
|
def __init__(__self__, *,
|
@@ -2521,3 +2592,42 @@ class GetUsageCarbonEmissionsQueriesFilterArgs:
|
|
2521
2592
|
pulumi.set(self, "regex", value)
|
2522
2593
|
|
2523
2594
|
|
2595
|
+
@pulumi.input_type
|
2596
|
+
class GetUsageStatementEmailRecipientsGroupsFilterArgs:
|
2597
|
+
def __init__(__self__, *,
|
2598
|
+
name: str,
|
2599
|
+
values: Sequence[str],
|
2600
|
+
regex: Optional[bool] = None):
|
2601
|
+
pulumi.set(__self__, "name", name)
|
2602
|
+
pulumi.set(__self__, "values", values)
|
2603
|
+
if regex is not None:
|
2604
|
+
pulumi.set(__self__, "regex", regex)
|
2605
|
+
|
2606
|
+
@property
|
2607
|
+
@pulumi.getter
|
2608
|
+
def name(self) -> str:
|
2609
|
+
return pulumi.get(self, "name")
|
2610
|
+
|
2611
|
+
@name.setter
|
2612
|
+
def name(self, value: str):
|
2613
|
+
pulumi.set(self, "name", value)
|
2614
|
+
|
2615
|
+
@property
|
2616
|
+
@pulumi.getter
|
2617
|
+
def values(self) -> Sequence[str]:
|
2618
|
+
return pulumi.get(self, "values")
|
2619
|
+
|
2620
|
+
@values.setter
|
2621
|
+
def values(self, value: Sequence[str]):
|
2622
|
+
pulumi.set(self, "values", value)
|
2623
|
+
|
2624
|
+
@property
|
2625
|
+
@pulumi.getter
|
2626
|
+
def regex(self) -> Optional[bool]:
|
2627
|
+
return pulumi.get(self, "regex")
|
2628
|
+
|
2629
|
+
@regex.setter
|
2630
|
+
def regex(self, value: Optional[bool]):
|
2631
|
+
pulumi.set(self, "regex", value)
|
2632
|
+
|
2633
|
+
|
@@ -164,7 +164,7 @@ class GetScheduleResult:
|
|
164
164
|
@pulumi.getter(name="scheduleRecurrences")
|
165
165
|
def schedule_recurrences(self) -> str:
|
166
166
|
"""
|
167
|
-
Specifies the frequency according to when the schedule will be run,
|
167
|
+
Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in [RFC 5545 section 3.3.10](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
|
168
168
|
"""
|
169
169
|
return pulumi.get(self, "schedule_recurrences")
|
170
170
|
|
@@ -132,7 +132,7 @@ def get_scheduled_run(scheduled_run_id: Optional[str] = None,
|
|
132
132
|
<!--End PulumiCodeChooser -->
|
133
133
|
|
134
134
|
|
135
|
-
:param str scheduled_run_id: The scheduledRun unique OCID
|
135
|
+
:param str scheduled_run_id: The scheduledRun unique OCID
|
136
136
|
"""
|
137
137
|
__args__ = dict()
|
138
138
|
__args__['scheduledRunId'] = scheduled_run_id
|
@@ -169,6 +169,6 @@ def get_scheduled_run_output(scheduled_run_id: Optional[pulumi.Input[str]] = Non
|
|
169
169
|
<!--End PulumiCodeChooser -->
|
170
170
|
|
171
171
|
|
172
|
-
:param str scheduled_run_id: The scheduledRun unique OCID
|
172
|
+
:param str scheduled_run_id: The scheduledRun unique OCID
|
173
173
|
"""
|
174
174
|
...
|
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetUsageStatementEmailRecipientsGroupResult',
|
15
|
+
'AwaitableGetUsageStatementEmailRecipientsGroupResult',
|
16
|
+
'get_usage_statement_email_recipients_group',
|
17
|
+
'get_usage_statement_email_recipients_group_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetUsageStatementEmailRecipientsGroupResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getUsageStatementEmailRecipientsGroup.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, compartment_id=None, email_recipients_group_id=None, id=None, recipients_lists=None, state=None, subscription_id=None):
|
26
|
+
if compartment_id and not isinstance(compartment_id, str):
|
27
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
29
|
+
if email_recipients_group_id and not isinstance(email_recipients_group_id, str):
|
30
|
+
raise TypeError("Expected argument 'email_recipients_group_id' to be a str")
|
31
|
+
pulumi.set(__self__, "email_recipients_group_id", email_recipients_group_id)
|
32
|
+
if id and not isinstance(id, str):
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
34
|
+
pulumi.set(__self__, "id", id)
|
35
|
+
if recipients_lists and not isinstance(recipients_lists, list):
|
36
|
+
raise TypeError("Expected argument 'recipients_lists' to be a list")
|
37
|
+
pulumi.set(__self__, "recipients_lists", recipients_lists)
|
38
|
+
if state and not isinstance(state, str):
|
39
|
+
raise TypeError("Expected argument 'state' to be a str")
|
40
|
+
pulumi.set(__self__, "state", state)
|
41
|
+
if subscription_id and not isinstance(subscription_id, str):
|
42
|
+
raise TypeError("Expected argument 'subscription_id' to be a str")
|
43
|
+
pulumi.set(__self__, "subscription_id", subscription_id)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> str:
|
48
|
+
"""
|
49
|
+
The customer tenancy OCID.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "compartment_id")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="emailRecipientsGroupId")
|
55
|
+
def email_recipients_group_id(self) -> str:
|
56
|
+
return pulumi.get(self, "email_recipients_group_id")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The usage statement email recipients group OCID.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="recipientsLists")
|
68
|
+
def recipients_lists(self) -> Sequence['outputs.GetUsageStatementEmailRecipientsGroupRecipientsListResult']:
|
69
|
+
"""
|
70
|
+
The list of recipient will receive the usage statement email.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "recipients_lists")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def state(self) -> str:
|
77
|
+
"""
|
78
|
+
The email recipient group lifecycle state.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "state")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="subscriptionId")
|
84
|
+
def subscription_id(self) -> str:
|
85
|
+
return pulumi.get(self, "subscription_id")
|
86
|
+
|
87
|
+
|
88
|
+
class AwaitableGetUsageStatementEmailRecipientsGroupResult(GetUsageStatementEmailRecipientsGroupResult):
|
89
|
+
# pylint: disable=using-constant-test
|
90
|
+
def __await__(self):
|
91
|
+
if False:
|
92
|
+
yield self
|
93
|
+
return GetUsageStatementEmailRecipientsGroupResult(
|
94
|
+
compartment_id=self.compartment_id,
|
95
|
+
email_recipients_group_id=self.email_recipients_group_id,
|
96
|
+
id=self.id,
|
97
|
+
recipients_lists=self.recipients_lists,
|
98
|
+
state=self.state,
|
99
|
+
subscription_id=self.subscription_id)
|
100
|
+
|
101
|
+
|
102
|
+
def get_usage_statement_email_recipients_group(compartment_id: Optional[str] = None,
|
103
|
+
email_recipients_group_id: Optional[str] = None,
|
104
|
+
subscription_id: Optional[str] = None,
|
105
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsageStatementEmailRecipientsGroupResult:
|
106
|
+
"""
|
107
|
+
This data source provides details about a specific Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
108
|
+
|
109
|
+
Return the saved usage statement email recipient group.
|
110
|
+
|
111
|
+
## Example Usage
|
112
|
+
|
113
|
+
<!--Start PulumiCodeChooser -->
|
114
|
+
```python
|
115
|
+
import pulumi
|
116
|
+
import pulumi_oci as oci
|
117
|
+
|
118
|
+
test_usage_statement_email_recipients_group = oci.MeteringComputation.get_usage_statement_email_recipients_group(compartment_id=var["compartment_id"],
|
119
|
+
email_recipients_group_id=oci_identity_group["test_group"]["id"],
|
120
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
121
|
+
```
|
122
|
+
<!--End PulumiCodeChooser -->
|
123
|
+
|
124
|
+
|
125
|
+
:param str compartment_id: The compartment ID in which to list resources.
|
126
|
+
:param str email_recipients_group_id: The email recipient group OCID.
|
127
|
+
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
128
|
+
"""
|
129
|
+
__args__ = dict()
|
130
|
+
__args__['compartmentId'] = compartment_id
|
131
|
+
__args__['emailRecipientsGroupId'] = email_recipients_group_id
|
132
|
+
__args__['subscriptionId'] = subscription_id
|
133
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
134
|
+
__ret__ = pulumi.runtime.invoke('oci:MeteringComputation/getUsageStatementEmailRecipientsGroup:getUsageStatementEmailRecipientsGroup', __args__, opts=opts, typ=GetUsageStatementEmailRecipientsGroupResult).value
|
135
|
+
|
136
|
+
return AwaitableGetUsageStatementEmailRecipientsGroupResult(
|
137
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
138
|
+
email_recipients_group_id=pulumi.get(__ret__, 'email_recipients_group_id'),
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
140
|
+
recipients_lists=pulumi.get(__ret__, 'recipients_lists'),
|
141
|
+
state=pulumi.get(__ret__, 'state'),
|
142
|
+
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
143
|
+
|
144
|
+
|
145
|
+
@_utilities.lift_output_func(get_usage_statement_email_recipients_group)
|
146
|
+
def get_usage_statement_email_recipients_group_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
147
|
+
email_recipients_group_id: Optional[pulumi.Input[str]] = None,
|
148
|
+
subscription_id: Optional[pulumi.Input[str]] = None,
|
149
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsageStatementEmailRecipientsGroupResult]:
|
150
|
+
"""
|
151
|
+
This data source provides details about a specific Usage Statement Email Recipients Group resource in Oracle Cloud Infrastructure Metering Computation service.
|
152
|
+
|
153
|
+
Return the saved usage statement email recipient group.
|
154
|
+
|
155
|
+
## Example Usage
|
156
|
+
|
157
|
+
<!--Start PulumiCodeChooser -->
|
158
|
+
```python
|
159
|
+
import pulumi
|
160
|
+
import pulumi_oci as oci
|
161
|
+
|
162
|
+
test_usage_statement_email_recipients_group = oci.MeteringComputation.get_usage_statement_email_recipients_group(compartment_id=var["compartment_id"],
|
163
|
+
email_recipients_group_id=oci_identity_group["test_group"]["id"],
|
164
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
165
|
+
```
|
166
|
+
<!--End PulumiCodeChooser -->
|
167
|
+
|
168
|
+
|
169
|
+
:param str compartment_id: The compartment ID in which to list resources.
|
170
|
+
:param str email_recipients_group_id: The email recipient group OCID.
|
171
|
+
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
172
|
+
"""
|
173
|
+
...
|
@@ -0,0 +1,157 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetUsageStatementEmailRecipientsGroupsResult',
|
16
|
+
'AwaitableGetUsageStatementEmailRecipientsGroupsResult',
|
17
|
+
'get_usage_statement_email_recipients_groups',
|
18
|
+
'get_usage_statement_email_recipients_groups_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetUsageStatementEmailRecipientsGroupsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getUsageStatementEmailRecipientsGroups.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, email_recipients_group_collections=None, filters=None, id=None, subscription_id=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if email_recipients_group_collections and not isinstance(email_recipients_group_collections, list):
|
31
|
+
raise TypeError("Expected argument 'email_recipients_group_collections' to be a list")
|
32
|
+
pulumi.set(__self__, "email_recipients_group_collections", email_recipients_group_collections)
|
33
|
+
if filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
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
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter(name="compartmentId")
|
45
|
+
def compartment_id(self) -> str:
|
46
|
+
"""
|
47
|
+
The customer tenancy OCID.
|
48
|
+
"""
|
49
|
+
return pulumi.get(self, "compartment_id")
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="emailRecipientsGroupCollections")
|
53
|
+
def email_recipients_group_collections(self) -> Sequence['outputs.GetUsageStatementEmailRecipientsGroupsEmailRecipientsGroupCollectionResult']:
|
54
|
+
"""
|
55
|
+
The list of email_recipients_group_collection.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "email_recipients_group_collections")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def filters(self) -> Optional[Sequence['outputs.GetUsageStatementEmailRecipientsGroupsFilterResult']]:
|
62
|
+
return pulumi.get(self, "filters")
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def id(self) -> str:
|
67
|
+
"""
|
68
|
+
The provider-assigned unique ID for this managed resource.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "id")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="subscriptionId")
|
74
|
+
def subscription_id(self) -> str:
|
75
|
+
return pulumi.get(self, "subscription_id")
|
76
|
+
|
77
|
+
|
78
|
+
class AwaitableGetUsageStatementEmailRecipientsGroupsResult(GetUsageStatementEmailRecipientsGroupsResult):
|
79
|
+
# pylint: disable=using-constant-test
|
80
|
+
def __await__(self):
|
81
|
+
if False:
|
82
|
+
yield self
|
83
|
+
return GetUsageStatementEmailRecipientsGroupsResult(
|
84
|
+
compartment_id=self.compartment_id,
|
85
|
+
email_recipients_group_collections=self.email_recipients_group_collections,
|
86
|
+
filters=self.filters,
|
87
|
+
id=self.id,
|
88
|
+
subscription_id=self.subscription_id)
|
89
|
+
|
90
|
+
|
91
|
+
def get_usage_statement_email_recipients_groups(compartment_id: Optional[str] = None,
|
92
|
+
filters: Optional[Sequence[pulumi.InputType['GetUsageStatementEmailRecipientsGroupsFilterArgs']]] = None,
|
93
|
+
subscription_id: Optional[str] = None,
|
94
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsageStatementEmailRecipientsGroupsResult:
|
95
|
+
"""
|
96
|
+
This data source provides the list of Usage Statement Email Recipients Groups in Oracle Cloud Infrastructure Metering Computation service.
|
97
|
+
|
98
|
+
Return the saved usage statement email recipient group.
|
99
|
+
|
100
|
+
## Example Usage
|
101
|
+
|
102
|
+
<!--Start PulumiCodeChooser -->
|
103
|
+
```python
|
104
|
+
import pulumi
|
105
|
+
import pulumi_oci as oci
|
106
|
+
|
107
|
+
test_usage_statement_email_recipients_groups = oci.MeteringComputation.get_usage_statement_email_recipients_groups(compartment_id=var["compartment_id"],
|
108
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
109
|
+
```
|
110
|
+
<!--End PulumiCodeChooser -->
|
111
|
+
|
112
|
+
|
113
|
+
:param str compartment_id: The compartment ID in which to list resources.
|
114
|
+
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['compartmentId'] = compartment_id
|
118
|
+
__args__['filters'] = filters
|
119
|
+
__args__['subscriptionId'] = subscription_id
|
120
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
121
|
+
__ret__ = pulumi.runtime.invoke('oci:MeteringComputation/getUsageStatementEmailRecipientsGroups:getUsageStatementEmailRecipientsGroups', __args__, opts=opts, typ=GetUsageStatementEmailRecipientsGroupsResult).value
|
122
|
+
|
123
|
+
return AwaitableGetUsageStatementEmailRecipientsGroupsResult(
|
124
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
125
|
+
email_recipients_group_collections=pulumi.get(__ret__, 'email_recipients_group_collections'),
|
126
|
+
filters=pulumi.get(__ret__, 'filters'),
|
127
|
+
id=pulumi.get(__ret__, 'id'),
|
128
|
+
subscription_id=pulumi.get(__ret__, 'subscription_id'))
|
129
|
+
|
130
|
+
|
131
|
+
@_utilities.lift_output_func(get_usage_statement_email_recipients_groups)
|
132
|
+
def get_usage_statement_email_recipients_groups_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
133
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetUsageStatementEmailRecipientsGroupsFilterArgs']]]]] = None,
|
134
|
+
subscription_id: Optional[pulumi.Input[str]] = None,
|
135
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsageStatementEmailRecipientsGroupsResult]:
|
136
|
+
"""
|
137
|
+
This data source provides the list of Usage Statement Email Recipients Groups in Oracle Cloud Infrastructure Metering Computation service.
|
138
|
+
|
139
|
+
Return the saved usage statement email recipient group.
|
140
|
+
|
141
|
+
## Example Usage
|
142
|
+
|
143
|
+
<!--Start PulumiCodeChooser -->
|
144
|
+
```python
|
145
|
+
import pulumi
|
146
|
+
import pulumi_oci as oci
|
147
|
+
|
148
|
+
test_usage_statement_email_recipients_groups = oci.MeteringComputation.get_usage_statement_email_recipients_groups(compartment_id=var["compartment_id"],
|
149
|
+
subscription_id=oci_onesubscription_subscription["test_subscription"]["id"])
|
150
|
+
```
|
151
|
+
<!--End PulumiCodeChooser -->
|
152
|
+
|
153
|
+
|
154
|
+
:param str compartment_id: The compartment ID in which to list resources.
|
155
|
+
:param str subscription_id: The UsageStatement Subscription unique OCID.
|
156
|
+
"""
|
157
|
+
...
|