Documentation ¶
Index ¶
- Constants
- func PortForwardingRuleId(portForwardingConfigurationNo string, zonNo string, ...) string
- func Provider() terraform.ResourceProvider
- func StringField(f reflect.Value) *string
- func StringPtrOrNil(v interface{}, ok bool) *string
- type CommonCode
- type CommonResponse
- type Config
- type NcloudAPIClient
- type Region
- type Zone
Constants ¶
View Source
const ( ApiErrorAuthorityParameter = "800" ApiErrorUnknown = "1300" ApiErrorObjectInOperation = "25013" ApiErrorPortForwardingObjectInOperation = "25033" ApiErrorServerObjectInOperation = "23006" // Unable to request server termination and creation simultaneously ApiErrorServerObjectInOperation2 = "25017" ApiErrorPreviousServersHaveNotBeenEntirelyTerminated = "23003" ApiErrorDetachingMountedStorage = "24002" )
View Source
const DefaultCreateTimeout = 1 * time.Hour
View Source
const DefaultStopTimeout = 5 * time.Minute
View Source
const DefaultTimeout = 5 * time.Minute
Default timeout
View Source
const DefaultUpdateTimeout = 10 * time.Minute
View Source
const DefaultWaitForInterval = 10
DefaultWaitForInterval is Interval for checking status in WaitForXXX method
Variables ¶
This section is empty.
Functions ¶
func PortForwardingRuleId ¶
func Provider ¶
func Provider() terraform.ResourceProvider
func StringField ¶
func StringPtrOrNil ¶
Types ¶
type CommonCode ¶
type CommonResponse ¶
type CommonResponse struct { RequestId *string `json:"requestId,omitempty"` ReturnCode *string `json:"returnCode,omitempty"` ReturnMessage *string `json:"returnMessage,omitempty"` }
func GetCommonResponse ¶
func GetCommonResponse(i interface{}) *CommonResponse
type NcloudAPIClient ¶
type NcloudAPIClient struct {
// contains filtered or unexported fields
}
type Region ¶
Source Files ¶
- common.go
- common_schemas.go
- config.go
- convert_types.go
- data_source_ncloud_access_control_group.go
- data_source_ncloud_access_control_groups.go
- data_source_ncloud_access_control_rule.go
- data_source_ncloud_access_control_rules.go
- data_source_ncloud_common.go
- data_source_ncloud_member_server_image.go
- data_source_ncloud_member_server_images.go
- data_source_ncloud_nas_volume.go
- data_source_ncloud_nas_volumes.go
- data_source_ncloud_port_forwarding_rule.go
- data_source_ncloud_port_forwarding_rules.go
- data_source_ncloud_public_ip.go
- data_source_ncloud_regions.go
- data_source_ncloud_root_password.go
- data_source_ncloud_server_image.go
- data_source_ncloud_server_images.go
- data_source_ncloud_server_product.go
- data_source_ncloud_server_products.go
- data_source_ncloud_zones.go
- provider.go
- region.go
- resource_ncloud_block_storage.go
- resource_ncloud_block_storage_snapshot.go
- resource_ncloud_load_balancer.go
- resource_ncloud_load_balancer_ssl_certificate.go
- resource_ncloud_login_key.go
- resource_ncloud_nas_volume.go
- resource_ncloud_port_forwarding_rule.go
- resource_ncloud_public_ip.go
- resource_ncloud_server.go
- sort.go
- structures.go
- validators.go
- zone.go
Click to show internal directories.
Click to hide internal directories.