css

package
v1.63.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// Instance type. The options are ess, ess-cold, ess-master, and ess-client.
	InstanceTypeEss       = "ess"
	InstanceTypeEssCold   = "ess-cold"
	InstanceTypeEssMaster = "ess-master"
	InstanceTypeEssClient = "ess-client"

	ClusterStatusInProcess   = "100" // The operation, such as instance creation, is in progress.
	ClusterStatusAvailable   = "200"
	ClusterStatusUnavailable = "303"
)
View Source
const (
	ClusterScanTaskRunning   = "RUNNING"
	ClusterScanTaskCompleted = "COMPLETED"
	ClusterScanTaskFailed    = "FAILED"
)

Variables

This section is empty.

Functions

func DataSourceCssFlavors added in v1.33.0

func DataSourceCssFlavors() *schema.Resource

@API CSS GET /v1.0/{project_id}/es-flavors

func ResourceCssCluster

func ResourceCssCluster() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/role_extend @API CSS POST /v1.0/{project_id}/clusters @API CSS POST /v1.0/{project_id}/{resource_type}/{cluster_id}/tags @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/public/open @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/public/whitelist/close @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/bandwidth @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/whitelist/update @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/setting @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/open @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/permissions @API CSS DELETE /v1.0/{project_id}/{resource_type}/{cluster_id}/tags/{key} @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/auto_setting @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/public/whitelist/update @API CSS DELETE /v1.0/{project_id}/clusters/{cluster_id} @API CSS GET /v1.0/{project_id}/clusters/{cluster_id} @API CSS POST /v2.0/{project_id}/clusters @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/publickibana/open @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/publickibana/whitelist/close @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/close @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/vpcepservice/connections @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/policy @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/policy @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/public/bandwidth @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/public/close @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/publickibana/close @API CSS GET /v1.0/{project_id}/es-flavors @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/{types}/flavor @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/type/{type}/independent @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/suscriptions/resources/query @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id}

func ResourceCssConfiguration added in v1.57.0

func ResourceCssConfiguration() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/ymls/update @API CSS GET /v1.0/{project_id}/clusters/{id}/ymls/joblists @API CSS GET /v1.0/{project_id}/clusters/{id}/ymls/template @API CSS POST /v1.0/{project_id}/clusters/{id}/ymls/update

func ResourceCssSnapshot

func ResourceCssSnapshot() *schema.Resource

@API CSS DELETE /v1.0/{project_id}/clusters/{clusterId}/index_snapshot/{snapId} @API CSS POST /v1.0/{project_id}/clusters/{clusterId}/index_snapshot @API CSS GET /v1.0/{project_id}/clusters/{clusterId}/index_snapshots @API CSS GET /v1.0/{project_id}/clusters/{clusterId}

func ResourceCssthesaurus

func ResourceCssthesaurus() *schema.Resource

@API CSS DELETE /v1.0/{project_id}/clusters/{clusterId}/thesaurus @API CSS GET /v1.0/{project_id}/clusters/{clusterId}/thesaurus @API CSS POST /v1.0/{project_id}/clusters/{clusterId}/thesaurus

func ResourceCssthesaurusCreate

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

func ResourceCssthesaurusDelete

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

func ResourceCssthesaurusRead

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

func ResourceCssthesaurusUpdate

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

func ResourceLogSetting added in v1.63.2

func ResourceLogSetting() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/logs/open @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/logs/settings @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/logs/settings @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/close @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/logs/policy/update @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/logs/policy/close

func ResourceLogstashCertificate added in v1.63.0

func ResourceLogstashCertificate() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/certs/upload @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/certs/{cert_id} @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/certs @API CSS DELETE /v1.0/{project_id}/clusters/{cluster_id}/certs/{cert_id}/delete

func ResourceLogstashCluster added in v1.62.0

func ResourceLogstashCluster() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters @API CSS DELETE /v1.0/{project_id}/clusters/{cluster_id} @API CSS GET /v1.0/{project_id}/clusters/{cluster_id} @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/role_extend @API CSS POST /v1.0/extend/{project_id}/clusters/{cluster_id}/role/shrink @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/changename @API CSS POST /v1.0/{project_id}/{resource_type}/{cluster_id}/tags/action @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate @API BSS POST /v2/orders/suscriptions/resources/query @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id}

func ResourceLogstashConfiguration added in v1.62.1

func ResourceLogstashConfiguration() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/submit @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/confdetail @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/update @API CSS DELETE /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/delete

func ResourceLogstashPipeline added in v1.63.0

func ResourceLogstashPipeline() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/start @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/hot-start @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listpipelines @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/stop

func ResourceScanTask added in v1.61.0

func ResourceScanTask() *schema.Resource

@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/ai-ops @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/ai-ops @API CSS DELETE /v1.0/{project_id}/clusters/{cluster_id}/ai-ops/{aiops_id}

Types

type ResponseError added in v1.47.0

type ResponseError struct {
	ErrorCode string `json:"errCode"`
	ErrorMsg  string `json:"externalMessage"`
}

Jump to

Keyboard shortcuts

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