pulumi-oci 2.26.0a1741415311__py3-none-any.whl → 2.26.0a1741943394__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 +67 -0
- pulumi_oci/containerengine/_inputs.py +34 -35
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +110 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +704 -0
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +1084 -42
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/METADATA +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/RECORD +135 -106
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,593 @@
|
|
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__ = ['FileSystemQuotaRuleArgs', 'FileSystemQuotaRule']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class FileSystemQuotaRuleArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
file_system_id: pulumi.Input[str],
|
23
|
+
is_hard_quota: pulumi.Input[bool],
|
24
|
+
principal_type: pulumi.Input[str],
|
25
|
+
quota_limit_in_gigabytes: pulumi.Input[int],
|
26
|
+
are_violators_only: Optional[pulumi.Input[bool]] = None,
|
27
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
28
|
+
principal_id: Optional[pulumi.Input[int]] = None,
|
29
|
+
quota_rule_id: Optional[pulumi.Input[str]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a FileSystemQuotaRule resource.
|
32
|
+
:param pulumi.Input[str] file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
33
|
+
:param pulumi.Input[bool] is_hard_quota: The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
34
|
+
:param pulumi.Input[str] principal_type: The type of the owner of this quota rule and usage.
|
35
|
+
:param pulumi.Input[int] quota_limit_in_gigabytes: (Updatable) The value of the quota rule. The unit is Gigabyte.
|
36
|
+
|
37
|
+
|
38
|
+
** IMPORTANT **
|
39
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
40
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
41
|
+
:param pulumi.Input[int] principal_id: An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
42
|
+
"""
|
43
|
+
pulumi.set(__self__, "file_system_id", file_system_id)
|
44
|
+
pulumi.set(__self__, "is_hard_quota", is_hard_quota)
|
45
|
+
pulumi.set(__self__, "principal_type", principal_type)
|
46
|
+
pulumi.set(__self__, "quota_limit_in_gigabytes", quota_limit_in_gigabytes)
|
47
|
+
if are_violators_only is not None:
|
48
|
+
pulumi.set(__self__, "are_violators_only", are_violators_only)
|
49
|
+
if display_name is not None:
|
50
|
+
pulumi.set(__self__, "display_name", display_name)
|
51
|
+
if principal_id is not None:
|
52
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
53
|
+
if quota_rule_id is not None:
|
54
|
+
pulumi.set(__self__, "quota_rule_id", quota_rule_id)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="fileSystemId")
|
58
|
+
def file_system_id(self) -> pulumi.Input[str]:
|
59
|
+
"""
|
60
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "file_system_id")
|
63
|
+
|
64
|
+
@file_system_id.setter
|
65
|
+
def file_system_id(self, value: pulumi.Input[str]):
|
66
|
+
pulumi.set(self, "file_system_id", value)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="isHardQuota")
|
70
|
+
def is_hard_quota(self) -> pulumi.Input[bool]:
|
71
|
+
"""
|
72
|
+
The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "is_hard_quota")
|
75
|
+
|
76
|
+
@is_hard_quota.setter
|
77
|
+
def is_hard_quota(self, value: pulumi.Input[bool]):
|
78
|
+
pulumi.set(self, "is_hard_quota", value)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="principalType")
|
82
|
+
def principal_type(self) -> pulumi.Input[str]:
|
83
|
+
"""
|
84
|
+
The type of the owner of this quota rule and usage.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "principal_type")
|
87
|
+
|
88
|
+
@principal_type.setter
|
89
|
+
def principal_type(self, value: pulumi.Input[str]):
|
90
|
+
pulumi.set(self, "principal_type", value)
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="quotaLimitInGigabytes")
|
94
|
+
def quota_limit_in_gigabytes(self) -> pulumi.Input[int]:
|
95
|
+
"""
|
96
|
+
(Updatable) The value of the quota rule. The unit is Gigabyte.
|
97
|
+
|
98
|
+
|
99
|
+
** IMPORTANT **
|
100
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "quota_limit_in_gigabytes")
|
103
|
+
|
104
|
+
@quota_limit_in_gigabytes.setter
|
105
|
+
def quota_limit_in_gigabytes(self, value: pulumi.Input[int]):
|
106
|
+
pulumi.set(self, "quota_limit_in_gigabytes", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="areViolatorsOnly")
|
110
|
+
def are_violators_only(self) -> Optional[pulumi.Input[bool]]:
|
111
|
+
return pulumi.get(self, "are_violators_only")
|
112
|
+
|
113
|
+
@are_violators_only.setter
|
114
|
+
def are_violators_only(self, value: Optional[pulumi.Input[bool]]):
|
115
|
+
pulumi.set(self, "are_violators_only", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="displayName")
|
119
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
"""
|
121
|
+
(Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "display_name")
|
124
|
+
|
125
|
+
@display_name.setter
|
126
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
127
|
+
pulumi.set(self, "display_name", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="principalId")
|
131
|
+
def principal_id(self) -> Optional[pulumi.Input[int]]:
|
132
|
+
"""
|
133
|
+
An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "principal_id")
|
136
|
+
|
137
|
+
@principal_id.setter
|
138
|
+
def principal_id(self, value: Optional[pulumi.Input[int]]):
|
139
|
+
pulumi.set(self, "principal_id", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="quotaRuleId")
|
143
|
+
def quota_rule_id(self) -> Optional[pulumi.Input[str]]:
|
144
|
+
return pulumi.get(self, "quota_rule_id")
|
145
|
+
|
146
|
+
@quota_rule_id.setter
|
147
|
+
def quota_rule_id(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
pulumi.set(self, "quota_rule_id", value)
|
149
|
+
|
150
|
+
|
151
|
+
@pulumi.input_type
|
152
|
+
class _FileSystemQuotaRuleState:
|
153
|
+
def __init__(__self__, *,
|
154
|
+
are_violators_only: Optional[pulumi.Input[bool]] = None,
|
155
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
156
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
157
|
+
is_hard_quota: Optional[pulumi.Input[bool]] = None,
|
158
|
+
principal_id: Optional[pulumi.Input[int]] = None,
|
159
|
+
principal_type: Optional[pulumi.Input[str]] = None,
|
160
|
+
quota_limit_in_gigabytes: Optional[pulumi.Input[int]] = None,
|
161
|
+
quota_rule_id: Optional[pulumi.Input[str]] = None,
|
162
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
163
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
164
|
+
"""
|
165
|
+
Input properties used for looking up and filtering FileSystemQuotaRule resources.
|
166
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
167
|
+
:param pulumi.Input[str] file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
168
|
+
:param pulumi.Input[bool] is_hard_quota: The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
169
|
+
:param pulumi.Input[int] principal_id: An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
170
|
+
:param pulumi.Input[str] principal_type: The type of the owner of this quota rule and usage.
|
171
|
+
:param pulumi.Input[int] quota_limit_in_gigabytes: (Updatable) The value of the quota rule. The unit is Gigabyte.
|
172
|
+
|
173
|
+
|
174
|
+
** IMPORTANT **
|
175
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
176
|
+
:param pulumi.Input[str] time_created: The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
177
|
+
:param pulumi.Input[str] time_updated: The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
178
|
+
"""
|
179
|
+
if are_violators_only is not None:
|
180
|
+
pulumi.set(__self__, "are_violators_only", are_violators_only)
|
181
|
+
if display_name is not None:
|
182
|
+
pulumi.set(__self__, "display_name", display_name)
|
183
|
+
if file_system_id is not None:
|
184
|
+
pulumi.set(__self__, "file_system_id", file_system_id)
|
185
|
+
if is_hard_quota is not None:
|
186
|
+
pulumi.set(__self__, "is_hard_quota", is_hard_quota)
|
187
|
+
if principal_id is not None:
|
188
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
189
|
+
if principal_type is not None:
|
190
|
+
pulumi.set(__self__, "principal_type", principal_type)
|
191
|
+
if quota_limit_in_gigabytes is not None:
|
192
|
+
pulumi.set(__self__, "quota_limit_in_gigabytes", quota_limit_in_gigabytes)
|
193
|
+
if quota_rule_id is not None:
|
194
|
+
pulumi.set(__self__, "quota_rule_id", quota_rule_id)
|
195
|
+
if time_created is not None:
|
196
|
+
pulumi.set(__self__, "time_created", time_created)
|
197
|
+
if time_updated is not None:
|
198
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="areViolatorsOnly")
|
202
|
+
def are_violators_only(self) -> Optional[pulumi.Input[bool]]:
|
203
|
+
return pulumi.get(self, "are_violators_only")
|
204
|
+
|
205
|
+
@are_violators_only.setter
|
206
|
+
def are_violators_only(self, value: Optional[pulumi.Input[bool]]):
|
207
|
+
pulumi.set(self, "are_violators_only", value)
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="displayName")
|
211
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
212
|
+
"""
|
213
|
+
(Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "display_name")
|
216
|
+
|
217
|
+
@display_name.setter
|
218
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
219
|
+
pulumi.set(self, "display_name", value)
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="fileSystemId")
|
223
|
+
def file_system_id(self) -> Optional[pulumi.Input[str]]:
|
224
|
+
"""
|
225
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "file_system_id")
|
228
|
+
|
229
|
+
@file_system_id.setter
|
230
|
+
def file_system_id(self, value: Optional[pulumi.Input[str]]):
|
231
|
+
pulumi.set(self, "file_system_id", value)
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="isHardQuota")
|
235
|
+
def is_hard_quota(self) -> Optional[pulumi.Input[bool]]:
|
236
|
+
"""
|
237
|
+
The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "is_hard_quota")
|
240
|
+
|
241
|
+
@is_hard_quota.setter
|
242
|
+
def is_hard_quota(self, value: Optional[pulumi.Input[bool]]):
|
243
|
+
pulumi.set(self, "is_hard_quota", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="principalId")
|
247
|
+
def principal_id(self) -> Optional[pulumi.Input[int]]:
|
248
|
+
"""
|
249
|
+
An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
250
|
+
"""
|
251
|
+
return pulumi.get(self, "principal_id")
|
252
|
+
|
253
|
+
@principal_id.setter
|
254
|
+
def principal_id(self, value: Optional[pulumi.Input[int]]):
|
255
|
+
pulumi.set(self, "principal_id", value)
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="principalType")
|
259
|
+
def principal_type(self) -> Optional[pulumi.Input[str]]:
|
260
|
+
"""
|
261
|
+
The type of the owner of this quota rule and usage.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "principal_type")
|
264
|
+
|
265
|
+
@principal_type.setter
|
266
|
+
def principal_type(self, value: Optional[pulumi.Input[str]]):
|
267
|
+
pulumi.set(self, "principal_type", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter(name="quotaLimitInGigabytes")
|
271
|
+
def quota_limit_in_gigabytes(self) -> Optional[pulumi.Input[int]]:
|
272
|
+
"""
|
273
|
+
(Updatable) The value of the quota rule. The unit is Gigabyte.
|
274
|
+
|
275
|
+
|
276
|
+
** IMPORTANT **
|
277
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "quota_limit_in_gigabytes")
|
280
|
+
|
281
|
+
@quota_limit_in_gigabytes.setter
|
282
|
+
def quota_limit_in_gigabytes(self, value: Optional[pulumi.Input[int]]):
|
283
|
+
pulumi.set(self, "quota_limit_in_gigabytes", value)
|
284
|
+
|
285
|
+
@property
|
286
|
+
@pulumi.getter(name="quotaRuleId")
|
287
|
+
def quota_rule_id(self) -> Optional[pulumi.Input[str]]:
|
288
|
+
return pulumi.get(self, "quota_rule_id")
|
289
|
+
|
290
|
+
@quota_rule_id.setter
|
291
|
+
def quota_rule_id(self, value: Optional[pulumi.Input[str]]):
|
292
|
+
pulumi.set(self, "quota_rule_id", value)
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="timeCreated")
|
296
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
297
|
+
"""
|
298
|
+
The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
299
|
+
"""
|
300
|
+
return pulumi.get(self, "time_created")
|
301
|
+
|
302
|
+
@time_created.setter
|
303
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
304
|
+
pulumi.set(self, "time_created", value)
|
305
|
+
|
306
|
+
@property
|
307
|
+
@pulumi.getter(name="timeUpdated")
|
308
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
309
|
+
"""
|
310
|
+
The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
311
|
+
"""
|
312
|
+
return pulumi.get(self, "time_updated")
|
313
|
+
|
314
|
+
@time_updated.setter
|
315
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
316
|
+
pulumi.set(self, "time_updated", value)
|
317
|
+
|
318
|
+
|
319
|
+
class FileSystemQuotaRule(pulumi.CustomResource):
|
320
|
+
@overload
|
321
|
+
def __init__(__self__,
|
322
|
+
resource_name: str,
|
323
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
324
|
+
are_violators_only: Optional[pulumi.Input[bool]] = None,
|
325
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
326
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
327
|
+
is_hard_quota: Optional[pulumi.Input[bool]] = None,
|
328
|
+
principal_id: Optional[pulumi.Input[int]] = None,
|
329
|
+
principal_type: Optional[pulumi.Input[str]] = None,
|
330
|
+
quota_limit_in_gigabytes: Optional[pulumi.Input[int]] = None,
|
331
|
+
quota_rule_id: Optional[pulumi.Input[str]] = None,
|
332
|
+
__props__=None):
|
333
|
+
"""
|
334
|
+
This resource provides the File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
|
335
|
+
|
336
|
+
Create an FS level, user or group quota rule given the `fileSystemId`, `principalId`, `principalType` and
|
337
|
+
`isHardQuota` parameters.
|
338
|
+
|
339
|
+
## Example Usage
|
340
|
+
|
341
|
+
```python
|
342
|
+
import pulumi
|
343
|
+
import pulumi_oci as oci
|
344
|
+
|
345
|
+
test_file_system_quota_rule = oci.file_storage.FileSystemQuotaRule("test_file_system_quota_rule",
|
346
|
+
file_system_id=test_file_system["id"],
|
347
|
+
is_hard_quota=file_system_quota_rule_is_hard_quota,
|
348
|
+
principal_type=file_system_quota_rule_principal_type,
|
349
|
+
quota_limit_in_gigabytes=file_system_quota_rule_quota_limit_in_gigabytes,
|
350
|
+
display_name=file_system_quota_rule_display_name,
|
351
|
+
principal_id=test_principal["id"])
|
352
|
+
```
|
353
|
+
|
354
|
+
## Import
|
355
|
+
|
356
|
+
FileSystemQuotaRules can be imported using the `id`, e.g.
|
357
|
+
|
358
|
+
```sh
|
359
|
+
$ pulumi import oci:FileStorage/fileSystemQuotaRule:FileSystemQuotaRule test_file_system_quota_rule "fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}"
|
360
|
+
```
|
361
|
+
|
362
|
+
:param str resource_name: The name of the resource.
|
363
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
364
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
365
|
+
:param pulumi.Input[str] file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
366
|
+
:param pulumi.Input[bool] is_hard_quota: The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
367
|
+
:param pulumi.Input[int] principal_id: An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
368
|
+
:param pulumi.Input[str] principal_type: The type of the owner of this quota rule and usage.
|
369
|
+
:param pulumi.Input[int] quota_limit_in_gigabytes: (Updatable) The value of the quota rule. The unit is Gigabyte.
|
370
|
+
|
371
|
+
|
372
|
+
** IMPORTANT **
|
373
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
374
|
+
"""
|
375
|
+
...
|
376
|
+
@overload
|
377
|
+
def __init__(__self__,
|
378
|
+
resource_name: str,
|
379
|
+
args: FileSystemQuotaRuleArgs,
|
380
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
381
|
+
"""
|
382
|
+
This resource provides the File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
|
383
|
+
|
384
|
+
Create an FS level, user or group quota rule given the `fileSystemId`, `principalId`, `principalType` and
|
385
|
+
`isHardQuota` parameters.
|
386
|
+
|
387
|
+
## Example Usage
|
388
|
+
|
389
|
+
```python
|
390
|
+
import pulumi
|
391
|
+
import pulumi_oci as oci
|
392
|
+
|
393
|
+
test_file_system_quota_rule = oci.file_storage.FileSystemQuotaRule("test_file_system_quota_rule",
|
394
|
+
file_system_id=test_file_system["id"],
|
395
|
+
is_hard_quota=file_system_quota_rule_is_hard_quota,
|
396
|
+
principal_type=file_system_quota_rule_principal_type,
|
397
|
+
quota_limit_in_gigabytes=file_system_quota_rule_quota_limit_in_gigabytes,
|
398
|
+
display_name=file_system_quota_rule_display_name,
|
399
|
+
principal_id=test_principal["id"])
|
400
|
+
```
|
401
|
+
|
402
|
+
## Import
|
403
|
+
|
404
|
+
FileSystemQuotaRules can be imported using the `id`, e.g.
|
405
|
+
|
406
|
+
```sh
|
407
|
+
$ pulumi import oci:FileStorage/fileSystemQuotaRule:FileSystemQuotaRule test_file_system_quota_rule "fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}"
|
408
|
+
```
|
409
|
+
|
410
|
+
:param str resource_name: The name of the resource.
|
411
|
+
:param FileSystemQuotaRuleArgs args: The arguments to use to populate this resource's properties.
|
412
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
413
|
+
"""
|
414
|
+
...
|
415
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
416
|
+
resource_args, opts = _utilities.get_resource_args_opts(FileSystemQuotaRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
417
|
+
if resource_args is not None:
|
418
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
419
|
+
else:
|
420
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
421
|
+
|
422
|
+
def _internal_init(__self__,
|
423
|
+
resource_name: str,
|
424
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
425
|
+
are_violators_only: Optional[pulumi.Input[bool]] = None,
|
426
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
427
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
428
|
+
is_hard_quota: Optional[pulumi.Input[bool]] = None,
|
429
|
+
principal_id: Optional[pulumi.Input[int]] = None,
|
430
|
+
principal_type: Optional[pulumi.Input[str]] = None,
|
431
|
+
quota_limit_in_gigabytes: Optional[pulumi.Input[int]] = None,
|
432
|
+
quota_rule_id: Optional[pulumi.Input[str]] = None,
|
433
|
+
__props__=None):
|
434
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
435
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
436
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
437
|
+
if opts.id is None:
|
438
|
+
if __props__ is not None:
|
439
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
440
|
+
__props__ = FileSystemQuotaRuleArgs.__new__(FileSystemQuotaRuleArgs)
|
441
|
+
|
442
|
+
__props__.__dict__["are_violators_only"] = are_violators_only
|
443
|
+
__props__.__dict__["display_name"] = display_name
|
444
|
+
if file_system_id is None and not opts.urn:
|
445
|
+
raise TypeError("Missing required property 'file_system_id'")
|
446
|
+
__props__.__dict__["file_system_id"] = file_system_id
|
447
|
+
if is_hard_quota is None and not opts.urn:
|
448
|
+
raise TypeError("Missing required property 'is_hard_quota'")
|
449
|
+
__props__.__dict__["is_hard_quota"] = is_hard_quota
|
450
|
+
__props__.__dict__["principal_id"] = principal_id
|
451
|
+
if principal_type is None and not opts.urn:
|
452
|
+
raise TypeError("Missing required property 'principal_type'")
|
453
|
+
__props__.__dict__["principal_type"] = principal_type
|
454
|
+
if quota_limit_in_gigabytes is None and not opts.urn:
|
455
|
+
raise TypeError("Missing required property 'quota_limit_in_gigabytes'")
|
456
|
+
__props__.__dict__["quota_limit_in_gigabytes"] = quota_limit_in_gigabytes
|
457
|
+
__props__.__dict__["quota_rule_id"] = quota_rule_id
|
458
|
+
__props__.__dict__["time_created"] = None
|
459
|
+
__props__.__dict__["time_updated"] = None
|
460
|
+
super(FileSystemQuotaRule, __self__).__init__(
|
461
|
+
'oci:FileStorage/fileSystemQuotaRule:FileSystemQuotaRule',
|
462
|
+
resource_name,
|
463
|
+
__props__,
|
464
|
+
opts)
|
465
|
+
|
466
|
+
@staticmethod
|
467
|
+
def get(resource_name: str,
|
468
|
+
id: pulumi.Input[str],
|
469
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
470
|
+
are_violators_only: Optional[pulumi.Input[bool]] = None,
|
471
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
472
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
473
|
+
is_hard_quota: Optional[pulumi.Input[bool]] = None,
|
474
|
+
principal_id: Optional[pulumi.Input[int]] = None,
|
475
|
+
principal_type: Optional[pulumi.Input[str]] = None,
|
476
|
+
quota_limit_in_gigabytes: Optional[pulumi.Input[int]] = None,
|
477
|
+
quota_rule_id: Optional[pulumi.Input[str]] = None,
|
478
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
479
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'FileSystemQuotaRule':
|
480
|
+
"""
|
481
|
+
Get an existing FileSystemQuotaRule resource's state with the given name, id, and optional extra
|
482
|
+
properties used to qualify the lookup.
|
483
|
+
|
484
|
+
:param str resource_name: The unique name of the resulting resource.
|
485
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
486
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
487
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
488
|
+
:param pulumi.Input[str] file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
489
|
+
:param pulumi.Input[bool] is_hard_quota: The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
490
|
+
:param pulumi.Input[int] principal_id: An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
491
|
+
:param pulumi.Input[str] principal_type: The type of the owner of this quota rule and usage.
|
492
|
+
:param pulumi.Input[int] quota_limit_in_gigabytes: (Updatable) The value of the quota rule. The unit is Gigabyte.
|
493
|
+
|
494
|
+
|
495
|
+
** IMPORTANT **
|
496
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
497
|
+
:param pulumi.Input[str] time_created: The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
498
|
+
:param pulumi.Input[str] time_updated: The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
499
|
+
"""
|
500
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
501
|
+
|
502
|
+
__props__ = _FileSystemQuotaRuleState.__new__(_FileSystemQuotaRuleState)
|
503
|
+
|
504
|
+
__props__.__dict__["are_violators_only"] = are_violators_only
|
505
|
+
__props__.__dict__["display_name"] = display_name
|
506
|
+
__props__.__dict__["file_system_id"] = file_system_id
|
507
|
+
__props__.__dict__["is_hard_quota"] = is_hard_quota
|
508
|
+
__props__.__dict__["principal_id"] = principal_id
|
509
|
+
__props__.__dict__["principal_type"] = principal_type
|
510
|
+
__props__.__dict__["quota_limit_in_gigabytes"] = quota_limit_in_gigabytes
|
511
|
+
__props__.__dict__["quota_rule_id"] = quota_rule_id
|
512
|
+
__props__.__dict__["time_created"] = time_created
|
513
|
+
__props__.__dict__["time_updated"] = time_updated
|
514
|
+
return FileSystemQuotaRule(resource_name, opts=opts, __props__=__props__)
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter(name="areViolatorsOnly")
|
518
|
+
def are_violators_only(self) -> pulumi.Output[Optional[bool]]:
|
519
|
+
return pulumi.get(self, "are_violators_only")
|
520
|
+
|
521
|
+
@property
|
522
|
+
@pulumi.getter(name="displayName")
|
523
|
+
def display_name(self) -> pulumi.Output[str]:
|
524
|
+
"""
|
525
|
+
(Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
526
|
+
"""
|
527
|
+
return pulumi.get(self, "display_name")
|
528
|
+
|
529
|
+
@property
|
530
|
+
@pulumi.getter(name="fileSystemId")
|
531
|
+
def file_system_id(self) -> pulumi.Output[str]:
|
532
|
+
"""
|
533
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
534
|
+
"""
|
535
|
+
return pulumi.get(self, "file_system_id")
|
536
|
+
|
537
|
+
@property
|
538
|
+
@pulumi.getter(name="isHardQuota")
|
539
|
+
def is_hard_quota(self) -> pulumi.Output[bool]:
|
540
|
+
"""
|
541
|
+
The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is true, the quota rule will be enforced so the write will be blocked if usage exceeds the hard quota limit. If `isHardQuota` is false, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
542
|
+
"""
|
543
|
+
return pulumi.get(self, "is_hard_quota")
|
544
|
+
|
545
|
+
@property
|
546
|
+
@pulumi.getter(name="principalId")
|
547
|
+
def principal_id(self) -> pulumi.Output[int]:
|
548
|
+
"""
|
549
|
+
An identifier for the owner of this usage and quota rule. Unix-like operating systems use this integer value to identify a user or group to manage access control.
|
550
|
+
"""
|
551
|
+
return pulumi.get(self, "principal_id")
|
552
|
+
|
553
|
+
@property
|
554
|
+
@pulumi.getter(name="principalType")
|
555
|
+
def principal_type(self) -> pulumi.Output[str]:
|
556
|
+
"""
|
557
|
+
The type of the owner of this quota rule and usage.
|
558
|
+
"""
|
559
|
+
return pulumi.get(self, "principal_type")
|
560
|
+
|
561
|
+
@property
|
562
|
+
@pulumi.getter(name="quotaLimitInGigabytes")
|
563
|
+
def quota_limit_in_gigabytes(self) -> pulumi.Output[int]:
|
564
|
+
"""
|
565
|
+
(Updatable) The value of the quota rule. The unit is Gigabyte.
|
566
|
+
|
567
|
+
|
568
|
+
** IMPORTANT **
|
569
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
570
|
+
"""
|
571
|
+
return pulumi.get(self, "quota_limit_in_gigabytes")
|
572
|
+
|
573
|
+
@property
|
574
|
+
@pulumi.getter(name="quotaRuleId")
|
575
|
+
def quota_rule_id(self) -> pulumi.Output[str]:
|
576
|
+
return pulumi.get(self, "quota_rule_id")
|
577
|
+
|
578
|
+
@property
|
579
|
+
@pulumi.getter(name="timeCreated")
|
580
|
+
def time_created(self) -> pulumi.Output[str]:
|
581
|
+
"""
|
582
|
+
The date and time the quota rule was started, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
583
|
+
"""
|
584
|
+
return pulumi.get(self, "time_created")
|
585
|
+
|
586
|
+
@property
|
587
|
+
@pulumi.getter(name="timeUpdated")
|
588
|
+
def time_updated(self) -> pulumi.Output[str]:
|
589
|
+
"""
|
590
|
+
The date and time the quota rule was last updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
591
|
+
"""
|
592
|
+
return pulumi.get(self, "time_updated")
|
593
|
+
|