Documentation ¶
Index ¶
- Constants
- func DataSourceCssFlavors() *schema.Resource
- func ResourceCssCluster() *schema.Resource
- func ResourceCssConfiguration() *schema.Resource
- func ResourceCssSnapshot() *schema.Resource
- func ResourceCssthesaurus() *schema.Resource
- func ResourceCssthesaurusCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceCssthesaurusDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceCssthesaurusRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceCssthesaurusUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceLogSetting() *schema.Resource
- func ResourceLogstashCertificate() *schema.Resource
- func ResourceLogstashCluster() *schema.Resource
- func ResourceLogstashConfiguration() *schema.Resource
- func ResourceLogstashPipeline() *schema.Resource
- func ResourceScanTask() *schema.Resource
- type ResponseError
Constants ¶
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" )
const ( ClusterScanTaskRunning = "RUNNING" ClusterScanTaskCompleted = "COMPLETED" ClusterScanTaskFailed = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceCssFlavors ¶ added in v1.33.0
@API CSS GET /v1.0/{project_id}/es-flavors
func ResourceCssCluster ¶
@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
@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 ¶
@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 ¶
@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
@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
@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
@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
@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
@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
@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
Source Files ¶
- data_source_huaweicloud_css_flavors.go
- resource_huaweicloud_css_cluster.go
- resource_huaweicloud_css_configuration.go
- resource_huaweicloud_css_log_setting.go
- resource_huaweicloud_css_logstash_cluster.go
- resource_huaweicloud_css_logstash_configuration.go
- resource_huaweicloud_css_logstash_custom_certificate.go
- resource_huaweicloud_css_logstash_pipeline.go
- resource_huaweicloud_css_scan_task.go
- resource_huaweicloud_css_snapshot.go
- resource_huaweicloud_css_thesaurus.go