Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudSsmProducts() *schema.Resource
- func DataSourceTencentCloudSsmRotationDetail() *schema.Resource
- func DataSourceTencentCloudSsmRotationHistory() *schema.Resource
- func DataSourceTencentCloudSsmSecretVersions() *schema.Resource
- func DataSourceTencentCloudSsmSecrets() *schema.Resource
- func DataSourceTencentCloudSsmServiceStatus() *schema.Resource
- func DataSourceTencentCloudSsmSshKeyPairValue() *schema.Resource
- func ResourceTencentCloudSsmProductSecret() *schema.Resource
- func ResourceTencentCloudSsmRotateProductSecret() *schema.Resource
- func ResourceTencentCloudSsmSecret() *schema.Resource
- func ResourceTencentCloudSsmSecretVersion() *schema.Resource
- func ResourceTencentCloudSsmSshKeyPairSecret() *schema.Resource
- type SecretInfo
- type SecretVersionInfo
- type SsmService
- func (me *SsmService) CreateSecret(ctx context.Context, param map[string]interface{}) (secretName string, errRet error)
- func (me *SsmService) DeleteSecret(ctx context.Context, secretName string, recoveryWindowInDays uint64) (errRet error)
- func (me *SsmService) DeleteSecretVersion(ctx context.Context, secretName, versionId string) (errRet error)
- func (me *SsmService) DeleteSsmProductSecretById(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) DeleteSsmSshKeyPairSecretById(ctx context.Context, secretName string, cleanSSHKey *bool) (errRet error)
- func (me *SsmService) DescribeAsyncRequestInfo(ctx context.Context, flowID int64) (taskStatus int64, errRet error)
- func (me *SsmService) DescribeSecretById(ctx context.Context, secretName string, serviceType uint64) (sshKeyPairSecret *ssm.SecretMetadata, errRet error)
- func (me *SsmService) DescribeSecretByName(ctx context.Context, secretName string) (secret *SecretInfo, errRet error)
- func (me *SsmService) DescribeSecretVersion(ctx context.Context, secretName, versionId string) (secretVersion *SecretVersionInfo, errRet error)
- func (me *SsmService) DescribeSecretVersionIdsByName(ctx context.Context, secretName string) (versionIds []string, errRet error)
- func (me *SsmService) DescribeSecretsByFilter(ctx context.Context, param map[string]interface{}) (secrets []*ssm.SecretMetadata, errRet error)
- func (me *SsmService) DescribeSsmProductsByFilter(ctx context.Context) (products []*string, errRet error)
- func (me *SsmService) DescribeSsmRotationDetailByFilter(ctx context.Context, param map[string]interface{}) (rotationDetail *ssm.DescribeRotationDetailResponseParams, errRet error)
- func (me *SsmService) DescribeSsmRotationHistoryByFilter(ctx context.Context, param map[string]interface{}) (rotationHistory []*string, errRet error)
- func (me *SsmService) DescribeSsmServiceStatusByFilter(ctx context.Context) (ServiceStatus *ssm.GetServiceStatusResponseParams, errRet error)
- func (me *SsmService) DescribeSsmSshKeyPairValueByFilter(ctx context.Context, param map[string]interface{}) (sshKeyPairValue *ssm.GetSSHKeyPairValueResponseParams, errRet error)
- func (me *SsmService) DisableSecret(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) EnableSecret(ctx context.Context, secretName string) (errRet error)
- func (me *SsmService) PutSecretValue(ctx context.Context, param map[string]interface{}) (secretName, versionId string, errRet error)
- func (me *SsmService) SsmProductSecretStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
- func (me *SsmService) UpdateSecret(ctx context.Context, param map[string]interface{}) (errRet error)
- func (me *SsmService) UpdateSecretDescription(ctx context.Context, secretName, description string) (errRet error)
Constants ¶
View Source
const ( SSM_STATUS_ENABLED = "Enabled" SSM_STATUS_DISABLED = "Disabled" SSM_STATUS_PENDINGDELETE = "PendingDelete" )
View Source
const (
SSMResourceNotFound = "ResourceNotFound"
)
View Source
const (
SSM_PAGE_LIMIT = 200
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretInfo ¶
type SecretInfo struct {
// contains filtered or unexported fields
}
func (SecretInfo) Status ¶
func (info SecretInfo) Status() string
type SecretVersionInfo ¶
type SecretVersionInfo struct {
// contains filtered or unexported fields
}
type SsmService ¶
type SsmService struct {
// contains filtered or unexported fields
}
func NewSsmService ¶
func NewSsmService(client *connectivity.TencentCloudClient) SsmService
func (*SsmService) CreateSecret ¶
func (*SsmService) DeleteSecret ¶
func (*SsmService) DeleteSecretVersion ¶
func (me *SsmService) DeleteSecretVersion(ctx context.Context, secretName, versionId string) (errRet error)
func (*SsmService) DeleteSsmProductSecretById ¶
func (me *SsmService) DeleteSsmProductSecretById(ctx context.Context, secretName string) (errRet error)
func (*SsmService) DeleteSsmSshKeyPairSecretById ¶
func (*SsmService) DescribeAsyncRequestInfo ¶
func (*SsmService) DescribeSecretById ¶
func (me *SsmService) DescribeSecretById(ctx context.Context, secretName string, serviceType uint64) (sshKeyPairSecret *ssm.SecretMetadata, errRet error)
func (*SsmService) DescribeSecretByName ¶
func (me *SsmService) DescribeSecretByName(ctx context.Context, secretName string) (secret *SecretInfo, errRet error)
func (*SsmService) DescribeSecretVersion ¶
func (me *SsmService) DescribeSecretVersion(ctx context.Context, secretName, versionId string) (secretVersion *SecretVersionInfo, errRet error)
func (*SsmService) DescribeSecretVersionIdsByName ¶
func (*SsmService) DescribeSecretsByFilter ¶
func (me *SsmService) DescribeSecretsByFilter(ctx context.Context, param map[string]interface{}) (secrets []*ssm.SecretMetadata, errRet error)
func (*SsmService) DescribeSsmProductsByFilter ¶
func (me *SsmService) DescribeSsmProductsByFilter(ctx context.Context) (products []*string, errRet error)
func (*SsmService) DescribeSsmRotationDetailByFilter ¶
func (me *SsmService) DescribeSsmRotationDetailByFilter(ctx context.Context, param map[string]interface{}) (rotationDetail *ssm.DescribeRotationDetailResponseParams, errRet error)
func (*SsmService) DescribeSsmRotationHistoryByFilter ¶
func (*SsmService) DescribeSsmServiceStatusByFilter ¶
func (me *SsmService) DescribeSsmServiceStatusByFilter(ctx context.Context) (ServiceStatus *ssm.GetServiceStatusResponseParams, errRet error)
func (*SsmService) DescribeSsmSshKeyPairValueByFilter ¶
func (me *SsmService) DescribeSsmSshKeyPairValueByFilter(ctx context.Context, param map[string]interface{}) (sshKeyPairValue *ssm.GetSSHKeyPairValueResponseParams, errRet error)
func (*SsmService) DisableSecret ¶
func (me *SsmService) DisableSecret(ctx context.Context, secretName string) (errRet error)
func (*SsmService) EnableSecret ¶
func (me *SsmService) EnableSecret(ctx context.Context, secretName string) (errRet error)
func (*SsmService) PutSecretValue ¶
func (*SsmService) SsmProductSecretStateRefreshFunc ¶
func (me *SsmService) SsmProductSecretStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
func (*SsmService) UpdateSecret ¶
func (me *SsmService) UpdateSecret(ctx context.Context, param map[string]interface{}) (errRet error)
func (*SsmService) UpdateSecretDescription ¶
func (me *SsmService) UpdateSecretDescription(ctx context.Context, secretName, description string) (errRet error)
Source Files ¶
- data_source_tc_ssm_products.go
- data_source_tc_ssm_rotation_detail.go
- data_source_tc_ssm_rotation_history.go
- data_source_tc_ssm_secret_versions.go
- data_source_tc_ssm_secrets.go
- data_source_tc_ssm_service_status.go
- data_source_tc_ssm_ssh_key_pair_value.go
- extension_ssm.go
- resource_tc_ssm_product_secret.go
- resource_tc_ssm_rotate_product_secret.go
- resource_tc_ssm_secret.go
- resource_tc_ssm_secret_version.go
- resource_tc_ssm_ssh_key_pair_secret.go
- service_tencentcloud_ssm.go
Click to show internal directories.
Click to hide internal directories.