You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
3.1 KiB
66 lines
3.1 KiB
/*
|
|
Copyright (c) 2019-2022 Digital Energy Cloud Solutions LLC. All Rights Reserved.
|
|
Authors:
|
|
Petr Krutov, <petr.krutov@digitalenergy.online>
|
|
Stanislav Solovev, <spsolovev@digitalenergy.online>
|
|
Kasim Baybikov, <kmbaybikov@basistech.ru>
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
/*
|
|
Terraform DECORT provider - manage resources provided by DECORT (Digital Energy Cloud
|
|
Orchestration Technology) with Terraform by Hashicorp.
|
|
|
|
Source code: https://github.com/rudecs/terraform-provider-decort
|
|
|
|
Please see README.md to learn where to place source code so that it
|
|
builds seamlessly.
|
|
|
|
Documentation: https://github.com/rudecs/terraform-provider-decort/wiki
|
|
*/
|
|
|
|
package kvmvm
|
|
|
|
const (
|
|
KvmX86CreateAPI = "/restmachine/cloudapi/kvmx86/create"
|
|
KvmPPCCreateAPI = "/restmachine/cloudapi/kvmppc/create"
|
|
ComputeGetAPI = "/restmachine/cloudapi/compute/get"
|
|
RgListComputesAPI = "/restmachine/cloudapi/rg/listComputes"
|
|
ComputeNetAttachAPI = "/restmachine/cloudapi/compute/netAttach"
|
|
ComputeNetDetachAPI = "/restmachine/cloudapi/compute/netDetach"
|
|
ComputeDiskAttachAPI = "/restmachine/cloudapi/compute/diskAttach"
|
|
ComputeDiskDetachAPI = "/restmachine/cloudapi/compute/diskDetach"
|
|
ComputeStartAPI = "/restmachine/cloudapi/compute/start"
|
|
ComputeStopAPI = "/restmachine/cloudapi/compute/stop"
|
|
ComputeResizeAPI = "/restmachine/cloudapi/compute/resize"
|
|
DisksResizeAPI = "/restmachine/cloudapi/disks/resize2"
|
|
ComputeDeleteAPI = "/restmachine/cloudapi/compute/delete"
|
|
ComputeUpdateAPI = "/restmachine/cloudapi/compute/update"
|
|
ComputeDiskAddAPI = "/restmachine/cloudapi/compute/diskAdd"
|
|
ComputeDiskDeleteAPI = "/restmachine/cloudapi/compute/diskDel"
|
|
ComputeRestoreAPI = "/restmachine/cloudapi/compute/restore"
|
|
ComputeEnableAPI = "/restmachine/cloudapi/compute/enable"
|
|
ComputeDisableAPI = "/restmachine/cloudapi/compute/disable"
|
|
|
|
//affinity and anti-affinity
|
|
ComputeAffinityLabelSetAPI = "/restmachine/cloudapi/compute/affinityLabelSet"
|
|
ComputeAffinityLabelRemoveAPI = "/restmachine/cloudapi/compute/affinityLabelRemove"
|
|
ComputeAffinityRuleAddAPI = "/restmachine/cloudapi/compute/affinityRuleAdd"
|
|
ComputeAffinityRuleRemoveAPI = "/restmachine/cloudapi/compute/affinityRuleRemove"
|
|
ComputeAffinityRulesClearAPI = "/restmachine/cloudapi/compute/affinityRulesClear"
|
|
ComputeAntiAffinityRuleAddAPI = "/restmachine/cloudapi/compute/antiAffinityRuleAdd"
|
|
ComputeAntiAffinityRuleRemoveAPI = "/restmachine/cloudapi/compute/antiAffinityRuleRemove"
|
|
ComputeAntiAffinityRulesClearAPI = "/restmachine/cloudapi/compute/antiAffinityRulesClear"
|
|
)
|