Documentation
¶
Index ¶
- type CancelKeyDeletionRequest
- type CancelKeyDeletionResponse
- type CancelKeyDeletionResult
- type CancelKeyVersionDeletionRequest
- func NewCancelKeyVersionDeletionRequest(keyId string, version string) *CancelKeyVersionDeletionRequest
- func NewCancelKeyVersionDeletionRequestWithAllParams(keyId string, version string) *CancelKeyVersionDeletionRequest
- func NewCancelKeyVersionDeletionRequestWithoutParam() *CancelKeyVersionDeletionRequest
- type CancelKeyVersionDeletionResponse
- type CancelKeyVersionDeletionResult
- type CreateKeyRequest
- type CreateKeyResponse
- type CreateKeyResult
- type CreateSecretRequest
- type CreateSecretResponse
- type CreateSecretResult
- type CreateSecretVersionRequest
- func NewCreateSecretVersionRequest(secretId string, secretVersionCfg *kms.SecretVersionCfg) *CreateSecretVersionRequest
- func NewCreateSecretVersionRequestWithAllParams(secretId string, secretVersionCfg *kms.SecretVersionCfg) *CreateSecretVersionRequest
- func NewCreateSecretVersionRequestWithoutParam() *CreateSecretVersionRequest
- type CreateSecretVersionResponse
- type CreateSecretVersionResult
- type DecryptRequest
- type DecryptResponse
- type DecryptResult
- type DeleteSecretRequest
- type DeleteSecretResponse
- type DeleteSecretResult
- type DeleteSecretVersionRequest
- type DeleteSecretVersionResponse
- type DeleteSecretVersionResult
- type DescribeKeyDetailRequest
- type DescribeKeyDetailResponse
- type DescribeKeyDetailResult
- type DescribeKeyListRequest
- type DescribeKeyListResponse
- type DescribeKeyListResult
- type DescribeKeyRequest
- type DescribeKeyResponse
- type DescribeKeyResult
- type DescribeSecretListRequest
- type DescribeSecretListResponse
- type DescribeSecretListResult
- type DescribeSecretVersionInfoRequest
- func NewDescribeSecretVersionInfoRequest(secretId string, version string) *DescribeSecretVersionInfoRequest
- func NewDescribeSecretVersionInfoRequestWithAllParams(secretId string, version string) *DescribeSecretVersionInfoRequest
- func NewDescribeSecretVersionInfoRequestWithoutParam() *DescribeSecretVersionInfoRequest
- type DescribeSecretVersionInfoResponse
- type DescribeSecretVersionInfoResult
- type DescribeSecretVersionListRequest
- func NewDescribeSecretVersionListRequest(secretId string) *DescribeSecretVersionListRequest
- func NewDescribeSecretVersionListRequestWithAllParams(secretId string, pageNumber *int, pageSize *int) *DescribeSecretVersionListRequest
- func NewDescribeSecretVersionListRequestWithoutParam() *DescribeSecretVersionListRequest
- type DescribeSecretVersionListResponse
- type DescribeSecretVersionListResult
- type DisableKeyRequest
- type DisableKeyResponse
- type DisableKeyResult
- type DisableKeyVersionRequest
- type DisableKeyVersionResponse
- type DisableKeyVersionResult
- type DisableSecretRequest
- type DisableSecretResponse
- type DisableSecretResult
- type DisableSecretVersionRequest
- type DisableSecretVersionResponse
- type DisableSecretVersionResult
- type EnableKeyRequest
- type EnableKeyResponse
- type EnableKeyResult
- type EnableKeyVersionRequest
- type EnableKeyVersionResponse
- type EnableKeyVersionResult
- type EnableSecretRequest
- type EnableSecretResponse
- type EnableSecretResult
- type EnableSecretVersionRequest
- type EnableSecretVersionResponse
- type EnableSecretVersionResult
- type EncryptRequest
- type EncryptResponse
- type EncryptResult
- type ExportSecretRequest
- type ExportSecretResponse
- type ExportSecretResult
- type GenerateDataKeyRequest
- type GenerateDataKeyResponse
- type GenerateDataKeyResult
- type ImportSecretRequest
- type ImportSecretResponse
- type ImportSecretResult
- type KeyRotationRequest
- type KeyRotationResponse
- type KeyRotationResult
- type ScheduleKeyDeletionRequest
- type ScheduleKeyDeletionResponse
- type ScheduleKeyDeletionResult
- type ScheduleKeyVersionDeletionRequest
- func NewScheduleKeyVersionDeletionRequest(keyId string, version string) *ScheduleKeyVersionDeletionRequest
- func NewScheduleKeyVersionDeletionRequestWithAllParams(keyId string, version string, delayDays *int) *ScheduleKeyVersionDeletionRequest
- func NewScheduleKeyVersionDeletionRequestWithoutParam() *ScheduleKeyVersionDeletionRequest
- type ScheduleKeyVersionDeletionResponse
- type ScheduleKeyVersionDeletionResult
- type UpdateKeyDescriptionRequest
- type UpdateKeyDescriptionResponse
- type UpdateKeyDescriptionResult
- type UpdateSecretRequest
- type UpdateSecretResponse
- type UpdateSecretResult
- type UpdateSecretVersionRequest
- func NewUpdateSecretVersionRequest(secretId string, version string, secretTimeCfg *kms.SecretTimeCfg) *UpdateSecretVersionRequest
- func NewUpdateSecretVersionRequestWithAllParams(secretId string, version string, secretTimeCfg *kms.SecretTimeCfg) *UpdateSecretVersionRequest
- func NewUpdateSecretVersionRequestWithoutParam() *UpdateSecretVersionRequest
- type UpdateSecretVersionResponse
- type UpdateSecretVersionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelKeyDeletionRequest ¶
type CancelKeyDeletionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewCancelKeyDeletionRequest ¶
func NewCancelKeyDeletionRequest( keyId string, ) *CancelKeyDeletionRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCancelKeyDeletionRequestWithAllParams ¶
func NewCancelKeyDeletionRequestWithAllParams( keyId string, ) *CancelKeyDeletionRequest
* param keyId: 密钥ID (Required)
func NewCancelKeyDeletionRequestWithoutParam ¶
func NewCancelKeyDeletionRequestWithoutParam() *CancelKeyDeletionRequest
This constructor has better compatible ability when API parameters changed
func (CancelKeyDeletionRequest) GetRegionId ¶
func (r CancelKeyDeletionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CancelKeyDeletionRequest) SetKeyId ¶
func (r *CancelKeyDeletionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type CancelKeyDeletionResponse ¶
type CancelKeyDeletionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CancelKeyDeletionResult `json:"result"`
}
type CancelKeyDeletionResult ¶
type CancelKeyDeletionResult struct {
}
type CancelKeyVersionDeletionRequest ¶
type CancelKeyVersionDeletionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 密钥版本 */
Version string `json:"version"`
}
func NewCancelKeyVersionDeletionRequest ¶
func NewCancelKeyVersionDeletionRequest( keyId string, version string, ) *CancelKeyVersionDeletionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCancelKeyVersionDeletionRequestWithAllParams ¶
func NewCancelKeyVersionDeletionRequestWithAllParams( keyId string, version string, ) *CancelKeyVersionDeletionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required)
func NewCancelKeyVersionDeletionRequestWithoutParam ¶
func NewCancelKeyVersionDeletionRequestWithoutParam() *CancelKeyVersionDeletionRequest
This constructor has better compatible ability when API parameters changed
func (CancelKeyVersionDeletionRequest) GetRegionId ¶
func (r CancelKeyVersionDeletionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CancelKeyVersionDeletionRequest) SetKeyId ¶
func (r *CancelKeyVersionDeletionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*CancelKeyVersionDeletionRequest) SetVersion ¶
func (r *CancelKeyVersionDeletionRequest) SetVersion(version string)
param version: 密钥版本(Required)
type CancelKeyVersionDeletionResponse ¶
type CancelKeyVersionDeletionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CancelKeyVersionDeletionResult `json:"result"`
}
type CancelKeyVersionDeletionResult ¶
type CancelKeyVersionDeletionResult struct {
}
type CreateKeyRequest ¶
type CreateKeyRequest struct {
core.JDCloudRequest
/* */
KeyCfg *kms.KeyCfg `json:"keyCfg"`
}
func NewCreateKeyRequest ¶
func NewCreateKeyRequest( keyCfg *kms.KeyCfg, ) *CreateKeyRequest
* param keyCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateKeyRequestWithAllParams ¶
func NewCreateKeyRequestWithAllParams( keyCfg *kms.KeyCfg, ) *CreateKeyRequest
* param keyCfg: (Required)
func NewCreateKeyRequestWithoutParam ¶
func NewCreateKeyRequestWithoutParam() *CreateKeyRequest
This constructor has better compatible ability when API parameters changed
func (CreateKeyRequest) GetRegionId ¶
func (r CreateKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateKeyRequest) SetKeyCfg ¶
func (r *CreateKeyRequest) SetKeyCfg(keyCfg *kms.KeyCfg)
param keyCfg: (Required)
type CreateKeyResponse ¶
type CreateKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateKeyResult `json:"result"`
}
type CreateKeyResult ¶
type CreateKeyResult struct {
}
type CreateSecretRequest ¶
type CreateSecretRequest struct {
core.JDCloudRequest
/* */
SecretCfg *kms.SecretCfg `json:"secretCfg"`
}
func NewCreateSecretRequest ¶
func NewCreateSecretRequest( secretCfg *kms.SecretCfg, ) *CreateSecretRequest
* param secretCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSecretRequestWithAllParams ¶
func NewCreateSecretRequestWithAllParams( secretCfg *kms.SecretCfg, ) *CreateSecretRequest
* param secretCfg: (Required)
func NewCreateSecretRequestWithoutParam ¶
func NewCreateSecretRequestWithoutParam() *CreateSecretRequest
This constructor has better compatible ability when API parameters changed
func (CreateSecretRequest) GetRegionId ¶
func (r CreateSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSecretRequest) SetSecretCfg ¶
func (r *CreateSecretRequest) SetSecretCfg(secretCfg *kms.SecretCfg)
param secretCfg: (Required)
type CreateSecretResponse ¶
type CreateSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateSecretResult `json:"result"`
}
type CreateSecretResult ¶
type CreateSecretResult struct {
}
type CreateSecretVersionRequest ¶
type CreateSecretVersionRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* */
SecretVersionCfg *kms.SecretVersionCfg `json:"secretVersionCfg"`
}
func NewCreateSecretVersionRequest ¶
func NewCreateSecretVersionRequest( secretId string, secretVersionCfg *kms.SecretVersionCfg, ) *CreateSecretVersionRequest
* param secretId: 机密ID (Required) * param secretVersionCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSecretVersionRequestWithAllParams ¶
func NewCreateSecretVersionRequestWithAllParams( secretId string, secretVersionCfg *kms.SecretVersionCfg, ) *CreateSecretVersionRequest
* param secretId: 机密ID (Required) * param secretVersionCfg: (Required)
func NewCreateSecretVersionRequestWithoutParam ¶
func NewCreateSecretVersionRequestWithoutParam() *CreateSecretVersionRequest
This constructor has better compatible ability when API parameters changed
func (CreateSecretVersionRequest) GetRegionId ¶
func (r CreateSecretVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSecretVersionRequest) SetSecretId ¶
func (r *CreateSecretVersionRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*CreateSecretVersionRequest) SetSecretVersionCfg ¶
func (r *CreateSecretVersionRequest) SetSecretVersionCfg(secretVersionCfg *kms.SecretVersionCfg)
param secretVersionCfg: (Required)
type CreateSecretVersionResponse ¶
type CreateSecretVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateSecretVersionResult `json:"result"`
}
type CreateSecretVersionResult ¶
type CreateSecretVersionResult struct {
}
type DecryptRequest ¶
type DecryptRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 密文数据 Base64-encoded binary data object (Optional) */
CiphertextBlob *string `json:"ciphertextBlob"`
}
func NewDecryptRequest ¶
func NewDecryptRequest( keyId string, ) *DecryptRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDecryptRequestWithAllParams ¶
func NewDecryptRequestWithAllParams( keyId string, ciphertextBlob *string, ) *DecryptRequest
* param keyId: 密钥ID (Required) * param ciphertextBlob: 密文数据 Base64-encoded binary data object (Optional)
func NewDecryptRequestWithoutParam ¶
func NewDecryptRequestWithoutParam() *DecryptRequest
This constructor has better compatible ability when API parameters changed
func (DecryptRequest) GetRegionId ¶
func (r DecryptRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DecryptRequest) SetCiphertextBlob ¶
func (r *DecryptRequest) SetCiphertextBlob(ciphertextBlob string)
param ciphertextBlob: 密文数据 Base64-encoded binary data object(Optional)
func (*DecryptRequest) SetKeyId ¶
func (r *DecryptRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type DecryptResponse ¶
type DecryptResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DecryptResult `json:"result"`
}
type DecryptResult ¶
type DecryptResult struct {
Plaintext string `json:"plaintext"`
}
type DeleteSecretRequest ¶
type DeleteSecretRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
}
func NewDeleteSecretRequest ¶
func NewDeleteSecretRequest( secretId string, ) *DeleteSecretRequest
* param secretId: 机密ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSecretRequestWithAllParams ¶
func NewDeleteSecretRequestWithAllParams( secretId string, ) *DeleteSecretRequest
* param secretId: 机密ID (Required)
func NewDeleteSecretRequestWithoutParam ¶
func NewDeleteSecretRequestWithoutParam() *DeleteSecretRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSecretRequest) GetRegionId ¶
func (r DeleteSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSecretRequest) SetSecretId ¶
func (r *DeleteSecretRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type DeleteSecretResponse ¶
type DeleteSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteSecretResult `json:"result"`
}
type DeleteSecretResult ¶
type DeleteSecretResult struct {
}
type DeleteSecretVersionRequest ¶
type DeleteSecretVersionRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 机密版本 */
Version string `json:"version"`
}
func NewDeleteSecretVersionRequest ¶
func NewDeleteSecretVersionRequest( secretId string, version string, ) *DeleteSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSecretVersionRequestWithAllParams ¶
func NewDeleteSecretVersionRequestWithAllParams( secretId string, version string, ) *DeleteSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required)
func NewDeleteSecretVersionRequestWithoutParam ¶
func NewDeleteSecretVersionRequestWithoutParam() *DeleteSecretVersionRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSecretVersionRequest) GetRegionId ¶
func (r DeleteSecretVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSecretVersionRequest) SetSecretId ¶
func (r *DeleteSecretVersionRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*DeleteSecretVersionRequest) SetVersion ¶
func (r *DeleteSecretVersionRequest) SetVersion(version string)
param version: 机密版本(Required)
type DeleteSecretVersionResponse ¶
type DeleteSecretVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteSecretVersionResult `json:"result"`
}
type DeleteSecretVersionResult ¶
type DeleteSecretVersionResult struct {
}
type DescribeKeyDetailRequest ¶
type DescribeKeyDetailRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为10;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeKeyDetailRequest ¶
func NewDescribeKeyDetailRequest( keyId string, ) *DescribeKeyDetailRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKeyDetailRequestWithAllParams ¶
func NewDescribeKeyDetailRequestWithAllParams( keyId string, pageNumber *int, pageSize *int, ) *DescribeKeyDetailRequest
* param keyId: 密钥ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional)
func NewDescribeKeyDetailRequestWithoutParam ¶
func NewDescribeKeyDetailRequestWithoutParam() *DescribeKeyDetailRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKeyDetailRequest) GetRegionId ¶
func (r DescribeKeyDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKeyDetailRequest) SetKeyId ¶
func (r *DescribeKeyDetailRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*DescribeKeyDetailRequest) SetPageNumber ¶
func (r *DescribeKeyDetailRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeKeyDetailRequest) SetPageSize ¶
func (r *DescribeKeyDetailRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
type DescribeKeyDetailResponse ¶
type DescribeKeyDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeKeyDetailResult `json:"result"`
}
type DescribeKeyDetailResult ¶
type DescribeKeyListRequest ¶
type DescribeKeyListRequest struct {
core.JDCloudRequest
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为10;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeKeyListRequest ¶
func NewDescribeKeyListRequest() *DescribeKeyListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKeyListRequestWithAllParams ¶
func NewDescribeKeyListRequestWithAllParams( pageNumber *int, pageSize *int, ) *DescribeKeyListRequest
* param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional)
func NewDescribeKeyListRequestWithoutParam ¶
func NewDescribeKeyListRequestWithoutParam() *DescribeKeyListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKeyListRequest) GetRegionId ¶
func (r DescribeKeyListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKeyListRequest) SetPageNumber ¶
func (r *DescribeKeyListRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeKeyListRequest) SetPageSize ¶
func (r *DescribeKeyListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
type DescribeKeyListResponse ¶
type DescribeKeyListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeKeyListResult `json:"result"`
}
type DescribeKeyListResult ¶
type DescribeKeyRequest ¶
type DescribeKeyRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewDescribeKeyRequest ¶
func NewDescribeKeyRequest( keyId string, ) *DescribeKeyRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKeyRequestWithAllParams ¶
func NewDescribeKeyRequestWithAllParams( keyId string, ) *DescribeKeyRequest
* param keyId: 密钥ID (Required)
func NewDescribeKeyRequestWithoutParam ¶
func NewDescribeKeyRequestWithoutParam() *DescribeKeyRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKeyRequest) GetRegionId ¶
func (r DescribeKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKeyRequest) SetKeyId ¶
func (r *DescribeKeyRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type DescribeKeyResponse ¶
type DescribeKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeKeyResult `json:"result"`
}
type DescribeKeyResult ¶
type DescribeSecretListRequest ¶
type DescribeSecretListRequest struct {
core.JDCloudRequest
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为10;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeSecretListRequest ¶
func NewDescribeSecretListRequest() *DescribeSecretListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSecretListRequestWithAllParams ¶
func NewDescribeSecretListRequestWithAllParams( pageNumber *int, pageSize *int, ) *DescribeSecretListRequest
* param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional)
func NewDescribeSecretListRequestWithoutParam ¶
func NewDescribeSecretListRequestWithoutParam() *DescribeSecretListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSecretListRequest) GetRegionId ¶
func (r DescribeSecretListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSecretListRequest) SetPageNumber ¶
func (r *DescribeSecretListRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeSecretListRequest) SetPageSize ¶
func (r *DescribeSecretListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
type DescribeSecretListResponse ¶
type DescribeSecretListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeSecretListResult `json:"result"`
}
type DescribeSecretListResult ¶
type DescribeSecretListResult struct {
SecretList []kms.SecretInfo `json:"secretList"`
TotalCount int `json:"totalCount"`
}
type DescribeSecretVersionInfoRequest ¶
type DescribeSecretVersionInfoRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 机密版本 */
Version string `json:"version"`
}
func NewDescribeSecretVersionInfoRequest ¶
func NewDescribeSecretVersionInfoRequest( secretId string, version string, ) *DescribeSecretVersionInfoRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSecretVersionInfoRequestWithAllParams ¶
func NewDescribeSecretVersionInfoRequestWithAllParams( secretId string, version string, ) *DescribeSecretVersionInfoRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required)
func NewDescribeSecretVersionInfoRequestWithoutParam ¶
func NewDescribeSecretVersionInfoRequestWithoutParam() *DescribeSecretVersionInfoRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSecretVersionInfoRequest) GetRegionId ¶
func (r DescribeSecretVersionInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSecretVersionInfoRequest) SetSecretId ¶
func (r *DescribeSecretVersionInfoRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*DescribeSecretVersionInfoRequest) SetVersion ¶
func (r *DescribeSecretVersionInfoRequest) SetVersion(version string)
param version: 机密版本(Required)
type DescribeSecretVersionInfoResponse ¶
type DescribeSecretVersionInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeSecretVersionInfoResult `json:"result"`
}
type DescribeSecretVersionInfoResult ¶
type DescribeSecretVersionInfoResult struct {
SecretVersionItem kms.SecretVersionItem `json:"secretVersionItem"`
}
type DescribeSecretVersionListRequest ¶
type DescribeSecretVersionListRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为10;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeSecretVersionListRequest ¶
func NewDescribeSecretVersionListRequest( secretId string, ) *DescribeSecretVersionListRequest
* param secretId: 机密ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSecretVersionListRequestWithAllParams ¶
func NewDescribeSecretVersionListRequestWithAllParams( secretId string, pageNumber *int, pageSize *int, ) *DescribeSecretVersionListRequest
* param secretId: 机密ID (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为10;取值范围[10, 100] (Optional)
func NewDescribeSecretVersionListRequestWithoutParam ¶
func NewDescribeSecretVersionListRequestWithoutParam() *DescribeSecretVersionListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSecretVersionListRequest) GetRegionId ¶
func (r DescribeSecretVersionListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSecretVersionListRequest) SetPageNumber ¶
func (r *DescribeSecretVersionListRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeSecretVersionListRequest) SetPageSize ¶
func (r *DescribeSecretVersionListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[10, 100](Optional)
func (*DescribeSecretVersionListRequest) SetSecretId ¶
func (r *DescribeSecretVersionListRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type DescribeSecretVersionListResponse ¶
type DescribeSecretVersionListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeSecretVersionListResult `json:"result"`
}
type DescribeSecretVersionListResult ¶
type DescribeSecretVersionListResult struct {
SecretDetail kms.SecretDetail `json:"secretDetail"`
}
type DisableKeyRequest ¶
type DisableKeyRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewDisableKeyRequest ¶
func NewDisableKeyRequest( keyId string, ) *DisableKeyRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableKeyRequestWithAllParams ¶
func NewDisableKeyRequestWithAllParams( keyId string, ) *DisableKeyRequest
* param keyId: 密钥ID (Required)
func NewDisableKeyRequestWithoutParam ¶
func NewDisableKeyRequestWithoutParam() *DisableKeyRequest
This constructor has better compatible ability when API parameters changed
func (DisableKeyRequest) GetRegionId ¶
func (r DisableKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableKeyRequest) SetKeyId ¶
func (r *DisableKeyRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type DisableKeyResponse ¶
type DisableKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableKeyResult `json:"result"`
}
type DisableKeyResult ¶
type DisableKeyResult struct {
}
type DisableKeyVersionRequest ¶
type DisableKeyVersionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 密钥版本 */
Version string `json:"version"`
}
func NewDisableKeyVersionRequest ¶
func NewDisableKeyVersionRequest( keyId string, version string, ) *DisableKeyVersionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableKeyVersionRequestWithAllParams ¶
func NewDisableKeyVersionRequestWithAllParams( keyId string, version string, ) *DisableKeyVersionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required)
func NewDisableKeyVersionRequestWithoutParam ¶
func NewDisableKeyVersionRequestWithoutParam() *DisableKeyVersionRequest
This constructor has better compatible ability when API parameters changed
func (DisableKeyVersionRequest) GetRegionId ¶
func (r DisableKeyVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableKeyVersionRequest) SetKeyId ¶
func (r *DisableKeyVersionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*DisableKeyVersionRequest) SetVersion ¶
func (r *DisableKeyVersionRequest) SetVersion(version string)
param version: 密钥版本(Required)
type DisableKeyVersionResponse ¶
type DisableKeyVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableKeyVersionResult `json:"result"`
}
type DisableKeyVersionResult ¶
type DisableKeyVersionResult struct {
}
type DisableSecretRequest ¶
type DisableSecretRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
}
func NewDisableSecretRequest ¶
func NewDisableSecretRequest( secretId string, ) *DisableSecretRequest
* param secretId: 机密ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableSecretRequestWithAllParams ¶
func NewDisableSecretRequestWithAllParams( secretId string, ) *DisableSecretRequest
* param secretId: 机密ID (Required)
func NewDisableSecretRequestWithoutParam ¶
func NewDisableSecretRequestWithoutParam() *DisableSecretRequest
This constructor has better compatible ability when API parameters changed
func (DisableSecretRequest) GetRegionId ¶
func (r DisableSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableSecretRequest) SetSecretId ¶
func (r *DisableSecretRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type DisableSecretResponse ¶
type DisableSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableSecretResult `json:"result"`
}
type DisableSecretResult ¶
type DisableSecretResult struct {
}
type DisableSecretVersionRequest ¶
type DisableSecretVersionRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 机密版本 */
Version string `json:"version"`
}
func NewDisableSecretVersionRequest ¶
func NewDisableSecretVersionRequest( secretId string, version string, ) *DisableSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableSecretVersionRequestWithAllParams ¶
func NewDisableSecretVersionRequestWithAllParams( secretId string, version string, ) *DisableSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required)
func NewDisableSecretVersionRequestWithoutParam ¶
func NewDisableSecretVersionRequestWithoutParam() *DisableSecretVersionRequest
This constructor has better compatible ability when API parameters changed
func (DisableSecretVersionRequest) GetRegionId ¶
func (r DisableSecretVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableSecretVersionRequest) SetSecretId ¶
func (r *DisableSecretVersionRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*DisableSecretVersionRequest) SetVersion ¶
func (r *DisableSecretVersionRequest) SetVersion(version string)
param version: 机密版本(Required)
type DisableSecretVersionResponse ¶
type DisableSecretVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableSecretVersionResult `json:"result"`
}
type DisableSecretVersionResult ¶
type DisableSecretVersionResult struct {
}
type EnableKeyRequest ¶
type EnableKeyRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewEnableKeyRequest ¶
func NewEnableKeyRequest( keyId string, ) *EnableKeyRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableKeyRequestWithAllParams ¶
func NewEnableKeyRequestWithAllParams( keyId string, ) *EnableKeyRequest
* param keyId: 密钥ID (Required)
func NewEnableKeyRequestWithoutParam ¶
func NewEnableKeyRequestWithoutParam() *EnableKeyRequest
This constructor has better compatible ability when API parameters changed
func (EnableKeyRequest) GetRegionId ¶
func (r EnableKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableKeyRequest) SetKeyId ¶
func (r *EnableKeyRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type EnableKeyResponse ¶
type EnableKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableKeyResult `json:"result"`
}
type EnableKeyResult ¶
type EnableKeyResult struct {
}
type EnableKeyVersionRequest ¶
type EnableKeyVersionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 密钥版本 */
Version string `json:"version"`
}
func NewEnableKeyVersionRequest ¶
func NewEnableKeyVersionRequest( keyId string, version string, ) *EnableKeyVersionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableKeyVersionRequestWithAllParams ¶
func NewEnableKeyVersionRequestWithAllParams( keyId string, version string, ) *EnableKeyVersionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required)
func NewEnableKeyVersionRequestWithoutParam ¶
func NewEnableKeyVersionRequestWithoutParam() *EnableKeyVersionRequest
This constructor has better compatible ability when API parameters changed
func (EnableKeyVersionRequest) GetRegionId ¶
func (r EnableKeyVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableKeyVersionRequest) SetKeyId ¶
func (r *EnableKeyVersionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*EnableKeyVersionRequest) SetVersion ¶
func (r *EnableKeyVersionRequest) SetVersion(version string)
param version: 密钥版本(Required)
type EnableKeyVersionResponse ¶
type EnableKeyVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableKeyVersionResult `json:"result"`
}
type EnableKeyVersionResult ¶
type EnableKeyVersionResult struct {
}
type EnableSecretRequest ¶
type EnableSecretRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
}
func NewEnableSecretRequest ¶
func NewEnableSecretRequest( secretId string, ) *EnableSecretRequest
* param secretId: 机密ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableSecretRequestWithAllParams ¶
func NewEnableSecretRequestWithAllParams( secretId string, ) *EnableSecretRequest
* param secretId: 机密ID (Required)
func NewEnableSecretRequestWithoutParam ¶
func NewEnableSecretRequestWithoutParam() *EnableSecretRequest
This constructor has better compatible ability when API parameters changed
func (EnableSecretRequest) GetRegionId ¶
func (r EnableSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableSecretRequest) SetSecretId ¶
func (r *EnableSecretRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type EnableSecretResponse ¶
type EnableSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableSecretResult `json:"result"`
}
type EnableSecretResult ¶
type EnableSecretResult struct {
}
type EnableSecretVersionRequest ¶
type EnableSecretVersionRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 机密版本 */
Version string `json:"version"`
}
func NewEnableSecretVersionRequest ¶
func NewEnableSecretVersionRequest( secretId string, version string, ) *EnableSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableSecretVersionRequestWithAllParams ¶
func NewEnableSecretVersionRequestWithAllParams( secretId string, version string, ) *EnableSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required)
func NewEnableSecretVersionRequestWithoutParam ¶
func NewEnableSecretVersionRequestWithoutParam() *EnableSecretVersionRequest
This constructor has better compatible ability when API parameters changed
func (EnableSecretVersionRequest) GetRegionId ¶
func (r EnableSecretVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableSecretVersionRequest) SetSecretId ¶
func (r *EnableSecretVersionRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*EnableSecretVersionRequest) SetVersion ¶
func (r *EnableSecretVersionRequest) SetVersion(version string)
param version: 机密版本(Required)
type EnableSecretVersionResponse ¶
type EnableSecretVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableSecretVersionResult `json:"result"`
}
type EnableSecretVersionResult ¶
type EnableSecretVersionResult struct {
}
type EncryptRequest ¶
type EncryptRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 明文数据 Base64-encoded binary data object (Optional) */
Plaintext *string `json:"plaintext"`
}
func NewEncryptRequest ¶
func NewEncryptRequest( keyId string, ) *EncryptRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEncryptRequestWithAllParams ¶
func NewEncryptRequestWithAllParams( keyId string, plaintext *string, ) *EncryptRequest
* param keyId: 密钥ID (Required) * param plaintext: 明文数据 Base64-encoded binary data object (Optional)
func NewEncryptRequestWithoutParam ¶
func NewEncryptRequestWithoutParam() *EncryptRequest
This constructor has better compatible ability when API parameters changed
func (EncryptRequest) GetRegionId ¶
func (r EncryptRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EncryptRequest) SetKeyId ¶
func (r *EncryptRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*EncryptRequest) SetPlaintext ¶
func (r *EncryptRequest) SetPlaintext(plaintext string)
param plaintext: 明文数据 Base64-encoded binary data object(Optional)
type EncryptResponse ¶
type EncryptResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EncryptResult `json:"result"`
}
type EncryptResult ¶
type EncryptResult struct {
CiphertextBlob string `json:"ciphertextBlob"`
}
type ExportSecretRequest ¶
type ExportSecretRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
}
func NewExportSecretRequest ¶
func NewExportSecretRequest( secretId string, ) *ExportSecretRequest
* param secretId: 机密ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewExportSecretRequestWithAllParams ¶
func NewExportSecretRequestWithAllParams( secretId string, ) *ExportSecretRequest
* param secretId: 机密ID (Required)
func NewExportSecretRequestWithoutParam ¶
func NewExportSecretRequestWithoutParam() *ExportSecretRequest
This constructor has better compatible ability when API parameters changed
func (ExportSecretRequest) GetRegionId ¶
func (r ExportSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExportSecretRequest) SetSecretId ¶
func (r *ExportSecretRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type ExportSecretResponse ¶
type ExportSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ExportSecretResult `json:"result"`
}
type ExportSecretResult ¶
type ExportSecretResult struct {
SecretPackage string `json:"secretPackage"`
}
type GenerateDataKeyRequest ¶
type GenerateDataKeyRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewGenerateDataKeyRequest ¶
func NewGenerateDataKeyRequest( keyId string, ) *GenerateDataKeyRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGenerateDataKeyRequestWithAllParams ¶
func NewGenerateDataKeyRequestWithAllParams( keyId string, ) *GenerateDataKeyRequest
* param keyId: 密钥ID (Required)
func NewGenerateDataKeyRequestWithoutParam ¶
func NewGenerateDataKeyRequestWithoutParam() *GenerateDataKeyRequest
This constructor has better compatible ability when API parameters changed
func (GenerateDataKeyRequest) GetRegionId ¶
func (r GenerateDataKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GenerateDataKeyRequest) SetKeyId ¶
func (r *GenerateDataKeyRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type GenerateDataKeyResponse ¶
type GenerateDataKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GenerateDataKeyResult `json:"result"`
}
type GenerateDataKeyResult ¶
type ImportSecretRequest ¶
type ImportSecretRequest struct {
core.JDCloudRequest
/* 密钥包的内容 (Optional) */
SecretPackage *string `json:"secretPackage"`
}
func NewImportSecretRequest ¶
func NewImportSecretRequest() *ImportSecretRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewImportSecretRequestWithAllParams ¶
func NewImportSecretRequestWithAllParams( secretPackage *string, ) *ImportSecretRequest
* param secretPackage: 密钥包的内容 (Optional)
func NewImportSecretRequestWithoutParam ¶
func NewImportSecretRequestWithoutParam() *ImportSecretRequest
This constructor has better compatible ability when API parameters changed
func (ImportSecretRequest) GetRegionId ¶
func (r ImportSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ImportSecretRequest) SetSecretPackage ¶
func (r *ImportSecretRequest) SetSecretPackage(secretPackage string)
param secretPackage: 密钥包的内容(Optional)
type ImportSecretResponse ¶
type ImportSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ImportSecretResult `json:"result"`
}
type ImportSecretResult ¶
type ImportSecretResult struct {
}
type KeyRotationRequest ¶
type KeyRotationRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
}
func NewKeyRotationRequest ¶
func NewKeyRotationRequest( keyId string, ) *KeyRotationRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewKeyRotationRequestWithAllParams ¶
func NewKeyRotationRequestWithAllParams( keyId string, ) *KeyRotationRequest
* param keyId: 密钥ID (Required)
func NewKeyRotationRequestWithoutParam ¶
func NewKeyRotationRequestWithoutParam() *KeyRotationRequest
This constructor has better compatible ability when API parameters changed
func (KeyRotationRequest) GetRegionId ¶
func (r KeyRotationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*KeyRotationRequest) SetKeyId ¶
func (r *KeyRotationRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type KeyRotationResponse ¶
type KeyRotationResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result KeyRotationResult `json:"result"`
}
type KeyRotationResult ¶
type KeyRotationResult struct {
}
type ScheduleKeyDeletionRequest ¶
type ScheduleKeyDeletionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天 (Optional) */
DelayDays *int `json:"delayDays"`
}
func NewScheduleKeyDeletionRequest ¶
func NewScheduleKeyDeletionRequest( keyId string, ) *ScheduleKeyDeletionRequest
* param keyId: 密钥ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewScheduleKeyDeletionRequestWithAllParams ¶
func NewScheduleKeyDeletionRequestWithAllParams( keyId string, delayDays *int, ) *ScheduleKeyDeletionRequest
* param keyId: 密钥ID (Required) * param delayDays: 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天 (Optional)
func NewScheduleKeyDeletionRequestWithoutParam ¶
func NewScheduleKeyDeletionRequestWithoutParam() *ScheduleKeyDeletionRequest
This constructor has better compatible ability when API parameters changed
func (ScheduleKeyDeletionRequest) GetRegionId ¶
func (r ScheduleKeyDeletionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ScheduleKeyDeletionRequest) SetDelayDays ¶
func (r *ScheduleKeyDeletionRequest) SetDelayDays(delayDays int)
param delayDays: 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天(Optional)
func (*ScheduleKeyDeletionRequest) SetKeyId ¶
func (r *ScheduleKeyDeletionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type ScheduleKeyDeletionResponse ¶
type ScheduleKeyDeletionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ScheduleKeyDeletionResult `json:"result"`
}
type ScheduleKeyDeletionResult ¶
type ScheduleKeyDeletionResult struct {
}
type ScheduleKeyVersionDeletionRequest ¶
type ScheduleKeyVersionDeletionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* 密钥版本 */
Version string `json:"version"`
/* 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天 (Optional) */
DelayDays *int `json:"delayDays"`
}
func NewScheduleKeyVersionDeletionRequest ¶
func NewScheduleKeyVersionDeletionRequest( keyId string, version string, ) *ScheduleKeyVersionDeletionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewScheduleKeyVersionDeletionRequestWithAllParams ¶
func NewScheduleKeyVersionDeletionRequestWithAllParams( keyId string, version string, delayDays *int, ) *ScheduleKeyVersionDeletionRequest
* param keyId: 密钥ID (Required) * param version: 密钥版本 (Required) * param delayDays: 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天 (Optional)
func NewScheduleKeyVersionDeletionRequestWithoutParam ¶
func NewScheduleKeyVersionDeletionRequestWithoutParam() *ScheduleKeyVersionDeletionRequest
This constructor has better compatible ability when API parameters changed
func (ScheduleKeyVersionDeletionRequest) GetRegionId ¶
func (r ScheduleKeyVersionDeletionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ScheduleKeyVersionDeletionRequest) SetDelayDays ¶
func (r *ScheduleKeyVersionDeletionRequest) SetDelayDays(delayDays int)
param delayDays: 延迟删除时间,单位(天),默认为7天;支持时间范围:7~30天(Optional)
func (*ScheduleKeyVersionDeletionRequest) SetKeyId ¶
func (r *ScheduleKeyVersionDeletionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
func (*ScheduleKeyVersionDeletionRequest) SetVersion ¶
func (r *ScheduleKeyVersionDeletionRequest) SetVersion(version string)
param version: 密钥版本(Required)
type ScheduleKeyVersionDeletionResponse ¶
type ScheduleKeyVersionDeletionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ScheduleKeyVersionDeletionResult `json:"result"`
}
type ScheduleKeyVersionDeletionResult ¶
type ScheduleKeyVersionDeletionResult struct {
}
type UpdateKeyDescriptionRequest ¶
type UpdateKeyDescriptionRequest struct {
core.JDCloudRequest
/* 密钥ID */
KeyId string `json:"keyId"`
/* */
KeyCfg *kms.KeyCfg `json:"keyCfg"`
}
func NewUpdateKeyDescriptionRequest ¶
func NewUpdateKeyDescriptionRequest( keyId string, keyCfg *kms.KeyCfg, ) *UpdateKeyDescriptionRequest
* param keyId: 密钥ID (Required) * param keyCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateKeyDescriptionRequestWithAllParams ¶
func NewUpdateKeyDescriptionRequestWithAllParams( keyId string, keyCfg *kms.KeyCfg, ) *UpdateKeyDescriptionRequest
* param keyId: 密钥ID (Required) * param keyCfg: (Required)
func NewUpdateKeyDescriptionRequestWithoutParam ¶
func NewUpdateKeyDescriptionRequestWithoutParam() *UpdateKeyDescriptionRequest
This constructor has better compatible ability when API parameters changed
func (UpdateKeyDescriptionRequest) GetRegionId ¶
func (r UpdateKeyDescriptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateKeyDescriptionRequest) SetKeyCfg ¶
func (r *UpdateKeyDescriptionRequest) SetKeyCfg(keyCfg *kms.KeyCfg)
param keyCfg: (Required)
func (*UpdateKeyDescriptionRequest) SetKeyId ¶
func (r *UpdateKeyDescriptionRequest) SetKeyId(keyId string)
param keyId: 密钥ID(Required)
type UpdateKeyDescriptionResponse ¶
type UpdateKeyDescriptionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateKeyDescriptionResult `json:"result"`
}
type UpdateKeyDescriptionResult ¶
type UpdateKeyDescriptionResult struct {
}
type UpdateSecretRequest ¶
type UpdateSecretRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* */
SecretDescCfg *kms.SecretDescCfg `json:"secretDescCfg"`
}
func NewUpdateSecretRequest ¶
func NewUpdateSecretRequest( secretId string, secretDescCfg *kms.SecretDescCfg, ) *UpdateSecretRequest
* param secretId: 机密ID (Required) * param secretDescCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateSecretRequestWithAllParams ¶
func NewUpdateSecretRequestWithAllParams( secretId string, secretDescCfg *kms.SecretDescCfg, ) *UpdateSecretRequest
* param secretId: 机密ID (Required) * param secretDescCfg: (Required)
func NewUpdateSecretRequestWithoutParam ¶
func NewUpdateSecretRequestWithoutParam() *UpdateSecretRequest
This constructor has better compatible ability when API parameters changed
func (UpdateSecretRequest) GetRegionId ¶
func (r UpdateSecretRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateSecretRequest) SetSecretDescCfg ¶
func (r *UpdateSecretRequest) SetSecretDescCfg(secretDescCfg *kms.SecretDescCfg)
param secretDescCfg: (Required)
func (*UpdateSecretRequest) SetSecretId ¶
func (r *UpdateSecretRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
type UpdateSecretResponse ¶
type UpdateSecretResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateSecretResult `json:"result"`
}
type UpdateSecretResult ¶
type UpdateSecretResult struct {
}
type UpdateSecretVersionRequest ¶
type UpdateSecretVersionRequest struct {
core.JDCloudRequest
/* 机密ID */
SecretId string `json:"secretId"`
/* 机密版本 */
Version string `json:"version"`
/* */
SecretTimeCfg *kms.SecretTimeCfg `json:"secretTimeCfg"`
}
func NewUpdateSecretVersionRequest ¶
func NewUpdateSecretVersionRequest( secretId string, version string, secretTimeCfg *kms.SecretTimeCfg, ) *UpdateSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * param secretTimeCfg: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateSecretVersionRequestWithAllParams ¶
func NewUpdateSecretVersionRequestWithAllParams( secretId string, version string, secretTimeCfg *kms.SecretTimeCfg, ) *UpdateSecretVersionRequest
* param secretId: 机密ID (Required) * param version: 机密版本 (Required) * param secretTimeCfg: (Required)
func NewUpdateSecretVersionRequestWithoutParam ¶
func NewUpdateSecretVersionRequestWithoutParam() *UpdateSecretVersionRequest
This constructor has better compatible ability when API parameters changed
func (UpdateSecretVersionRequest) GetRegionId ¶
func (r UpdateSecretVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateSecretVersionRequest) SetSecretId ¶
func (r *UpdateSecretVersionRequest) SetSecretId(secretId string)
param secretId: 机密ID(Required)
func (*UpdateSecretVersionRequest) SetSecretTimeCfg ¶
func (r *UpdateSecretVersionRequest) SetSecretTimeCfg(secretTimeCfg *kms.SecretTimeCfg)
param secretTimeCfg: (Required)
func (*UpdateSecretVersionRequest) SetVersion ¶
func (r *UpdateSecretVersionRequest) SetVersion(version string)
param version: 机密版本(Required)
type UpdateSecretVersionResponse ¶
type UpdateSecretVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateSecretVersionResult `json:"result"`
}
type UpdateSecretVersionResult ¶
type UpdateSecretVersionResult struct {
}
Source Files
¶
- CancelKeyDeletion.go
- CancelKeyVersionDeletion.go
- CreateKey.go
- CreateSecret.go
- CreateSecretVersion.go
- Decrypt.go
- DeleteSecret.go
- DeleteSecretVersion.go
- DescribeKey.go
- DescribeKeyDetail.go
- DescribeKeyList.go
- DescribeSecretList.go
- DescribeSecretVersionInfo.go
- DescribeSecretVersionList.go
- DisableKey.go
- DisableKeyVersion.go
- DisableSecret.go
- DisableSecretVersion.go
- EnableKey.go
- EnableKeyVersion.go
- EnableSecret.go
- EnableSecretVersion.go
- Encrypt.go
- ExportSecret.go
- GenerateDataKey.go
- ImportSecret.go
- KeyRotation.go
- ScheduleKeyDeletion.go
- ScheduleKeyVersionDeletion.go
- UpdateKeyDescription.go
- UpdateSecret.go
- UpdateSecretVersion.go