pulumi-oci 1.32.0a1713335186__py3-none-any.whl → 1.32.0a1713427052__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/datascience/_inputs.py +17 -1
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +39 -3
- 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/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-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/METADATA +1 -1
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/RECORD +35 -29
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.32.0a1713335186.dist-info → pulumi_oci-1.32.0a1713427052.dist-info}/top_level.txt +0 -0
@@ -1682,14 +1682,18 @@ class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetail
|
|
1682
1682
|
class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs:
|
1683
1683
|
def __init__(__self__, *,
|
1684
1684
|
instance_shape_name: pulumi.Input[str],
|
1685
|
-
model_deployment_instance_shape_config_details: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs']] = None
|
1685
|
+
model_deployment_instance_shape_config_details: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs']] = None,
|
1686
|
+
subnet_id: Optional[pulumi.Input[str]] = None):
|
1686
1687
|
"""
|
1687
1688
|
:param pulumi.Input[str] instance_shape_name: (Updatable) The shape used to launch the model deployment instances.
|
1688
1689
|
:param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs'] model_deployment_instance_shape_config_details: (Updatable) Details for the model-deployment instance shape configuration.
|
1690
|
+
:param pulumi.Input[str] subnet_id: (Updatable) A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
1689
1691
|
"""
|
1690
1692
|
pulumi.set(__self__, "instance_shape_name", instance_shape_name)
|
1691
1693
|
if model_deployment_instance_shape_config_details is not None:
|
1692
1694
|
pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details)
|
1695
|
+
if subnet_id is not None:
|
1696
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
1693
1697
|
|
1694
1698
|
@property
|
1695
1699
|
@pulumi.getter(name="instanceShapeName")
|
@@ -1715,6 +1719,18 @@ class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetail
|
|
1715
1719
|
def model_deployment_instance_shape_config_details(self, value: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs']]):
|
1716
1720
|
pulumi.set(self, "model_deployment_instance_shape_config_details", value)
|
1717
1721
|
|
1722
|
+
@property
|
1723
|
+
@pulumi.getter(name="subnetId")
|
1724
|
+
def subnet_id(self) -> Optional[pulumi.Input[str]]:
|
1725
|
+
"""
|
1726
|
+
(Updatable) A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
1727
|
+
"""
|
1728
|
+
return pulumi.get(self, "subnet_id")
|
1729
|
+
|
1730
|
+
@subnet_id.setter
|
1731
|
+
def subnet_id(self, value: Optional[pulumi.Input[str]]):
|
1732
|
+
pulumi.set(self, "subnet_id", value)
|
1733
|
+
|
1718
1734
|
|
1719
1735
|
@pulumi.input_type
|
1720
1736
|
class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs:
|
@@ -449,6 +449,7 @@ class ModelDeployment(pulumi.CustomResource):
|
|
449
449
|
memory_in_gbs=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs"],
|
450
450
|
ocpus=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus"],
|
451
451
|
),
|
452
|
+
subnet_id=oci_core_subnet["test_subnet"]["id"],
|
452
453
|
),
|
453
454
|
model_id=oci_datascience_model["test_model"]["id"],
|
454
455
|
bandwidth_mbps=var["model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps"],
|
@@ -571,6 +572,7 @@ class ModelDeployment(pulumi.CustomResource):
|
|
571
572
|
memory_in_gbs=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs"],
|
572
573
|
ocpus=var["model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus"],
|
573
574
|
),
|
575
|
+
subnet_id=oci_core_subnet["test_subnet"]["id"],
|
574
576
|
),
|
575
577
|
model_id=oci_datascience_model["test_model"]["id"],
|
576
578
|
bandwidth_mbps=var["model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps"],
|
@@ -1844,6 +1844,8 @@ class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetail
|
|
1844
1844
|
suggest = "instance_shape_name"
|
1845
1845
|
elif key == "modelDeploymentInstanceShapeConfigDetails":
|
1846
1846
|
suggest = "model_deployment_instance_shape_config_details"
|
1847
|
+
elif key == "subnetId":
|
1848
|
+
suggest = "subnet_id"
|
1847
1849
|
|
1848
1850
|
if suggest:
|
1849
1851
|
pulumi.log.warn(f"Key '{key}' not found in ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration. Access the value via the '{suggest}' property getter instead.")
|
@@ -1858,14 +1860,18 @@ class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetail
|
|
1858
1860
|
|
1859
1861
|
def __init__(__self__, *,
|
1860
1862
|
instance_shape_name: str,
|
1861
|
-
model_deployment_instance_shape_config_details: Optional['outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails'] = None
|
1863
|
+
model_deployment_instance_shape_config_details: Optional['outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails'] = None,
|
1864
|
+
subnet_id: Optional[str] = None):
|
1862
1865
|
"""
|
1863
1866
|
:param str instance_shape_name: (Updatable) The shape used to launch the model deployment instances.
|
1864
1867
|
:param 'ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs' model_deployment_instance_shape_config_details: (Updatable) Details for the model-deployment instance shape configuration.
|
1868
|
+
:param str subnet_id: (Updatable) A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
1865
1869
|
"""
|
1866
1870
|
pulumi.set(__self__, "instance_shape_name", instance_shape_name)
|
1867
1871
|
if model_deployment_instance_shape_config_details is not None:
|
1868
1872
|
pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details)
|
1873
|
+
if subnet_id is not None:
|
1874
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
1869
1875
|
|
1870
1876
|
@property
|
1871
1877
|
@pulumi.getter(name="instanceShapeName")
|
@@ -1883,6 +1889,14 @@ class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetail
|
|
1883
1889
|
"""
|
1884
1890
|
return pulumi.get(self, "model_deployment_instance_shape_config_details")
|
1885
1891
|
|
1892
|
+
@property
|
1893
|
+
@pulumi.getter(name="subnetId")
|
1894
|
+
def subnet_id(self) -> Optional[str]:
|
1895
|
+
"""
|
1896
|
+
(Updatable) A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
1897
|
+
"""
|
1898
|
+
return pulumi.get(self, "subnet_id")
|
1899
|
+
|
1886
1900
|
|
1887
1901
|
@pulumi.output_type
|
1888
1902
|
class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails(dict):
|
@@ -6752,13 +6766,16 @@ class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDeta
|
|
6752
6766
|
class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult(dict):
|
6753
6767
|
def __init__(__self__, *,
|
6754
6768
|
instance_shape_name: str,
|
6755
|
-
model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult']
|
6769
|
+
model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult'],
|
6770
|
+
subnet_id: str):
|
6756
6771
|
"""
|
6757
6772
|
:param str instance_shape_name: The shape used to launch the model deployment instances.
|
6758
6773
|
:param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailArgs'] model_deployment_instance_shape_config_details: Details for the model-deployment instance shape configuration.
|
6774
|
+
:param str subnet_id: A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
6759
6775
|
"""
|
6760
6776
|
pulumi.set(__self__, "instance_shape_name", instance_shape_name)
|
6761
6777
|
pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details)
|
6778
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
6762
6779
|
|
6763
6780
|
@property
|
6764
6781
|
@pulumi.getter(name="instanceShapeName")
|
@@ -6776,6 +6793,14 @@ class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDeta
|
|
6776
6793
|
"""
|
6777
6794
|
return pulumi.get(self, "model_deployment_instance_shape_config_details")
|
6778
6795
|
|
6796
|
+
@property
|
6797
|
+
@pulumi.getter(name="subnetId")
|
6798
|
+
def subnet_id(self) -> str:
|
6799
|
+
"""
|
6800
|
+
A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
6801
|
+
"""
|
6802
|
+
return pulumi.get(self, "subnet_id")
|
6803
|
+
|
6779
6804
|
|
6780
6805
|
@pulumi.output_type
|
6781
6806
|
class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult(dict):
|
@@ -7716,13 +7741,16 @@ class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelC
|
|
7716
7741
|
class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult(dict):
|
7717
7742
|
def __init__(__self__, *,
|
7718
7743
|
instance_shape_name: str,
|
7719
|
-
model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult']
|
7744
|
+
model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult'],
|
7745
|
+
subnet_id: str):
|
7720
7746
|
"""
|
7721
7747
|
:param str instance_shape_name: The shape used to launch the model deployment instances.
|
7722
7748
|
:param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailArgs'] model_deployment_instance_shape_config_details: Details for the model-deployment instance shape configuration.
|
7749
|
+
:param str subnet_id: A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
7723
7750
|
"""
|
7724
7751
|
pulumi.set(__self__, "instance_shape_name", instance_shape_name)
|
7725
7752
|
pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details)
|
7753
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
7726
7754
|
|
7727
7755
|
@property
|
7728
7756
|
@pulumi.getter(name="instanceShapeName")
|
@@ -7740,6 +7768,14 @@ class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelC
|
|
7740
7768
|
"""
|
7741
7769
|
return pulumi.get(self, "model_deployment_instance_shape_config_details")
|
7742
7770
|
|
7771
|
+
@property
|
7772
|
+
@pulumi.getter(name="subnetId")
|
7773
|
+
def subnet_id(self) -> str:
|
7774
|
+
"""
|
7775
|
+
A model deployment instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
|
7776
|
+
"""
|
7777
|
+
return pulumi.get(self, "subnet_id")
|
7778
|
+
|
7743
7779
|
|
7744
7780
|
@pulumi.output_type
|
7745
7781
|
class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult(dict):
|
@@ -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
|
+
...
|