ssm

package
v1.81.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func DataSourceTencentCloudSsmProducts

func DataSourceTencentCloudSsmProducts() *schema.Resource

func DataSourceTencentCloudSsmRotationDetail

func DataSourceTencentCloudSsmRotationDetail() *schema.Resource

func DataSourceTencentCloudSsmRotationHistory

func DataSourceTencentCloudSsmRotationHistory() *schema.Resource

func DataSourceTencentCloudSsmSecretVersions

func DataSourceTencentCloudSsmSecretVersions() *schema.Resource

func DataSourceTencentCloudSsmSecrets

func DataSourceTencentCloudSsmSecrets() *schema.Resource

func DataSourceTencentCloudSsmServiceStatus

func DataSourceTencentCloudSsmServiceStatus() *schema.Resource

func DataSourceTencentCloudSsmSshKeyPairValue

func DataSourceTencentCloudSsmSshKeyPairValue() *schema.Resource

func ResourceTencentCloudSsmProductSecret

func ResourceTencentCloudSsmProductSecret() *schema.Resource

func ResourceTencentCloudSsmRotateProductSecret

func ResourceTencentCloudSsmRotateProductSecret() *schema.Resource

func ResourceTencentCloudSsmSecret

func ResourceTencentCloudSsmSecret() *schema.Resource

func ResourceTencentCloudSsmSecretVersion

func ResourceTencentCloudSsmSecretVersion() *schema.Resource

func ResourceTencentCloudSsmSshKeyPairSecret

func ResourceTencentCloudSsmSshKeyPairSecret() *schema.Resource

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 (me *SsmService) CreateSecret(ctx context.Context, param map[string]interface{}) (secretName string, errRet error)

func (*SsmService) DeleteSecret

func (me *SsmService) DeleteSecret(ctx context.Context, secretName string, recoveryWindowInDays uint64) (errRet error)

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 (me *SsmService) DeleteSsmSshKeyPairSecretById(ctx context.Context, secretName string, cleanSSHKey *bool) (errRet error)

func (*SsmService) DescribeAsyncRequestInfo

func (me *SsmService) DescribeAsyncRequestInfo(ctx context.Context, flowID int64) (taskStatus int64, errRet error)

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 (me *SsmService) DescribeSecretVersionIdsByName(ctx context.Context, secretName string) (versionIds []string, errRet error)

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 (me *SsmService) DescribeSsmRotationHistoryByFilter(ctx context.Context, param map[string]interface{}) (rotationHistory []*string, errRet error)

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 (me *SsmService) PutSecretValue(ctx context.Context, param map[string]interface{}) (secretName, versionId string, errRet error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL