Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCvmChcDeniedActions() *schema.Resource
- func DataSourceTencentCloudCvmChcHosts() *schema.Resource
- func DataSourceTencentCloudCvmDisasterRecoverGroupQuota() *schema.Resource
- func DataSourceTencentCloudCvmImageQuota() *schema.Resource
- func DataSourceTencentCloudCvmImageSharePermission() *schema.Resource
- func DataSourceTencentCloudCvmImportImageOs() *schema.Resource
- func DataSourceTencentCloudCvmInstanceVncUrl() *schema.Resource
- func DataSourceTencentCloudCvmInstancesModification() *schema.Resource
- func DataSourceTencentCloudEip() *schema.Resource
- func DataSourceTencentCloudEipAddressQuota() *schema.Resource
- func DataSourceTencentCloudEipNetworkAccountType() *schema.Resource
- func DataSourceTencentCloudEips() *schema.Resource
- func DataSourceTencentCloudImage() *schema.Resource
- func DataSourceTencentCloudImages() *schema.Resource
- func DataSourceTencentCloudInstanceTypes() *schema.Resource
- func DataSourceTencentCloudInstances() *schema.Resource
- func DataSourceTencentCloudInstancesSet() *schema.Resource
- func DataSourceTencentCloudKeyPairs() *schema.Resource
- func DataSourceTencentCloudPlacementGroups() *schema.Resource
- func DataSourceTencentCloudReservedInstanceConfigs() *schema.Resource
- func DataSourceTencentCloudReservedInstances() *schema.Resource
- func ResourceTencentCloudCvmChcConfig() *schema.Resource
- func ResourceTencentCloudCvmExportImages() *schema.Resource
- func ResourceTencentCloudCvmHpcCluster() *schema.Resource
- func ResourceTencentCloudCvmImageSharePermission() *schema.Resource
- func ResourceTencentCloudCvmImportImage() *schema.Resource
- func ResourceTencentCloudCvmLaunchTemplate() *schema.Resource
- func ResourceTencentCloudCvmLaunchTemplateDefaultVersion() *schema.Resource
- func ResourceTencentCloudCvmLaunchTemplateVersion() *schema.Resource
- func ResourceTencentCloudCvmModifyInstanceDiskType() *schema.Resource
- func ResourceTencentCloudCvmProgramFpgaImage() *schema.Resource
- func ResourceTencentCloudCvmRebootInstance() *schema.Resource
- func ResourceTencentCloudCvmRenewHost() *schema.Resource
- func ResourceTencentCloudCvmRenewInstance() *schema.Resource
- func ResourceTencentCloudCvmSecurityGroupAttachment() *schema.Resource
- func ResourceTencentCloudCvmSyncImage() *schema.Resource
- func ResourceTencentCloudEip() *schema.Resource
- func ResourceTencentCloudEipAddressTransform() *schema.Resource
- func ResourceTencentCloudEipAssociation() *schema.Resource
- func ResourceTencentCloudEipNormalAddressReturn() *schema.Resource
- func ResourceTencentCloudEipPublicAddressAdjust() *schema.Resource
- func ResourceTencentCloudImage() *schema.Resource
- func ResourceTencentCloudInstance() *schema.Resource
- func ResourceTencentCloudInstanceSet() *schema.Resource
- func ResourceTencentCloudKeyPair() *schema.Resource
- func ResourceTencentCloudPlacementGroup() *schema.Resource
- func ResourceTencentCloudReservedInstance() *schema.Resource
- type CvmService
- func (me *CvmService) BindKeyPair(ctx context.Context, keyIds []*string, instanceId string) error
- func (me *CvmService) CreatePlacementGroup(ctx context.Context, placementName, placementType string) (placementId string, errRet error)
- func (me *CvmService) CreateReservedInstance(ctx context.Context, configId string, count int64, ...) (instanceId string, errRet error)
- func (me *CvmService) CvmChcInstanceDeployVpcStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) CvmChcInstanceStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) CvmSyncImagesStateRefreshFunc(imageId string, failStates []string) resource.StateRefreshFunc
- func (me *CvmService) DeleteCvmChcAssistVpcById(ctx context.Context, chcId string) (errRet error)
- func (me *CvmService) DeleteCvmHpcClusterById(ctx context.Context, hpcClusterId string) (errRet error)
- func (me *CvmService) DeleteCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (errRet error)
- func (me *CvmService) DeleteCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (errRet error)
- func (me *CvmService) DeleteImage(ctx context.Context, imageId string) error
- func (me *CvmService) DeleteInstance(ctx context.Context, instanceId string) error
- func (me *CvmService) DeleteInstanceSetByIds(ctx context.Context, instanceSetIds string) error
- func (me *CvmService) DeleteKeyPair(ctx context.Context, keyId string) error
- func (me *CvmService) DeletePlacementGroup(ctx context.Context, placementId string) error
- func (me *CvmService) DescribeCvmChcDeniedActionsByFilter(ctx context.Context, param map[string]interface{}) (chcDeniedActions []*cvm.ChcHostDeniedActions, errRet error)
- func (me *CvmService) DescribeCvmChcHostsByFilter(ctx context.Context, param map[string]interface{}) (chcHosts []*cvm.ChcHost, errRet error)
- func (me *CvmService) DescribeCvmHpcClusterById(ctx context.Context, hpcClusterId string) (hpcCluster *cvm.HpcClusterInfo, errRet error)
- func (me *CvmService) DescribeCvmImageQuotaByFilter(ctx context.Context, param map[string]interface{}) (imageQuota int64, errRet error)
- func (me *CvmService) DescribeCvmImageSharePermissionByFilter(ctx context.Context, param map[string]interface{}) (imageSharePermission []*cvm.SharePermission, errRet error)
- func (me *CvmService) DescribeCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateInfo, errRet error)
- func (me *CvmService) DescribeCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (launchTemplateVersion *cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribeImageById(ctx context.Context, keyId string, isDelete bool) (image *cvm.Image, has bool, errRet error)
- func (me *CvmService) DescribeImagesByFilter(ctx context.Context, filters map[string][]string, instanceType string) (images []*cvm.Image, errRet error)
- func (me *CvmService) DescribeInstanceByFilter(ctx context.Context, instancesId []*string, filters map[string]string) (instances []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceById(ctx context.Context, instanceId string) (instance *cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceInParallelByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceSetByIds(ctx context.Context, instanceSetIds string) (instance []*cvm.Instance, errRet error)
- func (me *CvmService) DescribeInstanceTypes(ctx context.Context, zone string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
- func (me *CvmService) DescribeInstanceTypesByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
- func (me *CvmService) DescribeInstancesSellTypeByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeQuotaItem, errRet error)
- func (me *CvmService) DescribeKeyPairByFilter(ctx context.Context, id, name string, projectId *int) (keyPairs []*cvm.KeyPair, errRet error)
- func (me *CvmService) DescribeKeyPairById(ctx context.Context, keyId string) (keyPair *cvm.KeyPair, errRet error)
- func (me *CvmService) DescribeLaunchTemplateVersions(ctx context.Context, launchTemplateId string) (launchTemplates []*cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribeLaunchTemplateVersionsById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateVersionInfo, errRet error)
- func (me *CvmService) DescribePlacementGroupByFilter(ctx context.Context, id, name string) (placementGroups []*cvm.DisasterRecoverGroup, errRet error)
- func (me *CvmService) DescribePlacementGroupById(ctx context.Context, placementId string) (placementGroup *cvm.DisasterRecoverGroup, errRet error)
- func (me *CvmService) DescribeRegions(ctx context.Context) (zones []*cvm.RegionInfo, errRet error)
- func (me *CvmService) DescribeReservedInstanceByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.ReservedInstances, errRet error)
- func (me *CvmService) DescribeReservedInstanceConfigs(ctx context.Context, filters map[string]string) (configs []*cvm.ReservedInstancesOffering, errRet error)
- func (me *CvmService) DescribeZones(ctx context.Context) (zones []*cvm.ZoneInfo, errRet error)
- func (me *CvmService) ModifyDisableApiTermination(ctx context.Context, instanceId string, disableApiTermination bool) error
- func (me *CvmService) ModifyImage(ctx context.Context, instanceId, imageName, imageDesc string) (errRet error)
- func (me *CvmService) ModifyImageSharePermission(ctx context.Context, imageId, permission string, accountIds []string) (errRet error)
- func (me *CvmService) ModifyInstanceChargeType(ctx context.Context, instanceId string, chargeType string, period int, ...) error
- func (me *CvmService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) error
- func (me *CvmService) ModifyInstanceType(ctx context.Context, instanceId, instanceType string) error
- func (me *CvmService) ModifyInternetMaxBandwidthOut(ctx context.Context, instanceId, internetChargeType string, ...) error
- func (me *CvmService) ModifyKeyPairName(ctx context.Context, keyId, keyName string) error
- func (me *CvmService) ModifyLaunchTemplateDefaultVersion(ctx context.Context, launchTemplateId string, defaultVersion int) error
- func (me *CvmService) ModifyPassword(ctx context.Context, instanceId, password string) error
- func (me *CvmService) ModifyPlacementGroup(ctx context.Context, placementId, name string) error
- func (me *CvmService) ModifyProjectId(ctx context.Context, instanceId string, projectId int64) error
- func (me *CvmService) ModifyRenewParam(ctx context.Context, instanceId string, renewFlag string) error
- func (me *CvmService) ModifySecurityGroups(ctx context.Context, instanceId string, securityGroups []*string) error
- func (me *CvmService) ModifyVpc(ctx context.Context, instanceId, vpcId, subnetId, privateIp string) error
- func (me *CvmService) ResetInstance(ctx context.Context, request *cvm.ResetInstanceRequest) (errRet error)
- func (me *CvmService) ResizeInstanceDisks(ctx context.Context, request *cvm.ResizeInstanceDisksRequest) (errRet error)
- func (me *CvmService) StartInstance(ctx context.Context, instanceId string) error
- func (me *CvmService) StopInstance(ctx context.Context, instanceId string, stoppedMode string) error
- func (me *CvmService) UnbindKeyPair(ctx context.Context, keyIds []*string, instanceIds []*string) error
- type EipAssociationId
Constants ¶
View Source
const ( CVM_CHARGE_TYPE_PREPAID = "PREPAID" CVM_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" CVM_CHARGE_TYPE_SPOTPAID = "SPOTPAID" CVM_CHARGE_TYPE_CDHPAID = "CDHPAID" CVM_CHARGE_TYPE_UNDERWRITE = "UNDERWRITE" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID = "BANDWIDTH_PREPAID" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID = "BANDWIDTH_POSTPAID_BY_HOUR" CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE = "BANDWIDTH_PACKAGE" CVM_INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID = "TRAFFIC_POSTPAID_BY_HOUR" CVM_STATUS_RUNNING = "RUNNING" CVM_STATUS_STOPPED = "STOPPED" CVM_STATUS_SHUTDOWN = "SHUTDOWN" CVM_STATUS_TERMINATING = "TERMINATING" CVM_STATUS_LAUNCH_FAILED = "LAUNCH_FAILED" CVM_LATEST_OPERATION_STATE_OPERATING = "OPERATING" CVM_LATEST_OPERATION_STATE_SUCCESS = "SUCCESS" CVM_LATEST_OPERATION_STATE_FAILED = "FAILED" CVM_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW" CVM_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW = "NOTIFY_AND_MANUAL_RENEW" CVM_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW = "DISABLE_NOTIFY_AND_MANUAL_RENEW" CVM_DISK_TYPE_LOCAL_BASIC = "LOCAL_BASIC" CVM_DISK_TYPE_LOCAL_SSD = "LOCAL_SSD" CVM_DISK_TYPE_CLOUD_BASIC = "CLOUD_BASIC" CVM_DISK_TYPE_CLOUD_SSD = "CLOUD_SSD" CVM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM" CVM_DISK_TYPE_CLOUD_BSSD = "CLOUD_BSSD" CVM_DISK_TYPE_CLOUD_HSSD = "CLOUD_HSSD" CVM_DISK_TYPE_CLOUD_TSSD = "CLOUD_TSSD" CVM_PLACEMENT_GROUP_TYPE_HOST = "HOST" CVM_PLACEMENT_GROUP_TYPE_SW = "SW" CVM_PLACEMENT_GROUP_TYPE_RACK = "RACK" ZONE_STATE_AVAILABLE = "AVAILABLE" ZONE_STATE_UNAVAILABLE = "UNAVAILABLE" CVM_NOT_FOUND_ERROR = "InvalidInstanceId.NotFound" KEY_PAIR_NOT_SUPPORT_ERROR = "InvalidParameterValue.KeyPairNotSupported" KYE_PAIR_INVALID_ERROR = "InvalidKeyPair" CVM_SPOT_INSTANCE_TYPE_ONE_TIME = "ONE-TIME" CVM_MARKET_TYPE_SPOT = "spot" CVM_IMAGE_LOGIN = "TRUE" CVM_IMAGE_LOGIN_NOT = "FALSE" // @Deprecated use cvm.INVALIDPARAMETERVALUE_ZONENOTSUPPORTED CVM_ZONE_NOT_SUPPORT_ERROR = "InvalidParameterValue.ZoneNotSupported" // @Deprecated use cvm.RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT instead CVM_CLOUD_DISK_SOLD_OUT_ERROR = "ResourceInsufficient.CloudDiskSoldOut" CVM_STOP_MODE_KEEP_CHARGING = "KEEP_CHARGING" CVM_STOP_MODE_STOP_CHARGING = "STOP_CHARGING" CVM_SELL_STATUS = "SELL" CVM_SOLD_OUT_STATUS = "SOLD_OUT" MIDLINE = "-" UNDERLINE = "_" IMAGE_SHARE_PERMISSION_SHARE = "SHARE" IMAGE_SHARE_PERMISSION_CANCEL = "CANCEL" )
View Source
const ( TRUE = "true" FALSE = "false" )
Variables ¶
View Source
var CVM_CHARGE_TYPE = []string{ CVM_CHARGE_TYPE_PREPAID, CVM_CHARGE_TYPE_POSTPAID, CVM_CHARGE_TYPE_SPOTPAID, CVM_CHARGE_TYPE_CDHPAID, CVM_CHARGE_TYPE_UNDERWRITE, }
View Source
var CVM_DISK_TYPE = []string{ CVM_DISK_TYPE_LOCAL_BASIC, CVM_DISK_TYPE_LOCAL_SSD, CVM_DISK_TYPE_CLOUD_BASIC, CVM_DISK_TYPE_CLOUD_SSD, CVM_DISK_TYPE_CLOUD_PREMIUM, CVM_DISK_TYPE_CLOUD_BSSD, CVM_DISK_TYPE_CLOUD_HSSD, CVM_DISK_TYPE_CLOUD_TSSD, }
View Source
var CVM_INTERNET_CHARGE_TYPE = []string{ CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PREPAID, CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_POSTPAID, CVM_INTERNET_CHARGE_TYPE_BANDWIDTH_PACKAGE, CVM_INTERNET_CHARGE_TYPE_TRAFFIC_POSTPAID, }
View Source
var CVM_PLACEMENT_GROUP_TYPE = []string{ CVM_PLACEMENT_GROUP_TYPE_HOST, CVM_PLACEMENT_GROUP_TYPE_SW, CVM_PLACEMENT_GROUP_TYPE_RACK, }
View Source
var CVM_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var CVM_PREPAID_RENEW_FLAG = []string{ CVM_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW, CVM_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW, CVM_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW, }
View Source
var CVM_RETRYABLE_ERROR = []string{
"ClientError.HttpStatusCodeError",
}
Only client error can cvm retry, others will directly returns
View Source
var CVM_SPOT_INSTANCE_TYPE = []string{ CVM_SPOT_INSTANCE_TYPE_ONE_TIME, }
Functions ¶
func ResourceTencentCloudCvmImportImage ¶ added in v1.81.62
func ResourceTencentCloudCvmModifyInstanceDiskType ¶ added in v1.81.62
func ResourceTencentCloudCvmProgramFpgaImage ¶ added in v1.81.62
func ResourceTencentCloudCvmRenewHost ¶ added in v1.81.62
func ResourceTencentCloudEip ¶
Types ¶
type CvmService ¶
type CvmService struct {
// contains filtered or unexported fields
}
func NewCvmService ¶
func NewCvmService(client *connectivity.TencentCloudClient) CvmService
func (*CvmService) BindKeyPair ¶
func (*CvmService) CreatePlacementGroup ¶
func (*CvmService) CreateReservedInstance ¶
func (*CvmService) CvmChcInstanceDeployVpcStateRefreshFunc ¶
func (me *CvmService) CvmChcInstanceDeployVpcStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) CvmChcInstanceStateRefreshFunc ¶
func (me *CvmService) CvmChcInstanceStateRefreshFunc(chcId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) CvmSyncImagesStateRefreshFunc ¶
func (me *CvmService) CvmSyncImagesStateRefreshFunc(imageId string, failStates []string) resource.StateRefreshFunc
func (*CvmService) DeleteCvmChcAssistVpcById ¶
func (me *CvmService) DeleteCvmChcAssistVpcById(ctx context.Context, chcId string) (errRet error)
func (*CvmService) DeleteCvmHpcClusterById ¶
func (me *CvmService) DeleteCvmHpcClusterById(ctx context.Context, hpcClusterId string) (errRet error)
func (*CvmService) DeleteCvmLaunchTemplateById ¶
func (me *CvmService) DeleteCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (errRet error)
func (*CvmService) DeleteCvmLaunchTemplateVersionById ¶
func (me *CvmService) DeleteCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (errRet error)
func (*CvmService) DeleteImage ¶
func (me *CvmService) DeleteImage(ctx context.Context, imageId string) error
func (*CvmService) DeleteInstance ¶
func (me *CvmService) DeleteInstance(ctx context.Context, instanceId string) error
func (*CvmService) DeleteInstanceSetByIds ¶
func (me *CvmService) DeleteInstanceSetByIds(ctx context.Context, instanceSetIds string) error
func (*CvmService) DeleteKeyPair ¶
func (me *CvmService) DeleteKeyPair(ctx context.Context, keyId string) error
func (*CvmService) DeletePlacementGroup ¶
func (me *CvmService) DeletePlacementGroup(ctx context.Context, placementId string) error
func (*CvmService) DescribeCvmChcDeniedActionsByFilter ¶
func (me *CvmService) DescribeCvmChcDeniedActionsByFilter(ctx context.Context, param map[string]interface{}) (chcDeniedActions []*cvm.ChcHostDeniedActions, errRet error)
func (*CvmService) DescribeCvmChcHostsByFilter ¶
func (*CvmService) DescribeCvmHpcClusterById ¶
func (me *CvmService) DescribeCvmHpcClusterById(ctx context.Context, hpcClusterId string) (hpcCluster *cvm.HpcClusterInfo, errRet error)
func (*CvmService) DescribeCvmImageQuotaByFilter ¶
func (*CvmService) DescribeCvmImageSharePermissionByFilter ¶
func (me *CvmService) DescribeCvmImageSharePermissionByFilter(ctx context.Context, param map[string]interface{}) (imageSharePermission []*cvm.SharePermission, errRet error)
func (*CvmService) DescribeCvmLaunchTemplateById ¶
func (me *CvmService) DescribeCvmLaunchTemplateById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateInfo, errRet error)
func (*CvmService) DescribeCvmLaunchTemplateVersionById ¶
func (me *CvmService) DescribeCvmLaunchTemplateVersionById(ctx context.Context, launchTemplateId, launchTemplateVersionNumber string) (launchTemplateVersion *cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribeImageById ¶
func (*CvmService) DescribeImagesByFilter ¶
func (*CvmService) DescribeInstanceByFilter ¶
func (*CvmService) DescribeInstanceById ¶
func (*CvmService) DescribeInstanceInParallelByFilter ¶
func (*CvmService) DescribeInstanceSetByIds ¶
func (*CvmService) DescribeInstanceTypes ¶
func (me *CvmService) DescribeInstanceTypes(ctx context.Context, zone string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
func (*CvmService) DescribeInstanceTypesByFilter ¶
func (me *CvmService) DescribeInstanceTypesByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeConfig, errRet error)
func (*CvmService) DescribeInstancesSellTypeByFilter ¶
func (me *CvmService) DescribeInstancesSellTypeByFilter(ctx context.Context, filters map[string][]string) (instanceTypes []*cvm.InstanceTypeQuotaItem, errRet error)
func (*CvmService) DescribeKeyPairByFilter ¶
func (*CvmService) DescribeKeyPairById ¶
func (*CvmService) DescribeLaunchTemplateVersions ¶
func (me *CvmService) DescribeLaunchTemplateVersions(ctx context.Context, launchTemplateId string) (launchTemplates []*cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribeLaunchTemplateVersionsById ¶
func (me *CvmService) DescribeLaunchTemplateVersionsById(ctx context.Context, launchTemplateId string) (launchTemplate *cvm.LaunchTemplateVersionInfo, errRet error)
func (*CvmService) DescribePlacementGroupByFilter ¶
func (me *CvmService) DescribePlacementGroupByFilter(ctx context.Context, id, name string) (placementGroups []*cvm.DisasterRecoverGroup, errRet error)
func (*CvmService) DescribePlacementGroupById ¶
func (me *CvmService) DescribePlacementGroupById(ctx context.Context, placementId string) (placementGroup *cvm.DisasterRecoverGroup, errRet error)
func (*CvmService) DescribeRegions ¶
func (me *CvmService) DescribeRegions(ctx context.Context) (zones []*cvm.RegionInfo, errRet error)
func (*CvmService) DescribeReservedInstanceByFilter ¶
func (me *CvmService) DescribeReservedInstanceByFilter(ctx context.Context, filters map[string]string) (instances []*cvm.ReservedInstances, errRet error)
func (*CvmService) DescribeReservedInstanceConfigs ¶
func (me *CvmService) DescribeReservedInstanceConfigs(ctx context.Context, filters map[string]string) (configs []*cvm.ReservedInstancesOffering, errRet error)
func (*CvmService) DescribeZones ¶
func (*CvmService) ModifyDisableApiTermination ¶
func (*CvmService) ModifyImage ¶
func (me *CvmService) ModifyImage(ctx context.Context, instanceId, imageName, imageDesc string) (errRet error)
func (*CvmService) ModifyImageSharePermission ¶
func (*CvmService) ModifyInstanceChargeType ¶
func (*CvmService) ModifyInstanceName ¶
func (me *CvmService) ModifyInstanceName(ctx context.Context, instanceId, instanceName string) error
func (*CvmService) ModifyInstanceType ¶
func (me *CvmService) ModifyInstanceType(ctx context.Context, instanceId, instanceType string) error
func (*CvmService) ModifyInternetMaxBandwidthOut ¶
func (*CvmService) ModifyKeyPairName ¶
func (me *CvmService) ModifyKeyPairName(ctx context.Context, keyId, keyName string) error
func (*CvmService) ModifyLaunchTemplateDefaultVersion ¶
func (*CvmService) ModifyPassword ¶
func (me *CvmService) ModifyPassword(ctx context.Context, instanceId, password string) error
func (*CvmService) ModifyPlacementGroup ¶
func (me *CvmService) ModifyPlacementGroup(ctx context.Context, placementId, name string) error
func (*CvmService) ModifyProjectId ¶
func (*CvmService) ModifyRenewParam ¶
func (*CvmService) ModifySecurityGroups ¶
func (*CvmService) ModifyVpc ¶
func (me *CvmService) ModifyVpc(ctx context.Context, instanceId, vpcId, subnetId, privateIp string) error
func (*CvmService) ResetInstance ¶
func (me *CvmService) ResetInstance(ctx context.Context, request *cvm.ResetInstanceRequest) (errRet error)
func (*CvmService) ResizeInstanceDisks ¶
func (me *CvmService) ResizeInstanceDisks(ctx context.Context, request *cvm.ResizeInstanceDisksRequest) (errRet error)
func (*CvmService) StartInstance ¶
func (me *CvmService) StartInstance(ctx context.Context, instanceId string) error
func (*CvmService) StopInstance ¶
func (*CvmService) UnbindKeyPair ¶
type EipAssociationId ¶
type EipAssociationId struct { EipId string InstanceId string NetworkInterfaceId string PrivateIp string }
func ParseEipAssociationId ¶
func ParseEipAssociationId(associationId string) (association EipAssociationId, errRet error)
Source Files ¶
- data_source_tc_cvm_chc_denied_actions.go
- data_source_tc_cvm_chc_hosts.go
- data_source_tc_cvm_disaster_recover_group_quota.go
- data_source_tc_cvm_image_quota.go
- data_source_tc_cvm_image_share_permission.go
- data_source_tc_cvm_import_image_os.go
- data_source_tc_cvm_instance_vnc_url.go
- data_source_tc_cvm_instances_modification.go
- data_source_tc_eip.go
- data_source_tc_eip_address_quota.go
- data_source_tc_eip_network_account_type.go
- data_source_tc_eips.go
- data_source_tc_image.go
- data_source_tc_images.go
- data_source_tc_instance_types.go
- data_source_tc_instances.go
- data_source_tc_instances_set.go
- data_source_tc_key_pairs.go
- data_source_tc_placement_groups.go
- data_source_tc_reserved_instance_configs.go
- data_source_tc_reserved_instances.go
- extension_cvm.go
- extension_images.go
- resource_tc_cvm_chc_config.go
- resource_tc_cvm_export_images.go
- resource_tc_cvm_hpc_cluster.go
- resource_tc_cvm_image_share_permission.go
- resource_tc_cvm_import_image.go
- resource_tc_cvm_launch_template.go
- resource_tc_cvm_launch_template_default_version.go
- resource_tc_cvm_launch_template_version.go
- resource_tc_cvm_modify_instance_disk_type.go
- resource_tc_cvm_program_fpga_image.go
- resource_tc_cvm_reboot_instance.go
- resource_tc_cvm_renew_host.go
- resource_tc_cvm_renew_instance.go
- resource_tc_cvm_security_group_attachment.go
- resource_tc_cvm_sync_image.go
- resource_tc_eip.go
- resource_tc_eip_address_transform.go
- resource_tc_eip_association.go
- resource_tc_eip_normal_address_return.go
- resource_tc_eip_public_address_adjust.go
- resource_tc_image.go
- resource_tc_instance.go
- resource_tc_instance_set.go
- resource_tc_key_pair.go
- resource_tc_placement_group.go
- resource_tc_reserved_instance.go
- service_tencentcloud_cvm.go
Click to show internal directories.
Click to hide internal directories.