pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,271 @@
|
|
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
|
+
|
17
|
+
__all__ = ['GenerateOnPremConnectorConfigurationArgs', 'GenerateOnPremConnectorConfiguration']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class GenerateOnPremConnectorConfigurationArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
on_prem_connector_id: pulumi.Input[str],
|
23
|
+
password: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a GenerateOnPremConnectorConfiguration resource.
|
26
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
27
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id)
|
34
|
+
pulumi.set(__self__, "password", password)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="onPremConnectorId")
|
38
|
+
def on_prem_connector_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The OCID of the on-premises connector.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "on_prem_connector_id")
|
43
|
+
|
44
|
+
@on_prem_connector_id.setter
|
45
|
+
def on_prem_connector_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "on_prem_connector_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def password(self) -> pulumi.Input[str]:
|
51
|
+
"""
|
52
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "password")
|
59
|
+
|
60
|
+
@password.setter
|
61
|
+
def password(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "password", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _GenerateOnPremConnectorConfigurationState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
password: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering GenerateOnPremConnectorConfiguration resources.
|
72
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
73
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if on_prem_connector_id is not None:
|
80
|
+
pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id)
|
81
|
+
if password is not None:
|
82
|
+
pulumi.set(__self__, "password", password)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="onPremConnectorId")
|
86
|
+
def on_prem_connector_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The OCID of the on-premises connector.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "on_prem_connector_id")
|
91
|
+
|
92
|
+
@on_prem_connector_id.setter
|
93
|
+
def on_prem_connector_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "on_prem_connector_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "password")
|
107
|
+
|
108
|
+
@password.setter
|
109
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "password", value)
|
111
|
+
|
112
|
+
|
113
|
+
class GenerateOnPremConnectorConfiguration(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
password: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Generate On Prem Connector Configuration resource in Oracle Cloud Infrastructure Data Safe service.
|
123
|
+
|
124
|
+
Creates and downloads the configuration of the specified on-premises connector.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_generate_on_prem_connector_configuration = oci.data_safe.GenerateOnPremConnectorConfiguration("test_generate_on_prem_connector_configuration",
|
133
|
+
on_prem_connector_id=test_on_prem_connector["id"],
|
134
|
+
password=generate_on_prem_connector_configuration_password)
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
GenerateOnPremConnectorConfiguration can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration test_generate_on_prem_connector_configuration "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
148
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: GenerateOnPremConnectorConfigurationArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Generate On Prem Connector Configuration resource in Oracle Cloud Infrastructure Data Safe service.
|
162
|
+
|
163
|
+
Creates and downloads the configuration of the specified on-premises connector.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_generate_on_prem_connector_configuration = oci.data_safe.GenerateOnPremConnectorConfiguration("test_generate_on_prem_connector_configuration",
|
172
|
+
on_prem_connector_id=test_on_prem_connector["id"],
|
173
|
+
password=generate_on_prem_connector_configuration_password)
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
GenerateOnPremConnectorConfiguration can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration test_generate_on_prem_connector_configuration "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param GenerateOnPremConnectorConfigurationArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(GenerateOnPremConnectorConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
password: Optional[pulumi.Input[str]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = GenerateOnPremConnectorConfigurationArgs.__new__(GenerateOnPremConnectorConfigurationArgs)
|
209
|
+
|
210
|
+
if on_prem_connector_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'on_prem_connector_id'")
|
212
|
+
__props__.__dict__["on_prem_connector_id"] = on_prem_connector_id
|
213
|
+
if password is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'password'")
|
215
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
216
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
217
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
218
|
+
super(GenerateOnPremConnectorConfiguration, __self__).__init__(
|
219
|
+
'oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration',
|
220
|
+
resource_name,
|
221
|
+
__props__,
|
222
|
+
opts)
|
223
|
+
|
224
|
+
@staticmethod
|
225
|
+
def get(resource_name: str,
|
226
|
+
id: pulumi.Input[str],
|
227
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
228
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
229
|
+
password: Optional[pulumi.Input[str]] = None) -> 'GenerateOnPremConnectorConfiguration':
|
230
|
+
"""
|
231
|
+
Get an existing GenerateOnPremConnectorConfiguration resource's state with the given name, id, and optional extra
|
232
|
+
properties used to qualify the lookup.
|
233
|
+
|
234
|
+
:param str resource_name: The unique name of the resulting resource.
|
235
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
236
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
237
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
238
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
239
|
+
|
240
|
+
|
241
|
+
** IMPORTANT **
|
242
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
243
|
+
"""
|
244
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
245
|
+
|
246
|
+
__props__ = _GenerateOnPremConnectorConfigurationState.__new__(_GenerateOnPremConnectorConfigurationState)
|
247
|
+
|
248
|
+
__props__.__dict__["on_prem_connector_id"] = on_prem_connector_id
|
249
|
+
__props__.__dict__["password"] = password
|
250
|
+
return GenerateOnPremConnectorConfiguration(resource_name, opts=opts, __props__=__props__)
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="onPremConnectorId")
|
254
|
+
def on_prem_connector_id(self) -> pulumi.Output[str]:
|
255
|
+
"""
|
256
|
+
The OCID of the on-premises connector.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "on_prem_connector_id")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter
|
262
|
+
def password(self) -> pulumi.Output[str]:
|
263
|
+
"""
|
264
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
265
|
+
|
266
|
+
|
267
|
+
** IMPORTANT **
|
268
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "password")
|
271
|
+
|
@@ -28,7 +28,7 @@ class GetReportsResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getReports.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, report_collections=None, report_definition_id=None, state=None, time_generated_greater_than_or_equal_to=None, time_generated_less_than=None, type=None):
|
31
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, mime_type=None, report_collections=None, report_definition_id=None, state=None, time_generated_greater_than_or_equal_to=None, time_generated_less_than=None, type=None):
|
32
32
|
if access_level and not isinstance(access_level, str):
|
33
33
|
raise TypeError("Expected argument 'access_level' to be a str")
|
34
34
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -47,6 +47,9 @@ class GetReportsResult:
|
|
47
47
|
if id and not isinstance(id, str):
|
48
48
|
raise TypeError("Expected argument 'id' to be a str")
|
49
49
|
pulumi.set(__self__, "id", id)
|
50
|
+
if mime_type and not isinstance(mime_type, str):
|
51
|
+
raise TypeError("Expected argument 'mime_type' to be a str")
|
52
|
+
pulumi.set(__self__, "mime_type", mime_type)
|
50
53
|
if report_collections and not isinstance(report_collections, list):
|
51
54
|
raise TypeError("Expected argument 'report_collections' to be a list")
|
52
55
|
pulumi.set(__self__, "report_collections", report_collections)
|
@@ -105,6 +108,14 @@ class GetReportsResult:
|
|
105
108
|
"""
|
106
109
|
return pulumi.get(self, "id")
|
107
110
|
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="mimeType")
|
113
|
+
def mime_type(self) -> Optional[str]:
|
114
|
+
"""
|
115
|
+
Specifies the format of report to be .xls or .pdf or .json
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "mime_type")
|
118
|
+
|
108
119
|
@property
|
109
120
|
@pulumi.getter(name="reportCollections")
|
110
121
|
def report_collections(self) -> Sequence['outputs.GetReportsReportCollectionResult']:
|
@@ -160,6 +171,7 @@ class AwaitableGetReportsResult(GetReportsResult):
|
|
160
171
|
display_name=self.display_name,
|
161
172
|
filters=self.filters,
|
162
173
|
id=self.id,
|
174
|
+
mime_type=self.mime_type,
|
163
175
|
report_collections=self.report_collections,
|
164
176
|
report_definition_id=self.report_definition_id,
|
165
177
|
state=self.state,
|
@@ -173,6 +185,7 @@ def get_reports(access_level: Optional[str] = None,
|
|
173
185
|
compartment_id_in_subtree: Optional[bool] = None,
|
174
186
|
display_name: Optional[str] = None,
|
175
187
|
filters: Optional[Sequence[Union['GetReportsFilterArgs', 'GetReportsFilterArgsDict']]] = None,
|
188
|
+
mime_type: Optional[str] = None,
|
176
189
|
report_definition_id: Optional[str] = None,
|
177
190
|
state: Optional[str] = None,
|
178
191
|
time_generated_greater_than_or_equal_to: Optional[str] = None,
|
@@ -194,6 +207,7 @@ def get_reports(access_level: Optional[str] = None,
|
|
194
207
|
access_level=report_access_level,
|
195
208
|
compartment_id_in_subtree=report_compartment_id_in_subtree,
|
196
209
|
display_name=report_display_name,
|
210
|
+
mime_type=report_mime_type,
|
197
211
|
report_definition_id=test_report_definition["id"],
|
198
212
|
state=report_state,
|
199
213
|
time_generated_greater_than_or_equal_to=report_time_generated_greater_than_or_equal_to,
|
@@ -206,6 +220,7 @@ def get_reports(access_level: Optional[str] = None,
|
|
206
220
|
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
207
221
|
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
208
222
|
:param str display_name: The name of the report definition to query.
|
223
|
+
:param str mime_type: An optional filter to return only resources that match the specified mime type.
|
209
224
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
210
225
|
:param str state: An optional filter to return only resources that match the specified lifecycle state.
|
211
226
|
:param str time_generated_greater_than_or_equal_to: A filter to return only the resources that were generated after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after that date.
|
@@ -222,6 +237,7 @@ def get_reports(access_level: Optional[str] = None,
|
|
222
237
|
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
223
238
|
__args__['displayName'] = display_name
|
224
239
|
__args__['filters'] = filters
|
240
|
+
__args__['mimeType'] = mime_type
|
225
241
|
__args__['reportDefinitionId'] = report_definition_id
|
226
242
|
__args__['state'] = state
|
227
243
|
__args__['timeGeneratedGreaterThanOrEqualTo'] = time_generated_greater_than_or_equal_to
|
@@ -237,6 +253,7 @@ def get_reports(access_level: Optional[str] = None,
|
|
237
253
|
display_name=pulumi.get(__ret__, 'display_name'),
|
238
254
|
filters=pulumi.get(__ret__, 'filters'),
|
239
255
|
id=pulumi.get(__ret__, 'id'),
|
256
|
+
mime_type=pulumi.get(__ret__, 'mime_type'),
|
240
257
|
report_collections=pulumi.get(__ret__, 'report_collections'),
|
241
258
|
report_definition_id=pulumi.get(__ret__, 'report_definition_id'),
|
242
259
|
state=pulumi.get(__ret__, 'state'),
|
@@ -248,6 +265,7 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
248
265
|
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
249
266
|
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
250
267
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetReportsFilterArgs', 'GetReportsFilterArgsDict']]]]] = None,
|
268
|
+
mime_type: Optional[pulumi.Input[Optional[str]]] = None,
|
251
269
|
report_definition_id: Optional[pulumi.Input[Optional[str]]] = None,
|
252
270
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
253
271
|
time_generated_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -269,6 +287,7 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
269
287
|
access_level=report_access_level,
|
270
288
|
compartment_id_in_subtree=report_compartment_id_in_subtree,
|
271
289
|
display_name=report_display_name,
|
290
|
+
mime_type=report_mime_type,
|
272
291
|
report_definition_id=test_report_definition["id"],
|
273
292
|
state=report_state,
|
274
293
|
time_generated_greater_than_or_equal_to=report_time_generated_greater_than_or_equal_to,
|
@@ -281,6 +300,7 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
281
300
|
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
282
301
|
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
283
302
|
:param str display_name: The name of the report definition to query.
|
303
|
+
:param str mime_type: An optional filter to return only resources that match the specified mime type.
|
284
304
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
285
305
|
:param str state: An optional filter to return only resources that match the specified lifecycle state.
|
286
306
|
:param str time_generated_greater_than_or_equal_to: A filter to return only the resources that were generated after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after that date.
|
@@ -297,6 +317,7 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
297
317
|
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
298
318
|
__args__['displayName'] = display_name
|
299
319
|
__args__['filters'] = filters
|
320
|
+
__args__['mimeType'] = mime_type
|
300
321
|
__args__['reportDefinitionId'] = report_definition_id
|
301
322
|
__args__['state'] = state
|
302
323
|
__args__['timeGeneratedGreaterThanOrEqualTo'] = time_generated_greater_than_or_equal_to
|
@@ -311,6 +332,7 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
311
332
|
display_name=pulumi.get(__response__, 'display_name'),
|
312
333
|
filters=pulumi.get(__response__, 'filters'),
|
313
334
|
id=pulumi.get(__response__, 'id'),
|
335
|
+
mime_type=pulumi.get(__response__, 'mime_type'),
|
314
336
|
report_collections=pulumi.get(__response__, 'report_collections'),
|
315
337
|
report_definition_id=pulumi.get(__response__, 'report_definition_id'),
|
316
338
|
state=pulumi.get(__response__, 'state'),
|