huaweicloud

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MPL-2.0 Imports: 135 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func CheckDeleted

func CheckDeleted(d *schema.ResourceData, err error, msg string) error

CheckDeleted checks the error to see if it's a 404 (Not Found) and, if so, sets the resource ID to the empty string instead of throwing an error.

func ClusterStateRefreshFunc added in v1.3.0

func ClusterStateRefreshFunc(client *golangsdk.ServiceClient, clusterID string) resource.StateRefreshFunc

func DataSourceAccount added in v1.55.0

func DataSourceAccount() *schema.Resource

@API IAM GET /v3/auth/domains

func DataSourceAvailabilityZones added in v1.20.1

func DataSourceAvailabilityZones() *schema.Resource

@API ECS GET /v2.1/{project_id}/os-availability-zone

func GetRegion

func GetRegion(d *schema.ResourceData, config *config.Config) string

GetRegion returns the region that was specified in the resource. If a region was not set, the provider-level region is checked. The provider-level region can either be set by the region argument or by HW_REGION_NAME.

func JobStateRefreshFunc added in v1.3.0

func JobStateRefreshFunc(client *golangsdk.ServiceClient, jobID string) resource.StateRefreshFunc

func Provider

func Provider() *schema.Provider

Provider returns a schema.Provider for HuaweiCloud.

func ResourceComputeKeypairV2 added in v1.20.1

func ResourceComputeKeypairV2() *schema.Resource

@API ECS DELETE /v2.1/{project_id}/os-keypairs/{name} @API ECS GET /v2.1/{project_id}/os-keypairs/{name} @API ECS POST /v2.1/{project_id}/os-keypairs

func ResourceMRSClusterV1 added in v1.26.0

func ResourceMRSClusterV1() *schema.Resource

@API MRS GET /v1.1/{project_id}/cluster_infos/{id} @API MRS POST /v1.1/{project_id}/clusters/{id}/tags/action @API MRS GET /v1.1/{project_id}/clusters/{id}/tags @API MRS DELETE /v1.1/{project_id}/clusters/{id} @API MRS POST /v1.1/{project_id}/run-job-flow @API VPC GET /v1/{project_id}/subnets/{id} @API VPC GET /v1/{project_id}/vpcs/{id}

func ResourceMRSJobV1 added in v1.26.0

func ResourceMRSJobV1() *schema.Resource

@API MRS DELETE /v1.1/{project_id}/job-executions/{id} @API MRS GET /v1.1/{project_id}/job-exes/{id} @API MRS POST /v1.1/{project_id}/jobs/submit-job

func ResourceNetworkACL added in v1.20.3

func ResourceNetworkACL() *schema.Resource

@API VPC GET /v2.0/ports @API VPC GET /v1/{project_id}/subnets/{id} @API VPC DELETE /v2.0/fwaas/firewall_groups/{id} @API VPC GET /v2.0/fwaas/firewall_groups/{id} @API VPC PUT /v2.0/fwaas/firewall_groups/{id} @API VPC POST /v2.0/fwaas/firewall_groups @API VPC DELETE /v2.0/fwaas/firewall_policies/{id} @API VPC PUT /v2.0/fwaas/firewall_policies/{id} @API VPC POST /v2.0/fwaas/firewall_policies

func ResourceNetworkACLRule added in v1.20.3

func ResourceNetworkACLRule() *schema.Resource

@API VPC PUT /v2.0/fwaas/firewall_policies/{id}/remove_rule @API VPC GET /v2.0/fwaas/firewall_policies @API VPC DELETE /v2.0/fwaas/firewall_rules/{id} @API VPC GET /v2.0/fwaas/firewall_rules/{id} @API VPC PUT /v2.0/fwaas/firewall_rules/{id} @API VPC POST /v2.0/fwaas/firewall_rules

Types

type FirewallGroup

FirewallGroup is an HuaweiCloud firewall group.

Directories

Path Synopsis
Copyright (c) Huawei Technologies Co., Ltd.
Copyright (c) Huawei Technologies Co., Ltd.
helper
services
aad
antiddos
Generated by PMS #354
Generated by PMS #354
aom
Generated by PMS #271
Generated by PMS #271
apig
Generated by PMS #190
Generated by PMS #190
apm
as
Generated by PMS #332
Generated by PMS #332
asm
bcs
bms
cae
cbh
cbr
cc
Generated by PMS #170
Generated by PMS #170
cce
cci
ccm
Generated by PMS #276
Generated by PMS #276
cdm
cdn
Generated by PMS #241
Generated by PMS #241
ces
Generated by PMS #283
Generated by PMS #283
cfw
Generated by PMS #127
Generated by PMS #127
coc
cph
cse
css
Generated by PMS #189
Generated by PMS #189
cts
Generated by PMS #173
Generated by PMS #173
dbss
Generated by PMS #361
Generated by PMS #361
dc
Generated by PMS #210
Generated by PMS #210
dcs
Generated by PMS #116
Generated by PMS #116
ddm
dds
Generated by PMS #3
Generated by PMS #3
dew
Generated by PMS #301
Generated by PMS #301
dis
dli
Generated by PMS #67
Generated by PMS #67
dms
Generated by PMS #199
Generated by PMS #199
dns
Generated by PMS #208
Generated by PMS #208
drs
dsc
dws
Generated by PMS #293
Generated by PMS #293
ecs
eg
eip
elb
eps
er
Generated by PMS #234
Generated by PMS #234
evs
Generated by PMS #253
Generated by PMS #253
fgs
Generated by PMS #238
Generated by PMS #238
ga
Generated by PMS #133
Generated by PMS #133
gaussdb
Generated by PMS #358
Generated by PMS #358
ges
hss
iam
Generated by PMS #114
Generated by PMS #114
iec
ims
Some response parameters in the API documentation display abnormally, causing the PMS platform to be unable to recognize the response parameters.
Some response parameters in the API documentation display abnormally, causing the PMS platform to be unable to recognize the response parameters.
lb
lts
Generated by PMS #213
Generated by PMS #213
mpc
mrs
nat
obs
oms
organizations
Generated by PMS #282
Generated by PMS #282
ram
rds
Generated by PMS #126
Generated by PMS #126
rfs
rgc
rms
Generated by PMS #93
Generated by PMS #93
secmaster
Generated by PMS #313
Generated by PMS #313
sfsturbo
Generated by PMS #250
Generated by PMS #250
smn
sms
swr
Generated by PMS #239
Generated by PMS #239
tms
ucs
vod
vpc
Generated by PMS #11
Generated by PMS #11
vpcep
Generated by PMS #337
Generated by PMS #337
vpn
Generated by PMS #369
Generated by PMS #369
waf
Generated by PMS #143
Generated by PMS #143

Jump to

Keyboard shortcuts

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