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 ResourceTencentCloudCvmLaunchTemplate() *schema.Resource
- func ResourceTencentCloudCvmLaunchTemplateDefaultVersion() *schema.Resource
- func ResourceTencentCloudCvmLaunchTemplateVersion() *schema.Resource
- func ResourceTencentCloudCvmRebootInstance() *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 CbsService
- func (me *CbsService) ApplyDiskBackup(ctx context.Context, diskBackupId, diskId string) (errRet error)
- func (me *CbsService) ApplySnapshot(ctx context.Context, diskId, snapshotId string) error
- func (me *CbsService) AttachDisk(ctx context.Context, diskId, instanceId string) error
- func (me *CbsService) AttachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
- func (me *CbsService) CreateDiskBackup(ctx context.Context, diskId, diskBackupName string) (diskBackupId string, errRet error)
- func (me *CbsService) CreateSnapshot(ctx context.Context, diskId, snapshotName string, tags map[string]string) (snapshotId string, errRet error)
- func (me *CbsService) DeleteCbsDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
- func (me *CbsService) DeleteDiskById(ctx context.Context, diskId string) error
- func (me *CbsService) DeleteDiskSetByIds(ctx context.Context, diskSetIds string) error
- func (me *CbsService) DeleteSnapshot(ctx context.Context, snapshotId string) error
- func (me *CbsService) DeleteSnapshotPolicy(ctx context.Context, policyId string) error
- func (me *CbsService) DescribeAttachedSnapshotPolicy(ctx context.Context, diskId, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeCbsDiskBackupById(ctx context.Context, diskBackupId string) (DiskBackup *cbs.DiskBackup, errRet error)
- func (me *CbsService) DescribeCbsSnapshotSharePermissionById(ctx context.Context, snapshotId string) (snapshotSharePermissions []*cbs.SharePermission, errRet error)
- func (me *CbsService) DescribeDiskById(ctx context.Context, diskId string) (disk *cbs.Disk, errRet error)
- func (me *CbsService) DescribeDiskList(ctx context.Context, diskIds []*string) (disk []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDiskSetByIds(ctx context.Context, diskSetIds string) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDisksByFilter(ctx context.Context, params map[string]interface{}) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeDisksInParallelByFilter(ctx context.Context, params map[string]interface{}) (disks []*cbs.Disk, errRet error)
- func (me *CbsService) DescribeSnapshotById(ctx context.Context, snapshotId string) (snapshot *cbs.Snapshot, errRet error)
- func (me *CbsService) DescribeSnapshotByIds(ctx context.Context, snapshotIdsParam []*string) (snapshots []*cbs.Snapshot, errRet error)
- func (me *CbsService) DescribeSnapshotPolicy(ctx context.Context, policyId, policyName string) (policies []*cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeSnapshotPolicyById(ctx context.Context, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
- func (me *CbsService) DescribeSnapshotsByFilter(ctx context.Context, params map[string]string) (snapshots []*cbs.Snapshot, errRet error)
- func (me *CbsService) DetachDisk(ctx context.Context, diskId, instanceId string) error
- func (me *CbsService) ModifyDiskAttributes(ctx context.Context, diskId, diskName string, projectId int) error
- func (me *CbsService) ModifyDiskBackupQuota(ctx context.Context, diskId string, diskBackupQuota int) (errRet error)
- func (me *CbsService) ModifyDiskChargeType(ctx context.Context, storageId string, chargeType string, renewFlag string, ...) error
- func (me *CbsService) ModifyDisksRenewFlag(ctx context.Context, storageId string, renewFlag string) error
- func (me *CbsService) ModifySnapshotName(ctx context.Context, snapshotId, snapshotName string) error
- func (me *CbsService) ModifySnapshotsSharePermission(ctx context.Context, snapshotId, permission string, accountIds []string) (errRet error)
- func (me *CbsService) ModifyThroughputPerformance(ctx context.Context, diskId string, throughputPerformance int) error
- func (me *CbsService) ResizeDisk(ctx context.Context, diskId string, diskSize int) error
- func (me *CbsService) UnattachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
- 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
- type TagService
- func (me *TagService) DeleteTagResourceById(ctx context.Context, tagKey string, tagValue string) (errRet error)
- func (me *TagService) DeleteTagTagAttachmentById(ctx context.Context, tagKey string, resource string) (errRet error)
- func (me *TagService) DescribeProjectById(ctx context.Context, projectId uint64) (project *tag.Project, disable *uint64, errRet error)
- func (me *TagService) DescribeProjects(ctx context.Context, param map[string]interface{}) (project []*tag.Project, errRet error)
- func (me *TagService) DescribeResourceTags(ctx context.Context, serviceType, resourceType, region, resourceId string) (tags map[string]string, err error)
- func (me *TagService) DescribeTagResourceById(ctx context.Context, tagKey string, tagValue string) (tagRes *tag.Tag, errRet error)
- func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
- func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
- func (me *TagService) ModifyTags(ctx context.Context, resourceName string, replaceTags map[string]string, ...) error
- type VpcACLRule
- type VpcBasicInfo
- type VpcEniIP
- type VpcRouteEntryBasicInfo
- type VpcRouteTableBasicInfo
- type VpcSecurityGroupLiteRule
- type VpcService
- func (me *VpcService) AssignIpv4ToEni(ctx context.Context, id string, ipv4s []VpcEniIP, ipv4Count *int) error
- func (me *VpcService) AssociateAclSubnets(ctx context.Context, aclId string, subnetIds []string) (errRet error)
- func (me *VpcService) AttachEip(ctx context.Context, eipId, instanceId string) error
- func (me *VpcService) AttachEniToCvm(ctx context.Context, eniId, cvmId string) error
- func (me *VpcService) AttachLiteRulesToSecurityGroup(ctx context.Context, sgId string, ingress, egress []VpcSecurityGroupLiteRule) error
- func (me *VpcService) AttachRulesToACL(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
- func (me *VpcService) CheckAssistantCidr(ctx context.Context, request *vpc.CheckAssistantCidrRequest) (info []*vpc.ConflictSource, errRet error)
- func (me *VpcService) CreateAddressTemplate(ctx context.Context, name string, addresses []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateAddressTemplateGroup(ctx context.Context, name string, addressTemplate []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateAssistantCidr(ctx context.Context, request *vpc.CreateAssistantCidrRequest) (info []*vpc.AssistantCidr, errRet error)
- func (me *VpcService) CreateEni(ctx context.Context, name, vpcId, subnetId, desc string, ...) (id string, err error)
- func (me *VpcService) CreateNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
- func (me *VpcService) CreateRouteTable(ctx context.Context, name, vpcId string, tags map[string]string) (routeTableId string, errRet error)
- func (me *VpcService) CreateRoutes(ctx context.Context, ...) (entryId int64, errRet error)
- func (me *VpcService) CreateSecurityGroup(ctx context.Context, name, desc string, projectId *int, tags map[string]string) (id string, err error)
- func (me *VpcService) CreateSecurityGroupPolicies(ctx context.Context, request *vpc.CreateSecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) CreateSecurityGroupPolicy(ctx context.Context, info securityGroupRuleBasicInfoWithPolicyIndex) (ruleId string, err error)deprecated
- func (me *VpcService) CreateServiceTemplate(ctx context.Context, name string, services []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateServiceTemplateGroup(ctx context.Context, name string, serviceTemplate []interface{}) (templateId string, errRet error)
- func (me *VpcService) CreateSubnet(ctx context.Context, vpcId, name, cidr, zone string, tags map[string]string) (subnetId string, errRet error)
- func (me *VpcService) CreateVpc(ctx context.Context, name, cidr string, isMulticast bool, dnsServers []string, ...) (vpcId string, isDefault bool, errRet error)
- func (me *VpcService) CreateVpcNetworkAcl(ctx context.Context, vpcID string, name string, tags map[string]string) (aclID string, errRet error)
- func (me *VpcService) CreateVpnGatewayRoute(ctx context.Context, vpnGatewayId string, vpnGwRoutes []*vpc.VpnGatewayRoute) (errRet error, routes []*vpc.VpnGatewayRoute)
- func (me *VpcService) DeleteAcl(ctx context.Context, aclID string) (errRet error)
- func (me *VpcService) DeleteAclAttachment(ctx context.Context, attachmentAcl string) (errRet error)
- func (me *VpcService) DeleteAddressTemplate(ctx context.Context, templateId string) (errRet error)
- func (me *VpcService) DeleteAddressTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
- func (me *VpcService) DeleteAssistantCidr(ctx context.Context, request *vpc.DeleteAssistantCidrRequest) (errRet error)
- func (me *VpcService) DeleteCustomerGateway(ctx context.Context, customerGatewayId string) (errRet error)
- func (me *VpcService) DeleteEip(ctx context.Context, eipId string) error
- func (me *VpcService) DeleteEni(ctx context.Context, id string) error
- func (me *VpcService) DeleteHaVip(ctx context.Context, haVipId string) (errRet error)
- func (me *VpcService) DeleteLiteRules(ctx context.Context, sgId string, rules []VpcSecurityGroupLiteRule, ...) error
- func (me *VpcService) DeleteNatGateway(ctx context.Context, natGatewayId string) (errRet error)
- func (me *VpcService) DeleteNatGatewaySnat(ctx context.Context, natGatewayId string, snatId string) (errRet error)
- func (me *VpcService) DeleteRouteTable(ctx context.Context, routeTableId string) (errRet error)
- func (me *VpcService) DeleteRoutes(ctx context.Context, routeTableId string, entryId uint64) (errRet error)
- func (me *VpcService) DeleteSecurityGroup(ctx context.Context, id string) error
- func (me *VpcService) DeleteSecurityGroupPolicies(ctx context.Context, request *vpc.DeleteSecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) DeleteSecurityGroupPolicy(ctx context.Context, ruleId string) error
- func (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndex(ctx context.Context, policyIndex int64, sgId, policyType string) error
- func (me *VpcService) DeleteSecurityGroupPolicyByPolicyIndexList(ctx context.Context, sgId string, policyIndexList []*int64, policyType string) error
- func (me *VpcService) DeleteServiceTemplate(ctx context.Context, templateId string) (errRet error)
- func (me *VpcService) DeleteServiceTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
- func (me *VpcService) DeleteSubnet(ctx context.Context, subnetId string) (errRet error)
- func (me *VpcService) DeleteVpc(ctx context.Context, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcBandwidthPackageAttachmentById(ctx context.Context, bandwidthPackageId, resourceId string) (errRet error)
- func (me *VpcService) DeleteVpcBandwidthPackageById(ctx context.Context, bandwidthPackageId string) (errRet error)
- func (me *VpcService) DeleteVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (errRet error)
- func (me *VpcService) DeleteVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string) (errRet error)
- func (me *VpcService) DeleteVpcDhcpIpById(ctx context.Context, dhcpIpId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointById(ctx context.Context, endPointId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (errRet error)
- func (me *VpcService) DeleteVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (errRet error)
- func (me *VpcService) DeleteVpcEniSgAttachmentById(ctx context.Context, networkInterfaceId string, securityGroupIds []string) (errRet error)
- func (me *VpcService) DeleteVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6CidrBlockById(ctx context.Context, vpcId string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6EniAddressById(ctx context.Context, networkInterfaceId string, ipv6Address string) (errRet error)
- func (me *VpcService) DeleteVpcIpv6SubnetCidrBlockById(ctx context.Context, vpcId string, subnetId string) (errRet error)
- func (me *VpcService) DeleteVpcLocalGatewayById(ctx context.Context, cdcId string, localGatewayId string) (errRet error)
- func (me *VpcService) DeleteVpcNetDetectById(ctx context.Context, netDetectId string) (errRet error)
- func (me *VpcService) DeleteVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (errRet error)
- func (me *VpcService) DeleteVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (errRet error)
- func (me *VpcService) DeleteVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (errRet error)
- func (me *VpcService) DeleteVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (errRet error)
- func (me *VpcService) DeleteVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (errRet error)
- func (me *VpcService) DeleteVpnGateway(ctx context.Context, vpnGatewayId string) (errRet error)
- func (me *VpcService) DeleteVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, routeIds []*string) (errRet error)
- func (me *VpcService) DeleteVpnGatewaySslClient(ctx context.Context, SslClientId string) (taskId *uint64, errRet error)
- func (me *VpcService) DeleteVpnGatewaySslServer(ctx context.Context, SslServerId string) (taskId uint64, errRet error)
- func (me *VpcService) DescribeAddressTemplateById(ctx context.Context, templateId string) (template *vpc.AddressTemplate, has bool, errRet error)
- func (me *VpcService) DescribeAddressTemplateGroupById(ctx context.Context, templateGroupId string) (templateGroup *vpc.AddressTemplateGroup, has bool, errRet error)
- func (me *VpcService) DescribeAddressTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplateGroup, errRet error)
- func (me *VpcService) DescribeAddressTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplate, errRet error)
- func (me *VpcService) DescribeAssistantCidr(ctx context.Context, vpcId string) (info []*vpc.AssistantCidr, errRet error)
- func (me *VpcService) DescribeByAclId(ctx context.Context, attachmentAcl string) (has bool, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
- func (me *VpcService) DescribeCustomerGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.CustomerGateway, errRet error)
- func (me *VpcService) DescribeEipAddressQuota(ctx context.Context) (addressQuota []*vpc.Quota, errRet error)
- func (me *VpcService) DescribeEipByFilter(ctx context.Context, filters map[string][]string) (eips []*vpc.Address, errRet error)
- func (me *VpcService) DescribeEipById(ctx context.Context, eipId string) (eip *vpc.Address, errRet error)
- func (me *VpcService) DescribeEipNetworkAccountType(ctx context.Context) (networkAccountType *string, errRet error)
- func (me *VpcService) DescribeEniByFilters(ctx context.Context, vpcId, subnetId, cvmId, sgId, name, desc, ipv4 *string, ...) (enis []*vpc.NetworkInterface, err error)
- func (me *VpcService) DescribeEniById(ctx context.Context, ids []string) (enis []*vpc.NetworkInterface, err error)
- func (me *VpcService) DescribeFlowLogs(ctx context.Context, request *vpc.DescribeFlowLogsRequest) (result []*vpc.FlowLog, errRet error)
- func (me *VpcService) DescribeHaVipByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.HaVip, errRet error)
- func (me *VpcService) DescribeHaVipEipById(ctx context.Context, haVipEipAttachmentId string) (eip string, haVip string, has bool, errRet error)
- func (me *VpcService) DescribeNatDcRouteByFilter(ctx context.Context, param map[string]interface{}) (natDcRoute []*vpc.NatDirectConnectGatewayRoute, errRet error)
- func (me *VpcService) DescribeNatGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.NatGateway, errRet error)
- func (me *VpcService) DescribeNatGatewayById(ctx context.Context, natGateWayId string) (natGateWay *vpc.NatGateway, errRet error)
- func (me *VpcService) DescribeNatGatewaySnats(ctx context.Context, natGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.SourceIpTranslationNatRule)
- func (me *VpcService) DescribeNetWorkAcls(ctx context.Context, aclID, vpcID, name string) (info []*vpc.NetworkAcl, errRet error)
- func (me *VpcService) DescribeNetWorkByACLID(ctx context.Context, aclID string) (info *vpc.NetworkAcl, has int, errRet error)
- func (me *VpcService) DescribeRouteTable(ctx context.Context, routeTableId string) (info VpcRouteTableBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeRouteTables(ctx context.Context, routeTableId, routeTableName, vpcId string, ...) (infos []VpcRouteTableBasicInfo, errRet error)
- func (me *VpcService) DescribeSecurityGroup(ctx context.Context, id string) (sg *vpc.SecurityGroup, err error)
- func (me *VpcService) DescribeSecurityGroupPolices(ctx context.Context, sgId string) (ingress, egress []VpcSecurityGroupLiteRule, exist bool, err error)
- func (me *VpcService) DescribeSecurityGroupPolicies(ctx context.Context, sgId string) (result *vpc.SecurityGroupPolicySet, errRet error)
- func (me *VpcService) DescribeSecurityGroupPolicy(ctx context.Context, ruleId string) (sgId string, policyType string, policy *vpc.SecurityGroupPolicy, errRet error)deprecated
- func (me *VpcService) DescribeSecurityGroups(ctx context.Context, sgId, sgName *string, projectId *int, ...) (sgs []*vpc.SecurityGroup, err error)
- func (me *VpcService) DescribeSecurityGroupsAssociate(ctx context.Context, ids []string) ([]*vpc.SecurityGroupAssociationStatistics, error)
- func (me *VpcService) DescribeServiceTemplateById(ctx context.Context, templateId string) (template *vpc.ServiceTemplate, has bool, errRet error)
- func (me *VpcService) DescribeServiceTemplateGroupById(ctx context.Context, templateGroupId string) (template *vpc.ServiceTemplateGroup, has bool, errRet error)
- func (me *VpcService) DescribeServiceTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplateGroup, errRet error)
- func (me *VpcService) DescribeServiceTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplate, errRet error)
- func (me *VpcService) DescribeSubnet(ctx context.Context, subnetId string, isRemoteVpcSNAT *bool, ...) (info VpcSubnetBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeSubnetById(ctx context.Context, subnetId string) (instance *vpc.Subnet, errRet error)
- func (me *VpcService) DescribeSubnets(ctx context.Context, subnetId, vpcId, subnetName, zone string, ...) (infos []VpcSubnetBasicInfo, errRet error)
- func (me *VpcService) DescribeTaskResult(ctx context.Context, taskId *uint64) (result *vpc.DescribeTaskResultResponse, err error)
- func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
- func (me *VpcService) DescribeVpc(ctx context.Context, vpcId string, tagKey string, cidrBlock string) (info VpcBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeVpcAccountAttributes(ctx context.Context) (accountAttributes []*vpc.AccountAttribute, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackage(ctx context.Context, bandwidthPackageId string) (resource *vpc.BandwidthPackage, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageAttachment(ctx context.Context, bandwidthPackageId, resourceId string) (bandwidthPackageResources *vpc.Resource, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageBillUsageByFilter(ctx context.Context, param map[string]interface{}) (bandwidthPackageBillUsage []*vpc.BandwidthPackageBillBandwidth, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageByEip(ctx context.Context, eipId string) (resource *vpc.BandwidthPackage, errRet error)
- func (me *VpcService) DescribeVpcBandwidthPackageQuota(ctx context.Context) (bandwidthPackageQuota []*vpc.Quota, errRet error)
- func (me *VpcService) DescribeVpcById(ctx context.Context, vpcId string) (instance *vpc.Vpc, errRet error)
- func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
- func (me *VpcService) DescribeVpcCcnRoutesById(ctx context.Context, ccnId string, routeId string) (ccnRoutes *vpc.CcnRoute, errRet error)
- func (me *VpcService) DescribeVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (classicLinkAttachment *vpc.ClassicLinkInstance, errRet error)
- func (me *VpcService) DescribeVpcClassicLinkInstancesByFilter(ctx context.Context, param map[string]interface{}) (classicLinkInstances []*vpc.ClassicLinkInstance, errRet error)
- func (me *VpcService) DescribeVpcCvmInstancesByFilter(ctx context.Context, param map[string]interface{}) (CvmInstances []*vpc.CvmInstance, errRet error)
- func (me *VpcService) DescribeVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string, addressIp string) (dhcpAssociateAddress *vpc.DhcpIp, errRet error)
- func (me *VpcService) DescribeVpcDhcpIpById(ctx context.Context, dhcpIpId string) (dhcpIp *vpc.DhcpIp, errRet error)
- func (me *VpcService) DescribeVpcEndPointById(ctx context.Context, endPointId string) (endPoint *vpc.EndPoint, errRet error)
- func (me *VpcService) DescribeVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (endPointService *vpc.EndPointService, errRet error)
- func (me *VpcService) DescribeVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (endPointServiceWhiteList *vpc.VpcEndPointServiceUser, errRet error)
- func (me *VpcService) DescribeVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (FlowLog *vpc.FlowLog, errRet error)
- func (me *VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowMonitorDetail []*vpc.GatewayFlowMonitorDetail, errRet error)
- func (me *VpcService) DescribeVpcGatewayFlowQosByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowQos []*vpc.GatewayQos, errRet error)
- func (me *VpcService) DescribeVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (ipv6Address *vpc.Address, errRet error)
- func (me *VpcService) DescribeVpcIpv6EniAddressById(ctx context.Context, vpcId string, ipv6Address string) (ipv6EniAddress *vpc.VpcIpv6Address, errRet error)
- func (me *VpcService) DescribeVpcLimitsByFilter(ctx context.Context, param map[string]interface{}) (limits []*vpc.VpcLimit, errRet error)
- func (me *VpcService) DescribeVpcLocalGatewayById(ctx context.Context, localGatewayId string) (localGateway *vpc.LocalGateway, errRet error)
- func (me *VpcService) DescribeVpcNetDetectById(ctx context.Context, netDetectId string) (netDetect *vpc.NetDetect, errRet error)
- func (me *VpcService) DescribeVpcNetDetectStateCheck(ctx context.Context, param map[string]interface{}) (netDetectStateCheck []*vpc.NetDetectIpState, errRet error)
- func (me *VpcService) DescribeVpcNetDetectStatesByFilter(ctx context.Context, param map[string]interface{}) (NetDetectStates []*vpc.NetDetectState, errRet error)
- func (me *VpcService) DescribeVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (networkAclQuintuples []*vpc.NetworkAclQuintupleEntry, errRet error)
- func (me *VpcService) DescribeVpcNetworkInterfaceLimit(ctx context.Context, param map[string]interface{}) (networkInterfaceLimit *vpc.DescribeNetworkInterfaceLimitResponseParams, ...)
- func (me *VpcService) DescribeVpcNotifyRoutesById(ctx context.Context, routeTableId string, routeItemId string) (notifyRoute *vpc.Route, errRet error)
- func (me *VpcService) DescribeVpcPrivateIpAddresses(ctx context.Context, param map[string]interface{}) (PrivateIpAddresses []*vpc.VpcPrivateIpAddress, errRet error)
- func (me *VpcService) DescribeVpcProductQuota(ctx context.Context, param map[string]interface{}) (ProductQuota []*vpc.ProductQuota, errRet error)
- func (me *VpcService) DescribeVpcResourceDashboard(ctx context.Context, param map[string]interface{}) (ResourceDashboard []*vpc.ResourceDashboard, errRet error)
- func (me *VpcService) DescribeVpcRouteConflicts(ctx context.Context, param map[string]interface{}) (routeConflicts []*vpc.RouteConflict, errRet error)
- func (me *VpcService) DescribeVpcSecurityGroupLimits(ctx context.Context, param map[string]interface{}) (securityGroupLimit *vpc.SecurityGroupLimitSet, errRet error)
- func (me *VpcService) DescribeVpcSecurityGroupReferences(ctx context.Context, param map[string]interface{}) (securityGroupReferences []*vpc.ReferredSecurityGroup, errRet error)
- func (me *VpcService) DescribeVpcSgSnapshotFileContent(ctx context.Context, param map[string]interface{}) (sgSnapshotFileContent *vpc.DescribeSgSnapshotFileContentResponseParams, ...)
- func (me *VpcService) DescribeVpcSnapshotFilesByFilter(ctx context.Context, param map[string]interface{}) (SnapshotFiles []*vpc.SnapshotFileInfo, errRet error)
- func (me *VpcService) DescribeVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (snapshotPolices []*vpc.SnapshotPolicy, errRet error)
- func (me *VpcService) DescribeVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (snapshotPolicyAttachment []*vpc.SnapshotInstance, errRet error)
- func (me *VpcService) DescribeVpcSubnetResourceDashboardByFilter(ctx context.Context, param map[string]interface{}) (subnetResourceDashboard []*vpc.ResourceStatistics, errRet error)
- func (me *VpcService) DescribeVpcTaskResult(ctx context.Context, taskId *string) (err error)
- func (me *VpcService) DescribeVpcTemplateLimits(ctx context.Context) (templateLimit *vpc.TemplateLimit, errRet error)
- func (me *VpcService) DescribeVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (TrafficPackage *vpc.TrafficPackage, errRet error)
- func (me *VpcService) DescribeVpcUsedIpAddressByFilter(ctx context.Context, param map[string]interface{}) (UsedIpAddress []*vpc.IpAddressStates, errRet error)
- func (me *VpcService) DescribeVpcVpnGatewayCcnRoutesById(ctx context.Context, vpnGatewayId string, routeId string) (vpnGatewayCcnRoutes *vpc.VpngwCcnRoutes, errRet error)
- func (me *VpcService) DescribeVpcs(ctx context.Context, vpcId, name string, tags map[string]string, ...) (infos []VpcBasicInfo, errRet error)
- func (me *VpcService) DescribeVpnCustomerGatewayVendors(ctx context.Context) (vpnCustomerGatewayVendors []*vpc.CustomerGatewayVendor, errRet error)
- func (me *VpcService) DescribeVpnDefaultHealthCheckIp(ctx context.Context, param map[string]interface{}) (...)
- func (me *VpcService) DescribeVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.VpnGatewayRoute)
- func (me *VpcService) DescribeVpnGwByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.VpnGateway, errRet error)
- func (me *VpcService) DescribeVpnGwSslClientByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnClient, errRet error)
- func (me *VpcService) DescribeVpnGwSslServerByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnSever, errRet error)
- func (me *VpcService) DescribeVpnSslClientById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnClient, err error)
- func (me *VpcService) DescribeVpnSslServerById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnSever, err error)
- func (me *VpcService) DescribeVpngwById(ctx context.Context, vpngwId string) (has bool, gateway *vpc.VpnGateway, err error)
- func (me *VpcService) DetachAllLiteRulesFromSecurityGroup(ctx context.Context, sgId string) error
- func (me *VpcService) DetachEniFromCvm(ctx context.Context, eniId, cvmId string) error
- func (me *VpcService) DisableRoutes(ctx context.Context, request *vpc.DisableRoutesRequest) (errRet error)
- func (me *VpcService) DisassociateNatGatewayAddress(ctx context.Context, request *vpc.DisassociateNatGatewayAddressRequest) (result *vpc.DisassociateNatGatewayAddressResponse, errRet error)
- func (me *VpcService) EnableRoutes(ctx context.Context, request *vpc.EnableRoutesRequest) (errRet error)
- func (me *VpcService) GetRouteId(ctx context.Context, ...) (entryId int64, errRet error)
- func (me *VpcService) IsRouteTableInVpc(ctx context.Context, routeTableId, vpcId string) (info VpcRouteTableBasicInfo, has int, errRet error)
- func (me *VpcService) ModifyAddressTemplate(ctx context.Context, templateId string, name string, addresses []interface{}) (errRet error)
- func (me *VpcService) ModifyAddressTemplateGroup(ctx context.Context, templateGroupId string, name string, ...) (errRet error)
- func (me *VpcService) ModifyAssistantCidr(ctx context.Context, request *vpc.ModifyAssistantCidrRequest) (errRet error)
- func (me *VpcService) ModifyEipBandwidthOut(ctx context.Context, eipId string, bandwidthOut int) error
- func (me *VpcService) ModifyEipInternetChargeType(ctx context.Context, eipId string, internetChargeType string, ...) error
- func (me *VpcService) ModifyEipName(ctx context.Context, eipId, eipName string) error
- func (me *VpcService) ModifyEniAttribute(ctx context.Context, id string, name, desc *string, sgs []string) error
- func (me *VpcService) ModifyEniPrimaryIpv4Desc(ctx context.Context, id, ip string, desc *string) error
- func (me *VpcService) ModifyNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
- func (me *VpcService) ModifyNetWorkAclRules(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
- func (me *VpcService) ModifyRouteTableAttribute(ctx context.Context, routeTableId string, name string) (errRet error)
- func (me *VpcService) ModifySecurityGroup(ctx context.Context, id string, newName, newDesc *string) error
- func (me *VpcService) ModifySecurityGroupPolicies(ctx context.Context, request *vpc.ModifySecurityGroupPoliciesRequest) (errRet error)
- func (me *VpcService) ModifySecurityGroupPolicy(ctx context.Context, ruleId string, desc *string) errordeprecated
- func (me *VpcService) ModifyServiceTemplate(ctx context.Context, templateId string, name string, services []interface{}) (errRet error)
- func (me *VpcService) ModifyServiceTemplateGroup(ctx context.Context, serviceGroupId string, name string, ...) (errRet error)
- func (me *VpcService) ModifySubnetAttribute(ctx context.Context, subnetId, name string, isMulticast bool) (errRet error)
- func (me *VpcService) ModifyVpcAttribute(ctx context.Context, vpcId, name string, isMulticast bool, dnsServers []string) (errRet error)
- func (me *VpcService) ModifyVpcNetworkAcl(ctx context.Context, id *string, name *string) (errRet error)
- func (me *VpcService) ModifyVpnGatewayRoute(ctx context.Context, vpnGatewayId, routeId, status string) (errRet error, routes *vpc.VpnGatewayRoute)
- func (me *VpcService) RenewAddress(ctx context.Context, eipId string, period int, renewFlag int) error
- func (me *VpcService) ReplaceRouteTableAssociation(ctx context.Context, subnetId string, routeTableId string) (errRet error)
- func (me *VpcService) SwitchRouteEnabled(ctx context.Context, routeTableId string, routeId uint64, enabled bool) error
- func (me *VpcService) UnAssignIpv4FromEni(ctx context.Context, id string, ipv4s []string) error
- func (me *VpcService) UnattachEip(ctx context.Context, eipId string) error
- func (me *VpcService) VpcIpv6AddressStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
- type VpcSubnetBasicInfo
Constants ¶
View Source
const ( CBS_STORAGE_TYPE_CLOUD_BASIC = "CLOUD_BASIC" CBS_STORAGE_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM" CBS_STORAGE_TYPE_CLOUD_SSD = "CLOUD_SSD" CBS_STORAGE_USAGE_SYSTEM_DISK = "SYSTEM_DISK" CBS_STORAGE_USAGE_DATA_DISK = "DATA_DISK" CBS_STORAGE_STATUS_UNATTACHED = "UNATTACHED" CBS_STORAGE_STATUS_ATTACHING = "ATTACHING" CBS_STORAGE_STATUS_ATTACHED = "ATTACHED" CBS_STORAGE_STATUS_EXPANDING = "EXPANDING" CBS_STORAGE_STATUS_ROLLBACKING = "ROLLBACKING" CBS_STORAGE_STATUS_TORECYCLE = "TORECYCLE" CBS_SNAPSHOT_STATUS_NORMAL = "NORMAL" CBS_SNAPSHOT_STATUS_CREATING = "CREATING" )
View Source
const ( CBS_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW = "NOTIFY_AND_AUTO_RENEW" CBS_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW = "NOTIFY_AND_MANUAL_RENEW" CBS_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW = "DISABLE_NOTIFY_AND_MANUAL_RENEW" CBS_CHARGE_TYPE_PREPAID = "PREPAID" CBS_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" )
View Source
const ( SNAPSHOT_SHARE_PERMISSION_SHARE = "SHARE" SNAPSHOT_SHARE_PERMISSION_CANCEL = "CANCEL" )
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_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" )
View Source
const ( EIP_STATUS_CREATING = "CREATING" EIP_STATUS_BINDING = "BINDING" EIP_STATUS_BIND = "BIND" EIP_STATUS_UNBINDING = "UNBINDING" EIP_STATUS_UNBIND = "UNBIND" EIP_STATUS_OFFLINING = "OFFLINING" EIP_STATUS_BIND_ENI = "BIND_ENI" EIP_TYPE_EIP = "EIP" EIP_TYPE_ANYCAST = "AnycastEIP" EIP_TYPE_HIGH_QUALITY = "HighQualityEIP" EIP_TYPE_ANTI_DDOS = "AntiDDoSEIP" EIP_ANYCAST_ZONE_GLOBAL = "ANYCAST_ZONE_GLOBAL" EIP_ANYCAST_ZONE_OVERSEAS = "ANYCAST_ZONE_OVERSEAS" EIP_INTERNET_PROVIDER_BGP = "BGP" EIP_INTERNET_PROVIDER_CMCC = "CMCC" EIP_INTERNET_PROVIDER_CTCC = "CTCC" EIP_INTERNET_PROVIDER_CUCC = "CUCC" EIP_RESOURCE_TYPE = "eip" EIP_TASK_STATUS_SUCCESS = "SUCCESS" EIP_TASK_STATUS_RUNNING = "RUNNING" EIP_TASK_STATUS_FAILED = "FAILED" )
EIP
View Source
const ( ENI_STATE_PENDING = "PENDING" ENI_STATE_AVAILABLE = "AVAILABLE" ENI_STATE_ATTACHING = "ATTACHING" ENI_STATE_DETACHING = "DETACHING" ENI_STATE_DELETING = "DELETING" )
View Source
const ( ENI_IP_PENDING = "PENDING" ENI_IP_AVAILABLE = "AVAILABLE" ENI_IP_ATTACHING = "ATTACHING" ENI_IP_DETACHING = "DETACHING" ENI_IP_DELETING = "DELETING" )
View Source
const ( NAT_DESCRIBE_LIMIT = 100 NAT_EIP_MAX_LIMIT = 10 )
View Source
const ( NAT_GATEWAY_TYPE_SUBNET = "SUBNET" NAT_GATEWAY_TYPE_NETWORK_INTERFACE = "NETWORKINTERFACE" )
View Source
const ( VPN_TASK_STATUS_SUCCESS = "SUCCESS" VPN_TASK_STATUS_RUNNING = "RUNNING" VPN_TASK_STATUS_FAILED = "FAILED" )
View Source
const ( VPN_STATE_PENDING = "PENDING" VPN_STATE_DELETING = "DELETING" VPN_STATE_AVAILABLE = "AVAILABLE" )
View Source
const ( VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY = "NOTIFY_AND_AUTO_RENEW" VPN_PERIOD_PREPAID_RENEW_FLAG_NOT = "NOTIFY_AND_MANUAL_RENEW" )
View Source
const ( VPN_CHARGE_TYPE_PREPAID = "PREPAID" VPN_CHARGE_TYPE_POSTPAID_BY_HOUR = "POSTPAID_BY_HOUR" )
View Source
const ( VPN_RESTRICT_STATE_NORMAL = "NORMAL" VPN_RESTRICT_STATE_ISOLATE = "PRETECIVELY_ISOLATED" )
View Source
const ( VPN_IKE_PROPO_ENCRY_ALGORITHM_3DESCBC = "3DES-CBC" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC128 = "AES-CBC-128" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC192 = "AES-CBS-192`" VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC256 = "AES-CBC-256" VPN_IKE_PROPO_ENCRY_ALGORITHM_DESCBC = "DES-CBC" )
View Source
const ( VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA = "SHA" VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5 = "MD5" VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA256 = "SHA-256" )
View Source
const ( VPN_IPSEC_INTEGRITY_ALGORITHM_SHA1 = "SHA1" VPN_IPSEC_INTEGRITY_ALGORITHM_MD5 = "MD5" VPN_IPSEC_INTEGRITY_ALGORITHM_SHA256 = "SHA-256" )
View Source
const ( VPN_IKE_EXCHANGE_MODE_AGGRESSIVE = "AGGRESSIVE" VPN_IKE_EXCHANGE_MODE_MAIN = "MAIN" )
View Source
const ( VPN_IKE_IDENTITY_ADDRESS = "ADDRESS" VPN_IKE_IDENTITY_FQDN = "FQDN" )
View Source
const ( VPN_IKE_DH_GROUP_NAME_GROUP1 = "GROUP1" VPN_IKE_DH_GROUP_NAME_GROUP2 = "GROUP2" VPN_IKE_DH_GROUP_NAME_GROUP5 = "GROUP5" VPN_IKE_DH_GROUP_NAME_GROUP14 = "GROUP14" VPN_IKE_DH_GROUP_NAME_GROUP24 = "GROUP24" )
View Source
const ( VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP1 = "DH-GROUP1" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP2 = "DH-GROUP2" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP5 = "DH-GROUP5" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP14 = "DH-GROUP14" VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP24 = "DH-GROUP24" VPN_IPSEC_PFS_DH_GROUP_NAME_NULL = "NULL" )
View Source
const ( VPN_IPSEC_ENCRY_ALGORITHM_3DESCBC = "3DES-CBC" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC128 = "AES-CBC-128" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC192 = "AES-CBS-192`" VPN_IPSEC_ENCRY_ALGORITHM_AESCBC256 = "AES-CBC-256" VPN_IPSEC_ENCRY_ALGORITHM_DESCBC = "DES-CBC" VPN_IPSEC_ENCRY_ALGORITHM_NULL = "NULL" )
View Source
const ( VPCNotFound = "ResourceNotFound" VPCUnsupportedOperation = "UnsupportedOperation" )
COMMON
View Source
const ( DPD_ACTION_CLEAR = "clear" DPD_ACTION_RESTART = "restart" )
View Source
const DESCRIBE_SECURITY_GROUP_LIMIT = 50
View Source
const DESCRIBE_TAGS_LIMIT = 20
View Source
const (
ENI_DESCRIBE_LIMIT = 100
)
ENI
View Source
const GATE_WAY_TYPE_CCN = "CCN"
View Source
const GATE_WAY_TYPE_CVM = "CVM"
all gate way types https://cloud.tencent.com/document/api/215/15824#Route
View Source
const GATE_WAY_TYPE_DIRECTCONNECT = "DIRECTCONNECT"
View Source
const GATE_WAY_TYPE_EIP = "EIP"
View Source
const GATE_WAY_TYPE_HAVIP = "HAVIP"
View Source
const GATE_WAY_TYPE_LOCAL_GATEWAY = "LOCAL_GATEWAY"
View Source
const GATE_WAY_TYPE_NAT = "NAT"
View Source
const GATE_WAY_TYPE_NORMAL_CVM = "NORMAL_CVM"
View Source
const GATE_WAY_TYPE_PEERCONNECTION = "PEERCONNECTION"
View Source
const GATE_WAY_TYPE_SSLVPN = "SSLVPN"
View Source
const GATE_WAY_TYPE_VPN = "VPN"
View Source
const (
HAVIP_DESCRIBE_LIMIT = 100
)
View Source
const (
NAT_FAILED_STATE = "FAILED"
)
View Source
const VPC_SERVICE_TYPE = "vpc"
View Source
const (
VPN_DESCRIBE_LIMIT = 100
)
View Source
const (
VPN_PURCHASE_PLAN_PRE_POST = "PREPAID_TO_POSTPAID"
)
Variables ¶
View Source
var ALL_GATE_WAY_TYPES = []string{ GATE_WAY_TYPE_CVM, GATE_WAY_TYPE_VPN, GATE_WAY_TYPE_DIRECTCONNECT, GATE_WAY_TYPE_PEERCONNECTION, GATE_WAY_TYPE_SSLVPN, GATE_WAY_TYPE_HAVIP, GATE_WAY_TYPE_NAT, GATE_WAY_TYPE_NORMAL_CVM, GATE_WAY_TYPE_EIP, GATE_WAY_TYPE_CCN, GATE_WAY_TYPE_LOCAL_GATEWAY, }
View Source
var CBS_CHARGE_TYPE = []string{ CBS_CHARGE_TYPE_PREPAID, CBS_CHARGE_TYPE_POSTPAID, }
View Source
var CBS_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var CBS_PREPAID_RENEW_FLAG = []string{ CBS_PREPAID_RENEW_FLAG_NOTIFY_NOTIFY_AND_AUTO_RENEW, CBS_PREPAID_RENEW_FLAG_NOTIFY_AND_MANUAL_RENEW, CBS_PREPAID_RENEW_FLAG_DISABLE_NOTIFY_AND_MANUAL_RENEW, }
View Source
var CBS_STORAGE_TYPE = []string{ CBS_STORAGE_TYPE_CLOUD_BASIC, CBS_STORAGE_TYPE_CLOUD_PREMIUM, CBS_STORAGE_TYPE_CLOUD_SSD, }
View Source
var CBS_STORAGE_USAGE = []string{ CBS_STORAGE_USAGE_SYSTEM_DISK, CBS_STORAGE_USAGE_DATA_DISK, }
View Source
var CVM_CHARGE_TYPE = []string{ CVM_CHARGE_TYPE_PREPAID, CVM_CHARGE_TYPE_POSTPAID, CVM_CHARGE_TYPE_SPOTPAID, CVM_CHARGE_TYPE_CDHPAID, }
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, }
View Source
var DPD_ACTIONS = []string{ DPD_ACTION_CLEAR, DPD_ACTION_RESTART, }
View Source
var EIP_ANYCAST_ZONE = []string{ EIP_ANYCAST_ZONE_GLOBAL, EIP_ANYCAST_ZONE_OVERSEAS, }
View Source
var EIP_AVAILABLE_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
View Source
var EIP_INTERNET_PROVIDER = []string{ EIP_INTERNET_PROVIDER_BGP, EIP_INTERNET_PROVIDER_CMCC, EIP_INTERNET_PROVIDER_CTCC, EIP_INTERNET_PROVIDER_CUCC, }
View Source
var EIP_TYPE = []string{ EIP_TYPE_EIP, EIP_TYPE_ANYCAST, EIP_TYPE_HIGH_QUALITY, EIP_TYPE_ANTI_DDOS, }
View Source
var VPN_CHARGE_TYPE = []string{ VPN_CHARGE_TYPE_PREPAID, VPN_CHARGE_TYPE_POSTPAID_BY_HOUR, }
View Source
var VPN_IKE_DH_GROUP_NAME = []string{ VPN_IKE_DH_GROUP_NAME_GROUP1, VPN_IKE_DH_GROUP_NAME_GROUP2, VPN_IKE_DH_GROUP_NAME_GROUP5, VPN_IKE_DH_GROUP_NAME_GROUP14, VPN_IKE_DH_GROUP_NAME_GROUP24, }
View Source
var VPN_IKE_EXCHANGE_MODE = []string{ VPN_IKE_EXCHANGE_MODE_AGGRESSIVE, VPN_IKE_EXCHANGE_MODE_MAIN, }
View Source
var VPN_IKE_IDENTITY = []string{ VPN_IKE_IDENTITY_ADDRESS, VPN_IKE_IDENTITY_FQDN, }
View Source
var VPN_IKE_PROPO_AUTHEN_ALGORITHM = []string{ VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA, VPN_IKE_PROPO_AUTHEN_ALGORITHM_MD5, VPN_IKE_PROPO_AUTHEN_ALGORITHM_SHA256, }
View Source
var VPN_IKE_PROPO_ENCRY_ALGORITHM = []string{ VPN_IKE_PROPO_ENCRY_ALGORITHM_3DESCBC, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC128, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC192, VPN_IKE_PROPO_ENCRY_ALGORITHM_AESCBC256, VPN_IKE_PROPO_ENCRY_ALGORITHM_DESCBC, }
View Source
var VPN_IPSEC_ENCRY_ALGORITHM = []string{ VPN_IPSEC_ENCRY_ALGORITHM_3DESCBC, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC128, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC192, VPN_IPSEC_ENCRY_ALGORITHM_AESCBC256, VPN_IPSEC_ENCRY_ALGORITHM_DESCBC, VPN_IPSEC_ENCRY_ALGORITHM_NULL, }
View Source
var VPN_IPSEC_INTEGRITY_ALGORITHM = []string{ VPN_IPSEC_INTEGRITY_ALGORITHM_SHA1, VPN_IPSEC_INTEGRITY_ALGORITHM_MD5, VPN_IPSEC_INTEGRITY_ALGORITHM_SHA256, }
View Source
var VPN_IPSEC_PFS_DH_GROUP_NAME = []string{ VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP1, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP2, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP5, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP14, VPN_IPSEC_PFS_DH_GROUP_NAME_GROUP24, VPN_IPSEC_PFS_DH_GROUP_NAME_NULL, }
View Source
var VPN_PERIOD_PREPAID_RENEW_FLAG = []string{ VPN_PERIOD_PREPAID_RENEW_FLAG_AUTO_NOTIFY, VPN_PERIOD_PREPAID_RENEW_FLAG_NOT, }
View Source
var VPN_PURCHASE_PLAN = []string{ VPN_PURCHASE_PLAN_PRE_POST, }
View Source
var VPN_RESTRICT_STATE = []string{ VPN_RESTRICT_STATE_NORMAL, VPN_RESTRICT_STATE_ISOLATE, }
View Source
var VPN_STATE = []string{ VPN_STATE_PENDING, VPN_STATE_DELETING, VPN_STATE_AVAILABLE, }
Functions ¶
func ResourceTencentCloudEip ¶
Types ¶
type CbsService ¶
type CbsService struct {
// contains filtered or unexported fields
}
func (*CbsService) ApplyDiskBackup ¶
func (me *CbsService) ApplyDiskBackup(ctx context.Context, diskBackupId, diskId string) (errRet error)
func (*CbsService) ApplySnapshot ¶
func (me *CbsService) ApplySnapshot(ctx context.Context, diskId, snapshotId string) error
func (*CbsService) AttachDisk ¶
func (me *CbsService) AttachDisk(ctx context.Context, diskId, instanceId string) error
func (*CbsService) AttachSnapshotPolicy ¶
func (me *CbsService) AttachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
func (*CbsService) CreateDiskBackup ¶
func (*CbsService) CreateSnapshot ¶
func (*CbsService) DeleteCbsDiskBackupById ¶
func (me *CbsService) DeleteCbsDiskBackupById(ctx context.Context, diskBackupId string) (errRet error)
func (*CbsService) DeleteDiskById ¶
func (me *CbsService) DeleteDiskById(ctx context.Context, diskId string) error
func (*CbsService) DeleteDiskSetByIds ¶
func (me *CbsService) DeleteDiskSetByIds(ctx context.Context, diskSetIds string) error
func (*CbsService) DeleteSnapshot ¶
func (me *CbsService) DeleteSnapshot(ctx context.Context, snapshotId string) error
func (*CbsService) DeleteSnapshotPolicy ¶
func (me *CbsService) DeleteSnapshotPolicy(ctx context.Context, policyId string) error
func (*CbsService) DescribeAttachedSnapshotPolicy ¶
func (me *CbsService) DescribeAttachedSnapshotPolicy(ctx context.Context, diskId, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeCbsDiskBackupById ¶
func (me *CbsService) DescribeCbsDiskBackupById(ctx context.Context, diskBackupId string) (DiskBackup *cbs.DiskBackup, errRet error)
func (*CbsService) DescribeCbsSnapshotSharePermissionById ¶
func (me *CbsService) DescribeCbsSnapshotSharePermissionById(ctx context.Context, snapshotId string) (snapshotSharePermissions []*cbs.SharePermission, errRet error)
func (*CbsService) DescribeDiskById ¶
func (*CbsService) DescribeDiskList ¶
func (*CbsService) DescribeDiskSetByIds ¶
func (*CbsService) DescribeDisksByFilter ¶
func (*CbsService) DescribeDisksInParallelByFilter ¶
func (*CbsService) DescribeSnapshotById ¶
func (*CbsService) DescribeSnapshotByIds ¶
func (*CbsService) DescribeSnapshotPolicy ¶
func (me *CbsService) DescribeSnapshotPolicy(ctx context.Context, policyId, policyName string) (policies []*cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeSnapshotPolicyById ¶
func (me *CbsService) DescribeSnapshotPolicyById(ctx context.Context, policyId string) (policy *cbs.AutoSnapshotPolicy, errRet error)
func (*CbsService) DescribeSnapshotsByFilter ¶
func (*CbsService) DetachDisk ¶
func (me *CbsService) DetachDisk(ctx context.Context, diskId, instanceId string) error
func (*CbsService) ModifyDiskAttributes ¶
func (*CbsService) ModifyDiskBackupQuota ¶
func (*CbsService) ModifyDiskChargeType ¶
func (*CbsService) ModifyDisksRenewFlag ¶
func (*CbsService) ModifySnapshotName ¶
func (me *CbsService) ModifySnapshotName(ctx context.Context, snapshotId, snapshotName string) error
func (*CbsService) ModifySnapshotsSharePermission ¶
func (*CbsService) ModifyThroughputPerformance ¶
func (*CbsService) ResizeDisk ¶
func (*CbsService) UnattachSnapshotPolicy ¶
func (me *CbsService) UnattachSnapshotPolicy(ctx context.Context, diskId, policyId string) error
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)
type TagService ¶
type TagService struct {
// contains filtered or unexported fields
}
func (*TagService) DeleteTagResourceById ¶
func (*TagService) DeleteTagTagAttachmentById ¶
func (*TagService) DescribeProjectById ¶
func (*TagService) DescribeProjects ¶
func (*TagService) DescribeResourceTags ¶
func (*TagService) DescribeTagResourceById ¶
func (*TagService) DescribeTagTagAttachmentById ¶
func (me *TagService) DescribeTagTagAttachmentById(ctx context.Context, tagKey string, tagValue string, resource string) (resourceTag *tag.ResourceTagMapping, errRet error)
func (*TagService) DisableProjectById ¶
func (me *TagService) DisableProjectById(ctx context.Context, projectId uint64) (errRet error)
func (*TagService) ModifyTags ¶
type VpcBasicInfo ¶
type VpcBasicInfo struct {
// contains filtered or unexported fields
}
For Adun Sake please DO NOT Declare the redundant Type STRUCT!!
VPC basic information
type VpcRouteEntryBasicInfo ¶
type VpcRouteEntryBasicInfo struct {
// contains filtered or unexported fields
}
route entry basic information
type VpcRouteTableBasicInfo ¶
type VpcRouteTableBasicInfo struct {
// contains filtered or unexported fields
}
route table basic information
type VpcSecurityGroupLiteRule ¶
type VpcSecurityGroupLiteRule struct {
// contains filtered or unexported fields
}
func (VpcSecurityGroupLiteRule) String ¶
func (rule VpcSecurityGroupLiteRule) String() string
type VpcService ¶
type VpcService struct {
// contains filtered or unexported fields
}
func NewVpcService ¶
func NewVpcService(client *connectivity.TencentCloudClient) VpcService
func (*VpcService) AssignIpv4ToEni ¶
func (*VpcService) AssociateAclSubnets ¶
func (*VpcService) AttachEip ¶
func (me *VpcService) AttachEip(ctx context.Context, eipId, instanceId string) error
func (*VpcService) AttachEniToCvm ¶
func (me *VpcService) AttachEniToCvm(ctx context.Context, eniId, cvmId string) error
func (*VpcService) AttachLiteRulesToSecurityGroup ¶
func (me *VpcService) AttachLiteRulesToSecurityGroup(ctx context.Context, sgId string, ingress, egress []VpcSecurityGroupLiteRule) error
func (*VpcService) AttachRulesToACL ¶
func (me *VpcService) AttachRulesToACL(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
func (*VpcService) CheckAssistantCidr ¶
func (me *VpcService) CheckAssistantCidr(ctx context.Context, request *vpc.CheckAssistantCidrRequest) (info []*vpc.ConflictSource, errRet error)
CheckAssistantCidr used for check if cidr conflict
func (*VpcService) CreateAddressTemplate ¶
func (*VpcService) CreateAddressTemplateGroup ¶
func (*VpcService) CreateAssistantCidr ¶
func (me *VpcService) CreateAssistantCidr(ctx context.Context, request *vpc.CreateAssistantCidrRequest) (info []*vpc.AssistantCidr, errRet error)
func (*VpcService) CreateNatGatewaySnat ¶
func (me *VpcService) CreateNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
func (*VpcService) CreateRouteTable ¶
func (*VpcService) CreateRoutes ¶
func (*VpcService) CreateSecurityGroup ¶
func (*VpcService) CreateSecurityGroupPolicies ¶
func (me *VpcService) CreateSecurityGroupPolicies(ctx context.Context, request *vpc.CreateSecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) CreateSecurityGroupPolicy
deprecated
func (me *VpcService) CreateSecurityGroupPolicy(ctx context.Context, info securityGroupRuleBasicInfoWithPolicyIndex) (ruleId string, err error)
Deprecated: the redundant type struct cause cause unnecessary mental burden, use sdk request directly
func (*VpcService) CreateServiceTemplate ¶
func (*VpcService) CreateServiceTemplateGroup ¶
func (*VpcService) CreateSubnet ¶
func (*VpcService) CreateVpc ¶
func (me *VpcService) CreateVpc(ctx context.Context, name, cidr string, isMulticast bool, dnsServers []string, tags map[string]string) (vpcId string, isDefault bool, errRet error)
////////api
func (*VpcService) CreateVpcNetworkAcl ¶
func (*VpcService) CreateVpnGatewayRoute ¶
func (me *VpcService) CreateVpnGatewayRoute(ctx context.Context, vpnGatewayId string, vpnGwRoutes []*vpc.VpnGatewayRoute) (errRet error, routes []*vpc.VpnGatewayRoute)
func (*VpcService) DeleteAcl ¶
func (me *VpcService) DeleteAcl(ctx context.Context, aclID string) (errRet error)
func (*VpcService) DeleteAclAttachment ¶
func (me *VpcService) DeleteAclAttachment(ctx context.Context, attachmentAcl string) (errRet error)
func (*VpcService) DeleteAddressTemplate ¶
func (me *VpcService) DeleteAddressTemplate(ctx context.Context, templateId string) (errRet error)
func (*VpcService) DeleteAddressTemplateGroup ¶
func (me *VpcService) DeleteAddressTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
func (*VpcService) DeleteAssistantCidr ¶
func (me *VpcService) DeleteAssistantCidr(ctx context.Context, request *vpc.DeleteAssistantCidrRequest) (errRet error)
func (*VpcService) DeleteCustomerGateway ¶
func (me *VpcService) DeleteCustomerGateway(ctx context.Context, customerGatewayId string) (errRet error)
func (*VpcService) DeleteEip ¶
func (me *VpcService) DeleteEip(ctx context.Context, eipId string) error
func (*VpcService) DeleteEni ¶
func (me *VpcService) DeleteEni(ctx context.Context, id string) error
func (*VpcService) DeleteHaVip ¶
func (me *VpcService) DeleteHaVip(ctx context.Context, haVipId string) (errRet error)
func (*VpcService) DeleteLiteRules ¶
func (me *VpcService) DeleteLiteRules(ctx context.Context, sgId string, rules []VpcSecurityGroupLiteRule, isIngress bool) error
func (*VpcService) DeleteNatGateway ¶
func (me *VpcService) DeleteNatGateway(ctx context.Context, natGatewayId string) (errRet error)
func (*VpcService) DeleteNatGatewaySnat ¶
func (*VpcService) DeleteRouteTable ¶
func (me *VpcService) DeleteRouteTable(ctx context.Context, routeTableId string) (errRet error)
func (*VpcService) DeleteRoutes ¶
func (*VpcService) DeleteSecurityGroup ¶
func (me *VpcService) DeleteSecurityGroup(ctx context.Context, id string) error
func (*VpcService) DeleteSecurityGroupPolicies ¶
func (me *VpcService) DeleteSecurityGroupPolicies(ctx context.Context, request *vpc.DeleteSecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) DeleteSecurityGroupPolicy ¶
func (me *VpcService) DeleteSecurityGroupPolicy(ctx context.Context, ruleId string) error
func (*VpcService) DeleteSecurityGroupPolicyByPolicyIndex ¶
func (*VpcService) DeleteSecurityGroupPolicyByPolicyIndexList ¶
func (*VpcService) DeleteServiceTemplate ¶
func (me *VpcService) DeleteServiceTemplate(ctx context.Context, templateId string) (errRet error)
func (*VpcService) DeleteServiceTemplateGroup ¶
func (me *VpcService) DeleteServiceTemplateGroup(ctx context.Context, templateGroupId string) (errRet error)
func (*VpcService) DeleteSubnet ¶
func (me *VpcService) DeleteSubnet(ctx context.Context, subnetId string) (errRet error)
func (*VpcService) DeleteVpc ¶
func (me *VpcService) DeleteVpc(ctx context.Context, vpcId string) (errRet error)
func (*VpcService) DeleteVpcBandwidthPackageAttachmentById ¶
func (me *VpcService) DeleteVpcBandwidthPackageAttachmentById(ctx context.Context, bandwidthPackageId, resourceId string) (errRet error)
func (*VpcService) DeleteVpcBandwidthPackageById ¶
func (me *VpcService) DeleteVpcBandwidthPackageById(ctx context.Context, bandwidthPackageId string) (errRet error)
func (*VpcService) DeleteVpcClassicLinkAttachmentById ¶
func (*VpcService) DeleteVpcDhcpAssociateAddressById ¶
func (me *VpcService) DeleteVpcDhcpAssociateAddressById(ctx context.Context, dhcpIpId string) (errRet error)
func (*VpcService) DeleteVpcDhcpIpById ¶
func (me *VpcService) DeleteVpcDhcpIpById(ctx context.Context, dhcpIpId string) (errRet error)
func (*VpcService) DeleteVpcEndPointById ¶
func (me *VpcService) DeleteVpcEndPointById(ctx context.Context, endPointId string) (errRet error)
func (*VpcService) DeleteVpcEndPointServiceById ¶
func (me *VpcService) DeleteVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (errRet error)
func (*VpcService) DeleteVpcEndPointServiceWhiteListById ¶
func (*VpcService) DeleteVpcEniSgAttachmentById ¶
func (*VpcService) DeleteVpcFlowLogById ¶
func (me *VpcService) DeleteVpcFlowLogById(ctx context.Context, flowLogId, vpcId string) (errRet error)
func (*VpcService) DeleteVpcIpv6AddressById ¶
func (me *VpcService) DeleteVpcIpv6AddressById(ctx context.Context, ip6AddressId string) (errRet error)
func (*VpcService) DeleteVpcIpv6CidrBlockById ¶
func (me *VpcService) DeleteVpcIpv6CidrBlockById(ctx context.Context, vpcId string) (errRet error)
func (*VpcService) DeleteVpcIpv6EniAddressById ¶
func (*VpcService) DeleteVpcIpv6SubnetCidrBlockById ¶
func (*VpcService) DeleteVpcLocalGatewayById ¶
func (*VpcService) DeleteVpcNetDetectById ¶
func (me *VpcService) DeleteVpcNetDetectById(ctx context.Context, netDetectId string) (errRet error)
func (*VpcService) DeleteVpcNetworkAclQuintupleById ¶
func (me *VpcService) DeleteVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (errRet error)
func (*VpcService) DeleteVpcNotifyRoutesById ¶
func (*VpcService) DeleteVpcSnapshotPoliciesById ¶
func (me *VpcService) DeleteVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (errRet error)
func (*VpcService) DeleteVpcSnapshotPolicyAttachmentById ¶
func (me *VpcService) DeleteVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (errRet error)
func (*VpcService) DeleteVpcTrafficPackageById ¶
func (me *VpcService) DeleteVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (errRet error)
func (*VpcService) DeleteVpnGateway ¶
func (me *VpcService) DeleteVpnGateway(ctx context.Context, vpnGatewayId string) (errRet error)
func (*VpcService) DeleteVpnGatewayRoutes ¶
func (*VpcService) DeleteVpnGatewaySslClient ¶
func (*VpcService) DeleteVpnGatewaySslServer ¶
func (*VpcService) DescribeAddressTemplateById ¶
func (me *VpcService) DescribeAddressTemplateById(ctx context.Context, templateId string) (template *vpc.AddressTemplate, has bool, errRet error)
func (*VpcService) DescribeAddressTemplateGroupById ¶
func (me *VpcService) DescribeAddressTemplateGroupById(ctx context.Context, templateGroupId string) (templateGroup *vpc.AddressTemplateGroup, has bool, errRet error)
func (*VpcService) DescribeAddressTemplateGroups ¶
func (me *VpcService) DescribeAddressTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplateGroup, errRet error)
func (*VpcService) DescribeAddressTemplates ¶
func (me *VpcService) DescribeAddressTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.AddressTemplate, errRet error)
func (*VpcService) DescribeAssistantCidr ¶
func (me *VpcService) DescribeAssistantCidr(ctx context.Context, vpcId string) (info []*vpc.AssistantCidr, errRet error)
func (*VpcService) DescribeByAclId ¶
func (*VpcService) DescribeCcnCrossBorderComplianceByFilter ¶
func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
func (*VpcService) DescribeCcnCrossBorderFlowMonitorByFilter ¶
func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
func (*VpcService) DescribeCustomerGatewayByFilter ¶
func (me *VpcService) DescribeCustomerGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.CustomerGateway, errRet error)
func (*VpcService) DescribeEipAddressQuota ¶
func (*VpcService) DescribeEipByFilter ¶
func (*VpcService) DescribeEipById ¶
func (me *VpcService) DescribeEipById(ctx context.Context, eipId string) (eip *vpc.Address, errRet error)
EIP
func (*VpcService) DescribeEipNetworkAccountType ¶
func (me *VpcService) DescribeEipNetworkAccountType(ctx context.Context) (networkAccountType *string, errRet error)
func (*VpcService) DescribeEniByFilters ¶
func (me *VpcService) DescribeEniByFilters( ctx context.Context, vpcId, subnetId, cvmId, sgId, name, desc, ipv4 *string, tags map[string]string, ) (enis []*vpc.NetworkInterface, err error)
func (*VpcService) DescribeEniById ¶
func (me *VpcService) DescribeEniById(ctx context.Context, ids []string) (enis []*vpc.NetworkInterface, err error)
func (*VpcService) DescribeFlowLogs ¶
func (me *VpcService) DescribeFlowLogs(ctx context.Context, request *vpc.DescribeFlowLogsRequest) (result []*vpc.FlowLog, errRet error)
func (*VpcService) DescribeHaVipByFilter ¶
func (*VpcService) DescribeHaVipEipById ¶
func (*VpcService) DescribeNatDcRouteByFilter ¶
func (me *VpcService) DescribeNatDcRouteByFilter(ctx context.Context, param map[string]interface{}) (natDcRoute []*vpc.NatDirectConnectGatewayRoute, errRet error)
func (*VpcService) DescribeNatGatewayByFilter ¶
func (me *VpcService) DescribeNatGatewayByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.NatGateway, errRet error)
func (*VpcService) DescribeNatGatewayById ¶
func (me *VpcService) DescribeNatGatewayById(ctx context.Context, natGateWayId string) (natGateWay *vpc.NatGateway, errRet error)
func (*VpcService) DescribeNatGatewaySnats ¶
func (me *VpcService) DescribeNatGatewaySnats(ctx context.Context, natGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.SourceIpTranslationNatRule)
func (*VpcService) DescribeNetWorkAcls ¶
func (me *VpcService) DescribeNetWorkAcls(ctx context.Context, aclID, vpcID, name string) (info []*vpc.NetworkAcl, errRet error)
func (*VpcService) DescribeNetWorkByACLID ¶
func (me *VpcService) DescribeNetWorkByACLID(ctx context.Context, aclID string) (info *vpc.NetworkAcl, has int, errRet error)
func (*VpcService) DescribeRouteTable ¶
func (me *VpcService) DescribeRouteTable(ctx context.Context, routeTableId string) (info VpcRouteTableBasicInfo, has int, errRet error)
func (*VpcService) DescribeRouteTables ¶
func (me *VpcService) DescribeRouteTables(ctx context.Context, routeTableId, routeTableName, vpcId string, tags map[string]string, associationMain *bool, tagKey string) (infos []VpcRouteTableBasicInfo, errRet error)
func (*VpcService) DescribeSecurityGroup ¶
func (me *VpcService) DescribeSecurityGroup(ctx context.Context, id string) (sg *vpc.SecurityGroup, err error)
func (*VpcService) DescribeSecurityGroupPolices ¶
func (me *VpcService) DescribeSecurityGroupPolices(ctx context.Context, sgId string) (ingress, egress []VpcSecurityGroupLiteRule, exist bool, err error)
func (*VpcService) DescribeSecurityGroupPolicies ¶
func (me *VpcService) DescribeSecurityGroupPolicies(ctx context.Context, sgId string) (result *vpc.SecurityGroupPolicySet, errRet error)
func (*VpcService) DescribeSecurityGroupPolicy
deprecated
func (me *VpcService) DescribeSecurityGroupPolicy(ctx context.Context, ruleId string) (sgId string, policyType string, policy *vpc.SecurityGroupPolicy, errRet error)
Deprecated: use DescribeSecurityGroupPolicies instead
func (*VpcService) DescribeSecurityGroups ¶
func (me *VpcService) DescribeSecurityGroups(ctx context.Context, sgId, sgName *string, projectId *int, tags map[string]string) (sgs []*vpc.SecurityGroup, err error)
func (*VpcService) DescribeSecurityGroupsAssociate ¶
func (me *VpcService) DescribeSecurityGroupsAssociate(ctx context.Context, ids []string) ([]*vpc.SecurityGroupAssociationStatistics, error)
func (*VpcService) DescribeServiceTemplateById ¶
func (me *VpcService) DescribeServiceTemplateById(ctx context.Context, templateId string) (template *vpc.ServiceTemplate, has bool, errRet error)
func (*VpcService) DescribeServiceTemplateGroupById ¶
func (me *VpcService) DescribeServiceTemplateGroupById(ctx context.Context, templateGroupId string) (template *vpc.ServiceTemplateGroup, has bool, errRet error)
func (*VpcService) DescribeServiceTemplateGroups ¶
func (me *VpcService) DescribeServiceTemplateGroups(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplateGroup, errRet error)
func (*VpcService) DescribeServiceTemplates ¶
func (me *VpcService) DescribeServiceTemplates(ctx context.Context, filter []*vpc.Filter) (templateList []*vpc.ServiceTemplate, errRet error)
func (*VpcService) DescribeSubnet ¶
func (me *VpcService) DescribeSubnet(ctx context.Context, subnetId string, isRemoteVpcSNAT *bool, tagKey, cidrBlock string) (info VpcSubnetBasicInfo, has int, errRet error)
func (*VpcService) DescribeSubnetById ¶
func (*VpcService) DescribeSubnets ¶
func (*VpcService) DescribeTaskResult ¶
func (me *VpcService) DescribeTaskResult(ctx context.Context, taskId *uint64) (result *vpc.DescribeTaskResultResponse, err error)
func (*VpcService) DescribeTenantCcnByFilter ¶
func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
func (*VpcService) DescribeVpc ¶
func (me *VpcService) DescribeVpc(ctx context.Context, vpcId string, tagKey string, cidrBlock string) (info VpcBasicInfo, has int, errRet error)
func (*VpcService) DescribeVpcAccountAttributes ¶
func (me *VpcService) DescribeVpcAccountAttributes(ctx context.Context) (accountAttributes []*vpc.AccountAttribute, errRet error)
func (*VpcService) DescribeVpcBandwidthPackage ¶
func (me *VpcService) DescribeVpcBandwidthPackage(ctx context.Context, bandwidthPackageId string) (resource *vpc.BandwidthPackage, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageAttachment ¶
func (*VpcService) DescribeVpcBandwidthPackageBillUsageByFilter ¶
func (me *VpcService) DescribeVpcBandwidthPackageBillUsageByFilter(ctx context.Context, param map[string]interface{}) (bandwidthPackageBillUsage []*vpc.BandwidthPackageBillBandwidth, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageByEip ¶
func (me *VpcService) DescribeVpcBandwidthPackageByEip(ctx context.Context, eipId string) (resource *vpc.BandwidthPackage, errRet error)
func (*VpcService) DescribeVpcBandwidthPackageQuota ¶
func (*VpcService) DescribeVpcById ¶
func (*VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter ¶
func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
func (*VpcService) DescribeVpcCcnRoutesById ¶
func (*VpcService) DescribeVpcClassicLinkAttachmentById ¶
func (me *VpcService) DescribeVpcClassicLinkAttachmentById(ctx context.Context, vpcId string, instanceId string) (classicLinkAttachment *vpc.ClassicLinkInstance, errRet error)
func (*VpcService) DescribeVpcClassicLinkInstancesByFilter ¶
func (me *VpcService) DescribeVpcClassicLinkInstancesByFilter(ctx context.Context, param map[string]interface{}) (classicLinkInstances []*vpc.ClassicLinkInstance, errRet error)
func (*VpcService) DescribeVpcCvmInstancesByFilter ¶
func (me *VpcService) DescribeVpcCvmInstancesByFilter(ctx context.Context, param map[string]interface{}) (CvmInstances []*vpc.CvmInstance, errRet error)
func (*VpcService) DescribeVpcDhcpAssociateAddressById ¶
func (*VpcService) DescribeVpcDhcpIpById ¶
func (*VpcService) DescribeVpcEndPointById ¶
func (*VpcService) DescribeVpcEndPointServiceById ¶
func (me *VpcService) DescribeVpcEndPointServiceById(ctx context.Context, endPointServiceId string) (endPointService *vpc.EndPointService, errRet error)
func (*VpcService) DescribeVpcEndPointServiceWhiteListById ¶
func (me *VpcService) DescribeVpcEndPointServiceWhiteListById(ctx context.Context, userUin string, endPointServiceId string) (endPointServiceWhiteList *vpc.VpcEndPointServiceUser, errRet error)
func (*VpcService) DescribeVpcFlowLogById ¶
func (*VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter ¶
func (me *VpcService) DescribeVpcGatewayFlowMonitorDetailByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowMonitorDetail []*vpc.GatewayFlowMonitorDetail, errRet error)
func (*VpcService) DescribeVpcGatewayFlowQosByFilter ¶
func (me *VpcService) DescribeVpcGatewayFlowQosByFilter(ctx context.Context, param map[string]interface{}) (GatewayFlowQos []*vpc.GatewayQos, errRet error)
func (*VpcService) DescribeVpcIpv6AddressById ¶
func (*VpcService) DescribeVpcIpv6EniAddressById ¶
func (me *VpcService) DescribeVpcIpv6EniAddressById(ctx context.Context, vpcId string, ipv6Address string) (ipv6EniAddress *vpc.VpcIpv6Address, errRet error)
func (*VpcService) DescribeVpcLimitsByFilter ¶
func (*VpcService) DescribeVpcLocalGatewayById ¶
func (me *VpcService) DescribeVpcLocalGatewayById(ctx context.Context, localGatewayId string) (localGateway *vpc.LocalGateway, errRet error)
func (*VpcService) DescribeVpcNetDetectById ¶
func (*VpcService) DescribeVpcNetDetectStateCheck ¶
func (me *VpcService) DescribeVpcNetDetectStateCheck(ctx context.Context, param map[string]interface{}) (netDetectStateCheck []*vpc.NetDetectIpState, errRet error)
func (*VpcService) DescribeVpcNetDetectStatesByFilter ¶
func (me *VpcService) DescribeVpcNetDetectStatesByFilter(ctx context.Context, param map[string]interface{}) (NetDetectStates []*vpc.NetDetectState, errRet error)
func (*VpcService) DescribeVpcNetworkAclQuintupleById ¶
func (me *VpcService) DescribeVpcNetworkAclQuintupleById(ctx context.Context, networkAclId string) (networkAclQuintuples []*vpc.NetworkAclQuintupleEntry, errRet error)
func (*VpcService) DescribeVpcNetworkInterfaceLimit ¶
func (me *VpcService) DescribeVpcNetworkInterfaceLimit(ctx context.Context, param map[string]interface{}) (networkInterfaceLimit *vpc.DescribeNetworkInterfaceLimitResponseParams, errRet error)
func (*VpcService) DescribeVpcNotifyRoutesById ¶
func (*VpcService) DescribeVpcPrivateIpAddresses ¶
func (me *VpcService) DescribeVpcPrivateIpAddresses(ctx context.Context, param map[string]interface{}) (PrivateIpAddresses []*vpc.VpcPrivateIpAddress, errRet error)
func (*VpcService) DescribeVpcProductQuota ¶
func (me *VpcService) DescribeVpcProductQuota(ctx context.Context, param map[string]interface{}) (ProductQuota []*vpc.ProductQuota, errRet error)
func (*VpcService) DescribeVpcResourceDashboard ¶
func (me *VpcService) DescribeVpcResourceDashboard(ctx context.Context, param map[string]interface{}) (ResourceDashboard []*vpc.ResourceDashboard, errRet error)
func (*VpcService) DescribeVpcRouteConflicts ¶
func (me *VpcService) DescribeVpcRouteConflicts(ctx context.Context, param map[string]interface{}) (routeConflicts []*vpc.RouteConflict, errRet error)
func (*VpcService) DescribeVpcSecurityGroupLimits ¶
func (me *VpcService) DescribeVpcSecurityGroupLimits(ctx context.Context, param map[string]interface{}) (securityGroupLimit *vpc.SecurityGroupLimitSet, errRet error)
func (*VpcService) DescribeVpcSecurityGroupReferences ¶
func (me *VpcService) DescribeVpcSecurityGroupReferences(ctx context.Context, param map[string]interface{}) (securityGroupReferences []*vpc.ReferredSecurityGroup, errRet error)
func (*VpcService) DescribeVpcSgSnapshotFileContent ¶
func (me *VpcService) DescribeVpcSgSnapshotFileContent(ctx context.Context, param map[string]interface{}) (sgSnapshotFileContent *vpc.DescribeSgSnapshotFileContentResponseParams, errRet error)
func (*VpcService) DescribeVpcSnapshotFilesByFilter ¶
func (me *VpcService) DescribeVpcSnapshotFilesByFilter(ctx context.Context, param map[string]interface{}) (SnapshotFiles []*vpc.SnapshotFileInfo, errRet error)
func (*VpcService) DescribeVpcSnapshotPoliciesById ¶
func (me *VpcService) DescribeVpcSnapshotPoliciesById(ctx context.Context, snapshotPolicyId string) (snapshotPolices []*vpc.SnapshotPolicy, errRet error)
func (*VpcService) DescribeVpcSnapshotPolicyAttachmentById ¶
func (me *VpcService) DescribeVpcSnapshotPolicyAttachmentById(ctx context.Context, snapshotPolicyId string) (snapshotPolicyAttachment []*vpc.SnapshotInstance, errRet error)
func (*VpcService) DescribeVpcSubnetResourceDashboardByFilter ¶
func (me *VpcService) DescribeVpcSubnetResourceDashboardByFilter(ctx context.Context, param map[string]interface{}) (subnetResourceDashboard []*vpc.ResourceStatistics, errRet error)
func (*VpcService) DescribeVpcTaskResult ¶
func (me *VpcService) DescribeVpcTaskResult(ctx context.Context, taskId *string) (err error)
func (*VpcService) DescribeVpcTemplateLimits ¶
func (me *VpcService) DescribeVpcTemplateLimits(ctx context.Context) (templateLimit *vpc.TemplateLimit, errRet error)
func (*VpcService) DescribeVpcTrafficPackageById ¶
func (me *VpcService) DescribeVpcTrafficPackageById(ctx context.Context, trafficPackageId string) (TrafficPackage *vpc.TrafficPackage, errRet error)
func (*VpcService) DescribeVpcUsedIpAddressByFilter ¶
func (me *VpcService) DescribeVpcUsedIpAddressByFilter(ctx context.Context, param map[string]interface{}) (UsedIpAddress []*vpc.IpAddressStates, errRet error)
func (*VpcService) DescribeVpcVpnGatewayCcnRoutesById ¶
func (me *VpcService) DescribeVpcVpnGatewayCcnRoutesById(ctx context.Context, vpnGatewayId string, routeId string) (vpnGatewayCcnRoutes *vpc.VpngwCcnRoutes, errRet error)
func (*VpcService) DescribeVpcs ¶
func (*VpcService) DescribeVpnCustomerGatewayVendors ¶
func (me *VpcService) DescribeVpnCustomerGatewayVendors(ctx context.Context) (vpnCustomerGatewayVendors []*vpc.CustomerGatewayVendor, errRet error)
func (*VpcService) DescribeVpnDefaultHealthCheckIp ¶
func (me *VpcService) DescribeVpnDefaultHealthCheckIp(ctx context.Context, param map[string]interface{}) (defaultHealthCheck *vpc.GenerateVpnConnectionDefaultHealthCheckIpResponseParams, errRet error)
func (*VpcService) DescribeVpnGatewayRoutes ¶
func (me *VpcService) DescribeVpnGatewayRoutes(ctx context.Context, vpnGatewayId string, filters []*vpc.Filter) (errRet error, result []*vpc.VpnGatewayRoute)
func (*VpcService) DescribeVpnGwByFilter ¶
func (me *VpcService) DescribeVpnGwByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.VpnGateway, errRet error)
func (*VpcService) DescribeVpnGwSslClientByFilter ¶
func (me *VpcService) DescribeVpnGwSslClientByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnClient, errRet error)
func (*VpcService) DescribeVpnGwSslServerByFilter ¶
func (me *VpcService) DescribeVpnGwSslServerByFilter(ctx context.Context, filters map[string]string) (instances []*vpc.SslVpnSever, errRet error)
func (*VpcService) DescribeVpnSslClientById ¶
func (me *VpcService) DescribeVpnSslClientById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnClient, err error)
func (*VpcService) DescribeVpnSslServerById ¶
func (me *VpcService) DescribeVpnSslServerById(ctx context.Context, sslId string) (has bool, gateway *vpc.SslVpnSever, err error)
func (*VpcService) DescribeVpngwById ¶
func (me *VpcService) DescribeVpngwById(ctx context.Context, vpngwId string) (has bool, gateway *vpc.VpnGateway, err error)
func (*VpcService) DetachAllLiteRulesFromSecurityGroup ¶
func (me *VpcService) DetachAllLiteRulesFromSecurityGroup(ctx context.Context, sgId string) error
func (*VpcService) DetachEniFromCvm ¶
func (me *VpcService) DetachEniFromCvm(ctx context.Context, eniId, cvmId string) error
func (*VpcService) DisableRoutes ¶
func (me *VpcService) DisableRoutes(ctx context.Context, request *vpc.DisableRoutesRequest) (errRet error)
func (*VpcService) DisassociateNatGatewayAddress ¶
func (me *VpcService) DisassociateNatGatewayAddress(ctx context.Context, request *vpc.DisassociateNatGatewayAddressRequest) (result *vpc.DisassociateNatGatewayAddressResponse, errRet error)
func (*VpcService) EnableRoutes ¶
func (me *VpcService) EnableRoutes(ctx context.Context, request *vpc.EnableRoutesRequest) (errRet error)
func (*VpcService) GetRouteId ¶
func (*VpcService) IsRouteTableInVpc ¶
func (me *VpcService) IsRouteTableInVpc(ctx context.Context, routeTableId, vpcId string) (info VpcRouteTableBasicInfo, has int, errRet error)
func (*VpcService) ModifyAddressTemplate ¶
func (*VpcService) ModifyAddressTemplateGroup ¶
func (*VpcService) ModifyAssistantCidr ¶
func (me *VpcService) ModifyAssistantCidr(ctx context.Context, request *vpc.ModifyAssistantCidrRequest) (errRet error)
func (*VpcService) ModifyEipBandwidthOut ¶
func (*VpcService) ModifyEipInternetChargeType ¶
func (*VpcService) ModifyEipName ¶
func (me *VpcService) ModifyEipName(ctx context.Context, eipId, eipName string) error
func (*VpcService) ModifyEniAttribute ¶
func (*VpcService) ModifyEniPrimaryIpv4Desc ¶
func (*VpcService) ModifyNatGatewaySnat ¶
func (me *VpcService) ModifyNatGatewaySnat(ctx context.Context, natGatewayId string, snat *vpc.SourceIpTranslationNatRule) (errRet error)
func (*VpcService) ModifyNetWorkAclRules ¶
func (me *VpcService) ModifyNetWorkAclRules(ctx context.Context, aclID string, ingressParm, egressParm []VpcACLRule) (errRet error)
func (*VpcService) ModifyRouteTableAttribute ¶
func (*VpcService) ModifySecurityGroup ¶
func (*VpcService) ModifySecurityGroupPolicies ¶
func (me *VpcService) ModifySecurityGroupPolicies(ctx context.Context, request *vpc.ModifySecurityGroupPoliciesRequest) (errRet error)
func (*VpcService) ModifySecurityGroupPolicy
deprecated
func (*VpcService) ModifyServiceTemplate ¶
func (*VpcService) ModifyServiceTemplateGroup ¶
func (*VpcService) ModifySubnetAttribute ¶
func (*VpcService) ModifyVpcAttribute ¶
func (*VpcService) ModifyVpcNetworkAcl ¶
func (*VpcService) ModifyVpnGatewayRoute ¶
func (me *VpcService) ModifyVpnGatewayRoute(ctx context.Context, vpnGatewayId, routeId, status string) (errRet error, routes *vpc.VpnGatewayRoute)
func (*VpcService) RenewAddress ¶
func (*VpcService) ReplaceRouteTableAssociation ¶
func (*VpcService) SwitchRouteEnabled ¶
func (*VpcService) UnAssignIpv4FromEni ¶
func (*VpcService) UnattachEip ¶
func (me *VpcService) UnattachEip(ctx context.Context, eipId string) error
func (*VpcService) VpcIpv6AddressStateRefreshFunc ¶
func (me *VpcService) VpcIpv6AddressStateRefreshFunc(taskId string, failStates []string) resource.StateRefreshFunc
type VpcSubnetBasicInfo ¶
type VpcSubnetBasicInfo struct {
// contains filtered or unexported fields
}
subnet basic information
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_cbs.go
- extension_cvm.go
- extension_images.go
- extension_security_group.go
- extension_tags.go
- extension_vpc.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_launch_template.go
- resource_tc_cvm_launch_template_default_version.go
- resource_tc_cvm_launch_template_version.go
- resource_tc_cvm_reboot_instance.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_cbs.go
- service_tencentcloud_cvm.go
- service_tencentcloud_tag.go
- service_tencentcloud_vpc.go
Click to show internal directories.
Click to hide internal directories.