pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.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 +128 -0
- pulumi_oci/aivision/__init__.py +12 -0
- pulumi_oci/aivision/_inputs.py +787 -51
- pulumi_oci/aivision/get_model.py +4 -4
- pulumi_oci/aivision/get_models.py +11 -11
- pulumi_oci/aivision/get_project.py +15 -15
- pulumi_oci/aivision/get_projects.py +10 -10
- pulumi_oci/aivision/get_stream_group.py +268 -0
- pulumi_oci/aivision/get_stream_groups.py +177 -0
- pulumi_oci/aivision/get_stream_job.py +296 -0
- pulumi_oci/aivision/get_stream_jobs.py +199 -0
- pulumi_oci/aivision/get_stream_source.py +240 -0
- pulumi_oci/aivision/get_stream_sources.py +199 -0
- pulumi_oci/aivision/get_vision_private_endpoint.py +267 -0
- pulumi_oci/aivision/get_vision_private_endpoints.py +199 -0
- pulumi_oci/aivision/model.py +149 -157
- pulumi_oci/aivision/outputs.py +1920 -116
- pulumi_oci/aivision/project.py +61 -69
- pulumi_oci/aivision/stream_group.py +632 -0
- pulumi_oci/aivision/stream_job.py +744 -0
- pulumi_oci/aivision/stream_source.py +519 -0
- pulumi_oci/aivision/vision_private_endpoint.py +606 -0
- pulumi_oci/cloudguard/_inputs.py +1198 -72
- pulumi_oci/cloudguard/get_managed_list.py +15 -1
- pulumi_oci/cloudguard/managed_list.py +47 -0
- pulumi_oci/cloudguard/outputs.py +2104 -67
- pulumi_oci/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +298 -13
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +126 -0
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +696 -13
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +68 -2
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +6964 -192
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/mysql/_inputs.py +221 -0
- pulumi_oci/mysql/get_mysql_backup.py +40 -4
- pulumi_oci/mysql/get_mysql_backups.py +2 -2
- pulumi_oci/mysql/mysql_backup.py +119 -3
- pulumi_oci/mysql/outputs.py +343 -957
- pulumi_oci/oci/__init__.py +17 -0
- pulumi_oci/oci/_inputs.py +676 -15
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +103 -54
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +45 -45
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +42 -44
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +100 -72
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +74 -74
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +50 -50
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_identity_connector.py +924 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_key_ring.py +762 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +37 -15
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +26 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +30 -16
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +11 -11
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +41 -13
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +17 -17
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connector.py +366 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connectors.py +213 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key.py +295 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_ring.py +309 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_rings.py +229 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_keys.py +232 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +2051 -142
- pulumi_oci/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/RECORD +194 -141
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,177 @@
|
|
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
|
+
'GetStreamGroupsResult',
|
21
|
+
'AwaitableGetStreamGroupsResult',
|
22
|
+
'get_stream_groups',
|
23
|
+
'get_stream_groups_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetStreamGroupsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getStreamGroups.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, stream_group_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if stream_group_collections and not isinstance(stream_group_collections, list):
|
45
|
+
raise TypeError("Expected argument 'stream_group_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "stream_group_collections", stream_group_collections)
|
47
|
+
|
48
|
+
@_builtins.property
|
49
|
+
@pulumi.getter(name="compartmentId")
|
50
|
+
def compartment_id(self) -> Optional[_builtins.str]:
|
51
|
+
"""
|
52
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "compartment_id")
|
55
|
+
|
56
|
+
@_builtins.property
|
57
|
+
@pulumi.getter(name="displayName")
|
58
|
+
def display_name(self) -> Optional[_builtins.str]:
|
59
|
+
"""
|
60
|
+
A human-friendly name for the streamGroup.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "display_name")
|
63
|
+
|
64
|
+
@_builtins.property
|
65
|
+
@pulumi.getter
|
66
|
+
def filters(self) -> Optional[Sequence['outputs.GetStreamGroupsFilterResult']]:
|
67
|
+
return pulumi.get(self, "filters")
|
68
|
+
|
69
|
+
@_builtins.property
|
70
|
+
@pulumi.getter
|
71
|
+
def id(self) -> Optional[_builtins.str]:
|
72
|
+
"""
|
73
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamGroup.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "id")
|
76
|
+
|
77
|
+
@_builtins.property
|
78
|
+
@pulumi.getter(name="streamGroupCollections")
|
79
|
+
def stream_group_collections(self) -> Sequence['outputs.GetStreamGroupsStreamGroupCollectionResult']:
|
80
|
+
"""
|
81
|
+
The list of stream_group_collection.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "stream_group_collections")
|
84
|
+
|
85
|
+
|
86
|
+
class AwaitableGetStreamGroupsResult(GetStreamGroupsResult):
|
87
|
+
# pylint: disable=using-constant-test
|
88
|
+
def __await__(self):
|
89
|
+
if False:
|
90
|
+
yield self
|
91
|
+
return GetStreamGroupsResult(
|
92
|
+
compartment_id=self.compartment_id,
|
93
|
+
display_name=self.display_name,
|
94
|
+
filters=self.filters,
|
95
|
+
id=self.id,
|
96
|
+
stream_group_collections=self.stream_group_collections)
|
97
|
+
|
98
|
+
|
99
|
+
def get_stream_groups(compartment_id: Optional[_builtins.str] = None,
|
100
|
+
display_name: Optional[_builtins.str] = None,
|
101
|
+
filters: Optional[Sequence[Union['GetStreamGroupsFilterArgs', 'GetStreamGroupsFilterArgsDict']]] = None,
|
102
|
+
id: Optional[_builtins.str] = None,
|
103
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamGroupsResult:
|
104
|
+
"""
|
105
|
+
This data source provides the list of Stream Groups in Oracle Cloud Infrastructure Ai Vision service.
|
106
|
+
|
107
|
+
Gets a list of the streamGroups in the specified compartment.
|
108
|
+
|
109
|
+
## Example Usage
|
110
|
+
|
111
|
+
```python
|
112
|
+
import pulumi
|
113
|
+
import pulumi_oci as oci
|
114
|
+
|
115
|
+
test_stream_groups = oci.AiVision.get_stream_groups(compartment_id=compartment_id,
|
116
|
+
display_name=stream_group_display_name,
|
117
|
+
id=stream_group_id)
|
118
|
+
```
|
119
|
+
|
120
|
+
|
121
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
122
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
123
|
+
:param _builtins.str id: The filter to find the device with the given identifier.
|
124
|
+
"""
|
125
|
+
__args__ = dict()
|
126
|
+
__args__['compartmentId'] = compartment_id
|
127
|
+
__args__['displayName'] = display_name
|
128
|
+
__args__['filters'] = filters
|
129
|
+
__args__['id'] = id
|
130
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
131
|
+
__ret__ = pulumi.runtime.invoke('oci:AiVision/getStreamGroups:getStreamGroups', __args__, opts=opts, typ=GetStreamGroupsResult).value
|
132
|
+
|
133
|
+
return AwaitableGetStreamGroupsResult(
|
134
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
135
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
136
|
+
filters=pulumi.get(__ret__, 'filters'),
|
137
|
+
id=pulumi.get(__ret__, 'id'),
|
138
|
+
stream_group_collections=pulumi.get(__ret__, 'stream_group_collections'))
|
139
|
+
def get_stream_groups_output(compartment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
140
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
141
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetStreamGroupsFilterArgs', 'GetStreamGroupsFilterArgsDict']]]]] = None,
|
142
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
143
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamGroupsResult]:
|
144
|
+
"""
|
145
|
+
This data source provides the list of Stream Groups in Oracle Cloud Infrastructure Ai Vision service.
|
146
|
+
|
147
|
+
Gets a list of the streamGroups in the specified compartment.
|
148
|
+
|
149
|
+
## Example Usage
|
150
|
+
|
151
|
+
```python
|
152
|
+
import pulumi
|
153
|
+
import pulumi_oci as oci
|
154
|
+
|
155
|
+
test_stream_groups = oci.AiVision.get_stream_groups(compartment_id=compartment_id,
|
156
|
+
display_name=stream_group_display_name,
|
157
|
+
id=stream_group_id)
|
158
|
+
```
|
159
|
+
|
160
|
+
|
161
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
162
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
163
|
+
:param _builtins.str id: The filter to find the device with the given identifier.
|
164
|
+
"""
|
165
|
+
__args__ = dict()
|
166
|
+
__args__['compartmentId'] = compartment_id
|
167
|
+
__args__['displayName'] = display_name
|
168
|
+
__args__['filters'] = filters
|
169
|
+
__args__['id'] = id
|
170
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
171
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiVision/getStreamGroups:getStreamGroups', __args__, opts=opts, typ=GetStreamGroupsResult)
|
172
|
+
return __ret__.apply(lambda __response__: GetStreamGroupsResult(
|
173
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
174
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
175
|
+
filters=pulumi.get(__response__, 'filters'),
|
176
|
+
id=pulumi.get(__response__, 'id'),
|
177
|
+
stream_group_collections=pulumi.get(__response__, 'stream_group_collections')))
|
@@ -0,0 +1,296 @@
|
|
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
|
+
'GetStreamJobResult',
|
20
|
+
'AwaitableGetStreamJobResult',
|
21
|
+
'get_stream_job',
|
22
|
+
'get_stream_job_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetStreamJobResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getStreamJob.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, agent_participant_id=None, compartment_id=None, defined_tags=None, display_name=None, features=None, freeform_tags=None, id=None, lifecycle_details=None, state=None, stream_job_id=None, stream_output_locations=None, stream_source_id=None, system_tags=None, time_created=None, time_updated=None):
|
31
|
+
if agent_participant_id and not isinstance(agent_participant_id, str):
|
32
|
+
raise TypeError("Expected argument 'agent_participant_id' to be a str")
|
33
|
+
pulumi.set(__self__, "agent_participant_id", agent_participant_id)
|
34
|
+
if compartment_id and not isinstance(compartment_id, str):
|
35
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
36
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
37
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
40
|
+
if display_name and not isinstance(display_name, str):
|
41
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
if features and not isinstance(features, list):
|
44
|
+
raise TypeError("Expected argument 'features' to be a list")
|
45
|
+
pulumi.set(__self__, "features", features)
|
46
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
47
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
48
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
49
|
+
if id and not isinstance(id, str):
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
51
|
+
pulumi.set(__self__, "id", id)
|
52
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
53
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
54
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
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 stream_job_id and not isinstance(stream_job_id, str):
|
59
|
+
raise TypeError("Expected argument 'stream_job_id' to be a str")
|
60
|
+
pulumi.set(__self__, "stream_job_id", stream_job_id)
|
61
|
+
if stream_output_locations and not isinstance(stream_output_locations, list):
|
62
|
+
raise TypeError("Expected argument 'stream_output_locations' to be a list")
|
63
|
+
pulumi.set(__self__, "stream_output_locations", stream_output_locations)
|
64
|
+
if stream_source_id and not isinstance(stream_source_id, str):
|
65
|
+
raise TypeError("Expected argument 'stream_source_id' to be a str")
|
66
|
+
pulumi.set(__self__, "stream_source_id", stream_source_id)
|
67
|
+
if system_tags and not isinstance(system_tags, dict):
|
68
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
69
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
70
|
+
if time_created and not isinstance(time_created, str):
|
71
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
72
|
+
pulumi.set(__self__, "time_created", time_created)
|
73
|
+
if time_updated and not isinstance(time_updated, str):
|
74
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
75
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
76
|
+
|
77
|
+
@_builtins.property
|
78
|
+
@pulumi.getter(name="agentParticipantId")
|
79
|
+
def agent_participant_id(self) -> _builtins.str:
|
80
|
+
"""
|
81
|
+
participant id of agent where results need to be sent
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "agent_participant_id")
|
84
|
+
|
85
|
+
@_builtins.property
|
86
|
+
@pulumi.getter(name="compartmentId")
|
87
|
+
def compartment_id(self) -> _builtins.str:
|
88
|
+
"""
|
89
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "compartment_id")
|
92
|
+
|
93
|
+
@_builtins.property
|
94
|
+
@pulumi.getter(name="definedTags")
|
95
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
96
|
+
"""
|
97
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "defined_tags")
|
100
|
+
|
101
|
+
@_builtins.property
|
102
|
+
@pulumi.getter(name="displayName")
|
103
|
+
def display_name(self) -> _builtins.str:
|
104
|
+
"""
|
105
|
+
Stream job display name.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "display_name")
|
108
|
+
|
109
|
+
@_builtins.property
|
110
|
+
@pulumi.getter
|
111
|
+
def features(self) -> Sequence['outputs.GetStreamJobFeatureResult']:
|
112
|
+
"""
|
113
|
+
a list of document analysis features.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "features")
|
116
|
+
|
117
|
+
@_builtins.property
|
118
|
+
@pulumi.getter(name="freeformTags")
|
119
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
120
|
+
"""
|
121
|
+
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "freeform_tags")
|
124
|
+
|
125
|
+
@_builtins.property
|
126
|
+
@pulumi.getter
|
127
|
+
def id(self) -> _builtins.str:
|
128
|
+
"""
|
129
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamJob.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "id")
|
132
|
+
|
133
|
+
@_builtins.property
|
134
|
+
@pulumi.getter(name="lifecycleDetails")
|
135
|
+
def lifecycle_details(self) -> _builtins.str:
|
136
|
+
"""
|
137
|
+
Additional details about current state of streamJob
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "lifecycle_details")
|
140
|
+
|
141
|
+
@_builtins.property
|
142
|
+
@pulumi.getter
|
143
|
+
def state(self) -> _builtins.str:
|
144
|
+
"""
|
145
|
+
The current state of the Stream job.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "state")
|
148
|
+
|
149
|
+
@_builtins.property
|
150
|
+
@pulumi.getter(name="streamJobId")
|
151
|
+
def stream_job_id(self) -> _builtins.str:
|
152
|
+
return pulumi.get(self, "stream_job_id")
|
153
|
+
|
154
|
+
@_builtins.property
|
155
|
+
@pulumi.getter(name="streamOutputLocations")
|
156
|
+
def stream_output_locations(self) -> Sequence['outputs.GetStreamJobStreamOutputLocationResult']:
|
157
|
+
"""
|
158
|
+
Details about a where results will be Sent
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "stream_output_locations")
|
161
|
+
|
162
|
+
@_builtins.property
|
163
|
+
@pulumi.getter(name="streamSourceId")
|
164
|
+
def stream_source_id(self) -> _builtins.str:
|
165
|
+
"""
|
166
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "stream_source_id")
|
169
|
+
|
170
|
+
@_builtins.property
|
171
|
+
@pulumi.getter(name="systemTags")
|
172
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
173
|
+
"""
|
174
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "system_tags")
|
177
|
+
|
178
|
+
@_builtins.property
|
179
|
+
@pulumi.getter(name="timeCreated")
|
180
|
+
def time_created(self) -> _builtins.str:
|
181
|
+
"""
|
182
|
+
When the streamJob was created, as an RFC3339 datetime string.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "time_created")
|
185
|
+
|
186
|
+
@_builtins.property
|
187
|
+
@pulumi.getter(name="timeUpdated")
|
188
|
+
def time_updated(self) -> _builtins.str:
|
189
|
+
"""
|
190
|
+
When the stream job was updated, as an RFC3339 datetime string.
|
191
|
+
"""
|
192
|
+
return pulumi.get(self, "time_updated")
|
193
|
+
|
194
|
+
|
195
|
+
class AwaitableGetStreamJobResult(GetStreamJobResult):
|
196
|
+
# pylint: disable=using-constant-test
|
197
|
+
def __await__(self):
|
198
|
+
if False:
|
199
|
+
yield self
|
200
|
+
return GetStreamJobResult(
|
201
|
+
agent_participant_id=self.agent_participant_id,
|
202
|
+
compartment_id=self.compartment_id,
|
203
|
+
defined_tags=self.defined_tags,
|
204
|
+
display_name=self.display_name,
|
205
|
+
features=self.features,
|
206
|
+
freeform_tags=self.freeform_tags,
|
207
|
+
id=self.id,
|
208
|
+
lifecycle_details=self.lifecycle_details,
|
209
|
+
state=self.state,
|
210
|
+
stream_job_id=self.stream_job_id,
|
211
|
+
stream_output_locations=self.stream_output_locations,
|
212
|
+
stream_source_id=self.stream_source_id,
|
213
|
+
system_tags=self.system_tags,
|
214
|
+
time_created=self.time_created,
|
215
|
+
time_updated=self.time_updated)
|
216
|
+
|
217
|
+
|
218
|
+
def get_stream_job(stream_job_id: Optional[_builtins.str] = None,
|
219
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamJobResult:
|
220
|
+
"""
|
221
|
+
This data source provides details about a specific Stream Job resource in Oracle Cloud Infrastructure Ai Vision service.
|
222
|
+
|
223
|
+
Get details of a stream analysis job.
|
224
|
+
|
225
|
+
## Example Usage
|
226
|
+
|
227
|
+
```python
|
228
|
+
import pulumi
|
229
|
+
import pulumi_oci as oci
|
230
|
+
|
231
|
+
test_stream_job = oci.AiVision.get_stream_job(stream_job_id=test_stream_job_oci_ai_vision_stream_job["id"])
|
232
|
+
```
|
233
|
+
|
234
|
+
|
235
|
+
:param _builtins.str stream_job_id: Stream job id.
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['streamJobId'] = stream_job_id
|
239
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
240
|
+
__ret__ = pulumi.runtime.invoke('oci:AiVision/getStreamJob:getStreamJob', __args__, opts=opts, typ=GetStreamJobResult).value
|
241
|
+
|
242
|
+
return AwaitableGetStreamJobResult(
|
243
|
+
agent_participant_id=pulumi.get(__ret__, 'agent_participant_id'),
|
244
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
245
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
246
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
247
|
+
features=pulumi.get(__ret__, 'features'),
|
248
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
249
|
+
id=pulumi.get(__ret__, 'id'),
|
250
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
251
|
+
state=pulumi.get(__ret__, 'state'),
|
252
|
+
stream_job_id=pulumi.get(__ret__, 'stream_job_id'),
|
253
|
+
stream_output_locations=pulumi.get(__ret__, 'stream_output_locations'),
|
254
|
+
stream_source_id=pulumi.get(__ret__, 'stream_source_id'),
|
255
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
256
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
257
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
258
|
+
def get_stream_job_output(stream_job_id: Optional[pulumi.Input[_builtins.str]] = None,
|
259
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamJobResult]:
|
260
|
+
"""
|
261
|
+
This data source provides details about a specific Stream Job resource in Oracle Cloud Infrastructure Ai Vision service.
|
262
|
+
|
263
|
+
Get details of a stream analysis job.
|
264
|
+
|
265
|
+
## Example Usage
|
266
|
+
|
267
|
+
```python
|
268
|
+
import pulumi
|
269
|
+
import pulumi_oci as oci
|
270
|
+
|
271
|
+
test_stream_job = oci.AiVision.get_stream_job(stream_job_id=test_stream_job_oci_ai_vision_stream_job["id"])
|
272
|
+
```
|
273
|
+
|
274
|
+
|
275
|
+
:param _builtins.str stream_job_id: Stream job id.
|
276
|
+
"""
|
277
|
+
__args__ = dict()
|
278
|
+
__args__['streamJobId'] = stream_job_id
|
279
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
280
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiVision/getStreamJob:getStreamJob', __args__, opts=opts, typ=GetStreamJobResult)
|
281
|
+
return __ret__.apply(lambda __response__: GetStreamJobResult(
|
282
|
+
agent_participant_id=pulumi.get(__response__, 'agent_participant_id'),
|
283
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
284
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
285
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
286
|
+
features=pulumi.get(__response__, 'features'),
|
287
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
288
|
+
id=pulumi.get(__response__, 'id'),
|
289
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
290
|
+
state=pulumi.get(__response__, 'state'),
|
291
|
+
stream_job_id=pulumi.get(__response__, 'stream_job_id'),
|
292
|
+
stream_output_locations=pulumi.get(__response__, 'stream_output_locations'),
|
293
|
+
stream_source_id=pulumi.get(__response__, 'stream_source_id'),
|
294
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
295
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
296
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,199 @@
|
|
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
|
+
'GetStreamJobsResult',
|
21
|
+
'AwaitableGetStreamJobsResult',
|
22
|
+
'get_stream_jobs',
|
23
|
+
'get_stream_jobs_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetStreamJobsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getStreamJobs.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, state=None, stream_job_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if state and not isinstance(state, str):
|
45
|
+
raise TypeError("Expected argument 'state' to be a str")
|
46
|
+
pulumi.set(__self__, "state", state)
|
47
|
+
if stream_job_collections and not isinstance(stream_job_collections, list):
|
48
|
+
raise TypeError("Expected argument 'stream_job_collections' to be a list")
|
49
|
+
pulumi.set(__self__, "stream_job_collections", stream_job_collections)
|
50
|
+
|
51
|
+
@_builtins.property
|
52
|
+
@pulumi.getter(name="compartmentId")
|
53
|
+
def compartment_id(self) -> Optional[_builtins.str]:
|
54
|
+
"""
|
55
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "compartment_id")
|
58
|
+
|
59
|
+
@_builtins.property
|
60
|
+
@pulumi.getter(name="displayName")
|
61
|
+
def display_name(self) -> Optional[_builtins.str]:
|
62
|
+
"""
|
63
|
+
Stream job display name.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "display_name")
|
66
|
+
|
67
|
+
@_builtins.property
|
68
|
+
@pulumi.getter
|
69
|
+
def filters(self) -> Optional[Sequence['outputs.GetStreamJobsFilterResult']]:
|
70
|
+
return pulumi.get(self, "filters")
|
71
|
+
|
72
|
+
@_builtins.property
|
73
|
+
@pulumi.getter
|
74
|
+
def id(self) -> Optional[_builtins.str]:
|
75
|
+
"""
|
76
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamJob.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "id")
|
79
|
+
|
80
|
+
@_builtins.property
|
81
|
+
@pulumi.getter
|
82
|
+
def state(self) -> Optional[_builtins.str]:
|
83
|
+
"""
|
84
|
+
The current state of the Stream job.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "state")
|
87
|
+
|
88
|
+
@_builtins.property
|
89
|
+
@pulumi.getter(name="streamJobCollections")
|
90
|
+
def stream_job_collections(self) -> Sequence['outputs.GetStreamJobsStreamJobCollectionResult']:
|
91
|
+
"""
|
92
|
+
The list of stream_job_collection.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "stream_job_collections")
|
95
|
+
|
96
|
+
|
97
|
+
class AwaitableGetStreamJobsResult(GetStreamJobsResult):
|
98
|
+
# pylint: disable=using-constant-test
|
99
|
+
def __await__(self):
|
100
|
+
if False:
|
101
|
+
yield self
|
102
|
+
return GetStreamJobsResult(
|
103
|
+
compartment_id=self.compartment_id,
|
104
|
+
display_name=self.display_name,
|
105
|
+
filters=self.filters,
|
106
|
+
id=self.id,
|
107
|
+
state=self.state,
|
108
|
+
stream_job_collections=self.stream_job_collections)
|
109
|
+
|
110
|
+
|
111
|
+
def get_stream_jobs(compartment_id: Optional[_builtins.str] = None,
|
112
|
+
display_name: Optional[_builtins.str] = None,
|
113
|
+
filters: Optional[Sequence[Union['GetStreamJobsFilterArgs', 'GetStreamJobsFilterArgsDict']]] = None,
|
114
|
+
id: Optional[_builtins.str] = None,
|
115
|
+
state: Optional[_builtins.str] = None,
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamJobsResult:
|
117
|
+
"""
|
118
|
+
This data source provides the list of Stream Jobs in Oracle Cloud Infrastructure Ai Vision service.
|
119
|
+
|
120
|
+
Get list of stream jobs
|
121
|
+
|
122
|
+
## Example Usage
|
123
|
+
|
124
|
+
```python
|
125
|
+
import pulumi
|
126
|
+
import pulumi_oci as oci
|
127
|
+
|
128
|
+
test_stream_jobs = oci.AiVision.get_stream_jobs(compartment_id=compartment_id,
|
129
|
+
display_name=stream_job_display_name,
|
130
|
+
id=stream_job_id,
|
131
|
+
state=stream_job_state)
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
136
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
137
|
+
:param _builtins.str id: The filter to find the streamjob with the given identifier.
|
138
|
+
:param _builtins.str state: The filter to match projects with the given lifecycleState.
|
139
|
+
"""
|
140
|
+
__args__ = dict()
|
141
|
+
__args__['compartmentId'] = compartment_id
|
142
|
+
__args__['displayName'] = display_name
|
143
|
+
__args__['filters'] = filters
|
144
|
+
__args__['id'] = id
|
145
|
+
__args__['state'] = state
|
146
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
147
|
+
__ret__ = pulumi.runtime.invoke('oci:AiVision/getStreamJobs:getStreamJobs', __args__, opts=opts, typ=GetStreamJobsResult).value
|
148
|
+
|
149
|
+
return AwaitableGetStreamJobsResult(
|
150
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
151
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
152
|
+
filters=pulumi.get(__ret__, 'filters'),
|
153
|
+
id=pulumi.get(__ret__, 'id'),
|
154
|
+
state=pulumi.get(__ret__, 'state'),
|
155
|
+
stream_job_collections=pulumi.get(__ret__, 'stream_job_collections'))
|
156
|
+
def get_stream_jobs_output(compartment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
157
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
158
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetStreamJobsFilterArgs', 'GetStreamJobsFilterArgsDict']]]]] = None,
|
159
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
160
|
+
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamJobsResult]:
|
162
|
+
"""
|
163
|
+
This data source provides the list of Stream Jobs in Oracle Cloud Infrastructure Ai Vision service.
|
164
|
+
|
165
|
+
Get list of stream jobs
|
166
|
+
|
167
|
+
## Example Usage
|
168
|
+
|
169
|
+
```python
|
170
|
+
import pulumi
|
171
|
+
import pulumi_oci as oci
|
172
|
+
|
173
|
+
test_stream_jobs = oci.AiVision.get_stream_jobs(compartment_id=compartment_id,
|
174
|
+
display_name=stream_job_display_name,
|
175
|
+
id=stream_job_id,
|
176
|
+
state=stream_job_state)
|
177
|
+
```
|
178
|
+
|
179
|
+
|
180
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
181
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
182
|
+
:param _builtins.str id: The filter to find the streamjob with the given identifier.
|
183
|
+
:param _builtins.str state: The filter to match projects with the given lifecycleState.
|
184
|
+
"""
|
185
|
+
__args__ = dict()
|
186
|
+
__args__['compartmentId'] = compartment_id
|
187
|
+
__args__['displayName'] = display_name
|
188
|
+
__args__['filters'] = filters
|
189
|
+
__args__['id'] = id
|
190
|
+
__args__['state'] = state
|
191
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
192
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiVision/getStreamJobs:getStreamJobs', __args__, opts=opts, typ=GetStreamJobsResult)
|
193
|
+
return __ret__.apply(lambda __response__: GetStreamJobsResult(
|
194
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
195
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
196
|
+
filters=pulumi.get(__response__, 'filters'),
|
197
|
+
id=pulumi.get(__response__, 'id'),
|
198
|
+
state=pulumi.get(__response__, 'state'),
|
199
|
+
stream_job_collections=pulumi.get(__response__, 'stream_job_collections')))
|