public class QuotaClient
extends java.lang.Object
implements com.aliyun.opensearch.sdk.generated.quota.QuotaService.Iface
| Constructor and Description |
|---|
QuotaClient(OpenSearchClient client)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
com.aliyun.opensearch.sdk.generated.commons.OpenSearchResult |
getByAppIdentity(java.lang.String appIdentity)
根据应用 ID 或应用名获取该应用的配额信息
|
com.aliyun.opensearch.sdk.generated.commons.OpenSearchResult |
updateByAppIdentity(java.lang.String appIdentity,
com.aliyun.opensearch.sdk.generated.quota.Quota quota)
根据应用 ID 或应用名更新该应用的配额信息
|
public QuotaClient(OpenSearchClient client)
client - CloudsearchClient实例。public com.aliyun.opensearch.sdk.generated.commons.OpenSearchResult getByAppIdentity(java.lang.String appIdentity)
throws com.aliyun.opensearch.sdk.generated.commons.OpenSearchException,
com.aliyun.opensearch.sdk.generated.commons.OpenSearchClientException
getByAppIdentity in interface com.aliyun.opensearch.sdk.generated.quota.QuotaService.IfaceappIdentity - 应用 ID 或应用名com.aliyun.opensearch.sdk.generated.commons.OpenSearchException - OpenSearchExceptioncom.aliyun.opensearch.sdk.generated.commons.OpenSearchClientException - OpenSearchClientExceptionpublic com.aliyun.opensearch.sdk.generated.commons.OpenSearchResult updateByAppIdentity(java.lang.String appIdentity,
com.aliyun.opensearch.sdk.generated.quota.Quota quota)
throws com.aliyun.opensearch.sdk.generated.commons.OpenSearchException,
com.aliyun.opensearch.sdk.generated.commons.OpenSearchClientException
updateByAppIdentity in interface com.aliyun.opensearch.sdk.generated.quota.QuotaService.IfaceappIdentity - 应用 ID 或应用名quota - 待更新的配额信息com.aliyun.opensearch.sdk.generated.commons.OpenSearchException - OpenSearchExceptioncom.aliyun.opensearch.sdk.generated.commons.OpenSearchClientException - OpenSearchClientExceptionCopyright © 2018. All Rights Reserved.