public class ListSecretsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ListSecretsRequest() |
ListSecretsRequest(ListSecretsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLimit()
Get Maximum number of returned Secrets in a query.
|
Long |
getOffset()
Get Starting position of the list, starting at 0.
|
Long |
getOrderType()
Get Sorting order according to the creation time.
|
String |
getProductName()
Get This parameter is valid only when SecretType is `1`.
|
String |
getSearchSecretName()
Get Filter according to Secret names.
|
Long |
getSecretType()
Get `0` (default): user-defined secret.
|
Long |
getState()
Get Filter based on credential status.
|
TagFilter[] |
getTagFilters()
Get Tag filter.
|
void |
setLimit(Long Limit)
Set Maximum number of returned Secrets in a query.
|
void |
setOffset(Long Offset)
Set Starting position of the list, starting at 0.
|
void |
setOrderType(Long OrderType)
Set Sorting order according to the creation time.
|
void |
setProductName(String ProductName)
Set This parameter is valid only when SecretType is `1`.
|
void |
setSearchSecretName(String SearchSecretName)
Set Filter according to Secret names.
|
void |
setSecretType(Long SecretType)
Set `0` (default): user-defined secret.
|
void |
setState(Long State)
Set Filter based on credential status.
|
void |
setTagFilters(TagFilter[] TagFilters)
Set Tag filter.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ListSecretsRequest()
public ListSecretsRequest(ListSecretsRequest source)
public Long getOffset()
public void setOffset(Long Offset)
Offset
- Starting position of the list, starting at 0. If not specified, 0 is used by default.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Maximum number of returned Secrets in a query. If not set or set to 0, 20 is used by default.public Long getOrderType()
public void setOrderType(Long OrderType)
OrderType
- Sorting order according to the creation time. If not set or set to 0, descending order is used; if set to 1, ascending order is used.public Long getState()
public void setState(Long State)
State
- Filter based on credential status.
The default value is 0, indicating to query all.
1: query the list of credentials in `Enabled` status.
2: query the list of credentials in `Disabled` status.
3: query the list of credentials in `PendingDelete` status.
4: query the list of credentials in `PendingCreate` status.
5: query the list of credentials in `CreateFailed` status.
The `PendingCreate` and `CreateFailed` status only take effect when `SecretType` is Tencent Cloud service credentialpublic String getSearchSecretName()
public void setSearchSecretName(String SearchSecretName)
SearchSecretName
- Filter according to Secret names. If left empty, this filter is not applied.public TagFilter[] getTagFilters()
public void setTagFilters(TagFilter[] TagFilters)
TagFilters
- Tag filter.public Long getSecretType()
public void setSecretType(Long SecretType)
SecretType
- `0` (default): user-defined secret.
`1`: Tencent Cloud services secret.
`2`: SSH key secret.
`3`: Tencent Cloud API key secret.public String getProductName()
public void setProductName(String ProductName)
ProductName
- This parameter is valid only when SecretType is `1`.
An empty value indicates querying all types of Tencent Cloud service secrets.
`Mysql`: queries MySQL database credentials.
`Tdsql-mysql`: queries TDSQL MySQL database credentials.Copyright © 2024. All rights reserved.