FileVaultControllerSetHomeFolderQuota - метод
Sets a quota on a home folder of a specific user.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
[HttpPostAttribute("quota")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<FileVaultSetQuotaResponse>> SetHomeFolderQuota(
[FromBodyAttribute] FileVaultSetQuotaRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("quota")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function SetHomeFolderQuota (
<FromBodyAttribute> request As FileVaultSetQuotaRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of FileVaultSetQuotaResponse))
public:
[HttpPostAttribute(L"quota")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<FileVaultSetQuotaResponse^>^>^ SetHomeFolderQuota(
[FromBodyAttribute] FileVaultSetQuotaRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("quota")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member SetHomeFolderQuota :
[<FromBodyAttribute>] request : FileVaultSetQuotaRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<FileVaultSetQuotaResponse>>
- request FileVaultSetQuotaRequest
- Request to set quota.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultFileVaultSetQuotaResponseA setting the quota.