pulumi-oci 2.26.0a1741847591__py3-none-any.whl → 2.27.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 +211 -0
- pulumi_oci/containerengine/_inputs.py +43 -44
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +128 -43
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/__init__.py +7 -0
- pulumi_oci/core/_inputs.py +168 -33
- pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
- pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
- pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
- pulumi_oci/core/outputs.py +595 -21
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +4116 -1225
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +305 -52
- pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
- 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_container_database.py +103 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
- pulumi_oci/database/get_autonomous_container_databases.py +1 -1
- 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_maintenance_run.py +15 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/outputs.py +3831 -267
- 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/goldengate/_inputs.py +128 -0
- pulumi_oci/goldengate/deployment.py +103 -0
- pulumi_oci/goldengate/deployment_backup.py +28 -0
- pulumi_oci/goldengate/get_deployment.py +43 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +289 -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/osmanagementhub/__init__.py +18 -0
- pulumi_oci/osmanagementhub/_inputs.py +677 -12
- pulumi_oci/osmanagementhub/event.py +8 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
- pulumi_oci/osmanagementhub/get_event.py +2 -0
- pulumi_oci/osmanagementhub/get_events.py +2 -0
- pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
- pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
- pulumi_oci/osmanagementhub/get_management_station.py +116 -4
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
- pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
- pulumi_oci/osmanagementhub/get_profile.py +32 -4
- pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
- pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
- pulumi_oci/osmanagementhub/get_profiles.py +63 -3
- pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
- pulumi_oci/osmanagementhub/get_software_package.py +2 -2
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source.py +89 -5
- pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
- pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
- pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance.py +56 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
- pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
- pulumi_oci/osmanagementhub/management_station.py +251 -4
- pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
- pulumi_oci/osmanagementhub/outputs.py +1349 -50
- pulumi_oci/osmanagementhub/profile.py +70 -14
- pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
- pulumi_oci/osmanagementhub/software_source.py +365 -26
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
- pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
- pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
- pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -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.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/METADATA +2 -2
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/RECORD +206 -150
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,248 @@
|
|
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__ = [
|
18
|
+
'GetFileSystemQuotaRuleResult',
|
19
|
+
'AwaitableGetFileSystemQuotaRuleResult',
|
20
|
+
'get_file_system_quota_rule',
|
21
|
+
'get_file_system_quota_rule_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetFileSystemQuotaRuleResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getFileSystemQuotaRule.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, are_violators_only=None, display_name=None, file_system_id=None, id=None, is_hard_quota=None, principal_id=None, principal_type=None, quota_limit_in_gigabytes=None, quota_rule_id=None, time_created=None, time_updated=None):
|
30
|
+
if are_violators_only and not isinstance(are_violators_only, str):
|
31
|
+
raise TypeError("Expected argument 'are_violators_only' to be a str")
|
32
|
+
pulumi.set(__self__, "are_violators_only", are_violators_only)
|
33
|
+
if display_name and not isinstance(display_name, str):
|
34
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
+
pulumi.set(__self__, "display_name", display_name)
|
36
|
+
if file_system_id and not isinstance(file_system_id, str):
|
37
|
+
raise TypeError("Expected argument 'file_system_id' to be a str")
|
38
|
+
pulumi.set(__self__, "file_system_id", file_system_id)
|
39
|
+
if id and not isinstance(id, str):
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
41
|
+
pulumi.set(__self__, "id", id)
|
42
|
+
if is_hard_quota and not isinstance(is_hard_quota, bool):
|
43
|
+
raise TypeError("Expected argument 'is_hard_quota' to be a bool")
|
44
|
+
pulumi.set(__self__, "is_hard_quota", is_hard_quota)
|
45
|
+
if principal_id and not isinstance(principal_id, int):
|
46
|
+
raise TypeError("Expected argument 'principal_id' to be a int")
|
47
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
48
|
+
if principal_type and not isinstance(principal_type, str):
|
49
|
+
raise TypeError("Expected argument 'principal_type' to be a str")
|
50
|
+
pulumi.set(__self__, "principal_type", principal_type)
|
51
|
+
if quota_limit_in_gigabytes and not isinstance(quota_limit_in_gigabytes, int):
|
52
|
+
raise TypeError("Expected argument 'quota_limit_in_gigabytes' to be a int")
|
53
|
+
pulumi.set(__self__, "quota_limit_in_gigabytes", quota_limit_in_gigabytes)
|
54
|
+
if quota_rule_id and not isinstance(quota_rule_id, str):
|
55
|
+
raise TypeError("Expected argument 'quota_rule_id' to be a str")
|
56
|
+
pulumi.set(__self__, "quota_rule_id", quota_rule_id)
|
57
|
+
if time_created and not isinstance(time_created, str):
|
58
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
59
|
+
pulumi.set(__self__, "time_created", time_created)
|
60
|
+
if time_updated and not isinstance(time_updated, str):
|
61
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
62
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter(name="areViolatorsOnly")
|
66
|
+
def are_violators_only(self) -> Optional[str]:
|
67
|
+
return pulumi.get(self, "are_violators_only")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="displayName")
|
71
|
+
def display_name(self) -> str:
|
72
|
+
"""
|
73
|
+
A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `UserXYZ's quota`
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "display_name")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="fileSystemId")
|
79
|
+
def file_system_id(self) -> str:
|
80
|
+
"""
|
81
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file System.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "file_system_id")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def id(self) -> str:
|
88
|
+
"""
|
89
|
+
The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "id")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="isHardQuota")
|
95
|
+
def is_hard_quota(self) -> bool:
|
96
|
+
"""
|
97
|
+
The flag is an identifier to tell whether the quota rule will be enforced. If `isHardQuota` is false, the quota rule will be enforced so the usage cannot exceed the hard quota limit. If `isHardQuota` is true, usage can exceed the soft quota limit. An alarm or notification will be sent to the customer, if the specific usage exceeds.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "is_hard_quota")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="principalId")
|
103
|
+
def principal_id(self) -> int:
|
104
|
+
"""
|
105
|
+
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.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "principal_id")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="principalType")
|
111
|
+
def principal_type(self) -> str:
|
112
|
+
"""
|
113
|
+
The type of the owner of this quota rule and usage.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "principal_type")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="quotaLimitInGigabytes")
|
119
|
+
def quota_limit_in_gigabytes(self) -> int:
|
120
|
+
"""
|
121
|
+
The value of the quota rule. The unit is Gigabyte.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "quota_limit_in_gigabytes")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="quotaRuleId")
|
127
|
+
def quota_rule_id(self) -> Optional[str]:
|
128
|
+
return pulumi.get(self, "quota_rule_id")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="timeCreated")
|
132
|
+
def time_created(self) -> str:
|
133
|
+
"""
|
134
|
+
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`
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "time_created")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="timeUpdated")
|
140
|
+
def time_updated(self) -> str:
|
141
|
+
"""
|
142
|
+
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`
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "time_updated")
|
145
|
+
|
146
|
+
|
147
|
+
class AwaitableGetFileSystemQuotaRuleResult(GetFileSystemQuotaRuleResult):
|
148
|
+
# pylint: disable=using-constant-test
|
149
|
+
def __await__(self):
|
150
|
+
if False:
|
151
|
+
yield self
|
152
|
+
return GetFileSystemQuotaRuleResult(
|
153
|
+
are_violators_only=self.are_violators_only,
|
154
|
+
display_name=self.display_name,
|
155
|
+
file_system_id=self.file_system_id,
|
156
|
+
id=self.id,
|
157
|
+
is_hard_quota=self.is_hard_quota,
|
158
|
+
principal_id=self.principal_id,
|
159
|
+
principal_type=self.principal_type,
|
160
|
+
quota_limit_in_gigabytes=self.quota_limit_in_gigabytes,
|
161
|
+
quota_rule_id=self.quota_rule_id,
|
162
|
+
time_created=self.time_created,
|
163
|
+
time_updated=self.time_updated)
|
164
|
+
|
165
|
+
|
166
|
+
def get_file_system_quota_rule(are_violators_only: Optional[str] = None,
|
167
|
+
file_system_id: Optional[str] = None,
|
168
|
+
quota_rule_id: Optional[str] = None,
|
169
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileSystemQuotaRuleResult:
|
170
|
+
"""
|
171
|
+
This data source provides details about a specific File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
|
172
|
+
|
173
|
+
Get an FS level, user or group quota rule given the `fileSystemId` and `quotaRuleId` parameters.
|
174
|
+
|
175
|
+
## Example Usage
|
176
|
+
|
177
|
+
```python
|
178
|
+
import pulumi
|
179
|
+
import pulumi_oci as oci
|
180
|
+
|
181
|
+
test_file_system_quota_rule = oci.FileStorage.get_file_system_quota_rule(file_system_id=test_file_system["id"],
|
182
|
+
quota_rule_id=test_rule["id"])
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
:param str file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
187
|
+
:param str quota_rule_id: The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
|
188
|
+
"""
|
189
|
+
__args__ = dict()
|
190
|
+
__args__['areViolatorsOnly'] = are_violators_only
|
191
|
+
__args__['fileSystemId'] = file_system_id
|
192
|
+
__args__['quotaRuleId'] = quota_rule_id
|
193
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
194
|
+
__ret__ = pulumi.runtime.invoke('oci:FileStorage/getFileSystemQuotaRule:getFileSystemQuotaRule', __args__, opts=opts, typ=GetFileSystemQuotaRuleResult).value
|
195
|
+
|
196
|
+
return AwaitableGetFileSystemQuotaRuleResult(
|
197
|
+
are_violators_only=pulumi.get(__ret__, 'are_violators_only'),
|
198
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
199
|
+
file_system_id=pulumi.get(__ret__, 'file_system_id'),
|
200
|
+
id=pulumi.get(__ret__, 'id'),
|
201
|
+
is_hard_quota=pulumi.get(__ret__, 'is_hard_quota'),
|
202
|
+
principal_id=pulumi.get(__ret__, 'principal_id'),
|
203
|
+
principal_type=pulumi.get(__ret__, 'principal_type'),
|
204
|
+
quota_limit_in_gigabytes=pulumi.get(__ret__, 'quota_limit_in_gigabytes'),
|
205
|
+
quota_rule_id=pulumi.get(__ret__, 'quota_rule_id'),
|
206
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
207
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
208
|
+
def get_file_system_quota_rule_output(are_violators_only: Optional[pulumi.Input[Optional[str]]] = None,
|
209
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
210
|
+
quota_rule_id: Optional[pulumi.Input[Optional[str]]] = None,
|
211
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileSystemQuotaRuleResult]:
|
212
|
+
"""
|
213
|
+
This data source provides details about a specific File System Quota Rule resource in Oracle Cloud Infrastructure File Storage service.
|
214
|
+
|
215
|
+
Get an FS level, user or group quota rule given the `fileSystemId` and `quotaRuleId` parameters.
|
216
|
+
|
217
|
+
## Example Usage
|
218
|
+
|
219
|
+
```python
|
220
|
+
import pulumi
|
221
|
+
import pulumi_oci as oci
|
222
|
+
|
223
|
+
test_file_system_quota_rule = oci.FileStorage.get_file_system_quota_rule(file_system_id=test_file_system["id"],
|
224
|
+
quota_rule_id=test_rule["id"])
|
225
|
+
```
|
226
|
+
|
227
|
+
|
228
|
+
:param str file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
229
|
+
:param str quota_rule_id: The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
|
230
|
+
"""
|
231
|
+
__args__ = dict()
|
232
|
+
__args__['areViolatorsOnly'] = are_violators_only
|
233
|
+
__args__['fileSystemId'] = file_system_id
|
234
|
+
__args__['quotaRuleId'] = quota_rule_id
|
235
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
236
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FileStorage/getFileSystemQuotaRule:getFileSystemQuotaRule', __args__, opts=opts, typ=GetFileSystemQuotaRuleResult)
|
237
|
+
return __ret__.apply(lambda __response__: GetFileSystemQuotaRuleResult(
|
238
|
+
are_violators_only=pulumi.get(__response__, 'are_violators_only'),
|
239
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
240
|
+
file_system_id=pulumi.get(__response__, 'file_system_id'),
|
241
|
+
id=pulumi.get(__response__, 'id'),
|
242
|
+
is_hard_quota=pulumi.get(__response__, 'is_hard_quota'),
|
243
|
+
principal_id=pulumi.get(__response__, 'principal_id'),
|
244
|
+
principal_type=pulumi.get(__response__, 'principal_type'),
|
245
|
+
quota_limit_in_gigabytes=pulumi.get(__response__, 'quota_limit_in_gigabytes'),
|
246
|
+
quota_rule_id=pulumi.get(__response__, 'quota_rule_id'),
|
247
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
248
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,210 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetFileSystemQuotaRulesResult',
|
21
|
+
'AwaitableGetFileSystemQuotaRulesResult',
|
22
|
+
'get_file_system_quota_rules',
|
23
|
+
'get_file_system_quota_rules_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetFileSystemQuotaRulesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getFileSystemQuotaRules.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, are_violators_only=None, file_system_id=None, filters=None, id=None, principal_id=None, principal_type=None, quota_rules=None):
|
32
|
+
if are_violators_only and not isinstance(are_violators_only, bool):
|
33
|
+
raise TypeError("Expected argument 'are_violators_only' to be a bool")
|
34
|
+
pulumi.set(__self__, "are_violators_only", are_violators_only)
|
35
|
+
if file_system_id and not isinstance(file_system_id, str):
|
36
|
+
raise TypeError("Expected argument 'file_system_id' to be a str")
|
37
|
+
pulumi.set(__self__, "file_system_id", file_system_id)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if principal_id and not isinstance(principal_id, int):
|
45
|
+
raise TypeError("Expected argument 'principal_id' to be a int")
|
46
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
47
|
+
if principal_type and not isinstance(principal_type, str):
|
48
|
+
raise TypeError("Expected argument 'principal_type' to be a str")
|
49
|
+
pulumi.set(__self__, "principal_type", principal_type)
|
50
|
+
if quota_rules and not isinstance(quota_rules, list):
|
51
|
+
raise TypeError("Expected argument 'quota_rules' to be a list")
|
52
|
+
pulumi.set(__self__, "quota_rules", quota_rules)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="areViolatorsOnly")
|
56
|
+
def are_violators_only(self) -> Optional[bool]:
|
57
|
+
return pulumi.get(self, "are_violators_only")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="fileSystemId")
|
61
|
+
def file_system_id(self) -> str:
|
62
|
+
"""
|
63
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file System.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "file_system_id")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def filters(self) -> Optional[Sequence['outputs.GetFileSystemQuotaRulesFilterResult']]:
|
70
|
+
return pulumi.get(self, "filters")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def id(self) -> str:
|
75
|
+
"""
|
76
|
+
The provider-assigned unique ID for this managed resource.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "id")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="principalId")
|
82
|
+
def principal_id(self) -> Optional[int]:
|
83
|
+
"""
|
84
|
+
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.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "principal_id")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="principalType")
|
90
|
+
def principal_type(self) -> str:
|
91
|
+
"""
|
92
|
+
The type of the owner of this quota rule and usage.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "principal_type")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="quotaRules")
|
98
|
+
def quota_rules(self) -> Sequence['outputs.GetFileSystemQuotaRulesQuotaRuleResult']:
|
99
|
+
"""
|
100
|
+
The list of quota_rules.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "quota_rules")
|
103
|
+
|
104
|
+
|
105
|
+
class AwaitableGetFileSystemQuotaRulesResult(GetFileSystemQuotaRulesResult):
|
106
|
+
# pylint: disable=using-constant-test
|
107
|
+
def __await__(self):
|
108
|
+
if False:
|
109
|
+
yield self
|
110
|
+
return GetFileSystemQuotaRulesResult(
|
111
|
+
are_violators_only=self.are_violators_only,
|
112
|
+
file_system_id=self.file_system_id,
|
113
|
+
filters=self.filters,
|
114
|
+
id=self.id,
|
115
|
+
principal_id=self.principal_id,
|
116
|
+
principal_type=self.principal_type,
|
117
|
+
quota_rules=self.quota_rules)
|
118
|
+
|
119
|
+
|
120
|
+
def get_file_system_quota_rules(are_violators_only: Optional[bool] = None,
|
121
|
+
file_system_id: Optional[str] = None,
|
122
|
+
filters: Optional[Sequence[Union['GetFileSystemQuotaRulesFilterArgs', 'GetFileSystemQuotaRulesFilterArgsDict']]] = None,
|
123
|
+
principal_id: Optional[int] = None,
|
124
|
+
principal_type: Optional[str] = None,
|
125
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileSystemQuotaRulesResult:
|
126
|
+
"""
|
127
|
+
This data source provides the list of File System Quota Rules in Oracle Cloud Infrastructure File Storage service.
|
128
|
+
|
129
|
+
List user or group usages and their quota rules by certain principal type.
|
130
|
+
|
131
|
+
## Example Usage
|
132
|
+
|
133
|
+
```python
|
134
|
+
import pulumi
|
135
|
+
import pulumi_oci as oci
|
136
|
+
|
137
|
+
test_file_system_quota_rules = oci.FileStorage.get_file_system_quota_rules(file_system_id=test_file_system["id"],
|
138
|
+
principal_type=file_system_quota_rule_principal_type,
|
139
|
+
are_violators_only=file_system_quota_rule_are_violators_only,
|
140
|
+
principal_id=test_principal["id"])
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
:param bool are_violators_only: An option to only display the users or groups that violate their quota rules. If `areViolatorsOnly` is false, the list result will display all the quota and usage report. If `areViolatorsOnly` is true, the list result will only display the quota and usage report for the users or groups that violate their quota rules.
|
145
|
+
:param str file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
146
|
+
:param 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.
|
147
|
+
:param str principal_type: The type of the owner of this quota rule and usage.
|
148
|
+
"""
|
149
|
+
__args__ = dict()
|
150
|
+
__args__['areViolatorsOnly'] = are_violators_only
|
151
|
+
__args__['fileSystemId'] = file_system_id
|
152
|
+
__args__['filters'] = filters
|
153
|
+
__args__['principalId'] = principal_id
|
154
|
+
__args__['principalType'] = principal_type
|
155
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
156
|
+
__ret__ = pulumi.runtime.invoke('oci:FileStorage/getFileSystemQuotaRules:getFileSystemQuotaRules', __args__, opts=opts, typ=GetFileSystemQuotaRulesResult).value
|
157
|
+
|
158
|
+
return AwaitableGetFileSystemQuotaRulesResult(
|
159
|
+
are_violators_only=pulumi.get(__ret__, 'are_violators_only'),
|
160
|
+
file_system_id=pulumi.get(__ret__, 'file_system_id'),
|
161
|
+
filters=pulumi.get(__ret__, 'filters'),
|
162
|
+
id=pulumi.get(__ret__, 'id'),
|
163
|
+
principal_id=pulumi.get(__ret__, 'principal_id'),
|
164
|
+
principal_type=pulumi.get(__ret__, 'principal_type'),
|
165
|
+
quota_rules=pulumi.get(__ret__, 'quota_rules'))
|
166
|
+
def get_file_system_quota_rules_output(are_violators_only: Optional[pulumi.Input[Optional[bool]]] = None,
|
167
|
+
file_system_id: Optional[pulumi.Input[str]] = None,
|
168
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFileSystemQuotaRulesFilterArgs', 'GetFileSystemQuotaRulesFilterArgsDict']]]]] = None,
|
169
|
+
principal_id: Optional[pulumi.Input[Optional[int]]] = None,
|
170
|
+
principal_type: Optional[pulumi.Input[str]] = None,
|
171
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileSystemQuotaRulesResult]:
|
172
|
+
"""
|
173
|
+
This data source provides the list of File System Quota Rules in Oracle Cloud Infrastructure File Storage service.
|
174
|
+
|
175
|
+
List user or group usages and their quota rules by certain principal type.
|
176
|
+
|
177
|
+
## Example Usage
|
178
|
+
|
179
|
+
```python
|
180
|
+
import pulumi
|
181
|
+
import pulumi_oci as oci
|
182
|
+
|
183
|
+
test_file_system_quota_rules = oci.FileStorage.get_file_system_quota_rules(file_system_id=test_file_system["id"],
|
184
|
+
principal_type=file_system_quota_rule_principal_type,
|
185
|
+
are_violators_only=file_system_quota_rule_are_violators_only,
|
186
|
+
principal_id=test_principal["id"])
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
:param bool are_violators_only: An option to only display the users or groups that violate their quota rules. If `areViolatorsOnly` is false, the list result will display all the quota and usage report. If `areViolatorsOnly` is true, the list result will only display the quota and usage report for the users or groups that violate their quota rules.
|
191
|
+
:param str file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
192
|
+
:param 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.
|
193
|
+
:param str principal_type: The type of the owner of this quota rule and usage.
|
194
|
+
"""
|
195
|
+
__args__ = dict()
|
196
|
+
__args__['areViolatorsOnly'] = are_violators_only
|
197
|
+
__args__['fileSystemId'] = file_system_id
|
198
|
+
__args__['filters'] = filters
|
199
|
+
__args__['principalId'] = principal_id
|
200
|
+
__args__['principalType'] = principal_type
|
201
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
202
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FileStorage/getFileSystemQuotaRules:getFileSystemQuotaRules', __args__, opts=opts, typ=GetFileSystemQuotaRulesResult)
|
203
|
+
return __ret__.apply(lambda __response__: GetFileSystemQuotaRulesResult(
|
204
|
+
are_violators_only=pulumi.get(__response__, 'are_violators_only'),
|
205
|
+
file_system_id=pulumi.get(__response__, 'file_system_id'),
|
206
|
+
filters=pulumi.get(__response__, 'filters'),
|
207
|
+
id=pulumi.get(__response__, 'id'),
|
208
|
+
principal_id=pulumi.get(__response__, 'principal_id'),
|
209
|
+
principal_type=pulumi.get(__response__, 'principal_type'),
|
210
|
+
quota_rules=pulumi.get(__response__, 'quota_rules')))
|