pulumi-oci 2.19.0a1733984857__py3-none-any.whl → 2.19.0a1734003732__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 +40 -0
- pulumi_oci/database/autonomous_container_database.py +47 -0
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/get_autonomous_container_database.py +15 -1
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/outputs.py +14 -0
- pulumi_oci/dataflow/application.py +75 -33
- pulumi_oci/dataflow/get_application.py +15 -1
- pulumi_oci/dataflow/outputs.py +7 -0
- pulumi_oci/desktops/_inputs.py +9 -9
- pulumi_oci/desktops/desktop_pool.py +84 -35
- pulumi_oci/desktops/get_desktop_pool.py +12 -1
- pulumi_oci/desktops/outputs.py +13 -6
- pulumi_oci/disasterrecovery/_inputs.py +46 -30
- pulumi_oci/disasterrecovery/dr_plan.py +194 -23
- pulumi_oci/disasterrecovery/get_dr_plan.py +54 -4
- pulumi_oci/disasterrecovery/get_dr_plans.py +23 -1
- pulumi_oci/disasterrecovery/outputs.py +113 -21
- pulumi_oci/fleetappsmanagement/__init__.py +19 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +5334 -378
- pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +830 -0
- pulumi_oci/fleetappsmanagement/fleet.py +112 -67
- pulumi_oci/fleetappsmanagement/fleet_credential.py +44 -36
- pulumi_oci/fleetappsmanagement/fleet_property.py +35 -35
- pulumi_oci/fleetappsmanagement/fleet_resource.py +37 -37
- pulumi_oci/fleetappsmanagement/get_announcements.py +4 -4
- pulumi_oci/fleetappsmanagement/get_compliance_policies.py +199 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy.py +253 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +324 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +243 -0
- pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_compliance_records.py +279 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +29 -15
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +7 -7
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +61 -17
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +6 -6
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +10 -10
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleets.py +16 -16
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +12 -12
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +8 -8
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +31 -12
- pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +2 -2
- pulumi_oci/fleetappsmanagement/get_onboardings.py +2 -2
- pulumi_oci/fleetappsmanagement/get_patch.py +363 -0
- pulumi_oci/fleetappsmanagement/get_patches.py +335 -0
- pulumi_oci/fleetappsmanagement/get_platform_configuration.py +296 -0
- pulumi_oci/fleetappsmanagement/get_platform_configurations.py +221 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +9 -9
- pulumi_oci/fleetappsmanagement/get_property.py +4 -4
- pulumi_oci/fleetappsmanagement/get_runbook.py +8 -8
- pulumi_oci/fleetappsmanagement/get_runbooks.py +16 -16
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +10 -10
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +2 -2
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +33 -11
- pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_resources.py +245 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +245 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +3 -3
- pulumi_oci/fleetappsmanagement/maintenance_window.py +44 -44
- pulumi_oci/fleetappsmanagement/onboarding.py +108 -20
- pulumi_oci/fleetappsmanagement/outputs.py +11222 -2736
- pulumi_oci/fleetappsmanagement/patch.py +978 -0
- pulumi_oci/fleetappsmanagement/platform_configuration.py +687 -0
- pulumi_oci/fleetappsmanagement/property.py +27 -27
- pulumi_oci/fleetappsmanagement/runbook.py +1173 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +30 -30
- pulumi_oci/fleetappsmanagement/task_record.py +754 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +28 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +56 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +15 -1
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +29 -1
- pulumi_oci/fleetsoftwareupdate/outputs.py +33 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/visualbuilder/_inputs.py +57 -202
- pulumi_oci/visualbuilder/get_vb_instance.py +15 -29
- pulumi_oci/visualbuilder/outputs.py +114 -400
- pulumi_oci/visualbuilder/vb_instance.py +62 -59
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/METADATA +1 -1
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/RECORD +87 -68
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.19.0a1734003732.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,243 @@
|
|
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 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
|
+
'GetCompliancePolicyRulesResult',
|
21
|
+
'AwaitableGetCompliancePolicyRulesResult',
|
22
|
+
'get_compliance_policy_rules',
|
23
|
+
'get_compliance_policy_rules_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetCompliancePolicyRulesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getCompliancePolicyRules.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, compliance_policy_id=None, compliance_policy_rule_collections=None, display_name=None, filters=None, id=None, patch_name=None, state=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 compliance_policy_id and not isinstance(compliance_policy_id, str):
|
36
|
+
raise TypeError("Expected argument 'compliance_policy_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compliance_policy_id", compliance_policy_id)
|
38
|
+
if compliance_policy_rule_collections and not isinstance(compliance_policy_rule_collections, list):
|
39
|
+
raise TypeError("Expected argument 'compliance_policy_rule_collections' to be a list")
|
40
|
+
pulumi.set(__self__, "compliance_policy_rule_collections", compliance_policy_rule_collections)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if patch_name and not isinstance(patch_name, str):
|
51
|
+
raise TypeError("Expected argument 'patch_name' to be a str")
|
52
|
+
pulumi.set(__self__, "patch_name", patch_name)
|
53
|
+
if state and not isinstance(state, str):
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
55
|
+
pulumi.set(__self__, "state", state)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="compartmentId")
|
59
|
+
def compartment_id(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
The OCID of the compartment the CompliancePolicyRule belongs to.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "compartment_id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compliancePolicyId")
|
67
|
+
def compliance_policy_id(self) -> Optional[str]:
|
68
|
+
"""
|
69
|
+
Unique OCID of the CompliancePolicy.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "compliance_policy_id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="compliancePolicyRuleCollections")
|
75
|
+
def compliance_policy_rule_collections(self) -> Sequence['outputs.GetCompliancePolicyRulesCompliancePolicyRuleCollectionResult']:
|
76
|
+
"""
|
77
|
+
The list of compliance_policy_rule_collection.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "compliance_policy_rule_collections")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="displayName")
|
83
|
+
def display_name(self) -> Optional[str]:
|
84
|
+
"""
|
85
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "display_name")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def filters(self) -> Optional[Sequence['outputs.GetCompliancePolicyRulesFilterResult']]:
|
92
|
+
return pulumi.get(self, "filters")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def id(self) -> Optional[str]:
|
97
|
+
"""
|
98
|
+
Unique OCID of the CompliancePolicyRule.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "id")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="patchName")
|
104
|
+
def patch_name(self) -> Optional[str]:
|
105
|
+
"""
|
106
|
+
Patch Name.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "patch_name")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def state(self) -> Optional[str]:
|
113
|
+
"""
|
114
|
+
The current state of the CompliancePolicyRule.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "state")
|
117
|
+
|
118
|
+
|
119
|
+
class AwaitableGetCompliancePolicyRulesResult(GetCompliancePolicyRulesResult):
|
120
|
+
# pylint: disable=using-constant-test
|
121
|
+
def __await__(self):
|
122
|
+
if False:
|
123
|
+
yield self
|
124
|
+
return GetCompliancePolicyRulesResult(
|
125
|
+
compartment_id=self.compartment_id,
|
126
|
+
compliance_policy_id=self.compliance_policy_id,
|
127
|
+
compliance_policy_rule_collections=self.compliance_policy_rule_collections,
|
128
|
+
display_name=self.display_name,
|
129
|
+
filters=self.filters,
|
130
|
+
id=self.id,
|
131
|
+
patch_name=self.patch_name,
|
132
|
+
state=self.state)
|
133
|
+
|
134
|
+
|
135
|
+
def get_compliance_policy_rules(compartment_id: Optional[str] = None,
|
136
|
+
compliance_policy_id: Optional[str] = None,
|
137
|
+
display_name: Optional[str] = None,
|
138
|
+
filters: Optional[Sequence[Union['GetCompliancePolicyRulesFilterArgs', 'GetCompliancePolicyRulesFilterArgsDict']]] = None,
|
139
|
+
id: Optional[str] = None,
|
140
|
+
patch_name: Optional[str] = None,
|
141
|
+
state: Optional[str] = None,
|
142
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCompliancePolicyRulesResult:
|
143
|
+
"""
|
144
|
+
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
|
145
|
+
|
146
|
+
Gets a list of CompliancePolicyRules.
|
147
|
+
|
148
|
+
## Example Usage
|
149
|
+
|
150
|
+
```python
|
151
|
+
import pulumi
|
152
|
+
import pulumi_oci as oci
|
153
|
+
|
154
|
+
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
|
155
|
+
compliance_policy_id=test_compliance_policy["id"],
|
156
|
+
display_name=compliance_policy_rule_display_name,
|
157
|
+
id=compliance_policy_rule_id,
|
158
|
+
patch_name=test_patch["name"],
|
159
|
+
state=compliance_policy_rule_state)
|
160
|
+
```
|
161
|
+
|
162
|
+
|
163
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
164
|
+
:param str compliance_policy_id: unique CompliancePolicy identifier.
|
165
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
166
|
+
:param str id: unique CompliancePolicyRule identifier.
|
167
|
+
:param str patch_name: A filter to return only resources that match the patch selection against the given patch name.
|
168
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
169
|
+
"""
|
170
|
+
__args__ = dict()
|
171
|
+
__args__['compartmentId'] = compartment_id
|
172
|
+
__args__['compliancePolicyId'] = compliance_policy_id
|
173
|
+
__args__['displayName'] = display_name
|
174
|
+
__args__['filters'] = filters
|
175
|
+
__args__['id'] = id
|
176
|
+
__args__['patchName'] = patch_name
|
177
|
+
__args__['state'] = state
|
178
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
179
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules', __args__, opts=opts, typ=GetCompliancePolicyRulesResult).value
|
180
|
+
|
181
|
+
return AwaitableGetCompliancePolicyRulesResult(
|
182
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
183
|
+
compliance_policy_id=pulumi.get(__ret__, 'compliance_policy_id'),
|
184
|
+
compliance_policy_rule_collections=pulumi.get(__ret__, 'compliance_policy_rule_collections'),
|
185
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
186
|
+
filters=pulumi.get(__ret__, 'filters'),
|
187
|
+
id=pulumi.get(__ret__, 'id'),
|
188
|
+
patch_name=pulumi.get(__ret__, 'patch_name'),
|
189
|
+
state=pulumi.get(__ret__, 'state'))
|
190
|
+
def get_compliance_policy_rules_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
191
|
+
compliance_policy_id: Optional[pulumi.Input[Optional[str]]] = None,
|
192
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
193
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetCompliancePolicyRulesFilterArgs', 'GetCompliancePolicyRulesFilterArgsDict']]]]] = None,
|
194
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
195
|
+
patch_name: Optional[pulumi.Input[Optional[str]]] = None,
|
196
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
197
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCompliancePolicyRulesResult]:
|
198
|
+
"""
|
199
|
+
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
|
200
|
+
|
201
|
+
Gets a list of CompliancePolicyRules.
|
202
|
+
|
203
|
+
## Example Usage
|
204
|
+
|
205
|
+
```python
|
206
|
+
import pulumi
|
207
|
+
import pulumi_oci as oci
|
208
|
+
|
209
|
+
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
|
210
|
+
compliance_policy_id=test_compliance_policy["id"],
|
211
|
+
display_name=compliance_policy_rule_display_name,
|
212
|
+
id=compliance_policy_rule_id,
|
213
|
+
patch_name=test_patch["name"],
|
214
|
+
state=compliance_policy_rule_state)
|
215
|
+
```
|
216
|
+
|
217
|
+
|
218
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
219
|
+
:param str compliance_policy_id: unique CompliancePolicy identifier.
|
220
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
221
|
+
:param str id: unique CompliancePolicyRule identifier.
|
222
|
+
:param str patch_name: A filter to return only resources that match the patch selection against the given patch name.
|
223
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
224
|
+
"""
|
225
|
+
__args__ = dict()
|
226
|
+
__args__['compartmentId'] = compartment_id
|
227
|
+
__args__['compliancePolicyId'] = compliance_policy_id
|
228
|
+
__args__['displayName'] = display_name
|
229
|
+
__args__['filters'] = filters
|
230
|
+
__args__['id'] = id
|
231
|
+
__args__['patchName'] = patch_name
|
232
|
+
__args__['state'] = state
|
233
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
234
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules', __args__, opts=opts, typ=GetCompliancePolicyRulesResult)
|
235
|
+
return __ret__.apply(lambda __response__: GetCompliancePolicyRulesResult(
|
236
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
237
|
+
compliance_policy_id=pulumi.get(__response__, 'compliance_policy_id'),
|
238
|
+
compliance_policy_rule_collections=pulumi.get(__response__, 'compliance_policy_rule_collections'),
|
239
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
240
|
+
filters=pulumi.get(__response__, 'filters'),
|
241
|
+
id=pulumi.get(__response__, 'id'),
|
242
|
+
patch_name=pulumi.get(__response__, 'patch_name'),
|
243
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,144 @@
|
|
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 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
|
+
'GetComplianceRecordCountsResult',
|
21
|
+
'AwaitableGetComplianceRecordCountsResult',
|
22
|
+
'get_compliance_record_counts',
|
23
|
+
'get_compliance_record_counts_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetComplianceRecordCountsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getComplianceRecordCounts.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, compliance_record_aggregation_collections=None, filters=None, id=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 compliance_record_aggregation_collections and not isinstance(compliance_record_aggregation_collections, list):
|
36
|
+
raise TypeError("Expected argument 'compliance_record_aggregation_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "compliance_record_aggregation_collections", compliance_record_aggregation_collections)
|
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
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> Optional[str]:
|
48
|
+
return pulumi.get(self, "compartment_id")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter(name="complianceRecordAggregationCollections")
|
52
|
+
def compliance_record_aggregation_collections(self) -> Sequence['outputs.GetComplianceRecordCountsComplianceRecordAggregationCollectionResult']:
|
53
|
+
"""
|
54
|
+
The list of compliance_record_aggregation_collection.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "compliance_record_aggregation_collections")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def filters(self) -> Optional[Sequence['outputs.GetComplianceRecordCountsFilterResult']]:
|
61
|
+
return pulumi.get(self, "filters")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def id(self) -> str:
|
66
|
+
"""
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "id")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetComplianceRecordCountsResult(GetComplianceRecordCountsResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetComplianceRecordCountsResult(
|
78
|
+
compartment_id=self.compartment_id,
|
79
|
+
compliance_record_aggregation_collections=self.compliance_record_aggregation_collections,
|
80
|
+
filters=self.filters,
|
81
|
+
id=self.id)
|
82
|
+
|
83
|
+
|
84
|
+
def get_compliance_record_counts(compartment_id: Optional[str] = None,
|
85
|
+
filters: Optional[Sequence[Union['GetComplianceRecordCountsFilterArgs', 'GetComplianceRecordCountsFilterArgsDict']]] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComplianceRecordCountsResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Compliance Record Counts in Oracle Cloud Infrastructure Fleet Apps Management service.
|
89
|
+
|
90
|
+
Retrieve aggregated summary information of ComplianceRecords within a Tenancy.
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_compliance_record_counts = oci.FleetAppsManagement.get_compliance_record_counts(compartment_id=compartment_id)
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['compartmentId'] = compartment_id
|
106
|
+
__args__['filters'] = filters
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getComplianceRecordCounts:getComplianceRecordCounts', __args__, opts=opts, typ=GetComplianceRecordCountsResult).value
|
109
|
+
|
110
|
+
return AwaitableGetComplianceRecordCountsResult(
|
111
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
112
|
+
compliance_record_aggregation_collections=pulumi.get(__ret__, 'compliance_record_aggregation_collections'),
|
113
|
+
filters=pulumi.get(__ret__, 'filters'),
|
114
|
+
id=pulumi.get(__ret__, 'id'))
|
115
|
+
def get_compliance_record_counts_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
116
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetComplianceRecordCountsFilterArgs', 'GetComplianceRecordCountsFilterArgsDict']]]]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComplianceRecordCountsResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Compliance Record Counts in Oracle Cloud Infrastructure Fleet Apps Management service.
|
120
|
+
|
121
|
+
Retrieve aggregated summary information of ComplianceRecords within a Tenancy.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_compliance_record_counts = oci.FleetAppsManagement.get_compliance_record_counts(compartment_id=compartment_id)
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['compartmentId'] = compartment_id
|
137
|
+
__args__['filters'] = filters
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getComplianceRecordCounts:getComplianceRecordCounts', __args__, opts=opts, typ=GetComplianceRecordCountsResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetComplianceRecordCountsResult(
|
141
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
142
|
+
compliance_record_aggregation_collections=pulumi.get(__response__, 'compliance_record_aggregation_collections'),
|
143
|
+
filters=pulumi.get(__response__, 'filters'),
|
144
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -0,0 +1,279 @@
|
|
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 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
|
+
'GetComplianceRecordsResult',
|
21
|
+
'AwaitableGetComplianceRecordsResult',
|
22
|
+
'get_compliance_records',
|
23
|
+
'get_compliance_records_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetComplianceRecordsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getComplianceRecords.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, compliance_record_collections=None, compliance_state=None, entity_id=None, filters=None, id=None, product_name=None, product_stack=None, resource_id=None, target_name=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 compliance_record_collections and not isinstance(compliance_record_collections, list):
|
36
|
+
raise TypeError("Expected argument 'compliance_record_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "compliance_record_collections", compliance_record_collections)
|
38
|
+
if compliance_state and not isinstance(compliance_state, str):
|
39
|
+
raise TypeError("Expected argument 'compliance_state' to be a str")
|
40
|
+
pulumi.set(__self__, "compliance_state", compliance_state)
|
41
|
+
if entity_id and not isinstance(entity_id, str):
|
42
|
+
raise TypeError("Expected argument 'entity_id' to be a str")
|
43
|
+
pulumi.set(__self__, "entity_id", entity_id)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if product_name and not isinstance(product_name, str):
|
51
|
+
raise TypeError("Expected argument 'product_name' to be a str")
|
52
|
+
pulumi.set(__self__, "product_name", product_name)
|
53
|
+
if product_stack and not isinstance(product_stack, str):
|
54
|
+
raise TypeError("Expected argument 'product_stack' to be a str")
|
55
|
+
pulumi.set(__self__, "product_stack", product_stack)
|
56
|
+
if resource_id and not isinstance(resource_id, str):
|
57
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
58
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
59
|
+
if target_name and not isinstance(target_name, str):
|
60
|
+
raise TypeError("Expected argument 'target_name' to be a str")
|
61
|
+
pulumi.set(__self__, "target_name", target_name)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> Optional[str]:
|
66
|
+
"""
|
67
|
+
TenancyId of the resource.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "compartment_id")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="complianceRecordCollections")
|
73
|
+
def compliance_record_collections(self) -> Sequence['outputs.GetComplianceRecordsComplianceRecordCollectionResult']:
|
74
|
+
"""
|
75
|
+
The list of compliance_record_collection.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "compliance_record_collections")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="complianceState")
|
81
|
+
def compliance_state(self) -> Optional[str]:
|
82
|
+
"""
|
83
|
+
Last known compliance state of target.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "compliance_state")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="entityId")
|
89
|
+
def entity_id(self) -> Optional[str]:
|
90
|
+
"""
|
91
|
+
The OCID of the entity for which the compliance is calculated.Ex.FleetId
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "entity_id")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def filters(self) -> Optional[Sequence['outputs.GetComplianceRecordsFilterResult']]:
|
98
|
+
return pulumi.get(self, "filters")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def id(self) -> str:
|
103
|
+
"""
|
104
|
+
The provider-assigned unique ID for this managed resource.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "id")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="productName")
|
110
|
+
def product_name(self) -> Optional[str]:
|
111
|
+
"""
|
112
|
+
Product Name.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "product_name")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="productStack")
|
118
|
+
def product_stack(self) -> Optional[str]:
|
119
|
+
"""
|
120
|
+
Product Stack.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "product_stack")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="resourceId")
|
126
|
+
def resource_id(self) -> Optional[str]:
|
127
|
+
"""
|
128
|
+
The OCID to identify the resource.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "resource_id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="targetName")
|
134
|
+
def target_name(self) -> Optional[str]:
|
135
|
+
"""
|
136
|
+
Target Name.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "target_name")
|
139
|
+
|
140
|
+
|
141
|
+
class AwaitableGetComplianceRecordsResult(GetComplianceRecordsResult):
|
142
|
+
# pylint: disable=using-constant-test
|
143
|
+
def __await__(self):
|
144
|
+
if False:
|
145
|
+
yield self
|
146
|
+
return GetComplianceRecordsResult(
|
147
|
+
compartment_id=self.compartment_id,
|
148
|
+
compliance_record_collections=self.compliance_record_collections,
|
149
|
+
compliance_state=self.compliance_state,
|
150
|
+
entity_id=self.entity_id,
|
151
|
+
filters=self.filters,
|
152
|
+
id=self.id,
|
153
|
+
product_name=self.product_name,
|
154
|
+
product_stack=self.product_stack,
|
155
|
+
resource_id=self.resource_id,
|
156
|
+
target_name=self.target_name)
|
157
|
+
|
158
|
+
|
159
|
+
def get_compliance_records(compartment_id: Optional[str] = None,
|
160
|
+
compliance_state: Optional[str] = None,
|
161
|
+
entity_id: Optional[str] = None,
|
162
|
+
filters: Optional[Sequence[Union['GetComplianceRecordsFilterArgs', 'GetComplianceRecordsFilterArgsDict']]] = None,
|
163
|
+
product_name: Optional[str] = None,
|
164
|
+
product_stack: Optional[str] = None,
|
165
|
+
resource_id: Optional[str] = None,
|
166
|
+
target_name: Optional[str] = None,
|
167
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComplianceRecordsResult:
|
168
|
+
"""
|
169
|
+
This data source provides the list of Compliance Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
170
|
+
|
171
|
+
Gets a list of complianceDetails.
|
172
|
+
|
173
|
+
## Example Usage
|
174
|
+
|
175
|
+
```python
|
176
|
+
import pulumi
|
177
|
+
import pulumi_oci as oci
|
178
|
+
|
179
|
+
test_compliance_records = oci.FleetAppsManagement.get_compliance_records(compartment_id=compartment_id,
|
180
|
+
compliance_state=compliance_record_compliance_state,
|
181
|
+
entity_id=test_entity["id"],
|
182
|
+
product_name=compliance_record_product_name,
|
183
|
+
product_stack=compliance_record_product_stack,
|
184
|
+
resource_id=test_resource["id"],
|
185
|
+
target_name=test_target["name"])
|
186
|
+
```
|
187
|
+
|
188
|
+
|
189
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
190
|
+
:param str compliance_state: Target Compliance State.
|
191
|
+
:param str entity_id: Entity identifier.Ex:FleetId
|
192
|
+
:param str product_name: Product Name.
|
193
|
+
:param str product_stack: ProductStack name.
|
194
|
+
:param str resource_id: Resource identifier.
|
195
|
+
:param str target_name: Unique target name
|
196
|
+
"""
|
197
|
+
__args__ = dict()
|
198
|
+
__args__['compartmentId'] = compartment_id
|
199
|
+
__args__['complianceState'] = compliance_state
|
200
|
+
__args__['entityId'] = entity_id
|
201
|
+
__args__['filters'] = filters
|
202
|
+
__args__['productName'] = product_name
|
203
|
+
__args__['productStack'] = product_stack
|
204
|
+
__args__['resourceId'] = resource_id
|
205
|
+
__args__['targetName'] = target_name
|
206
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
207
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getComplianceRecords:getComplianceRecords', __args__, opts=opts, typ=GetComplianceRecordsResult).value
|
208
|
+
|
209
|
+
return AwaitableGetComplianceRecordsResult(
|
210
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
211
|
+
compliance_record_collections=pulumi.get(__ret__, 'compliance_record_collections'),
|
212
|
+
compliance_state=pulumi.get(__ret__, 'compliance_state'),
|
213
|
+
entity_id=pulumi.get(__ret__, 'entity_id'),
|
214
|
+
filters=pulumi.get(__ret__, 'filters'),
|
215
|
+
id=pulumi.get(__ret__, 'id'),
|
216
|
+
product_name=pulumi.get(__ret__, 'product_name'),
|
217
|
+
product_stack=pulumi.get(__ret__, 'product_stack'),
|
218
|
+
resource_id=pulumi.get(__ret__, 'resource_id'),
|
219
|
+
target_name=pulumi.get(__ret__, 'target_name'))
|
220
|
+
def get_compliance_records_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
221
|
+
compliance_state: Optional[pulumi.Input[Optional[str]]] = None,
|
222
|
+
entity_id: Optional[pulumi.Input[Optional[str]]] = None,
|
223
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetComplianceRecordsFilterArgs', 'GetComplianceRecordsFilterArgsDict']]]]] = None,
|
224
|
+
product_name: Optional[pulumi.Input[Optional[str]]] = None,
|
225
|
+
product_stack: Optional[pulumi.Input[Optional[str]]] = None,
|
226
|
+
resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
227
|
+
target_name: Optional[pulumi.Input[Optional[str]]] = None,
|
228
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComplianceRecordsResult]:
|
229
|
+
"""
|
230
|
+
This data source provides the list of Compliance Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
231
|
+
|
232
|
+
Gets a list of complianceDetails.
|
233
|
+
|
234
|
+
## Example Usage
|
235
|
+
|
236
|
+
```python
|
237
|
+
import pulumi
|
238
|
+
import pulumi_oci as oci
|
239
|
+
|
240
|
+
test_compliance_records = oci.FleetAppsManagement.get_compliance_records(compartment_id=compartment_id,
|
241
|
+
compliance_state=compliance_record_compliance_state,
|
242
|
+
entity_id=test_entity["id"],
|
243
|
+
product_name=compliance_record_product_name,
|
244
|
+
product_stack=compliance_record_product_stack,
|
245
|
+
resource_id=test_resource["id"],
|
246
|
+
target_name=test_target["name"])
|
247
|
+
```
|
248
|
+
|
249
|
+
|
250
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
251
|
+
:param str compliance_state: Target Compliance State.
|
252
|
+
:param str entity_id: Entity identifier.Ex:FleetId
|
253
|
+
:param str product_name: Product Name.
|
254
|
+
:param str product_stack: ProductStack name.
|
255
|
+
:param str resource_id: Resource identifier.
|
256
|
+
:param str target_name: Unique target name
|
257
|
+
"""
|
258
|
+
__args__ = dict()
|
259
|
+
__args__['compartmentId'] = compartment_id
|
260
|
+
__args__['complianceState'] = compliance_state
|
261
|
+
__args__['entityId'] = entity_id
|
262
|
+
__args__['filters'] = filters
|
263
|
+
__args__['productName'] = product_name
|
264
|
+
__args__['productStack'] = product_stack
|
265
|
+
__args__['resourceId'] = resource_id
|
266
|
+
__args__['targetName'] = target_name
|
267
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
268
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getComplianceRecords:getComplianceRecords', __args__, opts=opts, typ=GetComplianceRecordsResult)
|
269
|
+
return __ret__.apply(lambda __response__: GetComplianceRecordsResult(
|
270
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
271
|
+
compliance_record_collections=pulumi.get(__response__, 'compliance_record_collections'),
|
272
|
+
compliance_state=pulumi.get(__response__, 'compliance_state'),
|
273
|
+
entity_id=pulumi.get(__response__, 'entity_id'),
|
274
|
+
filters=pulumi.get(__response__, 'filters'),
|
275
|
+
id=pulumi.get(__response__, 'id'),
|
276
|
+
product_name=pulumi.get(__response__, 'product_name'),
|
277
|
+
product_stack=pulumi.get(__response__, 'product_stack'),
|
278
|
+
resource_id=pulumi.get(__response__, 'resource_id'),
|
279
|
+
target_name=pulumi.get(__response__, 'target_name')))
|