Documentation ¶
Index ¶
- func CheckDeleted(d *schema.ResourceData, err error, msg string) error
- func ClusterStateRefreshFunc(client *golangsdk.ServiceClient, clusterID string) resource.StateRefreshFunc
- func DataSourceAccount() *schema.Resource
- func DataSourceAvailabilityZones() *schema.Resource
- func GetEnterpriseProjectID(d *schema.ResourceData, config *config.Config) string
- func GetRegion(d *schema.ResourceData, config *config.Config) string
- func JobStateRefreshFunc(client *golangsdk.ServiceClient, jobID string) resource.StateRefreshFunc
- func Provider() *schema.Provider
- func ResourceComputeKeypairV2() *schema.Resource
- func ResourceMRSClusterV1() *schema.Resource
- func ResourceMRSJobV1() *schema.Resource
- func ResourceNetworkACL() *schema.Resource
- func ResourceNetworkACLRule() *schema.Resource
- type FirewallGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
@API IAM GET /v3/auth/domains
func DataSourceAvailabilityZones ¶ added in v1.20.1
@API ECS GET /v2.1/{project_id}/os-availability-zone
func GetEnterpriseProjectID ¶ added in v1.19.1
func GetEnterpriseProjectID(d *schema.ResourceData, config *config.Config) string
GetEnterpriseProjectID returns the enterprise_project_id that was specified in the resource. If it was not set, the provider-level value is checked. The provider-level value can either be set by the `enterprise_project_id` argument or by HW_ENTERPRISE_PROJECT_ID.
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 ResourceComputeKeypairV2 ¶ added in v1.20.1
@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
@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
@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
@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
@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 ¶
type FirewallGroup struct { firewall_groups.FirewallGroup routerinsertion.FirewallGroupExt }
FirewallGroup is an HuaweiCloud firewall group.
Source Files ¶
- common.go
- data_source_huaweicloud_account.go
- data_source_huaweicloud_availability_zones.go
- provider.go
- resource_huaweicloud_compute_keypair.go
- resource_huaweicloud_mrs_cluster_v1.go
- resource_huaweicloud_mrs_job_v1.go
- resource_huaweicloud_network_acl.go
- resource_huaweicloud_network_acl_rule.go
- resource_schema.go
- transport.go
Directories ¶
Path | Synopsis |
---|---|
Copyright (c) Huawei Technologies Co., Ltd.
|
Copyright (c) Huawei Technologies Co., Ltd. |
helper
|
|
services
|
|
cc
Generated by PMS #130
|
Generated by PMS #130 |
cfw
Generated by PMS #44
|
Generated by PMS #44 |
dcs
Generated by PMS #116
|
Generated by PMS #116 |
dli
Generated by PMS #67
|
Generated by PMS #67 |
dns
Generated by PMS #78
|
Generated by PMS #78 |
gaussdb
Generated by PMS #75
|
Generated by PMS #75 |
iam
Generated by PMS #114
|
Generated by PMS #114 |
rds
Generated by PMS #126
|
Generated by PMS #126 |
rms
Generated by PMS #93
|
Generated by PMS #93 |
sfs
Generated by PMS #82
|
Generated by PMS #82 |
waf
Generated by PMS #123
|
Generated by PMS #123 |