huaweicloud

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MPL-2.0 Imports: 136 Imported by: 6

Documentation

Index

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

func DataSourceAccount() *schema.Resource

func DataSourceAvailabilityZones added in v1.20.1

func DataSourceAvailabilityZones() *schema.Resource

func DataSourceCdmFlavorV1 added in v1.25.1

func DataSourceCdmFlavorV1() *schema.Resource

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 Provider

func Provider() *schema.Provider

Provider returns a schema.Provider for HuaweiCloud.

func ResourceAPIGatewayAPI added in v1.25.1

func ResourceAPIGatewayAPI() *schema.Resource

func ResourceAPIGatewayGroup added in v1.25.1

func ResourceAPIGatewayGroup() *schema.Resource

func ResourceComputeKeypairV2 added in v1.20.1

func ResourceComputeKeypairV2() *schema.Resource

func ResourceMRSClusterV1 added in v1.26.0

func ResourceMRSClusterV1() *schema.Resource

func ResourceMRSJobV1 added in v1.26.0

func ResourceMRSJobV1() *schema.Resource

func ResourceNetworkACL added in v1.20.3

func ResourceNetworkACL() *schema.Resource

func ResourceNetworkACLRule added in v1.20.3

func ResourceNetworkACLRule() *schema.Resource

func UnsubscribePrePaidResource added in v1.22.3

func UnsubscribePrePaidResource(d *schema.ResourceData, config *config.Config, resourceIDs []string) error

UnsubscribePrePaidResource impl the action of unsubscribe resource

Types

type FirewallGroup

FirewallGroup is an HuaweiCloud firewall group.

Jump to

Keyboard shortcuts

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