Documentation ¶
Index ¶
- Constants
- Variables
- func Bool(sb *bool) bool
- func GetRecordLineLineType(policyinfo cloudprovider.TDnsPolicyValue) string
- func String(sp *string) string
- type AddressTemplate
- type AddressTemplateGroup
- type AddressTemplateSpecification
- type BoundRule
- type CallerIdentity
- type DataDisk
- type ImageQuota
- type ImageStatusType
- type ImportImageOsListSupported
- type ImportImageOsVersionSet
- type InstanceChargeType
- type InternetAccessible
- type LB_TYPE
- type LoginSettings
- type MaintenanceTime
- type NodeSet
- type Placement
- type QcloudClientConfig
- type QcloudResponse
- type QcloudTags
- type QuotaSet
- type ReferredSecurityGroup
- type RouteTableAssociationSet
- type SAMLProvider
- func (self *SAMLProvider) Delete() error
- func (self *SAMLProvider) GetAuthUrl() string
- func (self *SAMLProvider) GetGlobalId() string
- func (self *SAMLProvider) GetId() string
- func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)
- func (self *SAMLProvider) GetName() string
- func (self *SAMLProvider) GetStatus() string
- func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error
- type SAccountBalance
- type SAccountPrivilege
- type SAsyncRequestResult
- type SAvailableChoice
- type SBandwidthPackage
- type SBandwidthPackageSet
- type SBatchQueryMetricDataInput
- type SBucket
- func (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error
- func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error
- func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucketName, srcKey string, ...) error
- func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- func (b *SBucket) DeleteCORS() error
- func (b *SBucket) DeleteObject(ctx context.Context, key string) error
- func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) DeleteWebSiteConf() error
- func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
- func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (b *SBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)
- func (b *SBucket) GetCreatedAt() time.Time
- func (b *SBucket) GetGlobalId() string
- func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
- func (b *SBucket) GetLocation() string
- func (b *SBucket) GetName() string
- func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
- func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) GetProjectId() string
- func (b *SBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
- func (b *SBucket) GetStats() cloudprovider.SBucketStats
- func (b *SBucket) GetStorageClass() string
- func (b *SBucket) GetTags() (map[string]string, error)
- func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error)
- func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
- func (b *SBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)
- func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
- func (b *SBucket) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, ...) (string, error)
- func (b *SBucket) PutObject(ctx context.Context, key string, reader io.Reader, sizeBytes int64, ...) error
- func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
- func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error
- func (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
- func (b *SBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
- func (b *SBucket) SetTags(tags map[string]string, replace bool) error
- func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
- func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- type SCcn
- func (self *SCcn) AttachVpc(opts *cloudprovider.SInterVpcNetworkAttachVpcOption) error
- func (self *SCcn) Delete() error
- func (self *SCcn) DetachVpc(opts *cloudprovider.SInterVpcNetworkDetachVpcOption) error
- func (self *SCcn) DisableRouteEntry(routeId string) error
- func (self *SCcn) EnableRouteEntry(routeId string) error
- func (self *SCcn) GetAuthorityOwnerId() string
- func (self *SCcn) GetGlobalId() string
- func (self *SCcn) GetICloudVpcIds() ([]string, error)
- func (self *SCcn) GetIRoutes() ([]cloudprovider.ICloudInterVpcNetworkRoute, error)
- func (self *SCcn) GetId() string
- func (self *SCcn) GetName() string
- func (self *SCcn) GetStatus() string
- func (self *SCcn) Refresh() error
- type SCcnAttachInstanceInput
- type SCcnInstance
- type SCcnRouteSet
- func (self *SCcnRouteSet) GetCidr() string
- func (self *SCcnRouteSet) GetEnabled() bool
- func (self *SCcnRouteSet) GetGlobalId() string
- func (self *SCcnRouteSet) GetId() string
- func (self *SCcnRouteSet) GetInstanceId() string
- func (self *SCcnRouteSet) GetInstanceRegionId() string
- func (self *SCcnRouteSet) GetInstanceType() string
- func (self *SCcnRouteSet) GetName() string
- func (self *SCcnRouteSet) GetStatus() string
- func (self *SCcnRouteSet) IsEmulated() bool
- func (self *SCcnRouteSet) Refresh() error
- type SCcnRouteSets
- type SCdnDomain
- func (self *SCdnDomain) Delete() error
- func (self *SCdnDomain) GetArea() string
- func (self *SCdnDomain) GetCname() string
- func (self *SCdnDomain) GetEnabled() bool
- func (self *SCdnDomain) GetGlobalId() string
- func (self *SCdnDomain) GetId() string
- func (self *SCdnDomain) GetName() string
- func (self *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins
- func (self *SCdnDomain) GetServiceType() string
- func (self *SCdnDomain) GetStatus() string
- func (self *SCdnDomain) Refresh() error
- func (self *SCdnDomain) SetTags(tags map[string]string, replace bool) error
- type SCdnOrigin
- type SCertificate
- func (self *SCertificate) Delete() error
- func (self *SCertificate) GetCommonName() string
- func (self *SCertificate) GetDetails() (*SCertificate, error)
- func (self *SCertificate) GetExpireTime() time.Time
- func (self *SCertificate) GetFingerprint() string
- func (self *SCertificate) GetGlobalId() string
- func (self *SCertificate) GetId() string
- func (self *SCertificate) GetName() string
- func (self *SCertificate) GetPrivateKey() string
- func (self *SCertificate) GetProjectId() string
- func (self *SCertificate) GetPublickKey() string
- func (self *SCertificate) GetStatus() string
- func (self *SCertificate) GetSubjectAlternativeNames() string
- func (self *SCertificate) IsEmulated() bool
- func (self *SCertificate) Refresh() error
- func (self *SCertificate) Sync(name, privateKey, publickKey string) error
- type SColumnPrivilege
- type SDBInstanceSku
- type SDBSecgroup
- type SDTable
- func (table *SDTable) Delete() error
- func (table *SDTable) GetExternalIp() string
- func (table *SDTable) GetExternalPort() int
- func (table *SDTable) GetGlobalId() string
- func (table *SDTable) GetId() string
- func (table *SDTable) GetInternalIp() string
- func (table *SDTable) GetInternalPort() int
- func (table *SDTable) GetIpProtocol() string
- func (table *SDTable) GetName() string
- func (table *SDTable) GetStatus() string
- type SDataPoint
- type SDatabasePrivilege
- type SDescribeTag
- type SDescribeTagsSeqResponse
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (disk *SDisk) GetAccessPath() string
- func (self *SDisk) GetBillingType() string
- func (self *SDisk) GetCacheMode() string
- func (self *SDisk) GetCreatedAt() time.Time
- func (self *SDisk) GetDiskFormat() string
- func (self *SDisk) GetDiskSizeMB() int
- func (self *SDisk) GetDiskType() string
- func (self *SDisk) GetDriver() string
- func (self *SDisk) GetExpiredAt() time.Time
- func (self *SDisk) GetExtSnapshotPolicyIds() ([]string, error)
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- func (self *SDisk) GetIsAutoDelete() bool
- func (self *SDisk) GetIsNonPersistent() bool
- func (self *SDisk) GetMountpoint() string
- func (self *SDisk) GetName() string
- func (self *SDisk) GetProjectId() string
- func (self *SDisk) GetStatus() string
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) IsEmulated() bool
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Refresh() error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- type SDiskConfigSet
- type SDiskSet
- type SDnsRecord
- func (self *SDnsRecord) GetDnsName() string
- func (self *SDnsRecord) GetDnsType() cloudprovider.TDnsType
- func (self *SDnsRecord) GetDnsValue() string
- func (self *SDnsRecord) GetEnabled() bool
- func (self *SDnsRecord) GetGlobalId() string
- func (self *SDnsRecord) GetMxPriority() int64
- func (self *SDnsRecord) GetPolicyOptions() *jsonutils.JSONDict
- func (self *SDnsRecord) GetPolicyType() cloudprovider.TDnsPolicyType
- func (self *SDnsRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
- func (self *SDnsRecord) GetStatus() string
- func (self *SDnsRecord) GetTTL() int64
- type SDomains
- type SDomian
- func (self *SDomian) AddDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- func (self *SDomian) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SDomian) Delete() error
- func (self *SDomian) GetDnsProductType() cloudprovider.TDnsProductType
- func (self *SDomian) GetEnabled() bool
- func (self *SDomian) GetGlobalId() string
- func (self *SDomian) GetICloudVpcIds() ([]string, error)
- func (self *SDomian) GetIDnsRecordSets() ([]cloudprovider.ICloudDnsRecordSet, error)
- func (self *SDomian) GetId() string
- func (self *SDomian) GetName() string
- func (self *SDomian) GetOptions() *jsonutils.JSONDict
- func (self *SDomian) GetStatus() string
- func (self *SDomian) GetZoneType() cloudprovider.TDnsZoneType
- func (self *SDomian) Refresh() error
- func (self *SDomian) RemoveDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- func (self *SDomian) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SDomian) SyncDnsRecordSets(common, add, del, update []cloudprovider.DnsRecordSet) error
- func (self *SDomian) UpdateDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- type SDrInfo
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetProjectId() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- type SElasticSearch
- func (self *SElasticSearch) Delete() error
- func (self *SElasticSearch) GetAccessInfo() (*cloudprovider.ElasticSearchAccessInfo, error)
- func (self *SElasticSearch) GetBillingType() string
- func (self *SElasticSearch) GetCategory() string
- func (self *SElasticSearch) GetCreatedAt() time.Time
- func (self *SElasticSearch) GetDiskSizeGb() int
- func (self *SElasticSearch) GetGlobalId() string
- func (self *SElasticSearch) GetId() string
- func (self *SElasticSearch) GetInstanceType() string
- func (self *SElasticSearch) GetName() string
- func (self *SElasticSearch) GetNetworkId() string
- func (self *SElasticSearch) GetStatus() string
- func (self *SElasticSearch) GetStorageType() string
- func (self *SElasticSearch) GetVcpuCount() int
- func (self *SElasticSearch) GetVersion() string
- func (self *SElasticSearch) GetVmemSizeGb() int
- func (self *SElasticSearch) GetVpcId() string
- func (self *SElasticSearch) GetZoneId() string
- func (self *SElasticSearch) IsAutoRenew() bool
- func (self *SElasticSearch) IsMultiAz() bool
- func (self *SElasticSearch) Refresh() error
- type SElasticcache
- func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
- func (self *SElasticcache) ChangeInstanceSpec(spec string) error
- func (self *SElasticcache) CleanupInstance() error
- func (self *SElasticcache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) Delete() error
- func (self *SElasticcache) DestroyPostpaidInstance() error
- func (self *SElasticcache) DestroyPrepaidInstance() error
- func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SElasticcache) GetArchType() string
- func (self *SElasticcache) GetAuthMode() string
- func (self *SElasticcache) GetBillingType() string
- func (self *SElasticcache) GetCapacityMB() int
- func (self *SElasticcache) GetConnections() int
- func (self *SElasticcache) GetCreatedAt() time.Time
- func (self *SElasticcache) GetEngine() string
- func (self *SElasticcache) GetEngineVersion() string
- func (self *SElasticcache) GetExpiredAt() time.Time
- func (self *SElasticcache) GetGlobalId() string
- func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) GetICloudElasticcacheBackupByReadmark(readmark string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SElasticcache) GetId() string
- func (self *SElasticcache) GetInstanceType() string
- func (self *SElasticcache) GetMaintainEndTime() string
- func (self *SElasticcache) GetMaintainStartTime() string
- func (self *SElasticcache) GetName() string
- func (self *SElasticcache) GetNetworkId() string
- func (self *SElasticcache) GetNetworkType() string
- func (self *SElasticcache) GetNodeType() string
- func (self *SElasticcache) GetPrivateConnectPort() int
- func (self *SElasticcache) GetPrivateDNS() string
- func (self *SElasticcache) GetPrivateIpAddr() string
- func (self *SElasticcache) GetProjectId() string
- func (self *SElasticcache) GetPublicConnectPort() int
- func (self *SElasticcache) GetPublicDNS() string
- func (self *SElasticcache) GetPublicIpAddr() string
- func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
- func (self *SElasticcache) GetStatus() string
- func (self *SElasticcache) GetVpcId() string
- func (self *SElasticcache) GetZoneId() string
- func (self *SElasticcache) IsAutoRenew() bool
- func (self *SElasticcache) IsEmulated() bool
- func (self *SElasticcache) Refresh() error
- func (self *SElasticcache) ReleasePublicConnection() error
- func (self *SElasticcache) Renew(bc billing.SBillingCycle) error
- func (self *SElasticcache) Restart() error
- func (self *SElasticcache) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (self *SElasticcache) SetTags(tags map[string]string, replace bool) error
- func (self *SElasticcache) UpdateAuthMode(noPasswordAccess bool, password string) error
- func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
- type SElasticcacheAccount
- func (self *SElasticcacheAccount) Delete() error
- func (self *SElasticcacheAccount) GetAccountPrivilege() string
- func (self *SElasticcacheAccount) GetAccountType() string
- func (self *SElasticcacheAccount) GetGlobalId() string
- func (self *SElasticcacheAccount) GetId() string
- func (self *SElasticcacheAccount) GetName() string
- func (self *SElasticcacheAccount) GetStatus() string
- func (self *SElasticcacheAccount) IsEmulated() bool
- func (self *SElasticcacheAccount) Refresh() error
- func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
- func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
- type SElasticcacheBackup
- func (self *SElasticcacheBackup) Delete() error
- func (self *SElasticcacheBackup) GetBackupDownloadURL() (string, error)
- func (self *SElasticcacheBackup) GetBackupMode() string
- func (self *SElasticcacheBackup) GetBackupSizeMb() int
- func (self *SElasticcacheBackup) GetBackupType() string
- func (self *SElasticcacheBackup) GetDownloadURL() string
- func (self *SElasticcacheBackup) GetEndTime() time.Time
- func (self *SElasticcacheBackup) GetGlobalId() string
- func (self *SElasticcacheBackup) GetId() string
- func (self *SElasticcacheBackup) GetName() string
- func (self *SElasticcacheBackup) GetStartTime() time.Time
- func (self *SElasticcacheBackup) GetStatus() string
- func (self *SElasticcacheBackup) Refresh() error
- func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error
- type SElasticcacheDeal
- type SElasticcacheParameter
- func (self *SElasticcacheParameter) GetDescription() string
- func (self *SElasticcacheParameter) GetForceRestart() bool
- func (self *SElasticcacheParameter) GetGlobalId() string
- func (self *SElasticcacheParameter) GetId() string
- func (self *SElasticcacheParameter) GetModifiable() bool
- func (self *SElasticcacheParameter) GetName() string
- func (self *SElasticcacheParameter) GetParameterKey() string
- func (self *SElasticcacheParameter) GetParameterValue() string
- func (self *SElasticcacheParameter) GetParameterValueRange() string
- func (self *SElasticcacheParameter) GetStatus() string
- type SElasticcacheParameters
- type SElasticcacheSecgroup
- type SElasticcacheTask
- type SEvent
- func (event *SEvent) GetAccount() string
- func (event *SEvent) GetAction() string
- func (event *SEvent) GetCreatedAt() time.Time
- func (event *SEvent) GetName() string
- func (event *SEvent) GetRequest() jsonutils.JSONObject
- func (event *SEvent) GetRequestId() string
- func (event *SEvent) GetResourceType() string
- func (event *SEvent) GetService() string
- func (event *SEvent) IsSuccess() bool
- type SExternal
- type SFetchTagResponse
- type SFetchTagRow
- type SGroup
- func (self *SGroup) AddUser(name string) error
- func (self *SGroup) AttachCustomPolicy(policyId string) error
- func (self *SGroup) AttachSystemPolicy(policyId string) error
- func (self *SGroup) Delete() error
- func (self *SGroup) DetachCustomPolicy(policyId string) error
- func (self *SGroup) DetachSystemPolicy(policyId string) error
- func (self *SGroup) GetDescription() string
- func (self *SGroup) GetGlobalId() string
- func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetName() string
- func (self *SGroup) ListGroupPolicies() ([]SPolicy, error)
- func (self *SGroup) RemoveUser(name string) error
- type SHost
- func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetAccessIp() string
- func (self *SHost) GetAccessMac() string
- func (self *SHost) GetCpuCount() int
- func (self *SHost) GetCpuDesc() string
- func (self *SHost) GetCpuMhz() int
- func (self *SHost) GetEnabled() bool
- func (self *SHost) GetGlobalId() string
- func (self *SHost) GetHostStatus() string
- func (self *SHost) GetHostType() string
- func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)
- func (host *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (host *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (img *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetCreatedAt() time.Time
- func (img *SImage) GetFullOsName() string
- func (self *SImage) GetGlobalId() string
- func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SImage) GetId() string
- func (self *SImage) GetImageFormat() string
- func (self *SImage) GetImageStatus() string
- func (self *SImage) GetImageType() cloudprovider.TImageType
- func (self *SImage) GetMinOsDiskSizeGb() int
- func (self *SImage) GetMinRamSizeMb() int
- func (self *SImage) GetName() string
- func (self *SImage) GetOsArch() string
- func (self *SImage) GetOsDist() string
- func (img *SImage) GetOsLang() string
- func (self *SImage) GetOsType() cloudprovider.TOsType
- func (self *SImage) GetOsVersion() string
- func (self *SImage) GetSizeByte() int64
- func (self *SImage) GetStatus() string
- func (self *SImage) IsEmulated() bool
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AssignSecurityGroup(secgroupId string) error
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) ConvertPublicIpToEip() error
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, name string, username string, password string, ...) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBillingType() string
- func (ins *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (ins *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (ins *SInstance) GetOsArch() string
- func (ins *SInstance) GetOsDist() string
- func (ins *SInstance) GetOsLang() string
- func (ins *SInstance) GetOsType() cloudprovider.TOsType
- func (ins *SInstance) GetOsVersion() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
- func (self *SInstance) GetVcpuCount() int
- func (self *SInstance) GetVdi() string
- func (self *SInstance) GetVga() string
- func (self *SInstance) GetVmemSizeMB() int
- func (self *SInstance) IsAutoRenew() bool
- func (self *SInstance) IsEmulated() bool
- func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
- func (self *SInstance) Refresh() error
- func (self *SInstance) Renew(bc billing.SBillingCycle) error
- func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
- func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SInstance) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) SetTags(tags map[string]string, replace bool) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, name string) error
- type SInstanceNic
- type SInstanceSpec
- type SInstanceSpecs
- type SInstanceType
- type SK8SDataPoint
- type SK8sPoint
- type SK8sPointValue
- type SKafka
- func (self *SKafka) Delete() error
- func (self *SKafka) GetBandwidthMb() int
- func (self *SKafka) GetBillingType() string
- func (self *SKafka) GetCreatedAt() time.Time
- func (self *SKafka) GetDiskSizeGb() int
- func (self *SKafka) GetEndpoint() string
- func (self *SKafka) GetExpiredAt() time.Time
- func (self *SKafka) GetGlobalId() string
- func (self *SKafka) GetId() string
- func (self *SKafka) GetInstanceType() string
- func (self *SKafka) GetMsgRetentionMinute() int
- func (self *SKafka) GetName() string
- func (self *SKafka) GetNetworkId() string
- func (self *SKafka) GetStatus() string
- func (self *SKafka) GetStorageType() string
- func (self *SKafka) GetTopics() ([]cloudprovider.SKafkaTopic, error)
- func (self *SKafka) GetVersion() string
- func (self *SKafka) GetVpcId() string
- func (self *SKafka) GetZoneId() string
- func (self *SKafka) IsAutoRenew() bool
- func (self *SKafka) IsMultiAz() bool
- func (self *SKafka) Refresh() error
- type SKeypair
- type SKubeCluster
- func (self *SKubeCluster) Delete(isRetain bool) error
- func (self *SKubeCluster) GetEnabled() bool
- func (self *SKubeCluster) GetGlobalId() string
- func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
- func (self *SKubeCluster) GetId() string
- func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)
- func (self *SKubeCluster) GetName() string
- func (self *SKubeCluster) GetStatus() string
- func (self *SKubeCluster) Refresh() error
- type SKubeNode
- type SKubeNodePool
- type SLBACL
- func (self *SLBACL) Delete() error
- func (self *SLBACL) GetAclEntries() *jsonutils.JSONArray
- func (self *SLBACL) GetAclListenerID() string
- func (self *SLBACL) GetGlobalId() string
- func (self *SLBACL) GetId() string
- func (self *SLBACL) GetName() string
- func (self *SLBACL) GetProjectId() string
- func (self *SLBACL) GetStatus() string
- func (self *SLBACL) IsEmulated() bool
- func (self *SLBACL) Refresh() error
- func (self *SLBACL) Sync(acl *cloudprovider.SLoadbalancerAccessControlList) error
- type SLBBackend
- func (self *SLBBackend) GetBackendId() string
- func (self *SLBBackend) GetBackendRole() string
- func (self *SLBBackend) GetBackendType() string
- func (self *SLBBackend) GetGlobalId() string
- func (self *SLBBackend) GetId() string
- func (self *SLBBackend) GetIpAddress() string
- func (self *SLBBackend) GetName() string
- func (self *SLBBackend) GetPort() int
- func (self *SLBBackend) GetProjectId() string
- func (self *SLBBackend) GetStatus() string
- func (self *SLBBackend) GetWeight() int
- func (self *SLBBackend) IsEmulated() bool
- func (self *SLBBackend) Refresh() error
- func (self *SLBBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLBBackendGroup
- func (self *SLBBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLBBackendGroup) Delete(ctx context.Context) error
- func (self *SLBBackendGroup) GetBackends() ([]SLBBackend, error)
- func (self *SLBBackendGroup) GetGlobalId() string
- func (self *SLBBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (self *SLBBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (self *SLBBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLBBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLBBackendGroup) GetId() string
- func (self *SLBBackendGroup) GetListenerId() string
- func (self *SLBBackendGroup) GetLoadbalancerId() string
- func (self *SLBBackendGroup) GetName() string
- func (self *SLBBackendGroup) GetProjectId() string
- func (self *SLBBackendGroup) GetProtocolType() string
- func (self *SLBBackendGroup) GetScheduler() string
- func (self *SLBBackendGroup) GetStatus() string
- func (self *SLBBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (self *SLBBackendGroup) GetType() string
- func (self *SLBBackendGroup) IsDefault() bool
- func (self *SLBBackendGroup) IsEmulated() bool
- func (self *SLBBackendGroup) Refresh() error
- func (self *SLBBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
- func (self *SLBBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- func (self *SLBBackendGroup) UpdateBackendServer(serverId string, oldWeight, oldPort, weight, newPort int) error
- type SLBClassicListener
- type SLBListener
- func (self *SLBListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLBListener) Delete(ctx context.Context) error
- func (self *SLBListener) GetAclId() string
- func (self *SLBListener) GetAclStatus() string
- func (self *SLBListener) GetAclType() string
- func (self *SLBListener) GetBackendConnectTimeout() int
- func (self *SLBListener) GetBackendGroup() *SLBBackendGroup
- func (self *SLBListener) GetBackendGroupId() string
- func (self *SLBListener) GetBackendServerPort() int
- func (self *SLBListener) GetCertificateId() string
- func (self *SLBListener) GetClientIdleTimeout() int
- func (self *SLBListener) GetEgressMbps() int
- func (self *SLBListener) GetGlobalId() string
- func (self *SLBListener) GetHealthCheck() string
- func (self *SLBListener) GetHealthCheckCode() string
- func (self *SLBListener) GetHealthCheckDomain() string
- func (self *SLBListener) GetHealthCheckExp() string
- func (self *SLBListener) GetHealthCheckFail() int
- func (self *SLBListener) GetHealthCheckInterval() int
- func (self *SLBListener) GetHealthCheckReq() string
- func (self *SLBListener) GetHealthCheckRise() int
- func (self *SLBListener) GetHealthCheckTimeout() int
- func (self *SLBListener) GetHealthCheckType() string
- func (self *SLBListener) GetHealthCheckURI() string
- func (self *SLBListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLBListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLBListener) GetId() string
- func (self *SLBListener) GetListenerPort() int
- func (self *SLBListener) GetListenerType() string
- func (self *SLBListener) GetName() string
- func (self *SLBListener) GetProjectId() string
- func (self *SLBListener) GetScheduler() string
- func (self *SLBListener) GetStatus() string
- func (self *SLBListener) GetStickySession() string
- func (self *SLBListener) GetStickySessionCookie() string
- func (self *SLBListener) GetStickySessionCookieTimeout() int
- func (self *SLBListener) GetStickySessionType() string
- func (self *SLBListener) GetTLSCipherPolicy() string
- func (self *SLBListener) GzipEnabled() bool
- func (self *SLBListener) HTTP2Enabled() bool
- func (self *SLBListener) IsEmulated() bool
- func (self *SLBListener) Refresh() error
- func (self *SLBListener) Start() error
- func (self *SLBListener) Stop() error
- func (self *SLBListener) Sync(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) error
- func (self *SLBListener) XForwardedForEnabled() bool
- type SLBListenerRule
- func (self *SLBListenerRule) Delete(ctx context.Context) error
- func (self *SLBListenerRule) GetBackendGroup() *SLBBackendGroup
- func (self *SLBListenerRule) GetBackendGroupId() string
- func (self *SLBListenerRule) GetCondition() string
- func (self *SLBListenerRule) GetDomain() string
- func (self *SLBListenerRule) GetGlobalId() string
- func (self *SLBListenerRule) GetId() string
- func (self *SLBListenerRule) GetName() string
- func (self *SLBListenerRule) GetPath() string
- func (self *SLBListenerRule) GetProjectId() string
- func (self *SLBListenerRule) GetStatus() string
- func (self *SLBListenerRule) IsDefault() bool
- func (self *SLBListenerRule) IsEmulated() bool
- func (self *SLBListenerRule) Refresh() error
- type SListInfo
- type SListenerBackend
- type SLoadbalancer
- func (self *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) Delete(ctx context.Context) error
- func (self *SLoadbalancer) GetAddress() string
- func (self *SLoadbalancer) GetAddressType() string
- func (self *SLoadbalancer) GetChargeType() string
- func (self *SLoadbalancer) GetEgressMbps() int
- func (self *SLoadbalancer) GetGlobalId() string
- func (self *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) GetId() string
- func (self *SLoadbalancer) GetLoadbalancerListeners(protocal string) ([]SLBListener, error)
- func (self *SLoadbalancer) GetLoadbalancerSpec() string
- func (self *SLoadbalancer) GetName() string
- func (self *SLoadbalancer) GetNetworkIds() []string
- func (self *SLoadbalancer) GetNetworkType() string
- func (self *SLoadbalancer) GetProjectId() string
- func (self *SLoadbalancer) GetStatus() string
- func (self *SLoadbalancer) GetSysTags() map[string]string
- func (self *SLoadbalancer) GetVpcId() string
- func (self *SLoadbalancer) GetZone1Id() string
- func (self *SLoadbalancer) GetZoneId() string
- func (self *SLoadbalancer) IsEmulated() bool
- func (self *SLoadbalancer) Refresh() error
- func (self *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
- func (self *SLoadbalancer) Start() error
- func (self *SLoadbalancer) Stop() error
- type SLocalDisk
- func (self *SLocalDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SLocalDisk) Delete(ctx context.Context) error
- func (disk *SLocalDisk) GetAccessPath() string
- func (self *SLocalDisk) GetBillingType() string
- func (self *SLocalDisk) GetCacheMode() string
- func (self *SLocalDisk) GetCreatedAt() time.Time
- func (self *SLocalDisk) GetDiskFormat() string
- func (self *SLocalDisk) GetDiskSizeMB() int
- func (self *SLocalDisk) GetDiskType() string
- func (self *SLocalDisk) GetDriver() string
- func (self *SLocalDisk) GetExpiredAt() time.Time
- func (self *SLocalDisk) GetFsFormat() string
- func (self *SLocalDisk) GetGlobalId() string
- func (self *SLocalDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SLocalDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SLocalDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SLocalDisk) GetId() string
- func (self *SLocalDisk) GetIsAutoDelete() bool
- func (self *SLocalDisk) GetIsNonPersistent() bool
- func (self *SLocalDisk) GetMountpoint() string
- func (self *SLocalDisk) GetName() string
- func (disk *SLocalDisk) GetProjectId() string
- func (self *SLocalDisk) GetStatus() string
- func (self *SLocalDisk) GetSysTags() map[string]string
- func (self *SLocalDisk) GetTemplateId() string
- func (self *SLocalDisk) IsEmulated() bool
- func (self *SLocalDisk) Rebuild(ctx context.Context) error
- func (self *SLocalDisk) Refresh() error
- func (self *SLocalDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SLocalDisk) Resize(ctx context.Context, size int64) error
- type SLocalDiskType
- type SLocalStorage
- func (self *SLocalStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SLocalStorage) DisableSync() bool
- func (self *SLocalStorage) GetCapacityMB() int64
- func (self *SLocalStorage) GetCapacityUsedMB() int64
- func (self *SLocalStorage) GetEnabled() bool
- func (self *SLocalStorage) GetGlobalId() string
- func (self *SLocalStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
- func (self *SLocalStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SLocalStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SLocalStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SLocalStorage) GetId() string
- func (self *SLocalStorage) GetMediumType() string
- func (self *SLocalStorage) GetMountPoint() string
- func (self *SLocalStorage) GetName() string
- func (self *SLocalStorage) GetStatus() string
- func (self *SLocalStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SLocalStorage) GetStorageType() string
- func (self *SLocalStorage) IsEmulated() bool
- func (self *SLocalStorage) IsSysDiskStore() bool
- func (self *SLocalStorage) Refresh() error
- type SMaintenanceTime
- type SMasterInfo
- type SMemcached
- func (self *SMemcached) AllocatePublicConnection(port int) (string, error)
- func (self *SMemcached) ChangeInstanceSpec(spec string) error
- func (self *SMemcached) CleanupInstance() error
- func (self *SMemcached) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SMemcached) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SMemcached) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SMemcached) Delete() error
- func (self *SMemcached) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SMemcached) GetArchType() string
- func (self *SMemcached) GetAuthMode() string
- func (self *SMemcached) GetBillingType() string
- func (self *SMemcached) GetCapacityMB() int
- func (self *SMemcached) GetCreatedAt() time.Time
- func (self *SMemcached) GetEngine() string
- func (self *SMemcached) GetEngineVersion() string
- func (self *SMemcached) GetExpiredAt() time.Time
- func (self *SMemcached) GetGlobalId() string
- func (self *SMemcached) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SMemcached) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SMemcached) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SMemcached) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SMemcached) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SMemcached) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SMemcached) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SMemcached) GetId() string
- func (self *SMemcached) GetInstanceType() string
- func (self *SMemcached) GetMaintainEndTime() string
- func (self *SMemcached) GetMaintainStartTime() string
- func (self *SMemcached) GetName() string
- func (self *SMemcached) GetNetworkId() string
- func (self *SMemcached) GetNetworkType() string
- func (self *SMemcached) GetNodeType() string
- func (self *SMemcached) GetPrivateConnectPort() int
- func (self *SMemcached) GetPrivateDNS() string
- func (self *SMemcached) GetPrivateIpAddr() string
- func (self *SMemcached) GetProjectId() string
- func (self *SMemcached) GetPublicConnectPort() int
- func (self *SMemcached) GetPublicDNS() string
- func (self *SMemcached) GetPublicIpAddr() string
- func (self *SMemcached) GetSecurityGroupIds() ([]string, error)
- func (self *SMemcached) GetStatus() string
- func (self *SMemcached) GetVpcId() string
- func (self *SMemcached) GetZoneId() string
- func (self *SMemcached) IsAutoRenew() bool
- func (self *SMemcached) ReleasePublicConnection() error
- func (self *SMemcached) Renew(bc billing.SBillingCycle) error
- func (self *SMemcached) Restart() error
- func (self *SMemcached) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SMemcached) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (self *SMemcached) UpdateAuthMode(noPasswordAccess bool, password string) error
- func (self *SMemcached) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SMemcached) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SMemcached) UpdateSecurityGroups(secgroupIds []string) error
- type SMongoDB
- func (self *SMongoDB) Delete() error
- func (self *SMongoDB) GetBillingType() string
- func (self *SMongoDB) GetCategory() string
- func (self *SMongoDB) GetCreatedAt() time.Time
- func (self *SMongoDB) GetDiskSizeMb() int
- func (self *SMongoDB) GetEngine() string
- func (self *SMongoDB) GetEngineVersion() string
- func (self *SMongoDB) GetExpiredAt() time.Time
- func (self *SMongoDB) GetGlobalId() string
- func (self *SMongoDB) GetIBackups() ([]cloudprovider.SMongoDBBackup, error)
- func (self *SMongoDB) GetId() string
- func (self *SMongoDB) GetInstanceType() string
- func (self *SMongoDB) GetIops() int
- func (self *SMongoDB) GetIpAddr() string
- func (self *SMongoDB) GetMaintainTime() string
- func (self *SMongoDB) GetName() string
- func (self *SMongoDB) GetNetworkAddress() string
- func (self *SMongoDB) GetNetworkId() string
- func (self *SMongoDB) GetPort() int
- func (self *SMongoDB) GetProjectId() string
- func (self *SMongoDB) GetReplicationNum() int
- func (self *SMongoDB) GetStatus() string
- func (self *SMongoDB) GetVcpuCount() int
- func (self *SMongoDB) GetVmemSizeMb() int
- func (self *SMongoDB) GetVpcId() string
- func (self *SMongoDB) GetZoneId() string
- func (self *SMongoDB) IsAutoRenew() bool
- func (self *SMongoDB) Refresh() error
- func (self *SMongoDB) SetTags(tags map[string]string, replace bool) error
- type SMySQLInstance
- func (self *SMySQLInstance) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (self *SMySQLInstance) ClosePublicConnection() error
- func (self *SMySQLInstance) CreateAccount(opts *cloudprovider.SDBInstanceAccountCreateConfig) error
- func (self *SMySQLInstance) CreateDatabase(opts *cloudprovider.SDBInstanceDatabaseCreateConfig) error
- func (self *SMySQLInstance) CreateIBackup(opts *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
- func (self *SMySQLInstance) Delete() error
- func (self *SMySQLInstance) GetBillingType() string
- func (self *SMySQLInstance) GetCategory() string
- func (self *SMySQLInstance) GetConnectionStr() string
- func (self *SMySQLInstance) GetCreatedAt() time.Time
- func (self *SMySQLInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (self *SMySQLInstance) GetDiskSizeGB() int
- func (self *SMySQLInstance) GetEngine() string
- func (self *SMySQLInstance) GetEngineVersion() string
- func (self *SMySQLInstance) GetExpiredAt() time.Time
- func (self *SMySQLInstance) GetGlobalId() string
- func (self *SMySQLInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (self *SMySQLInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (rds *SMySQLInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (self *SMySQLInstance) GetIVpcId() string
- func (self *SMySQLInstance) GetId() string
- func (self *SMySQLInstance) GetInstanceType() string
- func (self *SMySQLInstance) GetInternalConnectionStr() string
- func (self *SMySQLInstance) GetMaintainTime() string
- func (self *SMySQLInstance) GetMasterInstanceId() string
- func (self *SMySQLInstance) GetName() string
- func (self *SMySQLInstance) GetPort() int
- func (self *SMySQLInstance) GetProjectId() string
- func (self *SMySQLInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SMySQLInstance) GetStatus() string
- func (self *SMySQLInstance) GetStorageType() string
- func (self *SMySQLInstance) GetVcpuCount() int
- func (self *SMySQLInstance) GetVmemSizeMB() int
- func (self *SMySQLInstance) GetZone1Id() string
- func (self *SMySQLInstance) GetZone2Id() string
- func (self *SMySQLInstance) GetZone3Id() string
- func (self *SMySQLInstance) IsAutoRenew() bool
- func (self *SMySQLInstance) OpenPublicConnection() error
- func (self *SMySQLInstance) Reboot() error
- func (self *SMySQLInstance) Refresh() error
- func (self *SMySQLInstance) Renew(bc billing.SBillingCycle) error
- func (self *SMySQLInstance) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SMySQLInstance) SetSecurityGroups(ids []string) error
- func (self *SMySQLInstance) SetTags(tags map[string]string, replace bool) error
- type SMySQLInstanceAccount
- func (self *SMySQLInstanceAccount) Delete() error
- func (self *SMySQLInstanceAccount) GetHost() string
- func (self *SMySQLInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
- func (self *SMySQLInstanceAccount) GetName() string
- func (self *SMySQLInstanceAccount) GrantPrivilege(database, privilege string) error
- func (self *SMySQLInstanceAccount) ResetPassword(password string) error
- func (self *SMySQLInstanceAccount) RevokePrivilege(database string) error
- type SMySQLInstanceBackup
- func (self *SMySQLInstanceBackup) Delete() error
- func (self *SMySQLInstanceBackup) GetBackupMode() string
- func (self *SMySQLInstanceBackup) GetBackupSizeMb() int
- func (self *SMySQLInstanceBackup) GetDBInstanceId() string
- func (self *SMySQLInstanceBackup) GetDBNames() string
- func (self *SMySQLInstanceBackup) GetEndTime() time.Time
- func (self *SMySQLInstanceBackup) GetEngine() string
- func (self *SMySQLInstanceBackup) GetEngineVersion() string
- func (self *SMySQLInstanceBackup) GetGlobalId() string
- func (self *SMySQLInstanceBackup) GetId() string
- func (self *SMySQLInstanceBackup) GetName() string
- func (self *SMySQLInstanceBackup) GetStartTime() time.Time
- func (self *SMySQLInstanceBackup) GetStatus() string
- type SMySQLInstanceDatabase
- func (self *SMySQLInstanceDatabase) Delete() error
- func (self *SMySQLInstanceDatabase) GetCharacterSet() string
- func (self *SMySQLInstanceDatabase) GetGlobalId() string
- func (self *SMySQLInstanceDatabase) GetId() string
- func (self *SMySQLInstanceDatabase) GetName() string
- func (self *SMySQLInstanceDatabase) GetStatus() string
- type SNatGateway
- func (nat *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGateway) GetGlobalId() string
- func (nat *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (nat *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) GetINetworkId() string
- func (nat *SNatGateway) GetId() string
- func (nat *SNatGateway) GetName() string
- func (nat *SNatGateway) GetNatSpec() string
- func (nat *SNatGateway) GetStatus() string
- type SNetwork
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetGateway() string
- func (self *SNetwork) GetGlobalId() string
- func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
- func (self *SNetwork) GetId() string
- func (self *SNetwork) GetIpEnd() string
- func (self *SNetwork) GetIpMask() int8
- func (self *SNetwork) GetIpStart() string
- func (self *SNetwork) GetIsPublic() bool
- func (self *SNetwork) GetName() string
- func (self *SNetwork) GetProjectId() string
- func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) IsEmulated() bool
- func (self *SNetwork) Refresh() error
- func (self *SNetwork) SetTags(tags map[string]string, replace bool) error
- type SNetworkInterface
- func (nic *SNetworkInterface) GetAssociateId() string
- func (nic *SNetworkInterface) GetAssociateType() string
- func (nic *SNetworkInterface) GetGlobalId() string
- func (nic *SNetworkInterface) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
- func (nic *SNetworkInterface) GetId() string
- func (nic *SNetworkInterface) GetMacAddress() string
- func (nic *SNetworkInterface) GetName() string
- func (nic *SNetworkInterface) GetStatus() string
- type SNetworkInterfaceAttachment
- type SObject
- type SPolicy
- func (self *SPolicy) Delete() error
- func (self *SPolicy) GetDescription() string
- func (self *SPolicy) GetDocument() (*jsonutils.JSONDict, error)
- func (self *SPolicy) GetGlobalId() string
- func (self *SPolicy) GetName() string
- func (self *SPolicy) Refresh() error
- func (self *SPolicy) UpdateDocument(document *jsonutils.JSONDict) error
- type SPrincipal
- type SPrivateIpAddress
- type SProject
- type SQcInstanceMetricDimension
- type SQcMetricConditionDimension
- type SQcMetricDimension
- type SQcloudClient
- func (client *SQcloudClient) AddCdnDomain(domain string, originType string, origins []string, cosPrivateAccess string) error
- func (self *SQcloudClient) AddUser(name, password, desc string, consoleLogin bool) (*SUser, error)
- func (self *SQcloudClient) AddUserToGroup(groupId, userId int) error
- func (self *SQcloudClient) AttachGroupPolicy(groupId int, policyId string) error
- func (self *SQcloudClient) AttachRolePolicy(roleName string, policyId string) error
- func (self *SQcloudClient) AttachUserPolicy(uin, policyId string) error
- func (self *SQcloudClient) CreateCDNDomain(opts *cloudprovider.CdnCreateOptions) (*SCdnDomain, error)
- func (self *SQcloudClient) CreateDnsRecord(opts *cloudprovider.DnsRecordSet, domainName string) (string, error)
- func (self *SQcloudClient) CreateDomian(domianName string) (*SDomian, error)
- func (self *SQcloudClient) CreateGroup(name string, remark string) (*SGroup, error)
- func (self *SQcloudClient) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (client *SQcloudClient) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SQcloudClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SQcloudClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SQcloudClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (client *SQcloudClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SQcloudClient) CreatePolicy(name, document, desc string) (*SPolicy, error)
- func (client *SQcloudClient) CreateProject(name, desc string) (*SProject, error)
- func (self *SQcloudClient) CreateRole(name, document, desc string) (*SRole, error)
- func (self *SQcloudClient) CreateSAMLProvider(name, metadata, desc string) (*SAMLProvider, error)
- func (self *SQcloudClient) DeleteCdnDomain(domain string) error
- func (client *SQcloudClient) DeleteDnsRecord(recordId string, domainName string) error
- func (client *SQcloudClient) DeleteDomian(domianName string) error
- func (self *SQcloudClient) DeleteGroup(id int) error
- func (self *SQcloudClient) DeletePolicy(policyIds []int) error
- func (self *SQcloudClient) DeleteRole(name string) error
- func (self *SQcloudClient) DeleteSAMLProvider(name string) error
- func (self *SQcloudClient) DeleteUser(name string) error
- func (client *SQcloudClient) DescribeAllCdnDomains(domains, origins []string, domainType string) ([]SCdnDomain, error)
- func (client *SQcloudClient) DescribeCdnDomains(domains, origins []string, domainType string, offset int, limit int) ([]SCdnDomain, int, error)
- func (self *SQcloudClient) DescribeRoleList(offset int, limit int) ([]SRole, int, error)
- func (self *SQcloudClient) DetachGroupPolicy(groupId int, policyId string) error
- func (self *SQcloudClient) DetachRolePolicy(roleName string, policyId string) error
- func (self *SQcloudClient) DetachUserPolicy(uin, policyId string) error
- func (self *SQcloudClient) GetAccountId() string
- func (self *SQcloudClient) GetCallerIdentity() (*CallerIdentity, error)
- func (self *SQcloudClient) GetCapabilities() []string
- func (self *SQcloudClient) GetCdnDomain(domain string) (*SCdnDomain, error)
- func (self *SQcloudClient) GetCustomPolicyMaps() (map[string]int64, error)
- func (self *SQcloudClient) GetDnsRecords(domain string, offset int, limit int) ([]SDnsRecord, int, error)
- func (self *SQcloudClient) GetDomain(domain string) (*SDomian, error)
- func (self *SQcloudClient) GetDomains(key string, offset int, limit int) ([]SDomian, int, error)
- func (self *SQcloudClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SQcloudClient) GetGroup(groupId int) (*SGroup, error)
- func (self *SQcloudClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (self *SQcloudClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
- func (self *SQcloudClient) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (client *SQcloudClient) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
- func (client *SQcloudClient) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SQcloudClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SQcloudClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SQcloudClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SQcloudClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SQcloudClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SQcloudClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SQcloudClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (client *SQcloudClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (client *SQcloudClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (client *SQcloudClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (client *SQcloudClient) GetIRegions() []cloudprovider.ICloudRegion
- func (client *SQcloudClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SQcloudClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (client *SQcloudClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (client *SQcloudClient) GetIamLoginUrl() string
- func (self *SQcloudClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SQcloudClient) GetK8sMonitorData(ns, name, resourceId string, since time.Time, until time.Time, regionId string) ([]SK8SDataPoint, error)
- func (self *SQcloudClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SQcloudClient) GetMonitorData(ns string, name string, since time.Time, until time.Time, regionId string, ...) ([]SDataPoint, error)
- func (self *SQcloudClient) GetPolicy(policyId string) (*SPolicy, error)
- func (self *SQcloudClient) GetPolicyByName(name string) (*SPolicy, error)
- func (client *SQcloudClient) GetProjects() ([]SProject, error)
- func (self *SQcloudClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SQcloudClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (client *SQcloudClient) GetRegion(regionId string) *SRegion
- func (client *SQcloudClient) GetRegions() []SRegion
- func (self *SQcloudClient) GetRole(name string) (*SRole, error)
- func (self *SQcloudClient) GetSAMLProvider(name string) (*SAMLProvider, error)
- func (client *SQcloudClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SQcloudClient) GetUser(name string) (*SUser, error)
- func (self *SQcloudClient) ListAttachedGroupPolicies(groupId int, offset int, limit int) ([]SPolicy, int, error)
- func (self *SQcloudClient) ListAttachedRolePolicies(roleName, policyType string, offset, limit int) ([]SPolicy, int, error)
- func (self *SQcloudClient) ListAttachedUserPolicies(uin string, offset int, limit int) ([]SPolicy, int, error)
- func (self *SQcloudClient) ListCollaborators(offset, limit int) ([]SUser, int, error)
- func (self *SQcloudClient) ListGroupUsers(groupId int, offset int, limit int) ([]SUser, int, error)
- func (self *SQcloudClient) ListGroups(keyword string, offset int, limit int) ([]SGroup, int, error)
- func (self *SQcloudClient) ListGroupsForUser(uin int, offset, limit int) ([]SGroup, int, error)
- func (self *SQcloudClient) ListPolicies(keyword, scope string, offset int, limit int) ([]SPolicy, int, error)
- func (self *SQcloudClient) ListSAMLProviders() ([]SAMLProvider, error)
- func (self *SQcloudClient) ListUsers() ([]SUser, error)
- func (self *SQcloudClient) ModifyDnsRecord(opts *cloudprovider.DnsRecordSet, domainName string) error
- func (client *SQcloudClient) ModifyRecordStatus(status, recordId, domain string) error
- func (client *SQcloudClient) QueryAccountBalance() (*SAccountBalance, error)
- func (self *SQcloudClient) RemoveUserFromGroup(groupId, userId int) error
- func (self *SQcloudClient) StartCdnDomain(domain string) error
- func (self *SQcloudClient) StopCdnDomain(domain string) error
- func (self *SQcloudClient) UpdatePolicy(policyId int, document, desc string) error
- func (self *SQcloudClient) UpdateSAMLProvider(name, metadata, desc string) error
- func (self *SQcloudClient) UpdateUser(name, password string) error
- type SRecordCountInfo
- type SRecordCreateRet
- type SRegion
- func (self *SRegion) AcceptAttachCcnInstances(ccnId string, instances []SCcnAttachInstanceInput) error
- func (region *SRegion) AcceptVpcPeeringConnection(peeringId string) error
- func (region *SRegion) AcceptVpcPeeringConnectionEx(peeringId string) (int64, error)
- func (self *SRegion) AddressGroupList(groupId, groupName string, offset, limit int) ([]AddressTemplateGroup, int, error)
- func (self *SRegion) AddressList(addressId, addressName string, offset, limit int) ([]AddressTemplate, int, error)
- func (region *SRegion) AllocateEIP(name string, bwMbps int, chargeType string) (*SEipAddress, error)
- func (self *SRegion) ApplySnapshotPolicyToDisks(snapshotPolicyId string, diskId string) error
- func (region *SRegion) AssociateEip(eipId string, instanceId string) error
- func (self *SRegion) AttachCcnInstances(ccnId string, ccnUin string, instances []SCcnAttachInstanceInput) error
- func (self *SRegion) AttachDisk(instanceId string, diskId string) error
- func (self *SRegion) AttachKeypair(instanceId string, keypairId string) error
- func (self *SRegion) CancelSnapshotPolicyToDisks(snapshotPolicyId string, diskId string) error
- func (self *SRegion) ChangeEipBindWidth(eipId string, bw int, chargeType string) error
- func (self *SRegion) ChangeVMConfig(instanceId string, instanceType string) error
- func (self *SRegion) CloseMySQLWanService(id string) error
- func (region *SRegion) ConvertPublicIpToEip(instanceId string) error
- func (self *SRegion) CreateCcn(opts *cloudprovider.SInterVpcNetworkCreateOptions) (string, error)
- func (self *SRegion) CreateCertificate(projectId, publicKey, privateKey, certType, desc string) (string, error)
- func (self *SRegion) CreateClassicLoadbalancerListener(lbid, name string, protocol, port, backendServerPort int, scheduler *string, ...) (string, error)
- func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, desc string, ...) (string, error)
- func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (region *SRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error
- func (self *SRegion) CreateIDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (r *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) CreateILoadBalancerCertificate(input *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, ...) (string, error)
- func (self *SRegion) CreateInstanceSimple(name string, imgId string, cpu int, memGB int, storageType string, ...) (*SInstance, error)
- func (self *SRegion) CreateKeyPair(name string) (*SKeypair, error)
- func (self *SRegion) CreateLoadbalancerListener(lbid, name, protocol string, port int, scheduler *string, ...) (string, error)
- func (self *SRegion) CreateLoadbalancerListenerRule(lbid string, listenerId string, domain string, url string, scheduler string, ...) (string, error)
- func (self *SRegion) CreateMySQLAccount(instanceId string, opts *cloudprovider.SDBInstanceAccountCreateConfig) error
- func (self *SRegion) CreateMySQLBackup(instanceId string, tables map[string]string) (string, error)
- func (self *SRegion) CreateMySQLDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (*SMySQLInstance, error)
- func (self *SRegion) CreateNetwork(zoneId string, vpcId string, name string, cidr string, desc string) (string, error)
- func (self *SRegion) CreateSecurityGroup(name, projectId, description string) (*SSecurityGroup, error)
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (string, error)
- func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
- func (region *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (string, error)
- func (region *SRegion) CreateVpcPeeringConnectionEx(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (int64, error)
- func (region *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) DeleteBackup(instanceId, id string) error
- func (self *SRegion) DeleteCcn(ccnId string) error
- func (self *SRegion) DeleteCertificate(id string) error
- func (self *SRegion) DeleteClassicLoadbalancer(lbid string) (string, error)
- func (self *SRegion) DeleteDisk(diskId string) error
- func (self *SRegion) DeleteElasticSearch(id string) error
- func (region *SRegion) DeleteIBucket(name string) error
- func (self *SRegion) DeleteImage(imageId string) error
- func (self *SRegion) DeleteKubeCluster(id string, isRetain bool) error
- func (self *SRegion) DeleteLBListenerRule(lbid, listenerId, ruleId string) (string, error)
- func (self *SRegion) DeleteLBListenerRules(lbid, listenerId string, ruleIds []string) (string, error)
- func (self *SRegion) DeleteLoadbalancer(lbid string) (string, error)
- func (self *SRegion) DeleteLoadbalancerListener(t LB_TYPE, lbid string, listenerId string) (string, error)
- func (self *SRegion) DeleteMongoDB(id string) error
- func (self *SRegion) DeleteMySQLAccounts(instanceId string, users map[string]string) error
- func (self *SRegion) DeleteNetwork(networkId string) error
- func (region *SRegion) DeleteNetworkInterface(interfaceId string) error
- func (self *SRegion) DeletePostpaidTDSQL(id string) error
- func (self *SRegion) DeletePrepaidTDSQL(id string) error
- func (self *SRegion) DeleteSecgroupRule(secId string, direction string, index int) error
- func (self *SRegion) DeleteSecurityGroup(secGroupId string) error
- func (self *SRegion) DeleteSnapshot(snapshotId string) error
- func (self *SRegion) DeleteSnapshotPolicy(snapshotPolicyId string) error
- func (self *SRegion) DeleteTDSQLAccount(id, name, host string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (region *SRegion) DeleteVpcPeeringConnection(peeringId string) error
- func (region *SRegion) DeleteVpcPeeringConnectionEx(peeringId string) (int64, error)
- func (self *SRegion) DeployVM(instanceId string, name string, password string, keypairName string, ...) error
- func (self *SRegion) DescribeAccountPrivileges(instanceId string, user, host string) (*SAccountPrivilege, error)
- func (self *SRegion) DescribeCcnAttachedInstances(ccnId string, offset int, limit int) ([]SCcnInstance, int, error)
- func (self *SRegion) DescribeCcnRoutes(ccnId string, offset int, limit int) ([]SCcnRouteSet, int, error)
- func (self *SRegion) DescribeCcns(ccnIds []string, offset int, limit int) ([]SCcn, int, error)
- func (self *SRegion) DescribeDBInstanceSpecs() ([]SInstanceSpecs, error)
- func (self *SRegion) DescribeDBZoneConfig() ([]SRegionSellConf, error)
- func (self *SRegion) DescribeMySQLAccounts(instanceId string, offset, limit int) ([]SMySQLInstanceAccount, int, error)
- func (self *SRegion) DescribeMySQLAsyncRequestInfo(id string) (*SAsyncRequestResult, error)
- func (self *SRegion) DescribeMySQLBackups(instanceId string, offset, limit int) ([]SMySQLInstanceBackup, int, error)
- func (self *SRegion) DescribeMySQLDBInstanceInfo(id string) (*SMySQLInstance, error)
- func (self *SRegion) DescribeMySQLDBSecurityGroups(instanceId string) ([]SDBSecgroup, error)
- func (self *SRegion) DescribeMySQLDatabases(instanceId string, offset, limit int) ([]SMySQLInstanceDatabase, int, error)
- func (self *SRegion) DescribeMySQLTimeWindow(id string) (*SMaintenanceTime, error)
- func (self *SRegion) DescribeProductConfig() ([]SpecInfoList, error)
- func (self *SRegion) DescribeRouteTables(vpcId string, routetables []string, offset int, limit int) ([]SRouteTableSet, int, error)
- func (self *SRegion) DescribeSaleInfo() ([]SRegionSaleInfo, error)
- func (self *SRegion) DescribeSecurityGroupPolicies(secGroupId string) (*SecurityGroupPolicySet, error)
- func (self *SRegion) DescribeSecurityGroupReferences(id string) ([]ReferredSecurityGroup, error)
- func (self *SRegion) DescribeSqlServerProductConfig(zoneId string) ([]SqlServerSpecInfoList, error)
- func (self *SRegion) DescribeTaskInfo(taskId string) (*SElasticcacheTask, error)
- func (region *SRegion) DescribeVpcPeeringConnections(vpcId string, peeringConnectionId string, offset int, limit int) ([]SVpcPC, int, error)
- func (region *SRegion) DescribeVpcTaskResult(taskId string) (int, error)
- func (self *SRegion) DetachCcnInstances(ccnId string, instances []SCcnAttachInstanceInput) error
- func (self *SRegion) DetachDisk(instanceId string, diskId string) error
- func (self *SRegion) DetachKeyPair(instanceId string, keypairId string) error
- func (self *SRegion) DisableCcnRoutes(ccnId string, routeIds []string) error
- func (region *SRegion) DissociateEip(eipId string) error
- func (self *SRegion) EnableCcnRoutes(ccnId string, routeIds []string) error
- func (region *SRegion) FetchResourceTags(serviceType, resourceType string, resIds []string) (map[string]*map[string]string, error)
- func (self *SRegion) GetAllCcnAttachedInstances(ccnId string) ([]SCcnInstance, error)
- func (self *SRegion) GetAllCcnRouteSets(ccnId string) ([]SCcnRouteSet, error)
- func (self *SRegion) GetAllCcns() ([]SCcn, error)
- func (self *SRegion) GetAllRouteTables(vpcId string, routetables []string) ([]SRouteTableSet, error)
- func (region *SRegion) GetAllVpcPeeringConnections(vpcId string) ([]SVpcPC, error)
- func (region *SRegion) GetBandwidthPackages(ids []string, offset int, limit int) ([]SBandwidthPackage, int, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetCcnById(ccnId string) (*SCcn, error)
- func (self *SRegion) GetCertificate(certId string) (*SCertificate, error)
- func (self *SRegion) GetCertificates(projectId, certificateStatus, searchKey string) ([]SCertificate, error)
- func (self *SRegion) GetClient() *SQcloudClient
- func (self *SRegion) GetCloudElasticcacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
- func (self *SRegion) GetCloudElasticcacheBackups(instanceId string) ([]SElasticcacheBackup, error)
- func (self *SRegion) GetCloudElasticcacheParameters(instanceId string) ([]SElasticcacheParameter, error)
- func (self *SRegion) GetCloudElasticcacheSecurityGroups(instanceId string) ([]SElasticcacheSecgroup, error)
- func (self *SRegion) GetCloudElasticcaches(instanceId string) ([]SElasticcache, error)
- func (self *SRegion) GetCloudEnv() string
- func (self *SRegion) GetCosClient(bucket *SBucket) (*cos.Client, error)
- func (region *SRegion) GetDTables(natId, vpcId string) ([]SDTable, error)
- func (self *SRegion) GetDisk(diskId string) (*SDisk, error)
- func (self *SRegion) GetDiskConfigSet(zoneName string) ([]SDiskConfigSet, error)
- func (self *SRegion) GetDisks(instanceId string, zoneId string, category string, diskIds []string, ...) ([]SDisk, int, error)
- func (region *SRegion) GetEip(eipId string) (*SEipAddress, error)
- func (region *SRegion) GetEips(eipId string, instanceId string, offset int, limit int) ([]SEipAddress, int, error)
- func (self *SRegion) GetElasticSearch(id string) (*SElasticSearch, error)
- func (self *SRegion) GetElasticSearchs(ids []string, limit, offset int) ([]SElasticSearch, int, error)
- func (self *SRegion) GetElasticcacheIdByDeal(dealId string) (string, error)
- func (region *SRegion) GetEvents(start time.Time, end time.Time) ([]SEvent, error)
- func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
- func (self *SRegion) GetGlobalId() string
- func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
- func (region *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
- func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)
- func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)
- func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
- func (self *SRegion) GetIDBInstanceById(id string) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)
- func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, error)
- func (region *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
- func (region *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) GetIMySQLs() ([]cloudprovider.ICloudDBInstance, error)
- func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
- func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetITDSQLs() ([]cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(imageId string) (*SImage, error)
- func (self *SRegion) GetImageByName(name string) (*SImage, error)
- func (region *SRegion) GetImageQuota() (*ImageQuota, error)
- func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
- func (self *SRegion) GetImages(status string, owner string, imageIds []string, name string, offset int, ...) ([]SImage, int, error)
- func (self *SRegion) GetImportImageParams(name string, osArch, osDist, osVersion string, imageUrl string) (map[string]string, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (self *SRegion) GetInstanceStatus(instanceId string) (string, error)
- func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
- func (self *SRegion) GetInstanceVNCUrl(instanceId string) (string, error)
- func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit int) ([]SInstance, int, error)
- func (self *SRegion) GetKafka(id string) (*SKafka, error)
- func (self *SRegion) GetKafkaTopics(insId string, limit, offset int) ([]cloudprovider.SKafkaTopic, int, error)
- func (self *SRegion) GetKafkas(id string, limit, offset int) ([]SKafka, int, error)
- func (self *SRegion) GetKeypairs(name string, keyIds []string, offset int, limit int) ([]SKeypair, int, error)
- func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)
- func (self *SRegion) GetKubeClusters(ids []string, limit, offset int) ([]SKubeCluster, int, error)
- func (self *SRegion) GetKubeConfig(clusterId string, private bool) (*cloudprovider.SKubeconfig, error)
- func (self *SRegion) GetKubeNodePools(clusterId string) ([]SKubeNodePool, error)
- func (self *SRegion) GetKubeNodes(clusterId string, limit, offset int) ([]SKubeNode, int, error)
- func (self *SRegion) GetLBBackends(t LB_TYPE, lbId, listenerId, ruleId string) ([]SLBBackend, error)
- func (self *SRegion) GetLBTaskStatus(requestId string) (string, error)
- func (self *SRegion) GetLoadbalancer(id string) (*SLoadbalancer, error)
- func (self *SRegion) GetLoadbalancerListeners(lbid string, t LB_TYPE, protocol string) ([]SLBListener, error)
- func (self *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
- func (self *SRegion) GetMatchInstanceTypes(cpu int, memMB int, gpu int, zoneId string) ([]SInstanceType, error)
- func (self *SRegion) GetMemcaches(ids []string, limit, offset int) ([]SMemcached, int, error)
- func (self *SRegion) GetMongoDB(id string) (*SMongoDB, error)
- func (self *SRegion) GetMongoDBBackups(id string) ([]cloudprovider.SMongoDBBackup, error)
- func (self *SRegion) GetMongoDBs(ids []string, limit, offset int) ([]SMongoDB, int, error)
- func (self *SRegion) GetMySQLInstanceBackup(instanceId, backupId string) (*SMySQLInstanceBackup, error)
- func (self *SRegion) GetMySQLInstanceById(id string) (*SMySQLInstance, error)
- func (self *SRegion) GetName() string
- func (region *SRegion) GetNatGateways(vpcId string, offset int, limit int) ([]SNatGateway, int, error)
- func (self *SRegion) GetNetwork(networkId string) (*SNetwork, error)
- func (region *SRegion) GetNetworkInterfaces(nicIds []string, instanceId, subnetId string, offset int, limit int) ([]SNetworkInterface, int, error)
- func (self *SRegion) GetNetworks(ids []string, vpcId string, offset int, limit int) ([]SNetwork, int, error)
- func (self *SRegion) GetProvider() string
- func (region *SRegion) GetQuota(action string) ([]QuotaSet, error)
- func (self *SRegion) GetSecurityGroups(ids []string, vpcId string, name string, offset int, limit int) ([]SSecurityGroup, int, error)
- func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error)
- func (self *SRegion) GetSnapshotIdByDiskId(diskID string) ([]string, error)
- func (self *SRegion) GetSnapshotPolicies(policyId string, offset int, limit int) ([]SSnapshotPolicy, int, error)
- func (self *SRegion) GetSnapshots(instanceId string, diskId string, snapshotName string, snapshotIds []string, ...) ([]SSnapshot, int, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetSupportImageSet() (*SupportImageSet, error)
- func (self *SRegion) GetTDSQL(id string) (*STDSQL, error)
- func (self *SRegion) GetTDSQLAccount(id string) ([]STDSQLAccount, error)
- func (self *SRegion) GetTDSQLDatabases(id string) ([]STDSQLDatabase, error)
- func (self *SRegion) GetTDSQLSecurityGroups(id string) ([]STDSQLSecurityGroup, error)
- func (self *SRegion) GetTDSQLs(ids []string, limit, offset int) ([]STDSQL, int, error)
- func (region *SRegion) GetVpcPeeringConnectionbyId(vpcPCId string) (*SVpcPC, error)
- func (self *SRegion) GetVpcs(vpcIds []string, offset int, limit int) ([]SVpc, int, error)
- func (self *SRegion) GetZoneInstanceTypes(zoneId string) ([]SZoneInstanceType, error)
- func (self *SRegion) GetZoneLocalStorages(zoneId string) ([]string, error)
- func (self *SRegion) GrantAccountPrivilege(instanceId, user, host, database, privilege string) error
- func (region *SRegion) IBucketExist(name string) (bool, error)
- func (self *SRegion) ImportImage(name string, osArch, osDist, osVersion string, imageUrl string) (*SImage, error)
- func (self *SRegion) ImportKeypair(name string, pubKey string) (*SKeypair, error)
- func (self *SRegion) InitMySQLDBInstances(ids []string, password string, parameters map[string]string, vport int) error
- func (self *SRegion) IsEmulated() bool
- func (self *SRegion) IsolateMongoDB(id string) error
- func (self *SRegion) IsolateMySQLDBInstance(id string) error
- func (self *SRegion) ListMariadbSkus() ([]SDBInstanceSku, error)
- func (self *SRegion) ListMySQLInstances(ids []string, offset, limit int) ([]SMySQLInstance, int, error)
- func (self *SRegion) ListMysqlSkus() ([]SDBInstanceSku, error)
- func (self *SRegion) ListPostgreSQLSkus() ([]SDBInstanceSku, error)
- func (self *SRegion) ListSQLServerSkus() ([]SDBInstanceSku, error)
- func (self *SRegion) ModifyMySQLAccountPassword(instanceId string, password string, users map[string]string) error
- func (self *SRegion) ModifyMySQLAutoRenewFlag(ids []string, autoRenew bool) error
- func (self *SRegion) ModifyMySQLInstanceSecurityGroups(rdsId string, secIds []string) error
- func (self *SRegion) OfflineIsolatedMongoDB(id string) error
- func (self *SRegion) OfflineIsolatedMySQLInstances(ids []string) error
- func (self *SRegion) OpenMySQLWanService(id string) error
- func (self *SRegion) QueryAccountBalance() (*SAccountBalance, error)
- func (self *SRegion) RebootMySQLInstance(id string) error
- func (self *SRegion) Refresh() error
- func (self *SRegion) ReleaseIsolatedMySQLDBInstances(ids []string) error
- func (region *SRegion) RenewInstances(instanceId []string, bc billing.SBillingCycle) error
- func (self *SRegion) RenewMySQLDBInstance(id string, month int) error
- func (self *SRegion) ReplaceSystemDisk(instanceId string, imageId string, passwd string, keypairName string, ...) error
- func (self *SRegion) ResetDisk(diskId, snapshotId string) error
- func (self *SRegion) ResizeDisk(ctx context.Context, diskId string, sizeGb int64) error
- func (self *SRegion) RevokeAccountPrivilege(instanceId, user, host, database string) error
- func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
- func (region *SRegion) SetInstanceAutoRenew(instanceId string, autoRenew bool) error
- func (region *SRegion) SetResourceTags(serviceType, resoureType string, resIds []string, tags map[string]string, ...) error
- func (self *SRegion) StartVM(instanceId string) error
- func (self *SRegion) StopVM(instanceId string, opts *cloudprovider.ServerStopOptions) error
- func (self *SRegion) UpdateInstanceBandwidth(instanceId string, bw int, chargeType string) error
- func (self *SRegion) UpdateInstancePassword(instId string, passwd string) error
- func (self *SRegion) UpdateLoadbalancerListener(t LB_TYPE, lbid string, listenerId string, listenerName *string, ...) (string, error)
- func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error
- func (self *SRegion) UpdateVM(instanceId string, name string) error
- func (self *SRegion) UpgradeMySQLDBInstance(id string, memoryMb int, volumeGb int) error
- func (self *SRegion) WaitLBTaskSuccess(requestId string, interval time.Duration, timeout time.Duration) error
- type SRegionSaleInfo
- type SRegionSellConf
- type SRoGroup
- type SRoVipInfo
- type SRole
- func (self *SRole) AttachPolicy(id string) error
- func (self *SRole) Delete() error
- func (self *SRole) DetachPolicy(id string) error
- func (self *SRole) GetDocument() *jsonutils.JSONDict
- func (self *SRole) GetGlobalId() string
- func (self *SRole) GetICloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SRole) GetName() string
- func (self *SRole) GetSAMLProvider() string
- type SRouteSet
- func (self *SRouteSet) GetCidr() string
- func (self *SRouteSet) GetGlobalId() string
- func (self *SRouteSet) GetId() string
- func (self *SRouteSet) GetName() string
- func (self *SRouteSet) GetNextHop() string
- func (self *SRouteSet) GetNextHopType() string
- func (self *SRouteSet) GetStatus() string
- func (self *SRouteSet) GetType() string
- func (self *SRouteSet) IsEmulated() bool
- func (self *SRouteSet) Refresh() error
- type SRouteTableSet
- func (self *SRouteTableSet) CreateRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTableSet) GetAssociations() []cloudprovider.RouteTableAssociation
- func (self *SRouteTableSet) GetDescription() string
- func (self *SRouteTableSet) GetGlobalId() string
- func (self *SRouteTableSet) GetIRoutes() ([]cloudprovider.ICloudRoute, error)
- func (self *SRouteTableSet) GetId() string
- func (self *SRouteTableSet) GetName() string
- func (self *SRouteTableSet) GetRegionId() string
- func (self *SRouteTableSet) GetStatus() string
- func (self *SRouteTableSet) GetType() cloudprovider.RouteTableType
- func (self *SRouteTableSet) GetVpcId() string
- func (self *SRouteTableSet) IsEmulated() bool
- func (self *SRouteTableSet) Refresh() error
- func (self *SRouteTableSet) RemoveRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTableSet) UpdateRoute(route cloudprovider.RouteSet) error
- type SSecurityGroup
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetProjectId() string
- func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) IsEmulated() bool
- func (self *SSecurityGroup) Refresh() error
- func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
- type SSellType
- type SSnapshot
- func (self *SSnapshot) Delete() error
- func (self *SSnapshot) GetDiskId() string
- func (self *SSnapshot) GetDiskType() string
- func (self *SSnapshot) GetGlobalId() string
- func (self *SSnapshot) GetId() string
- func (self *SSnapshot) GetName() string
- func (self *SSnapshot) GetProjectId() string
- func (self *SSnapshot) GetRegionId() string
- func (self *SSnapshot) GetSizeMb() int32
- func (self *SSnapshot) GetStatus() string
- func (self *SSnapshot) IsEmulated() bool
- func (self *SSnapshot) Refresh() error
- type SSnapshotDatePolicy
- type SSnapshotPolicy
- func (self *SSnapshotPolicy) Delete() error
- func (self *SSnapshotPolicy) GetGlobalId() string
- func (self *SSnapshotPolicy) GetId() string
- func (self *SSnapshotPolicy) GetName() string
- func (self *SSnapshotPolicy) GetProjectId() string
- func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)
- func (self *SSnapshotPolicy) GetRetentionDays() int
- func (self *SSnapshotPolicy) GetStatus() string
- func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)
- func (self *SSnapshotPolicy) IsActivated() bool
- func (self *SSnapshotPolicy) IsEmulated() bool
- func (self *SSnapshotPolicy) Refresh() error
- type SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsEmulated() bool
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStorageBlockAttr
- type SStoragecache
- func (self *SStoragecache) CreateIImage(snapshoutId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, ...) (string, error)
- type STDSQL
- func (self *STDSQL) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (self *STDSQL) ClosePublicConnection() error
- func (self *STDSQL) CreateAccount(opts *cloudprovider.SDBInstanceAccountCreateConfig) error
- func (self *STDSQL) CreateDatabase(opts *cloudprovider.SDBInstanceDatabaseCreateConfig) error
- func (self *STDSQL) CreateIBackup(opts *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
- func (self *STDSQL) Delete() error
- func (self *STDSQL) GetBillingType() string
- func (self *STDSQL) GetCategory() string
- func (self *STDSQL) GetConnectionStr() string
- func (self *STDSQL) GetCreatedAt() time.Time
- func (self *STDSQL) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (self *STDSQL) GetDiskSizeGB() int
- func (self *STDSQL) GetEngine() string
- func (self *STDSQL) GetEngineVersion() string
- func (self *STDSQL) GetGlobalId() string
- func (self *STDSQL) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (self *STDSQL) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (self *STDSQL) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (self *STDSQL) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
- func (self *STDSQL) GetIVpcId() string
- func (self *STDSQL) GetId() string
- func (self *STDSQL) GetInstanceType() string
- func (self *STDSQL) GetInternalConnectionStr() string
- func (self *STDSQL) GetMaintainTime() string
- func (self *STDSQL) GetMasterInstanceId() string
- func (self *STDSQL) GetName() string
- func (self *STDSQL) GetPort() int
- func (self *STDSQL) GetProjectId() string
- func (self *STDSQL) GetSecurityGroupIds() ([]string, error)
- func (self *STDSQL) GetStatus() string
- func (self *STDSQL) GetStorageType() string
- func (self *STDSQL) GetVcpuCount() int
- func (self *STDSQL) GetVmemSizeMB() int
- func (self *STDSQL) GetZone1Id() string
- func (self *STDSQL) GetZone2Id() string
- func (self *STDSQL) GetZone3Id() string
- func (self *STDSQL) OpenPublicConnection() error
- func (self *STDSQL) Reboot() error
- func (self *STDSQL) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
- func (self *STDSQL) Refresh() error
- func (self *STDSQL) SetSecurityGroups(ids []string) error
- type STDSQLAccount
- func (self *STDSQLAccount) Delete() error
- func (self *STDSQLAccount) GetHost() string
- func (self *STDSQLAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
- func (self *STDSQLAccount) GetName() string
- func (self *STDSQLAccount) GrantPrivilege(database, privilege string) error
- func (self *STDSQLAccount) RevokePrivilege(database string) error
- type STDSQLDatabase
- type STDSQLSecurityGroup
- type STablePrivilege
- type SUser
- func (user *SUser) AttachCustomPolicy(policyId string) error
- func (user *SUser) AttachSystemPolicy(policyId string) error
- func (user *SUser) Delete() error
- func (user *SUser) DetachCustomPolicy(policyId string) error
- func (user *SUser) DetachSystemPolicy(policyId string) error
- func (self *SUser) GetEmailAddr() string
- func (user *SUser) GetGlobalId() string
- func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SUser) GetInviteUrl() string
- func (user *SUser) GetName() string
- func (user *SUser) IsConsoleLogin() bool
- func (user *SUser) ResetPassword(password string) error
- type SVpc
- func (self *SVpc) AcceptCrossRegionSVpcPeeringConnection(id string) error
- func (self *SVpc) AcceptICloudVpcPeeringConnection(id string) error
- func (self *SVpc) AcceptSVpcPeeringConnection(id string) error
- func (self *SVpc) CreateCrossRegionSVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPC, error)
- func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) CreateSVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPC, error)
- func (self *SVpc) Delete() error
- func (self *SVpc) GetAccepterSVpcPeeringConnections() ([]SVpcPC, error)
- func (self *SVpc) GetAuthorityOwnerId() string
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetName() string
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetSVpcPeeringConnectionById(id string) (*SVpcPC, error)
- func (self *SVpc) GetSVpcPeeringConnections() ([]SVpcPC, error)
- func (self *SVpc) GetStatus() string
- func (self *SVpc) IsEmulated() bool
- func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
- func (self *SVpc) Refresh() error
- func (self *SVpc) SetTags(tags map[string]string, replace bool) error
- type SVpcPC
- func (self *SVpcPC) Delete() error
- func (self *SVpcPC) GetEnabled() bool
- func (self *SVpcPC) GetGlobalId() string
- func (self *SVpcPC) GetId() string
- func (self *SVpcPC) GetName() string
- func (self *SVpcPC) GetPeerAccountId() string
- func (self *SVpcPC) GetPeerVpcId() string
- func (self *SVpcPC) GetStatus() string
- func (self *SVpcPC) IsCrossRegion() bool
- func (self *SVpcPC) Refresh() error
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetNetworkById(networkId string) *SNetwork
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- func (self *SWire) Refresh() error
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
- func (self *SZone) IsEmulated() bool
- func (self *SZone) Refresh() error
- type SZoneConf
- type SZoneInstanceType
- type SZoneSellConf
- type SaleZoneInfo
- type SecurityGroupPolicy
- type SecurityGroupPolicySet
- type SellTypeConfig
- type ServiceTemplateSpecification
- type ShardDetail
- type SlaveInfo
- type SlaveInstanceInfo
- type SnapshotStatusType
- type SpecInfoList
- type SpecItemInfoList
- type SqlServerSpecInfoList
- type Statement
- type SupportImageSet
- type SystemDisk
- type Tag
- type VirtualPrivateCloud
- type ZoneSet
Constants ¶
const ( ACL_GROUP_URI_ALL_USERS = "http://cam.qcloud.com/groups/global/AllUsers" ACL_GROUP_URI_AUTH_USERS = "http://cam.qcloud.com/groups/global/AuthenticatedUsers" )
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_STATUS_CREATE_FAILED = "CREATE_FAILED" EIP_TYPE_CALCIP = "CalcIP" //表示设备ip EIP_TYPE_WANIP = "WanIP" //普通公网ip EIP_TYPE_EIP = "EIP" //弹性公网ip EIP_TYPE_ANYCASTEIP = "AnycastEIP" //加速EIP )
const ( InstanceStatusStopped = "STOPPED" InstanceStatusRunning = "RUNNING" InstanceStatusStopping = "STOPPING" InstanceStatusStarting = "STARTING" )
const ( InternetChargeTypeBandwidthPrepaid = "BANDWIDTH_PREPAID" InternetChargeTypeTrafficPostpaidByHour = "TRAFFIC_POSTPAID_BY_HOUR" InternetChargeTypeBandwidthPostpaidByHour = "BANDWIDTH_POSTPAID_BY_HOUR" InternetChargeTypeBandwidthPackage = "BANDWIDTH_PACKAGE" )
const ( LB_ADDR_TYPE_INTERNAL = "INTERNAL" LB_ADDR_TYPE_OPEN = "OPEN" )
const ( LB_TYPE_CLASSIC = LB_TYPE(0) LB_TYPE_APPLICATION = LB_TYPE(1) )
const ( PROTOCOL_TCP = "TCP" PROTOCOL_UDP = "UDP" PROTOCOL_TCP_SSL = "TCP_SSL" PROTOCOL_HTTP = "HTTP" PROTOCOL_HTTPS = "HTTPS" )
const ( CLOUD_PROVIDER_QCLOUD = api.CLOUD_PROVIDER_QCLOUD CLOUD_PROVIDER_QCLOUD_CN = "腾讯云" CLOUD_PROVIDER_QCLOUD_EN = "QCloud" QCLOUD_DEFAULT_REGION = "ap-beijing" QCLOUD_API_VERSION = "2017-03-12" QCLOUD_CLB_API_VERSION = "2018-03-17" QCLOUD_BILLING_API_VERSION = "2018-07-09" QCLOUD_AUDIT_API_VERSION = "2019-03-19" QCLOUD_CAM_API_VERSION = "2019-01-16" QCLOUD_CDB_API_VERSION = "2017-03-20" QCLOUD_MARIADB_API_VERSION = "2017-03-12" QCLOUD_POSTGRES_API_VERSION = "2017-03-12" QCLOUD_SQLSERVER_API_VERSION = "2018-03-28" QCLOUD_REDIS_API_VERSION = "2018-04-12" QCLOUD_MEMCACHED_API_VERSION = "2019-03-18" QCLOUD_SSL_API_VERSION = "2019-12-05" QCLOUD_CDN_API_VERSION = "2018-06-06" QCLOUD_MONGODB_API_VERSION = "2019-07-25" QCLOUD_ES_API_VERSION = "2018-04-16" QCLOUD_DCDB_API_VERSION = "2018-04-11" QCLOUD_KAFKA_API_VERSION = "2019-08-19" QCLOUD_TKE_API_VERSION = "2018-05-25" QCLOUD_DNS_API_VERSION = "2021-03-23" QCLOUD_STS_API_VERSION = "2018-08-13" )
const ( NORMAL = "NORMAL" UNKOWN = "ISOLATED" )
const (
COS_META_HEADER = "X-Cos-Meta-"
)
const (
DEFAULT_ROLE_DOCUMENT = `{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cvm.qcloud.com"]}}]}`
)
const (
QCLOUD_API_VERSION_METRICS = "2018-07-24"
)
const (
QCLOUD_API_VERSION_TAGS = "2018-08-13"
)
Variables ¶
var HTTP_CODES = []string{ api.LB_HEALTH_CHECK_HTTP_CODE_1xx, api.LB_HEALTH_CHECK_HTTP_CODE_2xx, api.LB_HEALTH_CHECK_HTTP_CODE_3xx, api.LB_HEALTH_CHECK_HTTP_CODE_4xx, api.LB_HEALTH_CHECK_HTTP_CODE_5xx, }
var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{ "ap-bangkok": api.RegionBangkok, "ap-beijing": api.RegionBeijing, "ap-chengdu": api.RegionChengdu, "ap-chongqing": api.RegionChongqing, "ap-guangzhou": api.RegionGuangzhou, "ap-guangzhou-open": api.RegionGuangzhou, "ap-hongkong": api.RegionHongkong, "ap-mumbai": api.RegionMumbai, "ap-seoul": api.RegionSeoul, "ap-shanghai": api.RegionShanghai, "ap-shanghai-fsi": api.RegionShanghai, "ap-shenzhen-fsi": api.RegionShenzhen, "ap-singapore": api.RegionSingapore, "ap-tokyo": api.RegionTokyo, "eu-frankfurt": api.RegionFrankfurt, "eu-moscow": api.RegionMoscow, "na-ashburn": api.RegionVirginia, "na-siliconvalley": api.RegionSiliconValley, "na-toronto": api.RegionToronto, "ap-nanjing": api.RegionNanjing, }
var QCLOUD_LOCAL_STORAGE_TYPES = []string{
"LOCAL_NVME",
"LOCAL_BASIC",
"LOCAL_SSD",
"LOCAL_PRO",
}
var (
SUPPORTED_ENGINE_VERSION = []string{"5.7", "10.0", "10.1"}
)
Functions ¶
func GetRecordLineLineType ¶
func GetRecordLineLineType(policyinfo cloudprovider.TDnsPolicyValue) string
Types ¶
type AddressTemplate ¶
type AddressTemplateGroup ¶
type CallerIdentity ¶
type DataDisk ¶
type DataDisk struct { DiskSize float32 // 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:CVM实例配置。默认值为0,表示不购买数据盘。更多限制详见产品文档。 DiskType string // 数据盘类型。数据盘类型限制详见CVM实例配置。取值范围:LOCAL_BASIC:本地硬盘 LOCAL_SSD:本地SSD硬盘 CLOUD_BASIC:普通云硬盘 CLOUD_PREMIUM:高性能云硬盘 CLOUD_SSD:SSD云硬盘 默认取值:LOCAL_BASIC。 该参数对ResizeInstanceDisk接口无效。 DiskId string // 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID。暂时不支持该参数。 DeleteWithInstance bool // 数据盘是否随子机销毁。取值范围:TRUE:子机销毁时,销毁数据盘 FALSE:子机销毁时,保留数据盘 默认取值:TRUE 该参数目前仅用于 RunInstances 接口。 }
type ImageQuota ¶
type ImageQuota struct { ImageNumQuota int // contains filtered or unexported fields }
func (*ImageQuota) GetCurrentQuotaUsedCount ¶
func (iq *ImageQuota) GetCurrentQuotaUsedCount() int
func (*ImageQuota) GetDesc ¶
func (iq *ImageQuota) GetDesc() string
func (*ImageQuota) GetGlobalId ¶
func (iq *ImageQuota) GetGlobalId() string
func (*ImageQuota) GetMaxQuotaCount ¶
func (iq *ImageQuota) GetMaxQuotaCount() int
func (*ImageQuota) GetName ¶
func (iq *ImageQuota) GetName() string
func (*ImageQuota) GetQuotaType ¶
func (iq *ImageQuota) GetQuotaType() string
type ImageStatusType ¶
type ImageStatusType string
const ( ImageStatusCreating ImageStatusType = "CREATING" ImageStatusNormal ImageStatusType = "NORMAL" ImageStatusSycing ImageStatusType = "SYNCING" ImageStatusImporting ImageStatusType = "IMPORTING" ImageStatusUsing ImageStatusType = "USING" ImageStatusDeleting ImageStatusType = "DELETING" )
type ImportImageOsVersionSet ¶
type InstanceChargeType ¶
type InstanceChargeType string
const ( PrePaidInstanceChargeType InstanceChargeType = "PREPAID" PostPaidInstanceChargeType InstanceChargeType = "POSTPAID_BY_HOUR" CdhPaidInstanceChargeType InstanceChargeType = "CDHPAID" DefaultInstanceChargeType = PostPaidInstanceChargeType )
type InternetAccessible ¶
type InternetAccessible struct { InternetChargeType string //网络计费类型。取值范围:BANDWIDTH_PREPAID:预付费按带宽结算 TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费 BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费 BANDWIDTH_PACKAGE:带宽包用户 默认取值:非带宽包用户默认与子机付费类型保持一致。 InternetMaxBandwidthOut int // 公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。 PublicIpAssigned bool // 是否分配公网IP。取值范围: TRUE:表示分配公网IP FALSE:表示不分配公网IP 当公网带宽大于0Mbps时,可自由选择开通与否,默认开通公网IP;当公网带宽为0,则不允许分配公网IP。 }
type LoginSettings ¶
type LoginSettings struct { Password string //实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ' , . ? /]中的特殊符号。 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。 KeyIds []string // 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。 KeepImageLogin string // 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围: TRUE:表示保持镜像的登录设置 FALSE:表示不保持镜像的登录设置 默认取值:FALSE。 }
type MaintenanceTime ¶
type QcloudClientConfig ¶
type QcloudClientConfig struct {
// contains filtered or unexported fields
}
func NewQcloudClientConfig ¶
func NewQcloudClientConfig(secretId, secretKey string) *QcloudClientConfig
func (*QcloudClientConfig) AppId ¶
func (cfg *QcloudClientConfig) AppId(appId string) *QcloudClientConfig
func (*QcloudClientConfig) CloudproviderConfig ¶
func (cfg *QcloudClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *QcloudClientConfig
func (*QcloudClientConfig) Debug ¶
func (cfg *QcloudClientConfig) Debug(debug bool) *QcloudClientConfig
type QcloudResponse ¶
type QcloudResponse struct { *tchttp.BaseResponse Response *interface{} `json:"Response"` }
3.0版本通用response
func (*QcloudResponse) GetResponse ¶
func (r *QcloudResponse) GetResponse() *interface{}
type QcloudTags ¶
type QcloudTags struct { TagSet []multicloud.STag // Redis InstanceTags []multicloud.STag // Elasticsearch TagList []multicloud.STag // Kafka Tags []multicloud.STag // Cdn Tag []multicloud.STag // TDSQL ResourceTags []multicloud.STag }
func (*QcloudTags) GetSysTags ¶
func (self *QcloudTags) GetSysTags() map[string]string
type QuotaSet ¶
func (*QuotaSet) GetCurrentQuotaUsedCount ¶
func (*QuotaSet) GetGlobalId ¶
func (*QuotaSet) GetMaxQuotaCount ¶
func (*QuotaSet) GetQuotaType ¶
type ReferredSecurityGroup ¶
type SAMLProvider ¶
type SAMLProvider struct { multicloud.SResourceBase QcloudTags Name string Description string CreateTime time.Time ModifyTime time.Time SAMLMetadata string // contains filtered or unexported fields }
func (*SAMLProvider) Delete ¶
func (self *SAMLProvider) Delete() error
func (*SAMLProvider) GetAuthUrl ¶
func (self *SAMLProvider) GetAuthUrl() string
func (*SAMLProvider) GetGlobalId ¶
func (self *SAMLProvider) GetGlobalId() string
func (*SAMLProvider) GetId ¶
func (self *SAMLProvider) GetId() string
func (*SAMLProvider) GetMetadataDocument ¶
func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)
func (*SAMLProvider) GetName ¶
func (self *SAMLProvider) GetName() string
func (*SAMLProvider) GetStatus ¶
func (self *SAMLProvider) GetStatus() string
func (*SAMLProvider) UpdateMetadata ¶
func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error
type SAccountBalance ¶
type SAccountPrivilege ¶
type SAccountPrivilege struct { GlobalPrivileges []string DatabasePrivileges []SDatabasePrivilege TablePrivileges []STablePrivilege ColumnPrivileges []SColumnPrivilege }
type SAsyncRequestResult ¶
type SAvailableChoice ¶
type SAvailableChoice struct { MasterZone SaleZoneInfo SlaveZones []SaleZoneInfo }
type SBandwidthPackage ¶
type SBandwidthPackageSet ¶
type SBucket ¶
type SBucket struct { multicloud.SBaseBucket QcloudTags Name string Location string CreateDate time.Time // contains filtered or unexported fields }
func (*SBucket) AbortMultipartUpload ¶
func (*SBucket) CompleteMultipartUpload ¶
func (*SBucket) CopyObject ¶
func (*SBucket) DeleteCORS ¶
func (*SBucket) DeleteObject ¶
func (*SBucket) DeletePolicy ¶
func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBucket) DeleteWebSiteConf ¶
func (*SBucket) GetAccessUrls ¶
func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
func (*SBucket) GetAcl ¶
func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
func (*SBucket) GetCORSRules ¶
func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
func (*SBucket) GetCdnDomains ¶
func (b *SBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)
func (*SBucket) GetCreatedAt ¶
func (*SBucket) GetGlobalId ¶
func (*SBucket) GetIRegion ¶
func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
func (*SBucket) GetLocation ¶
func (*SBucket) GetObject ¶
func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
func (*SBucket) GetPolicy ¶
func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBucket) GetProjectId ¶
func (*SBucket) GetReferer ¶
func (b *SBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
func (*SBucket) GetStats ¶
func (b *SBucket) GetStats() cloudprovider.SBucketStats
func (*SBucket) GetStorageClass ¶
func (*SBucket) GetTempUrl ¶
func (*SBucket) GetWebsiteConf ¶
func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
func (*SBucket) ListMultipartUploads ¶
func (b *SBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)
func (*SBucket) ListObjects ¶
func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
func (*SBucket) NewMultipartUpload ¶
func (*SBucket) SetAcl ¶
func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
func (*SBucket) SetCORS ¶
func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error
func (*SBucket) SetPolicy ¶
func (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
func (*SBucket) SetReferer ¶
func (b *SBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
func (*SBucket) SetWebsite ¶
func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
type SCcn ¶
type SCcn struct { multicloud.SResourceBase QcloudTags CcnID string `json:"CcnId"` CcnName string `json:"CcnName"` CcnDescription string `json:"CcnDescription"` InstanceCount int `json:"InstanceCount"` CreateTime string `json:"CreateTime"` State string `json:"State"` AttachedInstances []SCcnInstance // contains filtered or unexported fields }
func (*SCcn) AttachVpc ¶
func (self *SCcn) AttachVpc(opts *cloudprovider.SInterVpcNetworkAttachVpcOption) error
func (*SCcn) DetachVpc ¶
func (self *SCcn) DetachVpc(opts *cloudprovider.SInterVpcNetworkDetachVpcOption) error
func (*SCcn) DisableRouteEntry ¶
func (*SCcn) EnableRouteEntry ¶
func (*SCcn) GetAuthorityOwnerId ¶
func (*SCcn) GetGlobalId ¶
func (*SCcn) GetICloudVpcIds ¶
func (*SCcn) GetIRoutes ¶
func (self *SCcn) GetIRoutes() ([]cloudprovider.ICloudInterVpcNetworkRoute, error)
type SCcnAttachInstanceInput ¶
type SCcnInstance ¶
type SCcnInstance struct { CcnID string `json:"CcnId"` InstanceType string `json:"InstanceType"` InstanceID string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceRegion string `json:"InstanceRegion"` InstanceUin string `json:"InstanceUin"` CidrBlock []string `json:"CidrBlock"` State string `json:"State"` }
type SCcnRouteSet ¶
type SCcnRouteSet struct { multicloud.SResourceBase QcloudTags RouteID string `json:"RouteId"` DestinationCidrBlock string `json:"DestinationCidrBlock"` InstanceType string `json:"InstanceType"` InstanceID string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceRegion string `json:"InstanceRegion"` InstanceUin string `json:"InstanceUin"` UpdateTime string `json:"UpdateTime"` Enabled bool `json:"Enabled"` ExtraState string `json:"ExtraState"` }
func (*SCcnRouteSet) GetCidr ¶
func (self *SCcnRouteSet) GetCidr() string
func (*SCcnRouteSet) GetEnabled ¶
func (self *SCcnRouteSet) GetEnabled() bool
func (*SCcnRouteSet) GetGlobalId ¶
func (self *SCcnRouteSet) GetGlobalId() string
func (*SCcnRouteSet) GetId ¶
func (self *SCcnRouteSet) GetId() string
func (*SCcnRouteSet) GetInstanceId ¶
func (self *SCcnRouteSet) GetInstanceId() string
func (*SCcnRouteSet) GetInstanceRegionId ¶
func (self *SCcnRouteSet) GetInstanceRegionId() string
func (*SCcnRouteSet) GetInstanceType ¶
func (self *SCcnRouteSet) GetInstanceType() string
func (*SCcnRouteSet) GetName ¶
func (self *SCcnRouteSet) GetName() string
func (*SCcnRouteSet) GetStatus ¶
func (self *SCcnRouteSet) GetStatus() string
func (*SCcnRouteSet) IsEmulated ¶
func (self *SCcnRouteSet) IsEmulated() bool
func (*SCcnRouteSet) Refresh ¶
func (self *SCcnRouteSet) Refresh() error
type SCcnRouteSets ¶
type SCcnRouteSets struct { RouteSet []SCcnRouteSet `json:"RouteSet"` TotalCount int `json:"TotalCount"` RequestID string `json:"RequestId"` }
type SCdnDomain ¶
type SCdnDomain struct { multicloud.SResourceBase QcloudTags Area string `json:"Area"` Cname string `json:"Cname"` CreateTime string `json:"CreateTime"` Disable string `json:"Disable"` Domain string `json:"Domain"` Origin SCdnOrigin `json:"Origin"` ProjectID int `json:"ProjectId"` Readonly string `json:"Readonly"` ResourceID string `json:"ResourceId"` ServiceType string `json:"ServiceType"` Status string `json:"Status"` UpdateTime string `json:"UpdateTime"` // contains filtered or unexported fields }
func (*SCdnDomain) Delete ¶
func (self *SCdnDomain) Delete() error
func (*SCdnDomain) GetArea ¶
func (self *SCdnDomain) GetArea() string
func (*SCdnDomain) GetCname ¶
func (self *SCdnDomain) GetCname() string
func (*SCdnDomain) GetEnabled ¶
func (self *SCdnDomain) GetEnabled() bool
func (*SCdnDomain) GetGlobalId ¶
func (self *SCdnDomain) GetGlobalId() string
func (*SCdnDomain) GetId ¶
func (self *SCdnDomain) GetId() string
func (*SCdnDomain) GetName ¶
func (self *SCdnDomain) GetName() string
func (*SCdnDomain) GetOrigins ¶
func (self *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins
func (*SCdnDomain) GetServiceType ¶
func (self *SCdnDomain) GetServiceType() string
func (*SCdnDomain) GetStatus ¶
func (self *SCdnDomain) GetStatus() string
func (*SCdnDomain) Refresh ¶
func (self *SCdnDomain) Refresh() error
type SCdnOrigin ¶
type SCdnOrigin struct { Origins []string `json:"Origins"` OriginType string `json:"OriginType"` ServerName string `json:"ServerName"` CosPrivateAccess string `json:"CosPrivateAccess"` OriginPullProtocol string `json:"OriginPullProtocol"` BackupOrigins []string `json:"BackupOrigins"` BackupOriginType string `json:"BackupOriginType"` BackupServerName string `json:"BackupServerName"` }
type SCertificate ¶
type SCertificate struct { multicloud.SResourceBase QcloudTags CertificateID string `json:"CertificateId"` CertificateType string `json:"CertificateType"` Deployable bool `json:"Deployable"` RenewAble bool `json:"RenewAble"` OwnerUin string `json:"ownerUin"` ProjectID string `json:"projectId"` From string `json:"from"` ProductZhName string `json:"productZhName"` Domain string `json:"domain"` Alias string `json:"alias"` Status int `json:"status"` VulnerabilityStatus string `json:"vulnerability_status"` CERTBeginTime time.Time `json:"certBeginTime"` CERTEndTime time.Time `json:"certEndTime"` ValidityPeriod string `json:"validityPeriod"` InsertTime string `json:"insertTime"` ProjectInfo projectInfo `json:"projectInfo"` StatusName string `json:"status_name"` IsVip bool `json:"is_vip"` IsDv bool `json:"is_dv"` IsWildcard bool `json:"is_wildcard"` IsVulnerability bool `json:"is_vulnerability"` SubjectAltName []string `json:"subjectAltName"` CertificatePrivateKey string `json:"CertificatePrivateKey"` CertificatePublicKey string `json:"CertificatePublicKey"` // contains filtered or unexported fields }
https://cloud.tencent.com/document/api/400/13675
func (*SCertificate) Delete ¶
func (self *SCertificate) Delete() error
func (*SCertificate) GetCommonName ¶
func (self *SCertificate) GetCommonName() string
func (*SCertificate) GetDetails ¶
func (self *SCertificate) GetDetails() (*SCertificate, error)
func (*SCertificate) GetExpireTime ¶
func (self *SCertificate) GetExpireTime() time.Time
func (*SCertificate) GetFingerprint ¶
func (self *SCertificate) GetFingerprint() string
func (*SCertificate) GetGlobalId ¶
func (self *SCertificate) GetGlobalId() string
func (*SCertificate) GetId ¶
func (self *SCertificate) GetId() string
func (*SCertificate) GetName ¶
func (self *SCertificate) GetName() string
func (*SCertificate) GetPrivateKey ¶
func (self *SCertificate) GetPrivateKey() string
func (*SCertificate) GetProjectId ¶
func (self *SCertificate) GetProjectId() string
func (*SCertificate) GetPublickKey ¶
func (self *SCertificate) GetPublickKey() string
func (*SCertificate) GetStatus ¶
func (self *SCertificate) GetStatus() string
todo: 貌似目前onecloud没有记录状态
func (*SCertificate) GetSubjectAlternativeNames ¶
func (self *SCertificate) GetSubjectAlternativeNames() string
func (*SCertificate) IsEmulated ¶
func (self *SCertificate) IsEmulated() bool
func (*SCertificate) Refresh ¶
func (self *SCertificate) Refresh() error
func (*SCertificate) Sync ¶
func (self *SCertificate) Sync(name, privateKey, publickKey string) error
证书不能修改
type SColumnPrivilege ¶
type SDBInstanceSku ¶
type SDBSecgroup ¶
type SDTable ¶
type SDTable struct { multicloud.SResourceBase QcloudTags Eip string NatId string Description string UniqVpcId string Proto string Pport int Eport int Owner string VpcId int PipType int Pip string UniqNatId string CreateTime time.Time // contains filtered or unexported fields }
func (*SDTable) GetExternalIp ¶
func (*SDTable) GetExternalPort ¶
func (*SDTable) GetGlobalId ¶
func (*SDTable) GetInternalIp ¶
func (*SDTable) GetInternalPort ¶
func (*SDTable) GetIpProtocol ¶
type SDataPoint ¶
type SDataPoint struct { Dimensions []SQcMetricDimension `json:"Dimensions"` Timestamps []float64 `json:"Timestamps"` Values []float64 `json:"Values"` }
type SDatabasePrivilege ¶
type SDescribeTag ¶
type SDescribeTagsSeqResponse ¶
type SDescribeTagsSeqResponse struct { SListInfo Tags []SDescribeTag `json:"Tags"` }
type SDisk ¶
type SDisk struct { multicloud.SDisk QcloudTags Attached bool AutoRenewFlagError bool CreateTime time.Time DeadlineError bool DeadlineTime time.Time DifferDaysOfDeadline int DiskChargeType string DiskId string DiskName string DiskSize int DiskState string DiskType string DiskUsage string Encrypt bool InstanceId string IsReturnable bool Placement Placement Portable bool RenewFlag string ReturnFailCode int RollbackPercent int Rollbacking bool SnapshotAbility bool DeleteWithInstance bool // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetAccessPath ¶
func (*SDisk) GetBillingType ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetCreatedAt ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetExpiredAt ¶
func (*SDisk) GetExtSnapshotPolicyIds ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshot ¶
func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetProjectId ¶
func (*SDisk) GetTemplateId ¶
func (*SDisk) IsEmulated ¶
type SDiskConfigSet ¶
type SDnsRecord ¶
type SDnsRecord struct { Line string `json:"Line"` LineId string `json:"LineId"` MX int64 `json:"MX"` MonitorStatus string `json:"MonitorStatus"` Name string `json:"Name"` RecordId int `json:"RecordId"` Remark string `json:"Remark"` Status string `json:"Status"` TTL int64 `json:"TTL"` Type string `json:"Type"` UpdatedOn string `json:"UpdatedOn"` Value string `json:"Value"` // contains filtered or unexported fields }
func (*SDnsRecord) GetDnsName ¶
func (self *SDnsRecord) GetDnsName() string
func (*SDnsRecord) GetDnsType ¶
func (self *SDnsRecord) GetDnsType() cloudprovider.TDnsType
func (*SDnsRecord) GetDnsValue ¶
func (self *SDnsRecord) GetDnsValue() string
func (*SDnsRecord) GetEnabled ¶
func (self *SDnsRecord) GetEnabled() bool
func (*SDnsRecord) GetGlobalId ¶
func (self *SDnsRecord) GetGlobalId() string
func (*SDnsRecord) GetMxPriority ¶
func (self *SDnsRecord) GetMxPriority() int64
func (*SDnsRecord) GetPolicyOptions ¶
func (self *SDnsRecord) GetPolicyOptions() *jsonutils.JSONDict
func (*SDnsRecord) GetPolicyType ¶
func (self *SDnsRecord) GetPolicyType() cloudprovider.TDnsPolicyType
func (*SDnsRecord) GetPolicyValue ¶
func (self *SDnsRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
func (*SDnsRecord) GetStatus ¶
func (self *SDnsRecord) GetStatus() string
func (*SDnsRecord) GetTTL ¶
func (self *SDnsRecord) GetTTL() int64
type SDomains ¶
type SDomains struct { RequestID string `json:"RequestId"` Domains []SCdnDomain `json:"Domains"` TotalNumber int `json:"TotalNumber"` }
type SDomian ¶
type SDomian struct { multicloud.SResourceBase QcloudTags CNAMESpeedup string `json:"CNAMESpeedup"` CreatedOn string `json:"CreatedOn"` DNSStatus string `json:"DNSStatus"` DomainId int `json:"DomainId"` EffectiveDNS []string `json:"EffectiveDNS"` Grade string `json:"Grade"` GradeLevel int64 `json:"GradeLevel"` GradeTitle string `json:"GradeTitle"` GroupId int64 `json:"GroupId"` IsVip string `json:"IsVip"` Name string `json:"Name"` Owner string `json:"Owner"` Punycode string `json:"Punycode"` RecordCount int64 `json:"RecordCount"` Remark string `json:"Remark"` SearchEnginePush string `json:"SearchEnginePush"` Status string `json:"Status"` TTL int64 `json:"TTL"` UpdatedOn string `json:"UpdatedOn"` VipAutoRenew string `json:"VipAutoRenew"` VipEndAt string `json:"VipEndAt"` VipStartAt string `json:"VipStartAt"` // contains filtered or unexported fields }
func (*SDomian) AddDnsRecordSet ¶
func (self *SDomian) AddDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
func (*SDomian) AddVpc ¶
func (self *SDomian) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
func (*SDomian) GetDnsProductType ¶
func (self *SDomian) GetDnsProductType() cloudprovider.TDnsProductType
func (*SDomian) GetEnabled ¶
func (*SDomian) GetGlobalId ¶
func (*SDomian) GetICloudVpcIds ¶
func (*SDomian) GetIDnsRecordSets ¶
func (self *SDomian) GetIDnsRecordSets() ([]cloudprovider.ICloudDnsRecordSet, error)
func (*SDomian) GetOptions ¶
func (*SDomian) GetZoneType ¶
func (self *SDomian) GetZoneType() cloudprovider.TDnsZoneType
func (*SDomian) RemoveDnsRecordSet ¶
func (self *SDomian) RemoveDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
func (*SDomian) RemoveVpc ¶
func (self *SDomian) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
func (*SDomian) SyncDnsRecordSets ¶
func (self *SDomian) SyncDnsRecordSets(common, add, del, update []cloudprovider.DnsRecordSet) error
func (*SDomian) UpdateDnsRecordSet ¶
func (self *SDomian) UpdateDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase QcloudTags AddressId string // EIP的ID,是EIP的唯一标识。 AddressName string // EIP名称。 AddressStatus string // EIP状态。 AddressIp string // 外网IP地址 InstanceId string // 绑定的资源实例ID。可能是一个CVM,NAT。 CreatedTime time.Time // 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 NetworkInterfaceId string // 绑定的弹性网卡ID PrivateAddressIp string // 绑定的资源内网ip IsArrears bool // 资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离装填 IsBlocked bool // 资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态 IsEipDirectConnection bool // eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式 AddressType string // eip资源类型,包括"CalcIP","WanIP","EIP","AnycastEIP"。其中"CalcIP"表示设备ip,“WanIP”表示普通公网ip,“EIP”表示弹性公网ip,“AnycastEip”表示加速EIP CascadeRelease bool // eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放 Bandwidth int InternetChargeType string // contains filtered or unexported fields }
func (*SEipAddress) Associate ¶
func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
func (*SEipAddress) ChangeBandwidth ¶
func (self *SEipAddress) ChangeBandwidth(bw int) error
func (*SEipAddress) Delete ¶
func (self *SEipAddress) Delete() error
func (*SEipAddress) Dissociate ¶
func (self *SEipAddress) Dissociate() error
func (*SEipAddress) GetAssociationExternalId ¶
func (self *SEipAddress) GetAssociationExternalId() string
func (*SEipAddress) GetAssociationType ¶
func (self *SEipAddress) GetAssociationType() string
func (*SEipAddress) GetBandwidth ¶
func (self *SEipAddress) GetBandwidth() int
func (*SEipAddress) GetBillingType ¶
func (self *SEipAddress) GetBillingType() string
func (*SEipAddress) GetCreatedAt ¶
func (self *SEipAddress) GetCreatedAt() time.Time
func (*SEipAddress) GetExpiredAt ¶
func (self *SEipAddress) GetExpiredAt() time.Time
func (*SEipAddress) GetGlobalId ¶
func (self *SEipAddress) GetGlobalId() string
func (*SEipAddress) GetINetworkId ¶
func (self *SEipAddress) GetINetworkId() string
func (*SEipAddress) GetId ¶
func (self *SEipAddress) GetId() string
func (*SEipAddress) GetInternetChargeType ¶
func (self *SEipAddress) GetInternetChargeType() string
func (*SEipAddress) GetIpAddr ¶
func (self *SEipAddress) GetIpAddr() string
func (*SEipAddress) GetMode ¶
func (self *SEipAddress) GetMode() string
func (*SEipAddress) GetName ¶
func (self *SEipAddress) GetName() string
func (*SEipAddress) GetProjectId ¶
func (self *SEipAddress) GetProjectId() string
func (*SEipAddress) GetStatus ¶
func (self *SEipAddress) GetStatus() string
func (*SEipAddress) IsEmulated ¶
func (self *SEipAddress) IsEmulated() bool
func (*SEipAddress) Refresh ¶
func (self *SEipAddress) Refresh() error
type SElasticSearch ¶
type SElasticSearch struct { multicloud.SVirtualResourceBase multicloud.SBillingBase QcloudTags InstanceId string InstanceName string Region string Zone string AppId int Uin string VpcUid string SubnetUid string Status int ChargeType string ChargePeriod int RenewFlag string NodeType string NodeNum int CpuNum int MemSize int DiskType string DiskSize int EsDomain string EsVip string EsPort int KibanaUrl string EsVersion string EsConfig string EsAcl struct { BlackIpList []string WhiteIpList []string } CreateTime time.Time UpdateTime time.Time Deadline string InstanceType int IkConfig struct { MainDict []struct { Key string Name string Size int } Stopwords []struct { Key string Name string Size int } QQDict []struct { Key string Name string Size int } Synonym []struct { Key string Name string Size int } UpdateType string } MasterNodeInfo struct { EnableDedicatedMaster bool MasterNodeType string MasterNodeNum int MasterNodeCpuNum int MasterNodeMemSize int MasterNodeDiskSize int MasterNodeDiskType string } CosBackup struct { IsAutoBackup bool BackupTime string } AllowCosBackup bool LicenseType string EnableHotWarmMode bool WarmNodeType string WarmNodeNum int WarmCpuNum int WarmMemSize int WarmDiskType string WarmDiskSize int NodeInfoList []struct { NodeNum int NodeType string Type string DiskType string DiskSize int LocalDiskInfo struct { LocalDiskType string LocalDiskSize int LocalDiskCount int } DiskCount int DiskEncrypt int } EsPublicUrl string MultiZoneInfo []struct { Zone string SubnetId string } DeployMode int PublicAccess string EsPublicAcl struct { BlackIpList []string WhiteIpList []string } KibanaPrivateUrl string KibanaPublicAccess string KibanaPrivateAccess string SecurityType int SceneType int KibanaConfig string KibanaNodeInfo struct { KibanaNodeType string KibanaNodeNum int KibanaNodeCpuNum int KibanaNodeMemSize int KibanaNodeDiskType string KibanaNodeDiskSize int } // contains filtered or unexported fields }
func (*SElasticSearch) Delete ¶
func (self *SElasticSearch) Delete() error
func (*SElasticSearch) GetAccessInfo ¶
func (self *SElasticSearch) GetAccessInfo() (*cloudprovider.ElasticSearchAccessInfo, error)
func (*SElasticSearch) GetBillingType ¶
func (self *SElasticSearch) GetBillingType() string
func (*SElasticSearch) GetCategory ¶
func (self *SElasticSearch) GetCategory() string
func (*SElasticSearch) GetCreatedAt ¶
func (self *SElasticSearch) GetCreatedAt() time.Time
func (*SElasticSearch) GetDiskSizeGb ¶
func (self *SElasticSearch) GetDiskSizeGb() int
func (*SElasticSearch) GetGlobalId ¶
func (self *SElasticSearch) GetGlobalId() string
func (*SElasticSearch) GetId ¶
func (self *SElasticSearch) GetId() string
func (*SElasticSearch) GetInstanceType ¶
func (self *SElasticSearch) GetInstanceType() string
func (*SElasticSearch) GetName ¶
func (self *SElasticSearch) GetName() string
func (*SElasticSearch) GetNetworkId ¶
func (self *SElasticSearch) GetNetworkId() string
func (*SElasticSearch) GetStatus ¶
func (self *SElasticSearch) GetStatus() string
func (*SElasticSearch) GetStorageType ¶
func (self *SElasticSearch) GetStorageType() string
func (*SElasticSearch) GetVcpuCount ¶
func (self *SElasticSearch) GetVcpuCount() int
func (*SElasticSearch) GetVersion ¶
func (self *SElasticSearch) GetVersion() string
func (*SElasticSearch) GetVmemSizeGb ¶
func (self *SElasticSearch) GetVmemSizeGb() int
func (*SElasticSearch) GetVpcId ¶
func (self *SElasticSearch) GetVpcId() string
func (*SElasticSearch) GetZoneId ¶
func (self *SElasticSearch) GetZoneId() string
func (*SElasticSearch) IsAutoRenew ¶
func (self *SElasticSearch) IsAutoRenew() bool
func (*SElasticSearch) IsMultiAz ¶
func (self *SElasticSearch) IsMultiAz() bool
func (*SElasticSearch) Refresh ¶
func (self *SElasticSearch) Refresh() error
type SElasticcache ¶
type SElasticcache struct { multicloud.SElasticcacheBase QcloudTags ClientLimit int ClientLimitMax int ClientLimitMin int MaintenanceTime *MaintenanceTime `json:"maintenance_time"` NoAuth *bool `json:"no_auth"` NodeSet []NodeSet `json:"NodeSet"` Appid int64 `json:"Appid"` AutoRenewFlag int64 `json:"AutoRenewFlag"` BillingMode int64 `json:"BillingMode"` CloseTime string `json:"CloseTime"` Createtime time.Time `json:"Createtime"` DeadlineTime string `json:"DeadlineTime"` Engine string `json:"Engine"` InstanceID string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceNode []interface{} `json:"InstanceNode"` InstanceTitle string `json:"InstanceTitle"` OfflineTime string `json:"OfflineTime"` Port int `json:"Port"` PriceID int64 `json:"PriceId"` ProductType string `json:"ProductType"` ProjectID int `json:"ProjectId"` RedisReplicasNum int `json:"RedisReplicasNum"` RedisShardNum int64 `json:"RedisShardNum"` RedisShardSize int64 `json:"RedisShardSize"` // MB DiskSize int64 `json:"disk_size"` RegionID int64 `json:"RegionId"` Size int `json:"Size"` SizeUsed int64 `json:"SizeUsed"` SlaveReadWeight int64 `json:"SlaveReadWeight"` Status int `json:"Status"` SubStatus int64 `json:"SubStatus"` SubnetID int64 `json:"SubnetId"` Type int `json:"Type"` UniqSubnetID string `json:"UniqSubnetId"` UniqVpcID string `json:"UniqVpcId"` VpcID int64 `json:"VpcId"` WANIP string `json:"WanIp"` ZoneID int `json:"ZoneId"` // contains filtered or unexported fields }
func (*SElasticcache) AllocatePublicConnection ¶
func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
func (*SElasticcache) ChangeInstanceSpec ¶
func (self *SElasticcache) ChangeInstanceSpec(spec string) error
func (*SElasticcache) CleanupInstance ¶
func (self *SElasticcache) CleanupInstance() error
func (*SElasticcache) CreateAccount ¶
func (self *SElasticcache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) CreateAcl ¶
func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) CreateBackup ¶
func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) Delete ¶
func (self *SElasticcache) Delete() error
func (*SElasticcache) DestroyPostpaidInstance ¶
func (self *SElasticcache) DestroyPostpaidInstance() error
func (*SElasticcache) DestroyPrepaidInstance ¶
func (self *SElasticcache) DestroyPrepaidInstance() error
func (*SElasticcache) FlushInstance ¶
func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SElasticcache) GetArchType ¶
func (self *SElasticcache) GetArchType() string
func (*SElasticcache) GetAuthMode ¶
func (self *SElasticcache) GetAuthMode() string
func (*SElasticcache) GetBillingType ¶
func (self *SElasticcache) GetBillingType() string
func (*SElasticcache) GetCapacityMB ¶
func (self *SElasticcache) GetCapacityMB() int
func (*SElasticcache) GetConnections ¶
func (self *SElasticcache) GetConnections() int
func (*SElasticcache) GetCreatedAt ¶
func (self *SElasticcache) GetCreatedAt() time.Time
func (*SElasticcache) GetEngine ¶
func (self *SElasticcache) GetEngine() string
func (*SElasticcache) GetEngineVersion ¶
func (self *SElasticcache) GetEngineVersion() string
func (*SElasticcache) GetExpiredAt ¶
func (self *SElasticcache) GetExpiredAt() time.Time
func (*SElasticcache) GetGlobalId ¶
func (self *SElasticcache) GetGlobalId() string
func (*SElasticcache) GetICloudElasticcacheAccount ¶
func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) GetICloudElasticcacheAccounts ¶
func (self *SElasticcache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) GetICloudElasticcacheAcl ¶
func (self *SElasticcache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) GetICloudElasticcacheAcls ¶
func (self *SElasticcache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) GetICloudElasticcacheBackup ¶
func (self *SElasticcache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) GetICloudElasticcacheBackupByReadmark ¶
func (self *SElasticcache) GetICloudElasticcacheBackupByReadmark(readmark string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) GetICloudElasticcacheBackups ¶
func (self *SElasticcache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) GetICloudElasticcacheParameters ¶
func (self *SElasticcache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SElasticcache) GetId ¶
func (self *SElasticcache) GetId() string
func (*SElasticcache) GetInstanceType ¶
func (self *SElasticcache) GetInstanceType() string
redis:master:s1:r5:m1g:v4.0
实例类型:2 – Redis2.8内存版(标准架构),3 – CKV 3.2内存版(标准架构),4 – CKV 3.2内存版(集群架构) ,6 – Redis4.0内存版(标准架构),7 – Redis4.0内存版(集群架构),
8 – Redis5.0内存版(标准架构),9 – Redis5.0内存版(集群架构)
func (*SElasticcache) GetMaintainEndTime ¶
func (self *SElasticcache) GetMaintainEndTime() string
func (*SElasticcache) GetMaintainStartTime ¶
func (self *SElasticcache) GetMaintainStartTime() string
func (*SElasticcache) GetName ¶
func (self *SElasticcache) GetName() string
func (*SElasticcache) GetNetworkId ¶
func (self *SElasticcache) GetNetworkId() string
func (*SElasticcache) GetNetworkType ¶
func (self *SElasticcache) GetNetworkType() string
func (*SElasticcache) GetNodeType ¶
func (self *SElasticcache) GetNodeType() string
func (*SElasticcache) GetPrivateConnectPort ¶
func (self *SElasticcache) GetPrivateConnectPort() int
func (*SElasticcache) GetPrivateDNS ¶
func (self *SElasticcache) GetPrivateDNS() string
func (*SElasticcache) GetPrivateIpAddr ¶
func (self *SElasticcache) GetPrivateIpAddr() string
func (*SElasticcache) GetProjectId ¶
func (self *SElasticcache) GetProjectId() string
func (*SElasticcache) GetPublicConnectPort ¶
func (self *SElasticcache) GetPublicConnectPort() int
func (*SElasticcache) GetPublicDNS ¶
func (self *SElasticcache) GetPublicDNS() string
func (*SElasticcache) GetPublicIpAddr ¶
func (self *SElasticcache) GetPublicIpAddr() string
func (*SElasticcache) GetSecurityGroupIds ¶
func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
func (*SElasticcache) GetStatus ¶
func (self *SElasticcache) GetStatus() string
https://cloud.tencent.com/document/api/239/20022#InstanceSet 实例当前状态,0:待初始化;1:实例在流程中;2:实例运行中;-2:实例已隔离;-3:实例待删除
func (*SElasticcache) GetVpcId ¶
func (self *SElasticcache) GetVpcId() string
func (*SElasticcache) GetZoneId ¶
func (self *SElasticcache) GetZoneId() string
func (*SElasticcache) IsAutoRenew ¶
func (self *SElasticcache) IsAutoRenew() bool
func (*SElasticcache) IsEmulated ¶
func (self *SElasticcache) IsEmulated() bool
func (*SElasticcache) Refresh ¶
func (self *SElasticcache) Refresh() error
func (*SElasticcache) ReleasePublicConnection ¶
func (self *SElasticcache) ReleasePublicConnection() error
func (*SElasticcache) Renew ¶
func (self *SElasticcache) Renew(bc billing.SBillingCycle) error
func (*SElasticcache) Restart ¶
func (self *SElasticcache) Restart() error
func (*SElasticcache) SetAutoRenew ¶
func (self *SElasticcache) SetAutoRenew(bc billing.SBillingCycle) error
func (*SElasticcache) SetMaintainTime ¶
func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
func (*SElasticcache) SetTags ¶
func (self *SElasticcache) SetTags(tags map[string]string, replace bool) error
func (*SElasticcache) UpdateAuthMode ¶
func (self *SElasticcache) UpdateAuthMode(noPasswordAccess bool, password string) error
https://cloud.tencent.com/document/product/239/38923 https://cloud.tencent.com/document/product/239/20014 true表示将主账号切换为免密账号,这里只适用于主账号,子账号不可免密
func (*SElasticcache) UpdateBackupPolicy ¶
func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SElasticcache) UpdateInstanceParameters ¶
func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
https://cloud.tencent.com/document/product/239/34445 todo: finish me
func (*SElasticcache) UpdateSecurityGroups ¶
func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
type SElasticcacheAccount ¶
type SElasticcacheAccount struct { multicloud.SElasticcacheAccountBase QcloudTags InstanceID string `json:"InstanceId"` AccountName string `json:"AccountName"` Remark string `json:"Remark"` Privilege string `json:"Privilege"` ReadonlyPolicy []string `json:"ReadonlyPolicy"` Status int `json:"Status"` IsEmulate bool `json:"is_emulate"` // contains filtered or unexported fields }
func (*SElasticcacheAccount) Delete ¶
func (self *SElasticcacheAccount) Delete() error
func (*SElasticcacheAccount) GetAccountPrivilege ¶
func (self *SElasticcacheAccount) GetAccountPrivilege() string
func (*SElasticcacheAccount) GetAccountType ¶
func (self *SElasticcacheAccount) GetAccountType() string
func (*SElasticcacheAccount) GetGlobalId ¶
func (self *SElasticcacheAccount) GetGlobalId() string
func (*SElasticcacheAccount) GetId ¶
func (self *SElasticcacheAccount) GetId() string
func (*SElasticcacheAccount) GetName ¶
func (self *SElasticcacheAccount) GetName() string
func (*SElasticcacheAccount) GetStatus ¶
func (self *SElasticcacheAccount) GetStatus() string
func (*SElasticcacheAccount) IsEmulated ¶
func (self *SElasticcacheAccount) IsEmulated() bool
func (*SElasticcacheAccount) Refresh ¶
func (self *SElasticcacheAccount) Refresh() error
func (*SElasticcacheAccount) ResetPassword ¶
func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
func (*SElasticcacheAccount) UpdateAccount ¶
func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
type SElasticcacheBackup ¶
type SElasticcacheBackup struct { multicloud.SElasticcacheBackupBase QcloudTags StartTime time.Time `json:"StartTime"` BackupID string `json:"BackupId"` BackupType string `json:"BackupType"` Status int `json:"Status"` Remark string `json:"Remark"` Locked int64 `json:"Locked"` // contains filtered or unexported fields }
func (*SElasticcacheBackup) Delete ¶
func (self *SElasticcacheBackup) Delete() error
func (*SElasticcacheBackup) GetBackupDownloadURL ¶
func (self *SElasticcacheBackup) GetBackupDownloadURL() (string, error)
func (*SElasticcacheBackup) GetBackupMode ¶
func (self *SElasticcacheBackup) GetBackupMode() string
func (*SElasticcacheBackup) GetBackupSizeMb ¶
func (self *SElasticcacheBackup) GetBackupSizeMb() int
func (*SElasticcacheBackup) GetBackupType ¶
func (self *SElasticcacheBackup) GetBackupType() string
func (*SElasticcacheBackup) GetDownloadURL ¶
func (self *SElasticcacheBackup) GetDownloadURL() string
func (*SElasticcacheBackup) GetEndTime ¶
func (self *SElasticcacheBackup) GetEndTime() time.Time
func (*SElasticcacheBackup) GetGlobalId ¶
func (self *SElasticcacheBackup) GetGlobalId() string
func (*SElasticcacheBackup) GetId ¶
func (self *SElasticcacheBackup) GetId() string
func (*SElasticcacheBackup) GetName ¶
func (self *SElasticcacheBackup) GetName() string
func (*SElasticcacheBackup) GetStartTime ¶
func (self *SElasticcacheBackup) GetStartTime() time.Time
func (*SElasticcacheBackup) GetStatus ¶
func (self *SElasticcacheBackup) GetStatus() string
ELASTIC_CACHE_BACKUP_STATUS_CREATING = "creating" // 备份中 ELASTIC_CACHE_BACKUP_STATUS_CREATE_EXPIRED = "expired" //(备份文件已过期) ELASTIC_CACHE_BACKUP_STATUS_CREATE_DELETED = "deleted" //(备份文件已删除) ELASTIC_CACHE_BACKUP_STATUS_DELETING = "deleting" // 删除中 ELASTIC_CACHE_BACKUP_STATUS_SUCCESS = "success" // 备份成功 ELASTIC_CACHE_BACKUP_STATUS_FAILED = "failed" // 备份失败
func (*SElasticcacheBackup) Refresh ¶
func (self *SElasticcacheBackup) Refresh() error
func (*SElasticcacheBackup) RestoreInstance ¶
func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error
https://cloud.tencent.com/document/product/239/34435 todo: password
type SElasticcacheDeal ¶
type SElasticcacheDeal struct { DealID string `json:"DealId"` DealName string `json:"DealName"` ZoneID int64 `json:"ZoneId"` GoodsNum int64 `json:"GoodsNum"` Creater string `json:"Creater"` CreatTime string `json:"CreatTime"` OverdueTime string `json:"OverdueTime"` EndTime string `json:"EndTime"` Status int64 `json:"Status"` Description string `json:"Description"` Price int64 `json:"Price"` InstanceIDS []string `json:"InstanceIds"` // contains filtered or unexported fields }
type SElasticcacheParameter ¶
type SElasticcacheParameter struct { multicloud.SElasticcacheParameterBase QcloudTags CurrentValue string `json:"CurrentValue"` DefaultValue string `json:"DefaultValue"` EnumValue []string `json:"EnumValue,omitempty"` NeedRestart string `json:"NeedRestart"` ParamName string `json:"ParamName"` Tips string `json:"Tips"` ValueType string `json:"ValueType"` Max *string `json:"Max,omitempty"` Min *string `json:"Min,omitempty"` TextValue []string `json:"TextValue,omitempty"` // contains filtered or unexported fields }
func (*SElasticcacheParameter) GetDescription ¶
func (self *SElasticcacheParameter) GetDescription() string
func (*SElasticcacheParameter) GetForceRestart ¶
func (self *SElasticcacheParameter) GetForceRestart() bool
func (*SElasticcacheParameter) GetGlobalId ¶
func (self *SElasticcacheParameter) GetGlobalId() string
func (*SElasticcacheParameter) GetId ¶
func (self *SElasticcacheParameter) GetId() string
func (*SElasticcacheParameter) GetModifiable ¶
func (self *SElasticcacheParameter) GetModifiable() bool
func (*SElasticcacheParameter) GetName ¶
func (self *SElasticcacheParameter) GetName() string
func (*SElasticcacheParameter) GetParameterKey ¶
func (self *SElasticcacheParameter) GetParameterKey() string
func (*SElasticcacheParameter) GetParameterValue ¶
func (self *SElasticcacheParameter) GetParameterValue() string
func (*SElasticcacheParameter) GetParameterValueRange ¶
func (self *SElasticcacheParameter) GetParameterValueRange() string
func (*SElasticcacheParameter) GetStatus ¶
func (self *SElasticcacheParameter) GetStatus() string
type SElasticcacheParameters ¶
type SElasticcacheParameters struct { multicloud.SElasticcacheParameterBase QcloudTags InstanceEnumParam []SElasticcacheParameter `json:"InstanceEnumParam"` InstanceIntegerParam []SElasticcacheParameter `json:"InstanceIntegerParam"` InstanceTextParam []SElasticcacheParameter `json:"InstanceTextParam"` RequestID string `json:"RequestId"` TotalCount int64 `json:"TotalCount"` // contains filtered or unexported fields }
type SElasticcacheSecgroup ¶
type SElasticcacheSecgroup struct { multicloud.SElasticcacheBackupBase CreateTime string `json:"CreateTime"` InboundRule []BoundRule `json:"InboundRule"` OutboundRule []BoundRule `json:"OutboundRule"` ProjectID int64 `json:"ProjectId"` SecurityGroupID string `json:"SecurityGroupId"` SecurityGroupName string `json:"SecurityGroupName"` SecurityGroupRemark string `json:"SecurityGroupRemark"` // contains filtered or unexported fields }
type SElasticcacheTask ¶
type SEvent ¶
type SEvent struct { AccountID int64 CloudAuditEvent string ErrorCode int EventId string EventName string EventNameCn string EventRegion string EventSource string EventTime int64 RequestID string ResourceRegion string ResourceTypeCn string Resources map[string]string SecretId string SourceIPAddress string Username string // contains filtered or unexported fields }
func (*SEvent) GetAccount ¶
func (*SEvent) GetCreatedAt ¶
func (*SEvent) GetRequest ¶
func (event *SEvent) GetRequest() jsonutils.JSONObject
func (*SEvent) GetRequestId ¶
func (*SEvent) GetResourceType ¶
func (*SEvent) GetService ¶
type SExternal ¶
type SExternal struct { ReleaseAddress string UnsupportNetworks []string StorageBlockAttr SStorageBlockAttr }
type SFetchTagResponse ¶
type SFetchTagResponse struct { SListInfo Tags []SFetchTagRow `json:"Tags"` }
type SFetchTagRow ¶
type SGroup ¶
type SGroup struct { GroupId int GroupName string CreateTime time.Time // contains filtered or unexported fields }
func (*SGroup) AttachCustomPolicy ¶
func (*SGroup) AttachSystemPolicy ¶
func (*SGroup) DetachCustomPolicy ¶
func (*SGroup) DetachSystemPolicy ¶
func (*SGroup) GetDescription ¶
func (*SGroup) GetGlobalId ¶
func (*SGroup) GetICloudusers ¶
func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SGroup) GetICustomCloudpolicies ¶
func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) GetISystemCloudpolicies ¶
func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) ListGroupPolicies ¶
func (*SGroup) RemoveUser ¶
type SHost ¶
type SHost struct { multicloud.SHostBase // contains filtered or unexported fields }
func (*SHost) CreateVM ¶
func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
func (*SHost) GetAccessIp ¶
func (*SHost) GetAccessMac ¶
func (*SHost) GetCpuCount ¶
func (*SHost) GetCpuDesc ¶
func (*SHost) GetEnabled ¶
func (*SHost) GetGlobalId ¶
func (*SHost) GetHostStatus ¶
func (*SHost) GetHostType ¶
func (*SHost) GetIHostNics ¶
func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
func (*SHost) GetIWires ¶
func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SHost) GetInstanceById ¶
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
type SImage ¶
type SImage struct { multicloud.SImageBase QcloudTags ImageId string // 镜像ID OsName string // 镜像操作系统 ImageType string // 镜像类型 CreatedTime time.Time // 镜像创建时间 ImageName string // 镜像名称 ImageDescription string // 镜像描述 ImageSize int // 镜像大小 Architecture string // 镜像架构 ImageState ImageStatusType // 镜像状态 Platform string // 镜像来源平台 ImageCreator string // 镜像创建者 ImageSource string // 镜像来源 SyncPercent int // 同步百分比 IsSupportCloudinit bool // 镜像是否支持cloud-init // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (img *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (self *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
func (*SImage) IsEmulated ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase QcloudTags Placement Placement InstanceId string InstanceType string CPU int Memory int RestrictState string //NORMAL EXPIRED PROTECTIVELY_ISOLATED InstanceName string InstanceChargeType InstanceChargeType //PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。 SystemDisk SystemDisk //实例系统盘信息。 DataDisks []DataDisk //实例数据盘信息。只包含随实例购买的数据盘。 PrivateIpAddresses []string //实例主网卡的内网IP列表。 PublicIpAddresses []string //实例主网卡的公网IP列表。 InternetAccessible InternetAccessible //实例带宽信息。 VirtualPrivateCloud VirtualPrivateCloud //实例所属虚拟私有网络信息。 ImageId string // 生产实例所使用的镜像ID。 RenewFlag string // 自动续费标识。取值范围:NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。 CreatedTime time.Time // 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 ExpiredTime time.Time // 到期时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 OsName string // 操作系统名称。 SecurityGroupIds []string // 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。 LoginSettings LoginSettings //实例登录设置。目前只返回实例所关联的密钥。 InstanceState string // 实例状态。取值范围:PENDING:表示创建中 LAUNCH_FAILED:表示创建失败 RUNNING:表示运行中 STOPPED:表示关机 STARTING:表示开机中 STOPPING:表示关机中 REBOOTING:表示重启中 SHUTDOWN:表示停止待销毁 TERMINATING:表示销毁中。 Tags []Tag // contains filtered or unexported fields }
func (*SInstance) AssignSecurityGroup ¶
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) ConvertPublicIpToEip ¶
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (ins *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (ins *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
func (*SInstance) IsAutoRenew ¶
func (*SInstance) IsEmulated ¶
func (*SInstance) RebuildRoot ¶
func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
func (*SInstance) SaveImage ¶
func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
func (*SInstance) SetAutoRenew ¶
func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
func (*SInstance) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
type SInstanceNic ¶
type SInstanceNic struct { cloudprovider.DummyICloudNic // contains filtered or unexported fields }
func (*SInstanceNic) GetDriver ¶
func (self *SInstanceNic) GetDriver() string
func (*SInstanceNic) GetINetworkId ¶
func (self *SInstanceNic) GetINetworkId() string
func (*SInstanceNic) GetIP ¶
func (self *SInstanceNic) GetIP() string
func (*SInstanceNic) GetId ¶
func (self *SInstanceNic) GetId() string
func (*SInstanceNic) GetMAC ¶
func (self *SInstanceNic) GetMAC() string
func (*SInstanceNic) InClassicNetwork ¶
func (self *SInstanceNic) InClassicNetwork() bool
type SInstanceSpec ¶
type SInstanceSpecs ¶
type SInstanceSpecs struct { Machine string SpecInfos []SInstanceSpec }
type SInstanceType ¶
type SInstanceType struct { Zone string // 可用区。 InstanceType string // 实例机型。 InstanceFamily string // 实例机型系列。 GPU int // GPU核数,单位:核。 CPU int // CPU核数,单位:核。 Memory int // 内存容量,单位:GB。 CbsSupport string // 是否支持云硬盘。取值范围:TRUE:表示支持云硬盘;FALSE:表示不支持云硬盘。 InstanceTypeState string // 机型状态。取值范围:AVAILABLE:表示机型可用;UNAVAILABLE:表示机型不可用。 }
type SK8SDataPoint ¶
type SK8sPoint ¶
type SK8sPoint struct { Dimensions []SQcMetricDimension `json:"Dimensions"` Values []SK8sPointValue `json:"Values"` }
type SK8sPointValue ¶
type SKafka ¶
type SKafka struct { multicloud.SVirtualResourceBase multicloud.SBillingBase QcloudTags InstanceId string InstanceName string Vip string Vport string VipList []struct { Vip string Vport string } Status int Bandwidth int DiskSize int ZoneId int VpcId string SubnetId string RenewFlag int Healthy int HealthyMessage string CreateTime int ExpireTime int IsInternal int TopicNum int Version string ZoneIds []int Cvm int InstanceType string DiskType string MaxTopicNumber int MaxPartitionNubmer int RebalanceTime string MsgRetentionTime int // contains filtered or unexported fields }
func (*SKafka) GetBandwidthMb ¶
func (*SKafka) GetBillingType ¶
func (*SKafka) GetCreatedAt ¶
func (*SKafka) GetDiskSizeGb ¶
func (*SKafka) GetEndpoint ¶
func (*SKafka) GetExpiredAt ¶
func (*SKafka) GetGlobalId ¶
func (*SKafka) GetInstanceType ¶
func (*SKafka) GetMsgRetentionMinute ¶
func (*SKafka) GetNetworkId ¶
func (*SKafka) GetStorageType ¶
func (*SKafka) GetTopics ¶
func (self *SKafka) GetTopics() ([]cloudprovider.SKafkaTopic, error)
func (*SKafka) GetVersion ¶
func (*SKafka) IsAutoRenew ¶
type SKubeCluster ¶
type SKubeCluster struct { multicloud.SResourceBase QcloudTags ClusterId string ClusterName string ClusterDescription string ClusterVersion string ClusterOs string ClusterType string ClusterNetworkSettings struct { } ClusterNodeNum int ProjectId string TagSpecification []struct { } ClusterStatus string Property string ClusterMaterNodeNum int ImageId string OsCustomizeType string ContainerRuntime string CreatedTime string DeletionProtection bool EnableExternalNode bool // contains filtered or unexported fields }
func (*SKubeCluster) Delete ¶
func (self *SKubeCluster) Delete(isRetain bool) error
func (*SKubeCluster) GetEnabled ¶
func (self *SKubeCluster) GetEnabled() bool
func (*SKubeCluster) GetGlobalId ¶
func (self *SKubeCluster) GetGlobalId() string
func (*SKubeCluster) GetIKubeNodePools ¶
func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
func (*SKubeCluster) GetIKubeNodes ¶
func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
func (*SKubeCluster) GetId ¶
func (self *SKubeCluster) GetId() string
func (*SKubeCluster) GetKubeConfig ¶
func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)
func (*SKubeCluster) GetName ¶
func (self *SKubeCluster) GetName() string
func (*SKubeCluster) GetStatus ¶
func (self *SKubeCluster) GetStatus() string
func (*SKubeCluster) Refresh ¶
func (self *SKubeCluster) Refresh() error
type SKubeNode ¶
type SKubeNode struct { multicloud.SResourceBase QcloudTags InstanceId string InstanceRole string FailedReason string InstanceState string DrainStatus string InstanceAdvancedSettings struct { MountTarget string DockerGraphPath string UserScript string Unschedulable int DesiredPodNumber int PreStartUserScript string Labels []struct { Name string Value string } DataDisks []struct { DiskType string FileSystem string DiskSize int AutoFormatAndMount bool MountTarget string DiskPartition string } ExtraArgs struct { Kubelet []string } } CreatedTime string LanIP string NodePoolId string AutoscalingGroupId string // contains filtered or unexported fields }
func (*SKubeNode) GetGlobalId ¶
func (*SKubeNode) GetINodePoolId ¶
type SKubeNodePool ¶
type SKubeNodePool struct { multicloud.SResourceBase QcloudTags NodePoolId string Name string ClusterInstanceId string LifeState string LaunchConfigurationId string AutoscalingGroupId string Labels []struct { Name string Value string } Taints []struct { Kye string Value string Effect string } NodeCountSummary struct { ManuallyAdded struct { Joining int Initializing int Normal int Total int } AutoscalingAdded struct { Joining int Initializing int Normal int Total int } } AutoscalingGroupStatus string MaxNodesNum int MinNodesNum int DesiredNodesNum int NodePoolOs string OsCustomizeType string ImageId string DesiredPodNum int UserScript string // contains filtered or unexported fields }
func (*SKubeNodePool) GetGlobalId ¶
func (self *SKubeNodePool) GetGlobalId() string
func (*SKubeNodePool) GetId ¶
func (self *SKubeNodePool) GetId() string
func (*SKubeNodePool) GetName ¶
func (self *SKubeNodePool) GetName() string
func (*SKubeNodePool) GetStatus ¶
func (self *SKubeNodePool) GetStatus() string
type SLBACL ¶
type SLBACL struct { multicloud.SResourceBase QcloudTags }
腾讯云没有LB ACL
func (*SLBACL) GetAclEntries ¶
func (*SLBACL) GetAclListenerID ¶
func (*SLBACL) GetGlobalId ¶
func (*SLBACL) GetProjectId ¶
func (*SLBACL) IsEmulated ¶
func (*SLBACL) Sync ¶
func (self *SLBACL) Sync(acl *cloudprovider.SLoadbalancerAccessControlList) error
type SLBBackend ¶
type SLBBackend struct { multicloud.SResourceBase QcloudTags PublicIPAddresses []string `json:"PublicIpAddresses"` Weight int `json:"Weight"` InstanceID string `json:"InstanceId"` InstanceName string `json:"InstanceName"` PrivateIPAddresses []string `json:"PrivateIpAddresses"` RegisteredTime string `json:"RegisteredTime"` Type string `json:"Type"` Port int `json:"Port"` // contains filtered or unexported fields }
func (*SLBBackend) GetBackendId ¶
func (self *SLBBackend) GetBackendId() string
func (*SLBBackend) GetBackendRole ¶
func (self *SLBBackend) GetBackendRole() string
func (*SLBBackend) GetBackendType ¶
func (self *SLBBackend) GetBackendType() string
func (*SLBBackend) GetGlobalId ¶
func (self *SLBBackend) GetGlobalId() string
func (*SLBBackend) GetId ¶
func (self *SLBBackend) GetId() string
backend InstanceID + protocol +Port + ip + rip全局唯一
func (*SLBBackend) GetIpAddress ¶
func (self *SLBBackend) GetIpAddress() string
func (*SLBBackend) GetName ¶
func (self *SLBBackend) GetName() string
func (*SLBBackend) GetPort ¶
func (self *SLBBackend) GetPort() int
func (*SLBBackend) GetProjectId ¶
func (self *SLBBackend) GetProjectId() string
func (*SLBBackend) GetStatus ¶
func (self *SLBBackend) GetStatus() string
func (*SLBBackend) GetWeight ¶
func (self *SLBBackend) GetWeight() int
func (*SLBBackend) IsEmulated ¶
func (self *SLBBackend) IsEmulated() bool
func (*SLBBackend) Refresh ¶
func (self *SLBBackend) Refresh() error
type SLBBackendGroup ¶
type SLBBackendGroup struct { multicloud.SResourceBase QcloudTags // contains filtered or unexported fields }
func (*SLBBackendGroup) AddBackendServer ¶
func (self *SLBBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
https://cloud.tencent.com/document/product/214/30676 https://cloud.tencent.com/document/product/214/31789
func (*SLBBackendGroup) Delete ¶
func (self *SLBBackendGroup) Delete(ctx context.Context) error
腾讯云无后端服务器组。
func (*SLBBackendGroup) GetBackends ¶
func (self *SLBBackendGroup) GetBackends() ([]SLBBackend, error)
func (*SLBBackendGroup) GetGlobalId ¶
func (self *SLBBackendGroup) GetGlobalId() string
func (*SLBBackendGroup) GetHealthCheck ¶
func (self *SLBBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLBBackendGroup) GetILoadbalancer ¶
func (self *SLBBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
func (*SLBBackendGroup) GetILoadbalancerBackendById ¶
func (self *SLBBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLBBackendGroup) GetILoadbalancerBackends ¶
func (self *SLBBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLBBackendGroup) GetId ¶
func (self *SLBBackendGroup) GetId() string
func (*SLBBackendGroup) GetListenerId ¶
func (self *SLBBackendGroup) GetListenerId() string
func (*SLBBackendGroup) GetLoadbalancerId ¶
func (self *SLBBackendGroup) GetLoadbalancerId() string
func (*SLBBackendGroup) GetName ¶
func (self *SLBBackendGroup) GetName() string
func (*SLBBackendGroup) GetProjectId ¶
func (self *SLBBackendGroup) GetProjectId() string
func (*SLBBackendGroup) GetProtocolType ¶
func (self *SLBBackendGroup) GetProtocolType() string
func (*SLBBackendGroup) GetScheduler ¶
func (self *SLBBackendGroup) GetScheduler() string
func (*SLBBackendGroup) GetStatus ¶
func (self *SLBBackendGroup) GetStatus() string
func (*SLBBackendGroup) GetStickySession ¶
func (self *SLBBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLBBackendGroup) GetType ¶
func (self *SLBBackendGroup) GetType() string
func (*SLBBackendGroup) IsDefault ¶
func (self *SLBBackendGroup) IsDefault() bool
func (*SLBBackendGroup) IsEmulated ¶
func (self *SLBBackendGroup) IsEmulated() bool
note: model没有更新这个字段?
func (*SLBBackendGroup) Refresh ¶
func (self *SLBBackendGroup) Refresh() error
func (*SLBBackendGroup) RemoveBackendServer ¶
func (self *SLBBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
https://cloud.tencent.com/document/product/214/30687 https://cloud.tencent.com/document/product/214/31794
func (*SLBBackendGroup) Sync ¶
func (self *SLBBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
腾讯云无后端服务器组
func (*SLBBackendGroup) UpdateBackendServer ¶
func (self *SLBBackendGroup) UpdateBackendServer(serverId string, oldWeight, oldPort, weight, newPort int) error
type SLBClassicListener ¶
type SLBClassicListener struct { InstancePort int64 `json:"InstancePort"` CERTCAID string `json:"CertCaId"` Status int64 `json:"Status"` CERTID string `json:"CertId"` Protocol string `json:"Protocol"` TimeOut int `json:"TimeOut"` HTTPHash string `json:"HttpHash"` // 公网固定IP型的 HTTP、HTTPS 协议监听器的轮询方法。wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发 UnhealthNum int `json:"UnhealthNum"` IntervalTime int `json:"IntervalTime"` ListenerID string `json:"ListenerId"` ListenerPort int `json:"ListenerPort"` HTTPCheckPath string `json:"HttpCheckPath"` HealthNum int `json:"HealthNum"` ListenerName string `json:"ListenerName"` HealthSwitch int `json:"HealthSwitch"` SSLMode string `json:"SSLMode"` SessionExpire int `json:"SessionExpire"` HTTPCode int `json:"HttpCode"` }
https://cloud.tencent.com/document/api/214/30694#ClassicalListener
func (*SLBClassicListener) ToLBListener ¶
func (self *SLBClassicListener) ToLBListener() SLBListener
type SLBListener ¶
type SLBListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase QcloudTags Protocol string `json:"Protocol"` // 监听器协议类型,取值 TCP | UDP | HTTP | HTTPS | TCP_SSL Certificate certificate `json:"Certificate"` SniSwitch int64 `json:"SniSwitch"` // 是否开启SNI特性(本参数仅对于HTTPS监听器有意义) HealthCheck healthCheck `json:"HealthCheck"` // 仅适用于TCP/UDP/TCP_SSL监听器 ListenerID string `json:"ListenerId"` ListenerName string `json:"ListenerName"` Rules []SLBListenerRule `json:"Rules"` // 监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义) Scheduler string `json:"Scheduler"` SessionExpireTime int `json:"SessionExpireTime"` // 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。 Port int `json:"Port"` ClassicListener bool // 这个字段是在qcloud返回字段基础上,额外增加的字段。用于区分listener 是否是classic。 // contains filtered or unexported fields }
func (*SLBListener) CreateILoadBalancerListenerRule ¶
func (self *SLBListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLBListener) GetAclId ¶
func (self *SLBListener) GetAclId() string
func (*SLBListener) GetAclStatus ¶
func (self *SLBListener) GetAclStatus() string
func (*SLBListener) GetAclType ¶
func (self *SLBListener) GetAclType() string
func (*SLBListener) GetBackendConnectTimeout ¶
func (self *SLBListener) GetBackendConnectTimeout() int
func (*SLBListener) GetBackendGroup ¶
func (self *SLBListener) GetBackendGroup() *SLBBackendGroup
func (*SLBListener) GetBackendGroupId ¶
func (self *SLBListener) GetBackendGroupId() string
func (*SLBListener) GetBackendServerPort ¶
func (self *SLBListener) GetBackendServerPort() int
腾讯云后端端口不是与listener绑定的
func (*SLBListener) GetCertificateId ¶
func (self *SLBListener) GetCertificateId() string
func (*SLBListener) GetClientIdleTimeout ¶
func (self *SLBListener) GetClientIdleTimeout() int
func (*SLBListener) GetEgressMbps ¶
func (self *SLBListener) GetEgressMbps() int
func (*SLBListener) GetGlobalId ¶
func (self *SLBListener) GetGlobalId() string
func (*SLBListener) GetHealthCheck ¶
func (self *SLBListener) GetHealthCheck() string
func (*SLBListener) GetHealthCheckCode ¶
func (self *SLBListener) GetHealthCheckCode() string
func (*SLBListener) GetHealthCheckDomain ¶
func (self *SLBListener) GetHealthCheckDomain() string
func (*SLBListener) GetHealthCheckExp ¶
func (self *SLBListener) GetHealthCheckExp() string
func (*SLBListener) GetHealthCheckFail ¶
func (self *SLBListener) GetHealthCheckFail() int
func (*SLBListener) GetHealthCheckInterval ¶
func (self *SLBListener) GetHealthCheckInterval() int
func (*SLBListener) GetHealthCheckReq ¶
func (self *SLBListener) GetHealthCheckReq() string
func (*SLBListener) GetHealthCheckRise ¶
func (self *SLBListener) GetHealthCheckRise() int
func (*SLBListener) GetHealthCheckTimeout ¶
func (self *SLBListener) GetHealthCheckTimeout() int
func (*SLBListener) GetHealthCheckType ¶
func (self *SLBListener) GetHealthCheckType() string
func (*SLBListener) GetHealthCheckURI ¶
func (self *SLBListener) GetHealthCheckURI() string
func (*SLBListener) GetILoadBalancerListenerRuleById ¶
func (self *SLBListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLBListener) GetILoadbalancerListenerRules ¶
func (self *SLBListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
仅http、https类型监听包含rules
func (*SLBListener) GetId ¶
func (self *SLBListener) GetId() string
func (*SLBListener) GetListenerPort ¶
func (self *SLBListener) GetListenerPort() int
func (*SLBListener) GetListenerType ¶
func (self *SLBListener) GetListenerType() string
func (*SLBListener) GetName ¶
func (self *SLBListener) GetName() string
func (*SLBListener) GetProjectId ¶
func (self *SLBListener) GetProjectId() string
func (*SLBListener) GetScheduler ¶
func (self *SLBListener) GetScheduler() string
func (*SLBListener) GetStickySession ¶
func (self *SLBListener) GetStickySession() string
func (*SLBListener) GetStickySessionCookie ¶
func (self *SLBListener) GetStickySessionCookie() string
https://cloud.tencent.com/document/product/214/2736 经测试应用型负载均衡返回都是 tgw_l7_route。
func (*SLBListener) GetStickySessionCookieTimeout ¶
func (self *SLBListener) GetStickySessionCookieTimeout() int
func (*SLBListener) GetStickySessionType ¶
func (self *SLBListener) GetStickySessionType() string
支持基于 cookie 插入的会话保持能力 https://cloud.tencent.com/document/product/214/6154
func (*SLBListener) GetTLSCipherPolicy ¶
func (self *SLBListener) GetTLSCipherPolicy() string
func (*SLBListener) GzipEnabled ¶
func (self *SLBListener) GzipEnabled() bool
HTTP/HTTPS协议默认支持用户开启gzip压缩功能 负载均衡开启Gzip配置及检测方法说明 https://cloud.tencent.com/document/product/214/5404
func (*SLBListener) HTTP2Enabled ¶
func (self *SLBListener) HTTP2Enabled() bool
负载均衡能力说明 https://cloud.tencent.com/document/product/214/6534
func (*SLBListener) IsEmulated ¶
func (self *SLBListener) IsEmulated() bool
func (*SLBListener) Refresh ¶
func (self *SLBListener) Refresh() error
func (*SLBListener) Start ¶
func (self *SLBListener) Start() error
func (*SLBListener) Stop ¶
func (self *SLBListener) Stop() error
func (*SLBListener) Sync ¶
func (self *SLBListener) Sync(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) error
func (*SLBListener) XForwardedForEnabled ¶
func (self *SLBListener) XForwardedForEnabled() bool
7层负载均衡系统提供 X-Forwarded-For 的方式获取访问者真实 IP,LB 侧默认开启
https://cloud.tencent.com/document/product/214/6151 七层转发获取来访真实IP的方法 https://cloud.tencent.com/document/product/214/3728
type SLBListenerRule ¶
type SLBListenerRule struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase QcloudTags Domain string `json:"Domain"` Certificate certificate `json:"Certificate"` URL string `json:"Url"` HealthCheck healthCheck `json:"HealthCheck"` LocationID string `json:"LocationId"` Scheduler string `json:"Scheduler"` SessionExpireTime int64 `json:"SessionExpireTime"` // contains filtered or unexported fields }
func (*SLBListenerRule) GetBackendGroup ¶
func (self *SLBListenerRule) GetBackendGroup() *SLBBackendGroup
func (*SLBListenerRule) GetBackendGroupId ¶
func (self *SLBListenerRule) GetBackendGroupId() string
只有http、https协议监听规则有backendgroupid
func (*SLBListenerRule) GetCondition ¶
func (self *SLBListenerRule) GetCondition() string
func (*SLBListenerRule) GetDomain ¶
func (self *SLBListenerRule) GetDomain() string
func (*SLBListenerRule) GetGlobalId ¶
func (self *SLBListenerRule) GetGlobalId() string
func (*SLBListenerRule) GetId ¶
func (self *SLBListenerRule) GetId() string
func (*SLBListenerRule) GetName ¶
func (self *SLBListenerRule) GetName() string
func (*SLBListenerRule) GetPath ¶
func (self *SLBListenerRule) GetPath() string
func (*SLBListenerRule) GetProjectId ¶
func (self *SLBListenerRule) GetProjectId() string
func (*SLBListenerRule) GetStatus ¶
func (self *SLBListenerRule) GetStatus() string
func (*SLBListenerRule) IsDefault ¶
func (self *SLBListenerRule) IsDefault() bool
func (*SLBListenerRule) IsEmulated ¶
func (self *SLBListenerRule) IsEmulated() bool
func (*SLBListenerRule) Refresh ¶
func (self *SLBListenerRule) Refresh() error
type SListenerBackend ¶
type SListenerBackend struct { Rules []rule `json:"Rules"` Targets []SLBBackend `json:"Targets"` Protocol string `json:"Protocol"` ListenerID string `json:"ListenerId"` Port int64 `json:"Port"` }
==========================================================
type SLoadbalancer ¶
type SLoadbalancer struct { multicloud.SLoadbalancerBase QcloudTags Status int64 `json:"Status"` // 0:创建中,1:正常运行 Domain string `json:"Domain"` VpcID string `json:"VpcId"` Log string `json:"Log"` ProjectID int64 `json:"ProjectId"` Snat bool `json:"Snat"` LoadBalancerID string `json:"LoadBalancerId"` LoadBalancerVips []string `json:"LoadBalancerVips"` LoadBalancerType string `json:"LoadBalancerType"` // 负载均衡实例的网络类型: OPEN:公网属性, INTERNAL:内网属性。 LoadBalancerName string `json:"LoadBalancerName"` Forward LB_TYPE `json:"Forward"` // 应用型负载均衡标识,1:应用型负载均衡,0:传统型的负载均衡。 StatusTime time.Time `json:"StatusTime"` OpenBGP int64 `json:"OpenBgp"` // 高防 LB 的标识,1:高防负载均衡 0:非高防负载均衡。 CreateTime time.Time `json:"CreateTime"` Isolation int64 `json:"Isolation"` // 0:表示未被隔离,1:表示被隔离。 SubnetId string `json:"SubnetId"` BackupZoneSet []ZoneSet `json:"BackupZoneSet"` MasterZone ZoneSet `json:"MasterZone"` NetworkAttributes struct { InternetChargeType string InternetMaxBandwidthOut int } // contains filtered or unexported fields }
https://cloud.tencent.com/document/api/214/30694#LoadBalancer
func (*SLoadbalancer) CreateILoadBalancerBackendGroup ¶
func (self *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
腾讯云无后端服务器组 todo: 是否返回一个fake的后端服务器组
func (*SLoadbalancer) CreateILoadBalancerListener ¶
func (self *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
https://cloud.tencent.com/document/product/214/30693 todo: 1.限制比较多必须加参数校验 2.Onecloud 不支持双向证书可能存在兼容性问题 应用型负载均衡 传统型不支持设置SNI
func (*SLoadbalancer) GetAddress ¶
func (self *SLoadbalancer) GetAddress() string
腾讯云当前不支持一个LB绑定多个ip,每个LB只支持绑定一个ip
func (*SLoadbalancer) GetAddressType ¶
func (self *SLoadbalancer) GetAddressType() string
func (*SLoadbalancer) GetChargeType ¶
func (self *SLoadbalancer) GetChargeType() string
func (*SLoadbalancer) GetEgressMbps ¶
func (self *SLoadbalancer) GetEgressMbps() int
func (*SLoadbalancer) GetIEIP ¶
func (self *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroupById ¶
func (self *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroups ¶
func (self *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerListenerById ¶
func (self *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetILoadBalancerListeners ¶
func (self *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetId ¶
func (self *SLoadbalancer) GetId() string
func (*SLoadbalancer) GetLoadbalancerListeners ¶
func (self *SLoadbalancer) GetLoadbalancerListeners(protocal string) ([]SLBListener, error)
func (*SLoadbalancer) GetLoadbalancerSpec ¶
func (self *SLoadbalancer) GetLoadbalancerSpec() string
func (*SLoadbalancer) GetName ¶
func (self *SLoadbalancer) GetName() string
func (*SLoadbalancer) GetNetworkIds ¶
func (self *SLoadbalancer) GetNetworkIds() []string
func (*SLoadbalancer) GetNetworkType ¶
func (self *SLoadbalancer) GetNetworkType() string
func (*SLoadbalancer) GetProjectId ¶
func (self *SLoadbalancer) GetProjectId() string
func (*SLoadbalancer) GetStatus ¶
func (self *SLoadbalancer) GetStatus() string
func (*SLoadbalancer) GetSysTags ¶
func (self *SLoadbalancer) GetSysTags() map[string]string
func (*SLoadbalancer) GetVpcId ¶
func (self *SLoadbalancer) GetVpcId() string
func (*SLoadbalancer) GetZone1Id ¶
func (self *SLoadbalancer) GetZone1Id() string
func (*SLoadbalancer) GetZoneId ¶
func (self *SLoadbalancer) GetZoneId() string
func (*SLoadbalancer) IsEmulated ¶
func (self *SLoadbalancer) IsEmulated() bool
func (*SLoadbalancer) Refresh ¶
func (self *SLoadbalancer) Refresh() error
func (*SLoadbalancer) SetTags ¶
func (self *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
func (*SLoadbalancer) Stop ¶
func (self *SLoadbalancer) Stop() error
type SLocalDisk ¶
type SLocalDisk struct { multicloud.SDisk QcloudTags DiskId string DiskSize float32 DisktType string DiskUsage string // contains filtered or unexported fields }
func (*SLocalDisk) CreateISnapshot ¶
func (self *SLocalDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SLocalDisk) GetAccessPath ¶
func (disk *SLocalDisk) GetAccessPath() string
func (*SLocalDisk) GetBillingType ¶
func (self *SLocalDisk) GetBillingType() string
func (*SLocalDisk) GetCacheMode ¶
func (self *SLocalDisk) GetCacheMode() string
func (*SLocalDisk) GetCreatedAt ¶
func (self *SLocalDisk) GetCreatedAt() time.Time
func (*SLocalDisk) GetDiskFormat ¶
func (self *SLocalDisk) GetDiskFormat() string
func (*SLocalDisk) GetDiskSizeMB ¶
func (self *SLocalDisk) GetDiskSizeMB() int
func (*SLocalDisk) GetDiskType ¶
func (self *SLocalDisk) GetDiskType() string
func (*SLocalDisk) GetDriver ¶
func (self *SLocalDisk) GetDriver() string
func (*SLocalDisk) GetExpiredAt ¶
func (self *SLocalDisk) GetExpiredAt() time.Time
func (*SLocalDisk) GetFsFormat ¶
func (self *SLocalDisk) GetFsFormat() string
func (*SLocalDisk) GetGlobalId ¶
func (self *SLocalDisk) GetGlobalId() string
func (*SLocalDisk) GetISnapshot ¶
func (self *SLocalDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SLocalDisk) GetISnapshots ¶
func (self *SLocalDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SLocalDisk) GetIStorage ¶
func (self *SLocalDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SLocalDisk) GetId ¶
func (self *SLocalDisk) GetId() string
func (*SLocalDisk) GetIsAutoDelete ¶
func (self *SLocalDisk) GetIsAutoDelete() bool
func (*SLocalDisk) GetIsNonPersistent ¶
func (self *SLocalDisk) GetIsNonPersistent() bool
func (*SLocalDisk) GetMountpoint ¶
func (self *SLocalDisk) GetMountpoint() string
func (*SLocalDisk) GetName ¶
func (self *SLocalDisk) GetName() string
func (*SLocalDisk) GetProjectId ¶
func (disk *SLocalDisk) GetProjectId() string
func (*SLocalDisk) GetStatus ¶
func (self *SLocalDisk) GetStatus() string
func (*SLocalDisk) GetSysTags ¶
func (self *SLocalDisk) GetSysTags() map[string]string
func (*SLocalDisk) GetTemplateId ¶
func (self *SLocalDisk) GetTemplateId() string
func (*SLocalDisk) IsEmulated ¶
func (self *SLocalDisk) IsEmulated() bool
func (*SLocalDisk) Refresh ¶
func (self *SLocalDisk) Refresh() error
type SLocalDiskType ¶
type SLocalStorage ¶
type SLocalStorage struct { multicloud.SStorageBase // contains filtered or unexported fields }
func (*SLocalStorage) CreateIDisk ¶
func (self *SLocalStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SLocalStorage) DisableSync ¶
func (self *SLocalStorage) DisableSync() bool
func (*SLocalStorage) GetCapacityMB ¶
func (self *SLocalStorage) GetCapacityMB() int64
func (*SLocalStorage) GetCapacityUsedMB ¶
func (self *SLocalStorage) GetCapacityUsedMB() int64
func (*SLocalStorage) GetEnabled ¶
func (self *SLocalStorage) GetEnabled() bool
func (*SLocalStorage) GetGlobalId ¶
func (self *SLocalStorage) GetGlobalId() string
func (*SLocalStorage) GetIDiskById ¶
func (self *SLocalStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
func (*SLocalStorage) GetIDisks ¶
func (self *SLocalStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SLocalStorage) GetIStoragecache ¶
func (self *SLocalStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SLocalStorage) GetIZone ¶
func (self *SLocalStorage) GetIZone() cloudprovider.ICloudZone
func (*SLocalStorage) GetId ¶
func (self *SLocalStorage) GetId() string
func (*SLocalStorage) GetMediumType ¶
func (self *SLocalStorage) GetMediumType() string
func (*SLocalStorage) GetMountPoint ¶
func (self *SLocalStorage) GetMountPoint() string
func (*SLocalStorage) GetName ¶
func (self *SLocalStorage) GetName() string
func (*SLocalStorage) GetStatus ¶
func (self *SLocalStorage) GetStatus() string
func (*SLocalStorage) GetStorageConf ¶
func (self *SLocalStorage) GetStorageConf() jsonutils.JSONObject
func (*SLocalStorage) GetStorageType ¶
func (self *SLocalStorage) GetStorageType() string
func (*SLocalStorage) IsEmulated ¶
func (self *SLocalStorage) IsEmulated() bool
func (*SLocalStorage) IsSysDiskStore ¶
func (self *SLocalStorage) IsSysDiskStore() bool
func (*SLocalStorage) Refresh ¶
func (self *SLocalStorage) Refresh() error
type SMaintenanceTime ¶
type SMaintenanceTime struct { Monday []string Tuesday []string Wednesday []string Thursday []string Friday []string Saturday []string Sunday []string }
func (SMaintenanceTime) String ¶
func (w SMaintenanceTime) String() string
type SMasterInfo ¶
type SMemcached ¶
type SMemcached struct { multicloud.SElasticcacheBase QcloudTags InstanceId string `json:"InstanceId"` InstanceName string `json:"InstanceName"` AppId int `json:"AppId"` ProjectId int `json:"ProjectId"` InstanceDesc string `json:"InstanceDesc"` Vip string `json:"Vip"` Vport int `json:"Vport"` Status int `json:"Status"` AutoRenewFlag int `json:"AutoRenewFlag"` VpcId int `json:"VpcId"` SubnetId int `json:"SubnetId"` PayMode int `json:"PayMode"` ZoneId int `json:"ZoneId"` Expire int `json:"Expire"` RegionId int `json:"RegionId"` AddTimeStamp time.Time `json:"AddTimeStamp"` ModtimeStamp time.Time `json:"ModTimeStamp"` IsolateTimesSamp time.Time `json:"IsolateTimeStamp"` UniqVpcId string `json:"UniqVpcId"` UniqSubnetId string `json:"UniqSubnetId"` DeadlineTimeStamp string `json:"DeadlineTimeStamp"` SetId int `json:"SetId"` CmemId int `json:"CmemId"` // contains filtered or unexported fields }
func (*SMemcached) AllocatePublicConnection ¶
func (self *SMemcached) AllocatePublicConnection(port int) (string, error)
func (*SMemcached) ChangeInstanceSpec ¶
func (self *SMemcached) ChangeInstanceSpec(spec string) error
func (*SMemcached) CleanupInstance ¶
func (self *SMemcached) CleanupInstance() error
func (*SMemcached) CreateAccount ¶
func (self *SMemcached) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SMemcached) CreateAcl ¶
func (self *SMemcached) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SMemcached) CreateBackup ¶
func (self *SMemcached) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SMemcached) Delete ¶
func (self *SMemcached) Delete() error
func (*SMemcached) FlushInstance ¶
func (self *SMemcached) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SMemcached) GetArchType ¶
func (self *SMemcached) GetArchType() string
func (*SMemcached) GetAuthMode ¶
func (self *SMemcached) GetAuthMode() string
func (*SMemcached) GetBillingType ¶
func (self *SMemcached) GetBillingType() string
func (*SMemcached) GetCapacityMB ¶
func (self *SMemcached) GetCapacityMB() int
func (*SMemcached) GetCreatedAt ¶
func (self *SMemcached) GetCreatedAt() time.Time
func (*SMemcached) GetEngine ¶
func (self *SMemcached) GetEngine() string
func (*SMemcached) GetEngineVersion ¶
func (self *SMemcached) GetEngineVersion() string
func (*SMemcached) GetExpiredAt ¶
func (self *SMemcached) GetExpiredAt() time.Time
func (*SMemcached) GetGlobalId ¶
func (self *SMemcached) GetGlobalId() string
func (*SMemcached) GetICloudElasticcacheAccount ¶
func (self *SMemcached) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SMemcached) GetICloudElasticcacheAccounts ¶
func (self *SMemcached) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SMemcached) GetICloudElasticcacheAcl ¶
func (self *SMemcached) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SMemcached) GetICloudElasticcacheAcls ¶
func (self *SMemcached) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SMemcached) GetICloudElasticcacheBackup ¶
func (self *SMemcached) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SMemcached) GetICloudElasticcacheBackups ¶
func (self *SMemcached) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SMemcached) GetICloudElasticcacheParameters ¶
func (self *SMemcached) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SMemcached) GetId ¶
func (self *SMemcached) GetId() string
func (*SMemcached) GetInstanceType ¶
func (self *SMemcached) GetInstanceType() string
func (*SMemcached) GetMaintainEndTime ¶
func (self *SMemcached) GetMaintainEndTime() string
func (*SMemcached) GetMaintainStartTime ¶
func (self *SMemcached) GetMaintainStartTime() string
func (*SMemcached) GetName ¶
func (self *SMemcached) GetName() string
func (*SMemcached) GetNetworkId ¶
func (self *SMemcached) GetNetworkId() string
func (*SMemcached) GetNetworkType ¶
func (self *SMemcached) GetNetworkType() string
func (*SMemcached) GetNodeType ¶
func (self *SMemcached) GetNodeType() string
func (*SMemcached) GetPrivateConnectPort ¶
func (self *SMemcached) GetPrivateConnectPort() int
func (*SMemcached) GetPrivateDNS ¶
func (self *SMemcached) GetPrivateDNS() string
func (*SMemcached) GetPrivateIpAddr ¶
func (self *SMemcached) GetPrivateIpAddr() string
func (*SMemcached) GetProjectId ¶
func (self *SMemcached) GetProjectId() string
func (*SMemcached) GetPublicConnectPort ¶
func (self *SMemcached) GetPublicConnectPort() int
func (*SMemcached) GetPublicDNS ¶
func (self *SMemcached) GetPublicDNS() string
func (*SMemcached) GetPublicIpAddr ¶
func (self *SMemcached) GetPublicIpAddr() string
func (*SMemcached) GetSecurityGroupIds ¶
func (self *SMemcached) GetSecurityGroupIds() ([]string, error)
func (*SMemcached) GetStatus ¶
func (self *SMemcached) GetStatus() string
func (*SMemcached) GetVpcId ¶
func (self *SMemcached) GetVpcId() string
func (*SMemcached) GetZoneId ¶
func (self *SMemcached) GetZoneId() string
func (*SMemcached) IsAutoRenew ¶
func (self *SMemcached) IsAutoRenew() bool
func (*SMemcached) ReleasePublicConnection ¶
func (self *SMemcached) ReleasePublicConnection() error
func (*SMemcached) Renew ¶
func (self *SMemcached) Renew(bc billing.SBillingCycle) error
func (*SMemcached) Restart ¶
func (self *SMemcached) Restart() error
func (*SMemcached) SetAutoRenew ¶
func (self *SMemcached) SetAutoRenew(bc billing.SBillingCycle) error
func (*SMemcached) SetMaintainTime ¶
func (self *SMemcached) SetMaintainTime(maintainStartTime, maintainEndTime string) error
func (*SMemcached) UpdateAuthMode ¶
func (self *SMemcached) UpdateAuthMode(noPasswordAccess bool, password string) error
func (*SMemcached) UpdateBackupPolicy ¶
func (self *SMemcached) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SMemcached) UpdateInstanceParameters ¶
func (self *SMemcached) UpdateInstanceParameters(config jsonutils.JSONObject) error
func (*SMemcached) UpdateSecurityGroups ¶
func (self *SMemcached) UpdateSecurityGroups(secgroupIds []string) error
type SMongoDB ¶
type SMongoDB struct { QcloudTags multicloud.SVirtualResourceBase multicloud.SBillingBase multicloud.SMongodbBase IOPS int NetworkAddress string AutoRenewFlag int `json:"AutoRenewFlag"` CloneInstances []interface{} `json:"CloneInstances"` ClusterType int `json:"ClusterType"` ClusterVer int `json:"ClusterVer"` ConfigServerCpuNum int `json:"ConfigServerCpuNum"` ConfigServerMemory int `json:"ConfigServerMemory"` ConfigServerNodeNum int `json:"ConfigServerNodeNum"` ConfigServerVolume int `json:"ConfigServerVolume"` CpuNum int `json:"CpuNum"` CreateTime time.Time `json:"CreateTime"` DeadLine string `json:"DeadLine"` InstanceId string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceStatusDesc string `json:"InstanceStatusDesc"` InstanceTaskDesc string `json:"InstanceTaskDesc"` InstanceTaskId int `json:"InstanceTaskId"` InstanceType int `json:"InstanceType"` InstanceVer int `json:"InstanceVer"` MachineType string `json:"MachineType"` MaintenanceEnd string `json:"MaintenanceEnd"` MaintenanceStart string `json:"MaintenanceStart"` Memory int `json:"Memory"` MongoVersion string `json:"MongoVersion"` MongosCpuNum int `json:"MongosCpuNum"` MongosMemory int `json:"MongosMemory"` MongosNodeNum int `json:"MongosNodeNum"` NetType int `json:"NetType"` PayMode int `json:"PayMode"` ProjectId int `json:"ProjectId"` Protocol int `json:"Protocol"` Readonlyinstances []interface{} `json:"ReadonlyInstances"` RealInstanceId string `json:"RealInstanceId"` Region string `json:"Region"` Relatedinstance struct { InstanceId string `json:"InstanceId"` Region string `json:"Region"` } `json:"RelatedInstance"` Replicasets []struct { Memory int `json:"Memory"` OplogSize int `json:"OplogSize"` RealReplicasetId string `json:"RealReplicaSetId"` ReplicaSetId string `json:"ReplicaSetId"` ReplicaSetName string `json:"ReplicaSetName"` SecondaryNum int `json:"SecondaryNum"` UsedVolume int `json:"UsedVolume"` Volume int `json:"Volume"` } `json:"ReplicaSets"` ReplicationSetNum int `json:"ReplicationSetNum"` SecondaryNum int `json:"SecondaryNum"` StandbyInstances []interface{} `json:"StandbyInstances"` Status int `json:"Status"` SubnetId string `json:"SubnetId"` UsedVolume int `json:"UsedVolume"` Vip string `json:"Vip"` Volume int `json:"Volume"` VpcId string `json:"VpcId"` Vport int `json:"Vport"` Zone string `json:"Zone"` // contains filtered or unexported fields }
func (*SMongoDB) GetBillingType ¶
func (*SMongoDB) GetCategory ¶
func (*SMongoDB) GetCreatedAt ¶
func (*SMongoDB) GetDiskSizeMb ¶
func (*SMongoDB) GetEngineVersion ¶
func (*SMongoDB) GetExpiredAt ¶
func (*SMongoDB) GetGlobalId ¶
func (*SMongoDB) GetIBackups ¶
func (self *SMongoDB) GetIBackups() ([]cloudprovider.SMongoDBBackup, error)
func (*SMongoDB) GetInstanceType ¶
func (*SMongoDB) GetMaintainTime ¶
func (*SMongoDB) GetNetworkAddress ¶
func (*SMongoDB) GetNetworkId ¶
func (*SMongoDB) GetProjectId ¶
func (*SMongoDB) GetReplicationNum ¶
func (*SMongoDB) GetVcpuCount ¶
func (*SMongoDB) GetVmemSizeMb ¶
func (*SMongoDB) IsAutoRenew ¶
type SMySQLInstance ¶
type SMySQLInstance struct { multicloud.SDBInstanceBase QcloudTags AutoRenew int CdbError int Cpu int CreateTime time.Time DeadlineTime string DeployGroupId string DeployMode int DeviceClass string DeviceType string DrInfo []SDrInfo EngineVersion string ExClusterId string HourFeeStatus int InitFlag int InstanceId string InstanceName string InstanceType int IsolateTime string MasterInfo SMasterInfo Memory int OfflineTime string PayType int PhysicalId string ProjectId int ProtectMode string Qps int Region string RegionId string ResourceId string RoGroups []SRoGroup RoVipInfo SRoVipInfo SecurityGroupIds []string SlaveInfo SlaveInfo Status int SubnetId int //TagList": null, TaskStatus int UniqSubnetId string UniqVpcId string Vip string Volume int VpcId int Vport int WanDomain string WanPort int WanStatus int Zone string ZoneId int ZoneName string // contains filtered or unexported fields }
func (*SMySQLInstance) ChangeConfig ¶
func (self *SMySQLInstance) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SMySQLInstance) ClosePublicConnection ¶
func (self *SMySQLInstance) ClosePublicConnection() error
func (*SMySQLInstance) CreateAccount ¶
func (self *SMySQLInstance) CreateAccount(opts *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*SMySQLInstance) CreateDatabase ¶
func (self *SMySQLInstance) CreateDatabase(opts *cloudprovider.SDBInstanceDatabaseCreateConfig) error
func (*SMySQLInstance) CreateIBackup ¶
func (self *SMySQLInstance) CreateIBackup(opts *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*SMySQLInstance) Delete ¶
func (self *SMySQLInstance) Delete() error
func (*SMySQLInstance) GetBillingType ¶
func (self *SMySQLInstance) GetBillingType() string
func (*SMySQLInstance) GetCategory ¶
func (self *SMySQLInstance) GetCategory() string
func (*SMySQLInstance) GetConnectionStr ¶
func (self *SMySQLInstance) GetConnectionStr() string
func (*SMySQLInstance) GetCreatedAt ¶
func (self *SMySQLInstance) GetCreatedAt() time.Time
func (*SMySQLInstance) GetDBNetworks ¶
func (self *SMySQLInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*SMySQLInstance) GetDiskSizeGB ¶
func (self *SMySQLInstance) GetDiskSizeGB() int
func (*SMySQLInstance) GetEngine ¶
func (self *SMySQLInstance) GetEngine() string
func (*SMySQLInstance) GetEngineVersion ¶
func (self *SMySQLInstance) GetEngineVersion() string
func (*SMySQLInstance) GetExpiredAt ¶
func (self *SMySQLInstance) GetExpiredAt() time.Time
func (*SMySQLInstance) GetGlobalId ¶
func (self *SMySQLInstance) GetGlobalId() string
func (*SMySQLInstance) GetIDBInstanceAccounts ¶
func (self *SMySQLInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SMySQLInstance) GetIDBInstanceBackups ¶
func (self *SMySQLInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SMySQLInstance) GetIDBInstanceDatabases ¶
func (rds *SMySQLInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SMySQLInstance) GetIVpcId ¶
func (self *SMySQLInstance) GetIVpcId() string
func (*SMySQLInstance) GetId ¶
func (self *SMySQLInstance) GetId() string
func (*SMySQLInstance) GetInstanceType ¶
func (self *SMySQLInstance) GetInstanceType() string
func (*SMySQLInstance) GetInternalConnectionStr ¶
func (self *SMySQLInstance) GetInternalConnectionStr() string
func (*SMySQLInstance) GetMaintainTime ¶
func (self *SMySQLInstance) GetMaintainTime() string
func (*SMySQLInstance) GetMasterInstanceId ¶
func (self *SMySQLInstance) GetMasterInstanceId() string
func (*SMySQLInstance) GetName ¶
func (self *SMySQLInstance) GetName() string
func (*SMySQLInstance) GetPort ¶
func (self *SMySQLInstance) GetPort() int
func (*SMySQLInstance) GetProjectId ¶
func (self *SMySQLInstance) GetProjectId() string
func (*SMySQLInstance) GetSecurityGroupIds ¶
func (self *SMySQLInstance) GetSecurityGroupIds() ([]string, error)
func (*SMySQLInstance) GetStatus ¶
func (self *SMySQLInstance) GetStatus() string
func (*SMySQLInstance) GetStorageType ¶
func (self *SMySQLInstance) GetStorageType() string
func (*SMySQLInstance) GetVcpuCount ¶
func (self *SMySQLInstance) GetVcpuCount() int
func (*SMySQLInstance) GetVmemSizeMB ¶
func (self *SMySQLInstance) GetVmemSizeMB() int
func (*SMySQLInstance) GetZone1Id ¶
func (self *SMySQLInstance) GetZone1Id() string
func (*SMySQLInstance) GetZone2Id ¶
func (self *SMySQLInstance) GetZone2Id() string
func (*SMySQLInstance) GetZone3Id ¶
func (self *SMySQLInstance) GetZone3Id() string
func (*SMySQLInstance) IsAutoRenew ¶
func (self *SMySQLInstance) IsAutoRenew() bool
func (*SMySQLInstance) OpenPublicConnection ¶
func (self *SMySQLInstance) OpenPublicConnection() error
func (*SMySQLInstance) Reboot ¶
func (self *SMySQLInstance) Reboot() error
func (*SMySQLInstance) Refresh ¶
func (self *SMySQLInstance) Refresh() error
func (*SMySQLInstance) Renew ¶
func (self *SMySQLInstance) Renew(bc billing.SBillingCycle) error
func (*SMySQLInstance) SetAutoRenew ¶
func (self *SMySQLInstance) SetAutoRenew(bc billing.SBillingCycle) error
func (*SMySQLInstance) SetSecurityGroups ¶
func (self *SMySQLInstance) SetSecurityGroups(ids []string) error
type SMySQLInstanceAccount ¶
type SMySQLInstanceAccount struct { multicloud.SDBInstanceAccountBase QcloudTags Notes string Host string User string ModifyTime string ModifyPasswordTime string CreateTime string // contains filtered or unexported fields }
func (*SMySQLInstanceAccount) Delete ¶
func (self *SMySQLInstanceAccount) Delete() error
func (*SMySQLInstanceAccount) GetHost ¶
func (self *SMySQLInstanceAccount) GetHost() string
func (*SMySQLInstanceAccount) GetIDBInstanceAccountPrivileges ¶
func (self *SMySQLInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
func (*SMySQLInstanceAccount) GetName ¶
func (self *SMySQLInstanceAccount) GetName() string
func (*SMySQLInstanceAccount) GrantPrivilege ¶
func (self *SMySQLInstanceAccount) GrantPrivilege(database, privilege string) error
func (*SMySQLInstanceAccount) ResetPassword ¶
func (self *SMySQLInstanceAccount) ResetPassword(password string) error
func (*SMySQLInstanceAccount) RevokePrivilege ¶
func (self *SMySQLInstanceAccount) RevokePrivilege(database string) error
type SMySQLInstanceBackup ¶
type SMySQLInstanceBackup struct { multicloud.SDBInstanceBackupBase QcloudTags Name string Size int Date string IntranetUrl string InternetUrl string Type string BackupId int Status string FinishTime string Creator string StartTime string Method string Way string // contains filtered or unexported fields }
func (*SMySQLInstanceBackup) Delete ¶
func (self *SMySQLInstanceBackup) Delete() error
func (*SMySQLInstanceBackup) GetBackupMode ¶
func (self *SMySQLInstanceBackup) GetBackupMode() string
func (*SMySQLInstanceBackup) GetBackupSizeMb ¶
func (self *SMySQLInstanceBackup) GetBackupSizeMb() int
func (*SMySQLInstanceBackup) GetDBInstanceId ¶
func (self *SMySQLInstanceBackup) GetDBInstanceId() string
func (*SMySQLInstanceBackup) GetDBNames ¶
func (self *SMySQLInstanceBackup) GetDBNames() string
func (*SMySQLInstanceBackup) GetEndTime ¶
func (self *SMySQLInstanceBackup) GetEndTime() time.Time
func (*SMySQLInstanceBackup) GetEngine ¶
func (self *SMySQLInstanceBackup) GetEngine() string
func (*SMySQLInstanceBackup) GetEngineVersion ¶
func (self *SMySQLInstanceBackup) GetEngineVersion() string
func (*SMySQLInstanceBackup) GetGlobalId ¶
func (self *SMySQLInstanceBackup) GetGlobalId() string
func (*SMySQLInstanceBackup) GetId ¶
func (self *SMySQLInstanceBackup) GetId() string
func (*SMySQLInstanceBackup) GetName ¶
func (self *SMySQLInstanceBackup) GetName() string
func (*SMySQLInstanceBackup) GetStartTime ¶
func (self *SMySQLInstanceBackup) GetStartTime() time.Time
func (*SMySQLInstanceBackup) GetStatus ¶
func (self *SMySQLInstanceBackup) GetStatus() string
type SMySQLInstanceDatabase ¶
type SMySQLInstanceDatabase struct { multicloud.SResourceBase QcloudTags CharacterSet string DatabaseName string // contains filtered or unexported fields }
func (*SMySQLInstanceDatabase) Delete ¶
func (self *SMySQLInstanceDatabase) Delete() error
func (*SMySQLInstanceDatabase) GetCharacterSet ¶
func (self *SMySQLInstanceDatabase) GetCharacterSet() string
func (*SMySQLInstanceDatabase) GetGlobalId ¶
func (self *SMySQLInstanceDatabase) GetGlobalId() string
func (*SMySQLInstanceDatabase) GetId ¶
func (self *SMySQLInstanceDatabase) GetId() string
func (*SMySQLInstanceDatabase) GetName ¶
func (self *SMySQLInstanceDatabase) GetName() string
func (*SMySQLInstanceDatabase) GetStatus ¶
func (self *SMySQLInstanceDatabase) GetStatus() string
type SNatGateway ¶
type SNatGateway struct { multicloud.SNatGatewayBase QcloudTags NatId string `json:"natId"` NatName string `json:"natName"` ProductionStatus float32 `json:"productionStatus"` State float32 `json:"state"` UnVpcId string `json:"unVpcId"` VpcId float32 `json:"vpcId"` VpcName string `json:"vpcName"` Zone string `json:"zone"` Bandwidth float32 `json:"bandwidth"` CreateTime time.Time `json:"createTime"` EipCount float32 `json:"eipCount"` MaxConcurrent float32 `json:"maxConcurrent"` // contains filtered or unexported fields }
func (*SNatGateway) CreateINatDEntry ¶
func (nat *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) CreateINatSEntry ¶
func (nat *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
func (*SNatGateway) GetGlobalId ¶
func (nat *SNatGateway) GetGlobalId() string
func (*SNatGateway) GetIEips ¶
func (nat *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)
func (*SNatGateway) GetINatDEntryByID ¶
func (nat *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) GetINatDTable ¶
func (nat *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) GetINatSEntryByID ¶
func (nat *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
func (*SNatGateway) GetINatSTable ¶
func (nat *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
func (*SNatGateway) GetINetworkId ¶
func (self *SNatGateway) GetINetworkId() string
func (*SNatGateway) GetId ¶
func (nat *SNatGateway) GetId() string
func (*SNatGateway) GetName ¶
func (nat *SNatGateway) GetName() string
func (*SNatGateway) GetNatSpec ¶
func (nat *SNatGateway) GetNatSpec() string
func (*SNatGateway) GetStatus ¶
func (nat *SNatGateway) GetStatus() string
type SNetwork ¶
type SNetwork struct { multicloud.SResourceBase QcloudTags CidrBlock string Zone string SubnetId string VpcId string SubnetName string AvailableIpAddressCount int CreatedTime time.Time EnableBroadcast bool IsDefault bool RouteTableId string // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetGateway ¶
func (*SNetwork) GetGlobalId ¶
func (*SNetwork) GetIWire ¶
func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
func (*SNetwork) GetIpStart ¶
func (*SNetwork) GetIsPublic ¶
func (*SNetwork) GetProjectId ¶
func (*SNetwork) GetPublicScope ¶
func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
func (*SNetwork) GetServerType ¶
func (*SNetwork) IsEmulated ¶
type SNetworkInterface ¶
type SNetworkInterface struct { multicloud.SNetworkInterfaceBase QcloudTags VpcId string SubnetId string NetworkInterfaceId string NetworkInterfaceName string NetworkInterfaceDescription string GroupSet []string Primary bool MacAddress string State string CreatedTime time.Time Attachment SNetworkInterfaceAttachment Zone string PrivateIpAddressSet []SPrivateIpAddress // contains filtered or unexported fields }
func (*SNetworkInterface) GetAssociateId ¶
func (nic *SNetworkInterface) GetAssociateId() string
func (*SNetworkInterface) GetAssociateType ¶
func (nic *SNetworkInterface) GetAssociateType() string
func (*SNetworkInterface) GetGlobalId ¶
func (nic *SNetworkInterface) GetGlobalId() string
func (*SNetworkInterface) GetICloudInterfaceAddresses ¶
func (nic *SNetworkInterface) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
func (*SNetworkInterface) GetId ¶
func (nic *SNetworkInterface) GetId() string
func (*SNetworkInterface) GetMacAddress ¶
func (nic *SNetworkInterface) GetMacAddress() string
func (*SNetworkInterface) GetName ¶
func (nic *SNetworkInterface) GetName() string
func (*SNetworkInterface) GetStatus ¶
func (nic *SNetworkInterface) GetStatus() string
type SObject ¶
type SObject struct { cloudprovider.SBaseCloudObject // contains filtered or unexported fields }
func (*SObject) GetAcl ¶
func (o *SObject) GetAcl() cloudprovider.TBucketACLType
func (*SObject) GetIBucket ¶
func (o *SObject) GetIBucket() cloudprovider.ICloudBucket
func (*SObject) SetAcl ¶
func (o *SObject) SetAcl(aclStr cloudprovider.TBucketACLType) error
type SPolicy ¶
type SPolicy struct { PolicyId int64 PolicyName string AddTime time.Time CreateMode string PolicyType string Description string PolicyDocument string // contains filtered or unexported fields }
func (*SPolicy) GetDescription ¶
func (*SPolicy) GetGlobalId ¶
type SPrincipal ¶
type SPrincipal struct {
Federated []string
}
type SPrivateIpAddress ¶
type SPrivateIpAddress struct { Description string Primary bool PrivateIpAddress string PublicIpAddress string IsWanIpBlocked bool State string // contains filtered or unexported fields }
func (*SPrivateIpAddress) GetGlobalId ¶
func (ip *SPrivateIpAddress) GetGlobalId() string
func (*SPrivateIpAddress) GetINetworkId ¶
func (ip *SPrivateIpAddress) GetINetworkId() string
func (*SPrivateIpAddress) GetIP ¶
func (ip *SPrivateIpAddress) GetIP() string
func (*SPrivateIpAddress) IsPrimary ¶
func (ip *SPrivateIpAddress) IsPrimary() bool
type SProject ¶
type SProject struct { multicloud.SProjectBase QcloudTags ProjectName string `json:"projectName"` ProjectId string `json:"projectId"` CreateTime time.Time `json:"createTime"` CreateorUin int `json:"creatorUin"` ProjectInfo string `json:"projectInfo"` // contains filtered or unexported fields }
func (*SProject) GetGlobalId ¶
func (*SProject) IsEmulated ¶
type SQcInstanceMetricDimension ¶
type SQcInstanceMetricDimension struct {
Dimensions []SQcMetricDimension
}
type SQcMetricDimension ¶
type SQcloudClient ¶
type SQcloudClient struct { *QcloudClientConfig // contains filtered or unexported fields }
func NewQcloudClient ¶
func NewQcloudClient(cfg *QcloudClientConfig) (*SQcloudClient, error)
func (*SQcloudClient) AddCdnDomain ¶
func (*SQcloudClient) AddUser ¶
func (self *SQcloudClient) AddUser(name, password, desc string, consoleLogin bool) (*SUser, error)
func (*SQcloudClient) AddUserToGroup ¶
func (self *SQcloudClient) AddUserToGroup(groupId, userId int) error
func (*SQcloudClient) AttachGroupPolicy ¶
func (self *SQcloudClient) AttachGroupPolicy(groupId int, policyId string) error
func (*SQcloudClient) AttachRolePolicy ¶
func (self *SQcloudClient) AttachRolePolicy(roleName string, policyId string) error
func (*SQcloudClient) AttachUserPolicy ¶
func (self *SQcloudClient) AttachUserPolicy(uin, policyId string) error
func (*SQcloudClient) CreateCDNDomain ¶
func (self *SQcloudClient) CreateCDNDomain(opts *cloudprovider.CdnCreateOptions) (*SCdnDomain, error)
func (*SQcloudClient) CreateDnsRecord ¶
func (self *SQcloudClient) CreateDnsRecord(opts *cloudprovider.DnsRecordSet, domainName string) (string, error)
func (*SQcloudClient) CreateDomian ¶
func (self *SQcloudClient) CreateDomian(domianName string) (*SDomian, error)
func (*SQcloudClient) CreateGroup ¶
func (self *SQcloudClient) CreateGroup(name string, remark string) (*SGroup, error)
func (*SQcloudClient) CreateICloudDnsZone ¶
func (self *SQcloudClient) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
func (*SQcloudClient) CreateICloudInterVpcNetwork ¶
func (client *SQcloudClient) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudClient) CreateICloudgroup ¶
func (self *SQcloudClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SQcloudClient) CreateICloudpolicy ¶
func (self *SQcloudClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SQcloudClient) CreateIClouduser ¶
func (self *SQcloudClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SQcloudClient) CreateIProject ¶
func (client *SQcloudClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SQcloudClient) CreatePolicy ¶
func (self *SQcloudClient) CreatePolicy(name, document, desc string) (*SPolicy, error)
func (*SQcloudClient) CreateProject ¶
func (client *SQcloudClient) CreateProject(name, desc string) (*SProject, error)
func (*SQcloudClient) CreateRole ¶
func (self *SQcloudClient) CreateRole(name, document, desc string) (*SRole, error)
func (*SQcloudClient) CreateSAMLProvider ¶
func (self *SQcloudClient) CreateSAMLProvider(name, metadata, desc string) (*SAMLProvider, error)
func (*SQcloudClient) DeleteCdnDomain ¶
func (self *SQcloudClient) DeleteCdnDomain(domain string) error
func (*SQcloudClient) DeleteDnsRecord ¶
func (client *SQcloudClient) DeleteDnsRecord(recordId string, domainName string) error
func (*SQcloudClient) DeleteDomian ¶
func (client *SQcloudClient) DeleteDomian(domianName string) error
func (*SQcloudClient) DeleteGroup ¶
func (self *SQcloudClient) DeleteGroup(id int) error
func (*SQcloudClient) DeletePolicy ¶
func (self *SQcloudClient) DeletePolicy(policyIds []int) error
func (*SQcloudClient) DeleteRole ¶
func (self *SQcloudClient) DeleteRole(name string) error
func (*SQcloudClient) DeleteSAMLProvider ¶
func (self *SQcloudClient) DeleteSAMLProvider(name string) error
func (*SQcloudClient) DeleteUser ¶
func (self *SQcloudClient) DeleteUser(name string) error
func (*SQcloudClient) DescribeAllCdnDomains ¶
func (client *SQcloudClient) DescribeAllCdnDomains(domains, origins []string, domainType string) ([]SCdnDomain, error)
func (*SQcloudClient) DescribeCdnDomains ¶
func (client *SQcloudClient) DescribeCdnDomains(domains, origins []string, domainType string, offset int, limit int) ([]SCdnDomain, int, error)
func (*SQcloudClient) DescribeRoleList ¶
func (*SQcloudClient) DetachGroupPolicy ¶
func (self *SQcloudClient) DetachGroupPolicy(groupId int, policyId string) error
func (*SQcloudClient) DetachRolePolicy ¶
func (self *SQcloudClient) DetachRolePolicy(roleName string, policyId string) error
func (*SQcloudClient) DetachUserPolicy ¶
func (self *SQcloudClient) DetachUserPolicy(uin, policyId string) error
func (*SQcloudClient) GetAccountId ¶
func (self *SQcloudClient) GetAccountId() string
func (*SQcloudClient) GetCallerIdentity ¶
func (self *SQcloudClient) GetCallerIdentity() (*CallerIdentity, error)
func (*SQcloudClient) GetCapabilities ¶
func (self *SQcloudClient) GetCapabilities() []string
func (*SQcloudClient) GetCdnDomain ¶
func (self *SQcloudClient) GetCdnDomain(domain string) (*SCdnDomain, error)
func (*SQcloudClient) GetCustomPolicyMaps ¶
func (self *SQcloudClient) GetCustomPolicyMaps() (map[string]int64, error)
func (*SQcloudClient) GetDnsRecords ¶
func (self *SQcloudClient) GetDnsRecords(domain string, offset int, limit int) ([]SDnsRecord, int, error)
func (*SQcloudClient) GetDomain ¶
func (self *SQcloudClient) GetDomain(domain string) (*SDomian, error)
func (*SQcloudClient) GetDomains ¶
func (*SQcloudClient) GetEcsMetrics ¶
func (self *SQcloudClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudClient) GetICloudCDNDomainByName ¶
func (self *SQcloudClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
func (*SQcloudClient) GetICloudCDNDomains ¶
func (self *SQcloudClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
func (*SQcloudClient) GetICloudDnsZones ¶
func (self *SQcloudClient) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
func (*SQcloudClient) GetICloudInterVpcNetworkById ¶
func (client *SQcloudClient) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudClient) GetICloudInterVpcNetworks ¶
func (client *SQcloudClient) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudClient) GetICloudSAMLProviders ¶
func (self *SQcloudClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SQcloudClient) GetICloudgroupByName ¶
func (self *SQcloudClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SQcloudClient) GetICloudgroups ¶
func (self *SQcloudClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SQcloudClient) GetICloudroles ¶
func (self *SQcloudClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)
func (*SQcloudClient) GetIClouduserByName ¶
func (self *SQcloudClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SQcloudClient) GetICloudusers ¶
func (self *SQcloudClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SQcloudClient) GetICustomCloudpolicies ¶
func (self *SQcloudClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SQcloudClient) GetIHostById ¶
func (client *SQcloudClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SQcloudClient) GetIProjects ¶
func (client *SQcloudClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SQcloudClient) GetIRegionById ¶
func (client *SQcloudClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SQcloudClient) GetIRegions ¶
func (client *SQcloudClient) GetIRegions() []cloudprovider.ICloudRegion
func (*SQcloudClient) GetIStorageById ¶
func (client *SQcloudClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SQcloudClient) GetISystemCloudpolicies ¶
func (self *SQcloudClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SQcloudClient) GetIVpcById ¶
func (client *SQcloudClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SQcloudClient) GetIamLoginUrl ¶
func (client *SQcloudClient) GetIamLoginUrl() string
func (*SQcloudClient) GetK8sMetrics ¶
func (self *SQcloudClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudClient) GetK8sMonitorData ¶
func (self *SQcloudClient) GetK8sMonitorData(ns, name, resourceId string, since time.Time, until time.Time, regionId string) ([]SK8SDataPoint, error)
func (*SQcloudClient) GetMetrics ¶
func (self *SQcloudClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudClient) GetMonitorData ¶
func (*SQcloudClient) GetPolicy ¶
func (self *SQcloudClient) GetPolicy(policyId string) (*SPolicy, error)
func (*SQcloudClient) GetPolicyByName ¶
func (self *SQcloudClient) GetPolicyByName(name string) (*SPolicy, error)
func (*SQcloudClient) GetProjects ¶
func (client *SQcloudClient) GetProjects() ([]SProject, error)
func (*SQcloudClient) GetRdsMetrics ¶
func (self *SQcloudClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudClient) GetRedisMetrics ¶
func (self *SQcloudClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudClient) GetRegion ¶
func (client *SQcloudClient) GetRegion(regionId string) *SRegion
func (*SQcloudClient) GetRegions ¶
func (client *SQcloudClient) GetRegions() []SRegion
func (*SQcloudClient) GetSAMLProvider ¶
func (self *SQcloudClient) GetSAMLProvider(name string) (*SAMLProvider, error)
func (*SQcloudClient) GetSubAccounts ¶
func (client *SQcloudClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SQcloudClient) ListAttachedGroupPolicies ¶
func (*SQcloudClient) ListAttachedRolePolicies ¶
func (*SQcloudClient) ListAttachedUserPolicies ¶
func (*SQcloudClient) ListCollaborators ¶
func (self *SQcloudClient) ListCollaborators(offset, limit int) ([]SUser, int, error)
func (*SQcloudClient) ListGroupUsers ¶
func (*SQcloudClient) ListGroups ¶
func (*SQcloudClient) ListGroupsForUser ¶
func (*SQcloudClient) ListPolicies ¶
func (*SQcloudClient) ListSAMLProviders ¶
func (self *SQcloudClient) ListSAMLProviders() ([]SAMLProvider, error)
func (*SQcloudClient) ListUsers ¶
func (self *SQcloudClient) ListUsers() ([]SUser, error)
func (*SQcloudClient) ModifyDnsRecord ¶
func (self *SQcloudClient) ModifyDnsRecord(opts *cloudprovider.DnsRecordSet, domainName string) error
func (*SQcloudClient) ModifyRecordStatus ¶
func (client *SQcloudClient) ModifyRecordStatus(status, recordId, domain string) error
func (*SQcloudClient) QueryAccountBalance ¶
func (client *SQcloudClient) QueryAccountBalance() (*SAccountBalance, error)
func (*SQcloudClient) RemoveUserFromGroup ¶
func (self *SQcloudClient) RemoveUserFromGroup(groupId, userId int) error
func (*SQcloudClient) StartCdnDomain ¶
func (self *SQcloudClient) StartCdnDomain(domain string) error
func (*SQcloudClient) StopCdnDomain ¶
func (self *SQcloudClient) StopCdnDomain(domain string) error
func (*SQcloudClient) UpdatePolicy ¶
func (self *SQcloudClient) UpdatePolicy(policyId int, document, desc string) error
func (*SQcloudClient) UpdateSAMLProvider ¶
func (self *SQcloudClient) UpdateSAMLProvider(name, metadata, desc string) error
func (*SQcloudClient) UpdateUser ¶
func (self *SQcloudClient) UpdateUser(name, password string) error
type SRecordCountInfo ¶
type SRecordCreateRet ¶
type SRegion ¶
type SRegion struct { multicloud.SRegion Region string RegionName string RegionState string Latitude float64 Longitude float64 // contains filtered or unexported fields }
func (*SRegion) AcceptAttachCcnInstances ¶
func (self *SRegion) AcceptAttachCcnInstances(ccnId string, instances []SCcnAttachInstanceInput) error
func (*SRegion) AcceptVpcPeeringConnection ¶
func (*SRegion) AcceptVpcPeeringConnectionEx ¶
func (*SRegion) AddressGroupList ¶
func (*SRegion) AddressList ¶
func (*SRegion) AllocateEIP ¶
func (*SRegion) ApplySnapshotPolicyToDisks ¶
func (*SRegion) AssociateEip ¶
func (*SRegion) AttachCcnInstances ¶
func (self *SRegion) AttachCcnInstances(ccnId string, ccnUin string, instances []SCcnAttachInstanceInput) error
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachKeypair ¶
func (*SRegion) CancelSnapshotPolicyToDisks ¶
func (*SRegion) ChangeEipBindWidth ¶
func (*SRegion) ChangeVMConfig ¶
func (*SRegion) CloseMySQLWanService ¶
func (*SRegion) ConvertPublicIpToEip ¶
func (*SRegion) CreateCcn ¶
func (self *SRegion) CreateCcn(opts *cloudprovider.SInterVpcNetworkCreateOptions) (string, error)
func (*SRegion) CreateCertificate ¶
func (*SRegion) CreateClassicLoadbalancerListener ¶
func (self *SRegion) CreateClassicLoadbalancerListener(lbid, name string, protocol, port, backendServerPort int, scheduler *string, sessionExpireTime, sniSwitch *int, healthCheck *healthCheck, cert *certificate) (string, error)
https://cloud.tencent.com/document/api/214/1255 不支持sniSwitch todo: 待测试
func (*SRegion) CreateDisk ¶
func (*SRegion) CreateEIP ¶
func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
https://cloud.tencent.com/document/api/215/16699 腾讯云eip不支持指定项目
func (*SRegion) CreateIBucket ¶
func (*SRegion) CreateIDBInstance ¶
func (self *SRegion) CreateIDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) CreateIElasticcaches ¶
func (r *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
DescribeProductInfo 可以查询在售可用区信息 https://cloud.tencent.com/document/product/239/20026
func (*SRegion) CreateILoadBalancer ¶
func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
https://cloud.tencent.com/document/api/214/30692 todo: 1. 支持跨地域绑定负载均衡 及 https://cloud.tencent.com/document/product/214/12014 todo: 2. 支持指定Project。 ProjectId可以通过 DescribeProject 接口获取。不填则属于默认项目。
func (*SRegion) CreateILoadBalancerAcl ¶
func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (self *SRegion) CreateILoadBalancerCertificate(input *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
todo:目前onecloud端只能指定服务器端证书。需要兼容客户端证书? todo:支持指定Project。 todo: 已过期的证书不能上传也不能关联资源
func (*SRegion) CreateISecurityGroup ¶
func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateInstance ¶
func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, securityGroupId string, zoneId string, desc string, passwd string, disks []SDisk, networkId string, ipAddr string, keypair string, userData string, bc *billing.SBillingCycle, projectId string, publicIpBw int, publicIpChargeType cloudprovider.TElasticipChargeType, tags map[string]string, osType string, ) (string, error)
func (*SRegion) CreateInstanceSimple ¶
func (*SRegion) CreateLoadbalancerListener ¶
func (self *SRegion) CreateLoadbalancerListener(lbid, name, protocol string, port int, scheduler *string, sessionExpireTime, sniSwitch *int, healthCheck *healthCheck, cert *certificate) (string, error)
https://cloud.tencent.com/document/product/214/30693 SNI 特性是什么??
func (*SRegion) CreateLoadbalancerListenerRule ¶
func (self *SRegion) CreateLoadbalancerListenerRule(lbid string, listenerId string, domain string, url string, scheduler string, sessionExpireTime int, hc *healthCheck) (string, error)
返回requestID
func (*SRegion) CreateMySQLAccount ¶
func (self *SRegion) CreateMySQLAccount(instanceId string, opts *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*SRegion) CreateMySQLBackup ¶
func (*SRegion) CreateMySQLDBInstance ¶
func (self *SRegion) CreateMySQLDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (*SMySQLInstance, error)
func (*SRegion) CreateNetwork ¶
func (*SRegion) CreateSecurityGroup ¶
func (self *SRegion) CreateSecurityGroup(name, projectId, description string) (*SSecurityGroup, error)
func (*SRegion) CreateSnapshot ¶
func (*SRegion) CreateSnapshotPolicy ¶
func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
func (*SRegion) CreateVpcPeeringConnection ¶
func (region *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (string, error)
func (*SRegion) CreateVpcPeeringConnectionEx ¶
func (region *SRegion) CreateVpcPeeringConnectionEx(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (int64, error)
func (*SRegion) DeallocateEIP ¶
func (*SRegion) DeleteBackup ¶
func (*SRegion) DeleteCertificate ¶
func (*SRegion) DeleteClassicLoadbalancer ¶
返回requstid 用于异步任务查询 https://cloud.tencent.com/document/product/214/30689
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteElasticSearch ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteKubeCluster ¶
func (*SRegion) DeleteLBListenerRule ¶
https://cloud.tencent.com/document/api/214/30688 返回requestId及error
func (*SRegion) DeleteLBListenerRules ¶
func (*SRegion) DeleteLoadbalancer ¶
返回requstid 用于异步任务查询 https://cloud.tencent.com/document/product/214/30689
func (*SRegion) DeleteLoadbalancerListener ¶
func (self *SRegion) DeleteLoadbalancerListener(t LB_TYPE, lbid string, listenerId string) (string, error)
返回requestID
func (*SRegion) DeleteMongoDB ¶
func (*SRegion) DeleteMySQLAccounts ¶
func (*SRegion) DeleteNetwork ¶
func (*SRegion) DeleteNetworkInterface ¶
func (*SRegion) DeletePostpaidTDSQL ¶
func (*SRegion) DeletePrepaidTDSQL ¶
func (*SRegion) DeleteSecgroupRule ¶
func (*SRegion) DeleteSecurityGroup ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteSnapshotPolicy ¶
func (*SRegion) DeleteTDSQLAccount ¶
func (*SRegion) DeleteVpcPeeringConnection ¶
func (*SRegion) DeleteVpcPeeringConnectionEx ¶
func (*SRegion) DescribeAccountPrivileges ¶
func (self *SRegion) DescribeAccountPrivileges(instanceId string, user, host string) (*SAccountPrivilege, error)
func (*SRegion) DescribeCcnAttachedInstances ¶
func (*SRegion) DescribeCcnRoutes ¶
func (*SRegion) DescribeCcns ¶
func (*SRegion) DescribeDBInstanceSpecs ¶
func (self *SRegion) DescribeDBInstanceSpecs() ([]SInstanceSpecs, error)
func (*SRegion) DescribeDBZoneConfig ¶
func (self *SRegion) DescribeDBZoneConfig() ([]SRegionSellConf, error)
func (*SRegion) DescribeMySQLAccounts ¶
func (*SRegion) DescribeMySQLAsyncRequestInfo ¶
func (self *SRegion) DescribeMySQLAsyncRequestInfo(id string) (*SAsyncRequestResult, error)
func (*SRegion) DescribeMySQLBackups ¶
func (*SRegion) DescribeMySQLDBInstanceInfo ¶
func (self *SRegion) DescribeMySQLDBInstanceInfo(id string) (*SMySQLInstance, error)
func (*SRegion) DescribeMySQLDBSecurityGroups ¶
func (self *SRegion) DescribeMySQLDBSecurityGroups(instanceId string) ([]SDBSecgroup, error)
func (*SRegion) DescribeMySQLDatabases ¶
func (*SRegion) DescribeMySQLTimeWindow ¶
func (self *SRegion) DescribeMySQLTimeWindow(id string) (*SMaintenanceTime, error)
func (*SRegion) DescribeProductConfig ¶
func (self *SRegion) DescribeProductConfig() ([]SpecInfoList, error)
func (*SRegion) DescribeRouteTables ¶
func (*SRegion) DescribeSaleInfo ¶
func (self *SRegion) DescribeSaleInfo() ([]SRegionSaleInfo, error)
func (*SRegion) DescribeSecurityGroupPolicies ¶
func (self *SRegion) DescribeSecurityGroupPolicies(secGroupId string) (*SecurityGroupPolicySet, error)
func (*SRegion) DescribeSecurityGroupReferences ¶
func (self *SRegion) DescribeSecurityGroupReferences(id string) ([]ReferredSecurityGroup, error)
func (*SRegion) DescribeSqlServerProductConfig ¶
func (self *SRegion) DescribeSqlServerProductConfig(zoneId string) ([]SqlServerSpecInfoList, error)
func (*SRegion) DescribeTaskInfo ¶
func (self *SRegion) DescribeTaskInfo(taskId string) (*SElasticcacheTask, error)
func (*SRegion) DescribeVpcPeeringConnections ¶
func (*SRegion) DescribeVpcTaskResult ¶
func (*SRegion) DetachCcnInstances ¶
func (self *SRegion) DetachCcnInstances(ccnId string, instances []SCcnAttachInstanceInput) error
func (*SRegion) DetachDisk ¶
func (*SRegion) DetachKeyPair ¶
func (*SRegion) DisableCcnRoutes ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) EnableCcnRoutes ¶
func (*SRegion) FetchResourceTags ¶
func (*SRegion) GetAllCcnAttachedInstances ¶
func (self *SRegion) GetAllCcnAttachedInstances(ccnId string) ([]SCcnInstance, error)
func (*SRegion) GetAllCcnRouteSets ¶
func (self *SRegion) GetAllCcnRouteSets(ccnId string) ([]SCcnRouteSet, error)
func (*SRegion) GetAllCcns ¶
func (*SRegion) GetAllRouteTables ¶
func (self *SRegion) GetAllRouteTables(vpcId string, routetables []string) ([]SRouteTableSet, error)
func (*SRegion) GetAllVpcPeeringConnections ¶
func (*SRegion) GetBandwidthPackages ¶
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetCertificate ¶
func (self *SRegion) GetCertificate(certId string) (*SCertificate, error)
func (*SRegion) GetCertificates ¶
func (self *SRegion) GetCertificates(projectId, certificateStatus, searchKey string) ([]SCertificate, error)
ssl.tencentcloudapi.com
状态值 0:审核中,1:已通过,2:审核失败,3:已过期,4:已添加 DNS 解析记录,5:OV/EV 证书,待提交资料,6:订单取消中,7:已取消,8:已提交资料, 待上传确认函。
func (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SQcloudClient
func (*SRegion) GetCloudElasticcacheAccounts ¶
func (self *SRegion) GetCloudElasticcacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
func (*SRegion) GetCloudElasticcacheBackups ¶
func (self *SRegion) GetCloudElasticcacheBackups(instanceId string) ([]SElasticcacheBackup, error)
func (*SRegion) GetCloudElasticcacheParameters ¶
func (self *SRegion) GetCloudElasticcacheParameters(instanceId string) ([]SElasticcacheParameter, error)
func (*SRegion) GetCloudElasticcacheSecurityGroups ¶
func (self *SRegion) GetCloudElasticcacheSecurityGroups(instanceId string) ([]SElasticcacheSecgroup, error)
func (*SRegion) GetCloudElasticcaches ¶
func (self *SRegion) GetCloudElasticcaches(instanceId string) ([]SElasticcache, error)
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetCosClient ¶
func (*SRegion) GetDTables ¶
func (*SRegion) GetDiskConfigSet ¶
func (self *SRegion) GetDiskConfigSet(zoneName string) ([]SDiskConfigSet, error)
func (*SRegion) GetElasticSearch ¶
func (self *SRegion) GetElasticSearch(id string) (*SElasticSearch, error)
func (*SRegion) GetElasticSearchs ¶
func (*SRegion) GetElasticcacheIdByDeal ¶
func (*SRegion) GetGeographicInfo ¶
func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
func (*SRegion) GetGlobalId ¶
func (*SRegion) GetI18n ¶
func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
func (*SRegion) GetIBucketById ¶
func (region *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
func (*SRegion) GetIBucketByName ¶
func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
func (*SRegion) GetIBuckets ¶
func (region *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
func (*SRegion) GetICloudEvents ¶
func (region *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
func (*SRegion) GetICloudKafkaById ¶
func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)
func (*SRegion) GetICloudKafkas ¶
func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)
func (*SRegion) GetICloudKubeClusterById ¶
func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) GetICloudKubeClusters ¶
func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)
func (*SRegion) GetICloudMongoDBById ¶
func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)
func (*SRegion) GetICloudMongoDBs ¶
func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)
func (*SRegion) GetICloudQuotas ¶
func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
func (*SRegion) GetIDBInstanceById ¶
func (self *SRegion) GetIDBInstanceById(id string) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDBInstances ¶
func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDiskById ¶
func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SRegion) GetIEipById ¶
func (self *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIElasticSearchById ¶
func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)
func (*SRegion) GetIElasticSearchs ¶
func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, error)
func (*SRegion) GetIElasticcacheById ¶
func (region *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIElasticcaches ¶
func (region *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIHostById ¶
func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetILoadBalancerAclById ¶
func (self *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerAcls ¶
func (self *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
腾讯云不支持acl
func (*SRegion) GetILoadBalancerBackendGroups ¶
func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SRegion) GetILoadBalancerById ¶
func (self *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetILoadBalancerCertificateById ¶
func (self *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancerCertificates ¶
func (self *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancers ¶
func (self *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetIMySQLs ¶
func (self *SRegion) GetIMySQLs() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetINetworkInterfaces ¶
func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
func (*SRegion) GetISecurityGroupById ¶
func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISecurityGroupByName ¶
func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetISnapshotPolicies ¶
func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshotPolicyById ¶
func (self *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshots ¶
func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetIStorageById ¶
func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStorages ¶
func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SRegion) GetITDSQLs ¶
func (self *SRegion) GetITDSQLs() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIVMById ¶
func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SRegion) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetImageQuota ¶
func (region *SRegion) GetImageQuota() (*ImageQuota, error)
func (*SRegion) GetImageStatus ¶
func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
func (*SRegion) GetImportImageParams ¶
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceStatus ¶
func (*SRegion) GetInstanceTypes ¶
func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
func (*SRegion) GetInstanceVNCUrl ¶
func (*SRegion) GetInstances ¶
func (*SRegion) GetKafkaTopics ¶
func (self *SRegion) GetKafkaTopics(insId string, limit, offset int) ([]cloudprovider.SKafkaTopic, int, error)
func (*SRegion) GetKeypairs ¶
func (*SRegion) GetKubeCluster ¶
func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)
func (*SRegion) GetKubeClusters ¶
func (*SRegion) GetKubeConfig ¶
func (self *SRegion) GetKubeConfig(clusterId string, private bool) (*cloudprovider.SKubeconfig, error)
func (*SRegion) GetKubeNodePools ¶
func (self *SRegion) GetKubeNodePools(clusterId string) ([]SKubeNodePool, error)
func (*SRegion) GetKubeNodes ¶
func (*SRegion) GetLBBackends ¶
func (self *SRegion) GetLBBackends(t LB_TYPE, lbId, listenerId, ruleId string) ([]SLBBackend, error)
注意http、https监听器必须指定ruleId
func (*SRegion) GetLBTaskStatus ¶
https://cloud.tencent.com/document/product/214/30683 任务的当前状态。 0:成功,1:失败,2:进行中
func (*SRegion) GetLoadbalancer ¶
func (self *SRegion) GetLoadbalancer(id string) (*SLoadbalancer, error)
func (*SRegion) GetLoadbalancerListeners ¶
func (*SRegion) GetLoadbalancers ¶
func (self *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
func (*SRegion) GetMatchInstanceTypes ¶
func (*SRegion) GetMemcaches ¶
func (*SRegion) GetMongoDBBackups ¶
func (self *SRegion) GetMongoDBBackups(id string) ([]cloudprovider.SMongoDBBackup, error)
func (*SRegion) GetMongoDBs ¶
func (*SRegion) GetMySQLInstanceBackup ¶
func (self *SRegion) GetMySQLInstanceBackup(instanceId, backupId string) (*SMySQLInstanceBackup, error)
func (*SRegion) GetMySQLInstanceById ¶
func (self *SRegion) GetMySQLInstanceById(id string) (*SMySQLInstance, error)
func (*SRegion) GetNatGateways ¶
func (*SRegion) GetNetworkInterfaces ¶
func (*SRegion) GetNetworks ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetSecurityGroups ¶
func (*SRegion) GetSkus ¶
func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error)
func (*SRegion) GetSnapshotIdByDiskId ¶
func (*SRegion) GetSnapshotPolicies ¶
func (*SRegion) GetSnapshots ¶
func (*SRegion) GetSupportImageSet ¶
func (self *SRegion) GetSupportImageSet() (*SupportImageSet, error)
func (*SRegion) GetTDSQLAccount ¶
func (self *SRegion) GetTDSQLAccount(id string) ([]STDSQLAccount, error)
func (*SRegion) GetTDSQLDatabases ¶
func (self *SRegion) GetTDSQLDatabases(id string) ([]STDSQLDatabase, error)
func (*SRegion) GetTDSQLSecurityGroups ¶
func (self *SRegion) GetTDSQLSecurityGroups(id string) ([]STDSQLSecurityGroup, error)
func (*SRegion) GetVpcPeeringConnectionbyId ¶
func (*SRegion) GetZoneInstanceTypes ¶
func (self *SRegion) GetZoneInstanceTypes(zoneId string) ([]SZoneInstanceType, error)
func (*SRegion) GetZoneLocalStorages ¶
func (*SRegion) GrantAccountPrivilege ¶
func (*SRegion) ImportImage ¶
func (*SRegion) ImportKeypair ¶
func (*SRegion) InitMySQLDBInstances ¶
func (*SRegion) IsEmulated ¶
func (*SRegion) IsolateMongoDB ¶
func (*SRegion) IsolateMySQLDBInstance ¶
func (*SRegion) ListMariadbSkus ¶
func (self *SRegion) ListMariadbSkus() ([]SDBInstanceSku, error)
func (*SRegion) ListMySQLInstances ¶
func (*SRegion) ListMysqlSkus ¶
func (self *SRegion) ListMysqlSkus() ([]SDBInstanceSku, error)
func (*SRegion) ListPostgreSQLSkus ¶
func (self *SRegion) ListPostgreSQLSkus() ([]SDBInstanceSku, error)
func (*SRegion) ListSQLServerSkus ¶
func (self *SRegion) ListSQLServerSkus() ([]SDBInstanceSku, error)
func (*SRegion) ModifyMySQLAccountPassword ¶
func (*SRegion) ModifyMySQLAutoRenewFlag ¶
func (*SRegion) ModifyMySQLInstanceSecurityGroups ¶
func (*SRegion) OfflineIsolatedMongoDB ¶
func (*SRegion) OfflineIsolatedMySQLInstances ¶
func (*SRegion) OpenMySQLWanService ¶
func (*SRegion) QueryAccountBalance ¶
func (self *SRegion) QueryAccountBalance() (*SAccountBalance, error)
func (*SRegion) RebootMySQLInstance ¶
func (*SRegion) ReleaseIsolatedMySQLDBInstances ¶
func (*SRegion) RenewInstances ¶
func (region *SRegion) RenewInstances(instanceId []string, bc billing.SBillingCycle) error
func (*SRegion) RenewMySQLDBInstance ¶
func (*SRegion) ReplaceSystemDisk ¶
func (*SRegion) ResizeDisk ¶
func (*SRegion) RevokeAccountPrivilege ¶
func (*SRegion) SaveImage ¶
func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
func (*SRegion) SetInstanceAutoRenew ¶
func (*SRegion) SetResourceTags ¶
func (*SRegion) StopVM ¶
func (self *SRegion) StopVM(instanceId string, opts *cloudprovider.ServerStopOptions) error
func (*SRegion) UpdateInstanceBandwidth ¶
func (*SRegion) UpdateInstancePassword ¶
func (*SRegion) UpdateLoadbalancerListener ¶
func (*SRegion) UpdateSnapshotPolicy ¶
func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error
func (*SRegion) UpgradeMySQLDBInstance ¶
type SRegionSaleInfo ¶
type SRegionSaleInfo struct { AvailableChoice []SAvailableChoice Region string RegionId string RegionName string ZoneList []SaleZoneInfo }
type SRegionSellConf ¶
type SRegionSellConf struct { RegionName string Area string IsDefaultRegion bool Region string ZonesConf []SZoneSellConf }
type SRoVipInfo ¶
type SRole ¶
type SRole struct { multicloud.SResourceBase AddTime time.Time ConsoleLogin float32 Description string PolicyDocument string RoleId string RoleName string RoleType string SessionDuration float32 UpdateTime time.Time // contains filtered or unexported fields }
func (*SRole) AttachPolicy ¶
func (*SRole) DetachPolicy ¶
func (*SRole) GetDocument ¶
func (*SRole) GetGlobalId ¶
func (*SRole) GetICloudpolicies ¶
func (self *SRole) GetICloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SRole) GetSAMLProvider ¶
type SRouteSet ¶
type SRouteSet struct { multicloud.SResourceBase QcloudTags RouteID int `json:"RouteId"` RouteItemID string `json:"RouteItemId"` DestinationIpv6CidrBlock string `json:"DestinationIpv6CidrBlock,omitempty"` GatewayType string `json:"GatewayType"` GatewayID string `json:"GatewayId"` RouteDescription string `json:"RouteDescription"` DestinationCidrBlock string `json:"DestinationCidrBlock,omitempty"` RouteType string `json:"RouteType"` }
func (*SRouteSet) GetGlobalId ¶
func (*SRouteSet) GetNextHop ¶
func (*SRouteSet) GetNextHopType ¶
func (*SRouteSet) IsEmulated ¶
type SRouteTableSet ¶
type SRouteTableSet struct { multicloud.SResourceBase QcloudTags VpcID string `json:"VpcId"` RouteTableID string `json:"RouteTableId"` RouteTableName string `json:"RouteTableName"` AssociationSet []RouteTableAssociationSet `json:"AssociationSet"` RouteSet []SRouteSet `json:"RouteSet"` Main bool `json:"Main"` CreatedTime string `json:"CreatedTime"` // contains filtered or unexported fields }
func (*SRouteTableSet) CreateRoute ¶
func (self *SRouteTableSet) CreateRoute(route cloudprovider.RouteSet) error
func (*SRouteTableSet) GetAssociations ¶
func (self *SRouteTableSet) GetAssociations() []cloudprovider.RouteTableAssociation
func (*SRouteTableSet) GetDescription ¶
func (self *SRouteTableSet) GetDescription() string
func (*SRouteTableSet) GetGlobalId ¶
func (self *SRouteTableSet) GetGlobalId() string
func (*SRouteTableSet) GetIRoutes ¶
func (self *SRouteTableSet) GetIRoutes() ([]cloudprovider.ICloudRoute, error)
func (*SRouteTableSet) GetId ¶
func (self *SRouteTableSet) GetId() string
func (*SRouteTableSet) GetName ¶
func (self *SRouteTableSet) GetName() string
func (*SRouteTableSet) GetRegionId ¶
func (self *SRouteTableSet) GetRegionId() string
func (*SRouteTableSet) GetStatus ¶
func (self *SRouteTableSet) GetStatus() string
func (*SRouteTableSet) GetType ¶
func (self *SRouteTableSet) GetType() cloudprovider.RouteTableType
func (*SRouteTableSet) GetVpcId ¶
func (self *SRouteTableSet) GetVpcId() string
func (*SRouteTableSet) IsEmulated ¶
func (self *SRouteTableSet) IsEmulated() bool
func (*SRouteTableSet) Refresh ¶
func (self *SRouteTableSet) Refresh() error
func (*SRouteTableSet) RemoveRoute ¶
func (self *SRouteTableSet) RemoveRoute(route cloudprovider.RouteSet) error
func (*SRouteTableSet) UpdateRoute ¶
func (self *SRouteTableSet) UpdateRoute(route cloudprovider.RouteSet) error
type SSecurityGroup ¶
type SSecurityGroup struct { multicloud.SSecurityGroup QcloudTags SecurityGroupId string // 安全组实例ID,例如:sg-ohuuioma。 SecurityGroupName string // 安全组名称,可任意命名,但不得超过60个字符。 SecurityGroupDesc string // 安全组备注,最多100个字符。 ProjectId string // 项目id,默认0。可在qcloud控制台项目管理页面查询到。 IsDefault bool // 是否是默认安全组,默认安全组不支持删除。 CreatedTime time.Time // 安全组创建时间。 SecurityGroupPolicySet SecurityGroupPolicySet // contains filtered or unexported fields }
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetProjectId ¶
func (self *SSecurityGroup) GetProjectId() string
func (*SSecurityGroup) GetReferences ¶
func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
func (*SSecurityGroup) GetRules ¶
func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
func (*SSecurityGroup) GetStatus ¶
func (self *SSecurityGroup) GetStatus() string
func (*SSecurityGroup) GetVpcId ¶
func (self *SSecurityGroup) GetVpcId() string
func (*SSecurityGroup) IsEmulated ¶
func (self *SSecurityGroup) IsEmulated() bool
func (*SSecurityGroup) Refresh ¶
func (self *SSecurityGroup) Refresh() error
func (*SSecurityGroup) SyncRules ¶
func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
type SSellType ¶
type SSellType struct { TypeName string EngineVersion []string Configs []SellTypeConfig }
type SSnapshot ¶
type SSnapshot struct { multicloud.SResourceBase QcloudTags SnapshotId string // 快照ID。 Placement Placement // 快照所在的位置。 DiskUsage string // 创建此快照的云硬盘类型。取值范围:SYSTEM_DISK:系统盘 DATA_DISK:数据盘。 DiskId string // 创建此快照的云硬盘ID。 DiskSize int32 // 创建此快照的云硬盘大小,单位GB。 SnapshotState SnapshotStatusType // 快照的状态。取值范围: NORMAL:正常 CREATING:创建中 ROLLBACKING:回滚中 COPYING_FROM_REMOTE:跨地域复制快照拷贝中。 SnapshotName string // 快照名称,用户自定义的快照别名。调用ModifySnapshotAttribute可修改此字段。 Percent int // 快照创建进度百分比,快照创建成功后此字段恒为100。 CreateTime time.Time // 快照的创建时间。 DeadlineTime time.Time // 快照到期时间。如果快照为永久保留,此字段为空。 Encrypt bool // 是否为加密盘创建的快照。取值范围:true:该快照为加密盘创建的 false:非加密盘创建的快照。 IsPermanent bool // 是否为永久快照。取值范围: true:永久快照 false:非永久快照。 CopyingToRegions []string // 快照正在跨地域复制的目的地域,默认取值为[]。 CopyFromRemote bool // 是否为跨地域复制的快照。取值范围:true:表示为跨地域复制的快照。 false:本地域的快照。 // contains filtered or unexported fields }
func (*SSnapshot) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) GetProjectId ¶
func (*SSnapshot) GetRegionId ¶
func (*SSnapshot) IsEmulated ¶
type SSnapshotDatePolicy ¶
type SSnapshotPolicy ¶
type SSnapshotPolicy struct { multicloud.SResourceBase QcloudTags AutoSnapshotPolicyName string AutoSnapshotPolicyId string AutoSnapshotPolicyState string RetentionDays int Policy []SSnapshotDatePolicy Activated bool `json:"IsActivated"` IsPermanent bool // contains filtered or unexported fields }
func (*SSnapshotPolicy) Delete ¶
func (self *SSnapshotPolicy) Delete() error
func (*SSnapshotPolicy) GetGlobalId ¶
func (self *SSnapshotPolicy) GetGlobalId() string
func (*SSnapshotPolicy) GetId ¶
func (self *SSnapshotPolicy) GetId() string
func (*SSnapshotPolicy) GetName ¶
func (self *SSnapshotPolicy) GetName() string
func (*SSnapshotPolicy) GetProjectId ¶
func (self *SSnapshotPolicy) GetProjectId() string
func (*SSnapshotPolicy) GetRepeatWeekdays ¶
func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)
func (*SSnapshotPolicy) GetRetentionDays ¶
func (self *SSnapshotPolicy) GetRetentionDays() int
func (*SSnapshotPolicy) GetStatus ¶
func (self *SSnapshotPolicy) GetStatus() string
func (*SSnapshotPolicy) GetTimePoints ¶
func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)
func (*SSnapshotPolicy) IsActivated ¶
func (self *SSnapshotPolicy) IsActivated() bool
func (*SSnapshotPolicy) IsEmulated ¶
func (self *SSnapshotPolicy) IsEmulated() bool
func (*SSnapshotPolicy) Refresh ¶
func (self *SSnapshotPolicy) Refresh() error
type SStorage ¶
type SStorage struct { multicloud.SStorageBase // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetIDisks ¶
func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SStorage) GetIStoragecache ¶
func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SStorage) GetIZone ¶
func (self *SStorage) GetIZone() cloudprovider.ICloudZone
func (*SStorage) GetMediumType ¶
func (*SStorage) GetMountPoint ¶
func (*SStorage) GetStorageConf ¶
func (self *SStorage) GetStorageConf() jsonutils.JSONObject
func (*SStorage) GetStorageType ¶
func (*SStorage) IsEmulated ¶
func (*SStorage) IsSysDiskStore ¶
type SStorageBlockAttr ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase QcloudTags // contains filtered or unexported fields }
func (*SStoragecache) CreateIImage ¶
func (self *SStoragecache) CreateIImage(snapshoutId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) Refresh ¶
func (self *SStoragecache) Refresh() error
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type STDSQL ¶
type STDSQL struct { multicloud.SDBInstanceBase // multicloud.SBillingBase QcloudTags AppId int `json:"AppId"` AutoRenewFlag int `json:"AutoRenewFlag"` CPU int `json:"Cpu"` CreateTime time.Time `json:"CreateTime"` DbEngine string `json:"DbEngine"` DbVersion string `json:"DbVersion"` DcnDstNum int `json:"DcnDstNum"` DcnFlag int `json:"DcnFlag"` DcnStatus int `json:"DcnStatus"` ExclusterId string `json:"ExclusterId"` Id int `json:"Id"` InstanceId string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceType int `json:"InstanceType"` Ipv6Flag int `json:"Ipv6Flag"` IsAuditSupported int `json:"IsAuditSupported"` IsTmp int `json:"IsTmp"` IsolatedTimestamp string `json:"IsolatedTimestamp"` Locker int `json:"Locker"` Memory int `json:"Memory"` NodeCount int `json:"NodeCount"` Paymode string `json:"Paymode"` PeriodEndTime string `json:"PeriodEndTime"` Pid int `json:"Pid"` ProjectId int `json:"ProjectId"` Region string `json:"Region"` ShardCount int `json:"ShardCount"` ShardDetail []ShardDetail `json:"ShardDetail"` Status int `json:"Status"` StatusDesc string `json:"StatusDesc"` Storage int `json:"Storage"` SubnetId int `json:"SubnetId"` Uin string `json:"Uin"` UniqueSubnetId string `json:"UniqueSubnetId"` UniqueVpcId string `json:"UniqueVpcId"` UpdateTime string `json:"UpdateTime"` Vip string `json:"Vip"` Vipv6 string `json:"Vipv6"` VpcId int `json:"VpcId"` Vport int `json:"Vport"` WanDomain string `json:"WanDomain"` WanPort int `json:"WanPort"` WanPortIpv6 int `json:"WanPortIpv6"` WanStatus int `json:"WanStatus"` WanStatusIpv6 int `json:"WanStatusIpv6"` WanVip string `json:"WanVip"` WanVipv6 string `json:"WanVipv6"` Zone string `json:"Zone"` // contains filtered or unexported fields }
func (*STDSQL) ChangeConfig ¶
func (self *STDSQL) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*STDSQL) ClosePublicConnection ¶
func (*STDSQL) CreateAccount ¶
func (self *STDSQL) CreateAccount(opts *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*STDSQL) CreateDatabase ¶
func (self *STDSQL) CreateDatabase(opts *cloudprovider.SDBInstanceDatabaseCreateConfig) error
func (*STDSQL) CreateIBackup ¶
func (self *STDSQL) CreateIBackup(opts *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*STDSQL) GetBillingType ¶
func (*STDSQL) GetCategory ¶
func (*STDSQL) GetConnectionStr ¶
func (*STDSQL) GetCreatedAt ¶
func (*STDSQL) GetDBNetworks ¶
func (self *STDSQL) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*STDSQL) GetDiskSizeGB ¶
func (*STDSQL) GetEngineVersion ¶
func (*STDSQL) GetGlobalId ¶
func (*STDSQL) GetIDBInstanceAccounts ¶
func (self *STDSQL) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*STDSQL) GetIDBInstanceBackups ¶
func (self *STDSQL) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*STDSQL) GetIDBInstanceDatabases ¶
func (self *STDSQL) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*STDSQL) GetIDBInstanceParameters ¶
func (self *STDSQL) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*STDSQL) GetInstanceType ¶
func (*STDSQL) GetInternalConnectionStr ¶
func (*STDSQL) GetMaintainTime ¶
func (*STDSQL) GetMasterInstanceId ¶
func (*STDSQL) GetProjectId ¶
func (*STDSQL) GetSecurityGroupIds ¶
func (*STDSQL) GetStatus ¶
0 创建中,1 流程处理中, 2 运行中,3 实例未初始化,-1 实例已隔离,-2 实例已删除,4 实例初始化中,5 实例删除中,6 实例重启中,7 数据迁移中
func (*STDSQL) GetStorageType ¶
func (*STDSQL) GetVcpuCount ¶
func (*STDSQL) GetVmemSizeMB ¶
func (*STDSQL) GetZone1Id ¶
func (*STDSQL) GetZone2Id ¶
func (*STDSQL) GetZone3Id ¶
func (*STDSQL) OpenPublicConnection ¶
func (*STDSQL) RecoveryFromBackup ¶
func (self *STDSQL) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
func (*STDSQL) SetSecurityGroups ¶
type STDSQLAccount ¶
type STDSQLAccount struct { multicloud.SDBInstanceAccountBase QcloudTags UserName string Host string Description string CreateTime string UpdateTime string ReadOnly int DelayThresh int // contains filtered or unexported fields }
func (*STDSQLAccount) Delete ¶
func (self *STDSQLAccount) Delete() error
func (*STDSQLAccount) GetHost ¶
func (self *STDSQLAccount) GetHost() string
func (*STDSQLAccount) GetIDBInstanceAccountPrivileges ¶
func (self *STDSQLAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
func (*STDSQLAccount) GetName ¶
func (self *STDSQLAccount) GetName() string
func (*STDSQLAccount) GrantPrivilege ¶
func (self *STDSQLAccount) GrantPrivilege(database, privilege string) error
func (*STDSQLAccount) RevokePrivilege ¶
func (self *STDSQLAccount) RevokePrivilege(database string) error
type STDSQLDatabase ¶
type STDSQLDatabase struct { multicloud.SResourceBase QcloudTags DbName string // contains filtered or unexported fields }
func (*STDSQLDatabase) Delete ¶
func (self *STDSQLDatabase) Delete() error
func (*STDSQLDatabase) GetCharacterSet ¶
func (self *STDSQLDatabase) GetCharacterSet() string
func (*STDSQLDatabase) GetGlobalId ¶
func (self *STDSQLDatabase) GetGlobalId() string
func (*STDSQLDatabase) GetId ¶
func (self *STDSQLDatabase) GetId() string
func (*STDSQLDatabase) GetName ¶
func (self *STDSQLDatabase) GetName() string
func (*STDSQLDatabase) GetStatus ¶
func (self *STDSQLDatabase) GetStatus() string
type STDSQLSecurityGroup ¶
type STablePrivilege ¶
type SUser ¶
type SUser struct { multicloud.SBaseClouduser Uin int64 Name string Uid int64 Remark string ConsoleLogin int CountryCode string Email string // contains filtered or unexported fields }
func (*SUser) AttachCustomPolicy ¶
func (*SUser) AttachSystemPolicy ¶
func (*SUser) DetachCustomPolicy ¶
func (*SUser) DetachSystemPolicy ¶
func (*SUser) GetEmailAddr ¶
func (*SUser) GetGlobalId ¶
func (*SUser) GetICloudgroups ¶
func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SUser) GetICustomCloudpolicies ¶
func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetISystemCloudpolicies ¶
func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetInviteUrl ¶
func (*SUser) IsConsoleLogin ¶
func (*SUser) ResetPassword ¶
type SVpc ¶
type SVpc struct { multicloud.SVpc QcloudTags CidrBlock string CreatedTime time.Time DhcpOptionsId string DnsServerSet []string DomainName string EnableMulticast bool IsDefault bool VpcId string VpcName string // contains filtered or unexported fields }
func (*SVpc) AcceptCrossRegionSVpcPeeringConnection ¶
func (*SVpc) AcceptICloudVpcPeeringConnection ¶
func (*SVpc) AcceptSVpcPeeringConnection ¶
func (*SVpc) CreateCrossRegionSVpcPeeringConnection ¶
func (self *SVpc) CreateCrossRegionSVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPC, error)
func (*SVpc) CreateICloudVpcPeeringConnection ¶
func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) CreateSVpcPeeringConnection ¶
func (self *SVpc) CreateSVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPC, error)
func (*SVpc) GetAccepterSVpcPeeringConnections ¶
func (*SVpc) GetAuthorityOwnerId ¶
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetICloudAccepterVpcPeeringConnections ¶
func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudVpcPeeringConnectionById ¶
func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudVpcPeeringConnections ¶
func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
func (*SVpc) GetSVpcPeeringConnectionById ¶
func (*SVpc) GetSVpcPeeringConnections ¶
func (*SVpc) IsEmulated ¶
func (*SVpc) ProposeJoinICloudInterVpcNetwork ¶
func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
type SVpcPC ¶
type SVpcPC struct { multicloud.SResourceBase QcloudTags VpcID string `json:"vpcId"` UnVpcID string `json:"unVpcId"` PeerVpcID string `json:"peerVpcId"` UnPeerVpcID string `json:"unPeerVpcId"` AppID string `json:"appId"` PeeringConnectionID string `json:"peeringConnectionId"` PeeringConnectionName string `json:"peeringConnectionName"` State int `json:"state"` CreateTime string `json:"createTime"` Uin string `json:"uin"` PeerUin string `json:"peerUin"` Region string `json:"region"` PeerRegion string `json:"peerRegion"` // contains filtered or unexported fields }
func (*SVpcPC) GetEnabled ¶
func (*SVpcPC) GetGlobalId ¶
func (*SVpcPC) GetPeerAccountId ¶
func (*SVpcPC) GetPeerVpcId ¶
func (*SVpcPC) IsCrossRegion ¶
type SWire ¶
type SWire struct { multicloud.SResourceBase QcloudTags // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) GetNetworkById ¶
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.SResourceBase QcloudTags Zone string ZoneName string ZoneState string // contains filtered or unexported fields }
func (*SZone) GetGlobalId ¶
func (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SZone) GetIWires ¶
func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SZone) IsEmulated ¶
type SZoneInstanceType ¶
type SZoneSellConf ¶
type SaleZoneInfo ¶
type SecurityGroupPolicy ¶
type SecurityGroupPolicy struct { PolicyIndex int // 安全组规则索引号。 Protocol string // 协议, 取值: TCP,UDP, ICMP。 Port string // 端口(all, 离散port, range)。 ServiceTemplate ServiceTemplateSpecification // 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。 CidrBlock string // 网段或IP(互斥)。 SecurityGroupId string // 已绑定安全组的网段或IP。 AddressTemplate AddressTemplateSpecification // IP地址ID或者ID地址组ID。 Action string // ACCEPT 或 DROP。 PolicyDescription string // 安全组规则描述。 // contains filtered or unexported fields }
func (*SecurityGroupPolicy) String ¶
func (self *SecurityGroupPolicy) String() string
type SecurityGroupPolicySet ¶
type SecurityGroupPolicySet struct { Version string Egress []SecurityGroupPolicy // 出站规则。 Ingress []SecurityGroupPolicy // 入站规则。 }
type SellTypeConfig ¶
type ShardDetail ¶
type ShardDetail struct { CPU int `json:"Cpu"` Createtime string `json:"Createtime"` Memory int `json:"Memory"` NodeCount int `json:"NodeCount"` Pid int `json:"Pid"` ShardId int `json:"ShardId"` ShardInstanceId string `json:"ShardInstanceId"` ShardSerialId string `json:"ShardSerialId"` Status int `json:"Status"` Storage int `json:"Storage"` }
type SlaveInfo ¶
type SlaveInfo struct { First SlaveInstanceInfo Second SlaveInstanceInfo }
type SlaveInstanceInfo ¶
type SnapshotStatusType ¶
type SnapshotStatusType string
const ( SnapshotStatusAccomplished SnapshotStatusType = "NORMAL" SnapshotStatusProgress SnapshotStatusType = "CREATING" SnapshotStatusFailed SnapshotStatusType = "failed" )
type SpecInfoList ¶
type SpecInfoList struct { Region string Zone string SpecItemInfoList []SpecItemInfoList }
type SpecItemInfoList ¶
type SqlServerSpecInfoList ¶
type Statement ¶
type Statement struct { Action string Effect string Principal SPrincipal }
type SupportImageSet ¶
type SupportImageSet struct { ImportImageOsListSupported ImportImageOsListSupported ImportImageOsVersionSet []ImportImageOsVersionSet }
type SystemDisk ¶
type VirtualPrivateCloud ¶
type VirtualPrivateCloud struct { VpcId string // 私有网络ID,形如vpc-xxx。有效的VpcId可通过登录控制台查询;也可以调用接口 DescribeVpcEx ,从接口返回中的unVpcId字段获取。 SubnetId string // 私有网络子网ID,形如subnet-xxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 DescribeSubnets ,从接口返回中的unSubnetId字段获取。 AsVpcGateway bool // 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:TRUE:表示用作公网网关 FALSE:表示不用作公网网关 默认取值:FALSE。 PrivateIpAddresses []string // 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。当前仅批量创建多台实例时支持传入相同子网的多个 IP。 }
Source Files ¶
- bandwidthpackage.go
- bucket.go
- cam_collaborator.go
- cam_group.go
- cam_policy.go
- cam_role.go
- cam_user.go
- cdn.go
- certificate.go
- cloud_connect_network.go
- cloud_connect_network_route.go
- dbinstance.go
- deal.go
- disk.go
- dnspod_domain.go
- dnspod_record.go
- doc.go
- eip.go
- elastic_search.go
- elasticcache_account.go
- elasticcache_backup.go
- elasticcache_instance.go
- elasticcache_parameters.go
- elasticcache_secgroup.go
- elasticcache_task.go
- errors.go
- events.go
- host.go
- image.go
- instance.go
- instancenic.go
- instancetype.go
- kafka.go
- kafka_topic.go
- keypair.go
- kube_clusters.go
- kube_node_pools.go
- kube_nodes.go
- latitud_and_longitude.go
- loadbalancer.go
- loadbalancer_acl.go
- loadbalancer_backend.go
- loadbalancer_backendgroup.go
- loadbalancer_listener.go
- loadbalancer_listenerrule.go
- localdisk.go
- localstorage.go
- memcached.go
- mongodb.go
- monitor.go
- natdtable.go
- natgateway.go
- network.go
- networkinterface.go
- object.go
- project.go
- qcloud.go
- quota.go
- rds_mariadb_sku.go
- rds_mysql.go
- rds_mysql_account.go
- rds_mysql_backup.go
- rds_mysql_database.go
- rds_mysql_sku.go
- rds_postgre_sku.go
- rds_sqlserver_sku.go
- rds_tdsql.go
- region.go
- route_table.go
- saml_provider.go
- securitygroup.go
- snapshot.go
- snapshot_policy.go
- storage.go
- storagecache.go
- sts.go
- tag_base.go
- tags.go
- tdsql_account.go
- tdsql_database.go
- types.go
- vpc.go
- vpc_peering_connection.go
- wire.go
- zone.go