dws

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 23 Imported by: 4

Documentation

Index

Constants

View Source
const (
	PublicBindTypeAuto         = "auto_assign"
	PublicBindTypeNotUse       = "not_use"
	PublicBindTypeBindExisting = "bind_existing"
)

Variables

This section is empty.

Functions

func DataSourceDisasterRecoveryTasks added in v1.62.1

func DataSourceDisasterRecoveryTasks() *schema.Resource

@API DWS GET /v2/{project_id}/disaster-recoveries

func DataSourceDwsFlavors added in v1.44.2

func DataSourceDwsFlavors() *schema.Resource

@API DWS GET /v2/{project_id}/node-types

func DataSourceEventSubscriptions added in v1.63.0

func DataSourceEventSubscriptions() *schema.Resource

@API DWS GET /v2/{project_id}/event-subs

func DataSourceLogicalClusterRings added in v1.61.0

func DataSourceLogicalClusterRings() *schema.Resource

@API DWS GET /v2/{project_id}/clusters/{cluster_id}/logical-clusters @API DWS GET /v2/{project_id}/clusters/{cluster_id}/logical-clusters/rings

func DataSourceWorkloadQueues added in v1.63.0

func DataSourceWorkloadQueues() *schema.Resource

@API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/queues @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/queues/{queue_name}

func DisasterRecoveryTaskStatusRefresh added in v1.62.0

func DisasterRecoveryTaskStatusRefresh(client *golangsdk.ServiceClient, d *schema.ResourceData, targets []string) resource.StateRefreshFunc

func DisasterRecoveryTaskStopStatusRefresh added in v1.62.0

func DisasterRecoveryTaskStopStatusRefresh(client *golangsdk.ServiceClient, d *schema.ResourceData, targets []string) resource.StateRefreshFunc

func GetExtDataSource added in v1.49.0

func GetExtDataSource(cfg *config.Config, region string, d *schema.ResourceData, dsType string) (interface{}, error)

func ResourceDwsAlarmSubs added in v1.49.0

func ResourceDwsAlarmSubs() *schema.Resource

@API DWS GET /v2/{project_id}/alarm-subs @API DWS POST /v2/{project_id}/alarm-subs @API DWS PUT /v2/{project_id}/alarm-subs/{alarm_sub_id} @API DWS DELETE /v2/{project_id}/alarm-subs/{alarm_sub_id}

func ResourceDwsCluster

func ResourceDwsCluster() *schema.Resource

@API DWS POST /v1.0/{project_id}/clusters @API DWS GET /v1.0/{project_id}/clusters/{cluster_id} @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/expand-instance-storage @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/reset-password @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/resize @API DWS DELETE /v1.0/{project_id}/clusters/{cluster_id} @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/tags/batch-create @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/tags/batch-delete @API DWS GET /v1.0/{project_id}/job/{job_id} @API DWS POST /v2/{project_id}/clusters @API DWS PUT /v2/{project_id}/clusters/{cluster_id}/logical-clusters/enable @API DWS POST /v2/{project_id}/clusters/{cluster_id}/elbs/{elb_id} @API DWS DELETE /v2/{project_id}/clusters/{cluster_id}/elbs/{elb_id} @API DWS POST /v1/{project_id}/clusters/{cluster_id}/lts-logs/enable @API DWS POST /v1/{project_id}/clusters/{cluster_id}/lts-logs/disable

func ResourceDwsDisasterRecoveryTask added in v1.62.0

func ResourceDwsDisasterRecoveryTask() *schema.Resource

@API DWS POST /v2/{project_id}/disaster-recoveries @API DWS GET /v2/{project_id}/disaster-recovery/{disaster_recovery_id} @API DWS DELETE /v2/{project_id}/disaster-recovery/{disaster_recovery_id} @API DWS PUT /v2/{project_id}/disaster-recovery/{disaster_recovery_id} @API DWS POST /v2/{project_id}/disaster-recovery/{disaster_recovery_id}/start @API DWS POST /v2/{project_id}/disaster-recovery/{disaster_recovery_id}/pause @API DWS POST /v2/{project_id}/disaster-recovery/{disaster_recovery_id}/switchover

func ResourceDwsEventSubs added in v1.49.0

func ResourceDwsEventSubs() *schema.Resource

@API DWS POST /v2/{project_id}/event-subs @API DWS GET /v2/{project_id}/event-subs @API AWS PUT /v2/{project_id}/event-subs/{event_sub_id} @API DWS DELETE /v2/{project_id}/event-subs/{event_sub_id}

func ResourceDwsExtDataSource added in v1.49.0

func ResourceDwsExtDataSource() *schema.Resource

@API DWS GET /v1.0/{project_id}/job/{job_id} @API DWS GET /v1.0/{project_id}/clusters/{cluster_id}/ext-data-sources @API DWS POST /v1.0/{project_id}/clusters/{cluster_id}/ext-data-sources @API DWS DELETE /v1.0/{project_id}/clusters/{cluster_id}/ext-data-sources/{ext_data_source_id} @API AWS PUT /v1.0/{project_id}/clusters/{cluster_id}/ext-data-sources/{ext_data_source_id}

func ResourceDwsSnapshot added in v1.49.0

func ResourceDwsSnapshot() *schema.Resource

@API DWS POST /v1.0/{project_id}/snapshots @API DWS GET /v1.0/{project_id}/snapshots/{snapshot_id} @API DWS DELETE /v1.0/{project_id}/snapshots/{snapshot_id}

func ResourceDwsSnapshotPolicy added in v1.49.0

func ResourceDwsSnapshotPolicy() *schema.Resource

@API DWS PUT /v2/{project_id}/clusters/{cluster_id}/snapshot-policies @API DWS GET /v2/{project_id}/clusters/{cluster_id}/snapshot-policies @API DWS DELETE /v1.0/{project_id}/clusters/{cluster_id}/snapshot-policies/{id}

func ResourceLogicalCluster added in v1.61.0

func ResourceLogicalCluster() *schema.Resource

@API DWS POST /v2/{project_id}/clusters/{cluster_id}/logical-clusters @API DWS GET /v2/{project_id}/clusters/{cluster_id}/logical-clusters @API DWS DELETE /v2/{project_id}/clusters/{cluster_id}/logical-clusters/{logical_cluster_id}

func ResourceWorkLoadPlan added in v1.61.1

func ResourceWorkLoadPlan() *schema.Resource

@API DWS POST /v2/{project_id}/clusters/{cluster_id}/workload/plans @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/plans @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id} @API DWS DELETE /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}

func ResourceWorkLoadPlanExecution added in v1.62.0

func ResourceWorkLoadPlanExecution() *schema.Resource

@API DWS POST /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/start @API DWS POST /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/stage-switch @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id} @API DWS POST /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/stop

func ResourceWorkLoadPlanStage added in v1.61.1

func ResourceWorkLoadPlanStage() *schema.Resource

@API DWS POST /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/stages @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id} @API DWS DELETE /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/stages/{stage_id} @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/plans/{plan_id}/stages/{stage_id}

func ResourceWorkLoadQueue added in v1.61.0

func ResourceWorkLoadQueue() *schema.Resource

@API DWS PUT /v2/{project_id}/clusters/{cluster_id}/workload/queues @API DWS GET /v2/{project_id}/clusters/{cluster_id}/workload/queues @API DWS DELETE /v2/{project_id}/clusters/{cluster_id}/workload/queues

Types

type RingsSlice added in v1.61.0

type RingsSlice []interface{}

func (RingsSlice) Len added in v1.61.0

func (x RingsSlice) Len() int

func (RingsSlice) Less added in v1.61.0

func (x RingsSlice) Less(i, j int) bool

Less Sort by comparing the largest IP value in the array

func (RingsSlice) Swap added in v1.61.0

func (x RingsSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

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