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 AUTO_PAY_FALSE + const AUTO_PAY_TRUE + const CLOUD_PROVIDER_HUAWEI + const CLOUD_PROVIDER_HUAWEI_CN + const CLOUD_PROVIDER_HUAWEI_EN + const DATETIME_FORMAT + const ECS_NOT_FOUND + const EVS_NOT_FOUND + const EXPIRE_MODE_AUTO_RENEW + const EXPIRE_MODE_AUTO_UNSUBSCRIBE + const EXPIRE_MODE_TO_POSTPAID + const FIP_NOT_FOUND + const HUAWEI_API_VERSION + const HUAWEI_DEFAULT_REGION + const IMG_BACKUP_NOT_FOUND + const IMG_ERR_NOT_FOUND + const IMG_ID_NOT_FOUND + const IMG_NOT_FOUND + const IMG_VM_BACKUP_NOT_FOUND + const IMG_VM_NOT_FOUND + const ImageStatusActive + const ImageStatusDeleted + const ImageStatusKilled + const ImageStatusQueued + const ImageStatusSaving + const InstanceStatusRunning + const InstanceStatusStopped + const InstanceStatusTerminated + const JOB_NOT_FOUND + const PERIOD_TYPE_MONTH + const PERIOD_TYPE_YEAR + const POST_PAID + const PRE_PAID + const RESOURCE_TYPE_BANDWIDTH + const RESOURCE_TYPE_IMAGE + const RESOURCE_TYPE_IP + const RESOURCE_TYPE_VM + const RESOURCE_TYPE_VOLUME + const SERVICE_AS + const SERVICE_BMS + const SERVICE_BSS + const SERVICE_CCE + const SERVICE_CCI + const SERVICE_CDN + const SERVICE_CES + const SERVICE_CSBS + const SERVICE_CTS + const SERVICE_DCS + const SERVICE_ECS + const SERVICE_ECS_V1_1 + const SERVICE_ECS_V2_1 + const SERVICE_ELB + const SERVICE_EPS + const SERVICE_EVS + const SERVICE_EVS_V1 + const SERVICE_EVS_V2_1 + const SERVICE_FUNCTIONGRAPH + const SERVICE_GAUSSDB + const SERVICE_GAUSSDB_NOSQL + const SERVICE_GAUSSDB_NOSQL_V3_1 + const SERVICE_IAM + const SERVICE_IAM_V3 + const SERVICE_IAM_V3_EXT + const SERVICE_IMS + const SERVICE_IMS_V1 + const SERVICE_MODELARTS + const SERVICE_MODELARTS_V1 + const SERVICE_NAT + const SERVICE_RDS + const SERVICE_SCM + const SERVICE_SFS + const SERVICE_VPC + const SERVICE_VPC_V2_0 + const SERVICE_VPC_V3 + const TASK_FAIL + const TASK_SUCCESS + const VM_NOT_FOUND + const VPC_NOT_FOUND + var LBBG_PROTOCOL_MAP = map[string]string + var LB_ALGORITHM_MAP = map[string]string + var LB_HEALTHCHECK_TYPE_MAP = map[string]string + var LB_STICKY_SESSION_MAP = map[string]string + var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo + var NOT_FOUND_CODES = []string + func GetBucketName(regionId string, imageId string) string + func NatResouceStatusTransfer(status string) string + func ToHuaweiHealthCheckHttpCode(c string) string + func ToOnecloudHealthCheckHttpCode(c string) string + type AcceptVpcInfo struct + TenantID string + VpcID string + type Attachment struct + AttachedAt string + AttachmentID string + Device string + HostName string + ID string + ServerID string + VolumeID string + type DiskMeta struct + AttachedMode string + Billing string + OrderId string + Readonly string + ResourceSpecCode string + ResourceType string + type ExtraSpecs struct + AvailabilityZone string + OSVendorExtendedSoldOutAvailabilityZones string + RESKEYAvailabilityZones string + VolumeBackendName string + type Flavor struct + Disk string + ID string + Name string + RAM string + Vcpus string + type GaussDBMySQL struct + Actions []string + BackupSpaceUsage struct{ ... } + BackupStrategy struct{ ... } + Created string + Datastore struct{ ... } + DbUserName string + Engine string + EnterpriseProjectId string + FlavorInfo struct{ ... } + Groups []struct{ ... } + Id string + LbIPAddress string + LbPort string + MaintenanceWindow string + Mode string + Name string + PayMode string + Port string + Region string + SecurityGroupId string + Status string + SubnetId string + TimeZone string + Updated string + VpcId string + type GaussDBNoSQL struct + Actions []string + BackupSpaceUsage struct{ ... } + BackupStrategy struct{ ... } + Created string + Datastore struct{ ... } + DbUserName string + Engine string + EnterpriseProjectId string + Groups []struct{ ... } + Id string + LbIPAddress string + LbPort string + MaintenanceWindow string + Mode string + Name string + PayMode string + Port string + Region string + SecurityGroupId string + Status string + SubnetId string + TimeZone string + Updated string + VpcId string + type HuaweiClientConfig struct + func NewHuaweiClientConfig(accessKey, accessSecret string) *HuaweiClientConfig + func (cfg *HuaweiClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *HuaweiClientConfig + func (cfg *HuaweiClientConfig) Debug(debug bool) *HuaweiClientConfig + type HuaweiDiskTags struct + Tags map[string]string + func (self *HuaweiDiskTags) GetSysTags() map[string]string + func (self *HuaweiDiskTags) GetTags() (map[string]string, error) + func (self *HuaweiDiskTags) SetTags(tags map[string]string, replace bool) error + type HuaweiTags struct + Tags []string + func (self *HuaweiTags) GetSysTags() map[string]string + func (self *HuaweiTags) GetTags() (map[string]string, error) + func (self *HuaweiTags) SetTags(tags map[string]string, replace bool) error + type Image struct + ID string + type InsertHeaders struct + XForwardedELBIP bool + type IpAddress struct + Addr string + OSEXTIPSMACMACAddr string + OSEXTIPSPortID string + OSEXTIPSType string + Version string + type Listener struct + Id string + type Loadbalancer struct + ID string + type Locales struct + EnUs string + ZhCN string + type Metadata struct + SystemEnableActive string + type MetricData struct + Datapoints []struct{ ... } + Dimensions []struct{ ... } + MetricName string + Namespace string + Unit string + type ModelartsStatistics struct + Statistic string + Value float64 + type OSExtendedVolumesVolumesAttached struct + BootIndex string + DeleteOnTermination string + Device string + ID string + type OSExtraSpecs struct + EcsPerformancetype string + type OSSchedulerHints struct + type Pool struct + Id string + type Port struct + AdminStateUp string + BindingVnicType string + DNSName string + DeviceID string + DeviceOwner string + FixedIps []SFixedIP + ID string + MACAddress string + Name string + NetworkID string + Status string + TenantID string + func (port *Port) GetAssociateId() string + func (port *Port) GetAssociateType() string + func (port *Port) GetGlobalId() string + func (port *Port) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error) + func (port *Port) GetId() string + func (port *Port) GetMacAddress() string + func (port *Port) GetName() string + func (port *Port) GetStatus() string + type RequestVpcInfo struct + TenantID string + VpcID string + type Rule struct + ID string + type SAMLProvider struct + Description string + Id string + Links SAMLProviderLinks + func (self *SAMLProvider) Delete() error + func (self *SAMLProvider) GetAuthUrl(apiServer string) string + func (self *SAMLProvider) GetGlobalId() string + func (self *SAMLProvider) GetId() string + func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error) + func (self *SAMLProvider) GetName() string + func (self *SAMLProvider) GetStatus() string + func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error + type SAMLProviderLinks struct + Protocols string + Self string + type SAMLProviderMapping struct + Id string + Rules jsonutils.JSONObject + type SAMLProviderMetadata struct + Data string + DomainId string + EntityId string + Id string + IdpId string + ProtocolId string + UpdateTime time.Time + XaccountType string + type SAMLProviderProtocol struct + Id string + MappingId string + type SAccessKey struct + AccessKey string + CreatedAt time.Time + Description string + Secret string + Status string + type SBackupStrategy struct + KeepDays int + StartTime string + type SBalance struct + AccountId string + AccountType int64 + Amount float64 + CreditAmount float64 + Currency string + DesignatedAmount float64 + MeasureUnit int64 + type SBucket struct + CreationDate time.Time + Location string + Name string + func (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error + func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error + func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error + func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error) + func (b *SBucket) DeleteCORS() error + func (b *SBucket) DeleteObject(ctx context.Context, key string) error + func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error) + func (b *SBucket) DeleteWebSiteConf() error + func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl + func (b *SBucket) GetAcl() cloudprovider.TBucketACLType + func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error) + func (b *SBucket) GetCreatedAt() time.Time + func (b *SBucket) GetGlobalId() string + func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion + func (b *SBucket) GetLimit() cloudprovider.SBucketStats + func (b *SBucket) GetLocation() string + func (b *SBucket) GetName() string + func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error) + func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error) + func (b *SBucket) GetProjectId() string + func (b *SBucket) GetStats() cloudprovider.SBucketStats + func (b *SBucket) GetStorageClass() string + func (b *SBucket) GetTags() (map[string]string, error) + func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error) + func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error) + func (b *SBucket) LimitSupport() cloudprovider.SBucketStats + func (b *SBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error) + func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error) + func (b *SBucket) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, ...) (string, error) + func (b *SBucket) PutObject(ctx context.Context, key string, reader io.Reader, sizeBytes int64, ...) error + func (b *SBucket) SetAcl(acl cloudprovider.TBucketACLType) error + func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error + func (b *SBucket) SetLimit(limit cloudprovider.SBucketStats) error + func (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error + func (b *SBucket) SetTags(tags map[string]string, replace bool) error + func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error + func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error) + type SBucketPolicyStatement struct + Statement []SBucketPolicyStatementDetails + Version string + type SBucketPolicyStatementDetails struct + Action []string + Condition map[string]map[string]interface{} + Effect string + Id string + Principal map[string][]string + Resource []string + Sid string + type SCdnDomain struct + AutoRefreshPreheat int + BusinessType string + Cname string + CreateTime int64 + Disabled int + DomainName string + DomainOriginHost SCdnDomainOriginHost + DomainStatus string + EnterpriseProjectId string + FollowStatus string + HttpsStatus int + Id string + Locked int + ModifyTime int64 + OriginStatus string + RangeStatus string + ServiceArea string + Sources []SCdnSource + UserDomainId string + func (cd *SCdnDomain) Delete() error + func (cd *SCdnDomain) GetArea() string + func (cd *SCdnDomain) GetCache() (*cloudprovider.SCDNCache, error) + func (cd *SCdnDomain) GetCacheKeys() (*cloudprovider.SCDNCacheKeys, error) + func (cd *SCdnDomain) GetCname() string + func (cd *SCdnDomain) GetEnabled() bool + func (cd *SCdnDomain) GetForceRedirect() (*cloudprovider.SCDNForceRedirect, error) + func (cd *SCdnDomain) GetGlobalId() string + func (cd *SCdnDomain) GetHTTPS() (*cloudprovider.SCDNHttps, error) + func (cd *SCdnDomain) GetId() string + func (cd *SCdnDomain) GetMaxAge() (*cloudprovider.SCDNMaxAge, error) + func (cd *SCdnDomain) GetName() string + func (cd *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins + func (cd *SCdnDomain) GetRangeOriginPull() (*cloudprovider.SCDNRangeOriginPull, error) + func (cd *SCdnDomain) GetReferer() (*cloudprovider.SCDNReferer, error) + func (cd *SCdnDomain) GetServiceType() string + func (cd *SCdnDomain) GetStatus() string + func (cd *SCdnDomain) Refresh() error + func (self *SCdnDomain) GetProjectId() string + type SCdnDomainOriginHost struct + CustomizeDomain string + DomainId string + OriginHostType string + type SCdnSource struct + ActiveStandby int + DomainID string + IPOrDomain string + OriginType string + type SCloudgroup struct + CreateTime string + Description string + Id string + Name string + func (group *SCloudgroup) AddUser(name string) error + func (group *SCloudgroup) AttachCustomPolicy(roleId string) error + func (group *SCloudgroup) AttachSystemPolicy(roleId string) error + func (group *SCloudgroup) Delete() error + func (group *SCloudgroup) DetachCustomPolicy(roleId string) error + func (group *SCloudgroup) DetachSystemPolicy(roleId string) error + func (group *SCloudgroup) GetDescription() string + func (group *SCloudgroup) GetGlobalId() string + func (group *SCloudgroup) GetICloudusers() ([]cloudprovider.IClouduser, error) + func (group *SCloudgroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error) + func (group *SCloudgroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error) + func (group *SCloudgroup) GetName() string + func (group *SCloudgroup) RemoveUser(name string) error + type SClouduser struct + Description string + DomainId string + Enabled bool + ForceResetPwd bool + Id string + LastProjectId string + Links SLink + Name string + PasswordExpiresAt string + PwdStatus bool + func (user *SClouduser) AttachCustomPolicy(policyType string) error + func (user *SClouduser) AttachSystemPolicy(policyType string) error + func (user *SClouduser) CreateAccessKey(name string) (*cloudprovider.SAccessKey, error) + func (user *SClouduser) Delete() error + func (user *SClouduser) DeleteAccessKey(accessKey string) error + func (user *SClouduser) DetachCustomPolicy(policyId string) error + func (user *SClouduser) DetachSystemPolicy(policyId string) error + func (user *SClouduser) GetAccessKeys() ([]cloudprovider.SAccessKey, error) + func (user *SClouduser) GetEmailAddr() string + func (user *SClouduser) GetGlobalId() string + func (user *SClouduser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error) + func (user *SClouduser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error) + func (user *SClouduser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error) + func (user *SClouduser) GetInviteUrl() string + func (user *SClouduser) GetName() string + func (user *SClouduser) IsConsoleLogin() bool + func (user *SClouduser) ResetPassword(password string) error + type SDBInstance struct + BackupStrategy SBackupStrategy + Created string + DIskEncryptionId string + Datastore SDatastore + DbUserName string + EnterpriseProjectId string + FlavorRef string + Ha SHa + Id string + MaintenanceWindow string + MaxIops int + Name string + Nodes []SNonde + Port int + PrivateIps []string + PublicIps []string + Region string + RelatedInstance []SRelatedInstance + SecurityGroupId string + Status string + SubnetId string + SwitchStrategy string + TimeZone string + Type string + Updated string + Volume SVolume + VpcId string + func (rds *SDBInstance) ChangeConfig(cxt context.Context, desc *cloudprovider.SManagedDBInstanceChangeConfig) error + func (rds *SDBInstance) ClosePublicConnection() error + func (rds *SDBInstance) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error + func (rds *SDBInstance) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error + func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error) + func (rds *SDBInstance) Delete() error + func (rds *SDBInstance) GetBillingType() string + func (rds *SDBInstance) GetCategory() string + func (rds *SDBInstance) GetConnectionStr() string + func (rds *SDBInstance) GetCreatedAt() time.Time + func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error) + func (rds *SDBInstance) GetDiskSizeGB() int + func (rds *SDBInstance) GetEngine() string + func (rds *SDBInstance) GetEngineVersion() string + func (rds *SDBInstance) GetExpiredAt() time.Time + func (rds *SDBInstance) GetGlobalId() string + func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error) + func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error) + func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error) + func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error) + func (rds *SDBInstance) GetIVpcId() string + func (rds *SDBInstance) GetId() string + func (rds *SDBInstance) GetInstanceType() string + func (rds *SDBInstance) GetInternalConnectionStr() string + func (rds *SDBInstance) GetIops() int + func (rds *SDBInstance) GetMaintainTime() string + func (rds *SDBInstance) GetName() string + func (rds *SDBInstance) GetPort() int + func (rds *SDBInstance) GetProjectId() string + func (rds *SDBInstance) GetSecurityGroupIds() ([]string, error) + func (rds *SDBInstance) GetStatus() string + func (rds *SDBInstance) GetStorageType() string + func (rds *SDBInstance) GetVcpuCount() int + func (rds *SDBInstance) GetVmemSizeMB() int + func (rds *SDBInstance) GetZone1Id() string + func (rds *SDBInstance) GetZone2Id() string + func (rds *SDBInstance) GetZone3Id() string + func (rds *SDBInstance) GetZoneIdByRole(role string) string + func (rds *SDBInstance) OpenPublicConnection() error + func (rds *SDBInstance) Reboot() error + func (rds *SDBInstance) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error + func (rds *SDBInstance) Refresh() error + func (rds *SDBInstance) Renew(bc billing.SBillingCycle) error + func (rds *SDBInstance) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error + func (self *SDBInstance) SetTags(tags map[string]string, replace bool) error + type SDBInstanceAccount struct + Name string + func (account *SDBInstanceAccount) Delete() error + func (account *SDBInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error) + func (account *SDBInstanceAccount) GetName() string + func (account *SDBInstanceAccount) GrantPrivilege(database, privilege string) error + func (account *SDBInstanceAccount) ResetPassword(password string) error + func (account *SDBInstanceAccount) RevokePrivilege(database string) error + type SDBInstanceBackup struct + BeginTime string + Datastore SDatastore + EndTime string + Id string + InstanceId string + Name string + Size int + Status string + Type string + func (backup *SDBInstanceBackup) Delete() error + func (backup *SDBInstanceBackup) GetBackupMode() string + func (backup *SDBInstanceBackup) GetBackupSizeMb() int + func (backup *SDBInstanceBackup) GetDBInstanceId() string + func (backup *SDBInstanceBackup) GetDBNames() string + func (backup *SDBInstanceBackup) GetEndTime() time.Time + func (backup *SDBInstanceBackup) GetEngine() string + func (backup *SDBInstanceBackup) GetEngineVersion() string + func (backup *SDBInstanceBackup) GetGlobalId() string + func (backup *SDBInstanceBackup) GetId() string + func (backup *SDBInstanceBackup) GetName() string + func (backup *SDBInstanceBackup) GetStartTime() time.Time + func (backup *SDBInstanceBackup) GetStatus() string + func (backup *SDBInstanceBackup) Refresh() error + func (self *SDBInstanceBackup) CreateICloudDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error) + type SDBInstanceDatabase struct + CharacterSet string + Name string + func (database *SDBInstanceDatabase) Delete() error + func (database *SDBInstanceDatabase) GetCharacterSet() string + func (database *SDBInstanceDatabase) GetGlobalId() string + func (database *SDBInstanceDatabase) GetId() string + func (database *SDBInstanceDatabase) GetName() string + func (database *SDBInstanceDatabase) GetStatus() string + type SDBInstanceFlavor struct + InstanceMode string + Ram int + SpecCode string + Vcpus int + type SDBInstanceJob struct + Process string + Status string + type SDBInstanceParameter struct + Description string + Name string + Readonly bool + RestartRequired bool + Type string + Value string + ValueRange string + func (param *SDBInstanceParameter) GetDescription() string + func (param *SDBInstanceParameter) GetGlobalId() string + func (param *SDBInstanceParameter) GetKey() string + func (param *SDBInstanceParameter) GetValue() string + type SDatabasePrivilege struct + Name string + Readonly bool + func (privilege *SDatabasePrivilege) GetDBName() string + func (privilege *SDatabasePrivilege) GetGlobalId() string + func (privilege *SDatabasePrivilege) GetPrivilege() string + type SDatastore struct + Type string + Version string + type SDisk struct + Attachments []Attachment + AvailabilityZone string + Bootable string + ConsistencygroupID string + CreatedAt time.Time + Description string + Encrypted bool + EnterpriseProjectId string + ExpiredTime time.Time + ID string + Metadata DiskMeta + Multiattach bool + Name string + ReplicationStatus string + SizeGB int + SnapshotID string + SourceVolid string + Status string + UpdatedAt string + UserID string + VolumeImageMetadata VolumeImageMetadata + VolumeType string + func (self *SDisk) Attach(device string) error + func (self *SDisk) CreateISnapshot(ctx context.Context, name string, desc string) (cloudprovider.ICloudSnapshot, error) + func (self *SDisk) Delete(ctx context.Context) error + func (self *SDisk) Detach() error + func (self *SDisk) GetAccessPath() string + func (self *SDisk) GetBillingType() string + func (self *SDisk) GetCacheMode() string + func (self *SDisk) GetCreatedAt() time.Time + func (self *SDisk) GetDiskFormat() string + func (self *SDisk) GetDiskSizeMB() int + func (self *SDisk) GetDiskType() string + func (self *SDisk) GetDriver() string + func (self *SDisk) GetExpiredAt() time.Time + func (self *SDisk) GetFsFormat() string + func (self *SDisk) GetGlobalId() string + func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error) + func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error) + func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error) + func (self *SDisk) GetId() string + func (self *SDisk) GetIsAutoDelete() bool + func (self *SDisk) GetIsNonPersistent() bool + func (self *SDisk) GetMountServerId() string + func (self *SDisk) GetMountpoint() string + func (self *SDisk) GetName() string + func (self *SDisk) GetProjectId() string + func (self *SDisk) GetStatus() string + func (self *SDisk) GetTemplateId() string + func (self *SDisk) Rebuild(ctx context.Context) error + func (self *SDisk) Refresh() error + func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error) + func (self *SDisk) Resize(ctx context.Context, newSizeMB int64) error + type SDiskType struct + ExtraSpecs ExtraSpecs + Id string + IsPublic bool + Name string + QosSpecsID string + type SDomain struct + Contacts string + Description string + Enabled bool + EnterpriseName string + ID string + Name string + Tagflag int + type SEipAddress struct + Alias string + AssociateInstanceId string + AssociateInstanceType string + Bandwidth struct{ ... } + BillingInfo string + CreateTime time.Time + EnterpriseProjectId string + IPVersion int64 + Id string + PortId string + PublicIPAddress string + Status string + Type string + func (self *SEipAddress) Associate(opts *cloudprovider.AssociateConfig) error + func (self *SEipAddress) ChangeBandwidth(bw int) error + func (self *SEipAddress) Delete() error + func (self *SEipAddress) Dissociate() error + func (self *SEipAddress) GetAssociationExternalId() string + func (self *SEipAddress) GetAssociationType() string + func (self *SEipAddress) GetBandwidth() int + func (self *SEipAddress) GetBillingType() string + func (self *SEipAddress) GetCreatedAt() time.Time + func (self *SEipAddress) GetExpiredAt() time.Time + func (self *SEipAddress) GetGlobalId() string + func (self *SEipAddress) GetId() string + func (self *SEipAddress) GetInternetChargeType() string + func (self *SEipAddress) GetIpAddr() string + func (self *SEipAddress) GetMode() string + func (self *SEipAddress) GetName() string + func (self *SEipAddress) GetProjectId() string + func (self *SEipAddress) GetStatus() string + func (self *SEipAddress) Refresh() error + func (self *SEipAddress) SetTags(tags map[string]string, replace bool) error + type SElasticcache struct + AccessUser string + AvailableZones []string + BackendAddrs []string + CapacityGB int + CapacityMinor string + ChargingMode int + CreatedAt string + Description string + DomainName string + EnablePublicip bool + EnableSSL bool + Engine string + EngineVersion string + EnterpriseProjectID string + EnterpriseProjectName string + ErrorCode string + IP string + InstanceBackupPolicy string + InstanceID string + InternalVersion string + IsFree string + Libos bool + MaintainBegin string + MaintainEnd string + MaxMemoryMB int + Name string + NoPasswordAccess string + OrderID string + Port int + ProductID string + PublicipAddress string + PublicipID string + ResourceSpecCode string + SecurityGroupID string + SecurityGroupName string + ServiceTaskID string + ServiceUpgrade bool + Status string + SubnetCIDR string + SubnetID string + SubnetName string + Task string + TaskStatus string + UsedMemoryMB int + UserID string + UserName string + VpcID string + VpcName string + func (instance *SElasticcache) SetTags(tags map[string]string, replace bool) error + func (self *SElasticcache) AllocatePublicConnection(port int) (string, error) + func (self *SElasticcache) ChangeInstanceSpec(spec string) error + func (self *SElasticcache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error) + func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error) + func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error) + func (self *SElasticcache) Delete() error + func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error + func (self *SElasticcache) GetArchType() string + func (self *SElasticcache) GetAuthMode() string + func (self *SElasticcache) GetBillingType() string + func (self *SElasticcache) GetCapacityMB() int + func (self *SElasticcache) GetCreatedAt() time.Time + func (self *SElasticcache) GetEngine() string + func (self *SElasticcache) GetEngineVersion() string + func (self *SElasticcache) GetExpiredAt() time.Time + func (self *SElasticcache) GetGlobalId() string + func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error) + func (self *SElasticcache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error) + func (self *SElasticcache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error) + func (self *SElasticcache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error) + func (self *SElasticcache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error) + func (self *SElasticcache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error) + func (self *SElasticcache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error) + func (self *SElasticcache) GetId() string + func (self *SElasticcache) GetInstanceType() string + func (self *SElasticcache) GetMaintainEndTime() string + func (self *SElasticcache) GetMaintainStartTime() string + func (self *SElasticcache) GetName() string + func (self *SElasticcache) GetNetworkId() string + func (self *SElasticcache) GetNetworkType() string + func (self *SElasticcache) GetNodeType() string + func (self *SElasticcache) GetPrivateConnectPort() int + func (self *SElasticcache) GetPrivateDNS() string + func (self *SElasticcache) GetPrivateIpAddr() string + func (self *SElasticcache) GetProjectId() string + func (self *SElasticcache) GetPublicConnectPort() int + func (self *SElasticcache) GetPublicDNS() string + func (self *SElasticcache) GetPublicIpAddr() string + func (self *SElasticcache) GetSecurityGroupIds() ([]string, error) + func (self *SElasticcache) GetStatus() string + func (self *SElasticcache) GetVpcId() string + func (self *SElasticcache) GetZoneId() string + func (self *SElasticcache) Refresh() error + func (self *SElasticcache) ReleasePublicConnection() error + func (self *SElasticcache) Renew(bc billing.SBillingCycle) error + func (self *SElasticcache) Restart() error + func (self *SElasticcache) SetAutoRenew(bc billing.SBillingCycle) error + func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error + func (self *SElasticcache) UpdateAuthMode(noPwdAccess bool, password string) error + func (self *SElasticcache) UpdateBackupPolicy(opts cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error + func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error + func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error + type SElasticcacheAccount struct + func (self *SElasticcacheAccount) Delete() error + func (self *SElasticcacheAccount) GetAccountPrivilege() string + func (self *SElasticcacheAccount) GetAccountType() string + func (self *SElasticcacheAccount) GetGlobalId() string + func (self *SElasticcacheAccount) GetId() string + func (self *SElasticcacheAccount) GetName() string + func (self *SElasticcacheAccount) GetStatus() string + func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error + func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error + type SElasticcacheBackup struct + BackupID string + BackupName string + BackupType string + CreatedAt time.Time + ErrorCode string + ExecutionAt time.Time + InstanceID string + IsSupportRestore string + Period string + Progress string + Remark string + SizeByte int64 + Status string + UpdatedAt time.Time + func (self *SElasticcacheBackup) Delete() error + func (self *SElasticcacheBackup) GetBackupMode() string + func (self *SElasticcacheBackup) GetBackupSizeMb() int + func (self *SElasticcacheBackup) GetBackupType() string + func (self *SElasticcacheBackup) GetDownloadURL() string + func (self *SElasticcacheBackup) GetEndTime() time.Time + func (self *SElasticcacheBackup) GetGlobalId() string + func (self *SElasticcacheBackup) GetId() string + func (self *SElasticcacheBackup) GetName() string + func (self *SElasticcacheBackup) GetStartTime() time.Time + func (self *SElasticcacheBackup) GetStatus() string + func (self *SElasticcacheBackup) Refresh() error + func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error + type SElasticcacheParameter struct + DefaultValue string + Description string + ParamID int64 + ParamName string + ParamValue string + ValueRange string + ValueType string + func (self *SElasticcacheParameter) GetDescription() string + func (self *SElasticcacheParameter) GetForceRestart() bool + func (self *SElasticcacheParameter) GetGlobalId() string + func (self *SElasticcacheParameter) GetId() string + func (self *SElasticcacheParameter) GetModifiable() bool + func (self *SElasticcacheParameter) GetName() string + func (self *SElasticcacheParameter) GetParameterKey() string + func (self *SElasticcacheParameter) GetParameterValue() string + func (self *SElasticcacheParameter) GetParameterValueRange() string + func (self *SElasticcacheParameter) GetStatus() string + type SElbACL struct + EnableWhitelist bool + ID string + ListenerID string + TenantID string + Whitelist string + func (self *SElbACL) Delete() error + func (self *SElbACL) GetAclEntries() []cloudprovider.SLoadbalancerAccessControlListEntry + func (self *SElbACL) GetAclListenerID() string + func (self *SElbACL) GetGlobalId() string + func (self *SElbACL) GetId() string + func (self *SElbACL) GetName() string + func (self *SElbACL) GetProjectId() string + func (self *SElbACL) GetStatus() string + func (self *SElbACL) IsEmulated() bool + func (self *SElbACL) Refresh() error + func (self *SElbACL) Sync(acl *cloudprovider.SLoadbalancerAccessControlList) error + type SElbBackend struct + Address string + AdminStateUp bool + ID string + Name string + OperatingStatus string + ProjectID string + ProtocolPort int + SubnetID string + TenantID string + Weight int + func (self *SElbBackend) GetBackendId() string + func (self *SElbBackend) GetBackendRole() string + func (self *SElbBackend) GetBackendType() string + func (self *SElbBackend) GetGlobalId() string + func (self *SElbBackend) GetId() string + func (self *SElbBackend) GetIpAddress() string + func (self *SElbBackend) GetName() string + func (self *SElbBackend) GetPort() int + func (self *SElbBackend) GetProjectId() string + func (self *SElbBackend) GetStatus() string + func (self *SElbBackend) GetWeight() int + func (self *SElbBackend) IsEmulated() bool + func (self *SElbBackend) Refresh() error + func (self *SElbBackend) SyncConf(ctx context.Context, port, weight int) error + type SElbBackendGroup struct + AdminStateUp bool + Description string + HealthMonitorID string + ID string + LBAlgorithm string + Listeners []Listener + Loadbalancers []Loadbalancer + Name string + ProjectID string + Protocol string + SessionPersistence StickySession + TenantID string + func (self *SElbBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error) + func (self *SElbBackendGroup) Delete(ctx context.Context) error + func (self *SElbBackendGroup) GetGlobalId() string + func (self *SElbBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error) + func (self *SElbBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer + func (self *SElbBackendGroup) GetILoadbalancerBackendById(serverId string) (cloudprovider.ICloudLoadbalancerBackend, error) + func (self *SElbBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error) + func (self *SElbBackendGroup) GetId() string + func (self *SElbBackendGroup) GetLoadbalancerId() string + func (self *SElbBackendGroup) GetName() string + func (self *SElbBackendGroup) GetProjectId() string + func (self *SElbBackendGroup) GetProtocolType() string + func (self *SElbBackendGroup) GetScheduler() string + func (self *SElbBackendGroup) GetStatus() string + func (self *SElbBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error) + func (self *SElbBackendGroup) GetType() string + func (self *SElbBackendGroup) IsDefault() bool + func (self *SElbBackendGroup) Refresh() error + func (self *SElbBackendGroup) RemoveBackendServer(backendId string, weight int, port int) error + func (self *SElbBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error + type SElbCert struct + AdminStateUp bool + Certificate string + CreateTime time.Time + Description string + Domain string + ExpireTime time.Time + ID string + Name string + PrivateKey string + TenantID string + Type string + UpdateTime time.Time + func (self *SElbCert) Delete() error + func (self *SElbCert) GetCommonName() string + func (self *SElbCert) GetExpireTime() time.Time + func (self *SElbCert) GetFingerprint() string + func (self *SElbCert) GetGlobalId() string + func (self *SElbCert) GetId() string + func (self *SElbCert) GetName() string + func (self *SElbCert) GetPrivateKey() string + func (self *SElbCert) GetProjectId() string + func (self *SElbCert) GetPublickKey() string + func (self *SElbCert) GetStatus() string + func (self *SElbCert) GetSubjectAlternativeNames() string + func (self *SElbCert) IsEmulated() bool + func (self *SElbCert) Refresh() error + func (self *SElbCert) Sync(name, privateKey, publickKey string) error + type SElbHealthCheck struct + AdminStateUp bool + Delay int + DomainName string + ExpectedCodes string + HTTPMethod string + ID string + MaxRetries int + MonitorPort int + Name string + Pools []Pool + ProjectID string + TenantID string + Timeout int + Type string + URLPath string + type SElbListener struct + AdminStateUp bool + ConnectionLimit int + CreatedAt time.Time + DefaultPoolID string + DefaultTlsContainerRef string + Description string + Http2Enable bool + ID string + InsertHeaders InsertHeaders + Loadbalancers []Loadbalancer + Name string + ProjectID string + Protocol string + ProtocolPort int + TenantID string + UpdatedAt time.Time + func (listerner *SElbListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error + func (self *SElbListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error + func (self *SElbListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error + func (self *SElbListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error) + func (self *SElbListener) Delete(ctx context.Context) error + func (self *SElbListener) GetAcl() (*SElbACL, error) + func (self *SElbListener) GetAclId() string + func (self *SElbListener) GetAclStatus() string + func (self *SElbListener) GetAclType() string + func (self *SElbListener) GetBackendConnectTimeout() int + func (self *SElbListener) GetBackendGroup() (*SElbBackendGroup, error) + func (self *SElbListener) GetBackendGroupId() string + func (self *SElbListener) GetBackendServerPort() int + func (self *SElbListener) GetCertificateId() string + func (self *SElbListener) GetClientIdleTimeout() int + func (self *SElbListener) GetEgressMbps() int + func (self *SElbListener) GetGlobalId() string + func (self *SElbListener) GetHealthCheck() string + func (self *SElbListener) GetHealthCheckCode() string + func (self *SElbListener) GetHealthCheckDomain() string + func (self *SElbListener) GetHealthCheckExp() string + func (self *SElbListener) GetHealthCheckFail() int + func (self *SElbListener) GetHealthCheckInterval() int + func (self *SElbListener) GetHealthCheckReq() string + func (self *SElbListener) GetHealthCheckRise() int + func (self *SElbListener) GetHealthCheckTimeout() int + func (self *SElbListener) GetHealthCheckType() string + func (self *SElbListener) GetHealthCheckURI() string + func (self *SElbListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error) + func (self *SElbListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error) + func (self *SElbListener) GetId() string + func (self *SElbListener) GetListenerPort() int + func (self *SElbListener) GetListenerType() string + func (self *SElbListener) GetName() string + func (self *SElbListener) GetProjectId() string + func (self *SElbListener) GetScheduler() string + func (self *SElbListener) GetStatus() string + func (self *SElbListener) GetStickySession() string + func (self *SElbListener) GetStickySessionCookie() string + func (self *SElbListener) GetStickySessionCookieTimeout() int + func (self *SElbListener) GetStickySessionType() string + func (self *SElbListener) GetTLSCipherPolicy() string + func (self *SElbListener) GzipEnabled() bool + func (self *SElbListener) HTTP2Enabled() bool + func (self *SElbListener) IsEmulated() bool + func (self *SElbListener) Refresh() error + func (self *SElbListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error + func (self *SElbListener) Start() error + func (self *SElbListener) Stop() error + func (self *SElbListener) XForwardedForEnabled() bool + type SElbListenerPolicy struct + Action string + AdminStateUp bool + Description string + ID string + ListenerID string + Name string + Position int64 + ProjectID string + ProvisioningStatus string + RedirectListenerID *string + RedirectPoolID string + RedirectURL *string + Rules []Rule + TenantID string + func (self *SElbListenerPolicy) Delete(ctx context.Context) error + func (self *SElbListenerPolicy) GetBackendGroupId() string + func (self *SElbListenerPolicy) GetCondition() string + func (self *SElbListenerPolicy) GetDomain() string + func (self *SElbListenerPolicy) GetGlobalId() string + func (self *SElbListenerPolicy) GetId() string + func (self *SElbListenerPolicy) GetName() string + func (self *SElbListenerPolicy) GetPath() string + func (self *SElbListenerPolicy) GetProjectId() string + func (self *SElbListenerPolicy) GetRules() ([]SElbListenerPolicyRule, error) + func (self *SElbListenerPolicy) GetStatus() string + func (self *SElbListenerPolicy) IsDefault() bool + func (self *SElbListenerPolicy) IsEmulated() bool + func (self *SElbListenerPolicy) Refresh() error + type SElbListenerPolicyRule struct + AdminStateUp bool + CompareType string + ID string + Invert bool + Key interface{} + ProjectID string + ProvisioningStatus string + TenantID string + Type string + Value string + type SEnterpriseProject struct + CreatedAt time.Time + Description string + Id string + Name string + Status int + UpdatedAt time.Time + func (ep *SEnterpriseProject) GetGlobalId() string + func (ep *SEnterpriseProject) GetId() string + func (ep *SEnterpriseProject) GetName() string + func (ep *SEnterpriseProject) GetStatus() string + type SEvent struct + ApiVersion string + Code string + EventType string + ProjectId string + RecordTime int64 + Request string + ResourceId string + ResourceName string + ResourceType string + Response string + ServiceType string + SourceIp string + Time int64 + TraceId string + TraceName string + TraceStatus string + TraceType string + TrackerName string + User SUser + func (event *SEvent) GetAccount() string + func (event *SEvent) GetAction() string + func (event *SEvent) GetCreatedAt() time.Time + func (event *SEvent) GetName() string + func (event *SEvent) GetRequest() jsonutils.JSONObject + func (event *SEvent) GetRequestId() string + func (event *SEvent) GetResourceType() string + func (event *SEvent) GetService() string + func (event *SEvent) IsSuccess() bool + type SFixedIP struct + IpAddress string + NetworkId string + SubnetID string + func (fixip *SFixedIP) GetGlobalId() string + func (fixip *SFixedIP) GetINetworkId() string + func (fixip *SFixedIP) GetIP() string + func (fixip *SFixedIP) IsPrimary() bool + type SFunction struct + AppXrole string + CPU int + CodeFilename string + CodeSize int + CodeType string + Concurrency int + ConcurrentNum int + CustomImage struct{} + Digest string + DomainId string + DomainNames string + EnableAuthInHeader bool + EnableClassIsolation bool + EnableCloudDebug string + EnableDynamicMemory bool + EnableSnapshot bool + EnterpriseProjectId string + EphemeralStorage int + FuncCode struct{} + FuncCode0 struct{} + FuncName string + FuncUrn string + FuncVpcId string + Handler string + ImageName string + InitializerHandler string + InitializerTimeout int + IsBridgeFunction bool + IsReturnStream bool + IsShared bool + IsStatefulFunction bool + LastModified time.Time + LogConfig struct{ ... } + LongTime bool + MemorySize int + Namespace string + Package string + ProjectName string + ReservedInstanceIdleMode bool + ResourceId string + Runtime string + StrategyConfig struct{ ... } + Timeout int + Type string + UserData string + Version string + Xrole string + type SGaussNoSQLFlavor struct + Ram int + SpecCode string + Vcpus int + type SHa struct + ReplicationMode string + type SHost struct + func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error) + func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error) + func (self *SHost) GetAccessIp() string + func (self *SHost) GetAccessMac() string + func (self *SHost) GetCpuCount() int + func (self *SHost) GetCpuDesc() string + func (self *SHost) GetCpuMhz() int + func (self *SHost) GetEnabled() bool + func (self *SHost) GetGlobalId() string + func (self *SHost) GetHostStatus() string + func (self *SHost) GetHostType() string + func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error) + func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error) + func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error) + func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error) + func (self *SHost) GetId() string + func (self *SHost) GetIsMaintenance() bool + func (self *SHost) GetMemSizeMB() int + func (self *SHost) GetName() string + func (self *SHost) GetNodeCount() int8 + func (self *SHost) GetSN() string + func (self *SHost) GetStatus() string + func (self *SHost) GetStorageSizeMB() int64 + func (self *SHost) GetStorageType() string + func (self *SHost) GetSysInfo() jsonutils.JSONObject + func (self *SHost) GetVersion() string + func (self *SHost) IsEmulated() bool + func (self *SHost) Refresh() error + type SHuaweiClient struct + func NewHuaweiClient(cfg *HuaweiClientConfig) (*SHuaweiClient, error) + func (client *SHuaweiClient) GetAccountId() string + func (client *SHuaweiClient) GetIamLoginUrl() string + func (hc *SHuaweiClient) DescribeUserDomains(domain string, pageSize, pageNumber int) ([]SCdnDomain, int, error) + func (hc *SHuaweiClient) GetCDNDomainByName(name string) (*SCdnDomain, error) + func (hc *SHuaweiClient) GetCdnDomain(domainID, epID string) (*SCdnDomain, error) + func (hc *SHuaweiClient) GetCdnDomains() ([]SCdnDomain, error) + func (hc *SHuaweiClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error) + func (hc *SHuaweiClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error) + func (r *SHuaweiClient) GetSSLCertificate(certId string) (*SSSLCertificate, error) + func (r *SHuaweiClient) GetSSLCertificates() ([]SSSLCertificate, error) + func (self *SHuaweiClient) AddUserToGroup(groupId, userId string) error + func (self *SHuaweiClient) AttachGroupCustomRole(groupId, roleId string) error + func (self *SHuaweiClient) AttachGroupRole(groupId, roleId string) error + func (self *SHuaweiClient) CreateAKSK(id, name string) (*cloudprovider.SAccessKey, error) + func (self *SHuaweiClient) CreateClouduser(name, password, desc string) (*SClouduser, error) + func (self *SHuaweiClient) CreateExterpriseProject(name, desc string) (*SEnterpriseProject, error) + func (self *SHuaweiClient) CreateGroup(name, desc string) (*SCloudgroup, error) + func (self *SHuaweiClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error) + func (self *SHuaweiClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error) + func (self *SHuaweiClient) CreateIProject(name string) (cloudprovider.ICloudProject, error) + func (self *SHuaweiClient) CreateSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (*SAMLProvider, error) + func (self *SHuaweiClient) DeleteAKSK(accessKey string) error + func (self *SHuaweiClient) DeleteClouduser(id string) error + func (self *SHuaweiClient) DeleteGroup(id string) error + func (self *SHuaweiClient) DeleteSAMLProvider(id string) error + func (self *SHuaweiClient) DeleteSAMLProviderMapping(id string) error + func (self *SHuaweiClient) DeleteSAMLProviderProtocol(spId, id string) error + func (self *SHuaweiClient) DetachGroupCustomRole(groupId, roleId string) error + func (self *SHuaweiClient) DetachGroupRole(groupId, roleId string) error + func (self *SHuaweiClient) GetAKSK(id string) ([]cloudprovider.SAccessKey, error) + func (self *SHuaweiClient) GetCapabilities() []string + func (self *SHuaweiClient) GetCloudusers(name string) ([]SClouduser, error) + func (self *SHuaweiClient) GetCustomRole(name string) (*SRole, error) + func (self *SHuaweiClient) GetCustomRoles() ([]SRole, error) + func (self *SHuaweiClient) GetDomains() ([]SDomain, error) + func (self *SHuaweiClient) GetEnterpriseProjects() ([]SEnterpriseProject, error) + func (self *SHuaweiClient) GetGroupRoles(groupId string) ([]SRole, error) + func (self *SHuaweiClient) GetGroupUsers(groupId string) ([]SClouduser, error) + func (self *SHuaweiClient) GetGroups(domainId, name string) ([]SCloudgroup, error) + func (self *SHuaweiClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error) + func (self *SHuaweiClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error) + func (self *SHuaweiClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error) + func (self *SHuaweiClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error) + func (self *SHuaweiClient) GetICloudusers() ([]cloudprovider.IClouduser, error) + func (self *SHuaweiClient) GetIProjects() ([]cloudprovider.ICloudProject, error) + func (self *SHuaweiClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error) + func (self *SHuaweiClient) GetIRegions() []cloudprovider.ICloudRegion + func (self *SHuaweiClient) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error) + func (self *SHuaweiClient) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error) + func (self *SHuaweiClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error) + func (self *SHuaweiClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error) + func (self *SHuaweiClient) GetMosProjectId() string + func (self *SHuaweiClient) GetOrderResources() (map[string]SOrderResource, error) + func (self *SHuaweiClient) GetOwnerId() (string, error) + func (self *SHuaweiClient) GetProjectById(projectId string) (SProject, error) + func (self *SHuaweiClient) GetProjects() ([]SProject, error) + func (self *SHuaweiClient) GetRegion(regionId string) *SRegion + func (self *SHuaweiClient) GetRegions() []SRegion + func (self *SHuaweiClient) GetRole(name string) (*SRole, error) + func (self *SHuaweiClient) GetRoles(domainId, name string) ([]SRole, error) + func (self *SHuaweiClient) GetSAMLProviderMetadata(id string) (*SAMLProviderMetadata, error) + func (self *SHuaweiClient) GetSAMLProviderProtocols(id string) ([]SAMLProviderProtocol, error) + func (self *SHuaweiClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error) + func (self *SHuaweiClient) GetUserId() (string, error) + func (self *SHuaweiClient) GetVersion() string + func (self *SHuaweiClient) InitSAMLProviderMapping(spId string) error + func (self *SHuaweiClient) KeystoneAssociateGroupWithDomainPermission(domainId, groupId, roleId string) error + func (self *SHuaweiClient) KeystoneAssociateGroupWithProjectPermission(projectId, groupId, roleId string) error + func (self *SHuaweiClient) KeystoneRemoveDomainPermissionFromGroup(domainId, groupId, roleId string) error + func (self *SHuaweiClient) KeystoneRemoveProjectPermissionFromGroup(projectId, groupId, roleId string) error + func (self *SHuaweiClient) ListSAMLProviderMappings() ([]SAMLProviderMapping, error) + func (self *SHuaweiClient) ListSAMLProviders() ([]SAMLProvider, error) + func (self *SHuaweiClient) ListUserGroups(userId string) ([]SCloudgroup, error) + func (self *SHuaweiClient) QueryAccountBalance() (*SBalance, error) + func (self *SHuaweiClient) RemoveUserFromGroup(groupId, userId string) error + func (self *SHuaweiClient) ResetClouduserPassword(id, password string) error + func (self *SHuaweiClient) UpdateSAMLProviderMetadata(id, metadata string) error + type SImage struct + Checksum string + ContainerFormat string + CreatedAt time.Time + DiskFormat string + File string + ID string + ImageSize int64 + ImageSourceType string + Imagetype string + Isregistered string + Lazyloading string + MinDiskGB int64 + MinRamMB int + Name string + OSBit string + OSType string + OSVersion string + Owner string + Platform string + Protected bool + Schema string + Self string + SizeGB int + Status string + SupportArm string + SupportDiskIntensive string + SupportGPUT4 string + SupportHighPerformance string + SupportKVMAscend310 string + SupportKVMFPGAType string + SupportKVMGPUType string + SupportKVMNVMEHIGHIO string + SupportLargeMemory string + SupportXENGPUType string + UpdatedAt time.Time + VirtualEnvType string + Visibility string + func (self *SImage) Delete(ctx context.Context) error + func (self *SImage) GetBios() cloudprovider.TBiosType + func (self *SImage) GetCreatedAt() time.Time + func (self *SImage) GetFullOsName() string + func (self *SImage) GetGlobalId() string + func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache + func (self *SImage) GetId() string + func (self *SImage) GetImageFormat() string + func (self *SImage) GetImageStatus() string + func (self *SImage) GetImageType() cloudprovider.TImageType + func (self *SImage) GetMinOsDiskSizeGb() int + func (self *SImage) GetMinRamSizeMb() int + func (self *SImage) GetName() string + func (self *SImage) GetOsArch() string + func (self *SImage) GetOsDist() string + func (self *SImage) GetOsLang() string + func (self *SImage) GetOsType() cloudprovider.TOsType + func (self *SImage) GetOsVersion() string + func (self *SImage) GetSizeByte() int64 + func (self *SImage) GetStatus() string + func (self *SImage) Refresh() error + type SInstance struct + AccessIPv4 string + AccessIPv6 string + Addresses map[string][]IpAddress + ConfigDrive string + Created time.Time + Description string + EnterpriseProjectID string + EnterpriseProjectId string + Flavor Flavor + HostID string + HostStatus string + ID string + Image Image + KeyName string + Locked bool + Metadata VMMetadata + Name string + OSDCFDiskConfig string + OSEXTAZAvailabilityZone string + OSEXTSRVATTRHost string + OSEXTSRVATTRHostname string + OSEXTSRVATTRHypervisorHostname string + OSEXTSRVATTRInstanceName string + OSEXTSRVATTRKernelID string + OSEXTSRVATTRLaunchIndex int64 + OSEXTSRVATTRRamdiskID string + OSEXTSRVATTRReservationID string + OSEXTSRVATTRRootDeviceName string + OSEXTSRVATTRUserData string + OSEXTSTSPowerState int64 + OSEXTSTSTaskState string + OSEXTSTSVMState string + OSExtendedVolumesVolumesAttached []OSExtendedVolumesVolumesAttached + OSSRVUSGLaunchedAt time.Time + OSSRVUSGTerminatedAt time.Time + OSSchedulerHints OSSchedulerHints + Progress string + SecurityGroups []SecurityGroup + Status string + SysTags []SysTag + TenantID string + Updated string + UserID string + func (ins *SInstance) GetPowerStates() string + func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error + func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error + func (self *SInstance) DeleteVM(ctx context.Context) error + func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error + func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error + func (self *SInstance) GetBillingType() string + func (self *SInstance) GetBios() cloudprovider.TBiosType + func (self *SInstance) GetBootOrder() string + func (self *SInstance) GetCreatedAt() time.Time + func (self *SInstance) GetDescription() string + func (self *SInstance) GetError() error + func (self *SInstance) GetExpiredAt() time.Time + func (self *SInstance) GetFullOsName() string + func (self *SInstance) GetGlobalId() string + func (self *SInstance) GetHostname() string + func (self *SInstance) GetHypervisor() string + func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error) + func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error) + func (self *SInstance) GetIHost() cloudprovider.ICloudHost + func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error) + func (self *SInstance) GetId() string + func (self *SInstance) GetInstanceType() string + func (self *SInstance) GetMachine() string + func (self *SInstance) GetName() string + func (self *SInstance) GetOsArch() string + func (self *SInstance) GetOsDist() string + func (self *SInstance) GetOsLang() string + func (self *SInstance) GetOsType() cloudprovider.TOsType + func (self *SInstance) GetOsVersion() string + func (self *SInstance) GetProjectId() string + func (self *SInstance) GetSecurityGroupIds() ([]string, error) + func (self *SInstance) GetStatus() string + func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error) + func (self *SInstance) GetVcpuCount() int + func (self *SInstance) GetVdi() string + func (self *SInstance) GetVga() string + func (self *SInstance) GetVmemSizeMB() int + func (self *SInstance) NextDeviceName() (string, error) + func (self *SInstance) RebuildRoot(ctx context.Context, opts *cloudprovider.SManagedVMRebuildRootConfig) (string, error) + func (self *SInstance) Refresh() error + func (self *SInstance) Renew(bc billing.SBillingCycle) error + func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error) + func (self *SInstance) SetSecurityGroups(secgroupIds []string) error + func (self *SInstance) SetTags(tags map[string]string, replace bool) error + func (self *SInstance) StartVM(ctx context.Context) error + func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error + func (self *SInstance) UpdateUserData(userData string) error + func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error + type SInstanceNic struct + func (self *SInstanceNic) GetDriver() string + func (self *SInstanceNic) GetINetworkId() string + func (self *SInstanceNic) GetIP() string + func (self *SInstanceNic) GetId() string + func (self *SInstanceNic) GetMAC() string + func (self *SInstanceNic) GetSubAddress() ([]string, error) + func (self *SInstanceNic) InClassicNetwork() bool + type SInstanceType struct + ID string + Name string + OSExtraSpecs OSExtraSpecs + RamMB int + Vcpus string + type SJob struct + Entities struct{ ... } + Status string + type SKeypair struct + Keypair struct{ ... } + type SLink struct + Next string + Previous string + Self string + type SLoadbalancer struct + AdminStateUp bool + CreatedAt time.Time + Description string + EnterpriseProjectId string + Id string + Listeners []Listener + Name string + OperatingStatus string + Pools []Pool + ProjectId string + Provider string + ProvisioningStatus string + Publicips []struct{ ... } + TenantId string + UpdatedAt time.Time + VipAddress string + VipPortId string + VipSubnetId string + VpcId string + func (self *SLoadbalancer) CreateHealthCheck(backendGroupId string, healthcheck *cloudprovider.SLoadbalancerHealthCheck) error + func (self *SLoadbalancer) CreateILoadBalancerBackendGroup(opts *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error) + func (self *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, opts *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error) + func (self *SLoadbalancer) Delete(ctx context.Context) error + func (self *SLoadbalancer) GetAddress() string + func (self *SLoadbalancer) GetAddressType() string + func (self *SLoadbalancer) GetChargeType() string + func (self *SLoadbalancer) GetEgressMbps() int + func (self *SLoadbalancer) GetEip() (*SEipAddress, error) + func (self *SLoadbalancer) GetGlobalId() string + func (self *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error) + func (self *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error) + func (self *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error) + func (self *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error) + func (self *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error) + func (self *SLoadbalancer) GetId() string + func (self *SLoadbalancer) GetLoadbalancerSpec() string + func (self *SLoadbalancer) GetName() string + func (self *SLoadbalancer) GetNetwork() *SNetwork + func (self *SLoadbalancer) GetNetworkIds() []string + func (self *SLoadbalancer) GetNetworkType() string + func (self *SLoadbalancer) GetProjectId() string + func (self *SLoadbalancer) GetStatus() string + func (self *SLoadbalancer) GetVpcId() string + func (self *SLoadbalancer) GetZone1Id() string + func (self *SLoadbalancer) GetZoneId() string + func (self *SLoadbalancer) Refresh() error + func (self *SLoadbalancer) SetTags(tags map[string]string, replace bool) error + func (self *SLoadbalancer) Start() error + func (self *SLoadbalancer) Stop() error + type SModelartsDataPoints struct + Statistics []ModelartsStatistics + Timestamp int64 + Unit string + type SModelartsDimensions struct + Name string + Value string + type SModelartsMetric struct + Datapoints []SModelartsDataPoints + Metric SModelartsMetricInfo + type SModelartsMetricInfo struct + Dimensions []SModelartsDimensions + MetricName string + Namespace string + type SModelartsMetrics struct + Metrics []SModelartsMetric + type SModelartsNetworkSpce struct + Cidr string + type SModelartsNetworkStatus struct + Phase string + type SModelartsPool struct + InstanceType string + Metadata SModelartsPoolMetadata + Spec SModelartsPoolSpec + Status SModelartsPoolStatus + WorkType string + func (self *SModelartsPool) ChangeConfig(opts *cloudprovider.ModelartsPoolChangeConfigOptions) error + func (self *SModelartsPool) Delete() error + func (self *SModelartsPool) GetBillingType() string + func (self *SModelartsPool) GetCreatedAt() time.Time + func (self *SModelartsPool) GetExpiredAt() time.Time + func (self *SModelartsPool) GetGlobalId() string + func (self *SModelartsPool) GetId() string + func (self *SModelartsPool) GetInstanceType() string + func (self *SModelartsPool) GetName() string + func (self *SModelartsPool) GetNodeCount() int + func (self *SModelartsPool) GetProjectId() string + func (self *SModelartsPool) GetStatus() string + func (self *SModelartsPool) GetStatusMessage() string + func (self *SModelartsPool) GetSysTags() map[string]string + func (self *SModelartsPool) GetTags() (map[string]string, error) + func (self *SModelartsPool) GetWorkType() string + func (self *SModelartsPool) IsAutoRenew() bool + func (self *SModelartsPool) IsEmulated() bool + func (self *SModelartsPool) Refresh() error + func (self *SModelartsPool) RefreshForCreate() error + func (self *SModelartsPool) Renew(bc billing.SBillingCycle) error + func (self *SModelartsPool) SetAutoRenew(bc billing.SBillingCycle) error + func (self *SModelartsPool) SetTags(tags map[string]string, replace bool) error + type SModelartsPoolMeatadataLabel struct + Name string + ResourceId string + WorkspaceId string + type SModelartsPoolMetadata struct + Annotations SModelartsPoolMetadataAnnotations + CreationTimestamp string + Labels SModelartsPoolMeatadataLabel + Name string + type SModelartsPoolMetadataAnnotations struct + BillingCycle string + BillingMod string + BillingPeriodType string + BillingRenew string + BillingType string + Describe string + OrderId string + type SModelartsPoolNetwork struct + Metadata SModelartsPoolNetworkMetadata + Spec SModelartsNetworkSpce + Status SModelartsNetworkStatus + type SModelartsPoolNetworkMetadata struct + CreationTimestamp string + Name string + type SModelartsPoolResource struct + Count int + Flavor string + type SModelartsPoolSku struct + Kind string + MetaData SModelartsResourceflavorsMetadata + Spec SModelartsResourceflavorsSpec + Status SModelartsResourceflavorsStatus + func (self *SModelartsPoolSku) GetCpuArch() string + func (self *SModelartsPoolSku) GetCpuCoreCount() int + func (self *SModelartsPoolSku) GetCreatedAt() time.Time + func (self *SModelartsPoolSku) GetGlobalId() string + func (self *SModelartsPoolSku) GetGpuSize() int + func (self *SModelartsPoolSku) GetGpuType() string + func (self *SModelartsPoolSku) GetId() string + func (self *SModelartsPoolSku) GetMemorySizeMB() int + func (self *SModelartsPoolSku) GetName() string + func (self *SModelartsPoolSku) GetNpuSize() int + func (self *SModelartsPoolSku) GetNpuType() string + func (self *SModelartsPoolSku) GetPoolType() string + func (self *SModelartsPoolSku) GetStatus() string + func (sku *SModelartsPoolSku) GetProcessorType() string + type SModelartsPoolSpec struct + Resource []SModelartsPoolResource + Scope []string + Type string + type SModelartsPoolStatus struct + Message string + Phase string + Resource SNodeStatus + type SModelartsResourceflavorsGpuSpec struct + Size int + Type string + type SModelartsResourceflavorsMetadata struct + Name string + type SModelartsResourceflavorsSpec struct + BillingCode string + BillingModes []int + Cpu int + CpuArch string + Gpu SModelartsResourceflavorsGpuSpec + Memory string + Npu SModelartsResourceflavorsGpuSpec + Type string + type SModelartsResourceflavorsStatus struct + Phase map[string]interface{} + type SNatDEntry struct + AdminStateUp bool + ExternalIP string + ExternalPort int + ID string + InternalIP string + InternalPort int + NatGatewayID string + PortID string + Protocol string + Status string + func (nat *SNatDEntry) Delete() error + func (nat *SNatDEntry) GetExternalIp() string + func (nat *SNatDEntry) GetExternalPort() int + func (nat *SNatDEntry) GetGlobalId() string + func (nat *SNatDEntry) GetId() string + func (nat *SNatDEntry) GetInternalIp() string + func (nat *SNatDEntry) GetInternalPort() int + func (nat *SNatDEntry) GetIpProtocol() string + func (nat *SNatDEntry) GetName() string + func (nat *SNatDEntry) GetStatus() string + func (nat *SNatDEntry) Refresh() error + type SNatGateway struct + CreatedTime string + Description string + ID string + InternalNetworkId string + Name string + Spec string + Status string + func (gateway *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error) + func (gateway *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error) + func (gateway *SNatGateway) GetBillingType() string + func (gateway *SNatGateway) GetCreatedAt() time.Time + func (gateway *SNatGateway) GetDescription() string + func (gateway *SNatGateway) GetExpiredAt() time.Time + func (gateway *SNatGateway) GetGlobalId() string + func (gateway *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error) + func (gateway *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error) + func (gateway *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error) + func (gateway *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error) + func (gateway *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error) + func (gateway *SNatGateway) GetId() string + func (gateway *SNatGateway) GetName() string + func (gateway *SNatGateway) GetNatSpec() string + func (gateway *SNatGateway) GetStatus() string + func (self *SNatGateway) Delete() error + func (self *SNatGateway) GetINetworkId() string + func (self *SNatGateway) Refresh() error + type SNatSEntry struct + AdminStateUp bool + ID string + NatGatewayID string + NetworkID string + SNatIP string + SourceCIDR string + Status string + func (nat *SNatSEntry) Delete() error + func (nat *SNatSEntry) GetGlobalId() string + func (nat *SNatSEntry) GetIP() string + func (nat *SNatSEntry) GetId() string + func (nat *SNatSEntry) GetName() string + func (nat *SNatSEntry) GetNetworkId() string + func (nat *SNatSEntry) GetSourceCIDR() string + func (nat *SNatSEntry) GetStatus() string + func (nat *SNatSEntry) Refresh() error + type SNetwork struct + AvailabilityZone string + CIDR string + DHCPEnable bool + DNSList []string + GatewayIP string + ID string + Ipv6Enable bool + Name string + NeutronNetworkID string + NeutronSubnetID string + PrimaryDNS string + SecondaryDNS string + Status string + VpcID string + func (self *SNetwork) Delete() error + func (self *SNetwork) GetAllocTimeoutSeconds() int + func (self *SNetwork) GetGateway() string + func (self *SNetwork) GetGlobalId() string + func (self *SNetwork) GetIWire() cloudprovider.ICloudWire + func (self *SNetwork) GetId() string + func (self *SNetwork) GetIpEnd() string + func (self *SNetwork) GetIpMask() int8 + func (self *SNetwork) GetIpStart() string + func (self *SNetwork) GetIsPublic() bool + func (self *SNetwork) GetName() string + func (self *SNetwork) GetProjectId() string + func (self *SNetwork) GetPublicScope() rbacscope.TRbacScope + func (self *SNetwork) GetServerType() string + func (self *SNetwork) GetStatus() string + func (self *SNetwork) Refresh() error + type SNodeFlavor struct + Count int + Flavor string + type SNodeStatus struct + Abnormal []SNodeFlavor + Available []SNodeFlavor + Creating []SNodeFlavor + Deleting []SNodeFlavor + type SNonde struct + AvailabilityZone string + Id string + Name string + Role string + Staus string + type SObject struct + func (o *SObject) GetAcl() cloudprovider.TBucketACLType + func (o *SObject) GetIBucket() cloudprovider.ICloudBucket + func (o *SObject) GetMeta() http.Header + func (o *SObject) SetAcl(aclStr cloudprovider.TBucketACLType) error + func (o *SObject) SetMeta(ctx context.Context, meta http.Header) error + type SOrderResource struct + ExpireTime time.Time + Id string + ResourceId string + type SPageInfo struct + NextMarker string + type SProject struct + Description string + DomainId string + Enabled bool + Id string + IsDomain bool + Name string + ParentId string + func (self *SProject) GetRegionId() string + type SRdsNetwork struct + IP string + SubnetId string + type SRegion struct + Description string + Id string + Locales Locales + ParentRegionId string + Type string + func (region *SRegion) ChangeDBInstanceConfig(instanceId string, instanceType string, diskSizeGb int) error + func (region *SRegion) CreateDBInstanceAccount(instanceId, account, password string) error + func (region *SRegion) CreateDBInstanceBackup(instanceId string, name string, descrition string, databases []string) (*SDBInstanceBackup, error) + func (region *SRegion) CreateDBInstanceDatabase(instanceId, database, characterSet string) error + func (region *SRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error + func (region *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error) + func (region *SRegion) CreateNatDEntry(rule cloudprovider.SNatDRule, gatewayID string) (*SNatDEntry, error) + func (region *SRegion) CreateNatSEntry(rule cloudprovider.SNatSRule, gatewayId string) (*SNatSEntry, error) + func (region *SRegion) DeleteDBInstance(instanceId string) error + func (region *SRegion) DeleteDBInstanceAccount(instanceId string, account string) error + func (region *SRegion) DeleteDBInstanceBackup(backupId string) error + func (region *SRegion) DeleteDBInstanceDatabase(instanceId, database string) error + func (region *SRegion) DeleteIBucket(name string) error + func (region *SRegion) DeleteNatDEntry(id string) error + func (region *SRegion) DeleteNatSEntry(id string) error + func (region *SRegion) GetCapabilities() []string + func (region *SRegion) GetDBInstance(instanceId string) (*SDBInstance, error) + func (region *SRegion) GetDBInstanceAccounts(instanceId string) ([]SDBInstanceAccount, error) + func (region *SRegion) GetDBInstanceBackups(instanceId, backupId string) ([]SDBInstanceBackup, error) + func (region *SRegion) GetDBInstanceDatabases(instanceId string) ([]SDBInstanceDatabase, error) + func (region *SRegion) GetDBInstanceFlavors(engine string, version string) ([]SDBInstanceFlavor, error) + func (region *SRegion) GetDBInstanceParameters(dbinstanceId string) ([]SDBInstanceParameter, error) + func (region *SRegion) GetDBInstancePrivileges(instanceId string, username string) ([]SDatabasePrivilege, error) + func (region *SRegion) GetDBInstances(id string) ([]SDBInstance, error) + func (region *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error) + func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error) + func (region *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error) + func (region *SRegion) GetIDBInstanceBackupById(backupId string) (cloudprovider.ICloudDBInstanceBackup, error) + func (region *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error) + func (region *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error) + func (region *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error) + func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error) + func (region *SRegion) GetIVMs() ([]cloudprovider.ICloudVM, error) + func (region *SRegion) GetNatDEntryByID(id string) (*SNatDEntry, error) + func (region *SRegion) GetNatDTable(natId string) ([]SNatDEntry, error) + func (region *SRegion) GetNatGateways(vpcId, id string) ([]SNatGateway, error) + func (region *SRegion) GetNatSEntryByID(id string) (*SNatSEntry, error) + func (region *SRegion) GetNatSTable(natId string) ([]SNatSEntry, error) + func (region *SRegion) GrantDBInstancePrivilege(instanceId string, account, database string, privilege string) error + func (region *SRegion) HeadBucket(name string) (*obs.BaseModel, error) + func (region *SRegion) IBucketExist(name string) (bool, error) + func (region *SRegion) ModifyDBInstanceDesc(instanceId string, desc string) error + func (region *SRegion) ModifyDBInstanceName(instanceId string, name string) error + func (region *SRegion) PublicConnectionAction(instanceId string, action string) error + func (region *SRegion) RebootDBInstance(instanceId string) error + func (region *SRegion) RecoveryDBInstanceFromBackup(target, origin string, backupId string, databases map[string]string) error + func (region *SRegion) ResetDBInstanceAccountPassword(instanceId, account, password string) error + func (region *SRegion) RevokeDBInstancePrivilege(instanceId string, account, database string) error + func (region *SRegion) Update(instanceId string, input cloudprovider.SDBInstanceUpdateOptions) error + func (self *SRegion) AcceptVpcPeering(id string) error + func (self *SRegion) AddLoadBalancerBackend(backendGroupId, subnetId, ipaddr string, port, weight int) (*SElbBackend, error) + func (self *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error) + func (self *SRegion) AssociateEip(eipId string, associateId, associateType string) error + func (self *SRegion) AttachDisk(instanceId string, diskId string, device string) error + func (self *SRegion) BatchResetServersPassword(instanceId string, password string) error + func (self *SRegion) ChangeVMConfig(instanceId string, instanceType string) error + func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, snapshotId string, ...) (string, error) + func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error) + func (self *SRegion) CreateElasticcache(opts *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error) + func (self *SRegion) CreateICloudAccessGroup(opts *cloudprovider.SAccessGroup) (cloudprovider.ICloudAccessGroup, error) + func (self *SRegion) CreateICloudFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (cloudprovider.ICloudFileSystem, error) + func (self *SRegion) CreateIElasticcaches(opts *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error) + func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error) + func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error) + func (self *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error) + func (self *SRegion) CreateIModelartsPool(args *cloudprovider.ModelartsPoolCreateOption, callback func(id string)) (cloudprovider.ICloudModelartsPool, error) + func (self *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error) + func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error) + func (self *SRegion) CreateInstance(keypair, zoneId string, opts *cloudprovider.SManagedVMCreateConfig) (string, error) + func (self *SRegion) CreateLoadBalancer(opts *cloudprovider.SLoadbalancerCreateOptions) (*SLoadbalancer, error) + func (self *SRegion) CreateLoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (*SElbACL, error) + func (self *SRegion) CreateLoadBalancerBackendGroup(lbId string, opts *cloudprovider.SLoadbalancerBackendGroup) (*SElbBackendGroup, error) + func (self *SRegion) CreateLoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (*SElbCert, error) + func (self *SRegion) CreateLoadBalancerHealthCheck(backendGroupId string, healthCheck *cloudprovider.SLoadbalancerHealthCheck) (SElbHealthCheck, error) + func (self *SRegion) CreateLoadBalancerListener(listener *cloudprovider.SLoadbalancerListenerCreateOptions, lbId string) (*SElbListener, error) + func (self *SRegion) CreateLoadBalancerPolicy(listenerID string, rule *cloudprovider.SLoadbalancerListenerRule) (*SElbListenerPolicy, error) + func (self *SRegion) CreateNatGateway(opts *cloudprovider.NatGatewayCreateOptions) (*SNatGateway, error) + func (self *SRegion) CreateNetwork(vpcId string, opts *cloudprovider.SNetworkCreateOptions) (*SNetwork, error) + func (self *SRegion) CreatePoolNetworks(cidr string) (jsonutils.JSONObject, error) + func (self *SRegion) CreatePublicipTag(eipId string, tags map[string]string) error + func (self *SRegion) CreateRdsTags(instanceId string, tags map[string]string) error + func (self *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (*SSecurityGroup, error) + func (self *SRegion) CreateSecurityGroupRule(groupId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) (*SecurityGroupRule, error) + func (self *SRegion) CreateServerTags(instanceId string, tags map[string]string) error + func (self *SRegion) CreateSfsTurbo(opts *cloudprovider.FileSystemCraeteOptions) (*SfsTurbo, error) + func (self *SRegion) CreateSnapshot(diskId, name, desc string) (*SSnapshot, error) + func (self *SRegion) CreateVpc(name, cidr, desc string) (*SVpc, error) + func (self *SRegion) CreateVpcPeering(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPeering, error) + func (self *SRegion) DeallocateEIP(eipId string) error + func (self *SRegion) DeleteDisk(diskId string) error + func (self *SRegion) DeleteElbListener(id string) error + func (self *SRegion) DeleteImage(imageId string) error + func (self *SRegion) DeleteLoadBalancer(elbId string) error + func (self *SRegion) DeleteLoadBalancerBackendGroup(id string) error + func (self *SRegion) DeleteLoadBalancerPolicy(policyId string) error + func (self *SRegion) DeleteLoadbalancerHealthCheck(healthCheckId string) error + func (self *SRegion) DeleteNatGateway(id string) error + func (self *SRegion) DeletePool(poolName string) (jsonutils.JSONObject, error) + func (self *SRegion) DeletePublicipTag(eipId string, key string) error + func (self *SRegion) DeleteRdsTags(instanceId string, tagsKey []string) error + func (self *SRegion) DeleteSecurityGroup(id string) error + func (self *SRegion) DeleteSecurityGroupRule(id string) error + func (self *SRegion) DeleteServerTags(instanceId string, tagsKey []string) error + func (self *SRegion) DeleteSfsTurbo(id string) error + func (self *SRegion) DeleteSnapshot(id string) error + func (self *SRegion) DeleteVM(instanceId string) error + func (self *SRegion) DeleteVpc(vpcId string) error + func (self *SRegion) DeleteVpcPeering(id string) error + func (self *SRegion) DeployVM(instanceId string, opts *cloudprovider.SInstanceDeployOptions) error + func (self *SRegion) DetachDisk(instanceId string, diskId string) error + func (self *SRegion) DissociateEip(eipId string) error + func (self *SRegion) GetAllSubTaskEntityIDs(serviceType string, taskId string) ([]string, error) + func (self *SRegion) GetClient() *SHuaweiClient + func (self *SRegion) GetCloudEnv() string + func (self *SRegion) GetDBInstanceJob(id string) (*SDBInstanceJob, error) + func (self *SRegion) GetDisk(diskId string) (*SDisk, error) + func (self *SRegion) GetDiskTypes() ([]SDiskType, error) + func (self *SRegion) GetDisks(zoneId, storageTypeId string) ([]SDisk, error) + func (self *SRegion) GetEip(eipId string) (*SEipAddress, error) + func (self *SRegion) GetEips(portId string, addrs []string) ([]SEipAddress, error) + func (self *SRegion) GetElasticCache(instanceId string) (*SElasticcache, error) + func (self *SRegion) GetElasticCacheBackups(instanceId, startTime, endTime string) ([]SElasticcacheBackup, error) + func (self *SRegion) GetElasticCacheParameters(instanceId string) ([]SElasticcacheParameter, error) + func (self *SRegion) GetElasticCaches() ([]SElasticcache, error) + func (self *SRegion) GetElbBackend(pool, id string) (*SElbBackend, error) + func (self *SRegion) GetEvents(start time.Time, end time.Time) ([]SEvent, error) + func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo + func (self *SRegion) GetGlobalId() string + func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable + func (self *SRegion) GetICloudAccessGroupById(id string) (cloudprovider.ICloudAccessGroup, error) + func (self *SRegion) GetICloudAccessGroups() ([]cloudprovider.ICloudAccessGroup, error) + func (self *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error) + func (self *SRegion) GetICloudFileSystemById(id string) (cloudprovider.ICloudFileSystem, error) + func (self *SRegion) GetICloudFileSystems() ([]cloudprovider.ICloudFileSystem, error) + func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error) + func (self *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error) + func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error) + func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error) + func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error) + func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error) + func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error) + func (self *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error) + func (self *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error) + func (self *SRegion) GetILoadBalancerById(id string) (cloudprovider.ICloudLoadbalancer, error) + func (self *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error) + func (self *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error) + func (self *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error) + func (self *SRegion) GetIModelartsPoolById(poolId string) (cloudprovider.ICloudModelartsPool, error) + func (self *SRegion) GetIModelartsPoolSku() ([]cloudprovider.ICloudModelartsPoolSku, error) + func (self *SRegion) GetIModelartsPools() ([]cloudprovider.ICloudModelartsPool, error) + func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error) + func (self *SRegion) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error) + func (self *SRegion) GetISnapshotById(id string) (cloudprovider.ICloudSnapshot, error) + func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error) + func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error) + func (self *SRegion) GetIStoragecacheById(idstr string) (cloudprovider.ICloudStoragecache, error) + func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error) + func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error) + func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error) + func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error) + func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error) + func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error) + func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error) + func (self *SRegion) GetId() string + func (self *SRegion) GetImage(imageId string) (*SImage, error) + func (self *SRegion) GetImageByName(name string) (*SImage, error) + func (self *SRegion) GetImages(id, status string, imagetype string, name string) ([]SImage, error) + func (self *SRegion) GetInstance(instanceId string) (*SInstance, error) + func (self *SRegion) GetInstancePortId(instanceId string) (string, error) + func (self *SRegion) GetInstanceTypes(zoneId string) ([]SInstanceType, error) + func (self *SRegion) GetInstanceVNCUrl(instanceId string) (*cloudprovider.ServerVncOutput, error) + func (self *SRegion) GetInstances(ip string) ([]SInstance, error) + func (self *SRegion) GetJob(serviceType string, jobId string) (*SJob, error) + func (self *SRegion) GetKeypairs() ([]SKeypair, error) + func (self *SRegion) GetLoadBalancerAcl(aclId string) (*SElbACL, error) + func (self *SRegion) GetLoadBalancerAcls(listenerId string) ([]SElbACL, error) + func (self *SRegion) GetLoadBalancerBackendGroup(backendGroupId string) (*SElbBackendGroup, error) + func (self *SRegion) GetLoadBalancerBackendGroups(elbId string) ([]SElbBackendGroup, error) + func (self *SRegion) GetLoadBalancerBackends(backendGroupId string) ([]SElbBackend, error) + func (self *SRegion) GetLoadBalancerCertificate(id string) (*SElbCert, error) + func (self *SRegion) GetLoadBalancerCertificates() ([]SElbCert, error) + func (self *SRegion) GetLoadBalancerHealthCheck(healthCheckId string) (*SElbHealthCheck, error) + func (self *SRegion) GetLoadBalancerListeners(lbId string) ([]SElbListener, error) + func (self *SRegion) GetLoadBalancerPolicies(listenerId string) ([]SElbListenerPolicy, error) + func (self *SRegion) GetLoadBalancerPolicyRules(policyId string) ([]SElbListenerPolicyRule, error) + func (self *SRegion) GetLoadBalancers() ([]SLoadbalancer, error) + func (self *SRegion) GetLoadbalancer(id string) (*SLoadbalancer, error) + func (self *SRegion) GetMatchInstanceTypes(cpu int, memMB int, zoneId string) ([]SInstanceType, error) + func (self *SRegion) GetName() string + func (self *SRegion) GetNatGateway(id string) (*SNatGateway, error) + func (self *SRegion) GetNetwork(networkId string) (*SNetwork, error) + func (self *SRegion) GetNetworks(vpcId string) ([]SNetwork, error) + func (self *SRegion) GetPort(id string) (*Port, error) + func (self *SRegion) GetPorts(instanceId string) ([]Port, error) + func (self *SRegion) GetProvider() string + func (self *SRegion) GetRouteTable(id string) (*SRouteTable, error) + func (self *SRegion) GetRouteTables(vpcId string) ([]SRouteTable, error) + func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error) + func (self *SRegion) GetSecurityGroupRules(groupId string) ([]SecurityGroupRule, error) + func (self *SRegion) GetSecurityGroups(name string) ([]SSecurityGroup, error) + func (self *SRegion) GetSfsTurbo(id string) (*SfsTurbo, error) + func (self *SRegion) GetSfsTurbos() ([]SfsTurbo, error) + func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error) + func (self *SRegion) GetSnapshot(id string) (*SSnapshot, error) + func (self *SRegion) GetSnapshots(diskId string, snapshotName string) ([]SSnapshot, error) + func (self *SRegion) GetStatus() string + func (self *SRegion) GetSysDefaultSecgroupId() (string, error) + func (self *SRegion) GetTaskEntityID(serviceType string, taskId string, key string) (string, error) + func (self *SRegion) GetTaskStatus(serviceType string, taskId string) (string, error) + func (self *SRegion) GetVpc(vpcId string) (*SVpc, error) + func (self *SRegion) GetVpcPeering(id string) (*SVpcPeering, error) + func (self *SRegion) GetVpcPeerings(vpcId string) ([]SVpcPeering, error) + func (self *SRegion) GetVpcs() ([]SVpc, error) + func (self *SRegion) GetZones() ([]SZone, error) + func (self *SRegion) ImportImageJob(name string, osDist string, osVersion string, osArch string, bucket string, ...) (string, error) + func (self *SRegion) ImportKeypair(name, publicKey string) (*SKeypair, error) + func (self *SRegion) ListFunctions() ([]SFunction, error) + func (self *SRegion) ListGaussMySqlInstances() ([]GaussDBMySQL, error) + func (self *SRegion) ListGaussNoSQLFlavors() ([]SGaussNoSQLFlavor, error) + func (self *SRegion) ListGaussNoSQLInstances() ([]GaussDBNoSQL, error) + func (self *SRegion) MonitorPool(poolId string) (*SModelartsMetrics, error) + func (self *SRegion) RebuildRoot(instanceId string, opts *cloudprovider.SManagedVMRebuildRootConfig) (jsonutils.JSONObject, error) + func (self *SRegion) Refresh() error + func (self *SRegion) RemoveLoadBalancerBackend(lbbgId string, backendId string) error + func (self *SRegion) RenewInstance(instanceId string, bc billing.SBillingCycle) error + func (self *SRegion) ResizeDisk(diskId string, sizeGB int64) error + func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error) + func (self *SRegion) StartVM(instanceId string) error + func (self *SRegion) StopVM(instanceId string, isForce bool) error + func (self *SRegion) UpdateEipBandwidth(bandwidthId string, bw int) error + func (self *SRegion) UpdateLoadBalancerHealthCheck(healthCheckId string, healthCheck *cloudprovider.SLoadbalancerHealthCheck) (SElbHealthCheck, error) + func (self *SRegion) UpdateLoadBalancerListener(listenerId string, listener *cloudprovider.SLoadbalancerListenerCreateOptions) error + func (self *SRegion) UpdateVM(instanceId string, input cloudprovider.SInstanceUpdateOptions) error + type SRelatedInstance struct + Id string + Type string + type SRole struct + Catelog string + CreatedTime string + Description string + DescriptionCn string + DisplayName string + DomainId string + Flag string + Id string + Links SLink + Policy jsonutils.JSONDict + Type string + UpdatedTime string + func (role *SRole) Delete() error + func (role *SRole) GetDescription() string + func (role *SRole) GetDocument() (*jsonutils.JSONDict, error) + func (role *SRole) GetGlobalId() string + func (role *SRole) GetName() string + func (role *SRole) GetPolicyType() string + func (role *SRole) UpdateDocument(document *jsonutils.JSONDict) error + type SRoute struct + Description string + Destination string + Nexthop string + Type string + func (route *SRoute) GetStatus() string + func (route *SRoute) GetType() string + func (self *SRoute) GetCidr() string + func (self *SRoute) GetGlobalId() string + func (self *SRoute) GetId() string + func (self *SRoute) GetName() string + func (self *SRoute) GetNextHop() string + func (self *SRoute) GetNextHopType() string + type SRouteTable struct + Default bool + Id string + Name string + Routes []SRoute + Subnets []Subnet + TenantId string + VpcId string + func (self *SRouteTable) CreateRoute(route cloudprovider.RouteSet) error + func (self *SRouteTable) GetAssociations() []cloudprovider.RouteTableAssociation + func (self *SRouteTable) GetDescription() string + func (self *SRouteTable) GetGlobalId() string + func (self *SRouteTable) GetIRoutes() ([]cloudprovider.ICloudRoute, error) + func (self *SRouteTable) GetId() string + func (self *SRouteTable) GetName() string + func (self *SRouteTable) GetRegionId() string + func (self *SRouteTable) GetStatus() string + func (self *SRouteTable) GetType() cloudprovider.RouteTableType + func (self *SRouteTable) GetVpcId() string + func (self *SRouteTable) Refresh() error + func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error + func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error + type SSSLCertificate struct + Brand string + Certificate string + DeploySupport bool + Description string + Domain string + DomainCount int + DomainType string + EnterpriseProjectId string + ExpireTime string + Id string + Name string + PrivateKey string + Sans string + SignatureAlgorithm string + Status string + Type string + ValidityPeriod int + WildcardCount int + func (s *SSSLCertificate) GetCert() string + func (s *SSSLCertificate) GetCity() string + func (s *SSSLCertificate) GetCommon() string + func (s *SSSLCertificate) GetCountry() string + func (s *SSSLCertificate) GetDetails() (*SSSLCertificate, error) + func (s *SSSLCertificate) GetEndDate() time.Time + func (s *SSSLCertificate) GetExpired() bool + func (s *SSSLCertificate) GetFingerprint() string + func (s *SSSLCertificate) GetGlobalId() string + func (s *SSSLCertificate) GetId() string + func (s *SSSLCertificate) GetIsUpload() bool + func (s *SSSLCertificate) GetIssuer() string + func (s *SSSLCertificate) GetKey() string + func (s *SSSLCertificate) GetName() string + func (s *SSSLCertificate) GetOrgName() string + func (s *SSSLCertificate) GetProvince() string + func (s *SSSLCertificate) GetSans() string + func (s *SSSLCertificate) GetStartDate() time.Time + func (s *SSSLCertificate) GetStatus() string + type SSecurityGroup struct + Description string + EnterpriseProjectId string + Id string + Name string + SecurityGroupRules []SecurityGroupRule + VpcId string + func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error) + func (self *SSecurityGroup) Delete() error + func (self *SSecurityGroup) GetDescription() string + func (self *SSecurityGroup) GetGlobalId() string + func (self *SSecurityGroup) GetId() string + func (self *SSecurityGroup) GetName() string + func (self *SSecurityGroup) GetProjectId() string + func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error) + func (self *SSecurityGroup) GetStatus() string + func (self *SSecurityGroup) GetTags() (map[string]string, error) + func (self *SSecurityGroup) GetVpcId() string + func (self *SSecurityGroup) Refresh() error + type SSnapshot struct + CreatedAt string + Description string + ID string + Metadata Metadata + Name string + OSExtendedSnapshotAttributesProgress string + OSExtendedSnapshotAttributesProjectID string + Size int32 + Status string + UpdatedAt string + VolumeID string + func (self *SSnapshot) Delete() error + func (self *SSnapshot) GetDiskId() string + func (self *SSnapshot) GetDiskType() string + func (self *SSnapshot) GetGlobalId() string + func (self *SSnapshot) GetId() string + func (self *SSnapshot) GetName() string + func (self *SSnapshot) GetProjectId() string + func (self *SSnapshot) GetSizeMb() int32 + func (self *SSnapshot) GetStatus() string + func (self *SSnapshot) IsEmulated() bool + func (self *SSnapshot) Refresh() error + type SStorage struct + func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error) + func (self *SStorage) GetCapacityMB() int64 + func (self *SStorage) GetCapacityUsedMB() int64 + func (self *SStorage) GetEnabled() bool + func (self *SStorage) GetGlobalId() string + func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error) + func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error) + func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache + func (self *SStorage) GetIZone() cloudprovider.ICloudZone + func (self *SStorage) GetId() string + func (self *SStorage) GetMediumType() string + func (self *SStorage) GetMountPoint() string + func (self *SStorage) GetName() string + func (self *SStorage) GetStatus() string + func (self *SStorage) GetStorageConf() jsonutils.JSONObject + func (self *SStorage) GetStorageType() string + func (self *SStorage) IsEmulated() bool + func (self *SStorage) IsSysDiskStore() bool + func (self *SStorage) Refresh() error + type SStoragecache struct + func (self *SStoragecache) GetGlobalId() string + func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error) + func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error) + func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error) + func (self *SStoragecache) GetId() string + func (self *SStoragecache) GetName() string + func (self *SStoragecache) GetPath() string + func (self *SStoragecache) GetStatus() string + func (self *SStoragecache) IsEmulated() bool + func (self *SStoragecache) Refresh() error + func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, ...) (string, error) + type SUser struct + Domain map[string]string + Id string + Name string + type SVolume struct + Size int + Type string + type SVpc struct + CIDR string + EnterpriseProjectID string + ID string + Name string + Status string + func (self *SVpc) AcceptICloudVpcPeeringConnection(id string) error + func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error) + func (self *SVpc) CreateINatGateway(opts *cloudprovider.NatGatewayCreateOptions) (cloudprovider.ICloudNatGateway, error) + func (self *SVpc) Delete() error + func (self *SVpc) GetAuthorityOwnerId() string + func (self *SVpc) GetCidrBlock() string + func (self *SVpc) GetGlobalId() string + func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error) + func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error) + func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error) + func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error) + func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error) + func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error) + func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error) + func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error) + func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error) + func (self *SVpc) GetId() string + func (self *SVpc) GetIsDefault() bool + func (self *SVpc) GetName() string + func (self *SVpc) GetRegion() cloudprovider.ICloudRegion + func (self *SVpc) GetStatus() string + func (self *SVpc) Refresh() error + type SVpcPeering struct + AcceptVpcInfo AcceptVpcInfo + ID string + Name string + RequestVpcInfo RequestVpcInfo + Status string + func (self *SVpcPeering) Delete() error + func (self *SVpcPeering) GetEnabled() bool + func (self *SVpcPeering) GetGlobalId() string + func (self *SVpcPeering) GetId() string + func (self *SVpcPeering) GetName() string + func (self *SVpcPeering) GetPeerAccountId() string + func (self *SVpcPeering) GetPeerVpcId() string + func (self *SVpcPeering) GetStatus() string + func (self *SVpcPeering) GetVpcId() string + func (self *SVpcPeering) Refresh() error + type SWire struct + func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error) + func (self *SWire) GetBandwidth() int + func (self *SWire) GetGlobalId() string + func (self *SWire) GetINetworkById(id string) (cloudprovider.ICloudNetwork, error) + func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error) + func (self *SWire) GetIVpc() cloudprovider.ICloudVpc + func (self *SWire) GetIZone() cloudprovider.ICloudZone + func (self *SWire) GetId() string + func (self *SWire) GetName() string + func (self *SWire) GetStatus() string + func (self *SWire) IsEmulated() bool + func (self *SWire) Refresh() error + type SZone struct + ZoneName string + ZoneState ZoneState + func (self *SZone) GetGlobalId() string + func (self *SZone) GetI18n() cloudprovider.SModelI18nTable + func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error) + func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error) + func (self *SZone) GetIRegion() cloudprovider.ICloudRegion + func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error) + func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error) + func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error) + func (self *SZone) GetId() string + func (self *SZone) GetName() string + func (self *SZone) GetStatus() string + func (self *SZone) IsEmulated() bool + func (self *SZone) Refresh() error + type SecurityGroup struct + Id string + Name string + type SecurityGroupRule struct + Description string + Direction string + Ethertype string + Id string + PortRangeMax int64 + PortRangeMin int64 + Priority int + Protocol string + RemoteGroupId string + RemoteIPPrefix string + SecurityGroupId string + TenantId string + func (self *SecurityGroupRule) Delete() error + func (self *SecurityGroupRule) GetAction() secrules.TSecurityRuleAction + func (self *SecurityGroupRule) GetCIDRs() []string + func (self *SecurityGroupRule) GetDescription() string + func (self *SecurityGroupRule) GetDirection() secrules.TSecurityRuleDirection + func (self *SecurityGroupRule) GetGlobalId() string + func (self *SecurityGroupRule) GetPorts() string + func (self *SecurityGroupRule) GetPriority() int + func (self *SecurityGroupRule) GetProtocol() string + func (self *SecurityGroupRule) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error + type SfsTurbo struct + Actions []string + AvailCapacity float64 + AvailabilityZone string + AzName string + CreatedAt time.Time + CryptKeyId string + Description string + EnterpriseProjectId string + ExpandType string + ExportLocation string + Id string + Name string + PayModel string + Region string + SecurityGroupId string + ShareProto string + ShareType string + Size float64 + Status string + SubStatus string + SubnetId string + VpcId string + func (self *SfsTurbo) CreateMountTarget(opts *cloudprovider.SMountTargetCreateOptions) (cloudprovider.ICloudMountTarget, error) + func (self *SfsTurbo) Delete() error + func (self *SfsTurbo) GetBillingType() string + func (self *SfsTurbo) GetCapacityGb() int64 + func (self *SfsTurbo) GetCreatedAt() time.Time + func (self *SfsTurbo) GetFileSystemType() string + func (self *SfsTurbo) GetGlobalId() string + func (self *SfsTurbo) GetId() string + func (self *SfsTurbo) GetMountTargetCountLimit() int + func (self *SfsTurbo) GetMountTargets() ([]cloudprovider.ICloudMountTarget, error) + func (self *SfsTurbo) GetName() string + func (self *SfsTurbo) GetProtocol() string + func (self *SfsTurbo) GetStatus() string + func (self *SfsTurbo) GetStorageType() string + func (self *SfsTurbo) GetUsedCapacityGb() int64 + func (self *SfsTurbo) GetZoneId() string + func (self *SfsTurbo) Refresh() error + type SnapshotStatusType string + const SnapshotStatusAvailable + const SnapshotStatusBackingUp + const SnapshotStatusCreating + const SnapshotStatusDeleting + const SnapshotStatusError + const SnapshotStatusErrorDeleting + const SnapshotStatusRollbacking + type StickySession struct + CookieName string + PersistenceTimeout int + Type string + type Subnet struct + Id string + type SysTag struct + Key string + Value string + type VMMetadata struct + CascadedInstanceExtrainfo string + ChargingMode string + ImageName string + MeteringImageID string + MeteringImagetype string + MeteringOrderId string + MeteringResourcespeccode string + MeteringResourcetype string + OSBit string + OSType string + VpcID string + type VolumeImageMetadata struct + Checksum string + ContainerFormat string + Description string + DiskFormat string + HwVifMultiqueueEnabled string + ImageID string + ImageName string + ImageSourceType string + Imagetype string + Isregistered string + MinDisk string + MinRAM string + OSBit string + OSFeatureList string + OSType string + OSVersion string + Platform string + QuickStart string + SizeGB string + SupportKVM string + SupportKVMHi1822Hiovs string + SupportXen string + VirtualEnvType string + type ZoneState struct + Available bool