Documentation ¶
Index ¶
- Variables
- func BandWidthPolicyActionSchema() *schema.Resource
- func BandWidthScheduledPolicySchema() *schema.Resource
- func ConfigurationDiskSchema() *schema.Resource
- func ConfigurationPersonalitySchema() *schema.Resource
- func ConfigurationPublicIpSchema() *schema.Resource
- func DataSourceASConfigurations() *schema.Resource
- func DataSourceASGroups() *schema.Resource
- func DataSourceASPolicies() *schema.Resource
- func DataSourceActivityLogs() *schema.Resource
- func DataSourceLifeCycleHooks() *schema.Resource
- func DataSourcePolicyExecuteLogs() *schema.Resource
- func ResourceASBandWidthPolicy() *schema.Resource
- func ResourceASConfiguration() *schema.Resource
- func ResourceASGroup() *schema.Resource
- func ResourceASInstanceAttach() *schema.Resource
- func ResourceASLifecycleHook() *schema.Resource
- func ResourceASPolicy() *schema.Resource
- func ResourceAsNotification() *schema.Resource
- func ResourcePlannedTask() *schema.Resource
Constants ¶
This section is empty.
Variables ¶
var ( ValidDiskTypes = []string{"SYS", "DATA"} ValidChargingModes = []string{"traffic", "bandwidth"} )
var ( HealthAuditMethods = []string{"ELB_AUDIT", "NOVA_AUDIT"} HealthAuditTime = []int{0, 1, 5, 15, 60, 180} TerminatePolices = []string{"OLD_CONFIG_OLD_INSTANCE", "OLD_CONFIG_NEW_INSTANCE", "OLD_INSTANCE", "NEW_INSTANCE"} )
var ( PolicyTypes = []string{"ALARM", "SCHEDULED", "RECURRENCE"} RecurrencePeriods = []string{"Daily", "Weekly", "Monthly"} PolicyActions = []string{"ADD", "REMOVE", "SET"} )
Functions ¶
func BandWidthPolicyActionSchema ¶ added in v1.56.1
func BandWidthScheduledPolicySchema ¶ added in v1.56.1
func ConfigurationDiskSchema ¶ added in v1.45.0
func ConfigurationPersonalitySchema ¶ added in v1.45.0
func ConfigurationPublicIpSchema ¶ added in v1.45.0
func DataSourceASConfigurations ¶ added in v1.45.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling_configuration
func DataSourceASGroups ¶ added in v1.45.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling_group_tag/{id}/tags @API AS GET /autoscaling-api/v1/{project_id}/scaling_group
func DataSourceASPolicies ¶ added in v1.61.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_group_id}/list
func DataSourceActivityLogs ¶ added in v1.60.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling_activity_log/{scaling_group_id}
func DataSourceLifeCycleHooks ¶ added in v1.61.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/list
func DataSourcePolicyExecuteLogs ¶ added in v1.61.1
@API AS GET /autoscaling-api/v1/{project_id}/scaling_policy_execute_log/{scaling_policy_id}
func ResourceASBandWidthPolicy ¶ added in v1.41.0
@API AS DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{id} @API AS POST /autoscaling-api/v2/{project_id}/scaling_policy @API AS GET /autoscaling-api/v2/{project_id}/scaling_policy/{id} @API AS PUT /autoscaling-api/v2/{project_id}/scaling_policy/{id}
func ResourceASConfiguration ¶
@API AS GET /autoscaling-api/v1/{project_id}/scaling_configuration/{id} @API AS DELETE /autoscaling-api/v1/{project_id}/scaling_configuration/{id} @API AS POST /autoscaling-api/v1/{project_id}/scaling_configuration @API AS GET /autoscaling-api/v1/{project_id}/scaling_group
func ResourceASGroup ¶
@API AS GET /autoscaling-api/v1/{project_id}/scaling_group/{id} @API AS PUT /autoscaling-api/v1/{project_id}/scaling_group/{id} @API AS DELETE /autoscaling-api/v1/{project_id}/scaling_group/{id} @API AS POST /autoscaling-api/v1/{project_id}/scaling_group_instance/{groupID}/action @API AS GET /autoscaling-api/v1/{project_id}/scaling_group_instance/{groupID}/list @API AS POST /autoscaling-api/v1/{project_id}/scaling_group_tag/{id}/tags/action @API AS GET /autoscaling-api/v1/{project_id}/scaling_group_tag/{id}/tags @API AS POST /autoscaling-api/v1/{project_id}/scaling_group @API AS POST /autoscaling-api/v1/{project_id}/scaling_group/{id}/action
func ResourceASInstanceAttach ¶ added in v1.48.0
@API AS POST /autoscaling-api/v1/{project_id}/scaling_group_instance/{groupID}/action @API AS GET /autoscaling-api/v1/{project_id}/scaling_group_instance/{groupID}/list
func ResourceASLifecycleHook ¶
@API AS DELETE /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{groupID}/{hookName} @API AS GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{groupID}/{hookName} @API AS PUT /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{groupID}/{hookName} @API AS POST /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{groupID}
func ResourceASPolicy ¶
@API AS DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{id} @API AS GET /autoscaling-api/v1/{project_id}/scaling_policy/{id} @API AS PUT /autoscaling-api/v1/{project_id}/scaling_policy/{id} @API AS POST /autoscaling-api/v1/{project_id}/scaling_policy
func ResourceAsNotification ¶ added in v1.46.0
@API AS PUT /autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id} @API AS GET /autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id} @API AS DELETE /autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id}/{topic_urn}
func ResourcePlannedTask ¶ added in v1.58.0
@API AS GET /autoscaling-api/v1/{project_id}/scaling-groups/{groupID}/scheduled-tasks @API AS POST /autoscaling-api/v1/{project_id}/scaling-groups/{groupID}/scheduled-tasks @API AS DELETE /autoscaling-api/v1/{project_id}/scaling-groups/{groupID}/scheduled-tasks/{taskID} @API AS PUT /autoscaling-api/v1/{project_id}/scaling-groups/{groupID}/scheduled-tasks/{taskID}
Types ¶
This section is empty.
Source Files ¶
- data_source_huaweicloud_as_activity_logs.go
- data_source_huaweicloud_as_configurations.go
- data_source_huaweicloud_as_groups.go
- data_source_huaweicloud_as_lifecycle_hooks.go
- data_source_huaweicloud_as_policies.go
- data_source_huaweicloud_as_policy_execute_logs.go
- resource_huaweicloud_as_bandwidth_policy.go
- resource_huaweicloud_as_configuration.go
- resource_huaweicloud_as_group.go
- resource_huaweicloud_as_instance_attach.go
- resource_huaweicloud_as_lifecycle_hook.go
- resource_huaweicloud_as_notification.go
- resource_huaweicloud_as_planned_task.go
- resource_huaweicloud_as_policy.go