Documentation ¶
Index ¶
- Constants
- func DataSourceAvailabilityZones() *schema.Resource
- func DataSourceCbhFlavors() *schema.Resource
- func DataSourceCbhInstances() *schema.Resource
- func ResourceAssetAgencyAuthorization() *schema.Resource
- func ResourceCBHHAInstance() *schema.Resource
- func ResourceCBHInstance() *schema.Resource
Constants ¶
const ( Start = "start" Stop = "stop" SoftReboot = "soft-reboot" HardReboot = "hard-reboot" )
Power action constants.
const ServerIDAssignmentTimeout = 7 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func DataSourceAvailabilityZones ¶
@API CBH GET /v2/{project_id}/cbs/available-zone
func DataSourceCbhFlavors ¶
@API CBH GET /v2/{project_id}/instance/specification
func DataSourceCbhInstances ¶
@API CBH GET /v2/{project_id}/cbs/instance/list
func ResourceAssetAgencyAuthorization ¶
@API CBH POST /v2/{project_id}/cbs/agency/authorization @API CBH GET /v2/{project_id}/cbs/agency/authorization
func ResourceCBHHAInstance ¶
@API CBH POST /v2/{project_id}/cbs/instance/{server_id}/eip/bind @API CBH POST /v2/{project_id}/cbs/instance/{server_id}/eip/unbind @API CBH POST /v2/{project_id}/cbs/instance @API CBH GET /v2/{project_id}/cbs/instance/list @API CBH PUT /v2/{project_id}/cbs/instance/password @API CBH PUT /v2/{project_id}/cbs/instance/{server_id}/security-groups @API CBH PUT /v2/{project_id}/cbs/instance @API CBH POST /v2/{project_id}/cbs/instance/{resource_id}/tags/action @API CBH GET /v2/{project_id}/cbs/instance/{resource_id}/tags @API CBH POST /v2/{project_id}/cbs/instance/start @API CBH POST /v2/{project_id}/cbs/instance/stop @API CBH POST /v2/{project_id}/cbs/instance/reboot @API CBH PUT /v2/{project_id}/cbs/instance/vpc @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/suscriptions/resources/query @API BSS POST /v2/orders/subscriptions/resources/unsubscribe @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id}
func ResourceCBHInstance ¶
@API CBH POST /v2/{project_id}/cbs/instance/{server_id}/eip/bind @API CBH POST /v2/{project_id}/cbs/instance/{server_id}/eip/unbind @API CBH POST /v2/{project_id}/cbs/instance @API CBH GET /v2/{project_id}/cbs/instance/list @API CBH PUT /v2/{project_id}/cbs/instance/password @API CBH PUT /v2/{project_id}/cbs/instance/{server_id}/security-groups @API CBH PUT /v2/{project_id}/cbs/instance @API CBH POST /v2/{project_id}/cbs/instance/{resource_id}/tags/action @API CBH GET /v2/{project_id}/cbs/instance/{resource_id}/tags @API CBH POST /v2/{project_id}/cbs/instance/start @API CBH POST /v2/{project_id}/cbs/instance/stop @API CBH POST /v2/{project_id}/cbs/instance/reboot @API CBH PUT /v2/{project_id}/cbs/instance/vpc @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/suscriptions/resources/query @API BSS POST /v2/orders/subscriptions/resources/unsubscribe @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id}
Types ¶
This section is empty.