pulumi-oci 2.9.0__py3-none-any.whl → 2.9.0a1724479778__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 (119) hide show
  1. pulumi_oci/__init__.py +38 -86
  2. pulumi_oci/announcementsservice/__init__.py +0 -1
  3. pulumi_oci/announcementsservice/_inputs.py +6 -46
  4. pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
  5. pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
  6. pulumi_oci/announcementsservice/outputs.py +18 -195
  7. pulumi_oci/bigdataservice/_inputs.py +49 -1
  8. pulumi_oci/bigdataservice/bds_instance.py +128 -0
  9. pulumi_oci/bigdataservice/get_bds_instance.py +31 -1
  10. pulumi_oci/bigdataservice/outputs.py +132 -3
  11. pulumi_oci/database/_inputs.py +0 -32
  12. pulumi_oci/database/autonomous_database.py +0 -28
  13. pulumi_oci/database/data_guard_association.py +0 -49
  14. pulumi_oci/database/get_autonomous_database.py +1 -14
  15. pulumi_oci/database/get_autonomous_databases.py +95 -32
  16. pulumi_oci/database/get_data_guard_association.py +1 -11
  17. pulumi_oci/database/outputs.py +42 -163
  18. pulumi_oci/databasemanagement/__init__.py +0 -1
  19. pulumi_oci/databasemanagement/_inputs.py +12 -875
  20. pulumi_oci/databasemanagement/database_dbm_features_management.py +3 -37
  21. pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -49
  22. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
  23. pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +1 -21
  24. pulumi_oci/databasemanagement/get_managed_database.py +3 -47
  25. pulumi_oci/databasemanagement/managed_database.py +0 -56
  26. pulumi_oci/databasemanagement/outputs.py +5553 -7487
  27. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +1 -35
  28. pulumi_oci/datasafe/__init__.py +0 -6
  29. pulumi_oci/datasafe/_inputs.py +0 -18
  30. pulumi_oci/datasafe/database_security_config_management.py +2 -244
  31. pulumi_oci/datasafe/outputs.py +0 -18
  32. pulumi_oci/datasafe/security_policy_deployment_management.py +2 -180
  33. pulumi_oci/datasafe/security_policy_management.py +2 -172
  34. pulumi_oci/datasafe/sql_firewall_policy_management.py +2 -354
  35. pulumi_oci/filestorage/mount_target.py +38 -143
  36. pulumi_oci/filestorage/outputs.py +0 -44
  37. pulumi_oci/{desktops → fleetsoftwareupdate}/__init__.py +6 -7
  38. pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
  39. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
  40. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
  41. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
  42. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
  43. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
  44. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
  45. pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
  46. pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
  47. pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
  48. pulumi_oci/{delegateaccesscontrol/get_delegation_subscription.py → globallydistributeddatabase/get_private_endpoint.py} +105 -66
  49. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
  50. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
  51. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
  52. pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
  53. pulumi_oci/{delegateaccesscontrol/delegation_subscription.py → globallydistributeddatabase/private_endpoint.py} +267 -162
  54. pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
  55. pulumi_oci/identity/domains_group.py +0 -34
  56. pulumi_oci/identity/domains_user.py +0 -34
  57. pulumi_oci/identity/get_domains_group.py +1 -11
  58. pulumi_oci/identity/get_domains_user.py +1 -11
  59. pulumi_oci/identity/outputs.py +0 -14
  60. pulumi_oci/kms/_inputs.py +10 -10
  61. pulumi_oci/kms/get_vault.py +1 -14
  62. pulumi_oci/kms/outputs.py +30 -41
  63. pulumi_oci/kms/vault.py +0 -28
  64. pulumi_oci/loadbalancer/load_balancer.py +0 -224
  65. pulumi_oci/loadbalancer/outputs.py +0 -22
  66. pulumi_oci/mysql/_inputs.py +0 -23
  67. pulumi_oci/mysql/get_mysql_db_system.py +2 -15
  68. pulumi_oci/mysql/mysql_db_system.py +0 -53
  69. pulumi_oci/mysql/outputs.py +6 -74
  70. pulumi_oci/ocvp/get_cluster.py +2 -2
  71. pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
  72. pulumi_oci/ocvp/get_supported_vmware_software_versions.py +5 -22
  73. pulumi_oci/ocvp/outputs.py +2 -2
  74. pulumi_oci/pulumi-plugin.json +1 -1
  75. pulumi_oci/recoverymod/_inputs.py +8 -0
  76. pulumi_oci/recoverymod/get_protected_database.py +1 -14
  77. pulumi_oci/recoverymod/get_protection_policy.py +1 -14
  78. pulumi_oci/recoverymod/outputs.py +8 -22
  79. pulumi_oci/recoverymod/protected_database.py +3 -80
  80. pulumi_oci/recoverymod/protection_policy.py +0 -49
  81. pulumi_oci/waf/_inputs.py +16 -29
  82. pulumi_oci/waf/outputs.py +10 -33
  83. {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/METADATA +1 -1
  84. {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/RECORD +86 -104
  85. {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/WHEEL +1 -1
  86. pulumi_oci/announcementsservice/get_services.py +0 -173
  87. pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +0 -275
  88. pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
  89. pulumi_oci/datasafe/masking_report_management.py +0 -693
  90. pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
  91. pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
  92. pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +0 -264
  93. pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +0 -264
  94. pulumi_oci/delegateaccesscontrol/__init__.py +0 -24
  95. pulumi_oci/delegateaccesscontrol/_inputs.py +0 -306
  96. pulumi_oci/delegateaccesscontrol/delegation_control.py +0 -1082
  97. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +0 -535
  98. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +0 -174
  99. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +0 -133
  100. pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +0 -250
  101. pulumi_oci/delegateaccesscontrol/get_delegation_control.py +0 -378
  102. pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +0 -133
  103. pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +0 -213
  104. pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +0 -176
  105. pulumi_oci/delegateaccesscontrol/get_service_provider.py +0 -274
  106. pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +0 -210
  107. pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +0 -210
  108. pulumi_oci/delegateaccesscontrol/get_service_providers.py +0 -213
  109. pulumi_oci/delegateaccesscontrol/outputs.py +0 -1679
  110. pulumi_oci/desktops/_inputs.py +0 -483
  111. pulumi_oci/desktops/desktop_pool.py +0 -1348
  112. pulumi_oci/desktops/get_desktop.py +0 -223
  113. pulumi_oci/desktops/get_desktop_pool.py +0 -418
  114. pulumi_oci/desktops/get_desktop_pool_desktops.py +0 -208
  115. pulumi_oci/desktops/get_desktop_pool_volumes.py +0 -214
  116. pulumi_oci/desktops/get_desktop_pools.py +0 -203
  117. pulumi_oci/desktops/get_desktops.py +0 -214
  118. pulumi_oci/desktops/outputs.py +0 -1738
  119. {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/top_level.txt +0 -0
@@ -1,213 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
- from ._inputs import *
13
-
14
- __all__ = [
15
- 'GetDelegationControlsResult',
16
- 'AwaitableGetDelegationControlsResult',
17
- 'get_delegation_controls',
18
- 'get_delegation_controls_output',
19
- ]
20
-
21
- @pulumi.output_type
22
- class GetDelegationControlsResult:
23
- """
24
- A collection of values returned by getDelegationControls.
25
- """
26
- def __init__(__self__, compartment_id=None, delegation_control_summary_collections=None, display_name=None, filters=None, id=None, resource_id=None, resource_type=None, state=None):
27
- if compartment_id and not isinstance(compartment_id, str):
28
- raise TypeError("Expected argument 'compartment_id' to be a str")
29
- pulumi.set(__self__, "compartment_id", compartment_id)
30
- if delegation_control_summary_collections and not isinstance(delegation_control_summary_collections, list):
31
- raise TypeError("Expected argument 'delegation_control_summary_collections' to be a list")
32
- pulumi.set(__self__, "delegation_control_summary_collections", delegation_control_summary_collections)
33
- if display_name and not isinstance(display_name, str):
34
- raise TypeError("Expected argument 'display_name' to be a str")
35
- pulumi.set(__self__, "display_name", display_name)
36
- if filters and not isinstance(filters, list):
37
- raise TypeError("Expected argument 'filters' to be a list")
38
- pulumi.set(__self__, "filters", filters)
39
- if id and not isinstance(id, str):
40
- raise TypeError("Expected argument 'id' to be a str")
41
- pulumi.set(__self__, "id", id)
42
- if resource_id and not isinstance(resource_id, str):
43
- raise TypeError("Expected argument 'resource_id' to be a str")
44
- pulumi.set(__self__, "resource_id", resource_id)
45
- if resource_type and not isinstance(resource_type, str):
46
- raise TypeError("Expected argument 'resource_type' to be a str")
47
- pulumi.set(__self__, "resource_type", resource_type)
48
- if state and not isinstance(state, str):
49
- raise TypeError("Expected argument 'state' to be a str")
50
- pulumi.set(__self__, "state", state)
51
-
52
- @property
53
- @pulumi.getter(name="compartmentId")
54
- def compartment_id(self) -> str:
55
- """
56
- The OCID of the compartment that contains the Delegation Control.
57
- """
58
- return pulumi.get(self, "compartment_id")
59
-
60
- @property
61
- @pulumi.getter(name="delegationControlSummaryCollections")
62
- def delegation_control_summary_collections(self) -> Sequence['outputs.GetDelegationControlsDelegationControlSummaryCollectionResult']:
63
- """
64
- The list of delegation_control_summary_collection.
65
- """
66
- return pulumi.get(self, "delegation_control_summary_collections")
67
-
68
- @property
69
- @pulumi.getter(name="displayName")
70
- def display_name(self) -> Optional[str]:
71
- """
72
- Name of the Delegation Control. The name does not need to be unique.
73
- """
74
- return pulumi.get(self, "display_name")
75
-
76
- @property
77
- @pulumi.getter
78
- def filters(self) -> Optional[Sequence['outputs.GetDelegationControlsFilterResult']]:
79
- return pulumi.get(self, "filters")
80
-
81
- @property
82
- @pulumi.getter
83
- def id(self) -> str:
84
- """
85
- The provider-assigned unique ID for this managed resource.
86
- """
87
- return pulumi.get(self, "id")
88
-
89
- @property
90
- @pulumi.getter(name="resourceId")
91
- def resource_id(self) -> Optional[str]:
92
- return pulumi.get(self, "resource_id")
93
-
94
- @property
95
- @pulumi.getter(name="resourceType")
96
- def resource_type(self) -> Optional[str]:
97
- """
98
- Resource type for which the Delegation Control is applicable to.
99
- """
100
- return pulumi.get(self, "resource_type")
101
-
102
- @property
103
- @pulumi.getter
104
- def state(self) -> Optional[str]:
105
- """
106
- The current lifecycle state of the Delegation Control.
107
- """
108
- return pulumi.get(self, "state")
109
-
110
-
111
- class AwaitableGetDelegationControlsResult(GetDelegationControlsResult):
112
- # pylint: disable=using-constant-test
113
- def __await__(self):
114
- if False:
115
- yield self
116
- return GetDelegationControlsResult(
117
- compartment_id=self.compartment_id,
118
- delegation_control_summary_collections=self.delegation_control_summary_collections,
119
- display_name=self.display_name,
120
- filters=self.filters,
121
- id=self.id,
122
- resource_id=self.resource_id,
123
- resource_type=self.resource_type,
124
- state=self.state)
125
-
126
-
127
- def get_delegation_controls(compartment_id: Optional[str] = None,
128
- display_name: Optional[str] = None,
129
- filters: Optional[Sequence[Union['GetDelegationControlsFilterArgs', 'GetDelegationControlsFilterArgsDict']]] = None,
130
- resource_id: Optional[str] = None,
131
- resource_type: Optional[str] = None,
132
- state: Optional[str] = None,
133
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlsResult:
134
- """
135
- This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service.
136
-
137
- Lists the Delegation Controls in the compartment.
138
-
139
- ## Example Usage
140
-
141
- ```python
142
- import pulumi
143
- import pulumi_oci as oci
144
-
145
- test_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id,
146
- display_name=delegation_control_display_name,
147
- resource_id=test_resource["id"],
148
- resource_type=delegation_control_resource_type,
149
- state=delegation_control_state)
150
- ```
151
-
152
-
153
- :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
154
- :param str display_name: A filter to return Delegation Control resources that match the given display name.
155
- :param str resource_id: A filter to return Delegation Control resources that match the given resource ID.
156
- :param str resource_type: A filter to return only resources that match the given resource type.
157
- :param str state: A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
158
- """
159
- __args__ = dict()
160
- __args__['compartmentId'] = compartment_id
161
- __args__['displayName'] = display_name
162
- __args__['filters'] = filters
163
- __args__['resourceId'] = resource_id
164
- __args__['resourceType'] = resource_type
165
- __args__['state'] = state
166
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
167
- __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControls:getDelegationControls', __args__, opts=opts, typ=GetDelegationControlsResult).value
168
-
169
- return AwaitableGetDelegationControlsResult(
170
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
171
- delegation_control_summary_collections=pulumi.get(__ret__, 'delegation_control_summary_collections'),
172
- display_name=pulumi.get(__ret__, 'display_name'),
173
- filters=pulumi.get(__ret__, 'filters'),
174
- id=pulumi.get(__ret__, 'id'),
175
- resource_id=pulumi.get(__ret__, 'resource_id'),
176
- resource_type=pulumi.get(__ret__, 'resource_type'),
177
- state=pulumi.get(__ret__, 'state'))
178
-
179
-
180
- @_utilities.lift_output_func(get_delegation_controls)
181
- def get_delegation_controls_output(compartment_id: Optional[pulumi.Input[str]] = None,
182
- display_name: Optional[pulumi.Input[Optional[str]]] = None,
183
- filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationControlsFilterArgs', 'GetDelegationControlsFilterArgsDict']]]]] = None,
184
- resource_id: Optional[pulumi.Input[Optional[str]]] = None,
185
- resource_type: Optional[pulumi.Input[Optional[str]]] = None,
186
- state: Optional[pulumi.Input[Optional[str]]] = None,
187
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlsResult]:
188
- """
189
- This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service.
190
-
191
- Lists the Delegation Controls in the compartment.
192
-
193
- ## Example Usage
194
-
195
- ```python
196
- import pulumi
197
- import pulumi_oci as oci
198
-
199
- test_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id,
200
- display_name=delegation_control_display_name,
201
- resource_id=test_resource["id"],
202
- resource_type=delegation_control_resource_type,
203
- state=delegation_control_state)
204
- ```
205
-
206
-
207
- :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
208
- :param str display_name: A filter to return Delegation Control resources that match the given display name.
209
- :param str resource_id: A filter to return Delegation Control resources that match the given resource ID.
210
- :param str resource_type: A filter to return only resources that match the given resource type.
211
- :param str state: A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
212
- """
213
- ...
@@ -1,176 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
- from ._inputs import *
13
-
14
- __all__ = [
15
- 'GetDelegationSubscriptionsResult',
16
- 'AwaitableGetDelegationSubscriptionsResult',
17
- 'get_delegation_subscriptions',
18
- 'get_delegation_subscriptions_output',
19
- ]
20
-
21
- @pulumi.output_type
22
- class GetDelegationSubscriptionsResult:
23
- """
24
- A collection of values returned by getDelegationSubscriptions.
25
- """
26
- def __init__(__self__, compartment_id=None, delegation_subscription_summary_collections=None, display_name=None, filters=None, id=None, state=None):
27
- if compartment_id and not isinstance(compartment_id, str):
28
- raise TypeError("Expected argument 'compartment_id' to be a str")
29
- pulumi.set(__self__, "compartment_id", compartment_id)
30
- if delegation_subscription_summary_collections and not isinstance(delegation_subscription_summary_collections, list):
31
- raise TypeError("Expected argument 'delegation_subscription_summary_collections' to be a list")
32
- pulumi.set(__self__, "delegation_subscription_summary_collections", delegation_subscription_summary_collections)
33
- if display_name and not isinstance(display_name, str):
34
- raise TypeError("Expected argument 'display_name' to be a str")
35
- pulumi.set(__self__, "display_name", display_name)
36
- if filters and not isinstance(filters, list):
37
- raise TypeError("Expected argument 'filters' to be a list")
38
- pulumi.set(__self__, "filters", filters)
39
- if id and not isinstance(id, str):
40
- raise TypeError("Expected argument 'id' to be a str")
41
- pulumi.set(__self__, "id", id)
42
- if state and not isinstance(state, str):
43
- raise TypeError("Expected argument 'state' to be a str")
44
- pulumi.set(__self__, "state", state)
45
-
46
- @property
47
- @pulumi.getter(name="compartmentId")
48
- def compartment_id(self) -> str:
49
- """
50
- The OCID of the compartment that contains the Delegation Subscription.
51
- """
52
- return pulumi.get(self, "compartment_id")
53
-
54
- @property
55
- @pulumi.getter(name="delegationSubscriptionSummaryCollections")
56
- def delegation_subscription_summary_collections(self) -> Sequence['outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult']:
57
- """
58
- The list of delegation_subscription_summary_collection.
59
- """
60
- return pulumi.get(self, "delegation_subscription_summary_collections")
61
-
62
- @property
63
- @pulumi.getter(name="displayName")
64
- def display_name(self) -> Optional[str]:
65
- """
66
- Display name
67
- """
68
- return pulumi.get(self, "display_name")
69
-
70
- @property
71
- @pulumi.getter
72
- def filters(self) -> Optional[Sequence['outputs.GetDelegationSubscriptionsFilterResult']]:
73
- return pulumi.get(self, "filters")
74
-
75
- @property
76
- @pulumi.getter
77
- def id(self) -> str:
78
- """
79
- The provider-assigned unique ID for this managed resource.
80
- """
81
- return pulumi.get(self, "id")
82
-
83
- @property
84
- @pulumi.getter
85
- def state(self) -> Optional[str]:
86
- """
87
- The current lifecycle state of the Service Provider.
88
- """
89
- return pulumi.get(self, "state")
90
-
91
-
92
- class AwaitableGetDelegationSubscriptionsResult(GetDelegationSubscriptionsResult):
93
- # pylint: disable=using-constant-test
94
- def __await__(self):
95
- if False:
96
- yield self
97
- return GetDelegationSubscriptionsResult(
98
- compartment_id=self.compartment_id,
99
- delegation_subscription_summary_collections=self.delegation_subscription_summary_collections,
100
- display_name=self.display_name,
101
- filters=self.filters,
102
- id=self.id,
103
- state=self.state)
104
-
105
-
106
- def get_delegation_subscriptions(compartment_id: Optional[str] = None,
107
- display_name: Optional[str] = None,
108
- filters: Optional[Sequence[Union['GetDelegationSubscriptionsFilterArgs', 'GetDelegationSubscriptionsFilterArgsDict']]] = None,
109
- state: Optional[str] = None,
110
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationSubscriptionsResult:
111
- """
112
- This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service.
113
-
114
- Lists the Delegation Subscriptions in Delegation Control.
115
-
116
- ## Example Usage
117
-
118
- ```python
119
- import pulumi
120
- import pulumi_oci as oci
121
-
122
- test_delegation_subscriptions = oci.DelegateAccessControl.get_delegation_subscriptions(compartment_id=compartment_id,
123
- display_name=delegation_subscription_display_name,
124
- state=delegation_subscription_state)
125
- ```
126
-
127
-
128
- :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
129
- :param str display_name: A filter to return Delegation Subscription resources that match the given display name.
130
- :param str state: A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.
131
- """
132
- __args__ = dict()
133
- __args__['compartmentId'] = compartment_id
134
- __args__['displayName'] = display_name
135
- __args__['filters'] = filters
136
- __args__['state'] = state
137
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
138
- __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions', __args__, opts=opts, typ=GetDelegationSubscriptionsResult).value
139
-
140
- return AwaitableGetDelegationSubscriptionsResult(
141
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
142
- delegation_subscription_summary_collections=pulumi.get(__ret__, 'delegation_subscription_summary_collections'),
143
- display_name=pulumi.get(__ret__, 'display_name'),
144
- filters=pulumi.get(__ret__, 'filters'),
145
- id=pulumi.get(__ret__, 'id'),
146
- state=pulumi.get(__ret__, 'state'))
147
-
148
-
149
- @_utilities.lift_output_func(get_delegation_subscriptions)
150
- def get_delegation_subscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None,
151
- display_name: Optional[pulumi.Input[Optional[str]]] = None,
152
- filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationSubscriptionsFilterArgs', 'GetDelegationSubscriptionsFilterArgsDict']]]]] = None,
153
- state: Optional[pulumi.Input[Optional[str]]] = None,
154
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationSubscriptionsResult]:
155
- """
156
- This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service.
157
-
158
- Lists the Delegation Subscriptions in Delegation Control.
159
-
160
- ## Example Usage
161
-
162
- ```python
163
- import pulumi
164
- import pulumi_oci as oci
165
-
166
- test_delegation_subscriptions = oci.DelegateAccessControl.get_delegation_subscriptions(compartment_id=compartment_id,
167
- display_name=delegation_subscription_display_name,
168
- state=delegation_subscription_state)
169
- ```
170
-
171
-
172
- :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
173
- :param str display_name: A filter to return Delegation Subscription resources that match the given display name.
174
- :param str state: A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.
175
- """
176
- ...
@@ -1,274 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
-
12
- __all__ = [
13
- 'GetServiceProviderResult',
14
- 'AwaitableGetServiceProviderResult',
15
- 'get_service_provider',
16
- 'get_service_provider_output',
17
- ]
18
-
19
- @pulumi.output_type
20
- class GetServiceProviderResult:
21
- """
22
- A collection of values returned by getServiceProvider.
23
- """
24
- def __init__(__self__, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, lifecycle_state_details=None, name=None, service_provider_id=None, service_provider_type=None, service_types=None, state=None, supported_resource_types=None, system_tags=None, time_created=None, time_updated=None):
25
- if compartment_id and not isinstance(compartment_id, str):
26
- raise TypeError("Expected argument 'compartment_id' to be a str")
27
- pulumi.set(__self__, "compartment_id", compartment_id)
28
- if defined_tags and not isinstance(defined_tags, dict):
29
- raise TypeError("Expected argument 'defined_tags' to be a dict")
30
- pulumi.set(__self__, "defined_tags", defined_tags)
31
- if description and not isinstance(description, str):
32
- raise TypeError("Expected argument 'description' to be a str")
33
- pulumi.set(__self__, "description", description)
34
- if freeform_tags and not isinstance(freeform_tags, dict):
35
- raise TypeError("Expected argument 'freeform_tags' to be a dict")
36
- pulumi.set(__self__, "freeform_tags", freeform_tags)
37
- if id and not isinstance(id, str):
38
- raise TypeError("Expected argument 'id' to be a str")
39
- pulumi.set(__self__, "id", id)
40
- if lifecycle_state_details and not isinstance(lifecycle_state_details, str):
41
- raise TypeError("Expected argument 'lifecycle_state_details' to be a str")
42
- pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
43
- if name and not isinstance(name, str):
44
- raise TypeError("Expected argument 'name' to be a str")
45
- pulumi.set(__self__, "name", name)
46
- if service_provider_id and not isinstance(service_provider_id, str):
47
- raise TypeError("Expected argument 'service_provider_id' to be a str")
48
- pulumi.set(__self__, "service_provider_id", service_provider_id)
49
- if service_provider_type and not isinstance(service_provider_type, str):
50
- raise TypeError("Expected argument 'service_provider_type' to be a str")
51
- pulumi.set(__self__, "service_provider_type", service_provider_type)
52
- if service_types and not isinstance(service_types, list):
53
- raise TypeError("Expected argument 'service_types' to be a list")
54
- pulumi.set(__self__, "service_types", service_types)
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 supported_resource_types and not isinstance(supported_resource_types, list):
59
- raise TypeError("Expected argument 'supported_resource_types' to be a list")
60
- pulumi.set(__self__, "supported_resource_types", supported_resource_types)
61
- if system_tags and not isinstance(system_tags, dict):
62
- raise TypeError("Expected argument 'system_tags' to be a dict")
63
- pulumi.set(__self__, "system_tags", system_tags)
64
- if time_created and not isinstance(time_created, str):
65
- raise TypeError("Expected argument 'time_created' to be a str")
66
- pulumi.set(__self__, "time_created", time_created)
67
- if time_updated and not isinstance(time_updated, str):
68
- raise TypeError("Expected argument 'time_updated' to be a str")
69
- pulumi.set(__self__, "time_updated", time_updated)
70
-
71
- @property
72
- @pulumi.getter(name="compartmentId")
73
- def compartment_id(self) -> str:
74
- """
75
- The OCID of the compartment that contains the Delegation Control.
76
- """
77
- return pulumi.get(self, "compartment_id")
78
-
79
- @property
80
- @pulumi.getter(name="definedTags")
81
- def defined_tags(self) -> Mapping[str, str]:
82
- """
83
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
84
- """
85
- return pulumi.get(self, "defined_tags")
86
-
87
- @property
88
- @pulumi.getter
89
- def description(self) -> str:
90
- """
91
- Description of the Service Provider.
92
- """
93
- return pulumi.get(self, "description")
94
-
95
- @property
96
- @pulumi.getter(name="freeformTags")
97
- def freeform_tags(self) -> Mapping[str, str]:
98
- """
99
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
100
- """
101
- return pulumi.get(self, "freeform_tags")
102
-
103
- @property
104
- @pulumi.getter
105
- def id(self) -> str:
106
- """
107
- The provider-assigned unique ID for this managed resource.
108
- """
109
- return pulumi.get(self, "id")
110
-
111
- @property
112
- @pulumi.getter(name="lifecycleStateDetails")
113
- def lifecycle_state_details(self) -> str:
114
- """
115
- Description of the current lifecycle state in more detail.
116
- """
117
- return pulumi.get(self, "lifecycle_state_details")
118
-
119
- @property
120
- @pulumi.getter
121
- def name(self) -> str:
122
- """
123
- Unique name of the Service Provider.
124
- """
125
- return pulumi.get(self, "name")
126
-
127
- @property
128
- @pulumi.getter(name="serviceProviderId")
129
- def service_provider_id(self) -> str:
130
- return pulumi.get(self, "service_provider_id")
131
-
132
- @property
133
- @pulumi.getter(name="serviceProviderType")
134
- def service_provider_type(self) -> str:
135
- """
136
- Service Provider type.
137
- """
138
- return pulumi.get(self, "service_provider_type")
139
-
140
- @property
141
- @pulumi.getter(name="serviceTypes")
142
- def service_types(self) -> Sequence[str]:
143
- """
144
- Types of services offered by this provider.
145
- """
146
- return pulumi.get(self, "service_types")
147
-
148
- @property
149
- @pulumi.getter
150
- def state(self) -> str:
151
- """
152
- The current lifecycle state of the Service Provider.
153
- """
154
- return pulumi.get(self, "state")
155
-
156
- @property
157
- @pulumi.getter(name="supportedResourceTypes")
158
- def supported_resource_types(self) -> Sequence[str]:
159
- """
160
- Resource types for which this provider will provide service. Default to all if not specified.
161
- """
162
- return pulumi.get(self, "supported_resource_types")
163
-
164
- @property
165
- @pulumi.getter(name="systemTags")
166
- def system_tags(self) -> Mapping[str, str]:
167
- """
168
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
169
- """
170
- return pulumi.get(self, "system_tags")
171
-
172
- @property
173
- @pulumi.getter(name="timeCreated")
174
- def time_created(self) -> str:
175
- """
176
- Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
177
- """
178
- return pulumi.get(self, "time_created")
179
-
180
- @property
181
- @pulumi.getter(name="timeUpdated")
182
- def time_updated(self) -> str:
183
- """
184
- Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
185
- """
186
- return pulumi.get(self, "time_updated")
187
-
188
-
189
- class AwaitableGetServiceProviderResult(GetServiceProviderResult):
190
- # pylint: disable=using-constant-test
191
- def __await__(self):
192
- if False:
193
- yield self
194
- return GetServiceProviderResult(
195
- compartment_id=self.compartment_id,
196
- defined_tags=self.defined_tags,
197
- description=self.description,
198
- freeform_tags=self.freeform_tags,
199
- id=self.id,
200
- lifecycle_state_details=self.lifecycle_state_details,
201
- name=self.name,
202
- service_provider_id=self.service_provider_id,
203
- service_provider_type=self.service_provider_type,
204
- service_types=self.service_types,
205
- state=self.state,
206
- supported_resource_types=self.supported_resource_types,
207
- system_tags=self.system_tags,
208
- time_created=self.time_created,
209
- time_updated=self.time_updated)
210
-
211
-
212
- def get_service_provider(service_provider_id: Optional[str] = None,
213
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProviderResult:
214
- """
215
- This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service.
216
-
217
- Gets a ServiceProvider by identifier
218
-
219
- ## Example Usage
220
-
221
- ```python
222
- import pulumi
223
- import pulumi_oci as oci
224
-
225
- test_service_provider = oci.DelegateAccessControl.get_service_provider(service_provider_id=test_service_provider_oci_delegate_access_control_service_provider["id"])
226
- ```
227
-
228
-
229
- :param str service_provider_id: unique Service Provider identifier
230
- """
231
- __args__ = dict()
232
- __args__['serviceProviderId'] = service_provider_id
233
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
234
- __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getServiceProvider:getServiceProvider', __args__, opts=opts, typ=GetServiceProviderResult).value
235
-
236
- return AwaitableGetServiceProviderResult(
237
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
238
- defined_tags=pulumi.get(__ret__, 'defined_tags'),
239
- description=pulumi.get(__ret__, 'description'),
240
- freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
241
- id=pulumi.get(__ret__, 'id'),
242
- lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'),
243
- name=pulumi.get(__ret__, 'name'),
244
- service_provider_id=pulumi.get(__ret__, 'service_provider_id'),
245
- service_provider_type=pulumi.get(__ret__, 'service_provider_type'),
246
- service_types=pulumi.get(__ret__, 'service_types'),
247
- state=pulumi.get(__ret__, 'state'),
248
- supported_resource_types=pulumi.get(__ret__, 'supported_resource_types'),
249
- system_tags=pulumi.get(__ret__, 'system_tags'),
250
- time_created=pulumi.get(__ret__, 'time_created'),
251
- time_updated=pulumi.get(__ret__, 'time_updated'))
252
-
253
-
254
- @_utilities.lift_output_func(get_service_provider)
255
- def get_service_provider_output(service_provider_id: Optional[pulumi.Input[str]] = None,
256
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProviderResult]:
257
- """
258
- This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service.
259
-
260
- Gets a ServiceProvider by identifier
261
-
262
- ## Example Usage
263
-
264
- ```python
265
- import pulumi
266
- import pulumi_oci as oci
267
-
268
- test_service_provider = oci.DelegateAccessControl.get_service_provider(service_provider_id=test_service_provider_oci_delegate_access_control_service_provider["id"])
269
- ```
270
-
271
-
272
- :param str service_provider_id: unique Service Provider identifier
273
- """
274
- ...