pulumi-oci 2.25.0a1740032973__py3-none-any.whl → 2.26.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 +102 -0
- pulumi_oci/config/__init__.pyi +2 -0
- pulumi_oci/config/vars.py +4 -0
- pulumi_oci/containerengine/_inputs.py +74 -35
- pulumi_oci/containerengine/cluster.py +4 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +180 -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 +1246 -57
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +92 -0
- pulumi_oci/database/autonomous_database.py +90 -22
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/backup_destination.py +84 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/db_system.py +111 -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 +43 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/get_autonomous_databases.py +0 -26
- pulumi_oci/database/get_backup_destination.py +43 -1
- 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_data_guard_association.py +12 -1
- 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_runs.py +20 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +2260 -87
- 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 +133 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +28 -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/get_filesystem_snapshot_policy.py +15 -1
- pulumi_oci/filestorage/get_outbound_connector.py +15 -1
- pulumi_oci/filestorage/get_replication.py +15 -1
- pulumi_oci/filestorage/get_replication_target.py +15 -1
- pulumi_oci/filestorage/get_snapshot.py +15 -1
- pulumi_oci/filestorage/mount_target.py +28 -0
- pulumi_oci/filestorage/outbound_connector.py +28 -0
- pulumi_oci/filestorage/outputs.py +263 -0
- pulumi_oci/filestorage/replication.py +28 -0
- pulumi_oci/filestorage/snapshot.py +28 -0
- pulumi_oci/goldengate/connection.py +561 -162
- pulumi_oci/goldengate/database_registration.py +14 -14
- pulumi_oci/goldengate/get_connection.py +117 -6
- pulumi_oci/goldengate/outputs.py +96 -10
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +196 -0
- pulumi_oci/jms/get_fleet_error_analytics.py +163 -0
- pulumi_oci/jms/get_fleet_errors.py +264 -0
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +23 -1
- pulumi_oci/jms/get_jms_plugins.py +23 -1
- pulumi_oci/jms/get_plugin_error_analytics.py +163 -0
- pulumi_oci/jms/get_plugin_errors.py +264 -0
- pulumi_oci/jms/outputs.py +566 -6
- 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/provider.py +20 -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/stackmonitoring/__init__.py +8 -0
- pulumi_oci/stackmonitoring/_inputs.py +372 -1
- pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py +185 -0
- pulumi_oci/stackmonitoring/get_metric_extension.py +1 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +15 -1
- pulumi_oci/stackmonitoring/get_monitoring_template.py +380 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py +318 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py +262 -0
- pulumi_oci/stackmonitoring/get_monitoring_templates.py +289 -0
- pulumi_oci/stackmonitoring/metric_extension.py +4 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +30 -0
- pulumi_oci/stackmonitoring/monitoring_template.py +954 -0
- pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py +780 -0
- pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py +253 -0
- pulumi_oci/stackmonitoring/outputs.py +1305 -118
- pulumi_oci/tenantmanagercontrolplane/__init__.py +33 -0
- pulumi_oci/tenantmanagercontrolplane/_inputs.py +685 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py +478 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain.py +253 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py +281 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_domains.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_link.py +197 -0
- pulumi_oci/tenantmanagercontrolplane/get_links.py +191 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py +233 -0
- pulumi_oci/tenantmanagercontrolplane/get_organizations.py +147 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py +213 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py +235 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription.py +464 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py +210 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/outputs.py +3257 -0
- pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py +409 -0
- pulumi_oci/vault/__init__.py +1 -1
- pulumi_oci/vault/_inputs.py +92 -0
- pulumi_oci/vault/get_secret.py +40 -1
- pulumi_oci/vault/{get_secret_version.py → get_secret_version_sdk_v2.py} +32 -77
- pulumi_oci/vault/outputs.py +210 -0
- pulumi_oci/vault/secret.py +122 -0
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/RECORD +218 -150
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/top_level.txt +0 -0
@@ -205,6 +205,7 @@ class _FilesystemSnapshotPolicyState:
|
|
205
205
|
policy_prefix: Optional[pulumi.Input[str]] = None,
|
206
206
|
schedules: Optional[pulumi.Input[Sequence[pulumi.Input['FilesystemSnapshotPolicyScheduleArgs']]]] = None,
|
207
207
|
state: Optional[pulumi.Input[str]] = None,
|
208
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
208
209
|
time_created: Optional[pulumi.Input[str]] = None):
|
209
210
|
"""
|
210
211
|
Input properties used for looking up and filtering FilesystemSnapshotPolicy resources.
|
@@ -223,6 +224,7 @@ class _FilesystemSnapshotPolicyState:
|
|
223
224
|
|
224
225
|
** IMPORTANT **
|
225
226
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
227
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
226
228
|
:param pulumi.Input[str] time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
227
229
|
"""
|
228
230
|
if availability_domain is not None:
|
@@ -245,6 +247,8 @@ class _FilesystemSnapshotPolicyState:
|
|
245
247
|
pulumi.set(__self__, "schedules", schedules)
|
246
248
|
if state is not None:
|
247
249
|
pulumi.set(__self__, "state", state)
|
250
|
+
if system_tags is not None:
|
251
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
248
252
|
if time_created is not None:
|
249
253
|
pulumi.set(__self__, "time_created", time_created)
|
250
254
|
|
@@ -371,6 +375,18 @@ class _FilesystemSnapshotPolicyState:
|
|
371
375
|
def state(self, value: Optional[pulumi.Input[str]]):
|
372
376
|
pulumi.set(self, "state", value)
|
373
377
|
|
378
|
+
@property
|
379
|
+
@pulumi.getter(name="systemTags")
|
380
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
381
|
+
"""
|
382
|
+
System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "system_tags")
|
385
|
+
|
386
|
+
@system_tags.setter
|
387
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
388
|
+
pulumi.set(self, "system_tags", value)
|
389
|
+
|
374
390
|
@property
|
375
391
|
@pulumi.getter(name="timeCreated")
|
376
392
|
def time_created(self) -> Optional[pulumi.Input[str]]:
|
@@ -578,6 +594,7 @@ class FilesystemSnapshotPolicy(pulumi.CustomResource):
|
|
578
594
|
__props__.__dict__["policy_prefix"] = policy_prefix
|
579
595
|
__props__.__dict__["schedules"] = schedules
|
580
596
|
__props__.__dict__["state"] = state
|
597
|
+
__props__.__dict__["system_tags"] = None
|
581
598
|
__props__.__dict__["time_created"] = None
|
582
599
|
super(FilesystemSnapshotPolicy, __self__).__init__(
|
583
600
|
'oci:FileStorage/filesystemSnapshotPolicy:FilesystemSnapshotPolicy',
|
@@ -599,6 +616,7 @@ class FilesystemSnapshotPolicy(pulumi.CustomResource):
|
|
599
616
|
policy_prefix: Optional[pulumi.Input[str]] = None,
|
600
617
|
schedules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FilesystemSnapshotPolicyScheduleArgs', 'FilesystemSnapshotPolicyScheduleArgsDict']]]]] = None,
|
601
618
|
state: Optional[pulumi.Input[str]] = None,
|
619
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
602
620
|
time_created: Optional[pulumi.Input[str]] = None) -> 'FilesystemSnapshotPolicy':
|
603
621
|
"""
|
604
622
|
Get an existing FilesystemSnapshotPolicy resource's state with the given name, id, and optional extra
|
@@ -622,6 +640,7 @@ class FilesystemSnapshotPolicy(pulumi.CustomResource):
|
|
622
640
|
|
623
641
|
** IMPORTANT **
|
624
642
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
643
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
625
644
|
:param pulumi.Input[str] time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z`
|
626
645
|
"""
|
627
646
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -638,6 +657,7 @@ class FilesystemSnapshotPolicy(pulumi.CustomResource):
|
|
638
657
|
__props__.__dict__["policy_prefix"] = policy_prefix
|
639
658
|
__props__.__dict__["schedules"] = schedules
|
640
659
|
__props__.__dict__["state"] = state
|
660
|
+
__props__.__dict__["system_tags"] = system_tags
|
641
661
|
__props__.__dict__["time_created"] = time_created
|
642
662
|
return FilesystemSnapshotPolicy(resource_name, opts=opts, __props__=__props__)
|
643
663
|
|
@@ -724,6 +744,14 @@ class FilesystemSnapshotPolicy(pulumi.CustomResource):
|
|
724
744
|
"""
|
725
745
|
return pulumi.get(self, "state")
|
726
746
|
|
747
|
+
@property
|
748
|
+
@pulumi.getter(name="systemTags")
|
749
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
750
|
+
"""
|
751
|
+
System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
752
|
+
"""
|
753
|
+
return pulumi.get(self, "system_tags")
|
754
|
+
|
727
755
|
@property
|
728
756
|
@pulumi.getter(name="timeCreated")
|
729
757
|
def time_created(self) -> pulumi.Output[str]:
|
@@ -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')))
|
@@ -27,7 +27,7 @@ class GetFilesystemSnapshotPolicyResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getFilesystemSnapshotPolicy.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, policy_prefix=None, schedules=None, state=None, time_created=None):
|
30
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, filesystem_snapshot_policy_id=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, policy_prefix=None, schedules=None, state=None, system_tags=None, time_created=None):
|
31
31
|
if availability_domain and not isinstance(availability_domain, str):
|
32
32
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
33
33
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -64,6 +64,9 @@ class GetFilesystemSnapshotPolicyResult:
|
|
64
64
|
if state and not isinstance(state, str):
|
65
65
|
raise TypeError("Expected argument 'state' to be a str")
|
66
66
|
pulumi.set(__self__, "state", state)
|
67
|
+
if system_tags and not isinstance(system_tags, dict):
|
68
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
69
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
67
70
|
if time_created and not isinstance(time_created, str):
|
68
71
|
raise TypeError("Expected argument 'time_created' to be a str")
|
69
72
|
pulumi.set(__self__, "time_created", time_created)
|
@@ -158,6 +161,14 @@ class GetFilesystemSnapshotPolicyResult:
|
|
158
161
|
"""
|
159
162
|
return pulumi.get(self, "state")
|
160
163
|
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="systemTags")
|
166
|
+
def system_tags(self) -> Mapping[str, str]:
|
167
|
+
"""
|
168
|
+
System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "system_tags")
|
171
|
+
|
161
172
|
@property
|
162
173
|
@pulumi.getter(name="timeCreated")
|
163
174
|
def time_created(self) -> str:
|
@@ -185,6 +196,7 @@ class AwaitableGetFilesystemSnapshotPolicyResult(GetFilesystemSnapshotPolicyResu
|
|
185
196
|
policy_prefix=self.policy_prefix,
|
186
197
|
schedules=self.schedules,
|
187
198
|
state=self.state,
|
199
|
+
system_tags=self.system_tags,
|
188
200
|
time_created=self.time_created)
|
189
201
|
|
190
202
|
|
@@ -225,6 +237,7 @@ def get_filesystem_snapshot_policy(filesystem_snapshot_policy_id: Optional[str]
|
|
225
237
|
policy_prefix=pulumi.get(__ret__, 'policy_prefix'),
|
226
238
|
schedules=pulumi.get(__ret__, 'schedules'),
|
227
239
|
state=pulumi.get(__ret__, 'state'),
|
240
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
228
241
|
time_created=pulumi.get(__ret__, 'time_created'))
|
229
242
|
def get_filesystem_snapshot_policy_output(filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
230
243
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFilesystemSnapshotPolicyResult]:
|
@@ -262,4 +275,5 @@ def get_filesystem_snapshot_policy_output(filesystem_snapshot_policy_id: Optiona
|
|
262
275
|
policy_prefix=pulumi.get(__response__, 'policy_prefix'),
|
263
276
|
schedules=pulumi.get(__response__, 'schedules'),
|
264
277
|
state=pulumi.get(__response__, 'state'),
|
278
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
265
279
|
time_created=pulumi.get(__response__, 'time_created')))
|
@@ -27,7 +27,7 @@ class GetOutboundConnectorResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getOutboundConnector.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, availability_domain=None, bind_distinguished_name=None, compartment_id=None, connector_type=None, defined_tags=None, display_name=None, endpoints=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, outbound_connector_id=None, password_secret_id=None, password_secret_version=None, state=None, time_created=None):
|
30
|
+
def __init__(__self__, availability_domain=None, bind_distinguished_name=None, compartment_id=None, connector_type=None, defined_tags=None, display_name=None, endpoints=None, freeform_tags=None, id=None, is_lock_override=None, locks=None, outbound_connector_id=None, password_secret_id=None, password_secret_version=None, state=None, system_tags=None, time_created=None):
|
31
31
|
if availability_domain and not isinstance(availability_domain, str):
|
32
32
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
33
33
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -73,6 +73,9 @@ class GetOutboundConnectorResult:
|
|
73
73
|
if state and not isinstance(state, str):
|
74
74
|
raise TypeError("Expected argument 'state' to be a str")
|
75
75
|
pulumi.set(__self__, "state", state)
|
76
|
+
if system_tags and not isinstance(system_tags, dict):
|
77
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
78
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
76
79
|
if time_created and not isinstance(time_created, str):
|
77
80
|
raise TypeError("Expected argument 'time_created' to be a str")
|
78
81
|
pulumi.set(__self__, "time_created", time_created)
|
@@ -191,6 +194,14 @@ class GetOutboundConnectorResult:
|
|
191
194
|
"""
|
192
195
|
return pulumi.get(self, "state")
|
193
196
|
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="systemTags")
|
199
|
+
def system_tags(self) -> Mapping[str, str]:
|
200
|
+
"""
|
201
|
+
System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "system_tags")
|
204
|
+
|
194
205
|
@property
|
195
206
|
@pulumi.getter(name="timeCreated")
|
196
207
|
def time_created(self) -> str:
|
@@ -221,6 +232,7 @@ class AwaitableGetOutboundConnectorResult(GetOutboundConnectorResult):
|
|
221
232
|
password_secret_id=self.password_secret_id,
|
222
233
|
password_secret_version=self.password_secret_version,
|
223
234
|
state=self.state,
|
235
|
+
system_tags=self.system_tags,
|
224
236
|
time_created=self.time_created)
|
225
237
|
|
226
238
|
|
@@ -264,6 +276,7 @@ def get_outbound_connector(outbound_connector_id: Optional[str] = None,
|
|
264
276
|
password_secret_id=pulumi.get(__ret__, 'password_secret_id'),
|
265
277
|
password_secret_version=pulumi.get(__ret__, 'password_secret_version'),
|
266
278
|
state=pulumi.get(__ret__, 'state'),
|
279
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
267
280
|
time_created=pulumi.get(__ret__, 'time_created'))
|
268
281
|
def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[str]] = None,
|
269
282
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOutboundConnectorResult]:
|
@@ -304,4 +317,5 @@ def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[s
|
|
304
317
|
password_secret_id=pulumi.get(__response__, 'password_secret_id'),
|
305
318
|
password_secret_version=pulumi.get(__response__, 'password_secret_version'),
|
306
319
|
state=pulumi.get(__response__, 'state'),
|
320
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
307
321
|
time_created=pulumi.get(__response__, 'time_created')))
|