Documentation ¶
Index ¶
- Constants
- func DoAction(client jsonRequestFunc, action string, params map[string]string, ...) error
- func DoListAll(client jsonRequestFunc, action string, params map[string]string, ...) error
- type AclEntry
- type AclEntrys
- type ApsaraClientConfig
- type ApsaraTags
- type AssociatedObjects
- type AttributeValues
- type BackendServers
- type DatabasePrivilege
- type DatabasePrivileges
- type DepartmentInfo
- type ImageExportTask
- type ImageImportTask
- type ImageOwnerType
- type ImageStatusType
- type ImageUsageType
- type Listener
- type ListenerPortAndProtocol
- type ListenerPorts
- type ListenerPortsAndProtocol
- type ListenerProtocol
- type Listeners
- type MetricData
- type OssProgressListener
- type ResourceGroupList
- type Rule
- type Rules
- type SAccountAttributeItem
- type SApsaraClient
- func (self *SApsaraClient) AddUserToGroup(groupName, userName string) error
- func (self *SApsaraClient) AttachPolicy2Role(policyType string, policyName string, roleName string) error
- func (self *SApsaraClient) AttachPolicyToGroup(policyType, policyName, groupName string) error
- func (self *SApsaraClient) AttachPolicyToUser(policyName, policyType, userName string) error
- func (self *SApsaraClient) CreateGroup(groupName, comments string) (*SGroup, error)
- func (self *SApsaraClient) CreateICloudgroup(name string, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SApsaraClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SApsaraClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SApsaraClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SApsaraClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)
- func (self *SApsaraClient) CreatePolicy(name string, document string, desc string) (*SPolicy, error)
- func (self *SApsaraClient) CreatePolicyVersion(name, document string, isDefault bool) error
- func (self *SApsaraClient) CreateResourceGroup(name string) (*SResourceGroup, error)
- func (self *SApsaraClient) CreateRole(roleName string, document string, desc string) (*SRole, error)
- func (self *SApsaraClient) CreateUser(name, phone, email, comments string) (*SUser, error)
- func (self *SApsaraClient) DeleteClouduser(name string) error
- func (self *SApsaraClient) DeleteGroup(groupName string) error
- func (self *SApsaraClient) DeleteLoginProfile(name string) error
- func (self *SApsaraClient) DeletePolicy(policyType string, policyName string) error
- func (self *SApsaraClient) DeleteRole(roleName string) error
- func (self *SApsaraClient) DetachPolicyFromGroup(policyType, policyName, groupName string) error
- func (self *SApsaraClient) DetachPolicyFromRole(policyType, policyName, roleName string) error
- func (self *SApsaraClient) DetachPolicyFromUser(policyName, policyType, userName string) error
- func (self *SApsaraClient) EnableImageExport() error
- func (self *SApsaraClient) EnableImageImport() error
- func (self *SApsaraClient) GetAccountId() string
- func (self *SApsaraClient) GetCallerIdentity() (*SCallerIdentity, error)
- func (region *SApsaraClient) GetCapabilities() []string
- func (self *SApsaraClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetElbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetGroup(groupName string) (*SGroup, error)
- func (self *SApsaraClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SApsaraClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SApsaraClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SApsaraClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SApsaraClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SApsaraClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SApsaraClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SApsaraClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SApsaraClient) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SApsaraClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SApsaraClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SApsaraClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SApsaraClient) GetIamLoginUrl() string
- func (self *SApsaraClient) GetLoginProfile(name string) (*SLoginProfile, error)
- func (self *SApsaraClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetOrganizationList() ([]SOrganization, error)
- func (self *SApsaraClient) GetOrganizationTree(id string) (*SOrganizationTree, error)
- func (self *SApsaraClient) GetOssMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetPolicy(policyType string, policyName string) (*SPolicyDetails, error)
- func (self *SApsaraClient) GetProvider() string
- func (self *SApsaraClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SApsaraClient) GetRegion(regionId string) *SRegion
- func (self *SApsaraClient) GetRegions() []SRegion
- func (self *SApsaraClient) GetResourceGroup(id string) (*SResourceGroup, error)
- func (self *SApsaraClient) GetResourceGroups(pageNumber int, pageSize int) ([]SResourceGroup, int, error)
- func (self *SApsaraClient) GetRole(roleName string) (*SRole, error)
- func (self *SApsaraClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SApsaraClient) GetUser(name string) (*SUser, error)
- func (self *SApsaraClient) ListGroups(offset string, limit int) (*SGroups, error)
- func (self *SApsaraClient) ListGroupsForUser(user string) ([]SGroup, error)
- func (self *SApsaraClient) ListMetrics(ns, metricName string, start, end time.Time) ([]MetricData, error)
- func (self *SApsaraClient) ListPolicies(policyType string, offset string, limit int) (*SPolicies, error)
- func (self *SApsaraClient) ListPoliciesForGroup(groupName string) ([]SPolicy, error)
- func (self *SApsaraClient) ListPoliciesForRole(name string) ([]SPolicy, error)
- func (self *SApsaraClient) ListPoliciesForUser(user string) ([]SPolicy, error)
- func (self *SApsaraClient) ListRoles(offset string, limit int) (*SRoles, error)
- func (self *SApsaraClient) ListUsers(offset string, limit int) (*SUsers, error)
- func (self *SApsaraClient) ListUsersForGroup(groupName string, offset string, limit int) (*SUsers, error)
- func (self *SApsaraClient) RemoveUserFromGroup(groupName, userName string) error
- func (self *SApsaraClient) ResetClouduserPassword(name, password string) error
- func (self *SApsaraClient) UpdateLoginProfile(name, password string) error
- type SAutoRenewAttr
- type SBandwidthPackageIds
- type SBucket
- func (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error
- func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error
- func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error
- func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partNumber int, ...) (string, error)
- func (b *SBucket) DeleteObject(ctx context.Context, key string) error
- func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
- 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 (self *SBucket) GetOssClient() (*oss.Client, error)
- func (b *SBucket) GetStats() cloudprovider.SBucketStats
- func (b *SBucket) GetStorageClass() string
- func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error)
- func (b *SBucket) LimitSupport() cloudprovider.SBucketStats
- 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, input io.Reader, sizeBytes int64, ...) error
- func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
- func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- type SCallerIdentity
- type SCloudResources
- type SDBInstance
- 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) GetDiskSizeUsedMB() 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) GetMasterInstanceId() string
- func (rds *SDBInstance) GetName() string
- func (rds *SDBInstance) GetPort() int
- func (rds *SDBInstance) GetStatus() string
- func (rds *SDBInstance) GetStorageType() string
- func (rds *SDBInstance) GetTags() (map[string]string, error)
- 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) 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) SetTags(tags map[string]string, replace bool) error
- type SDBInstanceAccount
- func (account *SDBInstanceAccount) Delete() error
- func (account *SDBInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
- func (account *SDBInstanceAccount) GetName() string
- func (account *SDBInstanceAccount) GetStatus() 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
- 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
- type SDBInstanceBackupJob
- type SDBInstanceBackupJobs
- type SDBInstanceDatabase
- 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 SDBInstanceExtra
- type SDBInstanceId
- type SDBInstanceNetwork
- type SDBInstanceParameter
- type SDBInstanceWeight
- type SDBInstanceWeights
- type SDatabasePrivilege
- type SDatabasePrivileges
- type SDedicatedHostAttribute
- type SDedicatedHostGenerations
- type SDedicatedHostTypes
- type SDefaultPolicyVersion
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) 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) GetExtSnapshotPolicyIds() ([]string, error)
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- func (self *SDisk) GetIsAutoDelete() bool
- func (self *SDisk) GetIsNonPersistent() bool
- func (self *SDisk) GetMountpoint() string
- func (self *SDisk) GetName() string
- func (self *SDisk) GetStatus() string
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) IsEmulated() bool
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Refresh() error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- func (self *SDisk) ResizeDisk(newSize int64) error
- type SDiskCategories
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- type SElasticcache
- func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
- func (self *SElasticcache) ChangeInstanceSpec(spec string) error
- func (self *SElasticcache) CreateAccount(input 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) GetAttribute() (*SElasticcacheAttribute, error)
- 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) GetICloudElasticcacheAccountByName(accountName 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) GetNetInfo() ([]SNetInfo, error)
- 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) GetPublicConnectPort() int
- func (self *SElasticcache) GetPublicDNS() string
- func (self *SElasticcache) GetPublicIpAddr() string
- func (self *SElasticcache) GetPublicNetInfo() (*SNetInfo, error)
- func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
- func (self *SElasticcache) GetStatus() string
- func (instance *SElasticcache) GetTags() (map[string]string, error)
- 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) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (instance *SElasticcache) SetTags(tags map[string]string, replace bool) error
- func (self *SElasticcache) UpdateAuthMode(noPwdAccess bool, password string) error
- func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
- type SElasticcacheAccount
- func (self *SElasticcacheAccount) Delete() error
- func (self *SElasticcacheAccount) GetAccountPrivilege() string
- func (self *SElasticcacheAccount) GetAccountType() string
- func (self *SElasticcacheAccount) GetGlobalId() string
- func (self *SElasticcacheAccount) GetId() string
- func (self *SElasticcacheAccount) GetName() string
- func (self *SElasticcacheAccount) GetStatus() string
- func (self *SElasticcacheAccount) GrantAccountPrivilege(privilege string) error
- func (self *SElasticcacheAccount) ModifyAccountDescription(desc string) error
- func (self *SElasticcacheAccount) Refresh() error
- func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
- func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
- type SElasticcacheAcl
- func (self *SElasticcacheAcl) Delete() error
- func (self *SElasticcacheAcl) GetGlobalId() string
- func (self *SElasticcacheAcl) GetId() string
- func (self *SElasticcacheAcl) GetIpList() string
- func (self *SElasticcacheAcl) GetName() string
- func (self *SElasticcacheAcl) GetStatus() string
- func (self *SElasticcacheAcl) Refresh() error
- func (self *SElasticcacheAcl) UpdateAcl(securityIps string) error
- type SElasticcacheAttribute
- type SElasticcacheBackup
- 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
- 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 SForwardTableEntry
- func (dtable *SForwardTableEntry) Delete() error
- func (dtable *SForwardTableEntry) GetExternalIp() string
- func (dtable *SForwardTableEntry) GetExternalPort() int
- func (dtable *SForwardTableEntry) GetGlobalId() string
- func (dtable *SForwardTableEntry) GetId() string
- func (dtable *SForwardTableEntry) GetInternalIp() string
- func (dtable *SForwardTableEntry) GetInternalPort() int
- func (dtable *SForwardTableEntry) GetIpProtocol() string
- func (dtable *SForwardTableEntry) GetName() string
- func (dtable *SForwardTableEntry) GetStatus() string
- func (dtable *SForwardTableEntry) Refresh() error
- type SForwardTableIds
- type SGroup
- func (self *SGroup) AddUser(name string) error
- func (self *SGroup) AttachCustomPolicy(policyName string) error
- func (self *SGroup) AttachSystemPolicy(policyName string) error
- func (self *SGroup) Delete() error
- func (self *SGroup) DetachCustomPolicy(policyName string) error
- func (self *SGroup) DetachSystemPolicy(policyName string) error
- func (self *SGroup) GetDescription() string
- func (self *SGroup) GetGlobalId() string
- func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetName() string
- func (self *SGroup) RemoveUser(name string) error
- type SGroups
- type SHost
- func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetAccessIp() string
- func (self *SHost) GetAccessMac() string
- func (self *SHost) GetCpuCount() int
- func (self *SHost) GetCpuDesc() string
- func (self *SHost) GetCpuMhz() int
- func (self *SHost) GetEnabled() bool
- func (self *SHost) GetGlobalId() string
- func (self *SHost) GetHostStatus() string
- func (self *SHost) GetHostType() string
- func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)
- func (host *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (host *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- func (self *SHost) VMGlobalId2Id(gid string) string
- type SIPv6Gateway
- type SImage
- 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) IsEmulated() bool
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AssignSecurityGroup(secgroupId string) error
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) ConvertPublicIpToEip() error
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, name string, username string, password string, ...) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBillingType() string
- func (ins *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (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) GetInternetMaxBandwidthOut() int
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (ins *SInstance) GetOsArch() string
- func (ins *SInstance) GetOsDist() string
- func (ins *SInstance) GetOsLang() string
- func (self *SInstance) GetOsType() cloudprovider.TOsType
- func (ins *SInstance) GetOsVersion() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
- func (self *SInstance) GetVcpuCount() int
- func (self *SInstance) GetVdi() string
- func (self *SInstance) GetVga() string
- func (self *SInstance) GetVmemSizeMB() int
- func (self *SInstance) IsAutoRenew() bool
- func (self *SInstance) IsEmulated() bool
- func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
- func (self *SInstance) Refresh() error
- func (self *SInstance) Renew(bc billing.SBillingCycle) error
- func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SInstance) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) SetTags(tags map[string]string, replace bool) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, name string) error
- type SInstanceNic
- type SInstanceType
- func (self *SInstanceType) Delete() error
- func (self *SInstanceType) GetAttachedDiskCount() int
- func (self *SInstanceType) GetAttachedDiskSizeGB() int
- func (self *SInstanceType) GetAttachedDiskType() string
- func (self *SInstanceType) GetCpuArch() string
- func (self *SInstanceType) GetCpuCoreCount() int
- func (self *SInstanceType) GetDataDiskMaxCount() int
- func (self *SInstanceType) GetDataDiskTypes() string
- func (self *SInstanceType) GetGlobalId() string
- func (self *SInstanceType) GetGpuAttachable() bool
- func (self *SInstanceType) GetGpuCount() int
- func (self *SInstanceType) GetGpuMaxCount() int
- func (self *SInstanceType) GetGpuSpec() string
- func (self *SInstanceType) GetId() string
- func (self *SInstanceType) GetInstanceTypeCategory() string
- func (self *SInstanceType) GetInstanceTypeFamily() string
- func (self *SInstanceType) GetMemorySizeMB() int
- func (self *SInstanceType) GetName() string
- func (self *SInstanceType) GetNicMaxCount() int
- func (self *SInstanceType) GetNicType() string
- func (self *SInstanceType) GetOsName() string
- func (self *SInstanceType) GetPostpaidStatus() string
- func (self *SInstanceType) GetPrepaidStatus() string
- func (self *SInstanceType) GetStatus() string
- func (self *SInstanceType) GetSysDiskMaxSizeGB() int
- func (self *SInstanceType) GetSysDiskMinSizeGB() int
- func (self *SInstanceType) GetSysDiskResizable() bool
- func (self *SInstanceType) GetSysDiskType() string
- type SInstanceTypes
- type SIpAddress
- type SKeypair
- type SLoadbalancer
- func (lb *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) Delete(ctx context.Context) error
- func (lb *SLoadbalancer) GetAddress() string
- func (lb *SLoadbalancer) GetAddressType() string
- func (lb *SLoadbalancer) GetChargeType() string
- func (lb *SLoadbalancer) GetCreatedAt() time.Time
- func (lb *SLoadbalancer) GetEgressMbps() int
- func (lb *SLoadbalancer) GetGlobalId() string
- func (lb *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (lb *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) GetId() string
- func (lb *SLoadbalancer) GetLoadbalancerSpec() string
- func (lb *SLoadbalancer) GetName() string
- func (lb *SLoadbalancer) GetNetworkIds() []string
- func (lb *SLoadbalancer) GetNetworkType() string
- func (lb *SLoadbalancer) GetStatus() string
- func (lb *SLoadbalancer) GetTags() (map[string]string, error)
- func (lb *SLoadbalancer) GetVpcId() string
- func (self *SLoadbalancer) GetZone1Id() string
- func (lb *SLoadbalancer) GetZoneId() string
- func (lb *SLoadbalancer) IsEmulated() bool
- func (lb *SLoadbalancer) Refresh() error
- func (lb *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
- func (lb *SLoadbalancer) Start() error
- func (lb *SLoadbalancer) Stop() error
- type SLoadbalancerAcl
- func (acl *SLoadbalancerAcl) Delete() error
- func (acl *SLoadbalancerAcl) GetAclEntries() []cloudprovider.SLoadbalancerAccessControlListEntry
- func (acl *SLoadbalancerAcl) GetAclListenerID() string
- func (acl *SLoadbalancerAcl) GetGlobalId() string
- func (acl *SLoadbalancerAcl) GetId() string
- func (acl *SLoadbalancerAcl) GetName() string
- func (acl *SLoadbalancerAcl) GetStatus() string
- func (acl *SLoadbalancerAcl) IsEmulated() bool
- func (acl *SLoadbalancerAcl) Refresh() error
- func (acl *SLoadbalancerAcl) Sync(_acl *cloudprovider.SLoadbalancerAccessControlList) error
- type SLoadbalancerBackend
- func (backend *SLoadbalancerBackend) GetBackendId() string
- func (backend *SLoadbalancerBackend) GetBackendRole() string
- func (backend *SLoadbalancerBackend) GetBackendType() string
- func (backend *SLoadbalancerBackend) GetGlobalId() string
- func (backend *SLoadbalancerBackend) GetId() string
- func (backend *SLoadbalancerBackend) GetIpAddress() string
- func (backend *SLoadbalancerBackend) GetName() string
- func (backend *SLoadbalancerBackend) GetPort() int
- func (backend *SLoadbalancerBackend) GetStatus() string
- func (backend *SLoadbalancerBackend) GetWeight() int
- func (backend *SLoadbalancerBackend) IsEmulated() bool
- func (backend *SLoadbalancerBackend) Refresh() error
- func (backend *SLoadbalancerBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerBackendGroup
- func (backendgroup *SLoadbalancerBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerDefaultBackend
- func (backend *SLoadbalancerDefaultBackend) GetBackendId() string
- func (backend *SLoadbalancerDefaultBackend) GetBackendRole() string
- func (backend *SLoadbalancerDefaultBackend) GetBackendType() string
- func (backend *SLoadbalancerDefaultBackend) GetGlobalId() string
- func (backend *SLoadbalancerDefaultBackend) GetId() string
- func (backend *SLoadbalancerDefaultBackend) GetIpAddress() string
- func (backend *SLoadbalancerDefaultBackend) GetName() string
- func (backend *SLoadbalancerDefaultBackend) GetPort() int
- func (backend *SLoadbalancerDefaultBackend) GetStatus() string
- func (backend *SLoadbalancerDefaultBackend) GetWeight() int
- func (backend *SLoadbalancerDefaultBackend) IsEmulated() bool
- func (backend *SLoadbalancerDefaultBackend) Refresh() error
- func (backend *SLoadbalancerDefaultBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerDefaultBackendGroup
- func (backendgroup *SLoadbalancerDefaultBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerDefaultBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerHTTPListener
- func (listerner *SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerHTTPListener) GetAclId() string
- func (listerner *SLoadbalancerHTTPListener) GetAclStatus() string
- func (listerner *SLoadbalancerHTTPListener) GetAclType() string
- func (listerner *SLoadbalancerHTTPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerHTTPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerHTTPListener) GetCertificateId() string
- func (listerner *SLoadbalancerHTTPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerHTTPListener) GetGlobalId() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) GetId() string
- func (listerner *SLoadbalancerHTTPListener) GetListenerPort() int
- func (listerner *SLoadbalancerHTTPListener) GetListenerType() string
- func (listener *SLoadbalancerHTTPListener) GetName() string
- func (listerner *SLoadbalancerHTTPListener) GetScheduler() string
- func (listerner *SLoadbalancerHTTPListener) GetStatus() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySession() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerHTTPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerHTTPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerHTTPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerHTTPListener) IsEmulated() bool
- func (listerner *SLoadbalancerHTTPListener) Refresh() error
- func (listerner *SLoadbalancerHTTPListener) Start() error
- func (listerner *SLoadbalancerHTTPListener) Stop() error
- func (listerner *SLoadbalancerHTTPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
- func (listerner *SLoadbalancerHTTPListener) XForwardedForEnabled() bool
- type SLoadbalancerHTTPSListener
- func (listerner *SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerHTTPSListener) GetAclId() string
- func (listerner *SLoadbalancerHTTPSListener) GetAclStatus() string
- func (listerner *SLoadbalancerHTTPSListener) GetAclType() string
- func (listerner *SLoadbalancerHTTPSListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerHTTPSListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerHTTPSListener) GetCertificateId() string
- func (listerner *SLoadbalancerHTTPSListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetEgressMbps() int
- func (listerner *SLoadbalancerHTTPSListener) GetGlobalId() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheck() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) GetId() string
- func (listerner *SLoadbalancerHTTPSListener) GetListenerPort() int
- func (listerner *SLoadbalancerHTTPSListener) GetListenerType() string
- func (listener *SLoadbalancerHTTPSListener) GetName() string
- func (listerner *SLoadbalancerHTTPSListener) GetScheduler() string
- func (listerner *SLoadbalancerHTTPSListener) GetStatus() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySession() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionType() string
- func (listerner *SLoadbalancerHTTPSListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerHTTPSListener) GzipEnabled() bool
- func (listerner *SLoadbalancerHTTPSListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerHTTPSListener) IsEmulated() bool
- func (listerner *SLoadbalancerHTTPSListener) Refresh() error
- func (listerner *SLoadbalancerHTTPSListener) Start() error
- func (listerner *SLoadbalancerHTTPSListener) Stop() error
- func (listerner *SLoadbalancerHTTPSListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
- func (listerner *SLoadbalancerHTTPSListener) XForwardedForEnabled() bool
- type SLoadbalancerListenerRule
- func (lbr *SLoadbalancerListenerRule) Delete(ctx context.Context) error
- func (lbr *SLoadbalancerListenerRule) GetBackendGroupId() string
- func (lbr *SLoadbalancerListenerRule) GetCondition() string
- func (lbr *SLoadbalancerListenerRule) GetDomain() string
- func (lbr *SLoadbalancerListenerRule) GetGlobalId() string
- func (lbr *SLoadbalancerListenerRule) GetId() string
- func (lbr *SLoadbalancerListenerRule) GetName() string
- func (lbr *SLoadbalancerListenerRule) GetPath() string
- func (lbr *SLoadbalancerListenerRule) GetStatus() string
- func (self *SLoadbalancerListenerRule) IsDefault() bool
- func (lbr *SLoadbalancerListenerRule) IsEmulated() bool
- func (lbr *SLoadbalancerListenerRule) Refresh() error
- type SLoadbalancerMasterSlaveBackend
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendRole() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendType() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetGlobalId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetIpAddress() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetName() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetPort() int
- func (backend *SLoadbalancerMasterSlaveBackend) GetStatus() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetWeight() int
- func (backend *SLoadbalancerMasterSlaveBackend) IsEmulated() bool
- func (backend *SLoadbalancerMasterSlaveBackend) Refresh() error
- func (backend *SLoadbalancerMasterSlaveBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerMasterSlaveBackendGroup
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerServerCertificate
- func (certificate *SLoadbalancerServerCertificate) Delete() error
- func (certificate *SLoadbalancerServerCertificate) GetCommonName() string
- func (certificate *SLoadbalancerServerCertificate) GetExpireTime() time.Time
- func (certificate *SLoadbalancerServerCertificate) GetFingerprint() string
- func (certificate *SLoadbalancerServerCertificate) GetGlobalId() string
- func (certificate *SLoadbalancerServerCertificate) GetId() string
- func (certificate *SLoadbalancerServerCertificate) GetName() string
- func (certificate *SLoadbalancerServerCertificate) GetPrivateKey() string
- func (certificate *SLoadbalancerServerCertificate) GetPublickKey() string
- func (certificate *SLoadbalancerServerCertificate) GetStatus() string
- func (certificate *SLoadbalancerServerCertificate) GetSubjectAlternativeNames() string
- func (certificate *SLoadbalancerServerCertificate) IsEmulated() bool
- func (certificate *SLoadbalancerServerCertificate) Refresh() error
- func (certificate *SLoadbalancerServerCertificate) Sync(name string, privateKey string, publicKey string) error
- type SLoadbalancerTCPListener
- func (listerner *SLoadbalancerTCPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerTCPListener) GetAclId() string
- func (listerner *SLoadbalancerTCPListener) GetAclStatus() string
- func (listerner *SLoadbalancerTCPListener) GetAclType() string
- func (listerner *SLoadbalancerTCPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerTCPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerTCPListener) GetCertificateId() string
- func (listerner *SLoadbalancerTCPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerTCPListener) GetGlobalId() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) GetId() string
- func (listerner *SLoadbalancerTCPListener) GetListenerPort() int
- func (listerner *SLoadbalancerTCPListener) GetListenerType() string
- func (listener *SLoadbalancerTCPListener) GetName() string
- func (listerner *SLoadbalancerTCPListener) GetScheduler() string
- func (listerner *SLoadbalancerTCPListener) GetStatus() string
- func (listerner *SLoadbalancerTCPListener) GetStickySession() string
- func (listerner *SLoadbalancerTCPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerTCPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerTCPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerTCPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerTCPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerTCPListener) IsEmulated() bool
- func (listerner *SLoadbalancerTCPListener) Refresh() error
- func (listerner *SLoadbalancerTCPListener) Start() error
- func (listerner *SLoadbalancerTCPListener) Stop() error
- func (listerner *SLoadbalancerTCPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
- func (listerner *SLoadbalancerTCPListener) XForwardedForEnabled() bool
- type SLoadbalancerUDPListener
- func (listerner *SLoadbalancerUDPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerUDPListener) GetAclId() string
- func (listerner *SLoadbalancerUDPListener) GetAclStatus() string
- func (listerner *SLoadbalancerUDPListener) GetAclType() string
- func (listerner *SLoadbalancerUDPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerUDPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerUDPListener) GetCertificateId() string
- func (listerner *SLoadbalancerUDPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerUDPListener) GetGlobalId() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) GetId() string
- func (listerner *SLoadbalancerUDPListener) GetListenerPort() int
- func (listerner *SLoadbalancerUDPListener) GetListenerType() string
- func (listener *SLoadbalancerUDPListener) GetName() string
- func (listerner *SLoadbalancerUDPListener) GetScheduler() string
- func (listerner *SLoadbalancerUDPListener) GetStatus() string
- func (listerner *SLoadbalancerUDPListener) GetStickySession() string
- func (listerner *SLoadbalancerUDPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerUDPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerUDPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerUDPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerUDPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerUDPListener) IsEmulated() bool
- func (listerner *SLoadbalancerUDPListener) Refresh() error
- func (listerner *SLoadbalancerUDPListener) Start() error
- func (listerner *SLoadbalancerUDPListener) Stop() error
- func (listerner *SLoadbalancerUDPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
- func (listerner *SLoadbalancerUDPListener) XForwardedForEnabled() bool
- type SLoginProfile
- type SMountInstances
- type SNatGetway
- func (nat *SNatGetway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGetway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGetway) GetBillingType() string
- func (nat *SNatGetway) GetCreatedAt() time.Time
- func (nat *SNatGetway) GetExpiredAt() time.Time
- func (nat *SNatGetway) GetGlobalId() string
- func (nat *SNatGetway) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (nat *SNatGetway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGetway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGetway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGetway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGetway) GetINetworkId() string
- func (nat *SNatGetway) GetId() string
- func (nat *SNatGetway) GetName() string
- func (nat *SNatGetway) GetNatSpec() string
- func (nat *SNatGetway) GetStatus() string
- type SNetInfo
- type SNetworkInterface
- func (nic *SNetworkInterface) GetAssociateId() string
- func (nic *SNetworkInterface) GetAssociateType() string
- func (nic *SNetworkInterface) GetGlobalId() string
- func (nic *SNetworkInterface) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
- func (nic *SNetworkInterface) GetId() string
- func (nic *SNetworkInterface) GetMacAddress() string
- func (nic *SNetworkInterface) GetName() string
- func (nic *SNetworkInterface) GetStatus() string
- type SNetworkInterfaces
- type SNextHops
- type SObject
- type SOperationLocks
- type SOrganization
- type SOrganizationTree
- type SPermission
- type SPermissions
- type SPolicies
- type SPolicy
- func (policy *SPolicy) Delete() error
- func (policy *SPolicy) GetDescription() string
- func (policy *SPolicy) GetDocument() (*jsonutils.JSONDict, error)
- func (policy *SPolicy) GetGlobalId() string
- func (policy *SPolicy) GetName() string
- func (policy *SPolicy) UpdateDocument(document *jsonutils.JSONDict) error
- type SPolicyDetails
- type SPolicyDocument
- type SPrivateIp
- type SPrivateIpSets
- type SProject
- func (self *SProject) GetGlobalId() string
- func (self *SProject) GetId() string
- func (self *SProject) GetName() string
- func (self *SProject) GetStatus() string
- func (self *SProject) GetSysTags() map[string]string
- func (self *SProject) GetTags() (map[string]string, error)
- func (self *SProject) SetTags(tags map[string]string, replace bool) error
- type SQuota
- type SReadOnlyDBInstanceIds
- type SRegion
- func (region *SRegion) AddAccessControlListEntry(aclId string, entrys []cloudprovider.SLoadbalancerAccessControlListEntry) error
- func (region *SRegion) AddBackendServer(loadbalancerId, serverId string, weight, port int) error
- func (region *SRegion) AddBackendVServer(loadbalancerId, backendGroupId, serverId string, weight, port int) error
- func (self *SRegion) AddSecurityGroupRules(secGrpId string, rule secrules.SecurityRule) error
- func (region *SRegion) AllocateEIP(bwMbps int, chargeType TInternetChargeType, projectId string) (*SEipAddress, error)
- func (self *SRegion) ApplySnapshotPolicyToDisks(snapshotPolicyId string, diskId string) error
- func (self *SRegion) AssignSecurityGroup(secgroupId, instanceId string) error
- func (region *SRegion) AssociateEip(eipId string, instanceId string) error
- func (region *SRegion) AssociateRouteTable(rtableId string, vswitchId string) error
- func (self *SRegion) AttachDisk(instanceId string, diskId string) error
- func (self *SRegion) AttachKeypair(instanceId string, name string) error
- func (region *SRegion) CancelImageImportTasks() error
- func (self *SRegion) CancelSnapshotPolicyToDisks(snapshotPolicyId string, diskId string) error
- func (self *SRegion) CancelTask(taskId string) error
- func (region *SRegion) ChangeDBInstanceConfig(instanceId, payType string, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (self *SRegion) ChangeVMConfig(zoneId string, instanceId string, ncpu int, vmem int, disks []*SDisk) error
- func (self *SRegion) ChangeVMConfig2(zoneId string, instanceId string, instanceType string, disks []*SDisk) error
- func (region *SRegion) ClosePublicConnection(instanceId string) error
- func (region *SRegion) ConvertPublicIpToEip(instanceId string) error
- func (region *SRegion) CreateDBInstanceAccount(instanceId string, name string, password string, desc string) error
- func (region *SRegion) CreateDBInstanceDatabae(instanceId, characterSet, dbName, desc string) error
- func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, desc string, ...) (string, error)
- func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (region *SRegion) CreateForwardTableEntry(rule cloudprovider.SNatDRule, tableID string) (string, error)
- func (self *SRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error
- func (region *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
- func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateImage(snapshoutId, imageName, imageDesc string) (string, error)
- func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, ...) (string, error)
- func (self *SRegion) CreateInstanceSimple(name string, imgId string, cpu int, memGB int, storageType string, ...) (*SInstance, error)
- func (region *SRegion) CreateLoadbalancerBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerBackendGroup, error)
- func (region *SRegion) CreateLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerListenerRule(listenerPort int, loadbalancerId string, _rule *SLoadbalancerListenerRule) (*SLoadbalancerListenerRule, error)
- func (region *SRegion) CreateLoadbalancerMasterSlaveBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) CreateLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateSNATTableEntry(rule cloudprovider.SNatSRule, tableID string) (string, error)
- func (self *SRegion) CreateSecurityGroup(vpcId string, name string, desc string) (string, error)
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (string, error)
- func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
- func (region *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) DelSecurityGroupRule(secGrpId string, rule secrules.SecurityRule) error
- func (region *SRegion) DeleteDBInstance(instanceId string) error
- func (region *SRegion) DeleteDBInstanceAccount(instanceId string, accountName string) error
- func (region *SRegion) DeleteDBInstanceBackup(instanceId string, backupId string) error
- func (region *SRegion) DeleteDBInstanceDatabase(instanceId string, dbName string) error
- func (self *SRegion) DeleteDisk(diskId string) error
- func (region *SRegion) DeleteForwardTableEntry(tableId string, entryId string) error
- func (self *SRegion) DeleteIBucket(name string) error
- func (self *SRegion) DeleteImage(imageId string) error
- func (region *SRegion) DeleteLoadBalancerBackendGroup(groupId string) error
- func (region *SRegion) DeleteLoadbalancerListener(loadbalancerId string, listenerPort int) error
- func (region *SRegion) DeleteLoadbalancerListenerRule(ruleId string) error
- func (region *SRegion) DeleteLoadbalancerMasterSlaveBackendgroup(groupId string) error
- func (self *SRegion) DeleteSecurityGroup(secGrpId string) error
- func (region *SRegion) DeleteServerCertificate(certId string) error
- func (self *SRegion) DeleteSnapshot(snapshotId string) error
- func (self *SRegion) DeleteSnapshotPolicy(snapshotPolicyId string) error
- func (region *SRegion) DeleteSnatEntry(tableId string, entryId string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVSwitch(vswitchId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (self *SRegion) DeployVM(instanceId string, name string, password string, keypairName string, ...) error
- func (self *SRegion) DetachDisk(instanceId string, diskId string) error
- func (self *SRegion) DetachKeyPair(instanceId string, name string) error
- func (region *SRegion) DissociateEip(eipId string, instanceId string) error
- func (self *SRegion) ExportImage(imageId string, bucketName string) (*ImageExportTask, error)
- func (region *SRegion) GetAccountAttributes() ([]SAccountAttributeItem, error)
- func (region *SRegion) GetAllDTables(tableId string) ([]SForwardTableEntry, error)
- func (self *SRegion) GetBucket(name string) (*SBucket, error)
- func (self *SRegion) GetBucketAcl(bucket string) string
- func (self *SRegion) GetBucketCapacity(bucket string, department int) (int64, error)
- func (self *SRegion) GetBucketSize(bucket string, department int) (int64, error)
- func (self *SRegion) GetBuckets() ([]SBucket, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetClient() *SApsaraClient
- func (self *SRegion) GetCloudEnv() string
- func (region *SRegion) GetDBInstanceAccounts(instanceId string, offset int, limit int) ([]SDBInstanceAccount, int, error)
- func (region *SRegion) GetDBInstanceBackupJobs(instanceId, jobId string) (*SDBInstanceBackupJobs, error)
- func (region *SRegion) GetDBInstanceBackups(instanceId, backupId string, offset int, limit int) ([]SDBInstanceBackup, int, error)
- func (region *SRegion) GetDBInstanceDatabases(instanceId, dbName string, offset int, limit int) ([]SDBInstanceDatabase, int, error)
- func (region *SRegion) GetDBInstanceDetail(instanceId string) (*SDBInstance, error)
- func (region *SRegion) GetDBInstanceNetInfo(instanceId string) ([]SDBInstanceNetwork, error)
- func (region *SRegion) GetDBInstanceParameters(instanceId string) ([]SDBInstanceParameter, error)
- func (region *SRegion) GetDBInstances(ids []string, offset int, limit int) ([]SDBInstance, int, error)
- func (self *SRegion) GetDisks(instanceId string, zoneId string, category string, diskIds []string, ...) ([]SDisk, int, error)
- func (region *SRegion) GetEip(eipId string) (*SEipAddress, error)
- func (region *SRegion) GetEips(eipId string, associatedId string, offset int, limit int) ([]SEipAddress, int, error)
- func (self *SRegion) GetElasticCacheAccountByName(instanceId string, accountName string) (*SElasticcacheAccount, error)
- func (self *SRegion) GetElasticCacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
- func (self *SRegion) GetElasticCacheAcls(instanceId string) ([]SElasticcacheAcl, error)
- func (self *SRegion) GetElasticCacheBackups(instanceId, startTime, endTime string) ([]SElasticcacheBackup, error)
- func (self *SRegion) GetElasticCacheById(instanceId string) (*SElasticcache, error)
- func (self *SRegion) GetElasticCacheParameters(instanceId string) ([]SElasticcacheParameter, error)
- func (self *SRegion) GetElasticCaches(instanceIds []string) ([]SElasticcache, error)
- func (region *SRegion) GetForwardTableEntries(tableId string, offset int, limit int) ([]SForwardTableEntry, int, error)
- func (region *SRegion) GetForwardTableEntry(tableID, forwardEntryID string) (SForwardTableEntry, error)
- func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
- func (self *SRegion) GetGlobalId() string
- func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
- func (self *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
- func (self *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
- func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, 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 (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 (region *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (region *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
- func (self *SRegion) GetIPv6Gateway(id string) (*SIPv6Gateway, error)
- func (self *SRegion) GetIPv6Gateways(vpcId string, pageNumber, pageSize int) ([]SIPv6Gateway, int, error)
- func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (region *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISkus() ([]cloudprovider.ICloudSku, error)
- func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (region *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (region *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) GetImageStatus(imageId string) (ImageStatusType, error)
- func (self *SRegion) GetImages(status ImageStatusType, owner ImageOwnerType, imageId []string, name string, ...) ([]SImage, int, error)
- func (self *SRegion) GetImagesBySnapshot(snapshotId string, offset int, limit int) ([]SImage, int, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (region *SRegion) GetInstanceAutoRenewAttribute(instanceId string) (*SAutoRenewAttr, error)
- func (self *SRegion) GetInstanceStatus(instanceId string) (string, error)
- func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
- func (self *SRegion) GetInstanceVNCUrl(instanceId string) (string, error)
- func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit int) ([]SInstance, int, error)
- func (self *SRegion) GetKeypairs(finger string, name string, offset int, limit int) ([]SKeypair, int, error)
- func (region *SRegion) GetLoadBalancerAcls() ([]SLoadbalancerAcl, error)
- func (region *SRegion) GetLoadbalancerAclDetail(aclId string) (*SLoadbalancerAcl, error)
- func (region *SRegion) GetLoadbalancerBackendgroupById(groupId string) (*SLoadbalancerBackendGroup, error)
- func (region *SRegion) GetLoadbalancerBackendgroups(loadbalancerId string) ([]SLoadbalancerBackendGroup, error)
- func (region *SRegion) GetLoadbalancerBackends(backendgroupId string) ([]SLoadbalancerBackend, error)
- func (region *SRegion) GetLoadbalancerDetail(loadbalancerId string) (*SLoadbalancer, error)
- func (region *SRegion) GetLoadbalancerHTTPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPListener, error)
- func (region *SRegion) GetLoadbalancerHTTPSListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPSListener, error)
- func (region *SRegion) GetLoadbalancerListenerRule(ruleId string) (*SLoadbalancerListenerRule, error)
- func (region *SRegion) GetLoadbalancerListenerRules(loadbalancerId string, listenerPort int) ([]SLoadbalancerListenerRule, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroupById(groupId string) (*SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroups(loadbalancerId string) ([]SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackends(backendgroupId string) ([]SLoadbalancerMasterSlaveBackend, error)
- func (region *SRegion) GetLoadbalancerServerCertificates() ([]SLoadbalancerServerCertificate, error)
- func (region *SRegion) GetLoadbalancerTCPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerTCPListener, error)
- func (region *SRegion) GetLoadbalancerUDPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerUDPListener, error)
- func (region *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
- func (self *SRegion) GetMatchInstanceTypes(cpu int, memMB int, gpu int, zoneId string) ([]SInstanceType, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetNatGateways(vpcId string, natGwId string, offset, limit int) ([]SNatGetway, int, error)
- func (region *SRegion) GetNetworkInterfaces(instanceId string, offset int, limit int) ([]SNetworkInterface, int, error)
- func (self *SRegion) GetOssClient() (*oss.Client, error)
- func (self *SRegion) GetProvider() string
- func (region *SRegion) GetQuotas() ([]SQuota, error)
- func (self *SRegion) GetRouteTables(ids []string, offset int, limit int) ([]SRouteTable, int, error)
- func (self *SRegion) GetSNATEntries(tableId string, offset, limit int) ([]SSNATTableEntry, int, error)
- func (self *SRegion) GetSNATEntry(tableID, SNATEntryID string) (SSNATTableEntry, error)
- func (self *SRegion) GetSecurityGroupDetails(secGroupId string) (*SSecurityGroup, error)
- func (self *SRegion) GetSecurityGroups(vpcId, name string, securityGroupIds []string, offset int, limit int) ([]SSecurityGroup, int, error)
- func (self *SRegion) GetSnapshotPolicies(policyId string, offset int, limit int) ([]SSnapshotPolicy, int, error)
- func (self *SRegion) GetSnapshots(instanceId string, diskId string, snapshotName string, snapshotIds []string, ...) ([]SSnapshot, int, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetTablestoreInstances(pageSize, pageNumber int) ([]STablestore, int, error)
- func (self *SRegion) GetTask(taskId string) (*STaskDetail, error)
- func (self *SRegion) GetTaskStatus(action TaskActionType, taskId string) (TaskStatusType, error)
- func (self *SRegion) GetTasks(action TaskActionType, taskId []string, taskStatus TaskStatusType, offset int, ...) ([]STask, int, error)
- func (self *SRegion) GetVRouters(offset int, limit int) ([]SVRouter, int, error)
- func (self *SRegion) GetVSwitchAttributes(idstr string) (*SVSwitch, error)
- func (self *SRegion) GetVSwitches(ids []string, vpcId string, offset int, limit int) ([]SVSwitch, int, error)
- func (self *SRegion) GetVpcs(vpcId []string, offset int, limit int) ([]SVpc, int, error)
- func (region *SRegion) GrantDBInstancePrivilege(instanceId, account, database, privilege string) error
- func (self *SRegion) IBucketExist(name string) (bool, error)
- func (self *SRegion) ImportImage(name string, osArch string, osType string, osDist string, bucket string, ...) (*ImageImportTask, error)
- func (self *SRegion) ImportKeypair(name string, pubKey string) (*SKeypair, error)
- func (self *SRegion) IsEmulated() bool
- func (self *SRegion) ListResourceTags(serviceType string, resourceType string, resIds []string) (map[string]*map[string]string, error)
- func (self *SRegion) ModifyInstanceVNCUrlPassword(instanceId string, passwd string) error
- func (region *SRegion) OpenPublicConnection(instanceId string) error
- func (region *SRegion) RebootDBInstance(instanceId string) error
- func (region *SRegion) RecoveryDBInstanceFromBackup(srcId, destId string, backupId string, databases map[string]string) error
- func (self *SRegion) Refresh() error
- func (region *SRegion) RemoveAccessControlListEntry(aclId string, data jsonutils.JSONObject) error
- func (region *SRegion) RemoveBackendServer(loadbalancerId, serverId string) error
- func (region *SRegion) RemoveBackendVServer(loadbalancerId, backendgroupId, serverId string, port int) error
- func (region *SRegion) RenewDBInstance(instanceId string, bc billing.SBillingCycle) error
- func (region *SRegion) RenewInstance(instanceId string, bc billing.SBillingCycle) error
- func (self *SRegion) ReplaceSystemDisk(instanceId string, imageId string, passwd string, keypairName string, ...) (string, error)
- func (region *SRegion) ResetDBInstanceAccountPassword(instanceId, account, password, accountType string) error
- func (region *SRegion) RevokeDBInstancePrivilege(instanceId, account, database string) error
- func (region *SRegion) SetInstanceAutoRenew(instanceId string, autoRenew bool) error
- func (self *SRegion) SetResourceTags(serviceType string, resourceType string, resIds []string, ...) error
- func (self *SRegion) SetSecurityGroups(secgroupIds []string, instanceId string) error
- func (self *SRegion) SnapshotPreDelete(snapshotId string) error
- func (self *SRegion) StartVM(instanceId string) error
- func (self *SRegion) StopVM(instanceId string, isForce bool) error
- func (region *SRegion) SyncLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
- func (region *SRegion) SyncLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
- func (region *SRegion) SyncLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
- func (region *SRegion) SyncLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
- func (self *SRegion) TagResources(serviceType string, resourceType string, resIds []string, ...) error
- func (region *SRegion) UnassociateRouteTable(rtableId string, vswitchId string) error
- func (self *SRegion) UntagResources(serviceType string, resourceType string, resIds []string, tags []string) error
- func (region *SRegion) UpdateAclName(aclId, name string) error
- func (region *SRegion) UpdateEipBandwidth(eipId string, bw int) error
- func (self *SRegion) UpdateInstancePassword(instId string, passwd string) error
- func (region *SRegion) UpdateLoadBalancerBackendGroupName(name, groupId string) error
- func (region *SRegion) UpdateServerCertificateName(certId, name string) error
- func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error
- func (self *SRegion) UpdateVM(instanceId string, name string) error
- type SResourceCreation
- type SResourceGroup
- func (self *SResourceGroup) GetDomainId() string
- func (self *SResourceGroup) GetDomainName() string
- func (self *SResourceGroup) GetGlobalId() string
- func (self *SResourceGroup) GetId() string
- func (self *SResourceGroup) GetName() string
- func (self *SResourceGroup) GetStatus() string
- func (self *SResourceGroup) Refresh() error
- type SResourceGroupList
- type SResources
- type SResourcesInfo
- type SRole
- type SRoles
- type SRouteEntry
- func (route *SRouteEntry) GetCidr() string
- func (route *SRouteEntry) GetGlobalId() string
- func (route *SRouteEntry) GetId() string
- func (route *SRouteEntry) GetName() string
- func (route *SRouteEntry) GetNextHop() string
- func (route *SRouteEntry) GetNextHopType() string
- func (route *SRouteEntry) GetStatus() string
- func (route *SRouteEntry) GetType() string
- func (route *SRouteEntry) IsEmulated() bool
- func (route *SRouteEntry) Refresh() error
- type SRouteEntrys
- type SRouteTable
- 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) IsEmulated() bool
- func (routeTable *SRouteTable) IsSystem() bool
- func (self *SRouteTable) Refresh() error
- func (self *SRouteTable) RemoteGetRoutes(offset int, limit int) ([]*SRouteEntry, int, error)
- func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
- type SRouteTableIds
- type SRouteTableVSwitchIds
- type SSNATTableEntry
- func (stable *SSNATTableEntry) Delete() error
- func (stable *SSNATTableEntry) GetGlobalId() string
- func (stable *SSNATTableEntry) GetIP() string
- func (stable *SSNATTableEntry) GetId() string
- func (stable *SSNATTableEntry) GetName() string
- func (stable *SSNATTableEntry) GetNetworkId() string
- func (stable *SSNATTableEntry) GetSourceCIDR() string
- func (stable *SSNATTableEntry) GetStatus() string
- func (stable *SSNATTableEntry) Refresh() error
- type SSecurityGroup
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetCreatedAt() time.Time
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetTags() (map[string]string, error)
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) IsEmulated() bool
- func (self *SSecurityGroup) Refresh() error
- func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
- type SSecurityGroupIds
- type SSecurityIPGroups
- type SSnapshot
- func (self *SSnapshot) Delete() error
- func (self *SSnapshot) GetDiskId() string
- func (self *SSnapshot) GetDiskType() string
- func (self *SSnapshot) GetGlobalId() string
- func (self *SSnapshot) GetId() string
- func (self *SSnapshot) GetName() string
- func (self *SSnapshot) GetSizeMb() int32
- func (self *SSnapshot) GetStatus() string
- func (self *SSnapshot) IsEmulated() bool
- func (self *SSnapshot) Refresh() error
- type SSnapshotPolicy
- func (self *SSnapshotPolicy) Delete() error
- func (self *SSnapshotPolicy) GetGlobalId() string
- func (self *SSnapshotPolicy) GetId() string
- func (self *SSnapshotPolicy) GetName() string
- func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)
- func (self *SSnapshotPolicy) GetRetentionDays() int
- func (self *SSnapshotPolicy) GetStatus() string
- func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)
- func (self *SSnapshotPolicy) IsActivated() bool
- func (self *SSnapshotPolicy) IsEmulated() bool
- func (self *SSnapshotPolicy) Refresh() error
- type SSnapshotPolicyType
- type SSnatTableIds
- type SStatement
- type SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsEmulated() bool
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStoragecache
- func (self *SStoragecache) CreateIImage(snapshoutId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, ...) (string, error)
- type SSupportedDataDiskCategories
- type SSupportedInstanceGenerations
- type SSupportedInstanceTypeFamilies
- type SSupportedInstanceTypes
- type SSupportedNetworkTypes
- type SSupportedSystemDiskCategories
- type STablestore
- type STagResource
- type STags
- type STask
- type STaskDetail
- type STaskError
- type SUser
- func (user *SUser) AttachCustomPolicy(policyName string) error
- func (user *SUser) AttachSystemPolicy(policyName string) error
- func (user *SUser) Delete() error
- func (user *SUser) DetachCustomPolicy(policyName string) error
- func (user *SUser) DetachSystemPolicy(policyName string) error
- func (user *SUser) GetEmailAddr() string
- func (user *SUser) GetGlobalId() string
- func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetInviteUrl() string
- func (user *SUser) GetName() string
- func (user *SUser) IsConsoleLogin() bool
- func (user *SUser) ResetPassword(password string) error
- func (user *SUser) UpdatePassword(password string) error
- type SUserCIDRs
- type SUsers
- type SVRouter
- type SVSwitch
- func (self *SVSwitch) Delete() error
- func (self *SVSwitch) GetAllocTimeoutSeconds() int
- func (self *SVSwitch) GetCreatedAt() time.Time
- func (self *SVSwitch) GetGateway() string
- func (self *SVSwitch) GetGlobalId() string
- func (self *SVSwitch) GetIWire() cloudprovider.ICloudWire
- func (self *SVSwitch) GetId() string
- func (self *SVSwitch) GetIpEnd() string
- func (self *SVSwitch) GetIpMask() int8
- func (self *SVSwitch) GetIpStart() string
- func (self *SVSwitch) GetIsPublic() bool
- func (self *SVSwitch) GetName() string
- func (self *SVSwitch) GetPublicScope() rbacutils.TRbacScope
- func (self *SVSwitch) GetServerType() string
- func (self *SVSwitch) GetStatus() string
- func (self *SVSwitch) Refresh() error
- type SVSwitchIds
- type SVolumeCategories
- type SVpc
- func (self *SVpc) Delete() error
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetCreatedAt() time.Time
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetICloudIPv6Gateways() ([]cloudprovider.ICloudIPv6Gateway, 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) GetSysTags() map[string]string
- func (self *SVpc) IsEmulated() bool
- func (self *SVpc) Refresh() error
- func (self *SVpc) RemoteGetRouteTableList(offset int, limit int) ([]*SRouteTable, int, error)
- type SVpcAttributes
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- func (self *SWire) Refresh() error
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
- func (self *SZone) IsEmulated() bool
- func (self *SZone) Refresh() error
- type SecurityGroupPermissionNicType
- type SnapshotStatusType
- type SpotStrategyType
- type SsecurityIPGroup
- type SubjectAlternativeNames
- type TChargeType
- type TInternetChargeType
- type Tag
- type Tags
- type TaskActionType
- type TaskStatusType
- type ValueItem
Constants ¶
const ( CLOUD_PROVIDER_APSARA = api.CLOUD_PROVIDER_APSARA CLOUD_PROVIDER_APSARA_CN = "阿里云专有云" CLOUD_PROVIDER_APSARA_EN = "Aliyun Apsara" APSARA_API_VERSION = "2014-05-26" APSARA_API_VERSION_VPC = "2016-04-28" APSARA_API_VERSION_LB = "2014-05-15" APSARA_API_VERSION_KVS = "2015-01-01" APSARA_API_VERSION_TRIAL = "2017-12-04" APSARA_BSS_API_VERSION = "2017-12-14" APSARA_RAM_API_VERSION = "2015-05-01" APSARA_API_VERION_RDS = "2014-08-15" APSARA_ASCM_API_VERSION = "2019-05-10" APSARA_STS_API_VERSION = "2015-04-01" APSARA_OTS_API_VERSION = "2016-06-20" APSARA_PRODUCT_METRICS = "Cms" APSARA_PRODUCT_RDS = "Rds" APSARA_PRODUCT_VPC = "Vpc" APSARA_PRODUCT_KVSTORE = "R-kvstore" APSARA_PRODUCT_SLB = "Slb" APSARA_PRODUCT_ECS = "Ecs" APSARA_PRODUCT_ACTION_TRIAL = "actiontrail" APSARA_PRODUCT_STS = "Sts" APSARA_PRODUCT_RAM = "Ram" APSARA_PRODUCT_ASCM = "ascm" APSARA_PRODUCT_OTS = "ots" )
const ( InternetChargeByTraffic = TInternetChargeType("PayByTraffic") InternetChargeByBandwidth = TInternetChargeType("PayByBandwidth") )
const ( EIP_STATUS_ASSOCIATING = "Associating" EIP_STATUS_UNASSOCIATING = "Unassociating" EIP_STATUS_INUSE = "InUse" EIP_STATUS_AVAILABLE = "Available" EIP_OPERATION_LOCK_FINANCIAL = "financial" EIP_OPERATION_LOCK_SECURITY = "security" EIP_INSTANCE_TYPE_ECS = "EcsInstance" // (默认值):VPC类型的ECS实例 EIP_INTANNCE_TYPE_SLB = "SlbInstance" // :VPC类型的SLB实例 EIP_INSTANCE_TYPE_NAT = "Nat" // :NAT网关 EIP_INSTANCE_TYPE_HAVIP = "HaVip" // :HAVIP )
const ( InstanceStatusStopped = "Stopped" InstanceStatusRunning = "Running" InstanceStatusStopping = "Stopping" InstanceStatusStarting = "Starting" )
const ( POLICY_TYPE_SYSTEM = "System" POLICY_TYPE_CUSTOM = "Custom" )
const ( ApsaraECSImageImportRole = "ApsaraECSImageImportDefaultRole" ApsaraECSImageImportRoleDocument = `` /* 143-byte string literal not displayed */ ApsaraECSImageImportRolePolicyType = "System" ApsaraECSImageImportRolePolicy = "ApsaraECSImageImportRolePolicy" ApsaraECSImageImportRolePolicyDocument = `` /* 133-byte string literal not displayed */ )
const ( ApsaraECSImageExportRole = "ApsaraECSImageExportDefaultRole" ApsaraECSImageExportRoleDocument = `` /* 214-byte string literal not displayed */ ApsaraEmptyRoleDocument = `` /* 214-byte string literal not displayed */ ApsaraECSImageExportRolePolicyType = "System" ApsaraECSImageExportRolePolicy = "ApsaraECSImageExportRolePolicy" ApsaraECSImageExportRolePolicyDocument = `` /* 352-byte string literal not displayed */ )
const ( SnapshotStatusAccomplished SnapshotStatusType = "accomplished" SnapshotStatusProgress SnapshotStatusType = "progressing" SnapshotStatusFailed SnapshotStatusType = "failed" SnapshotTypeSystem string = "System" SnapshotTypeData string = "Data" )
const ( ImportImageTask = TaskActionType("ImportImage") ExportImageTask = TaskActionType("ExportImage") // Finished:已完成 // Processing:运行中 // Waiting:多任务排队中 // Deleted:已取消 // Paused:暂停 // Failed:失败 TaskStatusFinished = TaskStatusType("Finished") TaskStatusProcessing = TaskStatusType("Processing") TaskStatusWaiting = TaskStatusType("Waiting") TaskStatusDeleted = TaskStatusType("Deleted") TaskStatusPaused = TaskStatusType("Paused") TaskStatusFailed = TaskStatusType("Failed") )
const ( VpcAvailable = "Available" VpcPending = "Pending" )
const ( VSwitchPending = "Pending" VSwitchAvailable = "Available" )
const (
APSARA_API_VERSION_METRICS = "2019-01-01"
)
const (
OSS_META_HEADER = "x-oss-meta-"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApsaraClientConfig ¶
type ApsaraClientConfig struct {
// contains filtered or unexported fields
}
func NewApsaraClientConfig ¶
func NewApsaraClientConfig(accessKey, accessSecret string, endpoint string) *ApsaraClientConfig
func (*ApsaraClientConfig) CloudproviderConfig ¶
func (cfg *ApsaraClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *ApsaraClientConfig
func (ApsaraClientConfig) Copy ¶
func (cfg ApsaraClientConfig) Copy() ApsaraClientConfig
func (*ApsaraClientConfig) Debug ¶
func (cfg *ApsaraClientConfig) Debug(debug bool) *ApsaraClientConfig
type ApsaraTags ¶
type ApsaraTags struct { Tags struct { Tag []multicloud.STag } }
func (*ApsaraTags) GetSysTags ¶
func (self *ApsaraTags) GetSysTags() map[string]string
type AssociatedObjects ¶
type AttributeValues ¶
type AttributeValues struct {
ValueItem []ValueItem
}
type BackendServers ¶
type BackendServers struct {
BackendServer []SLoadbalancerDefaultBackend
}
type DatabasePrivilege ¶
type DatabasePrivilege struct {
AccountPrivilege string `json:"AccountPrivilege"`
}
type DatabasePrivileges ¶
type DatabasePrivileges struct {
DatabasePrivilege []DatabasePrivilege `json:"DatabasePrivilege"`
}
type DepartmentInfo ¶
type DepartmentInfo struct { Department string DepartmentName string ResourceGroup string ResourceGroupName string ResourceGroupId string }
func (DepartmentInfo) GetProjectId ¶
func (self DepartmentInfo) GetProjectId() string
type ImageExportTask ¶
type ImageImportTask ¶
type ImageOwnerType ¶
type ImageOwnerType string
const ( ImageOwnerSystem ImageOwnerType = "system" ImageOwnerSelf ImageOwnerType = "self" ImageOwnerOthers ImageOwnerType = "others" ImageOwnerMarketplace ImageOwnerType = "marketplace" )
type ImageStatusType ¶
type ImageStatusType string
const ( ImageStatusCreating ImageStatusType = "Creating" ImageStatusAvailable ImageStatusType = "Available" ImageStatusUnAvailable ImageStatusType = "UnAvailable" ImageStatusCreateFailed ImageStatusType = "CreateFailed" )
type ImageUsageType ¶
type ImageUsageType string
const ( ImageUsageInstance ImageUsageType = "instance" ImageUsageNone ImageUsageType = "none" )
type ListenerPortAndProtocol ¶
type ListenerPortAndProtocol struct { Description string ListenerPort int ListenerProtocol ListenerProtocol }
type ListenerPorts ¶
type ListenerPorts struct {
ListenerPort []int
}
type ListenerPortsAndProtocol ¶
type ListenerPortsAndProtocol struct {
ListenerPortAndProtocol []ListenerPortAndProtocol
}
type ListenerProtocol ¶
type ListenerProtocol string
const ( ListenerProtocolTCP ListenerProtocol = "tcp" ListenerProtocolUDP ListenerProtocol = "udp" ListenerProtocolHTTP ListenerProtocol = "http" ListenerProtocolHTTPS ListenerProtocol = "https" )
type MetricData ¶
type MetricData struct { Timestamp int64 BucketName string InstanceId string UserId string Value float64 Average float64 Minimum float64 Maximum float64 Diskname string Device string }
func (MetricData) GetTags ¶
func (d MetricData) GetTags() map[string]string
func (MetricData) GetValue ¶
func (d MetricData) GetValue() float64
type OssProgressListener ¶
type OssProgressListener struct { }
定义进度条监听器。
func (*OssProgressListener) ProgressChanged ¶
func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)
定义进度变更事件处理函数。
type ResourceGroupList ¶
type ResourceGroupList []SResourceGroupList
func (ResourceGroupList) ToProjects ¶
func (rgs ResourceGroupList) ToProjects(tags []string) []SProject
type SAccountAttributeItem ¶
type SAccountAttributeItem struct { AttributeValues AttributeValues AttributeName string }
type SApsaraClient ¶
type SApsaraClient struct { *ApsaraClientConfig // contains filtered or unexported fields }
func NewApsaraClient ¶
func NewApsaraClient(cfg *ApsaraClientConfig) (*SApsaraClient, error)
func (*SApsaraClient) AddUserToGroup ¶
func (self *SApsaraClient) AddUserToGroup(groupName, userName string) error
func (*SApsaraClient) AttachPolicy2Role ¶
func (self *SApsaraClient) AttachPolicy2Role(policyType string, policyName string, roleName string) error
func (*SApsaraClient) AttachPolicyToGroup ¶
func (self *SApsaraClient) AttachPolicyToGroup(policyType, policyName, groupName string) error
func (*SApsaraClient) AttachPolicyToUser ¶
func (self *SApsaraClient) AttachPolicyToUser(policyName, policyType, userName string) error
func (*SApsaraClient) CreateGroup ¶
func (self *SApsaraClient) CreateGroup(groupName, comments string) (*SGroup, error)
func (*SApsaraClient) CreateICloudgroup ¶
func (self *SApsaraClient) CreateICloudgroup(name string, desc string) (cloudprovider.ICloudgroup, error)
func (*SApsaraClient) CreateICloudpolicy ¶
func (self *SApsaraClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SApsaraClient) CreateIClouduser ¶
func (self *SApsaraClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SApsaraClient) CreateIProject ¶
func (self *SApsaraClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SApsaraClient) CreateLoginProfile ¶
func (self *SApsaraClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)
func (*SApsaraClient) CreatePolicy ¶
func (*SApsaraClient) CreatePolicyVersion ¶
func (self *SApsaraClient) CreatePolicyVersion(name, document string, isDefault bool) error
func (*SApsaraClient) CreateResourceGroup ¶
func (self *SApsaraClient) CreateResourceGroup(name string) (*SResourceGroup, error)
func (*SApsaraClient) CreateRole ¶
func (*SApsaraClient) CreateUser ¶
func (self *SApsaraClient) CreateUser(name, phone, email, comments string) (*SUser, error)
func (*SApsaraClient) DeleteClouduser ¶
func (self *SApsaraClient) DeleteClouduser(name string) error
func (*SApsaraClient) DeleteGroup ¶
func (self *SApsaraClient) DeleteGroup(groupName string) error
func (*SApsaraClient) DeleteLoginProfile ¶
func (self *SApsaraClient) DeleteLoginProfile(name string) error
func (*SApsaraClient) DeletePolicy ¶
func (self *SApsaraClient) DeletePolicy(policyType string, policyName string) error
func (*SApsaraClient) DeleteRole ¶
func (self *SApsaraClient) DeleteRole(roleName string) error
func (*SApsaraClient) DetachPolicyFromGroup ¶
func (self *SApsaraClient) DetachPolicyFromGroup(policyType, policyName, groupName string) error
func (*SApsaraClient) DetachPolicyFromRole ¶
func (self *SApsaraClient) DetachPolicyFromRole(policyType, policyName, roleName string) error
func (*SApsaraClient) DetachPolicyFromUser ¶
func (self *SApsaraClient) DetachPolicyFromUser(policyName, policyType, userName string) error
func (*SApsaraClient) EnableImageExport ¶
func (self *SApsaraClient) EnableImageExport() error
func (*SApsaraClient) EnableImageImport ¶
func (self *SApsaraClient) EnableImageImport() error
func (*SApsaraClient) GetAccountId ¶
func (self *SApsaraClient) GetAccountId() string
func (*SApsaraClient) GetCallerIdentity ¶
func (self *SApsaraClient) GetCallerIdentity() (*SCallerIdentity, error)
func (*SApsaraClient) GetCapabilities ¶
func (region *SApsaraClient) GetCapabilities() []string
func (*SApsaraClient) GetEcsMetrics ¶
func (self *SApsaraClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetElbMetrics ¶
func (self *SApsaraClient) GetElbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetGroup ¶
func (self *SApsaraClient) GetGroup(groupName string) (*SGroup, error)
func (*SApsaraClient) GetICloudgroupByName ¶
func (self *SApsaraClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SApsaraClient) GetICloudgroups ¶
func (self *SApsaraClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SApsaraClient) GetIClouduserByName ¶
func (self *SApsaraClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SApsaraClient) GetICloudusers ¶
func (self *SApsaraClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SApsaraClient) GetICustomCloudpolicies ¶
func (self *SApsaraClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SApsaraClient) GetIHostById ¶
func (self *SApsaraClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SApsaraClient) GetIProjects ¶
func (self *SApsaraClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SApsaraClient) GetIRegionById ¶
func (self *SApsaraClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SApsaraClient) GetIRegions ¶
func (self *SApsaraClient) GetIRegions() []cloudprovider.ICloudRegion
func (*SApsaraClient) GetIStorageById ¶
func (self *SApsaraClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SApsaraClient) GetISystemCloudpolicies ¶
func (self *SApsaraClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SApsaraClient) GetIVpcById ¶
func (self *SApsaraClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SApsaraClient) GetIamLoginUrl ¶
func (self *SApsaraClient) GetIamLoginUrl() string
func (*SApsaraClient) GetLoginProfile ¶
func (self *SApsaraClient) GetLoginProfile(name string) (*SLoginProfile, error)
func (*SApsaraClient) GetMetrics ¶
func (self *SApsaraClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetOrganizationList ¶
func (self *SApsaraClient) GetOrganizationList() ([]SOrganization, error)
func (*SApsaraClient) GetOrganizationTree ¶
func (self *SApsaraClient) GetOrganizationTree(id string) (*SOrganizationTree, error)
func (*SApsaraClient) GetOssMetrics ¶
func (self *SApsaraClient) GetOssMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetPolicy ¶
func (self *SApsaraClient) GetPolicy(policyType string, policyName string) (*SPolicyDetails, error)
func (*SApsaraClient) GetProvider ¶
func (self *SApsaraClient) GetProvider() string
func (*SApsaraClient) GetRdsMetrics ¶
func (self *SApsaraClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetRedisMetrics ¶
func (self *SApsaraClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SApsaraClient) GetRegion ¶
func (self *SApsaraClient) GetRegion(regionId string) *SRegion
func (*SApsaraClient) GetRegions ¶
func (self *SApsaraClient) GetRegions() []SRegion
func (*SApsaraClient) GetResourceGroup ¶
func (self *SApsaraClient) GetResourceGroup(id string) (*SResourceGroup, error)
func (*SApsaraClient) GetResourceGroups ¶
func (self *SApsaraClient) GetResourceGroups(pageNumber int, pageSize int) ([]SResourceGroup, int, error)
func (*SApsaraClient) GetSubAccounts ¶
func (self *SApsaraClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SApsaraClient) ListGroups ¶
func (self *SApsaraClient) ListGroups(offset string, limit int) (*SGroups, error)
func (*SApsaraClient) ListGroupsForUser ¶
func (self *SApsaraClient) ListGroupsForUser(user string) ([]SGroup, error)
https://help.apsara.com/document_detail/28707.html?spm=a2c4g.11186623.6.752.f4466bbfVy5j0s
func (*SApsaraClient) ListMetrics ¶
func (self *SApsaraClient) ListMetrics(ns, metricName string, start, end time.Time) ([]MetricData, error)
func (*SApsaraClient) ListPolicies ¶
func (self *SApsaraClient) ListPolicies(policyType string, offset string, limit int) (*SPolicies, error)
https://help.apsara.com/document_detail/28719.html?spm=a2c4g.11174283.6.764.27055662H6TGg5
func (*SApsaraClient) ListPoliciesForGroup ¶
func (self *SApsaraClient) ListPoliciesForGroup(groupName string) ([]SPolicy, error)
https://help.apsara.com/document_detail/28732.html?spm=a2c4g.11186623.6.777.580735b2m2xUh8
func (*SApsaraClient) ListPoliciesForRole ¶
func (self *SApsaraClient) ListPoliciesForRole(name string) ([]SPolicy, error)
func (*SApsaraClient) ListPoliciesForUser ¶
func (self *SApsaraClient) ListPoliciesForUser(user string) ([]SPolicy, error)
https://help.apsara.com/document_detail/28732.html?spm=a2c4g.11186623.6.777.580735b2m2xUh8
func (*SApsaraClient) ListRoles ¶
func (self *SApsaraClient) ListRoles(offset string, limit int) (*SRoles, error)
func (*SApsaraClient) ListUsers ¶
func (self *SApsaraClient) ListUsers(offset string, limit int) (*SUsers, error)
func (*SApsaraClient) ListUsersForGroup ¶
func (*SApsaraClient) RemoveUserFromGroup ¶
func (self *SApsaraClient) RemoveUserFromGroup(groupName, userName string) error
func (*SApsaraClient) ResetClouduserPassword ¶
func (self *SApsaraClient) ResetClouduserPassword(name, password string) error
func (*SApsaraClient) UpdateLoginProfile ¶
func (self *SApsaraClient) UpdateLoginProfile(name, password string) error
type SAutoRenewAttr ¶
type SBandwidthPackageIds ¶
type SBandwidthPackageIds struct {
BandwidthPackageId []string
}
type SBucket ¶
type SBucket struct { multicloud.SBaseBucket ApsaraTags Name string Location string CreationDate time.Time StorageClass string ExtranetEndpoint string IntranetEndpoint string DepartmentInfo // contains filtered or unexported fields }
func (*SBucket) AbortMultipartUpload ¶
func (*SBucket) CompleteMultipartUpload ¶
func (*SBucket) CopyObject ¶
func (*SBucket) DeleteObject ¶
func (*SBucket) GetAccessUrls ¶
func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
func (*SBucket) GetAcl ¶
func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
func (*SBucket) GetCreatedAt ¶
func (*SBucket) GetGlobalId ¶
func (*SBucket) GetIRegion ¶
func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
func (*SBucket) GetLimit ¶
func (b *SBucket) GetLimit() cloudprovider.SBucketStats
func (*SBucket) GetLocation ¶
func (*SBucket) GetObject ¶
func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
func (*SBucket) GetStats ¶
func (b *SBucket) GetStats() cloudprovider.SBucketStats
func (*SBucket) GetStorageClass ¶
func (*SBucket) GetTempUrl ¶
func (*SBucket) LimitSupport ¶
func (b *SBucket) LimitSupport() cloudprovider.SBucketStats
func (*SBucket) ListObjects ¶
func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
func (*SBucket) NewMultipartUpload ¶
func (*SBucket) SetAcl ¶
func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
type SCallerIdentity ¶
type SCloudResources ¶
type SCloudResources struct {
CloudResourceSetType []string
}
type SDBInstance ¶
type SDBInstance struct { multicloud.SDBInstanceBase ApsaraTags AccountMaxQuantity int AccountType string CanTempUpgrade bool Category string AvailabilityValue string DBInstanceDescription string DBInstanceId string ConnectionMode string ConnectionString string CurrentKernelVersion string DBInstanceCPU int CreateTime time.Time DBInstanceClass string DBInstanceClassType string DBInstanceNetType string DBInstanceStatus string DBInstanceType string DBInstanceDiskUsed int64 DBInstanceStorage int DBInstanceStorageType string MasterInstanceId string DBInstanceMemory int DBMaxQuantity int IPType string LatestKernelVersion string DispenseMode string Engine string EngineVersion string ExpireTime time.Time InstanceNetworkType string LockMode string LockReason string MutriORsignle bool MaintainTime string MaxConnections int MaxIOPS int Port int PayType TChargeType ReadOnlyDBInstanceIds SReadOnlyDBInstanceIds RegionId string VSwitchId string VpcCloudInstanceId string VpcId string ZoneId string Extra SDBInstanceExtra SecurityIPList string SecurityIPMode string SupportCreateSuperAccount string SupportUpgradeAccountType string TempUpgradeTimeEnd time.Time TempUpgradeTimeStart time.Time DepartmentInfo // contains filtered or unexported fields }
func (*SDBInstance) ChangeConfig ¶
func (rds *SDBInstance) ChangeConfig(cxt context.Context, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SDBInstance) ClosePublicConnection ¶
func (rds *SDBInstance) ClosePublicConnection() error
func (*SDBInstance) CreateAccount ¶
func (rds *SDBInstance) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*SDBInstance) CreateDatabase ¶
func (rds *SDBInstance) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error
func (*SDBInstance) CreateIBackup ¶
func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*SDBInstance) Delete ¶
func (rds *SDBInstance) Delete() error
func (*SDBInstance) GetBillingType ¶
func (rds *SDBInstance) GetBillingType() string
func (*SDBInstance) GetCategory ¶
func (rds *SDBInstance) GetCategory() string
func (*SDBInstance) GetConnectionStr ¶
func (rds *SDBInstance) GetConnectionStr() string
func (*SDBInstance) GetCreatedAt ¶
func (rds *SDBInstance) GetCreatedAt() time.Time
func (*SDBInstance) GetDBNetworks ¶
func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*SDBInstance) GetDiskSizeGB ¶
func (rds *SDBInstance) GetDiskSizeGB() int
func (*SDBInstance) GetDiskSizeUsedMB ¶
func (rds *SDBInstance) GetDiskSizeUsedMB() int
func (*SDBInstance) GetEngine ¶
func (rds *SDBInstance) GetEngine() string
func (*SDBInstance) GetEngineVersion ¶
func (rds *SDBInstance) GetEngineVersion() string
func (*SDBInstance) GetExpiredAt ¶
func (rds *SDBInstance) GetExpiredAt() time.Time
func (*SDBInstance) GetGlobalId ¶
func (rds *SDBInstance) GetGlobalId() string
func (*SDBInstance) GetIDBInstanceAccounts ¶
func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SDBInstance) GetIDBInstanceBackups ¶
func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SDBInstance) GetIDBInstanceDatabases ¶
func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SDBInstance) GetIDBInstanceParameters ¶
func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*SDBInstance) GetIVpcId ¶
func (rds *SDBInstance) GetIVpcId() string
func (*SDBInstance) GetId ¶
func (rds *SDBInstance) GetId() string
func (*SDBInstance) GetInstanceType ¶
func (rds *SDBInstance) GetInstanceType() string
func (*SDBInstance) GetInternalConnectionStr ¶
func (rds *SDBInstance) GetInternalConnectionStr() string
func (*SDBInstance) GetIops ¶
func (rds *SDBInstance) GetIops() int
func (*SDBInstance) GetMaintainTime ¶
func (rds *SDBInstance) GetMaintainTime() string
func (*SDBInstance) GetMasterInstanceId ¶
func (rds *SDBInstance) GetMasterInstanceId() string
func (*SDBInstance) GetName ¶
func (rds *SDBInstance) GetName() string
func (*SDBInstance) GetPort ¶
func (rds *SDBInstance) GetPort() int
func (*SDBInstance) GetStatus ¶
func (rds *SDBInstance) GetStatus() string
Creating 创建中 Running 使用中 Deleting 删除中 Rebooting 重启中 DBInstanceClassChanging 升降级中 TRANSING 迁移中 EngineVersionUpgrading 迁移版本中 TransingToOthers 迁移数据到其他RDS中 GuardDBInstanceCreating 生产灾备实例中 Restoring 备份恢复中 Importing 数据导入中 ImportingFromOthers 从其他RDS实例导入数据中 DBInstanceNetTypeChanging 内外网切换中 GuardSwitching 容灾切换中 INS_CLONING 实例克隆中
func (*SDBInstance) GetStorageType ¶
func (rds *SDBInstance) GetStorageType() string
func (*SDBInstance) GetVcpuCount ¶
func (rds *SDBInstance) GetVcpuCount() int
func (*SDBInstance) GetVmemSizeMB ¶
func (rds *SDBInstance) GetVmemSizeMB() int
func (*SDBInstance) GetZone1Id ¶
func (rds *SDBInstance) GetZone1Id() string
func (*SDBInstance) GetZone2Id ¶
func (rds *SDBInstance) GetZone2Id() string
func (*SDBInstance) GetZone3Id ¶
func (rds *SDBInstance) GetZone3Id() string
func (*SDBInstance) OpenPublicConnection ¶
func (rds *SDBInstance) OpenPublicConnection() error
func (*SDBInstance) Reboot ¶
func (rds *SDBInstance) Reboot() error
func (*SDBInstance) RecoveryFromBackup ¶
func (rds *SDBInstance) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
func (*SDBInstance) Refresh ¶
func (rds *SDBInstance) Refresh() error
func (*SDBInstance) Renew ¶
func (rds *SDBInstance) Renew(bc billing.SBillingCycle) error
type SDBInstanceAccount ¶
type SDBInstanceAccount struct { multicloud.SDBInstanceAccountBase ApsaraTags AccountDescription string AccountName string AccountStatus string AccountType string DBInstanceId string DatabasePrivileges SDatabasePrivileges PrivExceeded string // contains filtered or unexported fields }
func (*SDBInstanceAccount) Delete ¶
func (account *SDBInstanceAccount) Delete() error
func (*SDBInstanceAccount) GetIDBInstanceAccountPrivileges ¶
func (account *SDBInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
func (*SDBInstanceAccount) GetName ¶
func (account *SDBInstanceAccount) GetName() string
func (*SDBInstanceAccount) GetStatus ¶
func (account *SDBInstanceAccount) GetStatus() string
func (*SDBInstanceAccount) GrantPrivilege ¶
func (account *SDBInstanceAccount) GrantPrivilege(database, privilege string) error
func (*SDBInstanceAccount) ResetPassword ¶
func (account *SDBInstanceAccount) ResetPassword(password string) error
func (*SDBInstanceAccount) RevokePrivilege ¶
func (account *SDBInstanceAccount) RevokePrivilege(database string) error
type SDBInstanceBackup ¶
type SDBInstanceBackup struct { multicloud.SDBInstanceBackupBase ApsaraTags BackupDBNames string BackupIntranetDownloadURL string BackupDownloadURL string BackupEndTime time.Time BackupId string BackupLocation string BackupMethod string BackupMode string BackupScale string BackupSize int BackupStartTime time.Time BackupStatus string BackupType string DBInstanceId string HostInstanceID int MetaStatus string StoreStatus string // contains filtered or unexported fields }
func (*SDBInstanceBackup) Delete ¶
func (backup *SDBInstanceBackup) Delete() error
func (*SDBInstanceBackup) GetBackupMode ¶
func (backup *SDBInstanceBackup) GetBackupMode() string
func (*SDBInstanceBackup) GetBackupSizeMb ¶
func (backup *SDBInstanceBackup) GetBackupSizeMb() int
func (*SDBInstanceBackup) GetDBInstanceId ¶
func (backup *SDBInstanceBackup) GetDBInstanceId() string
func (*SDBInstanceBackup) GetDBNames ¶
func (backup *SDBInstanceBackup) GetDBNames() string
func (*SDBInstanceBackup) GetEndTime ¶
func (backup *SDBInstanceBackup) GetEndTime() time.Time
func (*SDBInstanceBackup) GetEngine ¶
func (backup *SDBInstanceBackup) GetEngine() string
func (*SDBInstanceBackup) GetEngineVersion ¶
func (backup *SDBInstanceBackup) GetEngineVersion() string
func (*SDBInstanceBackup) GetGlobalId ¶
func (backup *SDBInstanceBackup) GetGlobalId() string
func (*SDBInstanceBackup) GetId ¶
func (backup *SDBInstanceBackup) GetId() string
func (*SDBInstanceBackup) GetName ¶
func (backup *SDBInstanceBackup) GetName() string
func (*SDBInstanceBackup) GetStartTime ¶
func (backup *SDBInstanceBackup) GetStartTime() time.Time
func (*SDBInstanceBackup) GetStatus ¶
func (backup *SDBInstanceBackup) GetStatus() string
type SDBInstanceBackupJob ¶
type SDBInstanceBackupJobs ¶
type SDBInstanceBackupJobs struct {
BackupJob []SDBInstanceBackupJob
}
type SDBInstanceDatabase ¶
type SDBInstanceDatabase struct { multicloud.SDBInstanceDatabaseBase ApsaraTags CharacterSetName string DBDescription string DBInstanceId string DBName string DBStatus string Engine string // contains filtered or unexported fields }
func (*SDBInstanceDatabase) Delete ¶
func (database *SDBInstanceDatabase) Delete() error
func (*SDBInstanceDatabase) GetCharacterSet ¶
func (database *SDBInstanceDatabase) GetCharacterSet() string
func (*SDBInstanceDatabase) GetGlobalId ¶
func (database *SDBInstanceDatabase) GetGlobalId() string
func (*SDBInstanceDatabase) GetId ¶
func (database *SDBInstanceDatabase) GetId() string
func (*SDBInstanceDatabase) GetName ¶
func (database *SDBInstanceDatabase) GetName() string
func (*SDBInstanceDatabase) GetStatus ¶
func (database *SDBInstanceDatabase) GetStatus() string
type SDBInstanceExtra ¶
type SDBInstanceExtra struct {
DBInstanceId SDBInstanceId
}
type SDBInstanceId ¶
type SDBInstanceId struct {
DBInstanceId []string
}
type SDBInstanceNetwork ¶
type SDBInstanceNetwork struct { ConnectionString string ConnectionStringType string DBInstanceWeights SDBInstanceWeights IPAddress string IPType string Port int SecurityIPGroups SSecurityIPGroups Upgradeable string VPCId string VSwitchId string }
func (*SDBInstanceNetwork) GetGlobalId ¶
func (network *SDBInstanceNetwork) GetGlobalId() string
func (*SDBInstanceNetwork) GetINetworkId ¶
func (network *SDBInstanceNetwork) GetINetworkId() string
func (*SDBInstanceNetwork) GetIP ¶
func (network *SDBInstanceNetwork) GetIP() string
type SDBInstanceParameter ¶
type SDBInstanceParameter struct { ParameterDescription string ParameterValue string ParameterName string // contains filtered or unexported fields }
func (*SDBInstanceParameter) GetDescription ¶
func (param *SDBInstanceParameter) GetDescription() string
func (*SDBInstanceParameter) GetGlobalId ¶
func (param *SDBInstanceParameter) GetGlobalId() string
func (*SDBInstanceParameter) GetKey ¶
func (param *SDBInstanceParameter) GetKey() string
func (*SDBInstanceParameter) GetValue ¶
func (param *SDBInstanceParameter) GetValue() string
type SDBInstanceWeight ¶
type SDBInstanceWeight struct { }
type SDBInstanceWeights ¶
type SDBInstanceWeights struct {
DBInstanceWeight []SDBInstanceWeight
}
type SDatabasePrivilege ¶
type SDatabasePrivilege struct { AccountPrivilege string AccountPrivilegeDetail string DBName string // contains filtered or unexported fields }
func (*SDatabasePrivilege) GetDBName ¶
func (privilege *SDatabasePrivilege) GetDBName() string
func (*SDatabasePrivilege) GetGlobalId ¶
func (privilege *SDatabasePrivilege) GetGlobalId() string
func (*SDatabasePrivilege) GetPrivilege ¶
func (privilege *SDatabasePrivilege) GetPrivilege() string
type SDatabasePrivileges ¶
type SDatabasePrivileges struct {
DatabasePrivilege []SDatabasePrivilege
}
type SDedicatedHostAttribute ¶
type SDedicatedHostGenerations ¶
type SDedicatedHostGenerations struct {
DedicatedHostGeneration []string
}
type SDedicatedHostTypes ¶
type SDedicatedHostTypes struct {
DedicatedHostType []string
}
type SDefaultPolicyVersion ¶
type SDisk ¶
type SDisk struct { multicloud.SResourceBase ApsaraTags multicloud.SDisk AttachedTime time.Time AutoSnapshotPolicyId string Category string PerformanceLevel string CreationTime time.Time DeleteAutoSnapshot bool DeleteWithInstance bool Description string DetachedTime time.Time Device string DiskChargeType TChargeType DiskId string DiskName string EnableAutoSnapshot bool EnableAutomatedSnapshotPolicy bool Encrypted bool ExpiredTime time.Time ImageId string InstanceId string MountInstances SMountInstances OperationLocks SOperationLocks Portable bool ProductCode string RegionId string Size int SourceSnapshotId string Status string Tags STags Type string ZoneId string DepartmentInfo // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetAccessPath ¶
func (*SDisk) GetBillingType ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetCreatedAt ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetExpiredAt ¶
func (*SDisk) GetExtSnapshotPolicyIds ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshot ¶
func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetTemplateId ¶
func (*SDisk) IsEmulated ¶
func (*SDisk) ResizeDisk ¶
type SDiskCategories ¶
type SDiskCategories struct {
DiskCategories []string
}
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase ApsaraTags AllocationId string InternetChargeType TInternetChargeType IpAddress string Status string InstanceType string InstanceId string Bandwidth int /* Mbps */ AllocationTime time.Time OperationLocks string ChargeType TChargeType ExpiredTime time.Time DepartmentInfo // contains filtered or unexported fields }
func (*SEipAddress) Associate ¶
func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
func (*SEipAddress) ChangeBandwidth ¶
func (self *SEipAddress) ChangeBandwidth(bw int) error
func (*SEipAddress) Delete ¶
func (self *SEipAddress) Delete() error
func (*SEipAddress) Dissociate ¶
func (self *SEipAddress) Dissociate() error
func (*SEipAddress) GetAssociationExternalId ¶
func (self *SEipAddress) GetAssociationExternalId() string
func (*SEipAddress) GetAssociationType ¶
func (self *SEipAddress) GetAssociationType() string
func (*SEipAddress) GetBandwidth ¶
func (self *SEipAddress) GetBandwidth() int
func (*SEipAddress) GetBillingType ¶
func (self *SEipAddress) GetBillingType() string
func (*SEipAddress) GetCreatedAt ¶
func (self *SEipAddress) GetCreatedAt() time.Time
func (*SEipAddress) GetExpiredAt ¶
func (self *SEipAddress) GetExpiredAt() time.Time
func (*SEipAddress) GetGlobalId ¶
func (self *SEipAddress) GetGlobalId() string
func (*SEipAddress) GetINetworkId ¶
func (self *SEipAddress) GetINetworkId() string
func (*SEipAddress) GetId ¶
func (self *SEipAddress) GetId() string
func (*SEipAddress) GetInternetChargeType ¶
func (self *SEipAddress) GetInternetChargeType() string
func (*SEipAddress) GetIpAddr ¶
func (self *SEipAddress) GetIpAddr() string
func (*SEipAddress) GetMode ¶
func (self *SEipAddress) GetMode() string
func (*SEipAddress) GetName ¶
func (self *SEipAddress) GetName() string
func (*SEipAddress) GetStatus ¶
func (self *SEipAddress) GetStatus() string
func (*SEipAddress) IsEmulated ¶
func (self *SEipAddress) IsEmulated() bool
func (*SEipAddress) Refresh ¶
func (self *SEipAddress) Refresh() error
type SElasticcache ¶
type SElasticcache struct { multicloud.SElasticcacheBase multicloud.SBillingBase ApsaraTags Config string `json:"Config"` HasRenewChangeOrder bool `json:"HasRenewChangeOrder"` InstanceID string `json:"InstanceId"` UserName string `json:"UserName"` ArchitectureType string `json:"ArchitectureType"` ZoneID string `json:"ZoneId"` PrivateIP string `json:"PrivateIp"` VSwitchID string `json:"VSwitchId"` VpcID string `json:"VpcId"` NetworkType string `json:"NetworkType"` Qps int64 `json:"QPS"` PackageType string `json:"PackageType"` IsRDS bool `json:"IsRds"` EngineVersion string `json:"EngineVersion"` ConnectionDomain string `json:"ConnectionDomain"` InstanceName string `json:"InstanceName"` ReplacateID string `json:"ReplacateId"` Bandwidth int64 `json:"Bandwidth"` ChargeType TChargeType `json:"ChargeType"` InstanceType string `json:"InstanceType"` Tags Tags `json:"Tags"` InstanceStatus string `json:"InstanceStatus"` Port int `json:"Port"` InstanceClass string `json:"InstanceClass"` CreateTime time.Time `json:"CreateTime"` EndTime time.Time `json:"EndTime"` RegionID string `json:"RegionId"` NodeType string `json:"NodeType"` CapacityMB int `json:"Capacity"` Connections int64 `json:"Connections"` DepartmentInfo // contains filtered or unexported fields }
https://help.apsara.com/document_detail/60933.html?spm=a2c4g.11186623.6.726.38f82ca9U1Gtxw
func (*SElasticcache) AllocatePublicConnection ¶
func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
https://help.apsara.com/document_detail/125795.html?spm=a2c4g.11186623.6.719.51542b3593cDKO
func (*SElasticcache) ChangeInstanceSpec ¶
func (self *SElasticcache) ChangeInstanceSpec(spec string) error
https://help.apsara.com/document_detail/60903.html?spm=a2c4g.11186623.6.711.3f062c92aRJNfw
func (*SElasticcache) CreateAccount ¶
func (self *SElasticcache) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
https://help.apsara.com/document_detail/95973.html?spm=a2c4g.11186623.6.742.4698126aH0s4Q5
func (*SElasticcache) CreateAcl ¶
func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) CreateBackup ¶
func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
https://help.apsara.com/document_detail/61075.html?spm=a2c4g.11186623.6.749.4cba126a2U9xNa
func (*SElasticcache) Delete ¶
func (self *SElasticcache) Delete() error
https://help.apsara.com/document_detail/60898.html?spm=a2c4g.11186623.6.713.56ec1603KS0xA0
func (*SElasticcache) FlushInstance ¶
func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
https://help.apsara.com/document_detail/60931.html?spm=a2c4g.11186623.6.728.5c57292920UKx3
func (*SElasticcache) GetArchType ¶
func (self *SElasticcache) GetArchType() string
func (*SElasticcache) GetAttribute ¶
func (self *SElasticcache) GetAttribute() (*SElasticcacheAttribute, error)
func (*SElasticcache) GetAuthMode ¶
func (self *SElasticcache) GetAuthMode() string
func (*SElasticcache) GetBillingType ¶
func (self *SElasticcache) GetBillingType() string
func (*SElasticcache) GetCapacityMB ¶
func (self *SElasticcache) GetCapacityMB() int
func (*SElasticcache) GetCreatedAt ¶
func (self *SElasticcache) GetCreatedAt() time.Time
func (*SElasticcache) GetEngine ¶
func (self *SElasticcache) GetEngine() string
func (*SElasticcache) GetEngineVersion ¶
func (self *SElasticcache) GetEngineVersion() string
func (*SElasticcache) GetExpiredAt ¶
func (self *SElasticcache) GetExpiredAt() time.Time
func (*SElasticcache) GetGlobalId ¶
func (self *SElasticcache) GetGlobalId() string
func (*SElasticcache) GetICloudElasticcacheAccount ¶
func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) GetICloudElasticcacheAccountByName ¶
func (self *SElasticcache) GetICloudElasticcacheAccountByName(accountName string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) GetICloudElasticcacheAccounts ¶
func (self *SElasticcache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticcache) GetICloudElasticcacheAcl ¶
func (self *SElasticcache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) GetICloudElasticcacheAcls ¶
func (self *SElasticcache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) GetICloudElasticcacheBackup ¶
func (self *SElasticcache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) GetICloudElasticcacheBackups ¶
func (self *SElasticcache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticcache) GetICloudElasticcacheParameters ¶
func (self *SElasticcache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SElasticcache) GetId ¶
func (self *SElasticcache) GetId() string
func (*SElasticcache) GetInstanceType ¶
func (self *SElasticcache) GetInstanceType() string
func (*SElasticcache) GetMaintainEndTime ¶
func (self *SElasticcache) GetMaintainEndTime() string
func (*SElasticcache) GetMaintainStartTime ¶
func (self *SElasticcache) GetMaintainStartTime() string
func (*SElasticcache) GetName ¶
func (self *SElasticcache) GetName() string
func (*SElasticcache) GetNetInfo ¶
func (self *SElasticcache) GetNetInfo() ([]SNetInfo, error)
func (*SElasticcache) GetNetworkId ¶
func (self *SElasticcache) GetNetworkId() string
func (*SElasticcache) GetNetworkType ¶
func (self *SElasticcache) GetNetworkType() string
func (*SElasticcache) GetNodeType ¶
func (self *SElasticcache) GetNodeType() string
func (*SElasticcache) GetPrivateConnectPort ¶
func (self *SElasticcache) GetPrivateConnectPort() int
func (*SElasticcache) GetPrivateDNS ¶
func (self *SElasticcache) GetPrivateDNS() string
func (*SElasticcache) GetPrivateIpAddr ¶
func (self *SElasticcache) GetPrivateIpAddr() string
func (*SElasticcache) GetPublicConnectPort ¶
func (self *SElasticcache) GetPublicConnectPort() int
func (*SElasticcache) GetPublicDNS ¶
func (self *SElasticcache) GetPublicDNS() string
func (*SElasticcache) GetPublicIpAddr ¶
func (self *SElasticcache) GetPublicIpAddr() string
func (*SElasticcache) GetPublicNetInfo ¶
func (self *SElasticcache) GetPublicNetInfo() (*SNetInfo, error)
https://help.apsara.com/document_detail/66742.html?spm=a2c4g.11186623.6.731.54c123d2P02qhk
func (*SElasticcache) GetSecurityGroupIds ¶
func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
func (*SElasticcache) GetStatus ¶
func (self *SElasticcache) GetStatus() string
func (*SElasticcache) GetVpcId ¶
func (self *SElasticcache) GetVpcId() string
func (*SElasticcache) GetZoneId ¶
func (self *SElasticcache) GetZoneId() string
func (*SElasticcache) Refresh ¶
func (self *SElasticcache) Refresh() error
func (*SElasticcache) ReleasePublicConnection ¶
func (self *SElasticcache) ReleasePublicConnection() error
https://help.apsara.com/document_detail/125796.html?spm=a2c4g.11186623.6.720.702a3b23Qayopy
func (*SElasticcache) Renew ¶
func (self *SElasticcache) Renew(bc billing.SBillingCycle) error
func (*SElasticcache) Restart ¶
func (self *SElasticcache) Restart() error
https://help.apsara.com/document_detail/116215.html?spm=a2c4g.11174283.6.736.6b9ddce0c5nsw6
func (*SElasticcache) SetMaintainTime ¶
func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
https://help.apsara.com/document_detail/61000.html?spm=a2c4g.11186623.6.730.57d66cb0QlQS86
func (*SElasticcache) SetTags ¶
func (instance *SElasticcache) SetTags(tags map[string]string, replace bool) error
func (*SElasticcache) UpdateAuthMode ¶
func (self *SElasticcache) UpdateAuthMode(noPwdAccess bool, password string) error
func (*SElasticcache) UpdateBackupPolicy ¶
func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
https://help.apsara.com/document_detail/61077.html?spm=a2c4g.11186623.6.750.3d7630be7ziUfg
func (*SElasticcache) UpdateInstanceParameters ¶
func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
https://help.apsara.com/document_detail/61113.html?spm=a2c4g.11186623.6.770.16a61e7admr0xy
func (*SElasticcache) UpdateSecurityGroups ¶
func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
type SElasticcacheAccount ¶
type SElasticcacheAccount struct { multicloud.SElasticcacheAccountBase ApsaraTags AccountStatus string `json:"AccountStatus"` DatabasePrivileges DatabasePrivileges `json:"DatabasePrivileges"` InstanceID string `json:"InstanceId"` AccountName string `json:"AccountName"` PrivExceeded string `json:"PrivExceeded"` AccountType string `json:"AccountType"` // contains filtered or unexported fields }
https://help.apsara.com/document_detail/95802.html?spm=a2c4g.11186623.6.746.1d4b302ayCuzXB
func (*SElasticcacheAccount) Delete ¶
func (self *SElasticcacheAccount) Delete() error
https://help.apsara.com/document_detail/95988.html?spm=a2c4g.11186623.6.743.cb291c71D1Hlmu
func (*SElasticcacheAccount) GetAccountPrivilege ¶
func (self *SElasticcacheAccount) GetAccountPrivilege() string
func (*SElasticcacheAccount) GetAccountType ¶
func (self *SElasticcacheAccount) GetAccountType() string
func (*SElasticcacheAccount) GetGlobalId ¶
func (self *SElasticcacheAccount) GetGlobalId() string
func (*SElasticcacheAccount) GetId ¶
func (self *SElasticcacheAccount) GetId() string
func (*SElasticcacheAccount) GetName ¶
func (self *SElasticcacheAccount) GetName() string
func (*SElasticcacheAccount) GetStatus ¶
func (self *SElasticcacheAccount) GetStatus() string
func (*SElasticcacheAccount) GrantAccountPrivilege ¶
func (self *SElasticcacheAccount) GrantAccountPrivilege(privilege string) error
https://help.apsara.com/document_detail/95897.html?spm=a2c4g.11186623.6.745.28576cf9IqM44R
func (*SElasticcacheAccount) ModifyAccountDescription ¶
func (self *SElasticcacheAccount) ModifyAccountDescription(desc string) error
https://help.apsara.com/document_detail/96020.html?spm=a2c4g.11186623.6.747.5c6f1c717weYEX
func (*SElasticcacheAccount) Refresh ¶
func (self *SElasticcacheAccount) Refresh() error
func (*SElasticcacheAccount) ResetPassword ¶
func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
https://help.apsara.com/document_detail/95941.html?spm=a2c4g.11186623.6.746.523555d8D8Whxq https://help.apsara.com/document_detail/98531.html?spm=5176.11065259.1996646101.searchclickresult.4df474c38Sc2SO
func (*SElasticcacheAccount) UpdateAccount ¶
func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
type SElasticcacheAcl ¶
type SElasticcacheAcl struct { multicloud.SElasticcacheAclBase ApsaraTags SecurityIPList string `json:"SecurityIpList"` SecurityIPGroupAttribute string `json:"SecurityIpGroupAttribute"` SecurityIPGroupName string `json:"SecurityIpGroupName"` // contains filtered or unexported fields }
func (*SElasticcacheAcl) Delete ¶
func (self *SElasticcacheAcl) Delete() error
https://help.apsara.com/document_detail/61002.html?spm=a2c4g.11186623.6.764.3752782fJpbjxH
func (*SElasticcacheAcl) GetGlobalId ¶
func (self *SElasticcacheAcl) GetGlobalId() string
func (*SElasticcacheAcl) GetId ¶
func (self *SElasticcacheAcl) GetId() string
func (*SElasticcacheAcl) GetIpList ¶
func (self *SElasticcacheAcl) GetIpList() string
func (*SElasticcacheAcl) GetName ¶
func (self *SElasticcacheAcl) GetName() string
func (*SElasticcacheAcl) GetStatus ¶
func (self *SElasticcacheAcl) GetStatus() string
func (*SElasticcacheAcl) Refresh ¶
func (self *SElasticcacheAcl) Refresh() error
func (*SElasticcacheAcl) UpdateAcl ¶
func (self *SElasticcacheAcl) UpdateAcl(securityIps string) error
https://help.apsara.com/document_detail/61002.html?spm=a2c4g.11186623.6.764.3752782fJpbjxH
type SElasticcacheAttribute ¶
type SElasticcacheAttribute struct { Config string `json:"Config"` HasRenewChangeOrder string `json:"HasRenewChangeOrder"` InstanceID string `json:"InstanceId"` ZoneID string `json:"ZoneId"` ArchitectureType string `json:"ArchitectureType"` PrivateIP string `json:"PrivateIp"` VSwitchID string `json:"VSwitchId"` Engine string `json:"Engine"` VpcID string `json:"VpcId"` NetworkType string `json:"NetworkType"` Qps int64 `json:"QPS"` PackageType string `json:"PackageType"` ReplicaID string `json:"ReplicaId"` IsRDS bool `json:"IsRds"` MaintainStartTime string `json:"MaintainStartTime"` VpcAuthMode string `json:"VpcAuthMode"` ConnectionDomain string `json:"ConnectionDomain"` EngineVersion string `json:"EngineVersion"` InstanceName string `json:"InstanceName"` Bandwidth int64 `json:"Bandwidth"` ChargeType TChargeType `json:"ChargeType"` AuditLogRetention string `json:"AuditLogRetention"` MaintainEndTime string `json:"MaintainEndTime"` ReplicationMode string `json:"ReplicationMode"` InstanceType string `json:"InstanceType"` InstanceStatus string `json:"InstanceStatus"` Tags Tags `json:"Tags"` Port int64 `json:"Port"` InstanceClass string `json:"InstanceClass"` CreateTime time.Time `json:"CreateTime"` NodeType string `json:"NodeType"` RegionID string `json:"RegionId"` AvailabilityValue string `json:"AvailabilityValue"` CapacityMB int `json:"Capacity"` Connections int64 `json:"Connections"` SecurityIPList string `json:"SecurityIPList"` }
type SElasticcacheBackup ¶
type SElasticcacheBackup struct { multicloud.SElasticcacheBackupBase ApsaraTags BackupIntranetDownloadURL string `json:"BackupIntranetDownloadURL"` BackupType string `json:"BackupType"` BackupEndTime time.Time `json:"BackupEndTime"` BackupMethod string `json:"BackupMethod"` BackupID int64 `json:"BackupId"` BackupStartTime time.Time `json:"BackupStartTime"` BackupDownloadURL string `json:"BackupDownloadURL"` BackupDBNames string `json:"BackupDBNames"` NodeInstanceID string `json:"NodeInstanceId"` BackupMode string `json:"BackupMode"` BackupStatus string `json:"BackupStatus"` BackupSizeByte int64 `json:"BackupSize"` EngineVersion string `json:"EngineVersion"` // contains filtered or unexported fields }
https://help.apsara.com/document_detail/61081.html?spm=a2c4g.11186623.6.752.3d7630beuL57kI
func (*SElasticcacheBackup) Delete ¶
func (self *SElasticcacheBackup) Delete() error
func (*SElasticcacheBackup) GetBackupMode ¶
func (self *SElasticcacheBackup) GetBackupMode() string
func (*SElasticcacheBackup) GetBackupSizeMb ¶
func (self *SElasticcacheBackup) GetBackupSizeMb() int
func (*SElasticcacheBackup) GetBackupType ¶
func (self *SElasticcacheBackup) GetBackupType() string
func (*SElasticcacheBackup) GetDownloadURL ¶
func (self *SElasticcacheBackup) GetDownloadURL() string
func (*SElasticcacheBackup) GetEndTime ¶
func (self *SElasticcacheBackup) GetEndTime() time.Time
func (*SElasticcacheBackup) GetGlobalId ¶
func (self *SElasticcacheBackup) GetGlobalId() string
func (*SElasticcacheBackup) GetId ¶
func (self *SElasticcacheBackup) GetId() string
func (*SElasticcacheBackup) GetName ¶
func (self *SElasticcacheBackup) GetName() string
func (*SElasticcacheBackup) GetStartTime ¶
func (self *SElasticcacheBackup) GetStartTime() time.Time
func (*SElasticcacheBackup) GetStatus ¶
func (self *SElasticcacheBackup) GetStatus() string
func (*SElasticcacheBackup) Refresh ¶
func (self *SElasticcacheBackup) Refresh() error
func (*SElasticcacheBackup) RestoreInstance ¶
func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error
https://help.apsara.com/document_detail/61083.html?spm=a2c4g.11186623.6.753.216f67ddzpyvTL
type SElasticcacheParameter ¶
type SElasticcacheParameter struct { multicloud.SElasticcacheParameterBase ApsaraTags ParameterDescription string `json:"ParameterDescription"` ParameterValue string `json:"ParameterValue"` ForceRestart string `json:"ForceRestart"` CheckingCode string `json:"CheckingCode"` ModifiableStatus string `json:"ModifiableStatus"` ParameterName string `json:"ParameterName"` // contains filtered or unexported fields }
func (*SElasticcacheParameter) GetDescription ¶
func (self *SElasticcacheParameter) GetDescription() string
func (*SElasticcacheParameter) GetForceRestart ¶
func (self *SElasticcacheParameter) GetForceRestart() bool
func (*SElasticcacheParameter) GetGlobalId ¶
func (self *SElasticcacheParameter) GetGlobalId() string
func (*SElasticcacheParameter) GetId ¶
func (self *SElasticcacheParameter) GetId() string
func (*SElasticcacheParameter) GetModifiable ¶
func (self *SElasticcacheParameter) GetModifiable() bool
func (*SElasticcacheParameter) GetName ¶
func (self *SElasticcacheParameter) GetName() string
func (*SElasticcacheParameter) GetParameterKey ¶
func (self *SElasticcacheParameter) GetParameterKey() string
func (*SElasticcacheParameter) GetParameterValue ¶
func (self *SElasticcacheParameter) GetParameterValue() string
func (*SElasticcacheParameter) GetParameterValueRange ¶
func (self *SElasticcacheParameter) GetParameterValueRange() string
func (*SElasticcacheParameter) GetStatus ¶
func (self *SElasticcacheParameter) GetStatus() string
type SForwardTableEntry ¶
type SForwardTableEntry struct { multicloud.SResourceBase ApsaraTags ForwardEntryId string ForwardEntryName string IpProtocol string Status string ExternalIp string ForwardTableId string ExternalPort string InternalPort string InternalIp string // contains filtered or unexported fields }
func (*SForwardTableEntry) Delete ¶
func (dtable *SForwardTableEntry) Delete() error
func (*SForwardTableEntry) GetExternalIp ¶
func (dtable *SForwardTableEntry) GetExternalIp() string
func (*SForwardTableEntry) GetExternalPort ¶
func (dtable *SForwardTableEntry) GetExternalPort() int
func (*SForwardTableEntry) GetGlobalId ¶
func (dtable *SForwardTableEntry) GetGlobalId() string
func (*SForwardTableEntry) GetId ¶
func (dtable *SForwardTableEntry) GetId() string
func (*SForwardTableEntry) GetInternalIp ¶
func (dtable *SForwardTableEntry) GetInternalIp() string
func (*SForwardTableEntry) GetInternalPort ¶
func (dtable *SForwardTableEntry) GetInternalPort() int
func (*SForwardTableEntry) GetIpProtocol ¶
func (dtable *SForwardTableEntry) GetIpProtocol() string
func (*SForwardTableEntry) GetName ¶
func (dtable *SForwardTableEntry) GetName() string
func (*SForwardTableEntry) GetStatus ¶
func (dtable *SForwardTableEntry) GetStatus() string
func (*SForwardTableEntry) Refresh ¶
func (dtable *SForwardTableEntry) Refresh() error
type SForwardTableIds ¶
type SForwardTableIds struct {
ForwardTableId []string
}
type SGroup ¶
type SGroup struct { Comments string CreatedDate time.Time GroupName string UpdateDate time.Time // contains filtered or unexported fields }
func (*SGroup) AttachCustomPolicy ¶
func (*SGroup) AttachSystemPolicy ¶
func (*SGroup) DetachCustomPolicy ¶
func (*SGroup) DetachSystemPolicy ¶
func (*SGroup) GetDescription ¶
func (*SGroup) GetGlobalId ¶
func (*SGroup) GetICloudusers ¶
func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SGroup) GetICustomCloudpolicies ¶
func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) GetISystemCloudpolicies ¶
func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) RemoveUser ¶
type SHost ¶
type SHost struct { multicloud.SHostBase // contains filtered or unexported fields }
func (*SHost) CreateVM ¶
func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
func (*SHost) GetAccessIp ¶
func (*SHost) GetAccessMac ¶
func (*SHost) GetCpuCount ¶
func (*SHost) GetCpuDesc ¶
func (*SHost) GetEnabled ¶
func (*SHost) GetGlobalId ¶
func (*SHost) GetHostStatus ¶
func (*SHost) GetHostType ¶
func (*SHost) GetIHostNics ¶
func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
func (*SHost) GetIWires ¶
func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SHost) GetInstanceById ¶
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
func (*SHost) VMGlobalId2Id ¶
type SIPv6Gateway ¶
type SIPv6Gateway struct { multicloud.SResourceBase ApsaraTags Status string `json:"Status"` Description string `json:"Description"` InstanceChargeType string `json:"InstanceChargeType"` Ipv6GatewayId string `json:"Ipv6GatewayId"` BusinessStatus string `json:"BusinessStatus"` Name string `json:"Name"` VpcID string `json:"VpcId"` ExpiredTime string `json:"ExpiredTime"` CreationTime time.Time `json:"CreationTime"` RegionId string `json:"RegionId"` Spec string `json:"Spec"` DepartmentInfo // contains filtered or unexported fields }
func (*SIPv6Gateway) GetCreatedAt ¶
func (self *SIPv6Gateway) GetCreatedAt() time.Time
func (*SIPv6Gateway) GetGlobalId ¶
func (self *SIPv6Gateway) GetGlobalId() string
func (*SIPv6Gateway) GetId ¶
func (self *SIPv6Gateway) GetId() string
func (*SIPv6Gateway) GetInstanceType ¶
func (self *SIPv6Gateway) GetInstanceType() string
func (*SIPv6Gateway) GetName ¶
func (self *SIPv6Gateway) GetName() string
func (*SIPv6Gateway) GetStatus ¶
func (self *SIPv6Gateway) GetStatus() string
type SImage ¶
type SImage struct { multicloud.SImageBase ApsaraTags Architecture string CreationTime time.Time Description string ImageId string ImageName string OSName string OSType string ImageOwnerAlias ImageOwnerType IsSupportCloudinit bool IsSupportIoOptimized bool Platform string Size int Status ImageStatusType Usage string // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (self *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (self *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
func (*SImage) IsEmulated ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase ApsaraTags AutoReleaseTime string ClusterId string Cpu int CreationTime time.Time DedicatedHostAttribute SDedicatedHostAttribute Description string DeviceAvailable bool EipAddress SEipAddress ExpiredTime time.Time GPUAmount int GPUSpec string HostName string ImageId string InnerIpAddress SIpAddress InstanceChargeType TChargeType InstanceId string InstanceName string InstanceNetworkType string InstanceType string InstanceTypeFamily string InternetChargeType TInternetChargeType InternetMaxBandwidthIn int InternetMaxBandwidthOut int IoOptimized bool KeyPairName string Memory int NetworkInterfaces SNetworkInterfaces OSName string OSType string OperationLocks SOperationLocks PublicIpAddress SIpAddress Recyclable bool RegionId string SaleCycle string SecurityGroupIds SSecurityGroupIds SerialNumber string SpotPriceLimit string SpotStrategy string StartTime time.Time Status string StoppedMode string VlanId string VpcAttributes SVpcAttributes ZoneId string DepartmentInfo // contains filtered or unexported fields }
func (*SInstance) AssignSecurityGroup ¶
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) ConvertPublicIpToEip ¶
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (ins *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetInternetMaxBandwidthOut ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
func (*SInstance) IsAutoRenew ¶
func (*SInstance) IsEmulated ¶
func (*SInstance) RebuildRoot ¶
func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
func (*SInstance) SetAutoRenew ¶
func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
func (*SInstance) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
type SInstanceNic ¶
type SInstanceNic struct { cloudprovider.DummyICloudNic // contains filtered or unexported fields }
func (*SInstanceNic) GetDriver ¶
func (self *SInstanceNic) GetDriver() string
func (*SInstanceNic) GetINetworkId ¶
func (self *SInstanceNic) GetINetworkId() string
func (*SInstanceNic) GetIP ¶
func (self *SInstanceNic) GetIP() string
func (*SInstanceNic) GetId ¶
func (self *SInstanceNic) GetId() string
func (*SInstanceNic) GetMAC ¶
func (self *SInstanceNic) GetMAC() string
func (*SInstanceNic) InClassicNetwork ¶
func (self *SInstanceNic) InClassicNetwork() bool
type SInstanceType ¶
type SInstanceType struct { multicloud.SResourceBase ApsaraTags BaselineCredit int CpuCoreCount int MemorySize float32 EniQuantity int // 实例规格支持网卡数量 GPUAmount int GPUSpec string InstanceTypeFamily string InstanceFamilyLevel string InstanceTypeId string LocalStorageCategory string LocalStorageAmount int LocalStorageCapacity int64 InstanceBandwidthRx int InstanceBandwidthTx int InstancePpsRx int InstancePpsTx int }
func (*SInstanceType) Delete ¶
func (self *SInstanceType) Delete() error
func (*SInstanceType) GetAttachedDiskCount ¶
func (self *SInstanceType) GetAttachedDiskCount() int
func (*SInstanceType) GetAttachedDiskSizeGB ¶
func (self *SInstanceType) GetAttachedDiskSizeGB() int
func (*SInstanceType) GetAttachedDiskType ¶
func (self *SInstanceType) GetAttachedDiskType() string
func (*SInstanceType) GetCpuArch ¶
func (self *SInstanceType) GetCpuArch() string
func (*SInstanceType) GetCpuCoreCount ¶
func (self *SInstanceType) GetCpuCoreCount() int
func (*SInstanceType) GetDataDiskMaxCount ¶
func (self *SInstanceType) GetDataDiskMaxCount() int
func (*SInstanceType) GetDataDiskTypes ¶
func (self *SInstanceType) GetDataDiskTypes() string
func (*SInstanceType) GetGlobalId ¶
func (self *SInstanceType) GetGlobalId() string
func (*SInstanceType) GetGpuAttachable ¶
func (self *SInstanceType) GetGpuAttachable() bool
func (*SInstanceType) GetGpuCount ¶
func (self *SInstanceType) GetGpuCount() int
func (*SInstanceType) GetGpuMaxCount ¶
func (self *SInstanceType) GetGpuMaxCount() int
func (*SInstanceType) GetGpuSpec ¶
func (self *SInstanceType) GetGpuSpec() string
func (*SInstanceType) GetId ¶
func (self *SInstanceType) GetId() string
func (*SInstanceType) GetInstanceTypeCategory ¶
func (self *SInstanceType) GetInstanceTypeCategory() string
func (*SInstanceType) GetInstanceTypeFamily ¶
func (self *SInstanceType) GetInstanceTypeFamily() string
func (*SInstanceType) GetMemorySizeMB ¶
func (self *SInstanceType) GetMemorySizeMB() int
func (*SInstanceType) GetName ¶
func (self *SInstanceType) GetName() string
func (*SInstanceType) GetNicMaxCount ¶
func (self *SInstanceType) GetNicMaxCount() int
func (*SInstanceType) GetNicType ¶
func (self *SInstanceType) GetNicType() string
func (*SInstanceType) GetOsName ¶
func (self *SInstanceType) GetOsName() string
func (*SInstanceType) GetPostpaidStatus ¶
func (self *SInstanceType) GetPostpaidStatus() string
func (*SInstanceType) GetPrepaidStatus ¶
func (self *SInstanceType) GetPrepaidStatus() string
func (*SInstanceType) GetStatus ¶
func (self *SInstanceType) GetStatus() string
func (*SInstanceType) GetSysDiskMaxSizeGB ¶
func (self *SInstanceType) GetSysDiskMaxSizeGB() int
func (*SInstanceType) GetSysDiskMinSizeGB ¶
func (self *SInstanceType) GetSysDiskMinSizeGB() int
func (*SInstanceType) GetSysDiskResizable ¶
func (self *SInstanceType) GetSysDiskResizable() bool
func (*SInstanceType) GetSysDiskType ¶
func (self *SInstanceType) GetSysDiskType() string
type SInstanceTypes ¶
type SInstanceTypes struct {
InstanceTypes []string
}
type SIpAddress ¶
type SIpAddress struct {
IpAddress []string
}
type SLoadbalancer ¶
type SLoadbalancer struct { multicloud.SLoadbalancerBase ApsaraTags LoadBalancerId string //负载均衡实例ID。 LoadBalancerName string //负载均衡实例的名称。 LoadBalancerStatus string //负载均衡实例状态:inactive: 此状态的实例监听不会再转发流量。active: 实例创建后,默认状态为active。 locked: 实例已经被锁定。 Address string //负载均衡实例的服务地址。 RegionId string //负载均衡实例的地域ID。 RegionIdAlias string //负载均衡实例的地域名称。 AddressType string //负载均衡实例的网络类型。 VSwitchId string //私网负载均衡实例的交换机ID。 VpcId string //私网负载均衡实例的专有网络ID。 NetworkType string //私网负载均衡实例的网络类型:vpc:专有网络实例 classic:经典网络实例 ListenerPorts ListenerPorts ListenerPortsAndProtocol ListenerPortsAndProtocol BackendServers BackendServers CreateTime time.Time //负载均衡实例的创建时间。 MasterZoneId string //实例的主可用区ID。 SlaveZoneId string //实例的备可用区ID。 InternetChargeType TInternetChargeType //公网实例的计费方式。取值:paybybandwidth:按带宽计费 paybytraffic:按流量计费(默认值) 说明 当 PayType参数的值为PrePay时,只支持按带宽计费。 PayType string //实例的计费类型,取值:PayOnDemand:按量付费 PrePay:预付费 LoadBalancerSpec string //负载均衡实例的的性能规格 Bandwidth int //按带宽计费的公网型实例的带宽峰值 DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancer) CreateILoadBalancerBackendGroup ¶
func (lb *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) CreateILoadBalancerListener ¶
func (lb *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetAddress ¶
func (lb *SLoadbalancer) GetAddress() string
func (*SLoadbalancer) GetAddressType ¶
func (lb *SLoadbalancer) GetAddressType() string
func (*SLoadbalancer) GetChargeType ¶
func (lb *SLoadbalancer) GetChargeType() string
func (*SLoadbalancer) GetCreatedAt ¶
func (lb *SLoadbalancer) GetCreatedAt() time.Time
func (*SLoadbalancer) GetEgressMbps ¶
func (lb *SLoadbalancer) GetEgressMbps() int
func (*SLoadbalancer) GetGlobalId ¶
func (lb *SLoadbalancer) GetGlobalId() string
func (*SLoadbalancer) GetIEIP ¶
func (lb *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroupById ¶
func (lb *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroups ¶
func (lb *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerListenerById ¶
func (lb *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetILoadBalancerListeners ¶
func (lb *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetId ¶
func (lb *SLoadbalancer) GetId() string
func (*SLoadbalancer) GetLoadbalancerSpec ¶
func (lb *SLoadbalancer) GetLoadbalancerSpec() string
func (*SLoadbalancer) GetName ¶
func (lb *SLoadbalancer) GetName() string
func (*SLoadbalancer) GetNetworkIds ¶
func (lb *SLoadbalancer) GetNetworkIds() []string
func (*SLoadbalancer) GetNetworkType ¶
func (lb *SLoadbalancer) GetNetworkType() string
func (*SLoadbalancer) GetStatus ¶
func (lb *SLoadbalancer) GetStatus() string
func (*SLoadbalancer) GetVpcId ¶
func (lb *SLoadbalancer) GetVpcId() string
func (*SLoadbalancer) GetZone1Id ¶
func (self *SLoadbalancer) GetZone1Id() string
func (*SLoadbalancer) GetZoneId ¶
func (lb *SLoadbalancer) GetZoneId() string
func (*SLoadbalancer) IsEmulated ¶
func (lb *SLoadbalancer) IsEmulated() bool
func (*SLoadbalancer) Refresh ¶
func (lb *SLoadbalancer) Refresh() error
func (*SLoadbalancer) SetTags ¶
func (lb *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
func (*SLoadbalancer) Start ¶
func (lb *SLoadbalancer) Start() error
func (*SLoadbalancer) Stop ¶
func (lb *SLoadbalancer) Stop() error
type SLoadbalancerAcl ¶
type SLoadbalancerAcl struct { multicloud.SResourceBase ApsaraTags AclId string AclName string AclEntrys AclEntrys DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerAcl) Delete ¶
func (acl *SLoadbalancerAcl) Delete() error
func (*SLoadbalancerAcl) GetAclEntries ¶
func (acl *SLoadbalancerAcl) GetAclEntries() []cloudprovider.SLoadbalancerAccessControlListEntry
func (*SLoadbalancerAcl) GetAclListenerID ¶
func (acl *SLoadbalancerAcl) GetAclListenerID() string
func (*SLoadbalancerAcl) GetGlobalId ¶
func (acl *SLoadbalancerAcl) GetGlobalId() string
func (*SLoadbalancerAcl) GetId ¶
func (acl *SLoadbalancerAcl) GetId() string
func (*SLoadbalancerAcl) GetName ¶
func (acl *SLoadbalancerAcl) GetName() string
func (*SLoadbalancerAcl) GetStatus ¶
func (acl *SLoadbalancerAcl) GetStatus() string
func (*SLoadbalancerAcl) IsEmulated ¶
func (acl *SLoadbalancerAcl) IsEmulated() bool
func (*SLoadbalancerAcl) Refresh ¶
func (acl *SLoadbalancerAcl) Refresh() error
func (*SLoadbalancerAcl) Sync ¶
func (acl *SLoadbalancerAcl) Sync(_acl *cloudprovider.SLoadbalancerAccessControlList) error
type SLoadbalancerBackend ¶
type SLoadbalancerBackend struct { multicloud.SResourceBase ApsaraTags ServerId string Port int Weight int DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerBackend) GetBackendId ¶
func (backend *SLoadbalancerBackend) GetBackendId() string
func (*SLoadbalancerBackend) GetBackendRole ¶
func (backend *SLoadbalancerBackend) GetBackendRole() string
func (*SLoadbalancerBackend) GetBackendType ¶
func (backend *SLoadbalancerBackend) GetBackendType() string
func (*SLoadbalancerBackend) GetGlobalId ¶
func (backend *SLoadbalancerBackend) GetGlobalId() string
func (*SLoadbalancerBackend) GetId ¶
func (backend *SLoadbalancerBackend) GetId() string
func (*SLoadbalancerBackend) GetIpAddress ¶
func (backend *SLoadbalancerBackend) GetIpAddress() string
func (*SLoadbalancerBackend) GetName ¶
func (backend *SLoadbalancerBackend) GetName() string
func (*SLoadbalancerBackend) GetPort ¶
func (backend *SLoadbalancerBackend) GetPort() int
func (*SLoadbalancerBackend) GetStatus ¶
func (backend *SLoadbalancerBackend) GetStatus() string
func (*SLoadbalancerBackend) GetWeight ¶
func (backend *SLoadbalancerBackend) GetWeight() int
func (*SLoadbalancerBackend) IsEmulated ¶
func (backend *SLoadbalancerBackend) IsEmulated() bool
func (*SLoadbalancerBackend) Refresh ¶
func (backend *SLoadbalancerBackend) Refresh() error
type SLoadbalancerBackendGroup ¶
type SLoadbalancerBackendGroup struct { multicloud.SResourceBase ApsaraTags VServerGroupId string VServerGroupName string AssociatedObjects AssociatedObjects DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerBackendGroup) AddBackendServer ¶
func (backendgroup *SLoadbalancerBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) Delete ¶
func (backendgroup *SLoadbalancerBackendGroup) Delete(ctx context.Context) error
func (*SLoadbalancerBackendGroup) GetGlobalId ¶
func (backendgroup *SLoadbalancerBackendGroup) GetGlobalId() string
func (*SLoadbalancerBackendGroup) GetHealthCheck ¶
func (backendgroup *SLoadbalancerBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerBackendGroup) GetILoadbalancer ¶
func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
func (*SLoadbalancerBackendGroup) GetILoadbalancerBackendById ¶
func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) GetILoadbalancerBackends ¶
func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) GetId ¶
func (backendgroup *SLoadbalancerBackendGroup) GetId() string
func (*SLoadbalancerBackendGroup) GetLoadbalancerId ¶
func (backendgroup *SLoadbalancerBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerBackendGroup) GetName ¶
func (backendgroup *SLoadbalancerBackendGroup) GetName() string
func (*SLoadbalancerBackendGroup) GetProtocolType ¶
func (backendgroup *SLoadbalancerBackendGroup) GetProtocolType() string
func (*SLoadbalancerBackendGroup) GetScheduler ¶
func (backendgroup *SLoadbalancerBackendGroup) GetScheduler() string
func (*SLoadbalancerBackendGroup) GetStatus ¶
func (backendgroup *SLoadbalancerBackendGroup) GetStatus() string
func (*SLoadbalancerBackendGroup) GetStickySession ¶
func (backendgroup *SLoadbalancerBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerBackendGroup) GetType ¶
func (backendgroup *SLoadbalancerBackendGroup) GetType() string
func (*SLoadbalancerBackendGroup) IsDefault ¶
func (backendgroup *SLoadbalancerBackendGroup) IsDefault() bool
func (*SLoadbalancerBackendGroup) IsEmulated ¶
func (backendgroup *SLoadbalancerBackendGroup) IsEmulated() bool
func (*SLoadbalancerBackendGroup) Refresh ¶
func (backendgroup *SLoadbalancerBackendGroup) Refresh() error
func (*SLoadbalancerBackendGroup) RemoveBackendServer ¶
func (backendgroup *SLoadbalancerBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
func (*SLoadbalancerBackendGroup) Sync ¶
func (backendgroup *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerDefaultBackend ¶
type SLoadbalancerDefaultBackend struct { multicloud.SResourceBase ApsaraTags ServerId string Weight int DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerDefaultBackend) GetBackendId ¶
func (backend *SLoadbalancerDefaultBackend) GetBackendId() string
func (*SLoadbalancerDefaultBackend) GetBackendRole ¶
func (backend *SLoadbalancerDefaultBackend) GetBackendRole() string
func (*SLoadbalancerDefaultBackend) GetBackendType ¶
func (backend *SLoadbalancerDefaultBackend) GetBackendType() string
func (*SLoadbalancerDefaultBackend) GetGlobalId ¶
func (backend *SLoadbalancerDefaultBackend) GetGlobalId() string
func (*SLoadbalancerDefaultBackend) GetId ¶
func (backend *SLoadbalancerDefaultBackend) GetId() string
func (*SLoadbalancerDefaultBackend) GetIpAddress ¶
func (backend *SLoadbalancerDefaultBackend) GetIpAddress() string
func (*SLoadbalancerDefaultBackend) GetName ¶
func (backend *SLoadbalancerDefaultBackend) GetName() string
func (*SLoadbalancerDefaultBackend) GetPort ¶
func (backend *SLoadbalancerDefaultBackend) GetPort() int
func (*SLoadbalancerDefaultBackend) GetStatus ¶
func (backend *SLoadbalancerDefaultBackend) GetStatus() string
func (*SLoadbalancerDefaultBackend) GetWeight ¶
func (backend *SLoadbalancerDefaultBackend) GetWeight() int
func (*SLoadbalancerDefaultBackend) IsEmulated ¶
func (backend *SLoadbalancerDefaultBackend) IsEmulated() bool
func (*SLoadbalancerDefaultBackend) Refresh ¶
func (backend *SLoadbalancerDefaultBackend) Refresh() error
type SLoadbalancerDefaultBackendGroup ¶
type SLoadbalancerDefaultBackendGroup struct { multicloud.SResourceBase ApsaraTags DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerDefaultBackendGroup) AddBackendServer ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerDefaultBackendGroup) Delete ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) Delete(ctx context.Context) error
func (*SLoadbalancerDefaultBackendGroup) GetGlobalId ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetGlobalId() string
func (*SLoadbalancerDefaultBackendGroup) GetHealthCheck ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancer ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerDefaultBackendGroup) GetId ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetId() string
func (*SLoadbalancerDefaultBackendGroup) GetLoadbalancerId ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerDefaultBackendGroup) GetName ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetName() string
func (*SLoadbalancerDefaultBackendGroup) GetProtocolType ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetProtocolType() string
func (*SLoadbalancerDefaultBackendGroup) GetScheduler ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetScheduler() string
func (*SLoadbalancerDefaultBackendGroup) GetStatus ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStatus() string
func (*SLoadbalancerDefaultBackendGroup) GetStickySession ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerDefaultBackendGroup) GetType ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetType() string
func (*SLoadbalancerDefaultBackendGroup) IsDefault ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) IsDefault() bool
func (*SLoadbalancerDefaultBackendGroup) IsEmulated ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) IsEmulated() bool
func (*SLoadbalancerDefaultBackendGroup) Refresh ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) Refresh() error
func (*SLoadbalancerDefaultBackendGroup) RemoveBackendServer ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
func (*SLoadbalancerDefaultBackendGroup) Sync ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerHTTPListener ¶
type SLoadbalancerHTTPListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase ApsaraTags ListenerPort int // 负载均衡实例前端使用的端口。 BackendServerPort int // 负载均衡实例后端使用的端口。 Bandwidth int // 监听的带宽峰值。 Status string // 当前监听的状态。取值:starting | running | configuring | stopping | stopped Description string XForwardedFor string // 是否开启通过X-Forwarded-For头字段获取访者真实IP。 XForwardedFor_SLBIP string // 是否通过SLB-IP头字段获取客户端请求的真实IP。 XForwardedFor_SLBID string // 是否通过SLB-ID头字段获取负载均衡实例ID。 XForwardedFor_proto string // 是否通过X-Forwarded-Proto头字段获取负载均衡实例的监听协议。 Scheduler string // 调度算法。 StickySession string // 是否开启会话保持。 StickySessionType string // cookie的处理方式。 CookieTimeout int // Cookie超时时间。 Cookie string // 服务器上配置的cookie。 AclStatus string // 是否开启访问控制功能。取值:on | off(默认值) AclType string // 访问控制类型: AclId string // 监听绑定的访问策略组ID。当AclStatus参数的值为on时,该参数必选。 HealthCheck string // 是否开启健康检查。 HealthCheckDomain string // 用于健康检查的域名。 HealthCheckURI string // 用于健康检查的URI。 HealthyThreshold int // 健康检查阈值。 UnhealthyThreshold int // 不健康检查阈值。 HealthCheckTimeout int // 每次健康检查响应的最大超时间,单位为秒。 HealthCheckInterval int // 健康检查的时间间隔,单位为秒。 HealthCheckHttpCode string // 健康检查正常的HTTP状态码。 HealthCheckConnectPort int // 健康检查的端口。 Gzip string // 是否开启Gzip压缩。 EnableHttp2 string // 是否开启HTTP/2特性。取值:on(默认值)|off Rules Rules //监听下的转发规则列表,具体请参见RuleList。 ForwardPort int // HTTP至HTTPS的监听转发端口。暂时只支持将HTTP 80访问重定向转发至HTTPS 443。 说明 如果 ListenerForward的值为 off,该参数不显示。 ListenerForward string // 表示是否开启HTTP至HTTPS的监听转发。on:表示开启 off:表示未开启 VServerGroupId string // 绑定的服务器组ID DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) Delete ¶
func (listerner *SLoadbalancerHTTPListener) Delete(ctx context.Context) error
func (*SLoadbalancerHTTPListener) GetAclId ¶
func (listerner *SLoadbalancerHTTPListener) GetAclId() string
func (*SLoadbalancerHTTPListener) GetAclStatus ¶
func (listerner *SLoadbalancerHTTPListener) GetAclStatus() string
func (*SLoadbalancerHTTPListener) GetAclType ¶
func (listerner *SLoadbalancerHTTPListener) GetAclType() string
func (*SLoadbalancerHTTPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerHTTPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendGroupId() string
func (*SLoadbalancerHTTPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendServerPort() int
func (*SLoadbalancerHTTPListener) GetCertificateId ¶
func (listerner *SLoadbalancerHTTPListener) GetCertificateId() string
func (*SLoadbalancerHTTPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetClientIdleTimeout() int
func (*SLoadbalancerHTTPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerHTTPListener) GetEgressMbps() int
func (*SLoadbalancerHTTPListener) GetGlobalId ¶
func (listerner *SLoadbalancerHTTPListener) GetGlobalId() string
func (*SLoadbalancerHTTPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheck() string
func (*SLoadbalancerHTTPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckCode() string
func (*SLoadbalancerHTTPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckDomain() string
func (*SLoadbalancerHTTPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckExp() string
func (*SLoadbalancerHTTPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckFail() int
func (*SLoadbalancerHTTPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckInterval() int
func (*SLoadbalancerHTTPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckReq() string
func (*SLoadbalancerHTTPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckRise() int
func (*SLoadbalancerHTTPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerHTTPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckType() string
func (*SLoadbalancerHTTPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckURI() string
func (*SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerHTTPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) GetId ¶
func (listerner *SLoadbalancerHTTPListener) GetId() string
func (*SLoadbalancerHTTPListener) GetListenerPort ¶
func (listerner *SLoadbalancerHTTPListener) GetListenerPort() int
func (*SLoadbalancerHTTPListener) GetListenerType ¶
func (listerner *SLoadbalancerHTTPListener) GetListenerType() string
func (*SLoadbalancerHTTPListener) GetName ¶
func (listener *SLoadbalancerHTTPListener) GetName() string
func (*SLoadbalancerHTTPListener) GetScheduler ¶
func (listerner *SLoadbalancerHTTPListener) GetScheduler() string
func (*SLoadbalancerHTTPListener) GetStatus ¶
func (listerner *SLoadbalancerHTTPListener) GetStatus() string
func (*SLoadbalancerHTTPListener) GetStickySession ¶
func (listerner *SLoadbalancerHTTPListener) GetStickySession() string
func (*SLoadbalancerHTTPListener) GetStickySessionCookie ¶
func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookie() string
func (*SLoadbalancerHTTPListener) GetStickySessionCookieTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookieTimeout() int
func (*SLoadbalancerHTTPListener) GetStickySessionType ¶
func (listerner *SLoadbalancerHTTPListener) GetStickySessionType() string
func (*SLoadbalancerHTTPListener) GetTLSCipherPolicy ¶
func (listerner *SLoadbalancerHTTPListener) GetTLSCipherPolicy() string
func (*SLoadbalancerHTTPListener) GzipEnabled ¶
func (listerner *SLoadbalancerHTTPListener) GzipEnabled() bool
func (*SLoadbalancerHTTPListener) HTTP2Enabled ¶
func (listerner *SLoadbalancerHTTPListener) HTTP2Enabled() bool
func (*SLoadbalancerHTTPListener) IsEmulated ¶
func (listerner *SLoadbalancerHTTPListener) IsEmulated() bool
func (*SLoadbalancerHTTPListener) Refresh ¶
func (listerner *SLoadbalancerHTTPListener) Refresh() error
func (*SLoadbalancerHTTPListener) Start ¶
func (listerner *SLoadbalancerHTTPListener) Start() error
func (*SLoadbalancerHTTPListener) Stop ¶
func (listerner *SLoadbalancerHTTPListener) Stop() error
func (*SLoadbalancerHTTPListener) Sync ¶
func (listerner *SLoadbalancerHTTPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
func (*SLoadbalancerHTTPListener) XForwardedForEnabled ¶
func (listerner *SLoadbalancerHTTPListener) XForwardedForEnabled() bool
type SLoadbalancerHTTPSListener ¶
type SLoadbalancerHTTPSListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase ApsaraTags ListenerPort int // 负载均衡实例前端使用的端口。 BackendServerPort int // 负载均衡实例后端使用的端口。 Bandwidth int // 监听的带宽峰值。 Status string // 当前监听的状态。取值:starting | running | configuring | stopping | stopped Description string XForwardedFor string // 是否开启通过X-Forwarded-For头字段获取访者真实IP。 XForwardedFor_SLBIP string // 是否通过SLB-IP头字段获取客户端请求的真实IP。 XForwardedFor_SLBID string // 是否通过SLB-ID头字段获取负载均衡实例ID。 XForwardedFor_proto string // 是否通过X-Forwarded-Proto头字段获取负载均衡实例的监听协议。 Scheduler string // 调度算法。 StickySession string // 是否开启会话保持。 StickySessionType string // cookie的处理方式。 CookieTimeout int // Cookie超时时间。 Cookie string // 服务器上配置的cookie。 AclStatus string // 是否开启访问控制功能。取值:on | off(默认值) AclType string // 访问控制类型 AclId string // 监听绑定的访问策略组ID。当AclStatus参数的值为on时,该参数必选。 HealthCheck string // 是否开启健康检查。 HealthCheckDomain string // 用于健康检查的域名。 HealthCheckURI string // 用于健康检查的URI。 HealthyThreshold int // 健康检查阈值。 UnhealthyThreshold int // 不健康检查阈值。 HealthCheckTimeout int // 每次健康检查响应的最大超时间,单位为秒。 HealthCheckInterval int // 健康检查的时间间隔,单位为秒。 HealthCheckHttpCode string // 健康检查正常的HTTP状态码。 HealthCheckConnectPort int // 健康检查的端口。 VServerGroupId string // 绑定的服务器组ID。 ServerCertificateId string // 服务器证书ID。 CACertificateId string // CA证书ID。 Gzip string // 是否开启Gzip压缩。 Rules Rules //监听下的转发规则列表,具体请参见RuleList。 DomainExtensions string // 域名扩展列表,具体请参见DomainExtensions。 EnableHttp2 string // 是否开启HTTP/2特性。取值:on(默认值)|off TLSCipherPolicy string // DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) Delete ¶
func (listerner *SLoadbalancerHTTPSListener) Delete(ctx context.Context) error
func (*SLoadbalancerHTTPSListener) GetAclId ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclId() string
func (*SLoadbalancerHTTPSListener) GetAclStatus ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclStatus() string
func (*SLoadbalancerHTTPSListener) GetAclType ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclType() string
func (*SLoadbalancerHTTPSListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendConnectTimeout() int
func (*SLoadbalancerHTTPSListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendGroupId() string
func (*SLoadbalancerHTTPSListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendServerPort() int
func (*SLoadbalancerHTTPSListener) GetCertificateId ¶
func (listerner *SLoadbalancerHTTPSListener) GetCertificateId() string
func (*SLoadbalancerHTTPSListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetClientIdleTimeout() int
func (*SLoadbalancerHTTPSListener) GetEgressMbps ¶
func (listerner *SLoadbalancerHTTPSListener) GetEgressMbps() int
func (*SLoadbalancerHTTPSListener) GetGlobalId ¶
func (listerner *SLoadbalancerHTTPSListener) GetGlobalId() string
func (*SLoadbalancerHTTPSListener) GetHealthCheck ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheck() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckCode() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckDomain() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckExp() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckFail() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckInterval() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckReq() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckRise() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckTimeout() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckType() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckURI() string
func (*SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) GetId ¶
func (listerner *SLoadbalancerHTTPSListener) GetId() string
func (*SLoadbalancerHTTPSListener) GetListenerPort ¶
func (listerner *SLoadbalancerHTTPSListener) GetListenerPort() int
func (*SLoadbalancerHTTPSListener) GetListenerType ¶
func (listerner *SLoadbalancerHTTPSListener) GetListenerType() string
func (*SLoadbalancerHTTPSListener) GetName ¶
func (listener *SLoadbalancerHTTPSListener) GetName() string
func (*SLoadbalancerHTTPSListener) GetScheduler ¶
func (listerner *SLoadbalancerHTTPSListener) GetScheduler() string
func (*SLoadbalancerHTTPSListener) GetStatus ¶
func (listerner *SLoadbalancerHTTPSListener) GetStatus() string
func (*SLoadbalancerHTTPSListener) GetStickySession ¶
func (listerner *SLoadbalancerHTTPSListener) GetStickySession() string
func (*SLoadbalancerHTTPSListener) GetStickySessionCookie ¶
func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookie() string
func (*SLoadbalancerHTTPSListener) GetStickySessionCookieTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookieTimeout() int
func (*SLoadbalancerHTTPSListener) GetStickySessionType ¶
func (listerner *SLoadbalancerHTTPSListener) GetStickySessionType() string
func (*SLoadbalancerHTTPSListener) GetTLSCipherPolicy ¶
func (listerner *SLoadbalancerHTTPSListener) GetTLSCipherPolicy() string
func (*SLoadbalancerHTTPSListener) GzipEnabled ¶
func (listerner *SLoadbalancerHTTPSListener) GzipEnabled() bool
func (*SLoadbalancerHTTPSListener) HTTP2Enabled ¶
func (listerner *SLoadbalancerHTTPSListener) HTTP2Enabled() bool
func (*SLoadbalancerHTTPSListener) IsEmulated ¶
func (listerner *SLoadbalancerHTTPSListener) IsEmulated() bool
func (*SLoadbalancerHTTPSListener) Refresh ¶
func (listerner *SLoadbalancerHTTPSListener) Refresh() error
func (*SLoadbalancerHTTPSListener) Start ¶
func (listerner *SLoadbalancerHTTPSListener) Start() error
func (*SLoadbalancerHTTPSListener) Stop ¶
func (listerner *SLoadbalancerHTTPSListener) Stop() error
func (*SLoadbalancerHTTPSListener) Sync ¶
func (listerner *SLoadbalancerHTTPSListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
func (*SLoadbalancerHTTPSListener) XForwardedForEnabled ¶
func (listerner *SLoadbalancerHTTPSListener) XForwardedForEnabled() bool
type SLoadbalancerListenerRule ¶
type SLoadbalancerListenerRule struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase ApsaraTags Domain string `json:"Domain"` ListenerSync string RuleId string RuleName string `json:"RuleName"` Url string `json:"Url"` VServerGroupId string `json:"VServerGroupId"` DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerListenerRule) Delete ¶
func (lbr *SLoadbalancerListenerRule) Delete(ctx context.Context) error
func (*SLoadbalancerListenerRule) GetBackendGroupId ¶
func (lbr *SLoadbalancerListenerRule) GetBackendGroupId() string
func (*SLoadbalancerListenerRule) GetCondition ¶
func (lbr *SLoadbalancerListenerRule) GetCondition() string
func (*SLoadbalancerListenerRule) GetDomain ¶
func (lbr *SLoadbalancerListenerRule) GetDomain() string
func (*SLoadbalancerListenerRule) GetGlobalId ¶
func (lbr *SLoadbalancerListenerRule) GetGlobalId() string
func (*SLoadbalancerListenerRule) GetId ¶
func (lbr *SLoadbalancerListenerRule) GetId() string
func (*SLoadbalancerListenerRule) GetName ¶
func (lbr *SLoadbalancerListenerRule) GetName() string
func (*SLoadbalancerListenerRule) GetPath ¶
func (lbr *SLoadbalancerListenerRule) GetPath() string
func (*SLoadbalancerListenerRule) GetStatus ¶
func (lbr *SLoadbalancerListenerRule) GetStatus() string
func (*SLoadbalancerListenerRule) IsDefault ¶
func (self *SLoadbalancerListenerRule) IsDefault() bool
func (*SLoadbalancerListenerRule) IsEmulated ¶
func (lbr *SLoadbalancerListenerRule) IsEmulated() bool
func (*SLoadbalancerListenerRule) Refresh ¶
func (lbr *SLoadbalancerListenerRule) Refresh() error
type SLoadbalancerMasterSlaveBackend ¶
type SLoadbalancerMasterSlaveBackend struct { multicloud.SResourceBase ApsaraTags ServerId string Weight int Port int ServerType string DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerMasterSlaveBackend) GetBackendId ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetBackendId() string
func (*SLoadbalancerMasterSlaveBackend) GetBackendRole ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetBackendRole() string
func (*SLoadbalancerMasterSlaveBackend) GetBackendType ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetBackendType() string
func (*SLoadbalancerMasterSlaveBackend) GetGlobalId ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetGlobalId() string
func (*SLoadbalancerMasterSlaveBackend) GetId ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetId() string
func (*SLoadbalancerMasterSlaveBackend) GetIpAddress ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetIpAddress() string
func (*SLoadbalancerMasterSlaveBackend) GetName ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetName() string
func (*SLoadbalancerMasterSlaveBackend) GetPort ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetPort() int
func (*SLoadbalancerMasterSlaveBackend) GetStatus ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetStatus() string
func (*SLoadbalancerMasterSlaveBackend) GetWeight ¶
func (backend *SLoadbalancerMasterSlaveBackend) GetWeight() int
func (*SLoadbalancerMasterSlaveBackend) IsEmulated ¶
func (backend *SLoadbalancerMasterSlaveBackend) IsEmulated() bool
func (*SLoadbalancerMasterSlaveBackend) Refresh ¶
func (backend *SLoadbalancerMasterSlaveBackend) Refresh() error
type SLoadbalancerMasterSlaveBackendGroup ¶
type SLoadbalancerMasterSlaveBackendGroup struct { multicloud.SResourceBase ApsaraTags MasterSlaveServerGroupId string MasterSlaveServerGroupName string DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerMasterSlaveBackendGroup) AddBackendServer ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerMasterSlaveBackendGroup) Delete ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Delete(ctx context.Context) error
func (*SLoadbalancerMasterSlaveBackendGroup) GetGlobalId ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetGlobalId() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetHealthCheck ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetId ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetId() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetName ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetName() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetProtocolType ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetProtocolType() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetScheduler ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetScheduler() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetStatus ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStatus() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetStickySession ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetType ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetType() string
func (*SLoadbalancerMasterSlaveBackendGroup) IsDefault ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsDefault() bool
func (*SLoadbalancerMasterSlaveBackendGroup) IsEmulated ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsEmulated() bool
func (*SLoadbalancerMasterSlaveBackendGroup) Refresh ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Refresh() error
func (*SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
func (*SLoadbalancerMasterSlaveBackendGroup) Sync ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerServerCertificate ¶
type SLoadbalancerServerCertificate struct { multicloud.SResourceBase ApsaraTags ServerCertificateId string // 服务器证书ID。 ServerCertificateName string // 服务器证书名称。 Fingerprint string // 服务器证书的指纹。 CreateTime string // 服务器证书上传的时间。 CreateTimeStamp uint64 // 服务器证书上传的时间戳。 IsAliCloudCertificate int // 是否是阿里云证书。0代表不是阿里云证书。 AliCloudCertificateName string // 阿里云证书名称。 AliCloudCertificateId string // 阿里云证书ID。 ExpireTime time.Time // 过期时间。 ExpireTimeStamp uint64 // 过期时间戳。 CommonName string // 域名,对应证书的CommonName字段。 SubjectAlternativeNames SubjectAlternativeNames // 数组格式,返回证书的备用域名列表,对应证书的Subject Alternative Name字段,详情请参见SubjectAlternativeNames。 RegionId string // 负载均衡实例的地域。 DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerServerCertificate) Delete ¶
func (certificate *SLoadbalancerServerCertificate) Delete() error
func (*SLoadbalancerServerCertificate) GetCommonName ¶
func (certificate *SLoadbalancerServerCertificate) GetCommonName() string
func (*SLoadbalancerServerCertificate) GetExpireTime ¶
func (certificate *SLoadbalancerServerCertificate) GetExpireTime() time.Time
func (*SLoadbalancerServerCertificate) GetFingerprint ¶
func (certificate *SLoadbalancerServerCertificate) GetFingerprint() string
func (*SLoadbalancerServerCertificate) GetGlobalId ¶
func (certificate *SLoadbalancerServerCertificate) GetGlobalId() string
func (*SLoadbalancerServerCertificate) GetId ¶
func (certificate *SLoadbalancerServerCertificate) GetId() string
func (*SLoadbalancerServerCertificate) GetName ¶
func (certificate *SLoadbalancerServerCertificate) GetName() string
func (*SLoadbalancerServerCertificate) GetPrivateKey ¶
func (certificate *SLoadbalancerServerCertificate) GetPrivateKey() string
func (*SLoadbalancerServerCertificate) GetPublickKey ¶
func (certificate *SLoadbalancerServerCertificate) GetPublickKey() string
func (*SLoadbalancerServerCertificate) GetStatus ¶
func (certificate *SLoadbalancerServerCertificate) GetStatus() string
func (*SLoadbalancerServerCertificate) GetSubjectAlternativeNames ¶
func (certificate *SLoadbalancerServerCertificate) GetSubjectAlternativeNames() string
func (*SLoadbalancerServerCertificate) IsEmulated ¶
func (certificate *SLoadbalancerServerCertificate) IsEmulated() bool
func (*SLoadbalancerServerCertificate) Refresh ¶
func (certificate *SLoadbalancerServerCertificate) Refresh() error
type SLoadbalancerTCPListener ¶
type SLoadbalancerTCPListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase ApsaraTags ListenerPort int // 负载均衡实例前端使用的端口。 BackendServerPort int // 负载均衡实例后端使用的端口。 Bandwidth int // 监听的带宽峰值。 Status string // 当前监听的状态,取值:starting | running | configuring | stopping | stopped Description string Scheduler string // 调度算法。 VServerGroupId string // 绑定的服务器组ID。 MasterSlaveServerGroupId string // 绑定的主备服务器组ID。 AclStatus string // 是否开启访问控制功能。取值:on | off(默认值) PersistenceTimeout int //是否开启了会话保持。取值为0时,表示没有开启。 AclType string // 访问控制类型 AclId string // 监听绑定的访问策略组ID。当AclStatus参数的值为on时,该参数必选。 HealthCheck string // 是否开启健康检查。 HealthCheckType string //TCP协议监听的健康检查方式。取值:tcp | http HealthyThreshold int // 健康检查阈值。 UnhealthyThreshold int // 不健康检查阈值。 HealthCheckConnectTimeout int // 每次健康检查响应的最大超时间,单位为秒。 HealthCheckInterval int // 健康检查的时间间隔,单位为秒。 HealthCheckConnectPort int // 健康检查的端口。 DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerTCPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerTCPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) Delete ¶
func (listerner *SLoadbalancerTCPListener) Delete(ctx context.Context) error
func (*SLoadbalancerTCPListener) GetAclId ¶
func (listerner *SLoadbalancerTCPListener) GetAclId() string
func (*SLoadbalancerTCPListener) GetAclStatus ¶
func (listerner *SLoadbalancerTCPListener) GetAclStatus() string
func (*SLoadbalancerTCPListener) GetAclType ¶
func (listerner *SLoadbalancerTCPListener) GetAclType() string
func (*SLoadbalancerTCPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerTCPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerTCPListener) GetBackendGroupId() string
func (*SLoadbalancerTCPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerTCPListener) GetBackendServerPort() int
func (*SLoadbalancerTCPListener) GetCertificateId ¶
func (listerner *SLoadbalancerTCPListener) GetCertificateId() string
func (*SLoadbalancerTCPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetClientIdleTimeout() int
func (*SLoadbalancerTCPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerTCPListener) GetEgressMbps() int
func (*SLoadbalancerTCPListener) GetGlobalId ¶
func (listerner *SLoadbalancerTCPListener) GetGlobalId() string
func (*SLoadbalancerTCPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheck() string
func (*SLoadbalancerTCPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckCode() string
func (*SLoadbalancerTCPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckDomain() string
func (*SLoadbalancerTCPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckExp() string
func (*SLoadbalancerTCPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckFail() int
func (*SLoadbalancerTCPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckInterval() int
func (*SLoadbalancerTCPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckReq() string
func (*SLoadbalancerTCPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckRise() int
func (*SLoadbalancerTCPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerTCPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckType() string
func (*SLoadbalancerTCPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckURI() string
func (*SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerTCPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) GetId ¶
func (listerner *SLoadbalancerTCPListener) GetId() string
func (*SLoadbalancerTCPListener) GetListenerPort ¶
func (listerner *SLoadbalancerTCPListener) GetListenerPort() int
func (*SLoadbalancerTCPListener) GetListenerType ¶
func (listerner *SLoadbalancerTCPListener) GetListenerType() string
func (*SLoadbalancerTCPListener) GetName ¶
func (listener *SLoadbalancerTCPListener) GetName() string
func (*SLoadbalancerTCPListener) GetScheduler ¶
func (listerner *SLoadbalancerTCPListener) GetScheduler() string
func (*SLoadbalancerTCPListener) GetStatus ¶
func (listerner *SLoadbalancerTCPListener) GetStatus() string
func (*SLoadbalancerTCPListener) GetStickySession ¶
func (listerner *SLoadbalancerTCPListener) GetStickySession() string
func (*SLoadbalancerTCPListener) GetStickySessionCookie ¶
func (listerner *SLoadbalancerTCPListener) GetStickySessionCookie() string
func (*SLoadbalancerTCPListener) GetStickySessionCookieTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetStickySessionCookieTimeout() int
func (*SLoadbalancerTCPListener) GetStickySessionType ¶
func (listerner *SLoadbalancerTCPListener) GetStickySessionType() string
func (*SLoadbalancerTCPListener) GetTLSCipherPolicy ¶
func (listerner *SLoadbalancerTCPListener) GetTLSCipherPolicy() string
func (*SLoadbalancerTCPListener) GzipEnabled ¶
func (listerner *SLoadbalancerTCPListener) GzipEnabled() bool
func (*SLoadbalancerTCPListener) HTTP2Enabled ¶
func (listerner *SLoadbalancerTCPListener) HTTP2Enabled() bool
func (*SLoadbalancerTCPListener) IsEmulated ¶
func (listerner *SLoadbalancerTCPListener) IsEmulated() bool
func (*SLoadbalancerTCPListener) Refresh ¶
func (listerner *SLoadbalancerTCPListener) Refresh() error
func (*SLoadbalancerTCPListener) Start ¶
func (listerner *SLoadbalancerTCPListener) Start() error
func (*SLoadbalancerTCPListener) Stop ¶
func (listerner *SLoadbalancerTCPListener) Stop() error
func (*SLoadbalancerTCPListener) Sync ¶
func (listerner *SLoadbalancerTCPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
func (*SLoadbalancerTCPListener) XForwardedForEnabled ¶
func (listerner *SLoadbalancerTCPListener) XForwardedForEnabled() bool
type SLoadbalancerUDPListener ¶
type SLoadbalancerUDPListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase ApsaraTags ListenerPort int // 负载均衡实例前端使用的端口。 BackendServerPort int // 负载均衡实例后端使用的端口。 Bandwidth int // 监听的带宽峰值。 Status string // 当前监听的状态,取值:starting | running | configuring | stopping | stopped Description string Scheduler string // 调度算法 VServerGroupId string // 绑定的服务器组ID。 MasterSlaveServerGroupId string // 绑定的主备服务器组ID。 AclStatus string // 是否开启访问控制功能。取值:on | off(默认值) AclType string // 访问控制类型: AclId string // 监听绑定的访问策略组ID。当AclStatus参数的值为on时,该参数必选。 HealthCheck string // 是否开启健康检查。 HealthyThreshold int // 健康检查阈值。 UnhealthyThreshold int // 不健康检查阈值。 HealthCheckConnectTimeout int // 每次健康检查响应的最大超时间,单位为秒。 HealthCheckInterval int // 健康检查的时间间隔,单位为秒。 HealthCheckConnectPort int // 健康检查的端口。 HealthCheckExp string // UDP监听健康检查的响应串 HealthCheckReq string // UDP监听健康检查的请求串 DepartmentInfo // contains filtered or unexported fields }
func (*SLoadbalancerUDPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerUDPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) Delete ¶
func (listerner *SLoadbalancerUDPListener) Delete(ctx context.Context) error
func (*SLoadbalancerUDPListener) GetAclId ¶
func (listerner *SLoadbalancerUDPListener) GetAclId() string
func (*SLoadbalancerUDPListener) GetAclStatus ¶
func (listerner *SLoadbalancerUDPListener) GetAclStatus() string
func (*SLoadbalancerUDPListener) GetAclType ¶
func (listerner *SLoadbalancerUDPListener) GetAclType() string
func (*SLoadbalancerUDPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerUDPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerUDPListener) GetBackendGroupId() string
func (*SLoadbalancerUDPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerUDPListener) GetBackendServerPort() int
func (*SLoadbalancerUDPListener) GetCertificateId ¶
func (listerner *SLoadbalancerUDPListener) GetCertificateId() string
func (*SLoadbalancerUDPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetClientIdleTimeout() int
func (*SLoadbalancerUDPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerUDPListener) GetEgressMbps() int
func (*SLoadbalancerUDPListener) GetGlobalId ¶
func (listerner *SLoadbalancerUDPListener) GetGlobalId() string
func (*SLoadbalancerUDPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheck() string
func (*SLoadbalancerUDPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckCode() string
func (*SLoadbalancerUDPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckDomain() string
func (*SLoadbalancerUDPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckExp() string
func (*SLoadbalancerUDPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckFail() int
func (*SLoadbalancerUDPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckInterval() int
func (*SLoadbalancerUDPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckReq() string
func (*SLoadbalancerUDPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckRise() int
func (*SLoadbalancerUDPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerUDPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckType() string
func (*SLoadbalancerUDPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckURI() string
func (*SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerUDPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) GetId ¶
func (listerner *SLoadbalancerUDPListener) GetId() string
func (*SLoadbalancerUDPListener) GetListenerPort ¶
func (listerner *SLoadbalancerUDPListener) GetListenerPort() int
func (*SLoadbalancerUDPListener) GetListenerType ¶
func (listerner *SLoadbalancerUDPListener) GetListenerType() string
func (*SLoadbalancerUDPListener) GetName ¶
func (listener *SLoadbalancerUDPListener) GetName() string
func (*SLoadbalancerUDPListener) GetScheduler ¶
func (listerner *SLoadbalancerUDPListener) GetScheduler() string
func (*SLoadbalancerUDPListener) GetStatus ¶
func (listerner *SLoadbalancerUDPListener) GetStatus() string
func (*SLoadbalancerUDPListener) GetStickySession ¶
func (listerner *SLoadbalancerUDPListener) GetStickySession() string
func (*SLoadbalancerUDPListener) GetStickySessionCookie ¶
func (listerner *SLoadbalancerUDPListener) GetStickySessionCookie() string
func (*SLoadbalancerUDPListener) GetStickySessionCookieTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetStickySessionCookieTimeout() int
func (*SLoadbalancerUDPListener) GetStickySessionType ¶
func (listerner *SLoadbalancerUDPListener) GetStickySessionType() string
func (*SLoadbalancerUDPListener) GetTLSCipherPolicy ¶
func (listerner *SLoadbalancerUDPListener) GetTLSCipherPolicy() string
func (*SLoadbalancerUDPListener) GzipEnabled ¶
func (listerner *SLoadbalancerUDPListener) GzipEnabled() bool
func (*SLoadbalancerUDPListener) HTTP2Enabled ¶
func (listerner *SLoadbalancerUDPListener) HTTP2Enabled() bool
func (*SLoadbalancerUDPListener) IsEmulated ¶
func (listerner *SLoadbalancerUDPListener) IsEmulated() bool
func (*SLoadbalancerUDPListener) Refresh ¶
func (listerner *SLoadbalancerUDPListener) Refresh() error
func (*SLoadbalancerUDPListener) Start ¶
func (listerner *SLoadbalancerUDPListener) Start() error
func (*SLoadbalancerUDPListener) Stop ¶
func (listerner *SLoadbalancerUDPListener) Stop() error
func (*SLoadbalancerUDPListener) Sync ¶
func (listerner *SLoadbalancerUDPListener) Sync(ctx context.Context, lblis *cloudprovider.SLoadbalancerListener) error
func (*SLoadbalancerUDPListener) XForwardedForEnabled ¶
func (listerner *SLoadbalancerUDPListener) XForwardedForEnabled() bool
type SLoginProfile ¶
type SMountInstances ¶
type SMountInstances struct {
MountInstance []string
}
type SNatGetway ¶
type SNatGetway struct { multicloud.SNatGatewayBase ApsaraTags BandwidthPackageIds SBandwidthPackageIds BusinessStatus string CreationTime time.Time ExpiredTime time.Time Description string ForwardTableIds SForwardTableIds SnatTableIds SSnatTableIds InstanceChargeType TChargeType Name string NatGatewayId string RegionId string Spec string Status string VpcId string // contains filtered or unexported fields }
func (*SNatGetway) CreateINatDEntry ¶
func (nat *SNatGetway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGetway) CreateINatSEntry ¶
func (nat *SNatGetway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
func (*SNatGetway) GetBillingType ¶
func (nat *SNatGetway) GetBillingType() string
func (*SNatGetway) GetCreatedAt ¶
func (nat *SNatGetway) GetCreatedAt() time.Time
func (*SNatGetway) GetExpiredAt ¶
func (nat *SNatGetway) GetExpiredAt() time.Time
func (*SNatGetway) GetGlobalId ¶
func (nat *SNatGetway) GetGlobalId() string
func (*SNatGetway) GetIEips ¶
func (nat *SNatGetway) GetIEips() ([]cloudprovider.ICloudEIP, error)
func (*SNatGetway) GetINatDEntryByID ¶
func (nat *SNatGetway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGetway) GetINatDTable ¶
func (nat *SNatGetway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
func (*SNatGetway) GetINatSEntryByID ¶
func (nat *SNatGetway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
func (*SNatGetway) GetINatSTable ¶
func (nat *SNatGetway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
func (*SNatGetway) GetINetworkId ¶
func (self *SNatGetway) GetINetworkId() string
func (*SNatGetway) GetId ¶
func (nat *SNatGetway) GetId() string
func (*SNatGetway) GetName ¶
func (nat *SNatGetway) GetName() string
func (*SNatGetway) GetNatSpec ¶
func (nat *SNatGetway) GetNatSpec() string
func (*SNatGetway) GetStatus ¶
func (nat *SNatGetway) GetStatus() string
type SNetInfo ¶
type SNetInfo struct { ConnectionString string `json:"ConnectionString"` Port string `json:"Port"` DBInstanceNetType string `json:"DBInstanceNetType"` VPCID string `json:"VPCId"` VPCInstanceID string `json:"VPCInstanceId"` IPAddress string `json:"IPAddress"` IPType string `json:"IPType"` Upgradeable string `json:"Upgradeable"` ExpiredTime *string `json:"ExpiredTime,omitempty"` }
type SNetworkInterface ¶
type SNetworkInterface struct { multicloud.SNetworkInterfaceBase ApsaraTags InstanceId string CreationTime time.Time MacAddress string NetworkInterfaceName string PrivateIpSets SPrivateIpSets SecurityGroupIds SSecurityGroupIds Status string Type string VSwitchId string VpcId string ZoneId string NetworkInterfaceId string PrimaryIpAddress string PrivateIpAddress string DepartmentInfo // contains filtered or unexported fields }
func (*SNetworkInterface) GetAssociateId ¶
func (nic *SNetworkInterface) GetAssociateId() string
func (*SNetworkInterface) GetAssociateType ¶
func (nic *SNetworkInterface) GetAssociateType() string
func (*SNetworkInterface) GetGlobalId ¶
func (nic *SNetworkInterface) GetGlobalId() string
func (*SNetworkInterface) GetICloudInterfaceAddresses ¶
func (nic *SNetworkInterface) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
func (*SNetworkInterface) GetId ¶
func (nic *SNetworkInterface) GetId() string
func (*SNetworkInterface) GetMacAddress ¶
func (nic *SNetworkInterface) GetMacAddress() string
func (*SNetworkInterface) GetName ¶
func (nic *SNetworkInterface) GetName() string
func (*SNetworkInterface) GetStatus ¶
func (nic *SNetworkInterface) GetStatus() string
type SNetworkInterfaces ¶
type SNetworkInterfaces struct {
NetworkInterface []SNetworkInterface
}
type SObject ¶
type SObject struct { cloudprovider.SBaseCloudObject // contains filtered or unexported fields }
func (*SObject) GetAcl ¶
func (o *SObject) GetAcl() cloudprovider.TBucketACLType
func (*SObject) GetIBucket ¶
func (o *SObject) GetIBucket() cloudprovider.ICloudBucket
func (*SObject) SetAcl ¶
func (o *SObject) SetAcl(aclStr cloudprovider.TBucketACLType) error
type SOperationLocks ¶
type SOperationLocks struct {
LockReason []string
}
type SOrganization ¶
type SOrganizationTree ¶
type SOrganizationTree struct { Active bool Alias string Id string Name string ParentId string MultiCCloudStatus string Children []SOrganizationTree ResourceGroupList ResourceGroupList SupportRegions string UUID string }
func (*SOrganizationTree) GetProject ¶
func (self *SOrganizationTree) GetProject(tags []string) []SProject
func (*SOrganizationTree) ListProjects ¶
func (self *SOrganizationTree) ListProjects() []SResourceGroupList
type SPermission ¶
type SPermission struct { CreateTime time.Time Description string DestCidrIp string DestGroupId string DestGroupName string DestGroupOwnerAccount string Direction string IpProtocol string NicType SecurityGroupPermissionNicType Policy string PortRange string Priority int SourceCidrIp string SourceGroupId string SourceGroupName string SourceGroupOwnerAccount string }
type SPermissions ¶
type SPermissions struct {
Permission []SPermission
}
type SPolicy ¶
type SPolicy struct { AttachmentCount int CreateDate time.Time UpdateDate time.Time DefaultVersion string Description string PolicyName string PolicyType string // contains filtered or unexported fields }
func (*SPolicy) GetDescription ¶
func (*SPolicy) GetGlobalId ¶
type SPolicyDetails ¶
type SPolicyDetails struct { Policy SPolicy DefaultPolicyVersion SDefaultPolicyVersion }
type SPolicyDocument ¶
type SPolicyDocument struct { Statement []SStatement `json:"Statement,allowempty"` Version string `json:"Version"` }
type SPrivateIp ¶
type SPrivateIp struct { Primary bool PrivateIpAddress string // contains filtered or unexported fields }
func (*SPrivateIp) GetGlobalId ¶
func (ip *SPrivateIp) GetGlobalId() string
func (*SPrivateIp) GetINetworkId ¶
func (ip *SPrivateIp) GetINetworkId() string
func (*SPrivateIp) GetIP ¶
func (ip *SPrivateIp) GetIP() string
func (*SPrivateIp) IsPrimary ¶
func (ip *SPrivateIp) IsPrimary() bool
type SPrivateIpSets ¶
type SPrivateIpSets struct {
PrivateIpSet []SPrivateIp
}
type SProject ¶
type SProject struct { multicloud.SProjectBase Id string Name string Tags []string // contains filtered or unexported fields }
func (*SProject) GetGlobalId ¶
func (*SProject) GetSysTags ¶
type SQuota ¶
func (*SQuota) GetCurrentQuotaUsedCount ¶
func (*SQuota) GetGlobalId ¶
func (*SQuota) GetMaxQuotaCount ¶
func (*SQuota) GetQuotaType ¶
type SReadOnlyDBInstanceIds ¶
type SReadOnlyDBInstanceIds struct {
ReadOnlyDBInstanceId []string
}
type SRegion ¶
type SRegion struct { multicloud.SRegion RegionId string LocalName string // contains filtered or unexported fields }
func (*SRegion) AddAccessControlListEntry ¶
func (region *SRegion) AddAccessControlListEntry(aclId string, entrys []cloudprovider.SLoadbalancerAccessControlListEntry) error
func (*SRegion) AddBackendServer ¶
func (*SRegion) AddBackendVServer ¶
func (*SRegion) AddSecurityGroupRules ¶
func (self *SRegion) AddSecurityGroupRules(secGrpId string, rule secrules.SecurityRule) error
func (*SRegion) AllocateEIP ¶
func (region *SRegion) AllocateEIP(bwMbps int, chargeType TInternetChargeType, projectId string) (*SEipAddress, error)
func (*SRegion) ApplySnapshotPolicyToDisks ¶
func (*SRegion) AssignSecurityGroup ¶
func (*SRegion) AssociateEip ¶
func (*SRegion) AssociateRouteTable ¶
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachKeypair ¶
func (*SRegion) CancelImageImportTasks ¶
func (*SRegion) CancelSnapshotPolicyToDisks ¶
func (*SRegion) CancelTask ¶
func (*SRegion) ChangeDBInstanceConfig ¶
func (region *SRegion) ChangeDBInstanceConfig(instanceId, payType string, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SRegion) ChangeVMConfig ¶
func (*SRegion) ChangeVMConfig2 ¶
func (*SRegion) ClosePublicConnection ¶
func (*SRegion) ConvertPublicIpToEip ¶
func (*SRegion) CreateDBInstanceAccount ¶
func (*SRegion) CreateDBInstanceDatabae ¶
func (*SRegion) CreateDisk ¶
func (*SRegion) CreateEIP ¶
func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateForwardTableEntry ¶
func (*SRegion) CreateIBucket ¶
func (*SRegion) CreateIDBInstance ¶
func (region *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) CreateIElasticcaches ¶
func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
https://help.apsara.com/document_detail/60873.html?spm=a2c4g.11174283.6.715.7412dce0qSYemb
func (*SRegion) CreateILoadBalancer ¶
func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) CreateILoadBalancerAcl ¶
func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) CreateISecurityGroup ¶
func (region *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateImage ¶
func (*SRegion) CreateInstance ¶
func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, securityGroupId string, zoneId string, desc string, passwd string, disks []SDisk, vSwitchId string, ipAddr string, keypair string, userData string, bc *billing.SBillingCycle, projectId, osType string, tags map[string]string, ) (string, error)
func (*SRegion) CreateInstanceSimple ¶
func (*SRegion) CreateLoadbalancerBackendGroup ¶
func (region *SRegion) CreateLoadbalancerBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerBackendGroup, error)
func (*SRegion) CreateLoadbalancerHTTPListener ¶
func (region *SRegion) CreateLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerHTTPSListener ¶
func (region *SRegion) CreateLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerListenerRule ¶
func (region *SRegion) CreateLoadbalancerListenerRule(listenerPort int, loadbalancerId string, _rule *SLoadbalancerListenerRule) (*SLoadbalancerListenerRule, error)
func (*SRegion) CreateLoadbalancerMasterSlaveBackendGroup ¶
func (region *SRegion) CreateLoadbalancerMasterSlaveBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) CreateLoadbalancerTCPListener ¶
func (region *SRegion) CreateLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerUDPListener ¶
func (region *SRegion) CreateLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateSNATTableEntry ¶
func (*SRegion) CreateSecurityGroup ¶
func (*SRegion) CreateSnapshot ¶
func (*SRegion) CreateSnapshotPolicy ¶
func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
func (*SRegion) DeallocateEIP ¶
func (*SRegion) DelSecurityGroupRule ¶
func (self *SRegion) DelSecurityGroupRule(secGrpId string, rule secrules.SecurityRule) error
func (*SRegion) DeleteDBInstance ¶
func (*SRegion) DeleteDBInstanceAccount ¶
func (*SRegion) DeleteDBInstanceBackup ¶
func (*SRegion) DeleteDBInstanceDatabase ¶
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteForwardTableEntry ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteLoadBalancerBackendGroup ¶
func (*SRegion) DeleteLoadbalancerListener ¶
func (*SRegion) DeleteLoadbalancerListenerRule ¶
func (*SRegion) DeleteLoadbalancerMasterSlaveBackendgroup ¶
func (*SRegion) DeleteSecurityGroup ¶
func (*SRegion) DeleteServerCertificate ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteSnapshotPolicy ¶
func (*SRegion) DeleteSnatEntry ¶
func (*SRegion) DeleteVSwitch ¶
func (*SRegion) DetachDisk ¶
func (*SRegion) DetachKeyPair ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) ExportImage ¶
func (self *SRegion) ExportImage(imageId string, bucketName string) (*ImageExportTask, error)
func (*SRegion) GetAccountAttributes ¶
func (region *SRegion) GetAccountAttributes() ([]SAccountAttributeItem, error)
func (*SRegion) GetAllDTables ¶
func (region *SRegion) GetAllDTables(tableId string) ([]SForwardTableEntry, error)
func (*SRegion) GetBucketAcl ¶
func (*SRegion) GetBucketCapacity ¶
func (*SRegion) GetBucketSize ¶
func (*SRegion) GetBuckets ¶
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SApsaraClient
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetDBInstanceAccounts ¶
func (*SRegion) GetDBInstanceBackupJobs ¶
func (region *SRegion) GetDBInstanceBackupJobs(instanceId, jobId string) (*SDBInstanceBackupJobs, error)
func (*SRegion) GetDBInstanceBackups ¶
func (*SRegion) GetDBInstanceDatabases ¶
func (*SRegion) GetDBInstanceDetail ¶
func (region *SRegion) GetDBInstanceDetail(instanceId string) (*SDBInstance, error)
func (*SRegion) GetDBInstanceNetInfo ¶
func (region *SRegion) GetDBInstanceNetInfo(instanceId string) ([]SDBInstanceNetwork, error)
func (*SRegion) GetDBInstanceParameters ¶
func (region *SRegion) GetDBInstanceParameters(instanceId string) ([]SDBInstanceParameter, error)
func (*SRegion) GetDBInstances ¶
func (*SRegion) GetElasticCacheAccountByName ¶
func (self *SRegion) GetElasticCacheAccountByName(instanceId string, accountName string) (*SElasticcacheAccount, error)
func (*SRegion) GetElasticCacheAccounts ¶
func (self *SRegion) GetElasticCacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
https://help.apsara.com/document_detail/95802.html?spm=a2c4g.11186623.6.746.143e782f3Pfkfg
func (*SRegion) GetElasticCacheAcls ¶
func (self *SRegion) GetElasticCacheAcls(instanceId string) ([]SElasticcacheAcl, error)
https://help.apsara.com/document_detail/63889.html?spm=a2c4g.11186623.6.764.3cb43852R7lnoS
func (*SRegion) GetElasticCacheBackups ¶
func (self *SRegion) GetElasticCacheBackups(instanceId, startTime, endTime string) ([]SElasticcacheBackup, error)
https://help.apsara.com/document_detail/61081.html?spm=a2c4g.11186623.6.754.10613852qAbEQV
func (*SRegion) GetElasticCacheById ¶
func (self *SRegion) GetElasticCacheById(instanceId string) (*SElasticcache, error)
func (*SRegion) GetElasticCacheParameters ¶
func (self *SRegion) GetElasticCacheParameters(instanceId string) ([]SElasticcacheParameter, error)
https://help.apsara.com/document_detail/93078.html?spm=a2c4g.11186623.6.769.58011975YYL5Gl
func (*SRegion) GetElasticCaches ¶
func (self *SRegion) GetElasticCaches(instanceIds []string) ([]SElasticcache, error)
func (*SRegion) GetForwardTableEntries ¶
func (*SRegion) GetForwardTableEntry ¶
func (region *SRegion) GetForwardTableEntry(tableID, forwardEntryID string) (SForwardTableEntry, error)
func (*SRegion) GetGeographicInfo ¶
func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
func (*SRegion) GetGlobalId ¶
func (*SRegion) GetI18n ¶
func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
func (*SRegion) GetIBucketById ¶
func (self *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
func (*SRegion) GetIBucketByName ¶
func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
func (*SRegion) GetIBuckets ¶
func (self *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
func (*SRegion) GetICloudQuotas ¶
func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
func (*SRegion) GetICloudTablestores ¶
func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, error)
func (*SRegion) GetIDBInstanceBackupById ¶
func (region *SRegion) GetIDBInstanceBackupById(backupId string) (cloudprovider.ICloudDBInstanceBackup, error)
func (*SRegion) GetIDBInstanceBackups ¶
func (region *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SRegion) GetIDBInstanceById ¶
func (region *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDBInstances ¶
func (region *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDiskById ¶
func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SRegion) GetIEipById ¶
func (self *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIElasticcacheById ¶
func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIElasticcaches ¶
func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIHostById ¶
func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetILoadBalancerAclById ¶
func (region *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerAcls ¶
func (region *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerBackendGroups ¶
func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SRegion) GetILoadBalancerById ¶
func (region *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetILoadBalancerCertificateById ¶
func (region *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancerCertificates ¶
func (region *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancers ¶
func (region *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetINetworkInterfaces ¶
func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
func (*SRegion) GetIPv6Gateway ¶
func (self *SRegion) GetIPv6Gateway(id string) (*SIPv6Gateway, error)
func (*SRegion) GetIPv6Gateways ¶
func (*SRegion) GetISecurityGroupById ¶
func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISecurityGroupByName ¶
func (region *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetISnapshotPolicies ¶
func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshotPolicyById ¶
func (self *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshots ¶
func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetIStorageById ¶
func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (region *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (region *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStorages ¶
func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SRegion) GetIVMById ¶
func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SRegion) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetImageStatus ¶
func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
func (*SRegion) GetImages ¶
func (self *SRegion) GetImages(status ImageStatusType, owner ImageOwnerType, imageId []string, name string, offset int, limit int) ([]SImage, int, error)
func (*SRegion) GetImagesBySnapshot ¶
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceAutoRenewAttribute ¶
func (region *SRegion) GetInstanceAutoRenewAttribute(instanceId string) (*SAutoRenewAttr, error)
func (*SRegion) GetInstanceStatus ¶
func (*SRegion) GetInstanceTypes ¶
func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
func (*SRegion) GetInstanceVNCUrl ¶
func (*SRegion) GetInstances ¶
func (*SRegion) GetKeypairs ¶
func (*SRegion) GetLoadBalancerAcls ¶
func (region *SRegion) GetLoadBalancerAcls() ([]SLoadbalancerAcl, error)
func (*SRegion) GetLoadbalancerAclDetail ¶
func (region *SRegion) GetLoadbalancerAclDetail(aclId string) (*SLoadbalancerAcl, error)
func (*SRegion) GetLoadbalancerBackendgroupById ¶
func (region *SRegion) GetLoadbalancerBackendgroupById(groupId string) (*SLoadbalancerBackendGroup, error)
func (*SRegion) GetLoadbalancerBackendgroups ¶
func (region *SRegion) GetLoadbalancerBackendgroups(loadbalancerId string) ([]SLoadbalancerBackendGroup, error)
func (*SRegion) GetLoadbalancerBackends ¶
func (region *SRegion) GetLoadbalancerBackends(backendgroupId string) ([]SLoadbalancerBackend, error)
func (*SRegion) GetLoadbalancerDetail ¶
func (region *SRegion) GetLoadbalancerDetail(loadbalancerId string) (*SLoadbalancer, error)
func (*SRegion) GetLoadbalancerHTTPListener ¶
func (region *SRegion) GetLoadbalancerHTTPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPListener, error)
func (*SRegion) GetLoadbalancerHTTPSListener ¶
func (region *SRegion) GetLoadbalancerHTTPSListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPSListener, error)
func (*SRegion) GetLoadbalancerListenerRule ¶
func (region *SRegion) GetLoadbalancerListenerRule(ruleId string) (*SLoadbalancerListenerRule, error)
func (*SRegion) GetLoadbalancerListenerRules ¶
func (region *SRegion) GetLoadbalancerListenerRules(loadbalancerId string, listenerPort int) ([]SLoadbalancerListenerRule, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackendgroupById ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroupById(groupId string) (*SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackendgroups ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroups(loadbalancerId string) ([]SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackends ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackends(backendgroupId string) ([]SLoadbalancerMasterSlaveBackend, error)
func (*SRegion) GetLoadbalancerServerCertificates ¶
func (region *SRegion) GetLoadbalancerServerCertificates() ([]SLoadbalancerServerCertificate, error)
func (*SRegion) GetLoadbalancerTCPListener ¶
func (region *SRegion) GetLoadbalancerTCPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerTCPListener, error)
func (*SRegion) GetLoadbalancerUDPListener ¶
func (region *SRegion) GetLoadbalancerUDPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerUDPListener, error)
func (*SRegion) GetLoadbalancers ¶
func (region *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
func (*SRegion) GetMatchInstanceTypes ¶
func (*SRegion) GetNatGateways ¶
func (*SRegion) GetNetworkInterfaces ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetRouteTables ¶
func (*SRegion) GetSNATEntries ¶
func (*SRegion) GetSNATEntry ¶
func (self *SRegion) GetSNATEntry(tableID, SNATEntryID string) (SSNATTableEntry, error)
func (*SRegion) GetSecurityGroupDetails ¶
func (self *SRegion) GetSecurityGroupDetails(secGroupId string) (*SSecurityGroup, error)
func (*SRegion) GetSecurityGroups ¶
func (*SRegion) GetSnapshotPolicies ¶
func (*SRegion) GetSnapshots ¶
func (*SRegion) GetTablestoreInstances ¶
func (self *SRegion) GetTablestoreInstances(pageSize, pageNumber int) ([]STablestore, int, error)
func (*SRegion) GetTaskStatus ¶
func (self *SRegion) GetTaskStatus(action TaskActionType, taskId string) (TaskStatusType, error)
func (*SRegion) GetTasks ¶
func (self *SRegion) GetTasks(action TaskActionType, taskId []string, taskStatus TaskStatusType, offset int, limit int) ([]STask, int, error)
func (*SRegion) GetVRouters ¶
func (*SRegion) GetVSwitchAttributes ¶
func (*SRegion) GetVSwitches ¶
func (*SRegion) GrantDBInstancePrivilege ¶
func (*SRegion) ImportImage ¶
func (*SRegion) ImportKeypair ¶
func (*SRegion) IsEmulated ¶
func (*SRegion) ListResourceTags ¶
func (*SRegion) ModifyInstanceVNCUrlPassword ¶
func (*SRegion) OpenPublicConnection ¶
func (*SRegion) RebootDBInstance ¶
func (*SRegion) RecoveryDBInstanceFromBackup ¶
func (*SRegion) RemoveAccessControlListEntry ¶
func (region *SRegion) RemoveAccessControlListEntry(aclId string, data jsonutils.JSONObject) error
func (*SRegion) RemoveBackendServer ¶
func (*SRegion) RemoveBackendVServer ¶
func (*SRegion) RenewDBInstance ¶
func (region *SRegion) RenewDBInstance(instanceId string, bc billing.SBillingCycle) error
func (*SRegion) RenewInstance ¶
func (region *SRegion) RenewInstance(instanceId string, bc billing.SBillingCycle) error
func (*SRegion) ReplaceSystemDisk ¶
func (*SRegion) ResetDBInstanceAccountPassword ¶
func (*SRegion) RevokeDBInstancePrivilege ¶
func (*SRegion) SetInstanceAutoRenew ¶
func (*SRegion) SetResourceTags ¶
func (*SRegion) SetSecurityGroups ¶
func (*SRegion) SnapshotPreDelete ¶
If snapshot linked images can't be delete delete images first -- Apsara
func (*SRegion) SyncLoadbalancerHTTPListener ¶
func (region *SRegion) SyncLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
func (*SRegion) SyncLoadbalancerHTTPSListener ¶
func (region *SRegion) SyncLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
func (*SRegion) SyncLoadbalancerTCPListener ¶
func (region *SRegion) SyncLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
func (*SRegion) SyncLoadbalancerUDPListener ¶
func (region *SRegion) SyncLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListener) error
func (*SRegion) TagResources ¶
func (*SRegion) UnassociateRouteTable ¶
func (*SRegion) UntagResources ¶
func (*SRegion) UpdateAclName ¶
func (*SRegion) UpdateEipBandwidth ¶
func (*SRegion) UpdateInstancePassword ¶
func (*SRegion) UpdateLoadBalancerBackendGroupName ¶
func (*SRegion) UpdateServerCertificateName ¶
func (*SRegion) UpdateSnapshotPolicy ¶
func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error
type SResourceCreation ¶
type SResourceCreation struct {
ResourceTypes []string
}
type SResourceGroup ¶
type SResourceGroup struct { multicloud.SProjectBase ApsaraTags Creator string GmtCreated string Id string OrganizationId string OrganizationName string ResourceGroupName string RsId string // contains filtered or unexported fields }
func (*SResourceGroup) GetDomainId ¶
func (self *SResourceGroup) GetDomainId() string
func (*SResourceGroup) GetDomainName ¶
func (self *SResourceGroup) GetDomainName() string
func (*SResourceGroup) GetGlobalId ¶
func (self *SResourceGroup) GetGlobalId() string
func (*SResourceGroup) GetId ¶
func (self *SResourceGroup) GetId() string
func (*SResourceGroup) GetName ¶
func (self *SResourceGroup) GetName() string
func (*SResourceGroup) GetStatus ¶
func (self *SResourceGroup) GetStatus() string
func (*SResourceGroup) Refresh ¶
func (self *SResourceGroup) Refresh() error
type SResourceGroupList ¶
type SResources ¶
type SResources struct {
ResourcesInfo []SResourcesInfo
}
type SResourcesInfo ¶
type SResourcesInfo struct { DataDiskCategories SSupportedDataDiskCategories InstanceGenerations SSupportedInstanceGenerations InstanceTypeFamilies SSupportedInstanceTypeFamilies InstanceTypes SSupportedInstanceTypes IoOptimized bool NetworkTypes SSupportedNetworkTypes SystemDiskCategories SSupportedSystemDiskCategories }
type SRouteEntry ¶
type SRouteEntry struct { multicloud.SResourceBase ApsaraTags RouteTableId string Type string DestinationCidrBlock string NextHopType string InstanceId string RouteEntryId string RouteEntryName string NextHops SNextHops // contains filtered or unexported fields }
func (*SRouteEntry) GetCidr ¶
func (route *SRouteEntry) GetCidr() string
func (*SRouteEntry) GetGlobalId ¶
func (route *SRouteEntry) GetGlobalId() string
func (*SRouteEntry) GetId ¶
func (route *SRouteEntry) GetId() string
func (*SRouteEntry) GetName ¶
func (route *SRouteEntry) GetName() string
func (*SRouteEntry) GetNextHop ¶
func (route *SRouteEntry) GetNextHop() string
func (*SRouteEntry) GetNextHopType ¶
func (route *SRouteEntry) GetNextHopType() string
func (*SRouteEntry) GetStatus ¶
func (route *SRouteEntry) GetStatus() string
func (*SRouteEntry) IsEmulated ¶
func (route *SRouteEntry) IsEmulated() bool
func (*SRouteEntry) Refresh ¶
func (route *SRouteEntry) Refresh() error
type SRouteEntrys ¶
type SRouteEntrys struct {
RouteEntry []*SRouteEntry
}
type SRouteTable ¶
type SRouteTable struct { multicloud.SResourceBase ApsaraTags VpcId string CreationTime time.Time RouteEntrys SRouteEntrys VRouterId string Description string RouteTableId string RouteTableName string RouteTableType string RouterId string RouterType string VSwitchIds SRouteTableVSwitchIds // contains filtered or unexported fields }
func (*SRouteTable) CreateRoute ¶
func (self *SRouteTable) CreateRoute(route cloudprovider.RouteSet) error
func (*SRouteTable) GetAssociations ¶
func (self *SRouteTable) GetAssociations() []cloudprovider.RouteTableAssociation
func (*SRouteTable) GetDescription ¶
func (self *SRouteTable) GetDescription() string
func (*SRouteTable) GetGlobalId ¶
func (self *SRouteTable) GetGlobalId() string
func (*SRouteTable) GetIRoutes ¶
func (self *SRouteTable) GetIRoutes() ([]cloudprovider.ICloudRoute, error)
func (*SRouteTable) GetId ¶
func (self *SRouteTable) GetId() string
func (*SRouteTable) GetName ¶
func (self *SRouteTable) GetName() string
func (*SRouteTable) GetRegionId ¶
func (self *SRouteTable) GetRegionId() string
func (*SRouteTable) GetStatus ¶
func (self *SRouteTable) GetStatus() string
func (*SRouteTable) GetType ¶
func (self *SRouteTable) GetType() cloudprovider.RouteTableType
VRouter:VPC路由器。 VBR:边界路由器。
func (*SRouteTable) GetVpcId ¶
func (self *SRouteTable) GetVpcId() string
func (*SRouteTable) IsEmulated ¶
func (self *SRouteTable) IsEmulated() bool
func (*SRouteTable) IsSystem ¶
func (routeTable *SRouteTable) IsSystem() bool
func (*SRouteTable) Refresh ¶
func (self *SRouteTable) Refresh() error
func (*SRouteTable) RemoteGetRoutes ¶
func (self *SRouteTable) RemoteGetRoutes(offset int, limit int) ([]*SRouteEntry, int, error)
func (*SRouteTable) RemoveRoute ¶
func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
func (*SRouteTable) UpdateRoute ¶
func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
type SRouteTableIds ¶
type SRouteTableIds struct {
RouteTableId []string
}
type SRouteTableVSwitchIds ¶
type SRouteTableVSwitchIds struct {
VSwitchId []string
}
type SSNATTableEntry ¶
type SSNATTableEntry struct { multicloud.SResourceBase ApsaraTags SnatEntryId string SnatEntryName string SnatIp string SnatTableId string `json:"snat_table_id"` SourceCIDR string `json:"source_cidr"` SourceVSwitchId string `json:"source_vswitch_id"` Status string // contains filtered or unexported fields }
func (*SSNATTableEntry) Delete ¶
func (stable *SSNATTableEntry) Delete() error
func (*SSNATTableEntry) GetGlobalId ¶
func (stable *SSNATTableEntry) GetGlobalId() string
func (*SSNATTableEntry) GetIP ¶
func (stable *SSNATTableEntry) GetIP() string
func (*SSNATTableEntry) GetId ¶
func (stable *SSNATTableEntry) GetId() string
func (*SSNATTableEntry) GetName ¶
func (stable *SSNATTableEntry) GetName() string
func (*SSNATTableEntry) GetNetworkId ¶
func (stable *SSNATTableEntry) GetNetworkId() string
func (*SSNATTableEntry) GetSourceCIDR ¶
func (stable *SSNATTableEntry) GetSourceCIDR() string
func (*SSNATTableEntry) GetStatus ¶
func (stable *SSNATTableEntry) GetStatus() string
func (*SSNATTableEntry) Refresh ¶
func (stable *SSNATTableEntry) Refresh() error
type SSecurityGroup ¶
type SSecurityGroup struct { multicloud.SSecurityGroup ApsaraTags CreationTime time.Time Description string SecurityGroupId string SecurityGroupName string VpcId string InnerAccessPolicy string Permissions SPermissions RegionId string Tags Tags DepartmentInfo // contains filtered or unexported fields }
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetCreatedAt ¶
func (self *SSecurityGroup) GetCreatedAt() time.Time
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetRules ¶
func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
func (*SSecurityGroup) GetStatus ¶
func (self *SSecurityGroup) GetStatus() string
func (*SSecurityGroup) GetVpcId ¶
func (self *SSecurityGroup) GetVpcId() string
func (*SSecurityGroup) IsEmulated ¶
func (self *SSecurityGroup) IsEmulated() bool
func (*SSecurityGroup) Refresh ¶
func (self *SSecurityGroup) Refresh() error
func (*SSecurityGroup) SyncRules ¶
func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
type SSecurityGroupIds ¶
type SSecurityGroupIds struct {
SecurityGroupId []string
}
type SSecurityIPGroups ¶
type SSecurityIPGroups struct {
// contains filtered or unexported fields
}
type SSnapshot ¶
type SSnapshot struct { multicloud.SResourceBase ApsaraTags Progress string SnapshotId string SnapshotName string SourceDiskId string SourceDiskSize int32 SourceDiskType string Status SnapshotStatusType Usage string DepartmentInfo // contains filtered or unexported fields }
func (*SSnapshot) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) IsEmulated ¶
type SSnapshotPolicy ¶
type SSnapshotPolicy struct { multicloud.SResourceBase ApsaraTags AutoSnapshotPolicyName string AutoSnapshotPolicyId string RepeatWeekdays string TimePoints string RetentionDays int Status SSnapshotPolicyType DepartmentInfo // contains filtered or unexported fields }
func (*SSnapshotPolicy) Delete ¶
func (self *SSnapshotPolicy) Delete() error
func (*SSnapshotPolicy) GetGlobalId ¶
func (self *SSnapshotPolicy) GetGlobalId() string
func (*SSnapshotPolicy) GetId ¶
func (self *SSnapshotPolicy) GetId() string
func (*SSnapshotPolicy) GetName ¶
func (self *SSnapshotPolicy) GetName() string
func (*SSnapshotPolicy) GetRepeatWeekdays ¶
func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)
func (*SSnapshotPolicy) GetRetentionDays ¶
func (self *SSnapshotPolicy) GetRetentionDays() int
func (*SSnapshotPolicy) GetStatus ¶
func (self *SSnapshotPolicy) GetStatus() string
func (*SSnapshotPolicy) GetTimePoints ¶
func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)
func (*SSnapshotPolicy) IsActivated ¶
func (self *SSnapshotPolicy) IsActivated() bool
func (*SSnapshotPolicy) IsEmulated ¶
func (self *SSnapshotPolicy) IsEmulated() bool
func (*SSnapshotPolicy) Refresh ¶
func (self *SSnapshotPolicy) Refresh() error
type SSnapshotPolicyType ¶
type SSnapshotPolicyType string
const ( Creating SSnapshotPolicyType = "Creating" Available SSnapshotPolicyType = "Available" Normal SSnapshotPolicyType = "Normal" )
type SSnatTableIds ¶
type SSnatTableIds struct {
SnatTableId []string
}
type SStatement ¶
type SStorage ¶
type SStorage struct { multicloud.SStorageBase ApsaraTags // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetIDisks ¶
func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SStorage) GetIStoragecache ¶
func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SStorage) GetIZone ¶
func (self *SStorage) GetIZone() cloudprovider.ICloudZone
func (*SStorage) GetMediumType ¶
func (*SStorage) GetMountPoint ¶
func (*SStorage) GetStorageConf ¶
func (self *SStorage) GetStorageConf() jsonutils.JSONObject
func (*SStorage) GetStorageType ¶
func (*SStorage) IsEmulated ¶
func (*SStorage) IsSysDiskStore ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase ApsaraTags // contains filtered or unexported fields }
func (*SStoragecache) CreateIImage ¶
func (self *SStoragecache) CreateIImage(snapshoutId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) Refresh ¶
func (self *SStoragecache) Refresh() error
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type SSupportedDataDiskCategories ¶
type SSupportedDataDiskCategories struct {
SupportedDataDiskCategory []string
}
type SSupportedInstanceGenerations ¶
type SSupportedInstanceGenerations struct {
SupportedInstanceGeneration []string
}
type SSupportedInstanceTypeFamilies ¶
type SSupportedInstanceTypeFamilies struct {
SupportedInstanceTypeFamily []string
}
type SSupportedInstanceTypes ¶
type SSupportedInstanceTypes struct {
SupportedInstanceType []string
}
type SSupportedNetworkTypes ¶
type SSupportedNetworkTypes struct {
SupportedNetworkCategory []string
}
type SSupportedSystemDiskCategories ¶
type SSupportedSystemDiskCategories struct {
SupportedSystemDiskCategory []string
}
type STablestore ¶
type STablestore struct { multicloud.SResourceBase ApsaraTags InstanceName string Timestamp time.Time DepartmentInfo // contains filtered or unexported fields }
func (*STablestore) GetGlobalId ¶
func (self *STablestore) GetGlobalId() string
func (*STablestore) GetId ¶
func (self *STablestore) GetId() string
func (*STablestore) GetName ¶
func (self *STablestore) GetName() string
func (*STablestore) GetStatus ¶
func (self *STablestore) GetStatus() string
type STagResource ¶
type STaskDetail ¶
type STaskError ¶
type SUser ¶
type SUser struct { multicloud.SBaseClouduser Comments string CreateDate time.Time DisplayName string Email string MobilePhone string UserId string UserName string // contains filtered or unexported fields }
func (*SUser) AttachCustomPolicy ¶
func (*SUser) AttachSystemPolicy ¶
func (*SUser) DetachCustomPolicy ¶
func (*SUser) DetachSystemPolicy ¶
func (*SUser) GetEmailAddr ¶
func (*SUser) GetGlobalId ¶
func (*SUser) GetICloudgroups ¶
func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SUser) GetICustomCloudpolicies ¶
func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetISystemCloudpolicies ¶
func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetInviteUrl ¶
func (*SUser) IsConsoleLogin ¶
func (*SUser) ResetPassword ¶
func (*SUser) UpdatePassword ¶
type SUserCIDRs ¶
type SUserCIDRs struct {
UserCidr []string
}
type SVSwitch ¶
type SVSwitch struct { multicloud.SResourceBase ApsaraTags AvailableIpAddressCount int CidrBlock string Ipv6CidrBlock string CreationTime time.Time Description string IsDefault bool Status string VSwitchId string VSwitchName string VpcId string ZoneId string CloudResources SCloudResources RouteTable SRouteTable DepartmentInfo // contains filtered or unexported fields }
func (*SVSwitch) GetAllocTimeoutSeconds ¶
func (*SVSwitch) GetCreatedAt ¶
func (*SVSwitch) GetGateway ¶
func (*SVSwitch) GetGlobalId ¶
func (*SVSwitch) GetIWire ¶
func (self *SVSwitch) GetIWire() cloudprovider.ICloudWire
func (*SVSwitch) GetIpStart ¶
func (*SVSwitch) GetIsPublic ¶
func (*SVSwitch) GetPublicScope ¶
func (self *SVSwitch) GetPublicScope() rbacutils.TRbacScope
func (*SVSwitch) GetServerType ¶
type SVSwitchIds ¶
type SVSwitchIds struct {
VSwitchId []string
}
type SVolumeCategories ¶
type SVolumeCategories struct {
VolumeCategories []string
}
type SVpc ¶
type SVpc struct { multicloud.SVpc ApsaraTags CidrBlock string CreationTime time.Time Description string IsDefault bool RegionId string Status string UserCidrs SUserCIDRs VRouterId string VSwitchIds SVSwitchIds VpcId string VpcName string DepartmentInfo // contains filtered or unexported fields }
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetCreatedAt ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetICloudIPv6Gateways ¶
func (self *SVpc) GetICloudIPv6Gateways() ([]cloudprovider.ICloudIPv6Gateway, error)
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
func (*SVpc) GetSysTags ¶
func (*SVpc) IsEmulated ¶
func (*SVpc) RemoteGetRouteTableList ¶
type SVpcAttributes ¶
type SVpcAttributes struct { NatIpAddress string PrivateIpAddress SIpAddress VSwitchId string VpcId string }
type SWire ¶
type SWire struct { multicloud.SResourceBase ApsaraTags // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.SResourceBase ApsaraTags ZoneId string LocalName string DedicatedHostGenerations SDedicatedHostGenerations AvailableVolumeCategories SVolumeCategories /* 可供创建的具体资源,AvailableResourcesType 组成的数组 */ AvailableResources SResources /* 允许创建的资源类型集合 */ AvailableResourceCreation SResourceCreation /* 允许创建的实例规格类型 */ AvailableInstanceTypes SInstanceTypes /* 支持的磁盘种类集合 */ AvailableDiskCategories SDiskCategories AvailableDedicatedHostTypes SDedicatedHostTypes // contains filtered or unexported fields }
func (*SZone) GetGlobalId ¶
func (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SZone) GetIWires ¶
func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SZone) IsEmulated ¶
type SecurityGroupPermissionNicType ¶
type SecurityGroupPermissionNicType string
const ( IntranetNicType SecurityGroupPermissionNicType = "intranet" InternetNicType SecurityGroupPermissionNicType = "internet" )
type SnapshotStatusType ¶
type SnapshotStatusType string
type SpotStrategyType ¶
type SpotStrategyType string
const ( NoSpotStrategy SpotStrategyType = "NoSpot" SpotWithPriceLimitStrategy SpotStrategyType = "SpotWithPriceLimit" SpotAsPriceGoStrategy SpotStrategyType = "SpotAsPriceGo" DefaultSpotStrategy = NoSpotStrategy )
type SsecurityIPGroup ¶
type SsecurityIPGroup struct { }
type SubjectAlternativeNames ¶
type SubjectAlternativeNames struct {
SubjectAlternativeName []string
}
type TChargeType ¶
type TChargeType string
const ( PrePaidInstanceChargeType TChargeType = "PrePaid" PostPaidInstanceChargeType TChargeType = "PostPaid" PostPaidDBInstanceChargeType TChargeType = "Postpaid" DefaultInstanceChargeType = PostPaidInstanceChargeType )
type TInternetChargeType ¶
type TInternetChargeType string
type TaskActionType ¶
type TaskActionType string
type TaskStatusType ¶
type TaskStatusType string
Source Files ¶
- apsara.go
- bucket.go
- charge.go
- dbinstance.go
- dbinstance_account.go
- dbinstance_backup.go
- dbinstance_database.go
- dbinstance_parameter.go
- dbinstance_privilege.go
- disk.go
- doc.go
- eip.go
- elasticcache_account.go
- elasticcache_acl.go
- elasticcache_backup.go
- elasticcache_instance.go
- elasticcache_parameter.go
- errors.go
- host.go
- image.go
- instance.go
- instancenic.go
- instancetype.go
- ipv6_gateway.go
- keypair.go
- loadbalancer.go
- loadbalanceracl.go
- loadbalancerbackend.go
- loadbalancerbackendgroup.go
- loadbalancerdefaultbackend.go
- loadbalancerdefaultbackendgroup.go
- loadbalancerhttplistener.go
- loadbalancerhttpslistener.go
- loadbalancerlistenerrule.go
- loadbalancermasterslavebackend.go
- loadbalancermasterslavebackendgroup.go
- loadbalancerservercertificate.go
- loadbalancertcplistener.go
- loadbalancerudplistener.go
- monitor.go
- natdtable.go
- natgateway.go
- natstable.go
- networkinterfaces.go
- objects.go
- organization.go
- ots.go
- project.go
- quota.go
- ram.go
- ram_group.go
- ram_policy.go
- ram_role.go
- ram_user.go
- ramimage.go
- region.go
- resource_tags.go
- routetable.go
- securitygroup.go
- snapshot.go
- snapshot_policy.go
- storage.go
- storagecache.go
- sts.go
- tag_base.go
- task.go
- utils.go
- vpc.go
- vrouter.go
- vswitch.go
- wire.go
- wrapper.go
- zone.go