dew

package
v1.71.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MPL-2.0 Imports: 32 Imported by: 3

Documentation

Overview

Generated by PMS #301

Generated by PMS #274

Generated by PMS #290

Generated by PMS #289

Index

Constants

View Source
const (
	WaitingForEnableState = "1"
	EnabledState          = "2"
	DisabledState         = "3"
	PendingDeletionState  = "4"
	PendingImportState    = "5"
)

Variables

This section is empty.

Functions

func DataSourceDewCsmsEvents added in v1.62.1

func DataSourceDewCsmsEvents() *schema.Resource

@API DEW GET /v1/{project_id}/csms/events

func DataSourceDewCsmsSecret

func DataSourceDewCsmsSecret() *schema.Resource

@API DEW GET /v1/{project_id}/secrets/{secret_name}/versions @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions/{version_id}

func DataSourceDewCsmsSecretVersions added in v1.68.0

func DataSourceDewCsmsSecretVersions() *schema.Resource

func DataSourceDewCsmsSecrets added in v1.62.1

func DataSourceDewCsmsSecrets() *schema.Resource

@API DEW GET /v1/{project_id}/secrets

func DataSourceDewKpsFailedTasks added in v1.67.1

func DataSourceDewKpsFailedTasks() *schema.Resource

func DataSourceDewKpsRunningTasks added in v1.67.1

func DataSourceDewKpsRunningTasks() *schema.Resource

func DataSourceKeypairs added in v1.40.0

func DataSourceKeypairs() *schema.Resource

@API DEW GET /v3/{project_id}/keypairs

func DataSourceKmsDataKeyV1 added in v1.55.0

func DataSourceKmsDataKeyV1() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/create-datakey

func DataSourceKmsGrants added in v1.67.0

func DataSourceKmsGrants() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/list-grants

func DataSourceKmsKey added in v1.44.2

func DataSourceKmsKey() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/list-keys @API DEW POST /v1.0/{project_id}/kms/get-key-rotation-status @API DEW GET /v1.0/{project_id}/kms/{key_id}/tags

func DataSourceKmsKeys added in v1.67.0

func DataSourceKmsKeys() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/list-keys

func ResourceCsmsEvent added in v1.58.0

func ResourceCsmsEvent() *schema.Resource

@API DEW POST /v1/{project_id}/csms/events @API DEW GET /v1/{project_id}/csms/events/{event_name} @API DEW PUT /v1/{project_id}/csms/events/{event_name} @API DEW DELETE /v1/{project_id}/csms/events/{event_name}

func ResourceKeypair added in v1.35.0

func ResourceKeypair() *schema.Resource

@API DEW POST /v3/{project_id}/keypairs @API DEW PUT /v3/{project_id}/keypairs/{keypair_name} @API DEW GET /v3/{project_id}/keypairs/{keypair_name} @API DEW DELETE /v3/{project_id}/keypairs/{keypair_name} @API DEW POST /v3/{project_id}/keypairs/private-key/import @API DEW DELETE /v3/{project_id}/keypairs/{keypair_name}/private-key

func ResourceKmsDataEncryptDecrypt added in v1.67.1

func ResourceKmsDataEncryptDecrypt() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/encrypt-data @API DEW POST /v1.0/{project_id}/kms/decrypt-data

func ResourceKmsDedicatedKeystore added in v1.58.0

func ResourceKmsDedicatedKeystore() *schema.Resource

@API DEW POST /v1.0/{project_id}/keystores @API DEW GET /v1.0/{project_id}/keystores/{keystore_id} @API DEW DELETE /v1.0/{project_id}/keystores/{keystore_id}

func ResourceKmsGrant added in v1.45.0

func ResourceKmsGrant() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/create-grant @API DEW POST /v1.0/{project_id}/kms/list-grants @API DEW POST /v1.0/{project_id}/kms/revoke-grant

func ResourceKmsKey added in v1.44.2

func ResourceKmsKey() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/create-key @API DEW POST /v1.0/{project_id}/kms/describe-key @API DEW POST /v1.0/{project_id}/kms/update-key-alias @API DEW POST /v1.0/{project_id}/kms/update-key-description @API DEW POST /v1.0/{project_id}/kms/schedule-key-deletion @API DEW POST /v1.0/{project_id}/kms/enable-key @API DEW POST /v1.0/{project_id}/kms/disable-key @API DEW POST /v1.0/{project_id}/kms/enable-key-rotation @API DEW POST /v1.0/{project_id}/kms/disable-key-rotation @API DEW POST /v1.0/{project_id}/kms/get-key-rotation-status @API DEW POST /v1.0/{project_id}/kms/update-key-rotation-interval @API DEW POST /v1.0/{project_id}/kms/{key_id}/tags/action @API DEW GET /v1.0/{project_id}/kms/{key_id}/tags

func ResourceKmsKeyCreate added in v1.44.2

func ResourceKmsKeyCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyDelete added in v1.44.2

func ResourceKmsKeyDelete(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyMaterial added in v1.63.0

func ResourceKmsKeyMaterial() *schema.Resource

@API DEW POST /v1.0/{project_id}/kms/delete-imported-key-material @API DEW POST /v1.0/{project_id}/kms/import-key-material @API DEW POST /v1.0/{project_id}/kms/describe-key

func ResourceKmsKeyMaterialCreate added in v1.63.0

func ResourceKmsKeyMaterialCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyMaterialDelete added in v1.63.0

func ResourceKmsKeyMaterialDelete(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyMaterialRead added in v1.63.0

func ResourceKmsKeyMaterialRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyRead added in v1.44.2

func ResourceKmsKeyRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceKmsKeyUpdate added in v1.44.2

func ResourceKmsKeyUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceSecret added in v1.68.0

func ResourceSecret() *schema.Resource

@API DEW POST /v1/{project_id}/secrets @API DEW POST /v1/{project_id}/{resourceType}/{id}/tags/action @API DEW GET /v1/{project_id}/secrets/{secret_name} @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions/{version_id} @API DEW PUT /v1/{project_id}/secrets/{secret_name}/versions/{version_id} @API DEW GET /v1/{project_id}/{resourceType}/{id}/tags @API DEW PUT /v1/{project_id}/secrets/{secret_name} @API DEW POST /v1/{project_id}/secrets/{secret_name}/versions @API DEW DELETE /v1/{project_id}/secrets/{secret_name}

func ResourceSecretVersionState added in v1.68.0

func ResourceSecretVersionState() *schema.Resource

@API DEW PUT /v1/{project_id}/secrets/{secret_name}/stages/{stage_name} @API DEW GET /v1/{project_id}/secrets/{secret_name}/stages/{stage_name} @API DEW DELETE /v1/{project_id}/secrets/{secret_name}/stages/{stage_name}

Types

type CsmsSecretVersionsDSWrapper added in v1.68.0

type CsmsSecretVersionsDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*CsmsSecretVersionsDSWrapper) ListSecretVersions added in v1.68.0

func (w *CsmsSecretVersionsDSWrapper) ListSecretVersions() (*gjson.Result, error)

@API CSMS GET /v1/{project_id}/secrets/{secret_name}/versions

type KpsFailedTasksDSWrapper added in v1.67.1

type KpsFailedTasksDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*KpsFailedTasksDSWrapper) ListFailedTask added in v1.67.1

func (w *KpsFailedTasksDSWrapper) ListFailedTask() (*gjson.Result, error)

@API KPS GET /v3/{project_id}/failed-tasks

type KpsRunningTasksDSWrapper added in v1.67.1

type KpsRunningTasksDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*KpsRunningTasksDSWrapper) ListRunningTask added in v1.67.1

func (w *KpsRunningTasksDSWrapper) ListRunningTask() (*gjson.Result, error)

@API KPS GET /v3/{project_id}/running-tasks

Jump to

Keyboard shortcuts

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