pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.4.0a1755922408__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.
Files changed (198) hide show
  1. pulumi_oci/__init__.py +168 -43
  2. pulumi_oci/aidocument/__init__.py +1 -0
  3. pulumi_oci/aidocument/_inputs.py +476 -6
  4. pulumi_oci/aidocument/get_model.py +63 -2
  5. pulumi_oci/aidocument/get_model_type.py +179 -0
  6. pulumi_oci/aidocument/get_models.py +1 -1
  7. pulumi_oci/aidocument/get_project.py +17 -2
  8. pulumi_oci/aidocument/get_projects.py +1 -1
  9. pulumi_oci/aidocument/model.py +188 -0
  10. pulumi_oci/aidocument/outputs.py +883 -8
  11. pulumi_oci/aidocument/processor_job.py +22 -4
  12. pulumi_oci/aidocument/project.py +50 -1
  13. pulumi_oci/apigateway/_inputs.py +608 -12
  14. pulumi_oci/apigateway/api.py +127 -38
  15. pulumi_oci/apigateway/certificate.py +122 -3
  16. pulumi_oci/apigateway/deployment.py +120 -3
  17. pulumi_oci/apigateway/gateway.py +124 -7
  18. pulumi_oci/apigateway/get_api.py +40 -1
  19. pulumi_oci/apigateway/get_certificate.py +41 -1
  20. pulumi_oci/apigateway/get_deployment.py +40 -1
  21. pulumi_oci/apigateway/get_gateway.py +40 -1
  22. pulumi_oci/apigateway/get_subscriber.py +40 -1
  23. pulumi_oci/apigateway/get_usage_plan.py +40 -1
  24. pulumi_oci/apigateway/outputs.py +1413 -39
  25. pulumi_oci/apigateway/subscriber.py +120 -3
  26. pulumi_oci/apigateway/usage_plan.py +127 -38
  27. pulumi_oci/apmconfig/_inputs.py +199 -15
  28. pulumi_oci/apmconfig/config.py +535 -17
  29. pulumi_oci/apmconfig/get_config.py +141 -1
  30. pulumi_oci/apmconfig/get_configs.py +2 -2
  31. pulumi_oci/apmconfig/outputs.py +509 -13
  32. pulumi_oci/apmtraces/__init__.py +5 -0
  33. pulumi_oci/apmtraces/_inputs.py +413 -0
  34. pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
  35. pulumi_oci/apmtraces/get_log.py +356 -0
  36. pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
  37. pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
  38. pulumi_oci/apmtraces/get_trace.py +4 -4
  39. pulumi_oci/apmtraces/outputs.py +971 -0
  40. pulumi_oci/apmtraces/scheduled_query.py +925 -0
  41. pulumi_oci/autoscaling/_inputs.py +177 -13
  42. pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
  43. pulumi_oci/autoscaling/outputs.py +269 -23
  44. pulumi_oci/core/_inputs.py +184 -0
  45. pulumi_oci/core/get_ipv6.py +15 -1
  46. pulumi_oci/core/ipv6.py +49 -0
  47. pulumi_oci/core/outputs.py +365 -0
  48. pulumi_oci/database/__init__.py +3 -0
  49. pulumi_oci/database/_inputs.py +139 -7
  50. pulumi_oci/database/autonomous_container_database.py +94 -0
  51. pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
  52. pulumi_oci/database/autonomous_database.py +578 -568
  53. pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
  54. pulumi_oci/database/get_autonomous_container_database.py +29 -1
  55. pulumi_oci/database/get_autonomous_database.py +65 -1
  56. pulumi_oci/database/get_autonomous_databases.py +6 -1
  57. pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
  58. pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
  59. pulumi_oci/database/outputs.py +470 -75
  60. pulumi_oci/database/pluggable_database.py +0 -14
  61. pulumi_oci/database/pluggable_database_snapshot.py +539 -0
  62. pulumi_oci/databasemanagement/__init__.py +37 -0
  63. pulumi_oci/databasemanagement/_inputs.py +9516 -3414
  64. pulumi_oci/databasemanagement/cloud_asm.py +791 -0
  65. pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
  66. pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
  67. pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
  68. pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
  69. pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
  70. pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
  71. pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
  72. pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
  73. pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
  74. pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
  75. pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
  76. pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
  77. pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
  78. pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
  79. pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
  80. pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
  81. pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
  82. pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
  83. pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
  84. pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
  85. pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
  86. pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
  87. pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
  88. pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
  89. pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
  90. pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
  91. pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
  92. pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
  93. pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
  94. pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
  95. pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
  96. pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
  97. pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
  98. pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
  99. pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
  100. pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
  101. pulumi_oci/databasemanagement/get_managed_database.py +2 -2
  102. pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
  103. pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
  104. pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
  105. pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
  106. pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
  107. pulumi_oci/databasemanagement/outputs.py +18049 -4222
  108. pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
  109. pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
  110. pulumi_oci/datasafe/get_security_assessments.py +2 -2
  111. pulumi_oci/datasafe/outputs.py +192 -2
  112. pulumi_oci/datascience/__init__.py +10 -0
  113. pulumi_oci/datascience/_inputs.py +6760 -2206
  114. pulumi_oci/datascience/get_job.py +15 -1
  115. pulumi_oci/datascience/get_job_run.py +44 -2
  116. pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
  117. pulumi_oci/datascience/get_model_group.py +405 -0
  118. pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
  119. pulumi_oci/datascience/get_model_group_models.py +240 -0
  120. pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
  121. pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
  122. pulumi_oci/datascience/get_model_groups.py +265 -0
  123. pulumi_oci/datascience/get_pipeline_run.py +15 -1
  124. pulumi_oci/datascience/job.py +81 -154
  125. pulumi_oci/datascience/job_run.py +250 -4
  126. pulumi_oci/datascience/model_group.py +1111 -0
  127. pulumi_oci/datascience/model_group_artifact.py +369 -0
  128. pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
  129. pulumi_oci/datascience/notebook_session.py +4 -0
  130. pulumi_oci/datascience/outputs.py +17168 -8021
  131. pulumi_oci/datascience/pipeline_run.py +87 -0
  132. pulumi_oci/goldengate/_inputs.py +3 -3
  133. pulumi_oci/goldengate/connection.py +175 -56
  134. pulumi_oci/goldengate/get_connection.py +20 -4
  135. pulumi_oci/goldengate/outputs.py +27 -8
  136. pulumi_oci/managementagent/__init__.py +4 -0
  137. pulumi_oci/managementagent/_inputs.py +129 -0
  138. pulumi_oci/managementagent/get_management_agent.py +26 -1
  139. pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
  140. pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
  141. pulumi_oci/managementagent/get_named_credential.py +268 -0
  142. pulumi_oci/managementagent/get_named_credentials.py +221 -0
  143. pulumi_oci/managementagent/management_agent.py +48 -0
  144. pulumi_oci/managementagent/management_agent_install_key.py +84 -0
  145. pulumi_oci/managementagent/named_credential.py +706 -0
  146. pulumi_oci/managementagent/outputs.py +515 -0
  147. pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
  148. pulumi_oci/oci/__init__.py +3 -0
  149. pulumi_oci/oci/_inputs.py +146 -0
  150. pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
  151. pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
  152. pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
  153. pulumi_oci/oci/outputs.py +367 -0
  154. pulumi_oci/opsi/_inputs.py +1001 -149
  155. pulumi_oci/opsi/database_insight.py +22 -3
  156. pulumi_oci/opsi/exadata_insight.py +86 -6
  157. pulumi_oci/opsi/outputs.py +1438 -178
  158. pulumi_oci/psql/configuration.py +109 -19
  159. pulumi_oci/psql/db_system.py +7 -7
  160. pulumi_oci/psql/get_configuration.py +30 -2
  161. pulumi_oci/psql/get_configurations.py +49 -5
  162. pulumi_oci/psql/get_db_system.py +1 -1
  163. pulumi_oci/psql/get_default_configuration.py +30 -4
  164. pulumi_oci/psql/get_default_configurations.py +49 -5
  165. pulumi_oci/psql/outputs.py +47 -14
  166. pulumi_oci/pulumi-plugin.json +1 -1
  167. pulumi_oci/redis/__init__.py +6 -0
  168. pulumi_oci/redis/_inputs.py +217 -0
  169. pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
  170. pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
  171. pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
  172. pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
  173. pulumi_oci/redis/get_redis_cluster.py +15 -1
  174. pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
  175. pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
  176. pulumi_oci/redis/outputs.py +713 -0
  177. pulumi_oci/redis/redis_cluster.py +49 -0
  178. pulumi_oci/vault/_inputs.py +198 -0
  179. pulumi_oci/vault/get_secret.py +43 -1
  180. pulumi_oci/vault/outputs.py +434 -0
  181. pulumi_oci/vault/secret.py +103 -0
  182. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/METADATA +1 -1
  183. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/RECORD +185 -134
  184. pulumi_oci/aianomalydetection/__init__.py +0 -25
  185. pulumi_oci/aianomalydetection/_inputs.py +0 -1742
  186. pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
  187. pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
  188. pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
  189. pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
  190. pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
  191. pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
  192. pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
  193. pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
  194. pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
  195. pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
  196. pulumi_oci/aianomalydetection/outputs.py +0 -3699
  197. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/WHEEL +0 -0
  198. {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,147 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetManagementAgentNamedCredentialsMetadataResult',
20
+ 'AwaitableGetManagementAgentNamedCredentialsMetadataResult',
21
+ 'get_management_agent_named_credentials_metadata',
22
+ 'get_management_agent_named_credentials_metadata_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetManagementAgentNamedCredentialsMetadataResult:
27
+ """
28
+ A collection of values returned by getManagementAgentNamedCredentialsMetadata.
29
+ """
30
+ def __init__(__self__, compartment_id=None, id=None, management_agent_id=None, metadatas=None):
31
+ if compartment_id and not isinstance(compartment_id, str):
32
+ raise TypeError("Expected argument 'compartment_id' to be a str")
33
+ pulumi.set(__self__, "compartment_id", compartment_id)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if management_agent_id and not isinstance(management_agent_id, str):
38
+ raise TypeError("Expected argument 'management_agent_id' to be a str")
39
+ pulumi.set(__self__, "management_agent_id", management_agent_id)
40
+ if metadatas and not isinstance(metadatas, list):
41
+ raise TypeError("Expected argument 'metadatas' to be a list")
42
+ pulumi.set(__self__, "metadatas", metadatas)
43
+
44
+ @_builtins.property
45
+ @pulumi.getter(name="compartmentId")
46
+ def compartment_id(self) -> _builtins.str:
47
+ return pulumi.get(self, "compartment_id")
48
+
49
+ @_builtins.property
50
+ @pulumi.getter
51
+ def id(self) -> _builtins.str:
52
+ """
53
+ The provider-assigned unique ID for this managed resource.
54
+ """
55
+ return pulumi.get(self, "id")
56
+
57
+ @_builtins.property
58
+ @pulumi.getter(name="managementAgentId")
59
+ def management_agent_id(self) -> Optional[_builtins.str]:
60
+ return pulumi.get(self, "management_agent_id")
61
+
62
+ @_builtins.property
63
+ @pulumi.getter
64
+ def metadatas(self) -> Sequence['outputs.GetManagementAgentNamedCredentialsMetadataMetadataResult']:
65
+ """
66
+ List of supported metadata definitions.
67
+ """
68
+ return pulumi.get(self, "metadatas")
69
+
70
+
71
+ class AwaitableGetManagementAgentNamedCredentialsMetadataResult(GetManagementAgentNamedCredentialsMetadataResult):
72
+ # pylint: disable=using-constant-test
73
+ def __await__(self):
74
+ if False:
75
+ yield self
76
+ return GetManagementAgentNamedCredentialsMetadataResult(
77
+ compartment_id=self.compartment_id,
78
+ id=self.id,
79
+ management_agent_id=self.management_agent_id,
80
+ metadatas=self.metadatas)
81
+
82
+
83
+ def get_management_agent_named_credentials_metadata(compartment_id: Optional[_builtins.str] = None,
84
+ management_agent_id: Optional[_builtins.str] = None,
85
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagementAgentNamedCredentialsMetadataResult:
86
+ """
87
+ This data source provides details about a specific Management Agent Named Credentials Metadata resource in Oracle Cloud Infrastructure Management Agent service.
88
+
89
+ Return the Metadata definition for Named Credentials supported by Management Agent.
90
+
91
+ ## Example Usage
92
+
93
+ ```python
94
+ import pulumi
95
+ import pulumi_oci as oci
96
+
97
+ test_management_agent_named_credentials_metadata = oci.ManagementAgent.get_management_agent_named_credentials_metadata(compartment_id=compartment_id,
98
+ management_agent_id=test_management_agent["id"])
99
+ ```
100
+
101
+
102
+ :param _builtins.str compartment_id: The OCID of the compartment to which a request will be scoped.
103
+ :param _builtins.str management_agent_id: Filter the named credential metadata which is compatible with the given Management Agent identifier.
104
+ """
105
+ __args__ = dict()
106
+ __args__['compartmentId'] = compartment_id
107
+ __args__['managementAgentId'] = management_agent_id
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('oci:ManagementAgent/getManagementAgentNamedCredentialsMetadata:getManagementAgentNamedCredentialsMetadata', __args__, opts=opts, typ=GetManagementAgentNamedCredentialsMetadataResult).value
110
+
111
+ return AwaitableGetManagementAgentNamedCredentialsMetadataResult(
112
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
113
+ id=pulumi.get(__ret__, 'id'),
114
+ management_agent_id=pulumi.get(__ret__, 'management_agent_id'),
115
+ metadatas=pulumi.get(__ret__, 'metadatas'))
116
+ def get_management_agent_named_credentials_metadata_output(compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
117
+ management_agent_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
118
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetManagementAgentNamedCredentialsMetadataResult]:
119
+ """
120
+ This data source provides details about a specific Management Agent Named Credentials Metadata resource in Oracle Cloud Infrastructure Management Agent service.
121
+
122
+ Return the Metadata definition for Named Credentials supported by Management Agent.
123
+
124
+ ## Example Usage
125
+
126
+ ```python
127
+ import pulumi
128
+ import pulumi_oci as oci
129
+
130
+ test_management_agent_named_credentials_metadata = oci.ManagementAgent.get_management_agent_named_credentials_metadata(compartment_id=compartment_id,
131
+ management_agent_id=test_management_agent["id"])
132
+ ```
133
+
134
+
135
+ :param _builtins.str compartment_id: The OCID of the compartment to which a request will be scoped.
136
+ :param _builtins.str management_agent_id: Filter the named credential metadata which is compatible with the given Management Agent identifier.
137
+ """
138
+ __args__ = dict()
139
+ __args__['compartmentId'] = compartment_id
140
+ __args__['managementAgentId'] = management_agent_id
141
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
+ __ret__ = pulumi.runtime.invoke_output('oci:ManagementAgent/getManagementAgentNamedCredentialsMetadata:getManagementAgentNamedCredentialsMetadata', __args__, opts=opts, typ=GetManagementAgentNamedCredentialsMetadataResult)
143
+ return __ret__.apply(lambda __response__: GetManagementAgentNamedCredentialsMetadataResult(
144
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
145
+ id=pulumi.get(__response__, 'id'),
146
+ management_agent_id=pulumi.get(__response__, 'management_agent_id'),
147
+ metadatas=pulumi.get(__response__, 'metadatas')))
@@ -0,0 +1,268 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetNamedCredentialResult',
20
+ 'AwaitableGetNamedCredentialResult',
21
+ 'get_named_credential',
22
+ 'get_named_credential_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNamedCredentialResult:
27
+ """
28
+ A collection of values returned by getNamedCredential.
29
+ """
30
+ def __init__(__self__, defined_tags=None, description=None, freeform_tags=None, id=None, management_agent_id=None, name=None, named_credential_id=None, properties=None, state=None, system_tags=None, time_created=None, time_updated=None, type=None):
31
+ if defined_tags and not isinstance(defined_tags, dict):
32
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
33
+ pulumi.set(__self__, "defined_tags", defined_tags)
34
+ if description and not isinstance(description, str):
35
+ raise TypeError("Expected argument 'description' to be a str")
36
+ pulumi.set(__self__, "description", description)
37
+ if freeform_tags and not isinstance(freeform_tags, dict):
38
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
39
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if management_agent_id and not isinstance(management_agent_id, str):
44
+ raise TypeError("Expected argument 'management_agent_id' to be a str")
45
+ pulumi.set(__self__, "management_agent_id", management_agent_id)
46
+ if name and not isinstance(name, str):
47
+ raise TypeError("Expected argument 'name' to be a str")
48
+ pulumi.set(__self__, "name", name)
49
+ if named_credential_id and not isinstance(named_credential_id, str):
50
+ raise TypeError("Expected argument 'named_credential_id' to be a str")
51
+ pulumi.set(__self__, "named_credential_id", named_credential_id)
52
+ if properties and not isinstance(properties, list):
53
+ raise TypeError("Expected argument 'properties' to be a list")
54
+ pulumi.set(__self__, "properties", properties)
55
+ if state and not isinstance(state, str):
56
+ raise TypeError("Expected argument 'state' to be a str")
57
+ pulumi.set(__self__, "state", state)
58
+ if system_tags and not isinstance(system_tags, dict):
59
+ raise TypeError("Expected argument 'system_tags' to be a dict")
60
+ pulumi.set(__self__, "system_tags", system_tags)
61
+ if time_created and not isinstance(time_created, str):
62
+ raise TypeError("Expected argument 'time_created' to be a str")
63
+ pulumi.set(__self__, "time_created", time_created)
64
+ if time_updated and not isinstance(time_updated, str):
65
+ raise TypeError("Expected argument 'time_updated' to be a str")
66
+ pulumi.set(__self__, "time_updated", time_updated)
67
+ if type and not isinstance(type, str):
68
+ raise TypeError("Expected argument 'type' to be a str")
69
+ pulumi.set(__self__, "type", type)
70
+
71
+ @_builtins.property
72
+ @pulumi.getter(name="definedTags")
73
+ def defined_tags(self) -> Mapping[str, _builtins.str]:
74
+ """
75
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
76
+ """
77
+ return pulumi.get(self, "defined_tags")
78
+
79
+ @_builtins.property
80
+ @pulumi.getter
81
+ def description(self) -> _builtins.str:
82
+ """
83
+ Description of the Named Credential.
84
+ """
85
+ return pulumi.get(self, "description")
86
+
87
+ @_builtins.property
88
+ @pulumi.getter(name="freeformTags")
89
+ def freeform_tags(self) -> Mapping[str, _builtins.str]:
90
+ """
91
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
92
+ """
93
+ return pulumi.get(self, "freeform_tags")
94
+
95
+ @_builtins.property
96
+ @pulumi.getter
97
+ def id(self) -> _builtins.str:
98
+ """
99
+ Identifier for Named Credential.
100
+ """
101
+ return pulumi.get(self, "id")
102
+
103
+ @_builtins.property
104
+ @pulumi.getter(name="managementAgentId")
105
+ def management_agent_id(self) -> _builtins.str:
106
+ """
107
+ The Management Agent parent resource to associated with this named credential. This is the ManagementAgent resource OCID.
108
+ """
109
+ return pulumi.get(self, "management_agent_id")
110
+
111
+ @_builtins.property
112
+ @pulumi.getter
113
+ def name(self) -> _builtins.str:
114
+ """
115
+ Name of the property
116
+ """
117
+ return pulumi.get(self, "name")
118
+
119
+ @_builtins.property
120
+ @pulumi.getter(name="namedCredentialId")
121
+ def named_credential_id(self) -> _builtins.str:
122
+ return pulumi.get(self, "named_credential_id")
123
+
124
+ @_builtins.property
125
+ @pulumi.getter
126
+ def properties(self) -> Sequence['outputs.GetNamedCredentialPropertyResult']:
127
+ """
128
+ Properties for the named credential
129
+ """
130
+ return pulumi.get(self, "properties")
131
+
132
+ @_builtins.property
133
+ @pulumi.getter
134
+ def state(self) -> _builtins.str:
135
+ """
136
+ The current state of the named credential
137
+ """
138
+ return pulumi.get(self, "state")
139
+
140
+ @_builtins.property
141
+ @pulumi.getter(name="systemTags")
142
+ def system_tags(self) -> Mapping[str, _builtins.str]:
143
+ """
144
+ Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
145
+ """
146
+ return pulumi.get(self, "system_tags")
147
+
148
+ @_builtins.property
149
+ @pulumi.getter(name="timeCreated")
150
+ def time_created(self) -> _builtins.str:
151
+ """
152
+ The time the Named Credential was created. An RFC3339 formatted datetime string
153
+ """
154
+ return pulumi.get(self, "time_created")
155
+
156
+ @_builtins.property
157
+ @pulumi.getter(name="timeUpdated")
158
+ def time_updated(self) -> _builtins.str:
159
+ """
160
+ The time the Named Credential data was last updated. An RFC3339 formatted datetime string
161
+ """
162
+ return pulumi.get(self, "time_updated")
163
+
164
+ @_builtins.property
165
+ @pulumi.getter
166
+ def type(self) -> _builtins.str:
167
+ """
168
+ The type of the Named Credential.
169
+ """
170
+ return pulumi.get(self, "type")
171
+
172
+
173
+ class AwaitableGetNamedCredentialResult(GetNamedCredentialResult):
174
+ # pylint: disable=using-constant-test
175
+ def __await__(self):
176
+ if False:
177
+ yield self
178
+ return GetNamedCredentialResult(
179
+ defined_tags=self.defined_tags,
180
+ description=self.description,
181
+ freeform_tags=self.freeform_tags,
182
+ id=self.id,
183
+ management_agent_id=self.management_agent_id,
184
+ name=self.name,
185
+ named_credential_id=self.named_credential_id,
186
+ properties=self.properties,
187
+ state=self.state,
188
+ system_tags=self.system_tags,
189
+ time_created=self.time_created,
190
+ time_updated=self.time_updated,
191
+ type=self.type)
192
+
193
+
194
+ def get_named_credential(named_credential_id: Optional[_builtins.str] = None,
195
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamedCredentialResult:
196
+ """
197
+ This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Management Agent service.
198
+
199
+ Get Named credential details for given Id and given Management Agent.
200
+
201
+ ## Example Usage
202
+
203
+ ```python
204
+ import pulumi
205
+ import pulumi_oci as oci
206
+
207
+ test_named_credential = oci.ManagementAgent.get_named_credential(named_credential_id=test_named_credential_oci_management_agent_named_credential["id"])
208
+ ```
209
+
210
+
211
+ :param _builtins.str named_credential_id: Named credential ID
212
+ """
213
+ __args__ = dict()
214
+ __args__['namedCredentialId'] = named_credential_id
215
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
216
+ __ret__ = pulumi.runtime.invoke('oci:ManagementAgent/getNamedCredential:getNamedCredential', __args__, opts=opts, typ=GetNamedCredentialResult).value
217
+
218
+ return AwaitableGetNamedCredentialResult(
219
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
220
+ description=pulumi.get(__ret__, 'description'),
221
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
222
+ id=pulumi.get(__ret__, 'id'),
223
+ management_agent_id=pulumi.get(__ret__, 'management_agent_id'),
224
+ name=pulumi.get(__ret__, 'name'),
225
+ named_credential_id=pulumi.get(__ret__, 'named_credential_id'),
226
+ properties=pulumi.get(__ret__, 'properties'),
227
+ state=pulumi.get(__ret__, 'state'),
228
+ system_tags=pulumi.get(__ret__, 'system_tags'),
229
+ time_created=pulumi.get(__ret__, 'time_created'),
230
+ time_updated=pulumi.get(__ret__, 'time_updated'),
231
+ type=pulumi.get(__ret__, 'type'))
232
+ def get_named_credential_output(named_credential_id: Optional[pulumi.Input[_builtins.str]] = None,
233
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNamedCredentialResult]:
234
+ """
235
+ This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Management Agent service.
236
+
237
+ Get Named credential details for given Id and given Management Agent.
238
+
239
+ ## Example Usage
240
+
241
+ ```python
242
+ import pulumi
243
+ import pulumi_oci as oci
244
+
245
+ test_named_credential = oci.ManagementAgent.get_named_credential(named_credential_id=test_named_credential_oci_management_agent_named_credential["id"])
246
+ ```
247
+
248
+
249
+ :param _builtins.str named_credential_id: Named credential ID
250
+ """
251
+ __args__ = dict()
252
+ __args__['namedCredentialId'] = named_credential_id
253
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
254
+ __ret__ = pulumi.runtime.invoke_output('oci:ManagementAgent/getNamedCredential:getNamedCredential', __args__, opts=opts, typ=GetNamedCredentialResult)
255
+ return __ret__.apply(lambda __response__: GetNamedCredentialResult(
256
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
257
+ description=pulumi.get(__response__, 'description'),
258
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
259
+ id=pulumi.get(__response__, 'id'),
260
+ management_agent_id=pulumi.get(__response__, 'management_agent_id'),
261
+ name=pulumi.get(__response__, 'name'),
262
+ named_credential_id=pulumi.get(__response__, 'named_credential_id'),
263
+ properties=pulumi.get(__response__, 'properties'),
264
+ state=pulumi.get(__response__, 'state'),
265
+ system_tags=pulumi.get(__response__, 'system_tags'),
266
+ time_created=pulumi.get(__response__, 'time_created'),
267
+ time_updated=pulumi.get(__response__, 'time_updated'),
268
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,221 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetNamedCredentialsResult',
21
+ 'AwaitableGetNamedCredentialsResult',
22
+ 'get_named_credentials',
23
+ 'get_named_credentials_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetNamedCredentialsResult:
28
+ """
29
+ A collection of values returned by getNamedCredentials.
30
+ """
31
+ def __init__(__self__, filters=None, ids=None, management_agent_id=None, named_credential_collections=None, names=None, states=None, types=None):
32
+ if filters and not isinstance(filters, list):
33
+ raise TypeError("Expected argument 'filters' to be a list")
34
+ pulumi.set(__self__, "filters", filters)
35
+ if ids and not isinstance(ids, list):
36
+ raise TypeError("Expected argument 'ids' to be a list")
37
+ pulumi.set(__self__, "ids", ids)
38
+ if management_agent_id and not isinstance(management_agent_id, str):
39
+ raise TypeError("Expected argument 'management_agent_id' to be a str")
40
+ pulumi.set(__self__, "management_agent_id", management_agent_id)
41
+ if named_credential_collections and not isinstance(named_credential_collections, list):
42
+ raise TypeError("Expected argument 'named_credential_collections' to be a list")
43
+ pulumi.set(__self__, "named_credential_collections", named_credential_collections)
44
+ if names and not isinstance(names, list):
45
+ raise TypeError("Expected argument 'names' to be a list")
46
+ pulumi.set(__self__, "names", names)
47
+ if states and not isinstance(states, list):
48
+ raise TypeError("Expected argument 'states' to be a list")
49
+ pulumi.set(__self__, "states", states)
50
+ if types and not isinstance(types, list):
51
+ raise TypeError("Expected argument 'types' to be a list")
52
+ pulumi.set(__self__, "types", types)
53
+
54
+ @_builtins.property
55
+ @pulumi.getter
56
+ def filters(self) -> Optional[Sequence['outputs.GetNamedCredentialsFilterResult']]:
57
+ return pulumi.get(self, "filters")
58
+
59
+ @_builtins.property
60
+ @pulumi.getter
61
+ def ids(self) -> Optional[Sequence[_builtins.str]]:
62
+ """
63
+ Identifier for Named Credential.
64
+ """
65
+ return pulumi.get(self, "ids")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter(name="managementAgentId")
69
+ def management_agent_id(self) -> _builtins.str:
70
+ """
71
+ The Management Agent parent resource to associated with this named credential. This is the ManagementAgent resource OCID.
72
+ """
73
+ return pulumi.get(self, "management_agent_id")
74
+
75
+ @_builtins.property
76
+ @pulumi.getter(name="namedCredentialCollections")
77
+ def named_credential_collections(self) -> Sequence['outputs.GetNamedCredentialsNamedCredentialCollectionResult']:
78
+ """
79
+ The list of named_credential_collection.
80
+ """
81
+ return pulumi.get(self, "named_credential_collections")
82
+
83
+ @_builtins.property
84
+ @pulumi.getter
85
+ def names(self) -> Optional[Sequence[_builtins.str]]:
86
+ """
87
+ Name of the property
88
+ """
89
+ return pulumi.get(self, "names")
90
+
91
+ @_builtins.property
92
+ @pulumi.getter
93
+ def states(self) -> Optional[Sequence[_builtins.str]]:
94
+ """
95
+ The current state of the named credential
96
+ """
97
+ return pulumi.get(self, "states")
98
+
99
+ @_builtins.property
100
+ @pulumi.getter
101
+ def types(self) -> Optional[Sequence[_builtins.str]]:
102
+ """
103
+ The type of the Named Credential.
104
+ """
105
+ return pulumi.get(self, "types")
106
+
107
+
108
+ class AwaitableGetNamedCredentialsResult(GetNamedCredentialsResult):
109
+ # pylint: disable=using-constant-test
110
+ def __await__(self):
111
+ if False:
112
+ yield self
113
+ return GetNamedCredentialsResult(
114
+ filters=self.filters,
115
+ ids=self.ids,
116
+ management_agent_id=self.management_agent_id,
117
+ named_credential_collections=self.named_credential_collections,
118
+ names=self.names,
119
+ states=self.states,
120
+ types=self.types)
121
+
122
+
123
+ def get_named_credentials(filters: Optional[Sequence[Union['GetNamedCredentialsFilterArgs', 'GetNamedCredentialsFilterArgsDict']]] = None,
124
+ ids: Optional[Sequence[_builtins.str]] = None,
125
+ management_agent_id: Optional[_builtins.str] = None,
126
+ names: Optional[Sequence[_builtins.str]] = None,
127
+ states: Optional[Sequence[_builtins.str]] = None,
128
+ types: Optional[Sequence[_builtins.str]] = None,
129
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamedCredentialsResult:
130
+ """
131
+ This data source provides the list of Named Credentials in Oracle Cloud Infrastructure Management Agent service.
132
+
133
+ A list of Management Agent Data Sources for the given Management Agent Id.
134
+
135
+ ## Example Usage
136
+
137
+ ```python
138
+ import pulumi
139
+ import pulumi_oci as oci
140
+
141
+ test_named_credentials = oci.ManagementAgent.get_named_credentials(management_agent_id=test_management_agent["id"],
142
+ ids=[named_credential_id],
143
+ names=[named_credential_name],
144
+ states=[named_credential_state],
145
+ types=[named_credential_type])
146
+ ```
147
+
148
+
149
+ :param Sequence[_builtins.str] ids: Filter list for these Named credentials identifiers (ocid) values.
150
+ :param _builtins.str management_agent_id: The ManagementAgentID of the agent from which the named credentials are associated.
151
+ :param Sequence[_builtins.str] names: Filter list for these name items.
152
+ :param Sequence[_builtins.str] states: Filter list to return only Management Agents in the particular lifecycle state.
153
+ :param Sequence[_builtins.str] types: Filter list for these type values.
154
+ """
155
+ __args__ = dict()
156
+ __args__['filters'] = filters
157
+ __args__['ids'] = ids
158
+ __args__['managementAgentId'] = management_agent_id
159
+ __args__['names'] = names
160
+ __args__['states'] = states
161
+ __args__['types'] = types
162
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
163
+ __ret__ = pulumi.runtime.invoke('oci:ManagementAgent/getNamedCredentials:getNamedCredentials', __args__, opts=opts, typ=GetNamedCredentialsResult).value
164
+
165
+ return AwaitableGetNamedCredentialsResult(
166
+ filters=pulumi.get(__ret__, 'filters'),
167
+ ids=pulumi.get(__ret__, 'ids'),
168
+ management_agent_id=pulumi.get(__ret__, 'management_agent_id'),
169
+ named_credential_collections=pulumi.get(__ret__, 'named_credential_collections'),
170
+ names=pulumi.get(__ret__, 'names'),
171
+ states=pulumi.get(__ret__, 'states'),
172
+ types=pulumi.get(__ret__, 'types'))
173
+ def get_named_credentials_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetNamedCredentialsFilterArgs', 'GetNamedCredentialsFilterArgsDict']]]]] = None,
174
+ ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
175
+ management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
176
+ names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
177
+ states: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
178
+ types: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
179
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNamedCredentialsResult]:
180
+ """
181
+ This data source provides the list of Named Credentials in Oracle Cloud Infrastructure Management Agent service.
182
+
183
+ A list of Management Agent Data Sources for the given Management Agent Id.
184
+
185
+ ## Example Usage
186
+
187
+ ```python
188
+ import pulumi
189
+ import pulumi_oci as oci
190
+
191
+ test_named_credentials = oci.ManagementAgent.get_named_credentials(management_agent_id=test_management_agent["id"],
192
+ ids=[named_credential_id],
193
+ names=[named_credential_name],
194
+ states=[named_credential_state],
195
+ types=[named_credential_type])
196
+ ```
197
+
198
+
199
+ :param Sequence[_builtins.str] ids: Filter list for these Named credentials identifiers (ocid) values.
200
+ :param _builtins.str management_agent_id: The ManagementAgentID of the agent from which the named credentials are associated.
201
+ :param Sequence[_builtins.str] names: Filter list for these name items.
202
+ :param Sequence[_builtins.str] states: Filter list to return only Management Agents in the particular lifecycle state.
203
+ :param Sequence[_builtins.str] types: Filter list for these type values.
204
+ """
205
+ __args__ = dict()
206
+ __args__['filters'] = filters
207
+ __args__['ids'] = ids
208
+ __args__['managementAgentId'] = management_agent_id
209
+ __args__['names'] = names
210
+ __args__['states'] = states
211
+ __args__['types'] = types
212
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
213
+ __ret__ = pulumi.runtime.invoke_output('oci:ManagementAgent/getNamedCredentials:getNamedCredentials', __args__, opts=opts, typ=GetNamedCredentialsResult)
214
+ return __ret__.apply(lambda __response__: GetNamedCredentialsResult(
215
+ filters=pulumi.get(__response__, 'filters'),
216
+ ids=pulumi.get(__response__, 'ids'),
217
+ management_agent_id=pulumi.get(__response__, 'management_agent_id'),
218
+ named_credential_collections=pulumi.get(__response__, 'named_credential_collections'),
219
+ names=pulumi.get(__response__, 'names'),
220
+ states=pulumi.get(__response__, 'states'),
221
+ types=pulumi.get(__response__, 'types')))