Documentation ¶
Overview ¶
Generated by PMS #131
Generated by PMS #157
Generated by PMS #162
Generated by PMS #146
Generated by PMS #163
Generated by PMS #135
Generated by PMS #172
Generated by PMS #168
Index ¶
- Constants
- func DataSourceCssClusters() *schema.Resource
- func DataSourceCssElbLoadbalancers() *schema.Resource
- func DataSourceCssFlavors() *schema.Resource
- func DataSourceCssLogstashCertificates() *schema.Resource
- func DataSourceCssLogstashConfigurations() *schema.Resource
- func DataSourceCssLogstashPipelineActions() *schema.Resource
- func DataSourceCssLogstashPipelines() *schema.Resource
- func DataSourceCssLogstashTemplates() *schema.Resource
- func DataSourceCssUpgradeTargetImages() *schema.Resource
- func ResourceCssCluster() *schema.Resource
- func ResourceCssClusterRestart() *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 ResourceEsLoadbalancerConfig() *schema.Resource
- func ResourceLogSetting() *schema.Resource
- func ResourceLogstashCertificate() *schema.Resource
- func ResourceLogstashCluster() *schema.Resource
- func ResourceLogstashConfiguration() *schema.Resource
- func ResourceLogstashCustomTemplate() *schema.Resource
- func ResourceLogstashPipeline() *schema.Resource
- func ResourceScanTask() *schema.Resource
- type ClustersDSWrapper
- type ElbLoadbalancersDSWrapper
- type LogstashCertificatesDSWrapper
- type LogstashConfigurationsDSWrapper
- type LogstashPipelineActionsDSWrapper
- type LogstashPipelinesDSWrapper
- type LogstashTemplatesDSWrapper
- type ResponseError
- type UpgradeTargetImagesDSWrapper
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 DataSourceCssClusters ¶ added in v1.64.1
func DataSourceCssElbLoadbalancers ¶ added in v1.64.2
func DataSourceCssFlavors ¶ added in v1.33.0
@API CSS GET /v1.0/{project_id}/es-flavors
func DataSourceCssLogstashCertificates ¶ added in v1.64.3
func DataSourceCssLogstashConfigurations ¶ added in v1.64.2
func DataSourceCssLogstashPipelineActions ¶ added in v1.64.3
func DataSourceCssLogstashPipelines ¶ added in v1.64.2
func DataSourceCssLogstashTemplates ¶ added in v1.64.3
func DataSourceCssUpgradeTargetImages ¶ added in v1.64.3
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 CSS POST /v1.0/{project_id}/clusters/{cluster_id}/mode/change @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/password/reset @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/sg/change @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 ResourceCssClusterRestart ¶ added in v1.65.0
@API CSS POST /v2.0/{project_id}/clusters/{cluster_id}/restart @API CSS POST /v2.0/{project_id}/clusters/{cluster_id}/rolling_restart @API CSS GET /v1.0/{project_id}/clusters/{cluster_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 ResourceEsLoadbalancerConfig ¶ added in v1.64.3
@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/loadbalancers/es-switch @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/es-listeners @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/es-listeners @API CSS PUT /v1.0/{project_id}/clusters/{cluster_id}/es-listeners/{listener_id}
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 CSS POST /v1.0/{project_id}/clusters/{cluster_id}/route @API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/route @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate @API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/sg/change @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 ResourceLogstashCustomTemplate ¶ added in v1.64.3
@API CSS POST /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/favorite @API CSS GET /v1.0/{project_id}/lgsconf/template @API CSS DELETE /v1.0/{project_id}/lgsconf/deletetemplate
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 ClustersDSWrapper ¶ added in v1.64.1
type ClustersDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*ClustersDSWrapper) ListClustersDetails ¶ added in v1.64.1
func (w *ClustersDSWrapper) ListClustersDetails() (*gjson.Result, error)
@API CSS GET /v1.0/{project_id}/clusters
type ElbLoadbalancersDSWrapper ¶ added in v1.64.2
type ElbLoadbalancersDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
type LogstashCertificatesDSWrapper ¶ added in v1.64.3
type LogstashCertificatesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
type LogstashConfigurationsDSWrapper ¶ added in v1.64.2
type LogstashConfigurationsDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
type LogstashPipelineActionsDSWrapper ¶ added in v1.64.3
type LogstashPipelineActionsDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*LogstashPipelineActionsDSWrapper) ListActions ¶ added in v1.64.3
func (w *LogstashPipelineActionsDSWrapper) ListActions() (*gjson.Result, error)
@API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listactions
type LogstashPipelinesDSWrapper ¶ added in v1.64.2
type LogstashPipelinesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*LogstashPipelinesDSWrapper) ListPipelines ¶ added in v1.64.2
func (w *LogstashPipelinesDSWrapper) ListPipelines() (*gjson.Result, error)
@API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/lgsconf/listpipelines
type LogstashTemplatesDSWrapper ¶ added in v1.64.3
type LogstashTemplatesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*LogstashTemplatesDSWrapper) ListTemplates ¶ added in v1.64.3
func (w *LogstashTemplatesDSWrapper) ListTemplates() (*gjson.Result, error)
@API CSS GET /v1.0/{project_id}/lgsconf/template
type ResponseError ¶ added in v1.47.0
type UpgradeTargetImagesDSWrapper ¶ added in v1.64.3
type UpgradeTargetImagesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*UpgradeTargetImagesDSWrapper) ListImages ¶ added in v1.64.3
func (w *UpgradeTargetImagesDSWrapper) ListImages() (*gjson.Result, error)
@API CSS GET /v1.0/{project_id}/clusters/{cluster_id}/target/{upgrade_type}/images
Source Files ¶
- data_source_huaweicloud_css_clusters.go
- data_source_huaweicloud_css_elb_loadbalancers.go
- data_source_huaweicloud_css_flavors.go
- data_source_huaweicloud_css_logstash_certificates.go
- data_source_huaweicloud_css_logstash_configurations.go
- data_source_huaweicloud_css_logstash_pipeline_actions.go
- data_source_huaweicloud_css_logstash_pipelines.go
- data_source_huaweicloud_css_logstash_templates.go
- data_source_huaweicloud_css_upgrade_target_images.go
- resource_huaweicloud_css_cluster.go
- resource_huaweicloud_css_cluster_restart.go
- resource_huaweicloud_css_configuration.go
- resource_huaweicloud_css_es_loadbalancer_config.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_custom_template.go
- resource_huaweicloud_css_logstash_pipeline.go
- resource_huaweicloud_css_scan_task.go
- resource_huaweicloud_css_snapshot.go
- resource_huaweicloud_css_thesaurus.go