oci-filestorage 2.103.0 → 2.105.0
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.
- package/lib/client.d.ts +95 -0
- package/lib/client.js +430 -0
- package/lib/client.js.map +1 -1
- package/lib/model/create-file-system-details.d.ts +4 -0
- package/lib/model/create-file-system-details.js.map +1 -1
- package/lib/model/create-quota-rule-details.d.ts +61 -0
- package/lib/model/create-quota-rule-details.js +39 -0
- package/lib/model/create-quota-rule-details.js.map +1 -0
- package/lib/model/file-system-summary.d.ts +21 -0
- package/lib/model/file-system-summary.js +14 -0
- package/lib/model/file-system-summary.js.map +1 -1
- package/lib/model/file-system.d.ts +25 -0
- package/lib/model/file-system.js +14 -0
- package/lib/model/file-system.js.map +1 -1
- package/lib/model/index.d.ts +10 -0
- package/lib/model/index.js +12 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/quota-rule-summary.d.ts +104 -0
- package/lib/model/quota-rule-summary.js +44 -0
- package/lib/model/quota-rule-summary.js.map +1 -0
- package/lib/model/quota-rule.d.ts +91 -0
- package/lib/model/quota-rule.js +44 -0
- package/lib/model/quota-rule.js.map +1 -0
- package/lib/model/toggle-quota-rules-details.d.ts +27 -0
- package/lib/model/toggle-quota-rules-details.js +31 -0
- package/lib/model/toggle-quota-rules-details.js.map +1 -0
- package/lib/model/update-quota-rule-details.d.ts +35 -0
- package/lib/model/update-quota-rule-details.js +31 -0
- package/lib/model/update-quota-rule-details.js.map +1 -0
- package/lib/request/create-quota-rule-request.d.ts +51 -0
- package/lib/request/create-quota-rule-request.js +15 -0
- package/lib/request/create-quota-rule-request.js.map +1 -0
- package/lib/request/delete-quota-rule-request.d.ts +41 -0
- package/lib/request/delete-quota-rule-request.js +15 -0
- package/lib/request/delete-quota-rule-request.js.map +1 -0
- package/lib/request/get-quota-rule-request.d.ts +41 -0
- package/lib/request/get-quota-rule-request.js +15 -0
- package/lib/request/get-quota-rule-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-quota-rules-request.d.ts +97 -0
- package/lib/request/list-quota-rules-request.js +32 -0
- package/lib/request/list-quota-rules-request.js.map +1 -0
- package/lib/request/toggle-quota-rules-request.d.ts +51 -0
- package/lib/request/toggle-quota-rules-request.js +15 -0
- package/lib/request/toggle-quota-rules-request.js.map +1 -0
- package/lib/request/update-quota-rule-request.d.ts +46 -0
- package/lib/request/update-quota-rule-request.js +15 -0
- package/lib/request/update-quota-rule-request.js.map +1 -0
- package/lib/response/create-quota-rule-response.d.ts +30 -0
- package/lib/response/create-quota-rule-response.js +15 -0
- package/lib/response/create-quota-rule-response.js.map +1 -0
- package/lib/response/delete-quota-rule-response.d.ts +21 -0
- package/lib/response/delete-quota-rule-response.js +15 -0
- package/lib/response/delete-quota-rule-response.js.map +1 -0
- package/lib/response/get-quota-rule-response.d.ts +30 -0
- package/lib/response/get-quota-rule-response.js +15 -0
- package/lib/response/get-quota-rule-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -0
- package/lib/response/list-quota-rules-response.d.ts +35 -0
- package/lib/response/list-quota-rules-response.js +15 -0
- package/lib/response/list-quota-rules-response.js.map +1 -0
- package/lib/response/toggle-quota-rules-response.d.ts +21 -0
- package/lib/response/toggle-quota-rules-response.js +15 -0
- package/lib/response/toggle-quota-rules-response.js.map +1 -0
- package/lib/response/update-quota-rule-response.d.ts +30 -0
- package/lib/response/update-quota-rule-response.js +15 -0
- package/lib/response/update-quota-rule-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -87,6 +87,10 @@ export interface CreateFileSystemDetails {
|
|
|
87
87
|
*
|
|
88
88
|
*/
|
|
89
89
|
"filesystemSnapshotPolicyId"?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the enforcement of quota rules on the file system.
|
|
92
|
+
*/
|
|
93
|
+
"areQuotaRulesEnabled"?: boolean;
|
|
90
94
|
}
|
|
91
95
|
export declare namespace CreateFileSystemDetails {
|
|
92
96
|
enum CloneAttachStatus {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-file-system-details.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/create-file-system-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-file-system-details.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/create-file-system-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ElC,IAAiB,uBAAuB,CAkCvC;AAlCD,WAAiB,uBAAuB;IACtC,IAAY,iBAGX;IAHD,WAAY,iBAAiB;QAC3B,sCAAiB,CAAA;QACjB,sCAAiB,CAAA;IACnB,CAAC,EAHW,iBAAiB,GAAjB,yCAAiB,KAAjB,yCAAiB,QAG5B;IAED,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAsB,yBAarC,CAAA;AACH,CAAC,EAlCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAkCvC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage API
|
|
3
|
+
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
4
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20171215
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Details for creating a quota rule in the file system.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateQuotaRuleDetails {
|
|
19
|
+
/**
|
|
20
|
+
* The type of the owner of this quota rule and usage.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"principalType": CreateQuotaRuleDetails.PrincipalType;
|
|
24
|
+
/**
|
|
25
|
+
* An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to
|
|
26
|
+
* identify a user or group to manage access control.
|
|
27
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"principalId"?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the quota rule will be enforced.
|
|
32
|
+
* If {@code isHardQuota} is true, the quota rule is enforced so that the write is blocked if usage
|
|
33
|
+
* exceeds the hard quota limit.
|
|
34
|
+
* If {@code isHardQuota} is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"isHardQuota": boolean;
|
|
38
|
+
/**
|
|
39
|
+
* A user-friendly name. It does not have to be unique, and it is changeable.
|
|
40
|
+
* Avoid entering confidential information.
|
|
41
|
+
* Example: {@code UserXYZ's quota}
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"displayName"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The value of the quota rule in gigabytes.
|
|
47
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"quotaLimitInGigabytes": number;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace CreateQuotaRuleDetails {
|
|
52
|
+
enum PrincipalType {
|
|
53
|
+
FileSystemLevel = "FILE_SYSTEM_LEVEL",
|
|
54
|
+
DefaultGroup = "DEFAULT_GROUP",
|
|
55
|
+
DefaultUser = "DEFAULT_USER",
|
|
56
|
+
IndividualGroup = "INDIVIDUAL_GROUP",
|
|
57
|
+
IndividualUser = "INDIVIDUAL_USER"
|
|
58
|
+
}
|
|
59
|
+
function getJsonObj(obj: CreateQuotaRuleDetails): object;
|
|
60
|
+
function getDeserializedJsonObj(obj: CreateQuotaRuleDetails): object;
|
|
61
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File Storage API
|
|
4
|
+
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
5
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20171215
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.CreateQuotaRuleDetails = void 0;
|
|
18
|
+
var CreateQuotaRuleDetails;
|
|
19
|
+
(function (CreateQuotaRuleDetails) {
|
|
20
|
+
let PrincipalType;
|
|
21
|
+
(function (PrincipalType) {
|
|
22
|
+
PrincipalType["FileSystemLevel"] = "FILE_SYSTEM_LEVEL";
|
|
23
|
+
PrincipalType["DefaultGroup"] = "DEFAULT_GROUP";
|
|
24
|
+
PrincipalType["DefaultUser"] = "DEFAULT_USER";
|
|
25
|
+
PrincipalType["IndividualGroup"] = "INDIVIDUAL_GROUP";
|
|
26
|
+
PrincipalType["IndividualUser"] = "INDIVIDUAL_USER";
|
|
27
|
+
})(PrincipalType = CreateQuotaRuleDetails.PrincipalType || (CreateQuotaRuleDetails.PrincipalType = {}));
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
CreateQuotaRuleDetails.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
CreateQuotaRuleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(CreateQuotaRuleDetails = exports.CreateQuotaRuleDetails || (exports.CreateQuotaRuleDetails = {}));
|
|
39
|
+
//# sourceMappingURL=create-quota-rule-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-quota-rule-details.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/create-quota-rule-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA0CH,IAAiB,sBAAsB,CAmBtC;AAnBD,WAAiB,sBAAsB;IACrC,IAAY,aAMX;IAND,WAAY,aAAa;QACvB,sDAAqC,CAAA;QACrC,+CAA8B,CAAA;QAC9B,6CAA4B,CAAA;QAC5B,qDAAoC,CAAA;QACpC,mDAAkC,CAAA;IACpC,CAAC,EANW,aAAa,GAAb,oCAAa,KAAb,oCAAa,QAMxB;IAED,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAnBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAmBtC"}
|
|
@@ -97,6 +97,10 @@ export interface FileSystemSummary {
|
|
|
97
97
|
[key: string]: any;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* Specifies the total number of replications for which this file system is a source. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
102
|
+
*/
|
|
103
|
+
"replicationSourceCount"?: number;
|
|
100
104
|
/**
|
|
101
105
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system.
|
|
102
106
|
*
|
|
@@ -125,6 +129,10 @@ export interface FileSystemSummary {
|
|
|
125
129
|
* Specifies whether the file system is attached to its parent file system.
|
|
126
130
|
*/
|
|
127
131
|
"cloneAttachStatus"?: FileSystemSummary.CloneAttachStatus;
|
|
132
|
+
/**
|
|
133
|
+
* Displays the state of enforcement of quota rules on the file system.
|
|
134
|
+
*/
|
|
135
|
+
"quotaEnforcementState"?: FileSystemSummary.QuotaEnforcementState;
|
|
128
136
|
}
|
|
129
137
|
export declare namespace FileSystemSummary {
|
|
130
138
|
enum LifecycleState {
|
|
@@ -150,6 +158,19 @@ export declare namespace FileSystemSummary {
|
|
|
150
158
|
*/
|
|
151
159
|
UnknownValue = "UNKNOWN_VALUE"
|
|
152
160
|
}
|
|
161
|
+
enum QuotaEnforcementState {
|
|
162
|
+
Enabling = "ENABLING",
|
|
163
|
+
Enabled = "ENABLED",
|
|
164
|
+
Disabling = "DISABLING",
|
|
165
|
+
Disabled = "DISABLED",
|
|
166
|
+
Syncing = "SYNCING",
|
|
167
|
+
Failed = "FAILED",
|
|
168
|
+
/**
|
|
169
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
170
|
+
* version of the SDK.
|
|
171
|
+
*/
|
|
172
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
173
|
+
}
|
|
153
174
|
function getJsonObj(obj: FileSystemSummary): object;
|
|
154
175
|
function getDeserializedJsonObj(obj: FileSystemSummary): object;
|
|
155
176
|
}
|
|
@@ -62,6 +62,20 @@ var FileSystemSummary;
|
|
|
62
62
|
*/
|
|
63
63
|
CloneAttachStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
64
64
|
})(CloneAttachStatus = FileSystemSummary.CloneAttachStatus || (FileSystemSummary.CloneAttachStatus = {}));
|
|
65
|
+
let QuotaEnforcementState;
|
|
66
|
+
(function (QuotaEnforcementState) {
|
|
67
|
+
QuotaEnforcementState["Enabling"] = "ENABLING";
|
|
68
|
+
QuotaEnforcementState["Enabled"] = "ENABLED";
|
|
69
|
+
QuotaEnforcementState["Disabling"] = "DISABLING";
|
|
70
|
+
QuotaEnforcementState["Disabled"] = "DISABLED";
|
|
71
|
+
QuotaEnforcementState["Syncing"] = "SYNCING";
|
|
72
|
+
QuotaEnforcementState["Failed"] = "FAILED";
|
|
73
|
+
/**
|
|
74
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
75
|
+
* version of the SDK.
|
|
76
|
+
*/
|
|
77
|
+
QuotaEnforcementState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
78
|
+
})(QuotaEnforcementState = FileSystemSummary.QuotaEnforcementState || (FileSystemSummary.QuotaEnforcementState = {}));
|
|
65
79
|
function getJsonObj(obj) {
|
|
66
80
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
67
81
|
"locks": obj.locks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-system-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/file-system-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"file-system-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/file-system-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmHlC,IAAiB,iBAAiB,CA4EjC;AA5ED,WAAiB,iBAAiB;IAChC,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,gCAAc,KAAd,gCAAc,QAYzB;IAED,IAAY,iBASX;IATD,WAAY,iBAAiB;QAC3B,0CAAqB,CAAA;QACrB,4CAAuB,CAAA;QACvB,0CAAqB,CAAA;QACrB;;;WAGG;QACH,mDAA8B,CAAA;IAChC,CAAC,EATW,iBAAiB,GAAjB,mCAAiB,KAAjB,mCAAiB,QAS5B;IAED,I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,CAAC;IACjB,CAAC;IAjBe,wCAAsB,yBAiBrC,CAAA;AACH,CAAC,EA5EgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA4EjC"}
|
|
@@ -157,6 +157,18 @@ export interface FileSystem {
|
|
|
157
157
|
*
|
|
158
158
|
*/
|
|
159
159
|
"filesystemSnapshotPolicyId"?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Specifies the enforcement of quota rules on the file system.
|
|
162
|
+
*/
|
|
163
|
+
"areQuotaRulesEnabled"?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Displays the state of enforcement of quota rules on the file system.
|
|
166
|
+
*/
|
|
167
|
+
"quotaEnforcementState"?: FileSystem.QuotaEnforcementState;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the total number of replications for which this file system is a source. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
170
|
+
*/
|
|
171
|
+
"replicationSourceCount"?: number;
|
|
160
172
|
}
|
|
161
173
|
export declare namespace FileSystem {
|
|
162
174
|
enum LifecycleState {
|
|
@@ -182,6 +194,19 @@ export declare namespace FileSystem {
|
|
|
182
194
|
*/
|
|
183
195
|
UnknownValue = "UNKNOWN_VALUE"
|
|
184
196
|
}
|
|
197
|
+
enum QuotaEnforcementState {
|
|
198
|
+
Enabling = "ENABLING",
|
|
199
|
+
Enabled = "ENABLED",
|
|
200
|
+
Disabling = "DISABLING",
|
|
201
|
+
Disabled = "DISABLED",
|
|
202
|
+
Syncing = "SYNCING",
|
|
203
|
+
Failed = "FAILED",
|
|
204
|
+
/**
|
|
205
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
206
|
+
* version of the SDK.
|
|
207
|
+
*/
|
|
208
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
209
|
+
}
|
|
185
210
|
function getJsonObj(obj: FileSystem): object;
|
|
186
211
|
function getDeserializedJsonObj(obj: FileSystem): object;
|
|
187
212
|
}
|
package/lib/model/file-system.js
CHANGED
|
@@ -62,6 +62,20 @@ var FileSystem;
|
|
|
62
62
|
*/
|
|
63
63
|
CloneAttachStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
64
64
|
})(CloneAttachStatus = FileSystem.CloneAttachStatus || (FileSystem.CloneAttachStatus = {}));
|
|
65
|
+
let QuotaEnforcementState;
|
|
66
|
+
(function (QuotaEnforcementState) {
|
|
67
|
+
QuotaEnforcementState["Enabling"] = "ENABLING";
|
|
68
|
+
QuotaEnforcementState["Enabled"] = "ENABLED";
|
|
69
|
+
QuotaEnforcementState["Disabling"] = "DISABLING";
|
|
70
|
+
QuotaEnforcementState["Disabled"] = "DISABLED";
|
|
71
|
+
QuotaEnforcementState["Syncing"] = "SYNCING";
|
|
72
|
+
QuotaEnforcementState["Failed"] = "FAILED";
|
|
73
|
+
/**
|
|
74
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
75
|
+
* version of the SDK.
|
|
76
|
+
*/
|
|
77
|
+
QuotaEnforcementState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
78
|
+
})(QuotaEnforcementState = FileSystem.QuotaEnforcementState || (FileSystem.QuotaEnforcementState = {}));
|
|
65
79
|
function getJsonObj(obj) {
|
|
66
80
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
67
81
|
"sourceDetails": obj.sourceDetails
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-system.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/file-system.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"file-system.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/file-system.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuJlC,IAAiB,UAAU,CA4E1B;AA5ED,WAAiB,UAAU;IACzB,IAAY,cAYX;IAZD,WA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AAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;YAEb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,iCAAsB,yBAiBrC,CAAA;AACH,CAAC,EA5EgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA4E1B"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ import * as CreateMountTargetDetails from "./create-mount-target-details";
|
|
|
38
38
|
export import CreateMountTargetDetails = CreateMountTargetDetails.CreateMountTargetDetails;
|
|
39
39
|
import * as CreateOutboundConnectorDetails from "./create-outbound-connector-details";
|
|
40
40
|
export import CreateOutboundConnectorDetails = CreateOutboundConnectorDetails.CreateOutboundConnectorDetails;
|
|
41
|
+
import * as CreateQuotaRuleDetails from "./create-quota-rule-details";
|
|
42
|
+
export import CreateQuotaRuleDetails = CreateQuotaRuleDetails.CreateQuotaRuleDetails;
|
|
41
43
|
import * as CreateReplicationDetails from "./create-replication-details";
|
|
42
44
|
export import CreateReplicationDetails = CreateReplicationDetails.CreateReplicationDetails;
|
|
43
45
|
import * as CreateSnapshotDetails from "./create-snapshot-details";
|
|
@@ -76,6 +78,10 @@ import * as OutboundConnector from "./outbound-connector";
|
|
|
76
78
|
export import OutboundConnector = OutboundConnector.OutboundConnector;
|
|
77
79
|
import * as OutboundConnectorSummary from "./outbound-connector-summary";
|
|
78
80
|
export import OutboundConnectorSummary = OutboundConnectorSummary.OutboundConnectorSummary;
|
|
81
|
+
import * as QuotaRule from "./quota-rule";
|
|
82
|
+
export import QuotaRule = QuotaRule.QuotaRule;
|
|
83
|
+
import * as QuotaRuleSummary from "./quota-rule-summary";
|
|
84
|
+
export import QuotaRuleSummary = QuotaRuleSummary.QuotaRuleSummary;
|
|
79
85
|
import * as Replication from "./replication";
|
|
80
86
|
export import Replication = Replication.Replication;
|
|
81
87
|
import * as ReplicationEstimate from "./replication-estimate";
|
|
@@ -98,6 +104,8 @@ import * as SnapshotSummary from "./snapshot-summary";
|
|
|
98
104
|
export import SnapshotSummary = SnapshotSummary.SnapshotSummary;
|
|
99
105
|
import * as SourceDetails from "./source-details";
|
|
100
106
|
export import SourceDetails = SourceDetails.SourceDetails;
|
|
107
|
+
import * as ToggleQuotaRulesDetails from "./toggle-quota-rules-details";
|
|
108
|
+
export import ToggleQuotaRulesDetails = ToggleQuotaRulesDetails.ToggleQuotaRulesDetails;
|
|
101
109
|
import * as UpdateExportDetails from "./update-export-details";
|
|
102
110
|
export import UpdateExportDetails = UpdateExportDetails.UpdateExportDetails;
|
|
103
111
|
import * as UpdateExportSetDetails from "./update-export-set-details";
|
|
@@ -114,6 +122,8 @@ import * as UpdateMountTargetDetails from "./update-mount-target-details";
|
|
|
114
122
|
export import UpdateMountTargetDetails = UpdateMountTargetDetails.UpdateMountTargetDetails;
|
|
115
123
|
import * as UpdateOutboundConnectorDetails from "./update-outbound-connector-details";
|
|
116
124
|
export import UpdateOutboundConnectorDetails = UpdateOutboundConnectorDetails.UpdateOutboundConnectorDetails;
|
|
125
|
+
import * as UpdateQuotaRuleDetails from "./update-quota-rule-details";
|
|
126
|
+
export import UpdateQuotaRuleDetails = UpdateQuotaRuleDetails.UpdateQuotaRuleDetails;
|
|
117
127
|
import * as UpdateReplicationDetails from "./update-replication-details";
|
|
118
128
|
export import UpdateReplicationDetails = UpdateReplicationDetails.UpdateReplicationDetails;
|
|
119
129
|
import * as UpdateSnapshotDetails from "./update-snapshot-details";
|
package/lib/model/index.js
CHANGED
|
@@ -33,8 +33,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
33
33
|
return result;
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.LdapBindAccountSummary = exports.LdapBindAccount = exports.CreateLdapBindAccountDetails = exports.ValidateKeyTabsResponseDetails = exports.ValidateKeyTabsDetails = exports.UpgradeShapeMountTargetDetails = exports.UpdateSnapshotDetails = exports.UpdateReplicationDetails = exports.UpdateOutboundConnectorDetails = void 0;
|
|
36
|
+
exports.UpdateFileSystemDetails = exports.UpdateExportSetDetails = exports.UpdateExportDetails = exports.ToggleQuotaRulesDetails = exports.SourceDetails = exports.SnapshotSummary = exports.SnapshotSchedule = exports.Snapshot = exports.ScheduleDowngradeShapeMountTargetDetails = exports.ResourceLock = exports.ReplicationTargetSummary = exports.ReplicationTarget = exports.ReplicationSummary = exports.ReplicationEstimate = exports.Replication = exports.QuotaRuleSummary = exports.QuotaRule = exports.OutboundConnectorSummary = exports.OutboundConnector = exports.MountTargetSummary = exports.MountTarget = exports.LdapIdmap = exports.KeyTabSecretDetails = exports.KerberosKeytabEntry = exports.Kerberos = exports.FilesystemSnapshotPolicySummary = exports.FilesystemSnapshotPolicy = exports.FileSystemSummary = exports.FileSystem = exports.ExportSummary = exports.ExportSetSummary = exports.ExportSet = exports.Export = exports.Endpoint = exports.CreateSnapshotDetails = exports.CreateReplicationDetails = exports.CreateQuotaRuleDetails = exports.CreateOutboundConnectorDetails = exports.CreateMountTargetDetails = exports.CreateLdapIdmapDetails = exports.CreateKerberosDetails = exports.CreateFilesystemSnapshotPolicyDetails = exports.CreateFileSystemDetails = exports.CreateExportDetails = exports.ClientOptions = exports.ChangeReplicationCompartmentDetails = exports.ChangeOutboundConnectorCompartmentDetails = exports.ChangeMountTargetCompartmentDetails = exports.ChangeFilesystemSnapshotPolicyCompartmentDetails = exports.ChangeFileSystemCompartmentDetails = void 0;
|
|
37
|
+
exports.LdapBindAccountSummary = exports.LdapBindAccount = exports.CreateLdapBindAccountDetails = exports.ValidateKeyTabsResponseDetails = exports.ValidateKeyTabsDetails = exports.UpgradeShapeMountTargetDetails = exports.UpdateSnapshotDetails = exports.UpdateReplicationDetails = exports.UpdateQuotaRuleDetails = exports.UpdateOutboundConnectorDetails = exports.UpdateMountTargetDetails = exports.UpdateLdapIdmapDetails = exports.UpdateKerberosDetails = exports.UpdateFilesystemSnapshotPolicyDetails = void 0;
|
|
38
38
|
const ChangeFileSystemCompartmentDetails = __importStar(require("./change-file-system-compartment-details"));
|
|
39
39
|
exports.ChangeFileSystemCompartmentDetails = ChangeFileSystemCompartmentDetails.ChangeFileSystemCompartmentDetails;
|
|
40
40
|
const ChangeFilesystemSnapshotPolicyCompartmentDetails = __importStar(require("./change-filesystem-snapshot-policy-compartment-details"));
|
|
@@ -61,6 +61,8 @@ const CreateMountTargetDetails = __importStar(require("./create-mount-target-det
|
|
|
61
61
|
exports.CreateMountTargetDetails = CreateMountTargetDetails.CreateMountTargetDetails;
|
|
62
62
|
const CreateOutboundConnectorDetails = __importStar(require("./create-outbound-connector-details"));
|
|
63
63
|
exports.CreateOutboundConnectorDetails = CreateOutboundConnectorDetails.CreateOutboundConnectorDetails;
|
|
64
|
+
const CreateQuotaRuleDetails = __importStar(require("./create-quota-rule-details"));
|
|
65
|
+
exports.CreateQuotaRuleDetails = CreateQuotaRuleDetails.CreateQuotaRuleDetails;
|
|
64
66
|
const CreateReplicationDetails = __importStar(require("./create-replication-details"));
|
|
65
67
|
exports.CreateReplicationDetails = CreateReplicationDetails.CreateReplicationDetails;
|
|
66
68
|
const CreateSnapshotDetails = __importStar(require("./create-snapshot-details"));
|
|
@@ -99,6 +101,10 @@ const OutboundConnector = __importStar(require("./outbound-connector"));
|
|
|
99
101
|
exports.OutboundConnector = OutboundConnector.OutboundConnector;
|
|
100
102
|
const OutboundConnectorSummary = __importStar(require("./outbound-connector-summary"));
|
|
101
103
|
exports.OutboundConnectorSummary = OutboundConnectorSummary.OutboundConnectorSummary;
|
|
104
|
+
const QuotaRule = __importStar(require("./quota-rule"));
|
|
105
|
+
exports.QuotaRule = QuotaRule.QuotaRule;
|
|
106
|
+
const QuotaRuleSummary = __importStar(require("./quota-rule-summary"));
|
|
107
|
+
exports.QuotaRuleSummary = QuotaRuleSummary.QuotaRuleSummary;
|
|
102
108
|
const Replication = __importStar(require("./replication"));
|
|
103
109
|
exports.Replication = Replication.Replication;
|
|
104
110
|
const ReplicationEstimate = __importStar(require("./replication-estimate"));
|
|
@@ -121,6 +127,8 @@ const SnapshotSummary = __importStar(require("./snapshot-summary"));
|
|
|
121
127
|
exports.SnapshotSummary = SnapshotSummary.SnapshotSummary;
|
|
122
128
|
const SourceDetails = __importStar(require("./source-details"));
|
|
123
129
|
exports.SourceDetails = SourceDetails.SourceDetails;
|
|
130
|
+
const ToggleQuotaRulesDetails = __importStar(require("./toggle-quota-rules-details"));
|
|
131
|
+
exports.ToggleQuotaRulesDetails = ToggleQuotaRulesDetails.ToggleQuotaRulesDetails;
|
|
124
132
|
const UpdateExportDetails = __importStar(require("./update-export-details"));
|
|
125
133
|
exports.UpdateExportDetails = UpdateExportDetails.UpdateExportDetails;
|
|
126
134
|
const UpdateExportSetDetails = __importStar(require("./update-export-set-details"));
|
|
@@ -137,6 +145,8 @@ const UpdateMountTargetDetails = __importStar(require("./update-mount-target-det
|
|
|
137
145
|
exports.UpdateMountTargetDetails = UpdateMountTargetDetails.UpdateMountTargetDetails;
|
|
138
146
|
const UpdateOutboundConnectorDetails = __importStar(require("./update-outbound-connector-details"));
|
|
139
147
|
exports.UpdateOutboundConnectorDetails = UpdateOutboundConnectorDetails.UpdateOutboundConnectorDetails;
|
|
148
|
+
const UpdateQuotaRuleDetails = __importStar(require("./update-quota-rule-details"));
|
|
149
|
+
exports.UpdateQuotaRuleDetails = UpdateQuotaRuleDetails.UpdateQuotaRuleDetails;
|
|
140
150
|
const UpdateReplicationDetails = __importStar(require("./update-replication-details"));
|
|
141
151
|
exports.UpdateReplicationDetails = UpdateReplicationDetails.UpdateReplicationDetails;
|
|
142
152
|
const UpdateSnapshotDetails = __importStar(require("./update-snapshot-details"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;AAEH,6GAA+F;AACjF,QAAA,kCAAkC,GAAG,kCAAkC,CAAC,kCAAkC,CAAC;AACzH,0IAA4H;AAC9G,QAAA,gDAAgD,GAAG,gDAAgD,CAAC,gDAAgD,CAAC;AACnK,+GAAiG;AACnF,QAAA,mCAAmC,GAAG,mCAAmC,CAAC,mCAAmC,CAAC;AAC5H,2HAA6G;AAC/F,QAAA,yCAAyC,GAAG,yCAAyC,CAAC,yCAAyC,CAAC;AAC9I,8GAAgG;AAClF,QAAA,mCAAmC,GAAG,mCAAmC,CAAC,mCAAmC,CAAC;AAC5H,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,mHAAqG;AACvF,QAAA,qCAAqC,GAAG,qCAAqC,CAAC,qCAAqC,CAAC;AAClI,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,C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8B,CAAC;AAC7G,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAE7G,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,qEAAuD;AACzC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage API
|
|
3
|
+
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
4
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20171215
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Summary information for a principal's usage and quota rule.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface QuotaRuleSummary {
|
|
20
|
+
/**
|
|
21
|
+
* The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
|
|
22
|
+
*/
|
|
23
|
+
"id"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
|
|
26
|
+
*/
|
|
27
|
+
"fileSystemId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the owner of this quota rule and usage.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"principalType": QuotaRuleSummary.PrincipalType;
|
|
33
|
+
/**
|
|
34
|
+
* An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to
|
|
35
|
+
* identify a user or group to manage access control.
|
|
36
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"principalId": number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the quota rule will be enforced.
|
|
41
|
+
* If {@code isHardQuota} is true, the quota rule is enforced so that the write is blocked if usage
|
|
42
|
+
* exceeds the hard quota limit.
|
|
43
|
+
* If {@code isHardQuota} is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
"isHardQuota"?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* A user-friendly name. It does not have to be unique, and it is changeable.
|
|
49
|
+
* Avoid entering confidential information.
|
|
50
|
+
* Example: {@code UserXYZ's quota}
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"displayName"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The usage value corresponding to this principal in bytes.
|
|
56
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
57
|
+
*/
|
|
58
|
+
"usageInBytes": number;
|
|
59
|
+
/**
|
|
60
|
+
* The value of the quota rule in gigabytes.
|
|
61
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
62
|
+
*/
|
|
63
|
+
"quotaLimitInGigabytes"?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The date and time the quota rule was created, expressed in
|
|
66
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
67
|
+
* <p>
|
|
68
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"timeCreated"?: Date;
|
|
72
|
+
/**
|
|
73
|
+
* The date and time the quota rule was last updated, expressed in
|
|
74
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
75
|
+
* <p>
|
|
76
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"timeUpdated"?: Date;
|
|
80
|
+
/**
|
|
81
|
+
* An option to display only the users or groups that violate their quota rules.
|
|
82
|
+
* If {@code areViolatorsOnly} is false, results report all the quota and usage.
|
|
83
|
+
* If {@code areViolatorsOnly} is true, results only report the quota and usage for
|
|
84
|
+
* the users or groups that violate their quota rules.
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
"areViolatorsOnly"?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace QuotaRuleSummary {
|
|
90
|
+
enum PrincipalType {
|
|
91
|
+
FileSystemLevel = "FILE_SYSTEM_LEVEL",
|
|
92
|
+
DefaultGroup = "DEFAULT_GROUP",
|
|
93
|
+
DefaultUser = "DEFAULT_USER",
|
|
94
|
+
IndividualGroup = "INDIVIDUAL_GROUP",
|
|
95
|
+
IndividualUser = "INDIVIDUAL_USER",
|
|
96
|
+
/**
|
|
97
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
98
|
+
* version of the SDK.
|
|
99
|
+
*/
|
|
100
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
101
|
+
}
|
|
102
|
+
function getJsonObj(obj: QuotaRuleSummary): object;
|
|
103
|
+
function getDeserializedJsonObj(obj: QuotaRuleSummary): object;
|
|
104
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File Storage API
|
|
4
|
+
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
5
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20171215
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.QuotaRuleSummary = void 0;
|
|
18
|
+
var QuotaRuleSummary;
|
|
19
|
+
(function (QuotaRuleSummary) {
|
|
20
|
+
let PrincipalType;
|
|
21
|
+
(function (PrincipalType) {
|
|
22
|
+
PrincipalType["FileSystemLevel"] = "FILE_SYSTEM_LEVEL";
|
|
23
|
+
PrincipalType["DefaultGroup"] = "DEFAULT_GROUP";
|
|
24
|
+
PrincipalType["DefaultUser"] = "DEFAULT_USER";
|
|
25
|
+
PrincipalType["IndividualGroup"] = "INDIVIDUAL_GROUP";
|
|
26
|
+
PrincipalType["IndividualUser"] = "INDIVIDUAL_USER";
|
|
27
|
+
/**
|
|
28
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
29
|
+
* version of the SDK.
|
|
30
|
+
*/
|
|
31
|
+
PrincipalType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
32
|
+
})(PrincipalType = QuotaRuleSummary.PrincipalType || (QuotaRuleSummary.PrincipalType = {}));
|
|
33
|
+
function getJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
QuotaRuleSummary.getJsonObj = getJsonObj;
|
|
38
|
+
function getDeserializedJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
QuotaRuleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(QuotaRuleSummary = exports.QuotaRuleSummary || (exports.QuotaRuleSummary = {}));
|
|
44
|
+
//# sourceMappingURL=quota-rule-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quota-rule-summary.js","sourceRoot":"","sources":["../../../../../lib/filestorage/lib/model/quota-rule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAgFH,IAAiB,gBAAgB,CAwBhC;AAxBD,WAAiB,gBAAgB;IAC/B,IAAY,aAWX;IAXD,WAAY,aAAa;QACvB,sDAAqC,CAAA;QACrC,+CAA8B,CAAA;QAC9B,6CAA4B,CAAA;QAC5B,qDAAoC,CAAA;QACpC,mDAAkC,CAAA;QAClC;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAXW,aAAa,GAAb,8BAAa,KAAb,8BAAa,QAWxB;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAxBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAwBhC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File Storage API
|
|
3
|
+
* Use the File Storage service API to manage file systems, mount targets, and snapshots.
|
|
4
|
+
For more information, see [Overview of File Storage](https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20171215
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* A rule that can restrict the logical space that a user or group can consume in a file system.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface QuotaRule {
|
|
20
|
+
/**
|
|
21
|
+
* The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file System.
|
|
26
|
+
*/
|
|
27
|
+
"fileSystemId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the owner of this quota rule and usage.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"principalType"?: QuotaRule.PrincipalType;
|
|
33
|
+
/**
|
|
34
|
+
* An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to
|
|
35
|
+
* identify a user or group to manage access control.
|
|
36
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"principalId"?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the quota rule will be enforced.
|
|
41
|
+
* If {@code isHardQuota} is true, the quota rule is enforced so that the write is blocked if usage
|
|
42
|
+
* exceeds the hard quota limit.
|
|
43
|
+
* If {@code isHardQuota} is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
"isHardQuota": boolean;
|
|
47
|
+
/**
|
|
48
|
+
* A user-friendly name. It does not have to be unique, and it is changeable.
|
|
49
|
+
* Avoid entering confidential information.
|
|
50
|
+
* Example: {@code UserXYZ's quota}
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"displayName": string;
|
|
54
|
+
/**
|
|
55
|
+
* The value of the quota rule in gigabytes.
|
|
56
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
57
|
+
*/
|
|
58
|
+
"quotaLimitInGigabytes": number;
|
|
59
|
+
/**
|
|
60
|
+
* The date and time the quota rule was created, expressed in
|
|
61
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
62
|
+
* <p>
|
|
63
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"timeCreated": Date;
|
|
67
|
+
/**
|
|
68
|
+
* The date and time the quota rule was last updated, expressed in
|
|
69
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format.
|
|
70
|
+
* <p>
|
|
71
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"timeUpdated": Date;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace QuotaRule {
|
|
77
|
+
enum PrincipalType {
|
|
78
|
+
FileSystemLevel = "FILE_SYSTEM_LEVEL",
|
|
79
|
+
DefaultGroup = "DEFAULT_GROUP",
|
|
80
|
+
DefaultUser = "DEFAULT_USER",
|
|
81
|
+
IndividualGroup = "INDIVIDUAL_GROUP",
|
|
82
|
+
IndividualUser = "INDIVIDUAL_USER",
|
|
83
|
+
/**
|
|
84
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
85
|
+
* version of the SDK.
|
|
86
|
+
*/
|
|
87
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
88
|
+
}
|
|
89
|
+
function getJsonObj(obj: QuotaRule): object;
|
|
90
|
+
function getDeserializedJsonObj(obj: QuotaRule): object;
|
|
91
|
+
}
|