Versions in this module Expand all Collapse all v1 v1.0.3 Dec 29, 2023 v1.0.2 Dec 29, 2023 v1.0.1 Dec 29, 2023 v1.0.0 Dec 29, 2023 Changes in this version + const ACLAuthRead + const ACLPrivate + const ACLPublicRead + const ACLPublicReadWrite + const ACLUnknown + const BackupMethodLogical + const BackupMethodPhysical + const BackupMethodUnknown + const CLOUD_CAPABILITY_APP + const CLOUD_CAPABILITY_CACHE + const CLOUD_CAPABILITY_CDN + const CLOUD_CAPABILITY_CERT + const CLOUD_CAPABILITY_CLOUDID + const CLOUD_CAPABILITY_COMPUTE + const CLOUD_CAPABILITY_CONTAINER + const CLOUD_CAPABILITY_DNSZONE + const CLOUD_CAPABILITY_EIP + const CLOUD_CAPABILITY_ES + const CLOUD_CAPABILITY_EVENT + const CLOUD_CAPABILITY_INTERVPCNETWORK + const CLOUD_CAPABILITY_IPV6_GATEWAY + const CLOUD_CAPABILITY_KAFKA + const CLOUD_CAPABILITY_LOADBALANCER + const CLOUD_CAPABILITY_MISC + const CLOUD_CAPABILITY_MODELARTES + const CLOUD_CAPABILITY_MONGO_DB + const CLOUD_CAPABILITY_NAS + const CLOUD_CAPABILITY_NAT + const CLOUD_CAPABILITY_NETWORK + const CLOUD_CAPABILITY_OBJECTSTORE + const CLOUD_CAPABILITY_PROJECT + const CLOUD_CAPABILITY_PUBLIC_IP + const CLOUD_CAPABILITY_QUOTA + const CLOUD_CAPABILITY_RDS + const CLOUD_CAPABILITY_SAML_AUTH + const CLOUD_CAPABILITY_SECURITY_GROUP + const CLOUD_CAPABILITY_SNAPSHOT_POLICY + const CLOUD_CAPABILITY_TABLESTORE + const CLOUD_CAPABILITY_VPC_PEER + const CLOUD_CAPABILITY_WAF + const CLOUD_CONFIG + const CLOUD_EC2 + const CLOUD_ENV_ON_PREMISE + const CLOUD_ENV_PRIVATE_CLOUD + const CLOUD_ENV_PRIVATE_ON_PREMISE + const CLOUD_ENV_PUBLIC_CLOUD + const CLOUD_POWER_SHELL + const CLOUD_SHELL + const CLOUD_SHELL_WITHOUT_ENCRYPT + const CloudVMStatusChangeFlavor + const CloudVMStatusDeploying + const CloudVMStatusOther + const CloudVMStatusRunning + const CloudVMStatusStopped + const CloudVMStatusStopping + const CloudVMStatusSuspend + const ContinuousTTlRange + const DiscreteTTlRange + const DnsPolicyTypeByCarrier + const DnsPolicyTypeByGeoLocation + const DnsPolicyTypeBySearchEngine + const DnsPolicyTypeFailover + const DnsPolicyTypeIpRange + const DnsPolicyTypeLatency + const DnsPolicyTypeMultiValueAnswer + const DnsPolicyTypeSimple + const DnsPolicyTypeWeighted + const DnsProductEnterpriseBasic + const DnsProductEnterpriseStandard + const DnsProductEnterpriseUltimate + const DnsProductFree + const DnsProductPersonalProfessional + const DnsTypeA + const DnsTypeAAAA + const DnsTypeCAA + const DnsTypeCNAME + const DnsTypeDNSKEY + const DnsTypeDS + const DnsTypeFORWARD_URL + const DnsTypeIPSECKEY + const DnsTypeMX + const DnsTypeNAPTR + const DnsTypeNS + const DnsTypePTR + const DnsTypeREDIRECT_URL + const DnsTypeSOA + const DnsTypeSPF + const DnsTypeSRV + const DnsTypeSSHFP + const DnsTypeTLSA + const DnsTypeTXT + const ErrAccountReadOnly + const ErrAddressCountExceed + const ErrDuplicateId + const ErrForbidden + const ErrInputParameter + const ErrInvalidAccessKey + const ErrInvalidProvider + const ErrInvalidSku + const ErrInvalidStatus + const ErrMissingParameter + const ErrNoBalancePermission + const ErrNoPermission + const ErrNoSuchProvder + const ErrNotFound + const ErrNotImplemented + const ErrNotSupported + const ErrTimeout + const ErrTooLarge + const ErrTooManyRequests + const ErrUnauthorized + const ErrUnknown + const ErrUnsupportedProtocol + const IMAGE_STATUS_ACTIVE + const IMAGE_STATUS_DELETED + const IMAGE_STATUS_KILLED + const IMAGE_STATUS_QUEUED + const IMAGE_STATUS_SAVING + const ImageTypeCustomized + const ImageTypeMarket + const ImageTypeShared + const ImageTypeSystem + const MAX_PUT_OBJECT_SIZEBYTES + const META_HEADER_CACHE_CONTROL + const META_HEADER_CONTENT_DISPOSITION + const META_HEADER_CONTENT_ENCODING + const META_HEADER_CONTENT_LANGUAGE + const META_HEADER_CONTENT_MD5 + const META_HEADER_CONTENT_TYPE + const META_HEADER_PREFIX + const MongoDBBackupMethodLogical + const MongoDBBackupMethodPhysical + const MongoDBBackupStatusAvailable + const MongoDBBackupStatusCreating + const MongoDBBackupStatusFailed + const MongoDBBackupStatusUnknown + const MongoDBBackupTypeAuto + const MongoDBBackupTypeManual + const PrivateZone + const PublicZone + const READ_ONLY_SUFFIX + const RWAccessTypeR + const RWAccessTypeRW + const RouteTableAssociaToRouter + const RouteTableAssociaToSubnet + const RouteTableTypeCustom + const RouteTableTypeSystem + const SAML_ENTITY_ID_ALIYUN_ROLE + const SAML_ENTITY_ID_AWS + const SAML_ENTITY_ID_AWS_CN + const SAML_ENTITY_ID_AZURE + const SAML_ENTITY_ID_GOOGLE + const SAML_ENTITY_ID_HUAWEI_CLOUD + const SAML_ENTITY_ID_QCLOUD + const SET_TAGS + const UserAccessTypeAllSquash + const UserAccessTypeNoRootSquash + const UserAccessTypeRootSquash + var ALL_BUCKET_TYPES = []TMetricType + var ALL_EIP_TYPES = []TMetricType + var ALL_HOST_METRIC_TYPES = []TMetricType + var ALL_K8S_NODE_TYPES = []TMetricType + var ALL_LB_METRIC_TYPES = []TMetricType + var ALL_RDS_METRIC_TYPES = []TMetricType + var ALL_REDIS_METRIC_TYPES = []TMetricType + var ALL_VM_METRIC_TYPES = []TMetricType + var AwsFailovers = []TDnsPolicyValue + var AwsGeoLocations = []TDnsPolicyValue + var AwsRegions = []TDnsPolicyValue + var BIOS = TBiosType("BIOS") + var DnsPolicyValueBaidu = TDnsPolicyValue("baidu") + var DnsPolicyValueBing = TDnsPolicyValue("bing") + var DnsPolicyValueBtvn = TDnsPolicyValue("btvn") + var DnsPolicyValueCernet = TDnsPolicyValue("cernet") + var DnsPolicyValueChinaMobile = TDnsPolicyValue("chinamobile") + var DnsPolicyValueDrPeng = TDnsPolicyValue("drpeng") + var DnsPolicyValueEmpty = TDnsPolicyValue("") + var DnsPolicyValueEuro = TDnsPolicyValue("os_euro") + var DnsPolicyValueGoogle = TDnsPolicyValue("google") + var DnsPolicyValueMainland = TDnsPolicyValue("mainland") + var DnsPolicyValueNAmerica = TDnsPolicyValue("os_namerica") + var DnsPolicyValueOversea = TDnsPolicyValue("oversea") + var DnsPolicyValueQihu360 = TDnsPolicyValue("qihu360") + var DnsPolicyValueSougou = TDnsPolicyValue("sougou") + var DnsPolicyValueSousou = TDnsPolicyValue("sousou") + var DnsPolicyValueTelecom = TDnsPolicyValue("telecom") + var DnsPolicyValueUnicom = TDnsPolicyValue("unicom") + var DnsPolicyValueYoudao = TDnsPolicyValue("youdao") + var ElasticipChargeTypeByBandwidth = TElasticipChargeType("bandwidth") + var ElasticipChargeTypeByTraffic = TElasticipChargeType("traffic") + var OsTypeLinux = TOsType(osprofile.OS_TYPE_LINUX) + var OsTypeWindows = TOsType(osprofile.OS_TYPE_WINDOWS) + var SUPPORTED_DNS_TYPES = []TDnsType + var TtlRangeAliyunEnterpriseStandard = TTlRange + var TtlRangeAliyunEnterpriseUltimate = TTlRange + var TtlRangeAliyunFree = TTlRange + var TtlRangeAliyunPersonal = TTlRange + var TtlRangeAliyunPvtz = TTlRange + var TtlRangeQcloudEnterpriseBasic = TTlRange + var TtlRangeQcloudEnterpriseStandard = TTlRange + var TtlRangeQcloudEnterpriseUltimate = TTlRange + var TtlRangeQcloudFree = TTlRange + var TtlRangeQcloudPersonalProfessional = TTlRange + var UEFI = TBiosType("UEFI") + var WafActionAlert = TWafAction("Alert") + var WafActionAllow = TWafAction("Allow") + var WafActionBlock = TWafAction("Block") + var WafActionCount = TWafAction("Count") + var WafActionDetection = TWafAction("Detection") + var WafActionLog = TWafAction("Log") + var WafActionNone = TWafAction("") + var WafActionPrevention = TWafAction("Prevention") + var WafMatchFieldBody = TWafMatchField("Body") + var WafMatchFieldJsonBody = TWafMatchField("JsonBody") + var WafMatchFieldMethod = TWafMatchField("Method") + var WafMatchFieldQuery = TWafMatchField("Query") + var WafMatchFiledCookie = TWafMatchField("Cookie") + var WafMatchFiledHeader = TWafMatchField("Header") + var WafMatchFiledPostArgs = TWafMatchField("PostArgs") + var WafMatchFiledUriPath = TWafMatchField("UriPath") + var WafOperatorContains = TWafOperator("Contains") + var WafOperatorContainsWord = TWafOperator("ContainsWord") + var WafOperatorEQ = TWafOperator("EQ") + var WafOperatorEndsWith = TWafOperator("EndsWith") + var WafOperatorExactly = TWafOperator("Exactly") + var WafOperatorGE = TWafOperator("GE") + var WafOperatorGT = TWafOperator("GT") + var WafOperatorLE = TWafOperator("LE") + var WafOperatorLT = TWafOperator("LT") + var WafOperatorNE = TWafOperator("NE") + var WafOperatorRegex = TWafOperator("Regex") + var WafOperatorStartsWith = TWafOperator("StartsWith") + var WafStatementConditionAnd = TWafStatementCondition("And") + var WafStatementConditionNone = TWafStatementCondition("") + var WafStatementConditionNot = TWafStatementCondition("Not") + var WafStatementConditionOr = TWafStatementCondition("Or") + var WafStatementTypeByteMatch = TWafStatementType("ByteMatch") + var WafStatementTypeGeoMatch = TWafStatementType("GeoMatch") + var WafStatementTypeIPSet = TWafStatementType("IPSet") + var WafStatementTypeLabelMatch = TWafStatementType("LabelMatch") + var WafStatementTypeManagedRuleGroup = TWafStatementType("ManagedRuleGroup") + var WafStatementTypeRate = TWafStatementType("Rate") + var WafStatementTypeRegexSet = TWafStatementType("RegexSet") + var WafStatementTypeRuleGroup = TWafStatementType("RuleGroup") + var WafStatementTypeSize = TWafStatementType("Size") + var WafStatementTypeSqliMatch = TWafStatementType("SqliMatch") + var WafStatementTypeXssMatch = TWafStatementType("XssMatch") + var WafTextTransformationCmdLine = TWafTextTransformation("CmdLine") + var WafTextTransformationCompressWithSpace = TWafTextTransformation("CompressWithSpace") + var WafTextTransformationHtmlEntityDecode = TWafTextTransformation("HtmlEntityDecode") + var WafTextTransformationLowercase = TWafTextTransformation("Lowercase") + var WafTextTransformationNone = TWafTextTransformation("") + var WafTextTransformationRemoveNulls = TWafTextTransformation("RemoveNulls") + var WafTextTransformationTrim = TWafTextTransformation("Trim") + var WafTextTransformationUrlDecode = TWafTextTransformation("UrlDecode") + var WafTextTransformationUrlEncode = TWafTextTransformation("UrlEncode") + var WafTypeAppGateway = TWafType("AppGateway") + var WafTypeCloudFront = TWafType("CloudFront") + var WafTypeDefault = TWafType("Default") + var WafTypeRegional = TWafType("Regional") + func CopyObject(ctx context.Context, blocksz int64, dstBucket ICloudBucket, dstKey string, ...) error + func CopyPart(ctx context.Context, iDstBucket ICloudBucket, dstKey string, uploadId string, ...) (string, error) + func DeletePrefix(ctx context.Context, bucket ICloudBucket, prefix string) error + func FetchMetaFromHttpHeader(metaPrefix string, headers http.Header) http.Header + func GetCheckTransport(ts *http.Transport, ...) http.RoundTripper + func GetClientRC(provider string, info SProviderInfo) (map[string]string, error) + func GetClouduserpolicyWithSubscriptionProviders() []string + func GetDnsCapabilities() map[string]SDnsCapability + func GetOnPremiseProviders() []string + func GetPrivateProviders() []string + func GetProviderCloudEnv(provider string) string + func GetPublicProviders() []string + func GetRegistedProviderIds() []string + func GetSupportCloudIdProvider() []string + func GetSupportCloudgroupProviders() []string + func HashIdsMac(ids ...string) string + func ICloudObject2JSONObject(obj ICloudObject) jsonutils.JSONObject + func IsError(err error, errs []string) bool + func IsSupportApp(prod ICloudProvider) bool + func IsSupportCDN(prod ICloudProvider) bool + func IsSupportCapability(prod ICloudProvider, capa string) bool + func IsSupportCompute(prod ICloudProvider) bool + func IsSupportContainer(prod ICloudProvider) bool + func IsSupportDnsZone(prod ICloudProvider) bool + func IsSupportElasticCache(prod ICloudProvider) bool + func IsSupportElasticSearch(prod ICloudProvider) bool + func IsSupportInterVpcNetwork(prod ICloudProvider) bool + func IsSupportKafka(prod ICloudProvider) bool + func IsSupportLoadbalancer(prod ICloudProvider) bool + func IsSupportMiscResources(prod ICloudProvider) bool + func IsSupportModelartsPool(prod ICloudProvider) bool + func IsSupportMongoDB(prod ICloudProvider) bool + func IsSupportNAS(prod ICloudProvider) bool + func IsSupportNAT(prod ICloudProvider) bool + func IsSupportObjectstore(prod ICloudProvider) bool + func IsSupportPolicyValue(v1 TDnsPolicyValue, arr []TDnsPolicyValue) bool + func IsSupportProject(prod ICloudProvider) bool + func IsSupportQuota(prod ICloudProvider) bool + func IsSupportRds(prod ICloudProvider) bool + func IsSupportSSLCertificate(prod ICloudProvider) bool + func IsSupportTablestore(prod ICloudProvider) bool + func IsSupportWaf(prod ICloudProvider) bool + func IsSupported(provider string) bool + func IsUEFI(ios IOSInfo) bool + func Makedir(ctx context.Context, bucket ICloudBucket, key string) error + func MergeMeta(src http.Header, dst http.Header) http.Header + func MetaToHttpHeader(metaPrefix string, meta http.Header) http.Header + func ObjectSetMeta(ctx context.Context, bucket ICloudBucket, obj ICloudObject, meta http.Header) error + func RegisterFactory(factory ICloudProviderFactory) + func RetryOnError(tryFunc func() error, errs []string, maxTries int) error + func RetryUntil(tryFunc func() (bool, error), maxTries int) error + func SetBucketCORS(ibucket ICloudBucket, rules []SBucketCORSRule) error + func SetTags(ctx context.Context, res ICloudResource, managerId string, ...) error + func UploadObject(ctx context.Context, bucket ICloudBucket, key string, blocksz int64, ...) error + func Wait(interval time.Duration, timeout time.Duration, callback func() (bool, error)) error + func WaitCreated(interval time.Duration, timeout time.Duration, callback func() bool) error + func WaitDeleted(res ICloudResource, interval time.Duration, timeout time.Duration) error + func WaitDeletedWithDelay(res ICloudResource, delay time.Duration, interval time.Duration, ...) error + func WaitMultiStatus(res ICloudResource, expects []string, interval time.Duration, ...) error + func WaitMultiStatusWithSync(res ICloudResource, expects []string, sync func(string), ...) error + func WaitStatus(res ICloudResource, expect string, interval time.Duration, ...) error + func WaitStatusWithDelay(res ICloudResource, expect string, delay time.Duration, interval time.Duration, ...) error + func WaitStatusWithInstanceErrorCheck(res ICloudResource, expect string, interval time.Duration, ...) error + func WaitStatusWithSync(res ICloudResource, expect string, sync func(status string), ...) error + type AccessGroupRule struct + ExternalId string + Id string + Priority int + RWAccessType TRWAccessType + Source string + UserAccessType TUserAccessType + func (self AccessGroupRule) String() string + type AccessGroupRuleInfo struct + MaxPriority int + MinPriority int + Rules AccessGroupRuleSet + SupportedUserAccessType []TUserAccessType + func GetAccessGroupRuleInfo(group ICloudAccessGroup) (AccessGroupRuleInfo, error) + func (self *AccessGroupRuleInfo) Sort() + type AccessGroupRuleSet []AccessGroupRule + func CompareAccessGroupRules(src, dest AccessGroupRuleInfo, debug bool) (common, added, removed AccessGroupRuleSet) + func (srs AccessGroupRuleSet) Len() int + func (srs AccessGroupRuleSet) Less(i, j int) bool + func (srs AccessGroupRuleSet) Swap(i, j int) + type AssociateConfig struct + AssociateType string + Bandwidth int + ChargeType string + InstanceId string + type Azs struct + Az string + Count int + type CacheKeyRule struct + FullUrlCache bool + IgnoreCase bool + QueryString CacheKeyRuleQueryString + RulePaths []string + RuleTag string + RuleType string + type CacheKeyRuleQueryString struct + Action string + Enabled bool + Value string + type CacheRule struct + CacheContents []string + CacheTime int + CacheType string + type CdnCreateOptions struct + Area string + Domain string + Origins SCdnOrigins + ServiceType string + type ChangeListenerSchedulerOptions struct + Scheduler string + type DefaultAction struct + Action TWafAction + InsertHeaders map[string]string + Response string + ResponseCode *int + ResponseHeaders map[string]string + func (self DefaultAction) IsZero() bool + func (self DefaultAction) String() string + type DiskCreateConfig struct + Desc string + Iops int + Name string + ProjectId string + SizeGb int + Throughput int + type DnsRecord struct + Desc string + DnsName string + DnsType TDnsType + DnsValue string + Enabled bool + MxPriority int64 + PolicyType TDnsPolicyType + PolicyValue TDnsPolicyValue + Ttl int64 + type DummyICloudNic struct + func (d DummyICloudNic) AssignAddress(ipAddrs []string) error + func (d DummyICloudNic) AssignNAddress(count int) ([]string, error) + func (d DummyICloudNic) GetDriver() string + func (d DummyICloudNic) GetINetworkId() string + func (d DummyICloudNic) GetIP() string + func (d DummyICloudNic) GetId() string + func (d DummyICloudNic) GetMAC() string + func (d DummyICloudNic) GetSubAddress() ([]string, error) + func (d DummyICloudNic) InClassicNetwork() bool + func (d DummyICloudNic) UnassignAddress(ipAddrs []string) error + type ElasticSearchAccessInfo struct + Domain string + KibanaPrivateUrl string + KibanaUrl string + Port int + PrivateDomain string + PrivatePort int + Vip string + type FileSystemCraeteOptions struct + BillingCycle *billing.SBillingCycle + Capacity int64 + Desc string + FileSystemType string + Name string + NetworkId string + Protocol string + StorageType string + VpcId string + ZoneId string + type GlobalVpcCreateOptions struct + Desc string + NAME string + type GuestDiskCreateOptions struct + Driver string + Idx int + Preallocation string + SizeMb int + StorageId string + UUID string + type IBillingResource interface + GetBillingType func() string + GetExpiredAt func() time.Time + IsAutoRenew func() bool + Renew func(bc billing.SBillingCycle) error + SetAutoRenew func(bc billing.SBillingCycle) error + type ICloudAccessGroup interface + Delete func() error + GetDesc func() string + GetFileSystemType func() string + GetGlobalId func() string + GetMaxPriority func() int + GetMinPriority func() int + GetMountTargetCount func() int + GetName func() string + GetNetworkType func() string + GetRules func() ([]AccessGroupRule, error) + GetSupporedUserAccessTypes func() []TUserAccessType + IsDefault func() bool + SyncRules func(common, added, removed AccessGroupRuleSet) error + type ICloudApp interface + GetEnvironments func() ([]ICloudAppEnvironment, error) + GetKind func() string + GetOsType func() TOsType + GetTechStack func() string + GetType func() string + type ICloudAppEnvironment interface + GetInstanceNumber func() (int, error) + GetInstanceType func() (string, error) + type ICloudBucket interface + AbortMultipartUpload func(ctx context.Context, key string, uploadId string) error + CompleteMultipartUpload func(ctx context.Context, key string, uploadId string, partEtags []string) error + CopyObject func(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error + CopyPart func(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error) + DeleteCORS func() error + DeleteObject func(ctx context.Context, keys string) error + DeletePolicy func(id []string) ([]SBucketPolicyStatement, error) + DeleteWebSiteConf func() error + GetAccessUrls func() []SBucketAccessUrl + GetAcl func() TBucketACLType + GetCORSRules func() ([]SBucketCORSRule, error) + GetCdnDomains func() ([]SCdnDomain, error) + GetIRegion func() ICloudRegion + GetLimit func() SBucketStats + GetLocation func() string + GetObject func(ctx context.Context, key string, rangeOpt *SGetObjectRange) (io.ReadCloser, error) + GetPolicy func() ([]SBucketPolicyStatement, error) + GetReferer func() (SBucketRefererConf, error) + GetStats func() SBucketStats + GetStorageClass func() string + GetTempUrl func(method string, key string, expire time.Duration) (string, error) + GetWebsiteConf func() (SBucketWebsiteConf, error) + LimitSupport func() SBucketStats + ListMultipartUploads func() ([]SBucketMultipartUploads, error) + ListObjects func(prefix string, marker string, delimiter string, maxCount int) (SListObjectResult, error) + MaxPartCount func() int + MaxPartSizeBytes func() int64 + NewMultipartUpload func(ctx context.Context, key string, cannedAcl TBucketACLType, ...) (string, error) + PutObject func(ctx context.Context, key string, input io.Reader, sizeBytes int64, ...) error + SetAcl func(acl TBucketACLType) error + SetCORS func(rules []SBucketCORSRule) error + SetLimit func(limit SBucketStats) error + SetPolicy func(policy SBucketPolicyStatementInput) error + SetReferer func(conf SBucketRefererConf) error + SetWebsite func(conf SBucketWebsiteConf) error + UploadPart func(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error) + func GetIBucketById(region ICloudRegion, name string) (ICloudBucket, error) + func GetIBucketByName(region ICloudRegion, name string) (ICloudBucket, error) + type ICloudCDNDomain interface + Delete func() error + GetArea func() string + GetCache func() (*SCDNCache, error) + GetCacheKeys func() (*SCDNCacheKeys, error) + GetCname func() string + GetEnabled func() bool + GetForceRedirect func() (*SCDNForceRedirect, error) + GetHTTPS func() (*SCDNHttps, error) + GetMaxAge func() (*SCDNMaxAge, error) + GetOrigins func() *SCdnOrigins + GetRangeOriginPull func() (*SCDNRangeOriginPull, error) + GetReferer func() (*SCDNReferer, error) + GetServiceType func() string + type ICloudDBInstance interface + ChangeConfig func(ctx context.Context, config *SManagedDBInstanceChangeConfig) error + ClosePublicConnection func() error + CreateAccount func(conf *SDBInstanceAccountCreateConfig) error + CreateDatabase func(conf *SDBInstanceDatabaseCreateConfig) error + CreateIBackup func(conf *SDBInstanceBackupCreateConfig) (string, error) + Delete func() error + GetCategory func() string + GetConnectionStr func() string + GetDBNetworks func() ([]SDBInstanceNetwork, error) + GetDiskSizeGB func() int + GetDiskSizeUsedMB func() int + GetEngine func() string + GetEngineVersion func() string + GetIDBInstanceAccounts func() ([]ICloudDBInstanceAccount, error) + GetIDBInstanceBackups func() ([]ICloudDBInstanceBackup, error) + GetIDBInstanceDatabases func() ([]ICloudDBInstanceDatabase, error) + GetIDBInstanceParameters func() ([]ICloudDBInstanceParameter, error) + GetIVpcId func() string + GetInstanceType func() string + GetInternalConnectionStr func() string + GetIops func() int + GetMaintainTime func() string + GetMasterInstanceId func() string + GetPort func() int + GetSecurityGroupIds func() ([]string, error) + GetStorageType func() string + GetVcpuCount func() int + GetVmemSizeMB func() int + GetZone1Id func() string + GetZone2Id func() string + GetZone3Id func() string + OpenPublicConnection func() error + Reboot func() error + RecoveryFromBackup func(conf *SDBInstanceRecoveryConfig) error + SetSecurityGroups func(ids []string) error + Update func(ctx context.Context, input SDBInstanceUpdateOptions) error + type ICloudDBInstanceAccount interface + Delete func() error + GetHost func() string + GetIDBInstanceAccountPrivileges func() ([]ICloudDBInstanceAccountPrivilege, error) + GetName func() string + GetStatus func() string + GrantPrivilege func(database, privilege string) error + ResetPassword func(password string) error + RevokePrivilege func(database string) error + type ICloudDBInstanceAccountPrivilege interface + GetDBName func() string + GetGlobalId func() string + GetPrivilege func() string + type ICloudDBInstanceBackup interface + CreateICloudDBInstance func(opts *SManagedDBInstanceCreateConfig) (ICloudDBInstance, error) + Delete func() error + GetBackupMethod func() TBackupMethod + GetBackupMode func() string + GetBackupSizeMb func() int + GetDBInstanceId func() string + GetDBNames func() string + GetEndTime func() time.Time + GetEngine func() string + GetEngineVersion func() string + GetStartTime func() time.Time + type ICloudDBInstanceDatabase interface + Delete func() error + GetCharacterSet func() string + type ICloudDBInstanceParameter interface + GetDescription func() string + GetGlobalId func() string + GetKey func() string + GetValue func() string + type ICloudDBInstanceSku interface + GetCategory func() string + GetDiskSizeStep func() int + GetEngine func() string + GetEngineVersion func() string + GetGlobalId func() string + GetIOPS func() int + GetMaxConnections func() int + GetMaxDiskSizeGb func() int + GetMinDiskSizeGb func() int + GetName func() string + GetQPS func() int + GetStatus func() string + GetStorageType func() string + GetTPS func() int + GetVcpuCount func() int + GetVmemSizeMb func() int + GetZone1Id func() string + GetZone2Id func() string + GetZone3Id func() string + GetZoneId func() string + type ICloudDisk interface + CreateISnapshot func(ctx context.Context, name string, desc string) (ICloudSnapshot, error) + Delete func(ctx context.Context) error + GetAccessPath func() string + GetCacheMode func() string + GetDiskFormat func() string + GetDiskSizeMB func() int + GetDiskType func() string + GetDriver func() string + GetFsFormat func() string + GetISnapshots func() ([]ICloudSnapshot, error) + GetIStorage func() (ICloudStorage, error) + GetIStorageId func() string + GetIops func() int + GetIsAutoDelete func() bool + GetIsNonPersistent func() bool + GetMountpoint func() string + GetPreallocation func() string + GetTemplateId func() string + Rebuild func(ctx context.Context) error + Reset func(ctx context.Context, snapshotId string) (string, error) + Resize func(ctx context.Context, newSizeMB int64) error + type ICloudDnsRecord interface + Delete func() error + Disable func() error + Enable func() error + GetDnsName func() string + GetDnsType func() TDnsType + GetDnsValue func() string + GetEnabled func() bool + GetGlobalId func() string + GetMxPriority func() int64 + GetPolicyType func() TDnsPolicyType + GetPolicyValue func() TDnsPolicyValue + GetStatus func() string + GetTTL func() int64 + Update func(*DnsRecord) error + type ICloudDnsZone interface + AddDnsRecord func(*DnsRecord) (string, error) + AddVpc func(*SPrivateZoneVpc) error + Delete func() error + GetDnsProductType func() TDnsProductType + GetICloudVpcIds func() ([]string, error) + GetIDnsRecordById func(id string) (ICloudDnsRecord, error) + GetIDnsRecords func() ([]ICloudDnsRecord, error) + GetZoneType func() TDnsZoneType + RemoveVpc func(*SPrivateZoneVpc) error + type ICloudEIP interface + Associate func(conf *AssociateConfig) error + ChangeBandwidth func(bw int) error + Delete func() error + Dissociate func() error + GetAssociationExternalId func() string + GetAssociationType func() string + GetBandwidth func() int + GetINetworkId func() string + GetInternetChargeType func() string + GetIpAddr func() string + GetMode func() string + type ICloudElasticSearch interface + Delete func() error + GetAccessInfo func() (*ElasticSearchAccessInfo, error) + GetCategory func() string + GetDiskSizeGb func() int + GetInstanceType func() string + GetNetworkId func() string + GetStorageType func() string + GetVcpuCount func() int + GetVersion func() string + GetVmemSizeGb func() int + GetVpcId func() string + GetZoneId func() string + IsMultiAz func() bool + type ICloudElasticcache interface + AllocatePublicConnection func(port int) (string, error) + ChangeInstanceSpec func(spec string) error + CreateAccount func(account SCloudElasticCacheAccountInput) (ICloudElasticcacheAccount, error) + CreateAcl func(aclName, securityIps string) (ICloudElasticcacheAcl, error) + CreateBackup func(desc string) (ICloudElasticcacheBackup, error) + Delete func() error + FlushInstance func(input SCloudElasticCacheFlushInstanceInput) error + GetArchType func() string + GetAuthMode func() string + GetBandwidth func() int + GetCapacityMB func() int + GetConnections func() int + GetEngine func() string + GetEngineVersion func() string + GetICloudElasticcacheAccount func(accountId string) (ICloudElasticcacheAccount, error) + GetICloudElasticcacheAccounts func() ([]ICloudElasticcacheAccount, error) + GetICloudElasticcacheAcl func(aclId string) (ICloudElasticcacheAcl, error) + GetICloudElasticcacheAcls func() ([]ICloudElasticcacheAcl, error) + GetICloudElasticcacheBackup func(backupId string) (ICloudElasticcacheBackup, error) + GetICloudElasticcacheBackups func() ([]ICloudElasticcacheBackup, error) + GetICloudElasticcacheParameters func() ([]ICloudElasticcacheParameter, error) + GetInstanceType func() string + GetMaintainEndTime func() string + GetMaintainStartTime func() string + GetNetworkId func() string + GetNetworkType func() string + GetNodeType func() string + GetPrivateConnectPort func() int + GetPrivateDNS func() string + GetPrivateIpAddr func() string + GetPublicConnectPort func() int + GetPublicDNS func() string + GetPublicIpAddr func() string + GetSecurityGroupIds func() ([]string, error) + GetVpcId func() string + GetZoneId func() string + ReleasePublicConnection func() error + Restart func() error + SetMaintainTime func(maintainStartTime, maintainEndTime string) error + UpdateAuthMode func(noPasswordAccess bool, password string) error + UpdateBackupPolicy func(config SCloudElasticCacheBackupPolicyUpdateInput) error + UpdateInstanceParameters func(config jsonutils.JSONObject) error + UpdateSecurityGroups func(secgroupIds []string) error + type ICloudElasticcacheAccount interface + Delete func() error + GetAccountPrivilege func() string + GetAccountType func() string + ResetPassword func(input SCloudElasticCacheAccountResetPasswordInput) error + UpdateAccount func(input SCloudElasticCacheAccountUpdateInput) error + type ICloudElasticcacheAcl interface + Delete func() error + GetIpList func() string + UpdateAcl func(securityIps string) error + type ICloudElasticcacheBackup interface + Delete func() error + GetBackupMode func() string + GetBackupSizeMb func() int + GetBackupType func() string + GetDownloadURL func() string + GetEndTime func() time.Time + GetStartTime func() time.Time + RestoreInstance func(instanceId string) error + type ICloudElasticcacheParameter interface + GetDescription func() string + GetForceRestart func() bool + GetModifiable func() bool + GetParameterKey func() string + GetParameterValue func() string + GetParameterValueRange func() string + type ICloudElasticcacheSku interface + GetCpuArch func() string + GetDiskSizeGb func() int + GetEngine func() string + GetEngineArch func() string + GetEngineVersion func() string + GetGlobalId func() string + GetLocalCategory func() string + GetMaxClients func() int + GetMaxConnections func() int + GetMaxInBandwidthMb func() int + GetMaxMemoryMb func() int + GetMaxReplicasNum func() int + GetMaxShardNum func() int + GetMemorySizeMb func() int + GetName func() string + GetNodeType func() string + GetPerformanceType func() string + GetPostpaidStatus func() string + GetPrepaidStatus func() string + GetQps func() int + GetReplicasNum func() int + GetShardNum func() int + GetSlaveZoneId func() string + GetStorageType func() string + GetZoneId func() string + type ICloudEnabledResource interface + GetEnabled func() bool + type ICloudEvent interface + GetAccount func() string + GetAction func() string + GetCreatedAt func() time.Time + GetName func() string + GetRequest func() jsonutils.JSONObject + GetRequestId func() string + GetResourceType func() string + GetService func() string + IsSuccess func() bool + type ICloudFileSystem interface + CreateMountTarget func(opts *SMountTargetCreateOptions) (ICloudMountTarget, error) + Delete func() error + GetCapacityGb func() int64 + GetFileSystemType func() string + GetMountTargetCountLimit func() int + GetMountTargets func() ([]ICloudMountTarget, error) + GetProtocol func() string + GetStorageType func() string + GetUsedCapacityGb func() int64 + GetZoneId func() string + type ICloudGlobalVpc interface + CreateISecurityGroup func(opts *SecurityGroupCreateInput) (ICloudSecurityGroup, error) + Delete func() error + GetISecurityGroups func() ([]ICloudSecurityGroup, error) + type ICloudHost interface + CreateVM func(desc *SManagedVMCreateConfig) (ICloudVM, error) + GetAccessIp func() string + GetAccessMac func() string + GetCpuArchitecture func() string + GetCpuCmtbound func() float32 + GetCpuCount func() int + GetCpuDesc func() string + GetCpuMhz func() int + GetEnabled func() bool + GetHostStatus func() string + GetHostType func() string + GetIHostNics func() ([]ICloudHostNetInterface, error) + GetIStorageById func(id string) (ICloudStorage, error) + GetIStorages func() ([]ICloudStorage, error) + GetIVMById func(id string) (ICloudVM, error) + GetIVMs func() ([]ICloudVM, error) + GetIsMaintenance func() bool + GetMemCmtbound func() float32 + GetMemSizeMB func() int + GetNodeCount func() int8 + GetOvnVersion func() string + GetReservedMemoryMb func() int + GetSN func() string + GetSchedtags func() ([]string, error) + GetStorageSizeMB func() int64 + GetStorageType func() string + GetSysInfo func() jsonutils.JSONObject + GetVersion func() string + type ICloudHostNetInterface interface + GetBridge func() string + GetDevice func() string + GetDriver func() string + GetIWire func() ICloudWire + GetIndex func() int8 + GetIpAddr func() string + GetMac func() string + GetMtu func() int32 + GetNicType func() string + GetVlanId func() int + IsLinkUp func() tristate.TriState + func GetHostNetifs(host ICloudHost, wires []ICloudWire) []ICloudHostNetInterface + type ICloudI18nResource interface + GetI18n func() SModelI18nTable + type ICloudIPv6Gateway interface + GetInstanceType func() string + type ICloudImage interface + Delete func(ctx context.Context) error + Export func(opts *SImageExportOptions) ([]SImageExportInfo, error) + GetIStoragecache func() ICloudStoragecache + GetImageFormat func() string + GetImageStatus func() string + GetImageType func() TImageType + GetMinOsDiskSizeGb func() int + GetMinRamSizeMb func() int + GetPublicScope func() rbacscope.TRbacScope + GetSizeByte func() int64 + GetSubImages func() []SSubImage + type ICloudInstanceSnapshot interface + Delete func() error + GetDescription func() string + type ICloudInterVpcNetwork interface + AttachVpc func(opts *SInterVpcNetworkAttachVpcOption) error + Delete func() error + DetachVpc func(opts *SInterVpcNetworkDetachVpcOption) error + DisableRouteEntry func(routeId string) error + EnableRouteEntry func(routeId string) error + GetAuthorityOwnerId func() string + GetICloudVpcIds func() ([]string, error) + GetIRoutes func() ([]ICloudInterVpcNetworkRoute, error) + type ICloudInterVpcNetworkRoute interface + GetCidr func() string + GetEnabled func() bool + GetInstanceId func() string + GetInstanceRegionId func() string + GetInstanceType func() string + type ICloudInterfaceAddress interface + GetGlobalId func() string + GetINetworkId func() string + GetIP func() string + IsPrimary func() bool + type ICloudInternetGateway interface + type ICloudKafka interface + Delete func() error + GetBandwidthMb func() int + GetDiskSizeGb func() int + GetEndpoint func() string + GetInstanceType func() string + GetMsgRetentionMinute func() int + GetNetworkId func() string + GetStorageType func() string + GetTopics func() ([]SKafkaTopic, error) + GetVersion func() string + GetVpcId func() string + GetZoneId func() string + IsMultiAz func() bool + type ICloudKubeCluster interface + CreateIKubeNodePool func(opts *KubeNodePoolCreateOptions) (ICloudKubeNodePool, error) + Delete func(isRetain bool) error + GetIKubeNodePools func() ([]ICloudKubeNodePool, error) + GetIKubeNodes func() ([]ICloudKubeNode, error) + GetKubeConfig func(private bool, expireMinutes int) (*SKubeconfig, error) + GetNetworkIds func() []string + GetVersion func() string + GetVpcId func() string + type ICloudKubeNode interface + GetINodePoolId func() string + type ICloudKubeNodePool interface + Delete func() error + GetDesiredInstanceCount func() int + GetInstanceTypes func() []string + GetMaxInstanceCount func() int + GetMinInstanceCount func() int + GetNetworkIds func() []string + GetRootDiskSizeGb func() int + type ICloudLoadbalancer interface + CreateILoadBalancerBackendGroup func(group *SLoadbalancerBackendGroup) (ICloudLoadbalancerBackendGroup, error) + CreateILoadBalancerListener func(ctx context.Context, listener *SLoadbalancerListenerCreateOptions) (ICloudLoadbalancerListener, error) + Delete func(ctx context.Context) error + GetAddress func() string + GetAddressType func() string + GetChargeType func() string + GetEgressMbps func() int + GetIEIP func() (ICloudEIP, error) + GetILoadBalancerBackendGroupById func(groupId string) (ICloudLoadbalancerBackendGroup, error) + GetILoadBalancerBackendGroups func() ([]ICloudLoadbalancerBackendGroup, error) + GetILoadBalancerListenerById func(listenerId string) (ICloudLoadbalancerListener, error) + GetILoadBalancerListeners func() ([]ICloudLoadbalancerListener, error) + GetLoadbalancerSpec func() string + GetNetworkIds func() []string + GetNetworkType func() string + GetVpcId func() string + GetZone1Id func() string + GetZoneId func() string + Start func() error + Stop func() error + type ICloudLoadbalancerAcl interface + Delete func() error + GetAclEntries func() []SLoadbalancerAccessControlListEntry + GetAclListenerID func() string + Sync func(acl *SLoadbalancerAccessControlList) error + type ICloudLoadbalancerBackend interface + GetBackendId func() string + GetBackendRole func() string + GetBackendType func() string + GetIpAddress func() string + GetPort func() int + GetWeight func() int + SyncConf func(ctx context.Context, port, weight int) error + type ICloudLoadbalancerBackendGroup interface + AddBackendServer func(serverId string, weight int, port int) (ICloudLoadbalancerBackend, error) + Delete func(ctx context.Context) error + GetILoadbalancerBackendById func(backendId string) (ICloudLoadbalancerBackend, error) + GetILoadbalancerBackends func() ([]ICloudLoadbalancerBackend, error) + GetType func() string + IsDefault func() bool + RemoveBackendServer func(serverId string, weight int, port int) error + Sync func(ctx context.Context, group *SLoadbalancerBackendGroup) error + type ICloudLoadbalancerCertificate interface + Delete func() error + GetCommonName func() string + GetExpireTime func() time.Time + GetFingerprint func() string + GetPrivateKey func() string + GetPublickKey func() string + GetSubjectAlternativeNames func() string + Sync func(name, privateKey, publickKey string) error + type ICloudLoadbalancerListener interface + ChangeCertificate func(ctx context.Context, opts *ListenerCertificateOptions) error + ChangeScheduler func(ctx context.Context, opts *ChangeListenerSchedulerOptions) error + CreateILoadBalancerListenerRule func(rule *SLoadbalancerListenerRule) (ICloudLoadbalancerListenerRule, error) + Delete func(ctx context.Context) error + GetAclId func() string + GetAclStatus func() string + GetAclType func() string + GetBackendConnectTimeout func() int + GetBackendGroupId func() string + GetBackendServerPort func() int + GetCertificateId func() string + GetClientIdleTimeout func() int + GetEgressMbps func() int + GetILoadBalancerListenerRuleById func(ruleId string) (ICloudLoadbalancerListenerRule, error) + GetILoadbalancerListenerRules func() ([]ICloudLoadbalancerListenerRule, error) + GetListenerPort func() int + GetListenerType func() string + GetScheduler func() string + GetStickySession func() string + GetStickySessionCookie func() string + GetStickySessionCookieTimeout func() int + GetStickySessionType func() string + GetTLSCipherPolicy func() string + GzipEnabled func() bool + HTTP2Enabled func() bool + SetAcl func(ctx context.Context, opts *ListenerAclOptions) error + SetHealthCheck func(ctx context.Context, opts *ListenerHealthCheckOptions) error + Start func() error + Stop func() error + XForwardedForEnabled func() bool + type ICloudLoadbalancerListenerRule interface + Delete func(ctx context.Context) error + GetBackendGroupId func() string + GetCondition func() string + GetDomain func() string + GetPath func() string + IsDefault func() bool + type ICloudLoadbalancerRedirect interface + GetRedirect func() string + GetRedirectCode func() int64 + GetRedirectHost func() string + GetRedirectPath func() string + GetRedirectScheme func() string + type ICloudMiscResource interface + GetConfig func() jsonutils.JSONObject + GetResourceType func() string + type ICloudModelartsPool interface + ChangeConfig func(opts *ModelartsPoolChangeConfigOptions) error + Delete func() error + GetInstanceType func() string + GetNodeCount func() int + GetProjectId func() string + GetStatusMessage func() string + GetWorkType func() string + type ICloudModelartsPoolSku interface + GetCpuArch func() string + GetCpuCoreCount func() int + GetGpuSize func() int + GetGpuType func() string + GetMemorySizeMB func() int + GetNpuSize func() int + GetNpuType func() string + GetPoolType func() string + GetProcessorType func() string + GetStatus func() string + type ICloudMongoDB interface + Delete func() error + GetCategory func() string + GetDiskSizeMb func() int + GetEngine func() string + GetEngineVersion func() string + GetIBackups func() ([]SMongoDBBackup, error) + GetInstanceType func() string + GetIops func() int + GetIpAddr func() string + GetMaintainTime func() string + GetMaxConnections func() int + GetNetworkAddress func() string + GetNetworkId func() string + GetPort func() int + GetReplicationNum func() int + GetVcpuCount func() int + GetVmemSizeMb func() int + GetVpcId func() string + GetZoneId func() string + type ICloudMountTarget interface + Delete func() error + GetAccessGroupId func() string + GetDomainName func() string + GetGlobalId func() string + GetName func() string + GetNetworkId func() string + GetNetworkType func() string + GetStatus func() string + GetVpcId func() string + type ICloudNatDEntry interface + Delete func() error + GetExternalIp func() string + GetExternalPort func() int + GetInternalIp func() string + GetInternalPort func() int + GetIpProtocol func() string + type ICloudNatGateway interface + CreateINatDEntry func(rule SNatDRule) (ICloudNatDEntry, error) + CreateINatSEntry func(rule SNatSRule) (ICloudNatSEntry, error) + Delete func() error + GetBandwidthMb func() int + GetIEips func() ([]ICloudEIP, error) + GetINatDEntryByID func(id string) (ICloudNatDEntry, error) + GetINatDTable func() ([]ICloudNatDEntry, error) + GetINatSEntryByID func(id string) (ICloudNatSEntry, error) + GetINatSTable func() ([]ICloudNatSEntry, error) + GetINetworkId func() string + GetIpAddr func() string + GetNatSpec func() string + type ICloudNatSEntry interface + Delete func() error + GetIP func() string + GetNetworkId func() string + GetSourceCIDR func() string + type ICloudNatSku interface + GetDesc func() string + GetGlobalId func() string + GetName func() string + GetPostpaidStatus func() string + GetPrepaidStatus func() string + type ICloudNetwork interface + Delete func() error + GetAllocTimeoutSeconds func() int + GetGateway func() string + GetIWire func() ICloudWire + GetIpEnd func() string + GetIpMask func() int8 + GetIpStart func() string + GetPublicScope func() rbacscope.TRbacScope + GetServerType func() string + type ICloudNetworkInterface interface + GetAssociateId func() string + GetAssociateType func() string + GetICloudInterfaceAddresses func() ([]ICloudInterfaceAddress, error) + GetMacAddress func() string + type ICloudNic interface + AssignAddress func(ipAddrs []string) error + AssignNAddress func(count int) ([]string, error) + GetDriver func() string + GetINetworkId func() string + GetIP func() string + GetId func() string + GetMAC func() string + GetSubAddress func() ([]string, error) + InClassicNetwork func() bool + UnassignAddress func(ipAddrs []string) error + type ICloudObject interface + GetAcl func() TBucketACLType + GetETag func() string + GetIBucket func() ICloudBucket + GetKey func() string + GetLastModified func() time.Time + GetMeta func() http.Header + GetSizeBytes func() int64 + GetStorageClass func() string + SetAcl func(acl TBucketACLType) error + SetMeta func(ctx context.Context, meta http.Header) error + func GetAllObjects(bucket ICloudBucket, objectPrefix string, isRecursive bool) ([]ICloudObject, error) + func GetIObject(bucket ICloudBucket, objectPrefix string) (ICloudObject, error) + func GetPagedObjects(bucket ICloudBucket, objectPrefix string, isRecursive bool, marker string, ...) ([]ICloudObject, string, error) + type ICloudProject interface + GetAccountId func() string + GetDomainId func() string + GetDomainName func() string + type ICloudProvider interface + CreateICloudCDNDomain func(opts *CdnCreateOptions) (ICloudCDNDomain, error) + CreateICloudDnsZone func(opts *SDnsZoneCreateOptions) (ICloudDnsZone, error) + CreateICloudGlobalVpc func(opts *GlobalVpcCreateOptions) (ICloudGlobalVpc, error) + CreateICloudInterVpcNetwork func(opts *SInterVpcNetworkCreateOptions) (ICloudInterVpcNetwork, error) + CreateICloudSAMLProvider func(opts *SAMLProviderCreateOptions) (ICloudSAMLProvider, error) + CreateICloudgroup func(name, desc string) (ICloudgroup, error) + CreateICloudpolicy func(opts *SCloudpolicyCreateOptions) (ICloudpolicy, error) + CreateICloudrole func(opts *SRoleCreateOptions) (ICloudrole, error) + CreateIClouduser func(conf *SClouduserCreateConfig) (IClouduser, error) + CreateIProject func(name string) (ICloudProject, error) + CreateSubscription func(SubscriptionCreateInput) error + GetAccountId func() string + GetBalance func() (*SBalanceInfo, error) + GetBucketCannedAcls func(regionId string) []string + GetCapabilities func() []string + GetCloudRegionExternalIdPrefix func() string + GetEnrollmentAccounts func() ([]SEnrollmentAccount, error) + GetFactory func() ICloudProviderFactory + GetICloudCDNDomainByName func(name string) (ICloudCDNDomain, error) + GetICloudCDNDomains func() ([]ICloudCDNDomain, error) + GetICloudDnsZoneById func(id string) (ICloudDnsZone, error) + GetICloudDnsZones func() ([]ICloudDnsZone, error) + GetICloudGlobalVpcById func(id string) (ICloudGlobalVpc, error) + GetICloudGlobalVpcs func() ([]ICloudGlobalVpc, error) + GetICloudInterVpcNetworkById func(id string) (ICloudInterVpcNetwork, error) + GetICloudInterVpcNetworks func() ([]ICloudInterVpcNetwork, error) + GetICloudSAMLProviders func() ([]ICloudSAMLProvider, error) + GetICloudgroupByName func(name string) (ICloudgroup, error) + GetICloudgroups func() ([]ICloudgroup, error) + GetICloudroleById func(id string) (ICloudrole, error) + GetICloudroleByName func(name string) (ICloudrole, error) + GetICloudroles func() ([]ICloudrole, error) + GetIClouduserByName func(name string) (IClouduser, error) + GetICloudusers func() ([]IClouduser, error) + GetICustomCloudpolicies func() ([]ICloudpolicy, error) + GetIProjects func() ([]ICloudProject, error) + GetIRegionById func(id string) (ICloudRegion, error) + GetIRegions func() []ICloudRegion + GetISSLCertificates func() ([]ICloudSSLCertificate, error) + GetISystemCloudpolicies func() ([]ICloudpolicy, error) + GetIamLoginUrl func() string + GetMetrics func(opts *MetricListOptions) ([]MetricValues, error) + GetObjectCannedAcls func(regionId string) []string + GetOnPremiseIRegion func() (ICloudRegion, error) + GetSamlEntityId func() string + GetStorageClasses func(regionId string) []string + GetSubAccounts func() ([]SSubAccount, error) + GetSysInfo func() (jsonutils.JSONObject, error) + GetVersion func() string + IsClouduserSupportPassword func() bool + func GetProvider(cfg ProviderConfig) (ICloudProvider, error) + func IsValidCloudAccount(cfg ProviderConfig) (ICloudProvider, string, error) + type ICloudProviderFactory interface + GetAccountIdEqualizer func() func(origin, now string) bool + GetClientRC func(SProviderInfo) (map[string]string, error) + GetClouduserMinPolicyCount func() int + GetId func() string + GetMaxCloudEventKeepDays func() int + GetMaxCloudEventSyncDays func() int + GetName func() string + GetProvider func(cfg ProviderConfig) (ICloudProvider, error) + GetSupportedBrands func() []string + GetSupportedDnsPolicyTypes func() map[TDnsZoneType][]TDnsPolicyType + GetSupportedDnsPolicyValues func() map[TDnsPolicyType][]TDnsPolicyValue + GetSupportedDnsTypes func() map[TDnsZoneType][]TDnsType + GetSupportedDnsZoneTypes func() []TDnsZoneType + GetTTLRange func(zoneType TDnsZoneType, productType TDnsProductType) TTlRange + IsCloudeventRegional func() bool + IsCloudpolicyWithSubscription func() bool + IsClouduserNeedInitPolicy func() bool + IsClouduserpolicyWithSubscription func() bool + IsMultiTenant func() bool + IsNeedForceAutoCreateProject func() bool + IsOnPremise func() bool + IsPublicCloud func() bool + IsSupportCloudIdService func() bool + IsSupportClouduserPolicy func() bool + IsSupportCreateCloudgroup func() bool + IsSupportCrossCloudEnvVpcPeering func() bool + IsSupportCrossRegionVpcPeering func() bool + IsSupportModifyRouteTable func() bool + IsSupportPrepaidResources func() bool + IsSupportResetClouduserPassword func() bool + IsSupportSAMLAuth func() bool + IsSupportVpcPeeringVpcCidrOverlap func() bool + IsSystemCloudpolicyUnified func() bool + NeedSyncSkuFromCloud func() bool + ValidateChangeBandwidth func(instanceId string, bandwidth int64) error + ValidateCreateCloudaccountData func(ctx context.Context, input SCloudaccountCredential) (SCloudaccount, error) + ValidateCrossRegionVpcPeeringBandWidth func(bandwidth int) error + ValidateUpdateCloudaccountCredential func(ctx context.Context, input SCloudaccountCredential, cloudaccount string) (SCloudaccount, error) + func GetProviderFactory(provider string) (ICloudProviderFactory, error) + type ICloudQuota interface + GetCurrentQuotaUsedCount func() int + GetDesc func() string + GetGlobalId func() string + GetMaxQuotaCount func() int + GetQuotaType func() string + type ICloudRegion interface + CreateEIP func(eip *SEip) (ICloudEIP, error) + CreateIBucket func(name string, storageClassStr string, acl string) error + CreateICloudAccessGroup func(opts *SAccessGroup) (ICloudAccessGroup, error) + CreateICloudFileSystem func(opts *FileSystemCraeteOptions) (ICloudFileSystem, error) + CreateICloudWafInstance func(opts *WafCreateOptions) (ICloudWafInstance, error) + CreateIDBInstance func(desc *SManagedDBInstanceCreateConfig) (ICloudDBInstance, error) + CreateIElasticcaches func(ec *SCloudElasticCacheInput) (ICloudElasticcache, error) + CreateIKubeCluster func(opts *KubeClusterCreateOptions) (ICloudKubeCluster, error) + CreateILoadBalancer func(loadbalancer *SLoadbalancerCreateOptions) (ICloudLoadbalancer, error) + CreateILoadBalancerAcl func(acl *SLoadbalancerAccessControlList) (ICloudLoadbalancerAcl, error) + CreateILoadBalancerCertificate func(cert *SLoadbalancerCertificate) (ICloudLoadbalancerCertificate, error) + CreateIModelartsPool func(pool *ModelartsPoolCreateOption, callback func(externalId string)) (ICloudModelartsPool, error) + CreateISecurityGroup func(opts *SecurityGroupCreateInput) (ICloudSecurityGroup, error) + CreateISku func(opts *SServerSkuCreateOption) (ICloudSku, error) + CreateIVpc func(opts *VpcCreateOptions) (ICloudVpc, error) + CreateInternetGateway func() (ICloudInternetGateway, error) + CreateSnapshotPolicy func(*SnapshotPolicyInput) (string, error) + DeleteIBucket func(name string) error + GetCapabilities func() []string + GetCloudEnv func() string + GetGeographicInfo func() SGeographicInfo + GetIBucketById func(name string) (ICloudBucket, error) + GetIBucketByName func(name string) (ICloudBucket, error) + GetIBuckets func() ([]ICloudBucket, error) + GetICloudAccessGroupById func(id string) (ICloudAccessGroup, error) + GetICloudAccessGroups func() ([]ICloudAccessGroup, error) + GetICloudAppById func(id string) (ICloudApp, error) + GetICloudApps func() ([]ICloudApp, error) + GetICloudEvents func(start time.Time, end time.Time, withReadEvent bool) ([]ICloudEvent, error) + GetICloudFileSystemById func(id string) (ICloudFileSystem, error) + GetICloudFileSystems func() ([]ICloudFileSystem, error) + GetICloudKafkaById func(id string) (ICloudKafka, error) + GetICloudKafkas func() ([]ICloudKafka, error) + GetICloudKubeClusterById func(id string) (ICloudKubeCluster, error) + GetICloudKubeClusters func() ([]ICloudKubeCluster, error) + GetICloudMongoDBById func(id string) (ICloudMongoDB, error) + GetICloudMongoDBs func() ([]ICloudMongoDB, error) + GetICloudNatSkus func() ([]ICloudNatSku, error) + GetICloudQuotas func() ([]ICloudQuota, error) + GetICloudTablestores func() ([]ICloudTablestore, error) + GetICloudWafIPSets func() ([]ICloudWafIPSet, error) + GetICloudWafInstanceById func(id string) (ICloudWafInstance, error) + GetICloudWafInstances func() ([]ICloudWafInstance, error) + GetICloudWafRegexSets func() ([]ICloudWafRegexSet, error) + GetICloudWafRuleGroups func() ([]ICloudWafRuleGroup, error) + GetIDBInstanceBackupById func(backupId string) (ICloudDBInstanceBackup, error) + GetIDBInstanceBackups func() ([]ICloudDBInstanceBackup, error) + GetIDBInstanceById func(instanceId string) (ICloudDBInstance, error) + GetIDBInstanceSkus func() ([]ICloudDBInstanceSku, error) + GetIDBInstances func() ([]ICloudDBInstance, error) + GetIDiskById func(id string) (ICloudDisk, error) + GetIEipById func(id string) (ICloudEIP, error) + GetIEips func() ([]ICloudEIP, error) + GetIElasticSearchById func(id string) (ICloudElasticSearch, error) + GetIElasticSearchs func() ([]ICloudElasticSearch, error) + GetIElasticcacheById func(id string) (ICloudElasticcache, error) + GetIElasticcacheSkus func() ([]ICloudElasticcacheSku, error) + GetIElasticcaches func() ([]ICloudElasticcache, error) + GetIHostById func(id string) (ICloudHost, error) + GetIHosts func() ([]ICloudHost, error) + GetILoadBalancerAclById func(aclId string) (ICloudLoadbalancerAcl, error) + GetILoadBalancerAcls func() ([]ICloudLoadbalancerAcl, error) + GetILoadBalancerById func(loadbalancerId string) (ICloudLoadbalancer, error) + GetILoadBalancerCertificateById func(certId string) (ICloudLoadbalancerCertificate, error) + GetILoadBalancerCertificates func() ([]ICloudLoadbalancerCertificate, error) + GetILoadBalancers func() ([]ICloudLoadbalancer, error) + GetIMiscResources func() ([]ICloudMiscResource, error) + GetIModelartsPoolById func(id string) (ICloudModelartsPool, error) + GetIModelartsPoolSku func() ([]ICloudModelartsPoolSku, error) + GetIModelartsPools func() ([]ICloudModelartsPool, error) + GetINetworkInterfaces func() ([]ICloudNetworkInterface, error) + GetISecurityGroupById func(secgroupId string) (ICloudSecurityGroup, error) + GetISecurityGroups func() ([]ICloudSecurityGroup, error) + GetISkus func() ([]ICloudSku, error) + GetISnapshotById func(snapshotId string) (ICloudSnapshot, error) + GetISnapshotPolicies func() ([]ICloudSnapshotPolicy, error) + GetISnapshotPolicyById func(id string) (ICloudSnapshotPolicy, error) + GetISnapshots func() ([]ICloudSnapshot, error) + GetIStorageById func(id string) (ICloudStorage, error) + GetIStoragecacheById func(id string) (ICloudStoragecache, error) + GetIStoragecaches func() ([]ICloudStoragecache, error) + GetIStorages func() ([]ICloudStorage, error) + GetIVMById func(id string) (ICloudVM, error) + GetIVMs func() ([]ICloudVM, error) + GetIVpcById func(id string) (ICloudVpc, error) + GetIVpcs func() ([]ICloudVpc, error) + GetIZoneById func(id string) (ICloudZone, error) + GetIZones func() ([]ICloudZone, error) + GetProvider func() string + IBucketExist func(name string) (bool, error) + type ICloudResource interface + GetCreatedAt func() time.Time + GetDescription func() string + GetGlobalId func() string + GetId func() string + GetName func() string + GetStatus func() string + GetSysTags func() map[string]string + GetTags func() (map[string]string, error) + IsEmulated func() bool + Refresh func() error + SetTags func(tags map[string]string, replace bool) error + type ICloudRoute interface + GetCidr func() string + GetNextHop func() string + GetNextHopType func() string + GetType func() string + type ICloudRouteTable interface + CreateRoute func(route RouteSet) error + GetAssociations func() []RouteTableAssociation + GetDescription func() string + GetIRoutes func() ([]ICloudRoute, error) + GetRegionId func() string + GetType func() RouteTableType + GetVpcId func() string + RemoveRoute func(route RouteSet) error + UpdateRoute func(route RouteSet) error + type ICloudSAMLProvider interface + Delete func() error + GetAuthUrl func(apiServer string) string + GetMetadataDocument func() (*samlutils.EntityDescriptor, error) + UpdateMetadata func(samlutils.EntityDescriptor) error + type ICloudSSLCertificate interface + GetCert func() string + GetCity func() string + GetCommon func() string + GetCountry func() string + GetEndDate func() time.Time + GetExpired func() bool + GetFingerprint func() string + GetIsUpload func() bool + GetIssuer func() string + GetKey func() string + GetOrgName func() string + GetProvince func() string + GetSans func() string + GetStartDate func() time.Time + type ICloudSecurityGroup interface + CreateRule func(opts *SecurityGroupRuleCreateOptions) (ISecurityGroupRule, error) + Delete func() error + GetDescription func() string + GetReferences func() ([]SecurityGroupReference, error) + GetRules func() ([]ISecurityGroupRule, error) + GetVpcId func() string + type ICloudSku interface + Delete func() error + GetAttachedDiskCount func() int + GetAttachedDiskSizeGB func() int + GetAttachedDiskType func() string + GetCpuArch func() string + GetCpuCoreCount func() int + GetDataDiskMaxCount func() int + GetDataDiskTypes func() string + GetGpuAttachable func() bool + GetGpuCount func() string + GetGpuMaxCount func() int + GetGpuSpec func() string + GetInstanceTypeCategory func() string + GetInstanceTypeFamily func() string + GetMemorySizeMB func() int + GetNicMaxCount func() int + GetNicType func() string + GetOsName func() string + GetPostpaidStatus func() string + GetPrepaidStatus func() string + GetSysDiskMaxSizeGB func() int + GetSysDiskMinSizeGB func() int + GetSysDiskResizable func() bool + GetSysDiskType func() string + type ICloudSnapshot interface + Delete func() error + GetDiskId func() string + GetDiskType func() string + GetSizeMb func() int32 + type ICloudSnapshotPolicy interface + ApplyDisks func(ids []string) error + CancelDisks func(ids []string) error + Delete func() error + GetApplyDiskIds func() ([]string, error) + GetRepeatWeekdays func() ([]int, error) + GetRetentionDays func() int + GetTimePoints func() ([]int, error) + type ICloudStorage interface + CreateIDisk func(conf *DiskCreateConfig) (ICloudDisk, error) + DisableSync func() bool + GetCapacityMB func() int64 + GetCapacityUsedMB func() int64 + GetEnabled func() bool + GetIDiskById func(idStr string) (ICloudDisk, error) + GetIDisks func() ([]ICloudDisk, error) + GetIStoragecache func() ICloudStoragecache + GetIZone func() ICloudZone + GetMediumType func() string + GetMountPoint func() string + GetStorageConf func() jsonutils.JSONObject + GetStorageType func() string + IsSysDiskStore func() bool + type ICloudStoragecache interface + GetICloudImages func() ([]ICloudImage, error) + GetICustomizedCloudImages func() ([]ICloudImage, error) + GetIImageById func(extId string) (ICloudImage, error) + GetPath func() string + UploadImage func(ctx context.Context, image *SImageCreateOption, callback func(float32)) (string, error) + type ICloudTablestore interface + type ICloudVM interface + AllocatePublicIpAddress func() (string, error) + AttachDisk func(ctx context.Context, diskId string) error + ChangeConfig func(ctx context.Context, config *SManagedVMChangeConfig) error + ConvertPublicIpToEip func() error + CreateDisk func(ctx context.Context, opts *GuestDiskCreateOptions) (string, error) + CreateInstanceSnapshot func(ctx context.Context, name string, desc string) (ICloudInstanceSnapshot, error) + DeleteVM func(ctx context.Context) error + DeployVM func(ctx context.Context, opts *SInstanceDeployOptions) error + DetachDisk func(ctx context.Context, diskId string) error + GetBootOrder func() string + GetCpuSockets func() int + GetError func() error + GetHostname func() string + GetHypervisor func() string + GetIDisks func() ([]ICloudDisk, error) + GetIEIP func() (ICloudEIP, error) + GetIHost func() ICloudHost + GetIHostId func() string + GetINics func() ([]ICloudNic, error) + GetInstanceSnapshot func(idStr string) (ICloudInstanceSnapshot, error) + GetInstanceSnapshots func() ([]ICloudInstanceSnapshot, error) + GetInstanceType func() string + GetInternetMaxBandwidthOut func() int + GetMachine func() string + GetPowerStates func() string + GetSecurityGroupIds func() ([]string, error) + GetSerialOutput func(port int) (string, error) + GetThroughput func() int + GetVNCInfo func(input *ServerVncInput) (*ServerVncOutput, error) + GetVcpuCount func() int + GetVdi func() string + GetVga func() string + GetVmemSizeMB func() int + LiveMigrateVM func(hostid string) error + MigrateVM func(hostid string) error + RebuildRoot func(ctx context.Context, config *SManagedVMRebuildRootConfig) (string, error) + ResetToInstanceSnapshot func(ctx context.Context, idStr string) error + SaveImage func(opts *SaveImageOptions) (ICloudImage, error) + SetSecurityGroups func(secgroupIds []string) error + StartVM func(ctx context.Context) error + StopVM func(ctx context.Context, opts *ServerStopOptions) error + UpdateUserData func(userData string) error + UpdateVM func(ctx context.Context, input SInstanceUpdateOptions) error + type ICloudVpc interface + AcceptICloudVpcPeeringConnection func(id string) error + AttachInternetGateway func(igwId string) error + CreateICloudVpcPeeringConnection func(opts *VpcPeeringConnectionCreateOptions) (ICloudVpcPeeringConnection, error) + CreateINatGateway func(opts *NatGatewayCreateOptions) (ICloudNatGateway, error) + CreateIWire func(opts *SWireCreateOptions) (ICloudWire, error) + Delete func() error + GetAuthorityOwnerId func() string + GetCidrBlock func() string + GetExternalAccessMode func() string + GetGlobalVpcId func() string + GetICloudAccepterVpcPeeringConnections func() ([]ICloudVpcPeeringConnection, error) + GetICloudIPv6Gateways func() ([]ICloudIPv6Gateway, error) + GetICloudVpcPeeringConnectionById func(id string) (ICloudVpcPeeringConnection, error) + GetICloudVpcPeeringConnections func() ([]ICloudVpcPeeringConnection, error) + GetINatGateways func() ([]ICloudNatGateway, error) + GetIRouteTableById func(routeTableId string) (ICloudRouteTable, error) + GetIRouteTables func() ([]ICloudRouteTable, error) + GetISecurityGroups func() ([]ICloudSecurityGroup, error) + GetIWireById func(wireId string) (ICloudWire, error) + GetIWires func() ([]ICloudWire, error) + GetIsDefault func() bool + GetRegion func() ICloudRegion + IsSupportSetExternalAccess func() bool + ProposeJoinICloudInterVpcNetwork func(opts *SVpcJointInterVpcNetworkOption) error + type ICloudVpcPeeringConnection interface + Delete func() error + GetEnabled func() bool + GetPeerAccountId func() string + GetPeerVpcId func() string + type ICloudWafIPSet interface + Delete func() error + GetAddresses func() WafAddresses + GetDesc func() string + GetGlobalId func() string + GetName func() string + GetType func() TWafType + type ICloudWafInstance interface + AddRule func(opts *SWafRule) (ICloudWafRule, error) + Delete func() error + GetCloudResources func() ([]SCloudResource, error) + GetDefaultAction func() *DefaultAction + GetRules func() ([]ICloudWafRule, error) + GetWafType func() TWafType + type ICloudWafRegexSet interface + Delete func() error + GetDesc func() string + GetGlobalId func() string + GetName func() string + GetRegexPatterns func() WafRegexPatterns + GetType func() TWafType + type ICloudWafRule interface + Delete func() error + GetAction func() *DefaultAction + GetDesc func() string + GetGlobalId func() string + GetName func() string + GetPriority func() int + GetStatementCondition func() TWafStatementCondition + GetStatements func() ([]SWafStatement, error) + Update func(opts *SWafRule) error + type ICloudWafRuleGroup interface + GetDesc func() string + GetGlobalId func() string + GetName func() string + GetRules func() ([]ICloudWafRule, error) + GetWafType func() TWafType + type ICloudWire interface + CreateINetwork func(opts *SNetworkCreateOptions) (ICloudNetwork, error) + GetBandwidth func() int + GetINetworkById func(netid string) (ICloudNetwork, error) + GetINetworks func() ([]ICloudNetwork, error) + GetIVpc func() ICloudVpc + GetIZone func() ICloudZone + type ICloudZone interface + GetIHostById func(id string) (ICloudHost, error) + GetIHosts func() ([]ICloudHost, error) + GetIRegion func() ICloudRegion + GetIStorageById func(id string) (ICloudStorage, error) + GetIStorages func() ([]ICloudStorage, error) + type ICloudgroup interface + AddUser func(name string) error + AttachCustomPolicy func(policyName string) error + AttachSystemPolicy func(policyName string) error + Delete func() error + DetachCustomPolicy func(policyName string) error + DetachSystemPolicy func(policyName string) error + GetDescription func() string + GetGlobalId func() string + GetICloudusers func() ([]IClouduser, error) + GetICustomCloudpolicies func() ([]ICloudpolicy, error) + GetISystemCloudpolicies func() ([]ICloudpolicy, error) + GetName func() string + RemoveUser func(name string) error + type ICloudloadbalancerHealthCheck interface + GetHealthCheck func() string + GetHealthCheckCode func() string + GetHealthCheckDomain func() string + GetHealthCheckExp func() string + GetHealthCheckFail func() int + GetHealthCheckInterval func() int + GetHealthCheckReq func() string + GetHealthCheckRise func() int + GetHealthCheckTimeout func() int + GetHealthCheckType func() string + GetHealthCheckURI func() string + type ICloudpolicy interface + Delete func() error + GetDescription func() string + GetDocument func() (*jsonutils.JSONDict, error) + GetGlobalId func() string + GetName func() string + UpdateDocument func(*jsonutils.JSONDict) error + type ICloudrole interface + AttachPolicy func(id string) error + Delete func() error + DetachPolicy func(id string) error + GetDocument func() *jsonutils.JSONDict + GetGlobalId func() string + GetICloudpolicies func() ([]ICloudpolicy, error) + GetName func() string + GetSAMLProvider func() string + type IClouduser interface + AttachCustomPolicy func(policyName string) error + AttachSystemPolicy func(policyName string) error + CreateAccessKey func(name string) (*SAccessKey, error) + Delete func() error + DeleteAccessKey func(accessKey string) error + DetachCustomPolicy func(policyName string) error + DetachSystemPolicy func(policyName string) error + GetAccessKeys func() ([]SAccessKey, error) + GetEmailAddr func() string + GetGlobalId func() string + GetICloudgroups func() ([]ICloudgroup, error) + GetICustomCloudpolicies func() ([]ICloudpolicy, error) + GetISystemCloudpolicies func() ([]ICloudpolicy, error) + GetInviteUrl func() string + GetName func() string + IsConsoleLogin func() bool + ResetPassword func(password string) error + type IOSInfo interface + GetBios func() TBiosType + GetFullOsName func() string + GetOsArch func() string + GetOsDist func() string + GetOsLang func() string + GetOsType func() TOsType + GetOsVersion func() string + type ISecurityGroupRule interface + Delete func() error + GetAction func() secrules.TSecurityRuleAction + GetCIDRs func() []string + GetDescription func() string + GetDirection func() secrules.TSecurityRuleDirection + GetGlobalId func() string + GetPorts func() string + GetPriority func() int + GetProtocol func() string + Update func(opts *SecurityGroupRuleUpdateOptions) error + type IVirtualResource interface + GetProjectId func() string + type KubeClusterCreateOptions struct + Desc string + NAME string + NetworkIds []string + PrivateAccess bool + PublicAccess bool + PublicKey string + RoleName string + ServiceCIDR string + Tags map[string]string + Version string + VpcId string + type KubeNodePoolCreateOptions struct + Desc string + DesiredInstanceCount int + InstanceTypes []string + MaxInstanceCount int + MinInstanceCount int + NAME string + NetworkIds []string + PublicKey string + RootDiskSizeGb int + Tags map[string]string + type ListenerAclOptions struct + AclId string + AclStatus string + AclType string + type ListenerCertificateOptions struct + CertificateId string + type ListenerHealthCheckOptions struct + HealthCheck string + HealthCheckDomain string + HealthCheckExp string + HealthCheckFail int + HealthCheckHttpCode string + HealthCheckInterval int + HealthCheckReq string + HealthCheckRise int + HealthCheckTimeout int + HealthCheckType string + HealthCheckURI string + type ListenerStickySessionOptions struct + StickySession string + StickySessionCookie string + StickySessionCookieTimeout int + StickySessionType string + type MetricListOptions struct + EndTime time.Time + Engine string + Interval int + IsSupportAzureTableStorageMetric bool + MetricType TMetricType + OsType string + RegionExtId string + ResourceId string + ResourceIds []string + ResourceType TResourceType + StartTime time.Time + type MetricValue struct + Tags map[string]string + Timestamp time.Time + Value float64 + type MetricValues struct + Id string + MetricType TMetricType + Unit string + Values []MetricValue + type ModelartsPoolChangeConfigOptions struct + NodeCount int + type ModelartsPoolCreateOption struct + AutoRenew uint + BillingMode uint + Cidr string + InstanceType string + Name string + NetworkId string + NodeCount int + PeriodNum uint + PeriodType uint + PoolDesc string + WorkType string + type NatGatewayCreateOptions struct + BillingCycle *billing.SBillingCycle + Desc string + Name string + NatSpec string + NetworkId string + VpcId string + type ProviderConfig struct + Account string + AccountId string + AdminProjectId string + AliyunResourceGroupIds []string + Debug bool + DefaultRegion string + Id string + Name string + Options *jsonutils.JSONDict + ProxyFunc httputils.TransportProxyFunc + ReadOnly bool + Secret string + URL string + UpdatePermission func(service, permission string) + Vendor string + func (cp *ProviderConfig) AdaptiveTimeoutHttpClient() *http.Client + type RefererRule struct + AllowEmpty *bool + RefererType string + Referers []string + RulePaths []string + RuleType string + type RouteSet struct + Destination string + NextHop string + NextHopType string + RouteId string + type RouteTableAssociation struct + AssociatedResourceId string + AssociationId string + AssociationType RouteTableAssociationType + func (self RouteTableAssociation) GetGlobalId() string + type RouteTableAssociationType string + type RouteTableType string + type RuleCacheConfig struct + Cache ... + FollowOrigin ... + NoCache ... + type SAMLProviderCreateOptions struct + Metadata samlutils.EntityDescriptor + Name string + type SAWSExtraOptions struct + AWSAssumeRoleName string + type SAccessGroup struct + Desc string + FileSystemType string + Name string + NetworkType string + type SAccessKey struct + AccessKey string + CreatedAt time.Time + Name string + Secret string + Status string + type SBalanceInfo struct + Amount float64 + Currency string + Status string + type SBaseCloudObject struct + ETag string + Key string + LastModified time.Time + Meta http.Header + SizeBytes int64 + StorageClass string + func (o *SBaseCloudObject) GetETag() string + func (o *SBaseCloudObject) GetKey() string + func (o *SBaseCloudObject) GetLastModified() time.Time + func (o *SBaseCloudObject) GetMeta() http.Header + func (o *SBaseCloudObject) GetSizeBytes() int64 + func (o *SBaseCloudObject) GetStorageClass() string + type SBaseProvider struct + func NewBaseProvider(factory ICloudProviderFactory) SBaseProvider + func (provider *SBaseProvider) GetFactory() ICloudProviderFactory + func (self *SBaseProvider) CreateICloudCDNDomain(opts *CdnCreateOptions) (ICloudCDNDomain, error) + func (self *SBaseProvider) CreateICloudDnsZone(opts *SDnsZoneCreateOptions) (ICloudDnsZone, error) + func (self *SBaseProvider) CreateICloudGlobalVpc(opts *GlobalVpcCreateOptions) (ICloudGlobalVpc, error) + func (self *SBaseProvider) CreateICloudInterVpcNetwork(opts *SInterVpcNetworkCreateOptions) (ICloudInterVpcNetwork, error) + func (self *SBaseProvider) CreateICloudSAMLProvider(opts *SAMLProviderCreateOptions) (ICloudSAMLProvider, error) + func (self *SBaseProvider) CreateICloudgroup(name, desc string) (ICloudgroup, error) + func (self *SBaseProvider) CreateICloudpolicy(opts *SCloudpolicyCreateOptions) (ICloudpolicy, error) + func (self *SBaseProvider) CreateICloudrole(opts *SRoleCreateOptions) (ICloudrole, error) + func (self *SBaseProvider) CreateIClouduser(conf *SClouduserCreateConfig) (IClouduser, error) + func (self *SBaseProvider) CreateIModelartsPool(pool *ModelartsPoolCreateOption, callback func(id string)) (ICloudModelartsPool, error) + func (self *SBaseProvider) CreateIProject(name string) (ICloudProject, error) + func (self *SBaseProvider) CreateSubscription(SubscriptionCreateInput) error + func (self *SBaseProvider) GetCloudRegionExternalIdPrefix() string + func (self *SBaseProvider) GetEnrollmentAccounts() ([]SEnrollmentAccount, error) + func (self *SBaseProvider) GetICloudCDNDomainByName(name string) (ICloudCDNDomain, error) + func (self *SBaseProvider) GetICloudCDNDomains() ([]ICloudCDNDomain, error) + func (self *SBaseProvider) GetICloudDnsZoneById(id string) (ICloudDnsZone, error) + func (self *SBaseProvider) GetICloudDnsZones() ([]ICloudDnsZone, error) + func (self *SBaseProvider) GetICloudGlobalVpcById(id string) (ICloudGlobalVpc, error) + func (self *SBaseProvider) GetICloudGlobalVpcs() ([]ICloudGlobalVpc, error) + func (self *SBaseProvider) GetICloudInterVpcNetworkById(id string) (ICloudInterVpcNetwork, error) + func (self *SBaseProvider) GetICloudInterVpcNetworks() ([]ICloudInterVpcNetwork, error) + func (self *SBaseProvider) GetICloudSAMLProviders() ([]ICloudSAMLProvider, error) + func (self *SBaseProvider) GetICloudgroupByName(name string) (ICloudgroup, error) + func (self *SBaseProvider) GetICloudgroups() ([]ICloudgroup, error) + func (self *SBaseProvider) GetICloudroleById(id string) (ICloudrole, error) + func (self *SBaseProvider) GetICloudroleByName(name string) (ICloudrole, error) + func (self *SBaseProvider) GetICloudroles() ([]ICloudrole, error) + func (self *SBaseProvider) GetIClouduserByName(name string) (IClouduser, error) + func (self *SBaseProvider) GetICloudusers() ([]IClouduser, error) + func (self *SBaseProvider) GetICustomCloudpolicies() ([]ICloudpolicy, error) + func (self *SBaseProvider) GetIModelartsPoolById(id string) (ICloudModelartsPool, error) + func (self *SBaseProvider) GetIModelartsPoolSku() ([]ICloudModelartsPoolSku, error) + func (self *SBaseProvider) GetIModelartsPools() ([]ICloudModelartsPool, error) + func (self *SBaseProvider) GetISSLCertificates() ([]ICloudSSLCertificate, error) + func (self *SBaseProvider) GetISystemCloudpolicies() ([]ICloudpolicy, error) + func (self *SBaseProvider) GetIamLoginUrl() string + func (self *SBaseProvider) GetMetrics(opts *MetricListOptions) ([]MetricValues, error) + func (self *SBaseProvider) GetOnPremiseIRegion() (ICloudRegion, error) + func (self *SBaseProvider) GetSamlEntityId() string + func (self *SBaseProvider) GetSamlSpInitiatedLoginUrl(idpName string) string + func (self *SBaseProvider) IsClouduserSupportPassword() bool + type SBucketAccessUrl struct + Description string + Primary bool + Url string + type SBucketCORSRule struct + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + ExposeHeaders []string + Id string + MaxAgeSeconds int + func DeleteBucketCORS(ibucket ICloudBucket, id []string) ([]SBucketCORSRule, error) + type SBucketMultipartUploads struct + Initiated time.Time + Initiator string + ObjectName string + UploadID string + type SBucketPolicyStatement struct + Action []string + CannedAction string + Condition map[string]map[string]interface{} + Effect string + Id string + Principal map[string][]string + PrincipalId []string + PrincipalNames map[string]string + Resource []string + ResourcePath []string + type SBucketPolicyStatementInput struct + CannedAction string + Condition map[string]map[string]interface{} + Effect string + IpEquals []string + IpNotEquals []string + PrincipalId []string + ResourcePath []string + type SBucketRefererConf struct + AllowEmptyRefer bool + DomainList []string + Enabled bool + RefererType string + type SBucketStats struct + ObjectCount int + SizeBytes int64 + func GetIBucketStats(bucket ICloudBucket) (SBucketStats, error) + func (s SBucketStats) Equals(s2 SBucketStats) bool + type SBucketWebsiteConf struct + ErrorDocument string + Index string + Protocol string + Rules []SBucketWebsiteRoutingRule + Url string + type SBucketWebsiteRoutingRule struct + ConditionErrorCode string + ConditionPrefix string + RedirectProtocol string + RedirectReplaceKey string + RedirectReplaceKeyPrefix string + type SCDNCache struct + RuleCache []SCacheRuleCache + func (self SCDNCache) IsZero() bool + func (self SCDNCache) String() string + type SCDNCacheKeys struct + Enabled *bool + IgnoreCase *bool + KeyRules []CacheKeyRule + func (self SCDNCacheKeys) IsZero() bool + func (self SCDNCacheKeys) String() string + type SCDNForceRedirect struct + Enabled *bool + RedirectType string + func (self SCDNForceRedirect) IsZero() bool + func (self SCDNForceRedirect) String() string + type SCDNHttps struct + Enabled *bool + Http2 *bool + func (self SCDNHttps) IsZero() bool + func (self SCDNHttps) String() string + type SCDNMaxAge struct + Enabled *bool + MaxAgeRules []SMaxAgeRule + func (self SCDNMaxAge) IsZero() bool + func (self SCDNMaxAge) String() string + type SCDNRangeOriginPull struct + Enabled *bool + RangeOriginPullRules []SRangeOriginPullRule + func (self SCDNRangeOriginPull) IsZero() bool + func (self SCDNRangeOriginPull) String() string + type SCDNReferer struct + Enabled *bool + RefererRules []RefererRule + func (self SCDNReferer) IsZero() bool + func (self SCDNReferer) String() string + type SCacheRuleCache struct + CacheConfig *RuleCacheConfig + Priority int + RulePaths []string + RuleType string + type SCdnDomain struct + Area string + Cname string + Domain string + Origin string + OriginType string + Status string + type SCdnOrigin struct + Enabled string + Origin string + Path string + Port int + Priority int + Protocol string + ServerName string + Type string + type SCdnOrigins []SCdnOrigin + func (self SCdnOrigins) IsZero() bool + func (self SCdnOrigins) String() string + type SCloudElasticCacheAccountInput struct + AccountName string + AccountPassword string + AccountPrivilege string + Description string + type SCloudElasticCacheAccountResetPasswordInput struct + NewPassword string + NoPasswordAccess *bool + OldPassword *string + type SCloudElasticCacheAccountUpdateInput struct + AccountPrivilege *string + Description *string + NoPasswordAccess *bool + OldPassword *string + Password *string + type SCloudElasticCacheBackupPolicyUpdateInput struct + BackupReservedDays int + BackupType string + PreferredBackupPeriod string + PreferredBackupTime string + type SCloudElasticCacheFlushInstanceInput struct + Password string + type SCloudElasticCacheInput struct + BillingCycle *billing.SBillingCycle + CapacityGB int64 + ChargeType string + EipId string + Engine string + EngineVersion string + InstanceName string + InstanceType string + MaintainBegin string + MaintainEnd string + NetworkId string + NetworkType string + NodeType string + Password string + PrivateIpAddress string + ProjectId string + SecurityGroupIds []string + Tags map[string]string + UserName string + VpcId string + ZoneIds []string + type SCloudObject struct + Acl string + ETag string + Key string + LastModified time.Time + Meta http.Header + SizeBytes int64 + StorageClass string + func ICloudObject2Struct(obj ICloudObject) SCloudObject + type SCloudResource struct + CanDissociate bool + Id string + Name string + Port int + Type string + type SCloudResources struct + Data []SCloudResource + Total int + type SCloudaccount struct + AccessUrl string + Account string + Secret string + type SCloudaccountCredential struct + AccessKeyId string + AccessKeySecret string + AppId string + AuthUrl string + ClientId string + ClientSecret string + DefaultRegion string + DirectoryId string + DomainName string + Endpoint string + Environment string + GCPClientEmail string + GCPPrivateKey string + GCPPrivateKeyId string + GCPProjectId string + Host string + OraclePrivateKey string + OracleTenancyOCID string + OracleUserOCID string + OrganizationId int + Password string + Port int + ProjectName string + SecretId string + SecretKey string + Username string + type SCloudpolicyCreateOptions struct + Desc string + Document *jsonutils.JSONDict + Name string + type SCloudpolicyPermission struct + Action string + Category string + Name string + type SClouduserCreateConfig struct + Desc string + Email string + ExternalPolicyIds []string + IsConsoleLogin bool + MobilePhone string + Name string + Password string + UserType string + type SDBInstanceAccountCreateConfig struct + Description string + Host string + Name string + Password string + type SDBInstanceBackupCreateConfig struct + Databases []string + Description string + Name string + type SDBInstanceDatabaseCreateConfig struct + CharacterSet string + Description string + Name string + type SDBInstanceNetwork struct + IP string + NetworkId string + type SDBInstancePrivilege struct + Account string + Database string + Privilege string + type SDBInstanceRecoveryConfig struct + BackupId string + Databases map[string]string + OriginDBInstanceExternalId string + type SDBInstanceUpdateOptions struct + Description string + NAME string + type SDefaultAccount struct + Linux SOsDefaultAccount + Windows SOsDefaultAccount + type SDiskInfo struct + Iops int + Name string + SizeGB int + StorageExternalId string + StorageType string + Throughput int + type SDistDefaultAccount struct + Changeable bool + DefaultAccount string + OsDistribution string + type SDnsCapability struct + DnsTypes map[TDnsZoneType][]TDnsType + PolicyTypes map[TDnsZoneType][]TDnsPolicyType + PolicyValues map[TDnsPolicyType][]TDnsPolicyValue + ZoneTypes []TDnsZoneType + type SDnsZoneCreateOptions struct + Desc string + Name string + Vpcs []SPrivateZoneVpc + ZoneType TDnsZoneType + type SEip struct + BGPType string + BandwidthMbps int + ChargeType string + Ip string + Name string + NetworkExternalId string + ProjectId string + Tags map[string]string + type SEnrollmentAccount struct + Id string + Name string + Type string + type SExcludeRule struct + Name string + type SExcludeRules []SExcludeRule + func (self SExcludeRules) IsZero() bool + func (self SExcludeRules) String() string + type SExtraIp struct + IP string + URL string + type SFakeOnPremiseRegion struct + func (region *SFakeOnPremiseRegion) CreateEIP(eip *SEip) (ICloudEIP, error) + func (region *SFakeOnPremiseRegion) CreateILoadBalancer(loadbalancer *SLoadbalancerCreateOptions) (ICloudLoadbalancer, error) + func (region *SFakeOnPremiseRegion) CreateILoadBalancerAcl(acl *SLoadbalancerAccessControlList) (ICloudLoadbalancerAcl, error) + func (region *SFakeOnPremiseRegion) CreateILoadBalancerCertificate(cert *SLoadbalancerCertificate) (ICloudLoadbalancerCertificate, error) + func (region *SFakeOnPremiseRegion) CreateISecurityGroup(conf *SecurityGroupCreateInput) (ICloudSecurityGroup, error) + func (region *SFakeOnPremiseRegion) CreateIVpc(opts *VpcCreateOptions) (ICloudVpc, error) + func (region *SFakeOnPremiseRegion) GetCloudEnv() string + func (region *SFakeOnPremiseRegion) GetGeographicInfo() SGeographicInfo + func (region *SFakeOnPremiseRegion) GetGlobalId() string + func (region *SFakeOnPremiseRegion) GetIEipById(id string) (ICloudEIP, error) + func (region *SFakeOnPremiseRegion) GetIEips() ([]ICloudEIP, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancerAclById(aclId string) (ICloudLoadbalancerAcl, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancerAcls() ([]ICloudLoadbalancerAcl, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancerById(loadbalancerId string) (ICloudLoadbalancer, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancerCertificateById(certId string) (ICloudLoadbalancerCertificate, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancerCertificates() ([]ICloudLoadbalancerCertificate, error) + func (region *SFakeOnPremiseRegion) GetILoadBalancers() ([]ICloudLoadbalancer, error) + func (region *SFakeOnPremiseRegion) GetISecurityGroupById(id string) (ICloudSecurityGroup, error) + func (region *SFakeOnPremiseRegion) GetIVpcById(id string) (ICloudVpc, error) + func (region *SFakeOnPremiseRegion) GetIVpcs() ([]ICloudVpc, error) + func (region *SFakeOnPremiseRegion) GetIZoneById(id string) (ICloudZone, error) + func (region *SFakeOnPremiseRegion) GetIZones() ([]ICloudZone, error) + func (region *SFakeOnPremiseRegion) GetId() string + func (region *SFakeOnPremiseRegion) GetName() string + func (region *SFakeOnPremiseRegion) GetStatus() string + func (region *SFakeOnPremiseRegion) GetSysTags() map[string]string + func (region *SFakeOnPremiseRegion) GetTags() (map[string]string, error) + func (region *SFakeOnPremiseRegion) IsEmulated() bool + func (region *SFakeOnPremiseRegion) Refresh() error + func (region *SFakeOnPremiseRegion) SetTags(tags map[string]string, replace bool) error + type SGeographicInfo struct + City string + CountryCode string + Latitude float32 + Longitude float32 + func (self SGeographicInfo) IsEquals(geo SGeographicInfo) bool + type SGetObjectRange struct + End int64 + Start int64 + func ParseRange(rangeStr string) SGetObjectRange + func (r SGetObjectRange) SizeBytes() int64 + func (r SGetObjectRange) String() string + type SHCSOEndpoints struct + As string + Bms string + Bss string + Cce string + Cci string + Ces string + Csbs string + Cts string + Dcs string + DefaultSubnetDns string + Ecs string + Elb string + EndpointDomain string + Eps string + Evs string + Iam string + Ims string + Modelarts string + Nat string + Obs string + Rds string + SfsTurbo string + Vbs string + Vpc string + func (self *SHCSOEndpoints) GetEndpoint(defaultRegion, serviceName string, region string) string + type SImage struct + Checksum string + CreatedAt time.Time + Deleted bool + DiskFormat string + EncryptKeyId string + ExternalId string + Id string + IsPublic bool + MinDiskMB int + MinRamMB int + Name string + Owner string + Properties map[string]string + Protected bool + PublicScope string + SizeBytes int64 + Status string + SubImages []SSubImage + func CloudImage2Image(image ICloudImage) SImage + type SImageCreateOption struct + Checksum string + Description string + ExternalId string + GetReader func(imageId, format string) (io.Reader, int64, error) + ImageId string + ImageName string + MinDiskMb int + MinRamMb int + OsArch string + OsDistribution string + OsFullVersion string + OsType string + OsVersion string + TmpPath string + type SImageExportInfo struct + CompressFormat string + DownloadUrl string + Name string + type SImageExportOptions struct + BucketName string + type SInstanceCapability struct + DefaultAccount SDefaultAccount + Hypervisor string + Provider string + Storages Storage + type SInstanceDeployOptions struct + DeleteKeypair bool + KeypairName string + Password string + PublicKey string + UserData string + Username string + type SInstanceType struct + InstanceType string + type SInstanceUpdateOptions struct + Description string + NAME string + type SInterVpcNetworkAttachVpcOption struct + VpcAuthorityOwnerId string + VpcId string + VpcRegionId string + type SInterVpcNetworkCreateOptions struct + Desc string + Name string + type SInterVpcNetworkDetachVpcOption struct + VpcAuthorityOwnerId string + VpcId string + VpcRegionId string + type SKafkaTopic struct + Description string + Id string + Name string + type SKubeconfig struct + Config string + Expiration time.Time + type SListObjectResult struct + CommonPrefixes []ICloudObject + IsTruncated bool + NextMarker string + Objects []ICloudObject + type SLoadbalancerAccessControlList struct + AccessControlEnable bool + Entrys []SLoadbalancerAccessControlListEntry + ListenerId string + Name string + type SLoadbalancerAccessControlListEntry struct + CIDR string + Comment string + type SLoadbalancerBackend struct + Address string + BackendRole string + BackendType string + ExternalID string + HostName string + ID string + Index int + Name string + Port int + Weight int + ZoneId string + type SLoadbalancerBackendGroup struct + Backends []SLoadbalancerBackend + GroupType string + ListenPort int + Name string + Protocol string + Scheduler string + VpcId string + type SLoadbalancerCertificate struct + Certificate string + Name string + PrivateKey string + type SLoadbalancerCreateOptions struct + Address string + AddressType string + BillingCycle *billing.SBillingCycle + ChargeType string + Desc string + EgressMbps int + EipId string + LoadbalancerSpec string + Name string + NetworkIds []string + ProjectId string + SlaveZoneId string + Tags map[string]string + VpcId string + ZoneId string + type SLoadbalancerHealthCheck struct + HealthCheck string + HealthCheckDomain string + HealthCheckExp string + HealthCheckFail int + HealthCheckHttpCode string + HealthCheckInterval int + HealthCheckReq string + HealthCheckRise int + HealthCheckTimeout int + HealthCheckType string + HealthCheckURI string + type SLoadbalancerListenerCreateOptions struct + AccessControlListId string + AccessControlListStatus string + AccessControlListType string + BackendConnectTimeout int + BackendGroupId string + BackendGroupType string + BackendIdleTimeout int + BackendServerPort int + CertificateId string + ClientIdleTimeout int + ClientRequestTimeout int + Description string + EgressMbps int + EnableHTTP2 bool + EstablishedTimeout int + Gzip bool + ListenerPort int + ListenerType string + Name string + Scheduler string + TLSCipherPolicy string + XForwardedFor bool + type SLoadbalancerListenerRule struct + BackendGroupId string + BackendGroupType string + Condition string + Domain string + HealthCheck string + HealthCheckDomain string + HealthCheckFail int + HealthCheckHttpCode string + HealthCheckInterval int + HealthCheckRise int + HealthCheckTimeout int + HealthCheckType string + HealthCheckURI string + Name string + Path string + Scheduler string + StickySessionCookieTimeout int + type SLoadbalancerStickySession struct + StickySession string + StickySessionCookie string + StickySessionCookieTimeout int + StickySessionType string + type SManagedDBInstanceChangeConfig struct + DiskSizeGB int + InstanceType string + type SManagedDBInstanceCreateConfig struct + Address string + BackupId string + BillingCycle *billing.SBillingCycle + Category string + Description string + DiskSizeGB int + Engine string + EngineVersion string + MasterInstanceId string + MultiAz bool + Name string + NetworkId string + Password string + Port int + ProjectId string + RdsId string + SecgroupIds []string + StorageType string + Tags map[string]string + Username string + VcpuCount int + VmemSizeMb int + VpcId string + type SManagedVMChangeConfig struct + Cpu int + CpuSocket int + InstanceType string + MemoryMB int + type SManagedVMCreateConfig struct + Account string + BillingCycle *billing.SBillingCycle + Cpu int + DataDisks []SDiskInfo + Description string + EnableMonitorAgent bool + ExternalImageId string + ExternalNetworkId string + ExternalSecgroupIds []string + ExternalVpcId string + Hostname string + ImageType string + InstanceType string + IpAddr string + IsNeedInjectPasswordByCloudInit bool + IsWindowsUserDataTypeNeedEncode bool + KeypairName string + MemoryMB int + Name string + NameEn string + OsDistribution string + OsType string + OsVersion string + Password string + ProjectId string + PublicKey string + SysDisk SDiskInfo + Tags map[string]string + UserData string + UserDataType string + WindowsUserDataType string + func (vmConfig *SManagedVMCreateConfig) GetConfig(config *jsonutils.JSONDict) error + func (vmConfig *SManagedVMCreateConfig) GetUserData() (string, error) + func (vmConfig *SManagedVMCreateConfig) InjectPasswordByCloudInit() error + type SManagedVMRebuildRootConfig struct + Account string + ImageId string + OsType string + Password string + PublicKey string + SysSizeGB int + UserData string + type SMaxAgeRule struct + FollowOrigin bool + MaxAgeContents []string + MaxAgeTime int + MaxAgeType string + type SModelI18nEntry struct + Value string + func NewSModelI18nEntry(value string) *SModelI18nEntry + func (self *SModelI18nEntry) CN(v string) *SModelI18nEntry + func (self *SModelI18nEntry) EN(v string) *SModelI18nEntry + func (self *SModelI18nEntry) GetKeyValue() string + func (self *SModelI18nEntry) Lookup(tag language.Tag) string + type SModelI18nTable map[string]*SModelI18nEntry + type SMongoDBBackup struct + BackupMethod TMongoDBBackupMethod + BackupSizeKb int + BackupType TMongoDBBackupType + Description string + EndTime time.Time + Name string + StartTime time.Time + Status TMongoDBBackupStatus + type SMongoDBBackups struct + Data []SMongoDBBackup + Total int + type SMountTargetCreateOptions struct + AccessGroupId string + FileSystemId string + NetworkId string + NetworkType string + VpcId string + type SNatDRule struct + ExternalIP string + ExternalIPID string + ExternalPort int + InternalIP string + InternalPort int + Protocol string + type SNatSRule struct + ExternalIP string + ExternalIPID string + NetworkID string + SourceCIDR string + type SNetworkCreateOptions struct + AssignPublicIp bool + Cidr string + Desc string + Name string + ProjectId string + type SOsDefaultAccount struct + Changeable bool + DefaultAccount string + DisabledAccounts []string + DistAccounts []SDistDefaultAccount + type SPremiseBaseProviderFactory struct + func (factory *SPremiseBaseProviderFactory) GetAccountIdEqualizer() func(origin, now string) bool + func (factory *SPremiseBaseProviderFactory) GetClouduserMinPolicyCount() int + func (factory *SPremiseBaseProviderFactory) GetMaxCloudEventKeepDays() int + func (factory *SPremiseBaseProviderFactory) GetMaxCloudEventSyncDays() int + func (factory *SPremiseBaseProviderFactory) GetProvider(providerId, providerName, url, username, password string) (ICloudProvider, error) + func (factory *SPremiseBaseProviderFactory) GetSupportedBrands() []string + func (factory *SPremiseBaseProviderFactory) GetSupportedDnsPolicyTypes() map[TDnsZoneType][]TDnsPolicyType + func (factory *SPremiseBaseProviderFactory) GetSupportedDnsPolicyValues() map[TDnsPolicyType][]TDnsPolicyValue + func (factory *SPremiseBaseProviderFactory) GetSupportedDnsTypes() map[TDnsZoneType][]TDnsType + func (factory *SPremiseBaseProviderFactory) GetSupportedDnsZoneTypes() []TDnsZoneType + func (factory *SPremiseBaseProviderFactory) GetTTLRange(zoneType TDnsZoneType, productType TDnsProductType) TTlRange + func (factory *SPremiseBaseProviderFactory) IsCloudeventRegional() bool + func (factory *SPremiseBaseProviderFactory) IsCloudpolicyWithSubscription() bool + func (factory *SPremiseBaseProviderFactory) IsClouduserNeedInitPolicy() bool + func (factory *SPremiseBaseProviderFactory) IsClouduserpolicyWithSubscription() bool + func (factory *SPremiseBaseProviderFactory) IsMultiTenant() bool + func (factory *SPremiseBaseProviderFactory) IsNeedForceAutoCreateProject() bool + func (factory *SPremiseBaseProviderFactory) IsOnPremise() bool + func (factory *SPremiseBaseProviderFactory) IsPublicCloud() bool + func (factory *SPremiseBaseProviderFactory) IsSupportCloudIdService() bool + func (factory *SPremiseBaseProviderFactory) IsSupportClouduserPolicy() bool + func (factory *SPremiseBaseProviderFactory) IsSupportCreateCloudgroup() bool + func (factory *SPremiseBaseProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool + func (factory *SPremiseBaseProviderFactory) IsSupportCrossRegionVpcPeering() bool + func (factory *SPremiseBaseProviderFactory) IsSupportModifyRouteTable() bool + func (factory *SPremiseBaseProviderFactory) IsSupportPrepaidResources() bool + func (factory *SPremiseBaseProviderFactory) IsSupportResetClouduserPassword() bool + func (factory *SPremiseBaseProviderFactory) IsSupportSAMLAuth() bool + func (factory *SPremiseBaseProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool + func (factory *SPremiseBaseProviderFactory) IsSystemCloudpolicyUnified() bool + func (factory *SPremiseBaseProviderFactory) NeedSyncSkuFromCloud() bool + func (factory *SPremiseBaseProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error + func (factory *SPremiseBaseProviderFactory) ValidateCrossRegionVpcPeeringBandWidth(bandwidth int) error + type SPrivateCloudBaseProviderFactory struct + func (factory *SPrivateCloudBaseProviderFactory) GetAccountIdEqualizer() func(origin, now string) bool + func (factory *SPrivateCloudBaseProviderFactory) GetClouduserMinPolicyCount() int + func (factory *SPrivateCloudBaseProviderFactory) GetMaxCloudEventKeepDays() int + func (factory *SPrivateCloudBaseProviderFactory) GetMaxCloudEventSyncDays() int + func (factory *SPrivateCloudBaseProviderFactory) GetProvider(providerId, providerName, url, username, password string) (ICloudProvider, error) + func (factory *SPrivateCloudBaseProviderFactory) GetSupportedBrands() []string + func (factory *SPrivateCloudBaseProviderFactory) GetSupportedDnsPolicyTypes() map[TDnsZoneType][]TDnsPolicyType + func (factory *SPrivateCloudBaseProviderFactory) GetSupportedDnsPolicyValues() map[TDnsPolicyType][]TDnsPolicyValue + func (factory *SPrivateCloudBaseProviderFactory) GetSupportedDnsTypes() map[TDnsZoneType][]TDnsType + func (factory *SPrivateCloudBaseProviderFactory) GetSupportedDnsZoneTypes() []TDnsZoneType + func (factory *SPrivateCloudBaseProviderFactory) GetTTLRange(zoneType TDnsZoneType, productType TDnsProductType) TTlRange + func (factory *SPrivateCloudBaseProviderFactory) IsCloudeventRegional() bool + func (factory *SPrivateCloudBaseProviderFactory) IsCloudpolicyWithSubscription() bool + func (factory *SPrivateCloudBaseProviderFactory) IsClouduserNeedInitPolicy() bool + func (factory *SPrivateCloudBaseProviderFactory) IsClouduserpolicyWithSubscription() bool + func (factory *SPrivateCloudBaseProviderFactory) IsMultiTenant() bool + func (factory *SPrivateCloudBaseProviderFactory) IsNeedForceAutoCreateProject() bool + func (factory *SPrivateCloudBaseProviderFactory) IsOnPremise() bool + func (factory *SPrivateCloudBaseProviderFactory) IsPublicCloud() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportCloudIdService() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportClouduserPolicy() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportCreateCloudgroup() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportCrossRegionVpcPeering() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportModifyRouteTable() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportPrepaidResources() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportResetClouduserPassword() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportSAMLAuth() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool + func (factory *SPrivateCloudBaseProviderFactory) IsSystemCloudpolicyUnified() bool + func (factory *SPrivateCloudBaseProviderFactory) NeedSyncSkuFromCloud() bool + func (factory *SPrivateCloudBaseProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error + func (factory *SPrivateCloudBaseProviderFactory) ValidateCrossRegionVpcPeeringBandWidth(bandwidth int) error + type SPrivateZoneVpc struct + Id string + RegionId string + type SProviderInfo struct + Account string + Name string + Options *jsonutils.JSONDict + Region string + Secret string + Url string + type SPublicCloudBaseProviderFactory struct + func (factory *SPublicCloudBaseProviderFactory) GetAccountIdEqualizer() func(origin, now string) bool + func (factory *SPublicCloudBaseProviderFactory) GetClouduserMinPolicyCount() int + func (factory *SPublicCloudBaseProviderFactory) GetMaxCloudEventKeepDays() int + func (factory *SPublicCloudBaseProviderFactory) GetMaxCloudEventSyncDays() int + func (factory *SPublicCloudBaseProviderFactory) GetProvider(providerId, providerName, url, username, password string) (ICloudProvider, error) + func (factory *SPublicCloudBaseProviderFactory) GetSupportedBrands() []string + func (factory *SPublicCloudBaseProviderFactory) GetSupportedDnsPolicyTypes() map[TDnsZoneType][]TDnsPolicyType + func (factory *SPublicCloudBaseProviderFactory) GetSupportedDnsPolicyValues() map[TDnsPolicyType][]TDnsPolicyValue + func (factory *SPublicCloudBaseProviderFactory) GetSupportedDnsTypes() map[TDnsZoneType][]TDnsType + func (factory *SPublicCloudBaseProviderFactory) GetSupportedDnsZoneTypes() []TDnsZoneType + func (factory *SPublicCloudBaseProviderFactory) GetTTLRange(zoneType TDnsZoneType, productType TDnsProductType) TTlRange + func (factory *SPublicCloudBaseProviderFactory) IsCloudeventRegional() bool + func (factory *SPublicCloudBaseProviderFactory) IsCloudpolicyWithSubscription() bool + func (factory *SPublicCloudBaseProviderFactory) IsClouduserNeedInitPolicy() bool + func (factory *SPublicCloudBaseProviderFactory) IsClouduserpolicyWithSubscription() bool + func (factory *SPublicCloudBaseProviderFactory) IsMultiTenant() bool + func (factory *SPublicCloudBaseProviderFactory) IsNeedForceAutoCreateProject() bool + func (factory *SPublicCloudBaseProviderFactory) IsOnPremise() bool + func (factory *SPublicCloudBaseProviderFactory) IsPublicCloud() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportCloudIdService() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportClouduserPolicy() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportCreateCloudgroup() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportCrossRegionVpcPeering() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportModifyRouteTable() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportPrepaidResources() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportResetClouduserPassword() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportSAMLAuth() bool + func (factory *SPublicCloudBaseProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool + func (factory *SPublicCloudBaseProviderFactory) IsSystemCloudpolicyUnified() bool + func (factory *SPublicCloudBaseProviderFactory) NeedSyncSkuFromCloud() bool + func (factory *SPublicCloudBaseProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error + func (factory *SPublicCloudBaseProviderFactory) ValidateCrossRegionVpcPeeringBandWidth(bandwidth int) error + type SPublicIpInfo struct + PublicIpBw int + PublicIpChargeType TElasticipChargeType + type SRangeOriginPullRule struct + Enabled bool + RulePaths []string + RuleType string + type SRoleCreateOptions struct + Desc string + Name string + SAMLProvider string + type SServerSku struct + CpuCoreCount int + MemorySizeMB int + Name string + type SServerSkuCreateOption struct + CpuCount int + Name string + SysDiskMaxSizeGb int + SysDiskMinSizeGb int + VmemSizeMb int + type SSubAccount struct + Account string + DefaultProjectId string + Desc string + HealthStatus string + Id string + Name string + type SSubImage struct + Index int + MinDiskMB int + MinRamMb int + SizeBytes int64 + type SVpcJointInterVpcNetworkOption struct + InterVpcNetworkId string + NetworkAuthorityOwnerId string + type SWafRule struct + Action *DefaultAction + Desc string + Name string + Priority int + StatementCondition TWafStatementCondition + Statements []SWafStatement + type SWafStatement struct + ExcludeRules *SExcludeRules + ForwardedIPHeader string + IPSetId string + ManagedRuleGroupName string + MatchField TWafMatchField + MatchFieldKey string + MatchFieldValues *TWafMatchFieldValues + Negation bool + Operator TWafOperator + RegexSetId string + RuleGroupId string + SearchString string + Transformations *TextTransformations + Type TWafStatementType + func (self SWafStatement) GetExternalId() string + func (self SWafStatement) GetGlobalId() string + type SWireCreateOptions struct + AssignPublicIp bool + Bandwidth int + Mtu int + Name string + ZoneId string + type SZoneInfo struct + Zone1 string + Zone2 string + Zone3 string + ZoneId string + type SaveImageOptions struct + Name string + Notes string + type SecurityGroupCreateInput struct + Desc string + Name string + ProjectId string + Tags map[string]string + VpcId string + type SecurityGroupReference struct + Id string + Name string + type SecurityGroupRuleCreateOptions struct + Action secrules.TSecurityRuleAction + CIDR string + Desc string + Direction secrules.TSecurityRuleDirection + Ports string + Priority int + Protocol string + func (self *SecurityGroupRuleCreateOptions) String() string + type SecurityGroupRuleUpdateOptions struct + Action secrules.TSecurityRuleAction + CIDR string + Desc string + Ports string + Priority int + Protocol string + type ServerStopOptions struct + IsForce bool + StopCharging bool + type ServerVncInput struct + Origin bool + type ServerVncOutput struct + ApiServer string + ConnectParams string + Host string + HostId string + Hypervisor string + Id string + InstanceId string + InstanceName string + OsName string + Password string + Port int64 + Protocol string + Region string + Session string + Url string + VncPassword string + Zone string + type SnapshotPolicyInput struct + Desc string + Name string + RepeatWeekdays []int + RetentionDays int + Tags map[string]string + TimePoints []int + func (spi *SnapshotPolicyInput) GetStringArrayRepeatWeekdays() []string + func (spi *SnapshotPolicyInput) GetStringArrayTimePoints() []string + type Storage struct + DataDisk []StorageInfo + SysDisk []StorageInfo + type StorageInfo struct + MaxSizeGb int + MinSizeGb int + Resizable bool + StepSizeGb int + StorageType string + type SubAccounts struct + Accounts []SSubAccount + Cloudregions []struct{ ... } + func (self SubAccounts) IsZero() bool + func (self SubAccounts) String() string + type SubscriptionCreateInput struct + EnrollmentAccountId string + Name string + OfferType string + type TBackupMethod string + type TBiosType string + func ToBiosType(bios string) TBiosType + type TBucketACLType string + type TCloudResources []T + func (a TCloudResources[T]) Len() int + func (a TCloudResources[T]) Less(i, j int) bool + func (a TCloudResources[T]) Swap(i, j int) + type TDnsPolicyType string + type TDnsPolicyValue string + type TDnsProductType string + type TDnsTTLRangeType string + type TDnsType string + type TDnsZoneType string + type TElasticipChargeType string + type TGlobalIdResource interface + GetGlobalId func() string + type TImageType string + type TMetricType string + const BUCKET_METRIC_TYPE_LATECY + const BUCKET_METRIC_TYPE_NET_BPS_RX + const BUCKET_METRIC_TYPE_NET_BPS_TX + const BUCKET_METRIC_TYPE_REQ_2XX_COUNT + const BUCKET_METRIC_TYPE_REQ_3XX_COUNT + const BUCKET_METRIC_TYPE_REQ_4XX_COUNT + const BUCKET_METRIC_TYPE_REQ_5XX_COUNT + const BUCKET_METRIC_TYPE_STORAGE_SIZE + const BUCKET_METRYC_TYPE_REQ_COUNT + const EIP_METRIC_TYPE_NET_BPS_RX + const EIP_METRIC_TYPE_NET_BPS_TX + const EIP_METRIC_TYPE_NET_DROP_SPEED_TX + const HOST_METRIC_TYPE_CPU_USAGE + const HOST_METRIC_TYPE_DISK_IO_READ_BPS + const HOST_METRIC_TYPE_DISK_IO_READ_IOPS + const HOST_METRIC_TYPE_DISK_IO_WRITE_BPS + const HOST_METRIC_TYPE_DISK_IO_WRITE_IOPS + const HOST_METRIC_TYPE_MEM_USAGE + const HOST_METRIC_TYPE_NET_BPS_RX + const HOST_METRIC_TYPE_NET_BPS_TX + const K8S_NODE_METRIC_TYPE_CPU_USAGE + const K8S_NODE_METRIC_TYPE_DISK_USAGE + const K8S_NODE_METRIC_TYPE_MEM_USAGE + const K8S_NODE_METRIC_TYPE_NET_BPS_RX + const K8S_NODE_METRIC_TYPE_NET_BPS_TX + const LB_METRIC_TYPE_DROP_PACKET_RX + const LB_METRIC_TYPE_DROP_PACKET_TX + const LB_METRIC_TYPE_DROP_TRAFFIC_RX + const LB_METRIC_TYPE_DROP_TRAFFIC_TX + const LB_METRIC_TYPE_HRSP_COUNT + const LB_METRIC_TYPE_MAX_CONNECTION + const LB_METRIC_TYPE_NET_ACTIVE_CONNECTION + const LB_METRIC_TYPE_NET_BPS_RX + const LB_METRIC_TYPE_NET_BPS_TX + const LB_METRIC_TYPE_NET_INACTIVE_CONNECTION + const LB_METRIC_TYPE_NET_PACKET_RX + const LB_METRIC_TYPE_NET_PACKET_TX + const LB_METRIC_TYPE_SNAT_CONN_COUNT + const LB_METRIC_TYPE_SNAT_PORT + const LB_METRIC_TYPE_UNHEALTHY_SERVER_COUNT + const METRIC_TAG_DATABASE + const METRIC_TAG_DEVICE + const METRIC_TAG_NET_TYPE + const METRIC_TAG_NET_TYPE_INTERNET + const METRIC_TAG_NET_TYPE_INTRANET + const METRIC_TAG_NODE + const METRIC_TAG_PROCESS_NAME + const METRIC_TAG_REQUST + const METRIC_TAG_REQUST_2XX + const METRIC_TAG_REQUST_3XX + const METRIC_TAG_REQUST_4XX + const METRIC_TAG_REQUST_5XX + const METRIC_TAG_REQUST_GET + const METRIC_TAG_REQUST_POST + const METRIC_TAG_STATE + const METRIC_TAG_TYPE_DISK_TYPE + const METRIC_TAG_TYPE_DISK_TYPE_EBS + const MODELARTS_POOL_METRIC_TYPE_CPU_USAGE + const MODELARTS_POOL_METRIC_TYPE_DISK_AVAILABLE_CAPACITY + const MODELARTS_POOL_METRIC_TYPE_DISK_CAPACITY + const MODELARTS_POOL_METRIC_TYPE_DISK_USAGE + const MODELARTS_POOL_METRIC_TYPE_GPU_MEM_USAGE + const MODELARTS_POOL_METRIC_TYPE_GPU_UTIL + const MODELARTS_POOL_METRIC_TYPE_MEM_USAGE + const MODELARTS_POOL_METRIC_TYPE_NPU_MEM_USAGE + const MODELARTS_POOL_METRIC_TYPE_NPU_UTIL + const RDS_METRIC_TYPE_CONN_ACTIVE + const RDS_METRIC_TYPE_CONN_COUNT + const RDS_METRIC_TYPE_CONN_FAILED + const RDS_METRIC_TYPE_CONN_USAGE + const RDS_METRIC_TYPE_CPU_USAGE + const RDS_METRIC_TYPE_DISK_IO_PERCENT + const RDS_METRIC_TYPE_DISK_READ_BPS + const RDS_METRIC_TYPE_DISK_USAGE + const RDS_METRIC_TYPE_DISK_WRITE_BPS + const RDS_METRIC_TYPE_INNODB_READ_BPS + const RDS_METRIC_TYPE_INNODB_WRITE_BPS + const RDS_METRIC_TYPE_MEM_USAGE + const RDS_METRIC_TYPE_NET_BPS_RX + const RDS_METRIC_TYPE_NET_BPS_TX + const RDS_METRIC_TYPE_QPS + const RDS_METRIC_TYPE_TPS + const REDIS_METRIC_TYPE_CACHE_EXP_KEYS + const REDIS_METRIC_TYPE_CACHE_KEYS + const REDIS_METRIC_TYPE_CPU_USAGE + const REDIS_METRIC_TYPE_DATA_MEM_USAGE + const REDIS_METRIC_TYPE_MEM_USAGE + const REDIS_METRIC_TYPE_NET_BPS_RX + const REDIS_METRIC_TYPE_NET_BPS_TX + const REDIS_METRIC_TYPE_OPT_SES + const REDIS_METRIC_TYPE_USED_CONN + const VM_METRIC_TYPE_CPU_USAGE + const VM_METRIC_TYPE_DISK_IO_READ_BPS + const VM_METRIC_TYPE_DISK_IO_READ_IOPS + const VM_METRIC_TYPE_DISK_IO_WRITE_BPS + const VM_METRIC_TYPE_DISK_IO_WRITE_IOPS + const VM_METRIC_TYPE_DISK_USAGE + const VM_METRIC_TYPE_MEM_USAGE + const VM_METRIC_TYPE_NET_BPS_RX + const VM_METRIC_TYPE_NET_BPS_TX + const VM_METRIC_TYPE_NET_TCP_CONNECTION + const VM_METRIC_TYPE_PROCESS_NUMBER + const WIRE_METRIC_TYPE_CPU_USAGE + const WIRE_METRIC_TYPE_MEM_USAGE + const WIRE_METRIC_TYPE_NET_RT + const WIRE_METRIC_TYPE_NET_UNREACHABLE_RATE + func (key TMetricType) Key() string + func (key TMetricType) Name() string + type TMongoDBBackupMethod string + type TMongoDBBackupStatus string + type TMongoDBBackupType string + type TOsType string + type TRWAccessType string + type TResourceType string + const METRIC_RESOURCE_TYPE_BUCKET + const METRIC_RESOURCE_TYPE_CLOUD_ACCOUNT + const METRIC_RESOURCE_TYPE_EIP + const METRIC_RESOURCE_TYPE_HOST + const METRIC_RESOURCE_TYPE_K8S + const METRIC_RESOURCE_TYPE_LB + const METRIC_RESOURCE_TYPE_MODELARTS_POOL + const METRIC_RESOURCE_TYPE_RDS + const METRIC_RESOURCE_TYPE_REDIS + const METRIC_RESOURCE_TYPE_SERVER + const METRIC_RESOURCE_TYPE_STORAGE + const METRIC_RESOURCE_TYPE_WIRE + type TTlRange struct + AllowedTTLs []int64 + RangeType TDnsTTLRangeType + TTLMaxValue int64 + TTLMinValue int64 + func (ttlR TTlRange) GetSuppportedTTL(ttl int64) int64 + type TUserAccessType string + type TWafAction string + type TWafMatchField string + type TWafMatchFieldValues []string + func (self TWafMatchFieldValues) IsZero() bool + func (self TWafMatchFieldValues) String() string + type TWafOperator string + type TWafStatementCondition string + type TWafStatementType string + type TWafTextTransformation string + type TWafType string + type TagsUpdateInfo struct + NewTags map[string]string + OldTags map[string]string + func SetBucketTags(ctx context.Context, iBucket ICloudBucket, mangerId string, ...) (TagsUpdateInfo, error) + func (t TagsUpdateInfo) IsChanged() bool + type TextTransformations []TWafTextTransformation + func (self TextTransformations) IsZero() bool + func (self TextTransformations) String() string + type VpcCreateOptions struct + CIDR string + Desc string + GlobalVpcExternalId string + NAME string + type VpcPeeringConnectionCreateOptions struct + Bandwidth int + Desc string + Name string + PeerAccountId string + PeerRegionId string + PeerVpcId string + type WafAddresses []string + func (self WafAddresses) IsZero() bool + func (self WafAddresses) String() string + type WafCreateOptions struct + CloudResources []SCloudResource + DefaultAction *DefaultAction + Desc string + Name string + SourceIps WafSourceIps + Type TWafType + type WafRegexPatterns []string + func (self WafRegexPatterns) IsZero() bool + func (self WafRegexPatterns) String() string + type WafSourceIps []string