pulumi-oci 2.8.0a1724220787__py3-none-any.whl → 2.9.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 +86 -38
- pulumi_oci/analytics/_inputs.py +4 -4
- pulumi_oci/analytics/analytics_instance.py +199 -25
- pulumi_oci/analytics/get_analytics_instance.py +51 -2
- pulumi_oci/analytics/get_analytics_instances.py +1 -1
- pulumi_oci/analytics/outputs.py +52 -12
- pulumi_oci/announcementsservice/__init__.py +1 -0
- pulumi_oci/announcementsservice/_inputs.py +46 -6
- pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
- pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
- pulumi_oci/announcementsservice/get_services.py +173 -0
- pulumi_oci/announcementsservice/outputs.py +195 -18
- pulumi_oci/bigdataservice/_inputs.py +1 -49
- pulumi_oci/bigdataservice/bds_instance.py +0 -128
- pulumi_oci/bigdataservice/get_bds_instance.py +1 -31
- pulumi_oci/bigdataservice/outputs.py +3 -132
- pulumi_oci/database/_inputs.py +32 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_autonomous_databases.py +32 -95
- pulumi_oci/database/get_data_guard_association.py +11 -1
- pulumi_oci/database/get_maintenance_run.py +14 -1
- pulumi_oci/database/maintenance_run.py +56 -7
- pulumi_oci/database/outputs.py +196 -42
- pulumi_oci/databasemanagement/__init__.py +1 -0
- pulumi_oci/databasemanagement/_inputs.py +873 -10
- pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/database_dbm_features_management.py +37 -3
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +49 -0
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
- pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +21 -1
- pulumi_oci/databasemanagement/get_managed_database.py +47 -3
- pulumi_oci/databasemanagement/managed_database.py +56 -0
- pulumi_oci/databasemanagement/outputs.py +3331 -1397
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +35 -1
- pulumi_oci/datasafe/__init__.py +6 -0
- pulumi_oci/datasafe/_inputs.py +18 -0
- pulumi_oci/datasafe/database_security_config_management.py +244 -2
- pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/datasafe/outputs.py +18 -0
- pulumi_oci/datasafe/security_policy_deployment_management.py +180 -2
- pulumi_oci/datasafe/security_policy_management.py +172 -2
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/sql_firewall_policy_management.py +354 -2
- pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +264 -0
- pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +264 -0
- pulumi_oci/delegateaccesscontrol/__init__.py +24 -0
- pulumi_oci/delegateaccesscontrol/_inputs.py +306 -0
- pulumi_oci/delegateaccesscontrol/delegation_control.py +1082 -0
- pulumi_oci/{globallydistributeddatabase/private_endpoint.py → delegateaccesscontrol/delegation_subscription.py} +162 -267
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +535 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +174 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +133 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +250 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_control.py +378 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +133 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +213 -0
- pulumi_oci/{globallydistributeddatabase/get_private_endpoint.py → delegateaccesscontrol/get_delegation_subscription.py} +66 -105
- pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +176 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider.py +274 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +210 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +210 -0
- pulumi_oci/delegateaccesscontrol/get_service_providers.py +213 -0
- pulumi_oci/delegateaccesscontrol/outputs.py +1679 -0
- pulumi_oci/{fleetsoftwareupdate → desktops}/__init__.py +7 -6
- pulumi_oci/desktops/_inputs.py +483 -0
- pulumi_oci/desktops/desktop_pool.py +1348 -0
- pulumi_oci/desktops/get_desktop.py +223 -0
- pulumi_oci/desktops/get_desktop_pool.py +418 -0
- pulumi_oci/desktops/get_desktop_pool_desktops.py +208 -0
- pulumi_oci/desktops/get_desktop_pool_volumes.py +214 -0
- pulumi_oci/desktops/get_desktop_pools.py +203 -0
- pulumi_oci/desktops/get_desktops.py +214 -0
- pulumi_oci/desktops/outputs.py +1738 -0
- pulumi_oci/disasterrecovery/_inputs.py +66 -2
- pulumi_oci/disasterrecovery/dr_protection_group.py +8 -0
- pulumi_oci/disasterrecovery/get_dr_plan_executions.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +150 -10
- pulumi_oci/filestorage/mount_target.py +143 -38
- pulumi_oci/filestorage/outputs.py +44 -0
- pulumi_oci/identity/domains_group.py +34 -0
- pulumi_oci/identity/domains_user.py +34 -0
- pulumi_oci/identity/get_domains_group.py +11 -1
- pulumi_oci/identity/get_domains_user.py +11 -1
- pulumi_oci/identity/outputs.py +14 -0
- pulumi_oci/integration/get_integration_instance.py +25 -2
- pulumi_oci/integration/integration_instance.py +88 -0
- pulumi_oci/integration/outputs.py +24 -6
- pulumi_oci/kms/_inputs.py +10 -10
- pulumi_oci/kms/get_vault.py +14 -1
- pulumi_oci/kms/outputs.py +41 -30
- pulumi_oci/kms/vault.py +28 -0
- pulumi_oci/loadbalancer/load_balancer.py +224 -0
- pulumi_oci/loadbalancer/outputs.py +22 -0
- pulumi_oci/mysql/_inputs.py +225 -2
- pulumi_oci/mysql/get_mysql_backup.py +1 -1
- pulumi_oci/mysql/get_mysql_db_system.py +27 -1
- pulumi_oci/mysql/mysql_backup.py +4 -4
- pulumi_oci/mysql/mysql_db_system.py +108 -0
- pulumi_oci/mysql/outputs.py +569 -8
- pulumi_oci/ocvp/get_cluster.py +2 -2
- pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
- pulumi_oci/ocvp/get_supported_vmware_software_versions.py +22 -5
- pulumi_oci/ocvp/outputs.py +2 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/_inputs.py +0 -8
- pulumi_oci/recoverymod/get_protected_database.py +14 -1
- pulumi_oci/recoverymod/get_protection_policy.py +14 -1
- pulumi_oci/recoverymod/outputs.py +22 -8
- pulumi_oci/recoverymod/protected_database.py +80 -3
- pulumi_oci/recoverymod/protection_policy.py +49 -0
- pulumi_oci/redis/__init__.py +1 -0
- pulumi_oci/redis/_inputs.py +40 -0
- pulumi_oci/redis/get_redis_cluster.py +47 -21
- pulumi_oci/redis/get_redis_cluster_nodes.py +156 -0
- pulumi_oci/redis/get_redis_clusters.py +8 -8
- pulumi_oci/redis/outputs.py +160 -28
- pulumi_oci/redis/redis_cluster.py +177 -79
- pulumi_oci/waf/_inputs.py +29 -16
- pulumi_oci/waf/outputs.py +33 -10
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/RECORD +127 -108
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/WHEEL +1 -1
- pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
- pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
- pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
- {pulumi_oci-2.8.0a1724220787.dist-info → pulumi_oci-2.9.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,223 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetDesktopResult',
|
15
|
+
'AwaitableGetDesktopResult',
|
16
|
+
'get_desktop',
|
17
|
+
'get_desktop_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetDesktopResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getDesktop.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, defined_tags=None, desktop_id=None, device_policies=None, display_name=None, freeform_tags=None, hosting_options=None, id=None, pool_id=None, state=None, time_created=None, user_name=None):
|
26
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
27
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
28
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
29
|
+
if desktop_id and not isinstance(desktop_id, str):
|
30
|
+
raise TypeError("Expected argument 'desktop_id' to be a str")
|
31
|
+
pulumi.set(__self__, "desktop_id", desktop_id)
|
32
|
+
if device_policies and not isinstance(device_policies, list):
|
33
|
+
raise TypeError("Expected argument 'device_policies' to be a list")
|
34
|
+
pulumi.set(__self__, "device_policies", device_policies)
|
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 freeform_tags and not isinstance(freeform_tags, dict):
|
39
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
40
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
41
|
+
if hosting_options and not isinstance(hosting_options, list):
|
42
|
+
raise TypeError("Expected argument 'hosting_options' to be a list")
|
43
|
+
pulumi.set(__self__, "hosting_options", hosting_options)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if pool_id and not isinstance(pool_id, str):
|
48
|
+
raise TypeError("Expected argument 'pool_id' to be a str")
|
49
|
+
pulumi.set(__self__, "pool_id", pool_id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
if time_created and not isinstance(time_created, str):
|
54
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
55
|
+
pulumi.set(__self__, "time_created", time_created)
|
56
|
+
if user_name and not isinstance(user_name, str):
|
57
|
+
raise TypeError("Expected argument 'user_name' to be a str")
|
58
|
+
pulumi.set(__self__, "user_name", user_name)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="definedTags")
|
62
|
+
def defined_tags(self) -> Mapping[str, str]:
|
63
|
+
"""
|
64
|
+
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"}`
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "defined_tags")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="desktopId")
|
70
|
+
def desktop_id(self) -> str:
|
71
|
+
return pulumi.get(self, "desktop_id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="devicePolicies")
|
75
|
+
def device_policies(self) -> Sequence['outputs.GetDesktopDevicePolicyResult']:
|
76
|
+
"""
|
77
|
+
Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "device_policies")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="displayName")
|
83
|
+
def display_name(self) -> str:
|
84
|
+
"""
|
85
|
+
A user friendly display name. Avoid entering confidential information.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "display_name")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="freeformTags")
|
91
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
92
|
+
"""
|
93
|
+
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"}`
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "freeform_tags")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="hostingOptions")
|
99
|
+
def hosting_options(self) -> Sequence['outputs.GetDesktopHostingOptionResult']:
|
100
|
+
"""
|
101
|
+
Provides information about where a desktop is hosted.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "hosting_options")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter
|
107
|
+
def id(self) -> str:
|
108
|
+
"""
|
109
|
+
The provider-assigned unique ID for this managed resource.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "id")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="poolId")
|
115
|
+
def pool_id(self) -> str:
|
116
|
+
"""
|
117
|
+
The OCID of the desktop pool the desktop is a member of.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "pool_id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def state(self) -> str:
|
124
|
+
"""
|
125
|
+
The state of the desktop.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "state")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="timeCreated")
|
131
|
+
def time_created(self) -> str:
|
132
|
+
"""
|
133
|
+
The date and time the resource was created.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "time_created")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="userName")
|
139
|
+
def user_name(self) -> str:
|
140
|
+
"""
|
141
|
+
The owner of the desktop.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "user_name")
|
144
|
+
|
145
|
+
|
146
|
+
class AwaitableGetDesktopResult(GetDesktopResult):
|
147
|
+
# pylint: disable=using-constant-test
|
148
|
+
def __await__(self):
|
149
|
+
if False:
|
150
|
+
yield self
|
151
|
+
return GetDesktopResult(
|
152
|
+
defined_tags=self.defined_tags,
|
153
|
+
desktop_id=self.desktop_id,
|
154
|
+
device_policies=self.device_policies,
|
155
|
+
display_name=self.display_name,
|
156
|
+
freeform_tags=self.freeform_tags,
|
157
|
+
hosting_options=self.hosting_options,
|
158
|
+
id=self.id,
|
159
|
+
pool_id=self.pool_id,
|
160
|
+
state=self.state,
|
161
|
+
time_created=self.time_created,
|
162
|
+
user_name=self.user_name)
|
163
|
+
|
164
|
+
|
165
|
+
def get_desktop(desktop_id: Optional[str] = None,
|
166
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopResult:
|
167
|
+
"""
|
168
|
+
This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service.
|
169
|
+
|
170
|
+
Provides information about the desktop with the specified OCID.
|
171
|
+
|
172
|
+
## Example Usage
|
173
|
+
|
174
|
+
```python
|
175
|
+
import pulumi
|
176
|
+
import pulumi_oci as oci
|
177
|
+
|
178
|
+
test_desktop = oci.Desktops.get_desktop(desktop_id=test_desktop_oci_desktops_desktop["id"])
|
179
|
+
```
|
180
|
+
|
181
|
+
|
182
|
+
:param str desktop_id: The OCID of the desktop.
|
183
|
+
"""
|
184
|
+
__args__ = dict()
|
185
|
+
__args__['desktopId'] = desktop_id
|
186
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
187
|
+
__ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktop:getDesktop', __args__, opts=opts, typ=GetDesktopResult).value
|
188
|
+
|
189
|
+
return AwaitableGetDesktopResult(
|
190
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
191
|
+
desktop_id=pulumi.get(__ret__, 'desktop_id'),
|
192
|
+
device_policies=pulumi.get(__ret__, 'device_policies'),
|
193
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
194
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
195
|
+
hosting_options=pulumi.get(__ret__, 'hosting_options'),
|
196
|
+
id=pulumi.get(__ret__, 'id'),
|
197
|
+
pool_id=pulumi.get(__ret__, 'pool_id'),
|
198
|
+
state=pulumi.get(__ret__, 'state'),
|
199
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
200
|
+
user_name=pulumi.get(__ret__, 'user_name'))
|
201
|
+
|
202
|
+
|
203
|
+
@_utilities.lift_output_func(get_desktop)
|
204
|
+
def get_desktop_output(desktop_id: Optional[pulumi.Input[str]] = None,
|
205
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopResult]:
|
206
|
+
"""
|
207
|
+
This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service.
|
208
|
+
|
209
|
+
Provides information about the desktop with the specified OCID.
|
210
|
+
|
211
|
+
## Example Usage
|
212
|
+
|
213
|
+
```python
|
214
|
+
import pulumi
|
215
|
+
import pulumi_oci as oci
|
216
|
+
|
217
|
+
test_desktop = oci.Desktops.get_desktop(desktop_id=test_desktop_oci_desktops_desktop["id"])
|
218
|
+
```
|
219
|
+
|
220
|
+
|
221
|
+
:param str desktop_id: The OCID of the desktop.
|
222
|
+
"""
|
223
|
+
...
|
@@ -0,0 +1,418 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetDesktopPoolResult',
|
15
|
+
'AwaitableGetDesktopPoolResult',
|
16
|
+
'get_desktop_pool',
|
17
|
+
'get_desktop_pool_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetDesktopPoolResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getDesktopPool.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, active_desktops=None, are_privileged_users=None, availability_domain=None, availability_policies=None, compartment_id=None, contact_details=None, defined_tags=None, description=None, desktop_pool_id=None, device_policies=None, display_name=None, freeform_tags=None, id=None, images=None, is_storage_enabled=None, maximum_size=None, network_configurations=None, nsg_ids=None, shape_name=None, standby_size=None, state=None, storage_backup_policy_id=None, storage_size_in_gbs=None, time_created=None, time_start_scheduled=None, time_stop_scheduled=None):
|
26
|
+
if active_desktops and not isinstance(active_desktops, int):
|
27
|
+
raise TypeError("Expected argument 'active_desktops' to be a int")
|
28
|
+
pulumi.set(__self__, "active_desktops", active_desktops)
|
29
|
+
if are_privileged_users and not isinstance(are_privileged_users, bool):
|
30
|
+
raise TypeError("Expected argument 'are_privileged_users' to be a bool")
|
31
|
+
pulumi.set(__self__, "are_privileged_users", are_privileged_users)
|
32
|
+
if availability_domain and not isinstance(availability_domain, str):
|
33
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
34
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
35
|
+
if availability_policies and not isinstance(availability_policies, list):
|
36
|
+
raise TypeError("Expected argument 'availability_policies' to be a list")
|
37
|
+
pulumi.set(__self__, "availability_policies", availability_policies)
|
38
|
+
if compartment_id and not isinstance(compartment_id, str):
|
39
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if contact_details and not isinstance(contact_details, str):
|
42
|
+
raise TypeError("Expected argument 'contact_details' to be a str")
|
43
|
+
pulumi.set(__self__, "contact_details", contact_details)
|
44
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
45
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
46
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
47
|
+
if description and not isinstance(description, str):
|
48
|
+
raise TypeError("Expected argument 'description' to be a str")
|
49
|
+
pulumi.set(__self__, "description", description)
|
50
|
+
if desktop_pool_id and not isinstance(desktop_pool_id, str):
|
51
|
+
raise TypeError("Expected argument 'desktop_pool_id' to be a str")
|
52
|
+
pulumi.set(__self__, "desktop_pool_id", desktop_pool_id)
|
53
|
+
if device_policies and not isinstance(device_policies, list):
|
54
|
+
raise TypeError("Expected argument 'device_policies' to be a list")
|
55
|
+
pulumi.set(__self__, "device_policies", device_policies)
|
56
|
+
if display_name and not isinstance(display_name, str):
|
57
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
58
|
+
pulumi.set(__self__, "display_name", display_name)
|
59
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
60
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
61
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
62
|
+
if id and not isinstance(id, str):
|
63
|
+
raise TypeError("Expected argument 'id' to be a str")
|
64
|
+
pulumi.set(__self__, "id", id)
|
65
|
+
if images and not isinstance(images, list):
|
66
|
+
raise TypeError("Expected argument 'images' to be a list")
|
67
|
+
pulumi.set(__self__, "images", images)
|
68
|
+
if is_storage_enabled and not isinstance(is_storage_enabled, bool):
|
69
|
+
raise TypeError("Expected argument 'is_storage_enabled' to be a bool")
|
70
|
+
pulumi.set(__self__, "is_storage_enabled", is_storage_enabled)
|
71
|
+
if maximum_size and not isinstance(maximum_size, int):
|
72
|
+
raise TypeError("Expected argument 'maximum_size' to be a int")
|
73
|
+
pulumi.set(__self__, "maximum_size", maximum_size)
|
74
|
+
if network_configurations and not isinstance(network_configurations, list):
|
75
|
+
raise TypeError("Expected argument 'network_configurations' to be a list")
|
76
|
+
pulumi.set(__self__, "network_configurations", network_configurations)
|
77
|
+
if nsg_ids and not isinstance(nsg_ids, list):
|
78
|
+
raise TypeError("Expected argument 'nsg_ids' to be a list")
|
79
|
+
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
80
|
+
if shape_name and not isinstance(shape_name, str):
|
81
|
+
raise TypeError("Expected argument 'shape_name' to be a str")
|
82
|
+
pulumi.set(__self__, "shape_name", shape_name)
|
83
|
+
if standby_size and not isinstance(standby_size, int):
|
84
|
+
raise TypeError("Expected argument 'standby_size' to be a int")
|
85
|
+
pulumi.set(__self__, "standby_size", standby_size)
|
86
|
+
if state and not isinstance(state, str):
|
87
|
+
raise TypeError("Expected argument 'state' to be a str")
|
88
|
+
pulumi.set(__self__, "state", state)
|
89
|
+
if storage_backup_policy_id and not isinstance(storage_backup_policy_id, str):
|
90
|
+
raise TypeError("Expected argument 'storage_backup_policy_id' to be a str")
|
91
|
+
pulumi.set(__self__, "storage_backup_policy_id", storage_backup_policy_id)
|
92
|
+
if storage_size_in_gbs and not isinstance(storage_size_in_gbs, int):
|
93
|
+
raise TypeError("Expected argument 'storage_size_in_gbs' to be a int")
|
94
|
+
pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs)
|
95
|
+
if time_created and not isinstance(time_created, str):
|
96
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
97
|
+
pulumi.set(__self__, "time_created", time_created)
|
98
|
+
if time_start_scheduled and not isinstance(time_start_scheduled, str):
|
99
|
+
raise TypeError("Expected argument 'time_start_scheduled' to be a str")
|
100
|
+
pulumi.set(__self__, "time_start_scheduled", time_start_scheduled)
|
101
|
+
if time_stop_scheduled and not isinstance(time_stop_scheduled, str):
|
102
|
+
raise TypeError("Expected argument 'time_stop_scheduled' to be a str")
|
103
|
+
pulumi.set(__self__, "time_stop_scheduled", time_stop_scheduled)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="activeDesktops")
|
107
|
+
def active_desktops(self) -> int:
|
108
|
+
"""
|
109
|
+
The number of active desktops in the desktop pool.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "active_desktops")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="arePrivilegedUsers")
|
115
|
+
def are_privileged_users(self) -> bool:
|
116
|
+
"""
|
117
|
+
Indicates whether desktop pool users have administrative privileges on their desktop.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "are_privileged_users")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="availabilityDomain")
|
123
|
+
def availability_domain(self) -> str:
|
124
|
+
"""
|
125
|
+
The availability domain of the desktop pool.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "availability_domain")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="availabilityPolicies")
|
131
|
+
def availability_policies(self) -> Sequence['outputs.GetDesktopPoolAvailabilityPolicyResult']:
|
132
|
+
"""
|
133
|
+
Provides the start and stop schedule information for desktop availability of the desktop pool.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "availability_policies")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="compartmentId")
|
139
|
+
def compartment_id(self) -> str:
|
140
|
+
"""
|
141
|
+
The OCID of the compartment of the desktop pool.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "compartment_id")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="contactDetails")
|
147
|
+
def contact_details(self) -> str:
|
148
|
+
"""
|
149
|
+
Contact information of the desktop pool administrator. Avoid entering confidential information.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "contact_details")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="definedTags")
|
155
|
+
def defined_tags(self) -> Mapping[str, str]:
|
156
|
+
"""
|
157
|
+
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"}`
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "defined_tags")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def description(self) -> str:
|
164
|
+
"""
|
165
|
+
A user friendly description providing additional information about the resource. Avoid entering confidential information.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "description")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="desktopPoolId")
|
171
|
+
def desktop_pool_id(self) -> str:
|
172
|
+
return pulumi.get(self, "desktop_pool_id")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="devicePolicies")
|
176
|
+
def device_policies(self) -> Sequence['outputs.GetDesktopPoolDevicePolicyResult']:
|
177
|
+
"""
|
178
|
+
Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "device_policies")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="displayName")
|
184
|
+
def display_name(self) -> str:
|
185
|
+
"""
|
186
|
+
A user friendly display name. Avoid entering confidential information.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "display_name")
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter(name="freeformTags")
|
192
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
193
|
+
"""
|
194
|
+
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"}`
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "freeform_tags")
|
197
|
+
|
198
|
+
@property
|
199
|
+
@pulumi.getter
|
200
|
+
def id(self) -> str:
|
201
|
+
"""
|
202
|
+
The OCID of the desktop pool.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "id")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def images(self) -> Sequence['outputs.GetDesktopPoolImageResult']:
|
209
|
+
"""
|
210
|
+
Provides information about the desktop image.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "images")
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="isStorageEnabled")
|
216
|
+
def is_storage_enabled(self) -> bool:
|
217
|
+
"""
|
218
|
+
Indicates whether storage is enabled for the desktop pool.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "is_storage_enabled")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter(name="maximumSize")
|
224
|
+
def maximum_size(self) -> int:
|
225
|
+
"""
|
226
|
+
The maximum number of desktops permitted in the desktop pool.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "maximum_size")
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="networkConfigurations")
|
232
|
+
def network_configurations(self) -> Sequence['outputs.GetDesktopPoolNetworkConfigurationResult']:
|
233
|
+
"""
|
234
|
+
Provides information about the network configuration of the desktop pool.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "network_configurations")
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="nsgIds")
|
240
|
+
def nsg_ids(self) -> Sequence[str]:
|
241
|
+
"""
|
242
|
+
A list of network security groups for the desktop pool.
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "nsg_ids")
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="shapeName")
|
248
|
+
def shape_name(self) -> str:
|
249
|
+
"""
|
250
|
+
The shape of the desktop pool.
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "shape_name")
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="standbySize")
|
256
|
+
def standby_size(self) -> int:
|
257
|
+
"""
|
258
|
+
The maximum number of standby desktops available in the desktop pool.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "standby_size")
|
261
|
+
|
262
|
+
@property
|
263
|
+
@pulumi.getter
|
264
|
+
def state(self) -> str:
|
265
|
+
"""
|
266
|
+
The current state of the desktop pool.
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "state")
|
269
|
+
|
270
|
+
@property
|
271
|
+
@pulumi.getter(name="storageBackupPolicyId")
|
272
|
+
def storage_backup_policy_id(self) -> str:
|
273
|
+
"""
|
274
|
+
The backup policy OCID of the storage.
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "storage_backup_policy_id")
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="storageSizeInGbs")
|
280
|
+
def storage_size_in_gbs(self) -> int:
|
281
|
+
"""
|
282
|
+
The size in GBs of the storage for the desktop pool.
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "storage_size_in_gbs")
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter(name="timeCreated")
|
288
|
+
def time_created(self) -> str:
|
289
|
+
"""
|
290
|
+
The date and time the resource was created.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "time_created")
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="timeStartScheduled")
|
296
|
+
def time_start_scheduled(self) -> str:
|
297
|
+
"""
|
298
|
+
The start time of the desktop pool.
|
299
|
+
"""
|
300
|
+
return pulumi.get(self, "time_start_scheduled")
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="timeStopScheduled")
|
304
|
+
def time_stop_scheduled(self) -> str:
|
305
|
+
"""
|
306
|
+
The stop time of the desktop pool.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "time_stop_scheduled")
|
309
|
+
|
310
|
+
|
311
|
+
class AwaitableGetDesktopPoolResult(GetDesktopPoolResult):
|
312
|
+
# pylint: disable=using-constant-test
|
313
|
+
def __await__(self):
|
314
|
+
if False:
|
315
|
+
yield self
|
316
|
+
return GetDesktopPoolResult(
|
317
|
+
active_desktops=self.active_desktops,
|
318
|
+
are_privileged_users=self.are_privileged_users,
|
319
|
+
availability_domain=self.availability_domain,
|
320
|
+
availability_policies=self.availability_policies,
|
321
|
+
compartment_id=self.compartment_id,
|
322
|
+
contact_details=self.contact_details,
|
323
|
+
defined_tags=self.defined_tags,
|
324
|
+
description=self.description,
|
325
|
+
desktop_pool_id=self.desktop_pool_id,
|
326
|
+
device_policies=self.device_policies,
|
327
|
+
display_name=self.display_name,
|
328
|
+
freeform_tags=self.freeform_tags,
|
329
|
+
id=self.id,
|
330
|
+
images=self.images,
|
331
|
+
is_storage_enabled=self.is_storage_enabled,
|
332
|
+
maximum_size=self.maximum_size,
|
333
|
+
network_configurations=self.network_configurations,
|
334
|
+
nsg_ids=self.nsg_ids,
|
335
|
+
shape_name=self.shape_name,
|
336
|
+
standby_size=self.standby_size,
|
337
|
+
state=self.state,
|
338
|
+
storage_backup_policy_id=self.storage_backup_policy_id,
|
339
|
+
storage_size_in_gbs=self.storage_size_in_gbs,
|
340
|
+
time_created=self.time_created,
|
341
|
+
time_start_scheduled=self.time_start_scheduled,
|
342
|
+
time_stop_scheduled=self.time_stop_scheduled)
|
343
|
+
|
344
|
+
|
345
|
+
def get_desktop_pool(desktop_pool_id: Optional[str] = None,
|
346
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopPoolResult:
|
347
|
+
"""
|
348
|
+
This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service.
|
349
|
+
|
350
|
+
Returns information about the desktop pool including all configuration parameters and the current state.
|
351
|
+
|
352
|
+
## Example Usage
|
353
|
+
|
354
|
+
```python
|
355
|
+
import pulumi
|
356
|
+
import pulumi_oci as oci
|
357
|
+
|
358
|
+
test_desktop_pool = oci.Desktops.get_desktop_pool(desktop_pool_id=test_desktop_pool_oci_desktops_desktop_pool["id"])
|
359
|
+
```
|
360
|
+
|
361
|
+
|
362
|
+
:param str desktop_pool_id: The OCID of the desktop pool.
|
363
|
+
"""
|
364
|
+
__args__ = dict()
|
365
|
+
__args__['desktopPoolId'] = desktop_pool_id
|
366
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
367
|
+
__ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktopPool:getDesktopPool', __args__, opts=opts, typ=GetDesktopPoolResult).value
|
368
|
+
|
369
|
+
return AwaitableGetDesktopPoolResult(
|
370
|
+
active_desktops=pulumi.get(__ret__, 'active_desktops'),
|
371
|
+
are_privileged_users=pulumi.get(__ret__, 'are_privileged_users'),
|
372
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
373
|
+
availability_policies=pulumi.get(__ret__, 'availability_policies'),
|
374
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
375
|
+
contact_details=pulumi.get(__ret__, 'contact_details'),
|
376
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
377
|
+
description=pulumi.get(__ret__, 'description'),
|
378
|
+
desktop_pool_id=pulumi.get(__ret__, 'desktop_pool_id'),
|
379
|
+
device_policies=pulumi.get(__ret__, 'device_policies'),
|
380
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
381
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
382
|
+
id=pulumi.get(__ret__, 'id'),
|
383
|
+
images=pulumi.get(__ret__, 'images'),
|
384
|
+
is_storage_enabled=pulumi.get(__ret__, 'is_storage_enabled'),
|
385
|
+
maximum_size=pulumi.get(__ret__, 'maximum_size'),
|
386
|
+
network_configurations=pulumi.get(__ret__, 'network_configurations'),
|
387
|
+
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
388
|
+
shape_name=pulumi.get(__ret__, 'shape_name'),
|
389
|
+
standby_size=pulumi.get(__ret__, 'standby_size'),
|
390
|
+
state=pulumi.get(__ret__, 'state'),
|
391
|
+
storage_backup_policy_id=pulumi.get(__ret__, 'storage_backup_policy_id'),
|
392
|
+
storage_size_in_gbs=pulumi.get(__ret__, 'storage_size_in_gbs'),
|
393
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
394
|
+
time_start_scheduled=pulumi.get(__ret__, 'time_start_scheduled'),
|
395
|
+
time_stop_scheduled=pulumi.get(__ret__, 'time_stop_scheduled'))
|
396
|
+
|
397
|
+
|
398
|
+
@_utilities.lift_output_func(get_desktop_pool)
|
399
|
+
def get_desktop_pool_output(desktop_pool_id: Optional[pulumi.Input[str]] = None,
|
400
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopPoolResult]:
|
401
|
+
"""
|
402
|
+
This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service.
|
403
|
+
|
404
|
+
Returns information about the desktop pool including all configuration parameters and the current state.
|
405
|
+
|
406
|
+
## Example Usage
|
407
|
+
|
408
|
+
```python
|
409
|
+
import pulumi
|
410
|
+
import pulumi_oci as oci
|
411
|
+
|
412
|
+
test_desktop_pool = oci.Desktops.get_desktop_pool(desktop_pool_id=test_desktop_pool_oci_desktops_desktop_pool["id"])
|
413
|
+
```
|
414
|
+
|
415
|
+
|
416
|
+
:param str desktop_pool_id: The OCID of the desktop pool.
|
417
|
+
"""
|
418
|
+
...
|