apsara

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const (
	InternetChargeByTraffic   = TInternetChargeType("PayByTraffic")
	InternetChargeByBandwidth = TInternetChargeType("PayByBandwidth")
)
View Source
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
)
View Source
const (
	InstanceStatusStopped  = "Stopped"
	InstanceStatusRunning  = "Running"
	InstanceStatusStopping = "Stopping"
	InstanceStatusStarting = "Starting"
)
View Source
const (
	POLICY_TYPE_SYSTEM = "System"
	POLICY_TYPE_CUSTOM = "Custom"
)
View Source
const (
	ApsaraECSImageImportRole         = "ApsaraECSImageImportDefaultRole"
	ApsaraECSImageImportRoleDocument = `` /* 143-byte string literal not displayed */

	ApsaraECSImageImportRolePolicyType     = "System"
	ApsaraECSImageImportRolePolicy         = "ApsaraECSImageImportRolePolicy"
	ApsaraECSImageImportRolePolicyDocument = `` /* 133-byte string literal not displayed */

)
View Source
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 */

)
View Source
const (
	SnapshotStatusAccomplished SnapshotStatusType = "accomplished"
	SnapshotStatusProgress     SnapshotStatusType = "progressing"
	SnapshotStatusFailed       SnapshotStatusType = "failed"

	SnapshotTypeSystem string = "System"
	SnapshotTypeData   string = "Data"
)
View Source
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")
)
View Source
const (
	VpcAvailable = "Available"
	VpcPending   = "Pending"
)
View Source
const (
	VSwitchPending   = "Pending"
	VSwitchAvailable = "Available"
)
View Source
const (
	APSARA_API_VERSION_METRICS = "2019-01-01"
)
View Source
const (
	OSS_META_HEADER = "x-oss-meta-"
)

Variables

This section is empty.

Functions

func DoAction

func DoAction(client jsonRequestFunc, action string, params map[string]string, resultKey []string, result interface{}) error

执行操作

Types

type AclEntry

type AclEntry struct {
	AclEntryComment string
	AclEntryIP      string
}

type AclEntrys

type AclEntrys struct {
	AclEntry []AclEntry
}

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 (*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

func (*ApsaraTags) GetTags

func (self *ApsaraTags) GetTags() (map[string]string, error)

func (*ApsaraTags) SetTags

func (self *ApsaraTags) SetTags(tags map[string]string, replace bool) error

type AssociatedObjects

type AssociatedObjects struct {
	Rules     Rules
	Listeners Listeners
}

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 ImageExportTask struct {
	ImageId  string
	RegionId string
	// RequestId string
	TaskId string
}

type ImageImportTask

type ImageImportTask struct {
	ImageId  string
	RegionId string
	// RequestId string
	TaskId string
}

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 Listener

type Listener struct {
	Protocol string
	Port     int
}

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 Listeners

type Listeners struct {
	Listener []Listener
}

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

	State       string
	ProcessName 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 Rule

type Rule struct {
	RuleId   string
	RuleName string
	Domain   string
	Url      string
}

type Rules

type Rules struct {
	Rule []Rule
}

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 (*SApsaraClient) CreateIClouduser

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 (self *SApsaraClient) CreatePolicy(name string, document string, desc string) (*SPolicy, error)

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 (self *SApsaraClient) CreateRole(roleName string, document string, desc string) (*SRole, error)

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 (*SApsaraClient) GetEipMetrics

func (*SApsaraClient) GetElbMetrics

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 (*SApsaraClient) GetOrganizationList

func (self *SApsaraClient) GetOrganizationList() ([]SOrganization, error)

func (*SApsaraClient) GetOrganizationTree

func (self *SApsaraClient) GetOrganizationTree(id string) (*SOrganizationTree, error)

func (*SApsaraClient) GetOssMetrics

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 (*SApsaraClient) GetRedisMetrics

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) GetRole

func (self *SApsaraClient) GetRole(roleName string) (*SRole, error)

func (*SApsaraClient) GetSubAccounts

func (self *SApsaraClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)

func (*SApsaraClient) GetUser

func (self *SApsaraClient) GetUser(name string) (*SUser, error)

func (*SApsaraClient) ListGroups

func (self *SApsaraClient) ListGroups(offset string, limit int) (*SGroups, error)

func (*SApsaraClient) ListMetrics

func (self *SApsaraClient) ListMetrics(ns, metricName, dimensions string, start, end time.Time) ([]MetricData, error)

func (*SApsaraClient) ListPoliciesForRole

func (self *SApsaraClient) ListPoliciesForRole(name string) ([]SPolicy, error)

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 (self *SApsaraClient) ListUsersForGroup(groupName string, offset string, limit int) (*SUsers, error)

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 SAutoRenewAttr struct {
	Duration         int
	AutoRenewEnabled bool
	RenewalStatus    string
	PeriodUnit       string
}

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 (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error

func (*SBucket) CompleteMultipartUpload

func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error

func (*SBucket) CopyObject

func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) error

func (*SBucket) CopyPart

func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partNumber int, srcBucket string, srcKey string, srcOffset int64, srcLength int64) (string, error)

func (*SBucket) DeleteObject

func (b *SBucket) DeleteObject(ctx context.Context, key string) error

func (*SBucket) GetAccessUrls

func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl

func (*SBucket) GetAcl

func (b *SBucket) GetAcl() cloudprovider.TBucketACLType

func (*SBucket) GetCreatedAt

func (b *SBucket) GetCreatedAt() time.Time

func (*SBucket) GetGlobalId

func (b *SBucket) GetGlobalId() string

func (*SBucket) GetIRegion

func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion

func (*SBucket) GetLimit

func (b *SBucket) GetLimit() cloudprovider.SBucketStats

func (*SBucket) GetLocation

func (b *SBucket) GetLocation() string

func (*SBucket) GetName

func (b *SBucket) GetName() string

func (*SBucket) GetObject

func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)

func (*SBucket) GetOssClient

func (self *SBucket) GetOssClient() (*oss.Client, error)

func (*SBucket) GetStats

func (b *SBucket) GetStats() cloudprovider.SBucketStats

func (*SBucket) GetStorageClass

func (b *SBucket) GetStorageClass() string

func (*SBucket) GetTempUrl

func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error)

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 (b *SBucket) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) (string, error)

func (*SBucket) PutObject

func (b *SBucket) PutObject(ctx context.Context, key string, input io.Reader, sizeBytes int64, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) error

func (*SBucket) SetAcl

func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error

func (*SBucket) UploadPart

func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, input io.Reader, partSize int64, offset, totalSize int64) (string, error)

type SCallerIdentity

type SCallerIdentity struct {
	Arn          string
	AccountId    string
	UserId       string
	RoleId       string
	PrincipalId  string
	IdentityType string
}

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 (*SDBInstance) ClosePublicConnection

func (rds *SDBInstance) ClosePublicConnection() error

func (*SDBInstance) CreateAccount

func (*SDBInstance) CreateDatabase

func (*SDBInstance) CreateIBackup

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) GetTags

func (rds *SDBInstance) GetTags() (map[string]string, error)

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

func (*SDBInstance) SetTags

func (rds *SDBInstance) SetTags(tags map[string]string, replace bool) error

func (*SDBInstance) Update

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 SDBInstanceBackupJob struct {
	BackupProgressStatus string
	Process              string
	JobMode              string
	TaskAction           string
	BackupStatus         string
	BackupJobId          string
}

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 SDedicatedHostAttribute struct {
	DedicatedHostId   string
	DedicatedHostName string
}

type SDedicatedHostGenerations

type SDedicatedHostGenerations struct {
	DedicatedHostGeneration []string
}

type SDedicatedHostTypes

type SDedicatedHostTypes struct {
	DedicatedHostType []string
}

type SDefaultPolicyVersion

type SDefaultPolicyVersion struct {
	CreateDate       time.Time
	IsDefaultVersion bool
	PolicyDocument   string
	VersionId        string
}

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) Delete

func (self *SDisk) Delete(ctx context.Context) error

func (*SDisk) GetAccessPath

func (self *SDisk) GetAccessPath() string

func (*SDisk) GetBillingType

func (self *SDisk) GetBillingType() string

func (*SDisk) GetCacheMode

func (self *SDisk) GetCacheMode() string

func (*SDisk) GetCreatedAt

func (self *SDisk) GetCreatedAt() time.Time

func (*SDisk) GetDiskFormat

func (self *SDisk) GetDiskFormat() string

func (*SDisk) GetDiskSizeMB

func (self *SDisk) GetDiskSizeMB() int

func (*SDisk) GetDiskType

func (self *SDisk) GetDiskType() string

func (*SDisk) GetDriver

func (self *SDisk) GetDriver() string

func (*SDisk) GetExpiredAt

func (self *SDisk) GetExpiredAt() time.Time

func (*SDisk) GetFsFormat

func (self *SDisk) GetFsFormat() string

func (*SDisk) GetGlobalId

func (self *SDisk) GetGlobalId() string

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) GetId

func (self *SDisk) GetId() string

func (*SDisk) GetIsAutoDelete

func (self *SDisk) GetIsAutoDelete() bool

func (*SDisk) GetIsNonPersistent

func (self *SDisk) GetIsNonPersistent() bool

func (*SDisk) GetMountpoint

func (self *SDisk) GetMountpoint() string

func (*SDisk) GetName

func (self *SDisk) GetName() string

func (*SDisk) GetStatus

func (self *SDisk) GetStatus() string

func (*SDisk) GetTemplateId

func (self *SDisk) GetTemplateId() string

func (*SDisk) IsEmulated

func (self *SDisk) IsEmulated() bool

func (*SDisk) Rebuild

func (self *SDisk) Rebuild(ctx context.Context) error

func (*SDisk) Refresh

func (self *SDisk) Refresh() error

func (*SDisk) Reset

func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)

func (*SDisk) Resize

func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error

func (*SDisk) ResizeDisk

func (self *SDisk) ResizeDisk(newSize int64) error

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.aliyun.com/document_detail/60933.html?spm=a2c4g.11186623.6.726.38f82ca9U1Gtxw

func (*SElasticcache) CreateAcl

func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)

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) GetSecurityGroupIds

func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)

func (*SElasticcache) GetStatus

func (self *SElasticcache) GetStatus() string

func (*SElasticcache) GetTags

func (instance *SElasticcache) GetTags() (map[string]string, error)

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) Renew

func (self *SElasticcache) Renew(bc billing.SBillingCycle) error

func (*SElasticcache) SetMaintainTime

func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error

https://help.aliyun.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) 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) 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) Refresh

func (self *SElasticcacheAccount) Refresh() error

func (*SElasticcacheAccount) UpdateAccount

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) 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

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"`
	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

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) AddUser

func (self *SGroup) AddUser(name string) error

func (*SGroup) AttachCustomPolicy

func (self *SGroup) AttachCustomPolicy(policyName string) error

func (*SGroup) AttachSystemPolicy

func (self *SGroup) AttachSystemPolicy(policyName string) error

func (*SGroup) Delete

func (self *SGroup) Delete() error

func (*SGroup) DetachCustomPolicy

func (self *SGroup) DetachCustomPolicy(policyName string) error

func (*SGroup) DetachSystemPolicy

func (self *SGroup) DetachSystemPolicy(policyName string) error

func (*SGroup) GetDescription

func (self *SGroup) GetDescription() string

func (*SGroup) GetGlobalId

func (self *SGroup) GetGlobalId() string

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) GetName

func (self *SGroup) GetName() string

func (*SGroup) RemoveUser

func (self *SGroup) RemoveUser(name string) error

type SGroups

type SGroups struct {
	Groups      sGroups
	Marker      string
	IsTruncated bool
}

type SHost

type SHost struct {
	multicloud.SHostBase
	// contains filtered or unexported fields
}

func (*SHost) CreateVM

func (*SHost) GetAccessIp

func (self *SHost) GetAccessIp() string

func (*SHost) GetAccessMac

func (self *SHost) GetAccessMac() string

func (*SHost) GetCpuCount

func (self *SHost) GetCpuCount() int

func (*SHost) GetCpuDesc

func (self *SHost) GetCpuDesc() string

func (*SHost) GetCpuMhz

func (self *SHost) GetCpuMhz() int

func (*SHost) GetEnabled

func (self *SHost) GetEnabled() bool

func (*SHost) GetGlobalId

func (self *SHost) GetGlobalId() string

func (*SHost) GetHostStatus

func (self *SHost) GetHostStatus() string

func (*SHost) GetHostType

func (self *SHost) GetHostType() string

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) GetIVMs

func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)

func (*SHost) GetId

func (self *SHost) GetId() string

func (*SHost) GetInstanceById

func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)

func (*SHost) GetIsMaintenance

func (host *SHost) GetIsMaintenance() bool

func (*SHost) GetMemSizeMB

func (self *SHost) GetMemSizeMB() int

func (*SHost) GetName

func (self *SHost) GetName() string

func (*SHost) GetNodeCount

func (self *SHost) GetNodeCount() int8

func (*SHost) GetSN

func (self *SHost) GetSN() string

func (*SHost) GetStatus

func (self *SHost) GetStatus() string

func (*SHost) GetStorageSizeMB

func (self *SHost) GetStorageSizeMB() int64

func (*SHost) GetStorageType

func (self *SHost) GetStorageType() string

func (*SHost) GetSysInfo

func (self *SHost) GetSysInfo() jsonutils.JSONObject

func (*SHost) GetVersion

func (host *SHost) GetVersion() string

func (*SHost) IsEmulated

func (self *SHost) IsEmulated() bool

func (*SHost) Refresh

func (self *SHost) Refresh() error

func (*SHost) VMGlobalId2Id

func (self *SHost) VMGlobalId2Id(gid string) string

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) Delete

func (self *SImage) Delete(ctx context.Context) error

func (*SImage) GetBios

func (self *SImage) GetBios() cloudprovider.TBiosType

func (*SImage) GetCreatedAt

func (self *SImage) GetCreatedAt() time.Time

func (*SImage) GetFullOsName

func (self *SImage) GetFullOsName() string

func (*SImage) GetGlobalId

func (self *SImage) GetGlobalId() string

func (*SImage) GetIStoragecache

func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache

func (*SImage) GetId

func (self *SImage) GetId() string

func (*SImage) GetImageFormat

func (self *SImage) GetImageFormat() string

func (*SImage) GetImageStatus

func (self *SImage) GetImageStatus() string

func (*SImage) GetImageType

func (self *SImage) GetImageType() cloudprovider.TImageType

func (*SImage) GetMinOsDiskSizeGb

func (self *SImage) GetMinOsDiskSizeGb() int

func (*SImage) GetMinRamSizeMb

func (self *SImage) GetMinRamSizeMb() int

func (*SImage) GetName

func (self *SImage) GetName() string

func (*SImage) GetOsArch

func (self *SImage) GetOsArch() string

func (*SImage) GetOsDist

func (self *SImage) GetOsDist() string

func (*SImage) GetOsLang

func (self *SImage) GetOsLang() string

func (*SImage) GetOsType

func (self *SImage) GetOsType() cloudprovider.TOsType

func (*SImage) GetOsVersion

func (self *SImage) GetOsVersion() string

func (*SImage) GetSizeByte

func (self *SImage) GetSizeByte() int64

func (*SImage) GetStatus

func (self *SImage) GetStatus() string

func (*SImage) IsEmulated

func (self *SImage) IsEmulated() bool

func (*SImage) Refresh

func (self *SImage) Refresh() error

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) AttachDisk

func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error

func (*SInstance) ChangeConfig

func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error

func (*SInstance) ConvertPublicIpToEip

func (self *SInstance) ConvertPublicIpToEip() error

func (*SInstance) DeleteVM

func (self *SInstance) DeleteVM(ctx context.Context) error

func (*SInstance) DeployVM

func (*SInstance) DetachDisk

func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error

func (*SInstance) GetBillingType

func (self *SInstance) GetBillingType() string

func (*SInstance) GetBios

func (ins *SInstance) GetBios() cloudprovider.TBiosType

func (*SInstance) GetBootOrder

func (self *SInstance) GetBootOrder() string

func (*SInstance) GetCreatedAt

func (self *SInstance) GetCreatedAt() time.Time

func (*SInstance) GetError

func (self *SInstance) GetError() error

func (*SInstance) GetExpiredAt

func (self *SInstance) GetExpiredAt() time.Time

func (*SInstance) GetFullOsName

func (self *SInstance) GetFullOsName() string

func (*SInstance) GetGlobalId

func (self *SInstance) GetGlobalId() string

func (*SInstance) GetHostname

func (self *SInstance) GetHostname() string

func (*SInstance) GetHypervisor

func (self *SInstance) GetHypervisor() string

func (*SInstance) GetIDisks

func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)

func (*SInstance) GetIEIP

func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)

func (*SInstance) GetIHost

func (self *SInstance) GetIHost() cloudprovider.ICloudHost

func (*SInstance) GetINics

func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)

func (*SInstance) GetId

func (self *SInstance) GetId() string

func (*SInstance) GetInstanceType

func (self *SInstance) GetInstanceType() string

func (*SInstance) GetInternetMaxBandwidthOut

func (self *SInstance) GetInternetMaxBandwidthOut() int

func (*SInstance) GetMachine

func (self *SInstance) GetMachine() string

func (*SInstance) GetName

func (self *SInstance) GetName() string

func (*SInstance) GetOsArch

func (ins *SInstance) GetOsArch() string

func (*SInstance) GetOsDist

func (ins *SInstance) GetOsDist() string

func (*SInstance) GetOsLang

func (ins *SInstance) GetOsLang() string

func (*SInstance) GetOsType

func (self *SInstance) GetOsType() cloudprovider.TOsType

func (*SInstance) GetOsVersion

func (ins *SInstance) GetOsVersion() string

func (*SInstance) GetSecurityGroupIds

func (self *SInstance) GetSecurityGroupIds() ([]string, error)

func (*SInstance) GetStatus

func (self *SInstance) GetStatus() string

func (*SInstance) GetVNCInfo

func (*SInstance) GetVcpuCount

func (self *SInstance) GetVcpuCount() int

func (*SInstance) GetVdi

func (self *SInstance) GetVdi() string

func (*SInstance) GetVga

func (self *SInstance) GetVga() string

func (*SInstance) GetVmemSizeMB

func (self *SInstance) GetVmemSizeMB() int

func (*SInstance) IsAutoRenew

func (self *SInstance) IsAutoRenew() bool

func (*SInstance) IsEmulated

func (self *SInstance) IsEmulated() bool

func (*SInstance) RebuildRoot

func (*SInstance) Refresh

func (self *SInstance) Refresh() error

func (*SInstance) Renew

func (self *SInstance) Renew(bc billing.SBillingCycle) error

func (*SInstance) SetAutoRenew

func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error

func (*SInstance) SetSecurityGroups

func (self *SInstance) SetSecurityGroups(secgroupIds []string) error

func (*SInstance) SetTags

func (self *SInstance) SetTags(tags map[string]string, replace bool) error

func (*SInstance) StartVM

func (self *SInstance) StartVM(ctx context.Context) error

func (*SInstance) StopVM

func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error

func (*SInstance) UpdateUserData

func (self *SInstance) UpdateUserData(userData string) error

func (*SInstance) UpdateVM

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            string
	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() string

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 SKeypair

type SKeypair struct {
	KeyPairFingerPrint string
	KeyPairName        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) Delete

func (lb *SLoadbalancer) Delete(ctx context.Context) 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) GetTags

func (lb *SLoadbalancer) GetTags() (map[string]string, error)

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 (*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

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

func (*SLoadbalancerBackend) SyncConf

func (backend *SLoadbalancerBackend) SyncConf(ctx context.Context, port, weight int) 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

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

func (*SLoadbalancerDefaultBackend) SyncConf

func (backend *SLoadbalancerDefaultBackend) SyncConf(ctx context.Context, port, weight int) 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 (*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 (*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

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) ChangeCertificate

func (*SLoadbalancerHTTPListener) ChangeScheduler

func (*SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule

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) SetAcl

func (*SLoadbalancerHTTPListener) SetHealthCheck

func (*SLoadbalancerHTTPListener) Start

func (listerner *SLoadbalancerHTTPListener) Start() error

func (*SLoadbalancerHTTPListener) Stop

func (listerner *SLoadbalancerHTTPListener) Stop() 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) ChangeCertificate

func (*SLoadbalancerHTTPSListener) ChangeScheduler

func (*SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule

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) SetAcl

func (*SLoadbalancerHTTPSListener) SetHealthCheck

func (*SLoadbalancerHTTPSListener) Start

func (listerner *SLoadbalancerHTTPSListener) Start() error

func (*SLoadbalancerHTTPSListener) Stop

func (listerner *SLoadbalancerHTTPSListener) Stop() 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 (*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

func (*SLoadbalancerMasterSlaveBackend) SyncConf

func (backend *SLoadbalancerMasterSlaveBackend) SyncConf(ctx context.Context, port, weight int) 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 (*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 (*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

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

func (*SLoadbalancerServerCertificate) Sync

func (certificate *SLoadbalancerServerCertificate) Sync(name string, privateKey string, publicKey string) 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) ChangeCertificate

func (listerner *SLoadbalancerTCPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error

func (*SLoadbalancerTCPListener) ChangeScheduler

func (*SLoadbalancerTCPListener) CreateILoadBalancerListenerRule

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) SetAcl

func (*SLoadbalancerTCPListener) SetHealthCheck

func (*SLoadbalancerTCPListener) Start

func (listerner *SLoadbalancerTCPListener) Start() error

func (*SLoadbalancerTCPListener) Stop

func (listerner *SLoadbalancerTCPListener) Stop() 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) ChangeCertificate

func (listerner *SLoadbalancerUDPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error

func (*SLoadbalancerUDPListener) ChangeScheduler

func (*SLoadbalancerUDPListener) CreateILoadBalancerListenerRule

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) SetAcl

func (*SLoadbalancerUDPListener) SetHealthCheck

func (*SLoadbalancerUDPListener) Start

func (listerner *SLoadbalancerUDPListener) Start() error

func (*SLoadbalancerUDPListener) Stop

func (listerner *SLoadbalancerUDPListener) Stop() error

func (*SLoadbalancerUDPListener) XForwardedForEnabled

func (listerner *SLoadbalancerUDPListener) XForwardedForEnabled() bool

type SLoginProfile

type SLoginProfile struct {
	CreateDate            string
	MFABindRequired       bool
	PasswordResetRequired bool
	UserName              string
}

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 SNextHops

type SNextHops struct {
	NextHop []string
}

type SObject

type SObject struct {
	cloudprovider.SBaseCloudObject
	// contains filtered or unexported fields
}

func (*SObject) GetAcl

func (o *SObject) GetAcl() cloudprovider.TBucketACLType

func (*SObject) GetIBucket

func (o *SObject) GetIBucket() cloudprovider.ICloudBucket

func (*SObject) GetMeta

func (o *SObject) GetMeta() http.Header

func (*SObject) SetAcl

func (o *SObject) SetAcl(aclStr cloudprovider.TBucketACLType) error

func (*SObject) SetMeta

func (o *SObject) SetMeta(ctx context.Context, meta http.Header) error

type SOperationLocks

type SOperationLocks struct {
	LockReason []string
}

type SOrganization

type SOrganization struct {
	Active            bool
	Alias             string
	Id                string
	Name              string
	ParentId          string
	MultiCCloudStatus string
	ResourceGroupList []SResourceGroupList
	SupportRegions    string
	UUID              string
}

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
	SecurityGroupRuleId     string

	SecurityGroupId string
	// contains filtered or unexported fields
}

func (*SPermission) Delete

func (self *SPermission) Delete() error

func (*SPermission) GetAction

func (self *SPermission) GetAction() secrules.TSecurityRuleAction

func (*SPermission) GetCIDRs

func (self *SPermission) GetCIDRs() []string

func (*SPermission) GetDescription

func (self *SPermission) GetDescription() string

func (*SPermission) GetDirection

func (self *SPermission) GetDirection() secrules.TSecurityRuleDirection

func (*SPermission) GetGlobalId

func (self *SPermission) GetGlobalId() string

func (*SPermission) GetPorts

func (self *SPermission) GetPorts() string

func (*SPermission) GetPriority

func (self *SPermission) GetPriority() int

func (*SPermission) GetProtocol

func (self *SPermission) GetProtocol() string

func (*SPermission) Update

type SPermissions

type SPermissions struct {
	Permission []SPermission
}

type SPolicies

type SPolicies struct {
	Policies    sPolicies
	Marker      string
	IsTruncated bool
}

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) Delete

func (policy *SPolicy) Delete() error

func (*SPolicy) GetDescription

func (policy *SPolicy) GetDescription() string

func (*SPolicy) GetDocument

func (policy *SPolicy) GetDocument() (*jsonutils.JSONDict, error)

func (*SPolicy) GetGlobalId

func (policy *SPolicy) GetGlobalId() string

func (*SPolicy) GetName

func (policy *SPolicy) GetName() string

func (*SPolicy) UpdateDocument

func (policy *SPolicy) UpdateDocument(document *jsonutils.JSONDict) error

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 (self *SProject) GetGlobalId() string

func (*SProject) GetId

func (self *SProject) GetId() string

func (*SProject) GetName

func (self *SProject) GetName() string

func (*SProject) GetStatus

func (self *SProject) GetStatus() string

func (*SProject) GetSysTags

func (self *SProject) GetSysTags() map[string]string

func (*SProject) GetTags

func (self *SProject) GetTags() (map[string]string, error)

func (*SProject) SetTags

func (self *SProject) SetTags(tags map[string]string, replace bool) error

type SQuota

type SQuota struct {
	Name      string
	UsedCount int
	MaxCount  int
}

func (*SQuota) GetCurrentQuotaUsedCount

func (q *SQuota) GetCurrentQuotaUsedCount() int

func (*SQuota) GetDesc

func (q *SQuota) GetDesc() string

func (*SQuota) GetGlobalId

func (q *SQuota) GetGlobalId() string

func (*SQuota) GetMaxQuotaCount

func (q *SQuota) GetMaxQuotaCount() int

func (*SQuota) GetQuotaType

func (q *SQuota) GetQuotaType() string

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 (region *SRegion) AddBackendServer(loadbalancerId, serverId string, weight, port int) error

func (*SRegion) AddBackendVServer

func (region *SRegion) AddBackendVServer(loadbalancerId, backendGroupId, serverId string, weight, port int) error

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 (self *SRegion) ApplySnapshotPolicyToDisks(snapshotPolicyId string, diskIds []string) error

func (*SRegion) AssignSecurityGroup

func (self *SRegion) AssignSecurityGroup(secgroupId, instanceId string) error

func (*SRegion) AssociateEip

func (region *SRegion) AssociateEip(eipId string, instanceId string) error

func (*SRegion) AssociateRouteTable

func (region *SRegion) AssociateRouteTable(rtableId string, vswitchId string) error

func (*SRegion) AttachDisk

func (self *SRegion) AttachDisk(instanceId string, diskId string) error

func (*SRegion) AttachKeypair

func (self *SRegion) AttachKeypair(instanceId string, name string) error

func (*SRegion) CancelImageImportTasks

func (region *SRegion) CancelImageImportTasks() error

func (*SRegion) CancelSnapshotPolicyToDisks

func (self *SRegion) CancelSnapshotPolicyToDisks(snapshotPolicyId string, diskIds []string) error

func (*SRegion) CancelTask

func (self *SRegion) CancelTask(taskId string) error

func (*SRegion) ChangeDBInstanceConfig

func (region *SRegion) ChangeDBInstanceConfig(instanceId, payType string, desc *cloudprovider.SManagedDBInstanceChangeConfig) error

func (*SRegion) ChangeVMConfig

func (self *SRegion) ChangeVMConfig(zoneId string, instanceId string, ncpu int, vmem int, disks []*SDisk) error

func (*SRegion) ChangeVMConfig2

func (self *SRegion) ChangeVMConfig2(zoneId string, instanceId string, instanceType string, disks []*SDisk) error

func (*SRegion) ClosePublicConnection

func (region *SRegion) ClosePublicConnection(instanceId string) error

func (*SRegion) ConvertPublicIpToEip

func (region *SRegion) ConvertPublicIpToEip(instanceId string) error

func (*SRegion) CreateDBInstanceAccount

func (region *SRegion) CreateDBInstanceAccount(instanceId string, name string, password string, desc string) error

func (*SRegion) CreateDBInstanceDatabae

func (region *SRegion) CreateDBInstanceDatabae(instanceId, characterSet, dbName, desc string) error

func (*SRegion) CreateDisk

func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, desc string, projectId string) (string, error)

func (*SRegion) CreateEIP

func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)

func (*SRegion) CreateForwardTableEntry

func (region *SRegion) CreateForwardTableEntry(rule cloudprovider.SNatDRule, tableID string) (string, error)

func (*SRegion) CreateIBucket

func (self *SRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error

func (*SRegion) CreateILoadBalancer

func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)

func (*SRegion) CreateISecurityGroup

func (*SRegion) CreateIVpc

func (*SRegion) CreateImage

func (self *SRegion) CreateImage(snapshoutId, imageName, imageDesc string) (string, error)

func (*SRegion) CreateInstance

func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, securityGroupIds []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 (self *SRegion) CreateInstanceSimple(name string, imgId string, cpu int, memGB int, storageType string, dataDiskSizesGB []int, vswitchId string, passwd string, publicKey string) (*SInstance, error)

func (*SRegion) CreateLoadbalancerBackendGroup

func (region *SRegion) CreateLoadbalancerBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerBackendGroup, 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) CreateSNATTableEntry

func (region *SRegion) CreateSNATTableEntry(rule cloudprovider.SNatSRule, tableID string) (string, error)

func (*SRegion) CreateSecurityGroup

func (self *SRegion) CreateSecurityGroup(vpcId string, name string, desc, projectId string) (string, error)

func (*SRegion) CreateSnapshot

func (self *SRegion) CreateSnapshot(diskId, name, desc string) (string, error)

func (*SRegion) CreateSnapshotPolicy

func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)

func (*SRegion) DeallocateEIP

func (region *SRegion) DeallocateEIP(eipId string) error

func (*SRegion) DelSecurityGroupRule

func (self *SRegion) DelSecurityGroupRule(secGrpId string, rule secrules.SecurityRule) error

func (*SRegion) DeleteDBInstance

func (region *SRegion) DeleteDBInstance(instanceId string) error

func (*SRegion) DeleteDBInstanceAccount

func (region *SRegion) DeleteDBInstanceAccount(instanceId string, accountName string) error

func (*SRegion) DeleteDBInstanceBackup

func (region *SRegion) DeleteDBInstanceBackup(instanceId string, backupId string) error

func (*SRegion) DeleteDBInstanceDatabase

func (region *SRegion) DeleteDBInstanceDatabase(instanceId string, dbName string) error

func (*SRegion) DeleteDisk

func (self *SRegion) DeleteDisk(diskId string) error

func (*SRegion) DeleteForwardTableEntry

func (region *SRegion) DeleteForwardTableEntry(tableId string, entryId string) error

func (*SRegion) DeleteIBucket

func (self *SRegion) DeleteIBucket(name string) error

func (*SRegion) DeleteImage

func (self *SRegion) DeleteImage(imageId string) error

func (*SRegion) DeleteLoadBalancerBackendGroup

func (region *SRegion) DeleteLoadBalancerBackendGroup(groupId string) error

func (*SRegion) DeleteLoadbalancerListener

func (region *SRegion) DeleteLoadbalancerListener(loadbalancerId string, listenerPort int) error

func (*SRegion) DeleteLoadbalancerListenerRule

func (region *SRegion) DeleteLoadbalancerListenerRule(ruleId string) error

func (*SRegion) DeleteLoadbalancerMasterSlaveBackendgroup

func (region *SRegion) DeleteLoadbalancerMasterSlaveBackendgroup(groupId string) error

func (*SRegion) DeleteSecurityGroup

func (self *SRegion) DeleteSecurityGroup(secGrpId string) error

func (*SRegion) DeleteSecurityGroupRule

func (self *SRegion) DeleteSecurityGroupRule(groupId string, direction secrules.TSecurityRuleDirection, ruleId string) error

func (*SRegion) DeleteServerCertificate

func (region *SRegion) DeleteServerCertificate(certId string) error

func (*SRegion) DeleteSnapshot

func (self *SRegion) DeleteSnapshot(snapshotId string) error

func (*SRegion) DeleteSnapshotPolicy

func (self *SRegion) DeleteSnapshotPolicy(snapshotPolicyId string) error

func (*SRegion) DeleteSnatEntry

func (region *SRegion) DeleteSnatEntry(tableId string, entryId string) error

func (*SRegion) DeleteVM

func (self *SRegion) DeleteVM(instanceId string) error

func (*SRegion) DeleteVSwitch

func (self *SRegion) DeleteVSwitch(vswitchId string) error

func (*SRegion) DeleteVpc

func (self *SRegion) DeleteVpc(vpcId string) error

func (*SRegion) DeployVM

func (self *SRegion) DeployVM(instanceId string, opts *cloudprovider.SInstanceDeployOptions) error

func (*SRegion) DetachDisk

func (self *SRegion) DetachDisk(instanceId string, diskId string) error

func (*SRegion) DetachKeyPair

func (self *SRegion) DetachKeyPair(instanceId string, name string) error

func (*SRegion) DissociateEip

func (region *SRegion) DissociateEip(eipId string, instanceId string) error

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) GetBucket

func (self *SRegion) GetBucket(name string) (*SBucket, error)

func (*SRegion) GetBucketAcl

func (self *SRegion) GetBucketAcl(bucket string) string

func (*SRegion) GetBucketCapacity

func (self *SRegion) GetBucketCapacity(bucket string, department int) (int64, error)

func (*SRegion) GetBucketSize

func (self *SRegion) GetBucketSize(bucket string, department int) (int64, error)

func (*SRegion) GetBuckets

func (self *SRegion) GetBuckets() ([]SBucket, error)

func (*SRegion) GetCapabilities

func (region *SRegion) GetCapabilities() []string

func (*SRegion) GetClient

func (self *SRegion) GetClient() *SApsaraClient

func (*SRegion) GetCloudEnv

func (self *SRegion) GetCloudEnv() string

func (*SRegion) GetDBInstanceAccounts

func (region *SRegion) GetDBInstanceAccounts(instanceId string, offset int, limit int) ([]SDBInstanceAccount, int, error)

func (*SRegion) GetDBInstanceBackupJobs

func (region *SRegion) GetDBInstanceBackupJobs(instanceId, jobId string) (*SDBInstanceBackupJobs, error)

func (*SRegion) GetDBInstanceBackups

func (region *SRegion) GetDBInstanceBackups(instanceId, backupId string, offset int, limit int) ([]SDBInstanceBackup, int, error)

func (*SRegion) GetDBInstanceDatabases

func (region *SRegion) GetDBInstanceDatabases(instanceId, dbName string, offset int, limit int) ([]SDBInstanceDatabase, int, error)

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 (region *SRegion) GetDBInstances(ids []string, offset int, limit int) ([]SDBInstance, int, error)

func (*SRegion) GetDisks

func (self *SRegion) GetDisks(instanceId string, zoneId string, category string, diskIds []string, snapshotpolicyId string) ([]SDisk, error)

func (*SRegion) GetEip

func (region *SRegion) GetEip(eipId string) (*SEipAddress, error)

func (*SRegion) GetEips

func (region *SRegion) GetEips(eipId string, associatedId string, offset int, limit int) ([]SEipAddress, int, error)

func (*SRegion) GetElasticCacheAccountByName

func (self *SRegion) GetElasticCacheAccountByName(instanceId string, accountName string) (*SElasticcacheAccount, error)

func (*SRegion) GetElasticCacheById

func (self *SRegion) GetElasticCacheById(instanceId string) (*SElasticcache, error)

func (*SRegion) GetElasticCaches

func (self *SRegion) GetElasticCaches(instanceIds []string) ([]SElasticcache, error)

func (*SRegion) GetForwardTableEntries

func (region *SRegion) GetForwardTableEntries(tableId string, offset int, limit int) ([]SForwardTableEntry, int, error)

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 (self *SRegion) GetGlobalId() string

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) GetIEips

func (self *SRegion) GetIEips() ([]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) 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 (self *SRegion) GetIPv6Gateways(vpcId string, pageNumber, pageSize int) ([]SIPv6Gateway, int, error)

func (*SRegion) GetISecurityGroupById

func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)

func (*SRegion) GetISkus

func (self *SRegion) GetISkus() ([]cloudprovider.ICloudSku, 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) GetIVMs

func (region *SRegion) GetIVMs() ([]cloudprovider.ICloudVM, error)

func (*SRegion) GetIVpcById

func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)

func (*SRegion) GetIVpcs

func (self *SRegion) GetIVpcs() ([]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) GetId

func (self *SRegion) GetId() string

///////////////////////////////////////////////////////////////////////////

func (*SRegion) GetImage

func (self *SRegion) GetImage(imageId string) (*SImage, error)

func (*SRegion) GetImageByName

func (self *SRegion) GetImageByName(name string) (*SImage, 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 (self *SRegion) GetImagesBySnapshot(snapshotId string, offset int, limit int) ([]SImage, int, error)

func (*SRegion) GetInstance

func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)

func (*SRegion) GetInstanceAutoRenewAttribute

func (region *SRegion) GetInstanceAutoRenewAttribute(instanceId string) (*SAutoRenewAttr, error)

func (*SRegion) GetInstanceStatus

func (self *SRegion) GetInstanceStatus(instanceId string) (string, error)

func (*SRegion) GetInstanceTypes

func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)

func (*SRegion) GetInstanceVNCUrl

func (self *SRegion) GetInstanceVNCUrl(instanceId string) (string, error)

func (*SRegion) GetInstances

func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit int) ([]SInstance, int, error)

func (*SRegion) GetKeypairs

func (self *SRegion) GetKeypairs(finger string, name string, offset int, limit int) ([]SKeypair, int, error)

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 (self *SRegion) GetMatchInstanceTypes(cpu int, memMB int, gpu int, zoneId string) ([]SInstanceType, error)

func (*SRegion) GetName

func (self *SRegion) GetName() string

func (*SRegion) GetNatGateways

func (self *SRegion) GetNatGateways(vpcId string, natGwId string, offset, limit int) ([]SNatGetway, int, error)

func (*SRegion) GetNetworkInterfaces

func (region *SRegion) GetNetworkInterfaces(instanceId string, offset int, limit int) ([]SNetworkInterface, int, error)

func (*SRegion) GetOssClient

func (self *SRegion) GetOssClient() (*oss.Client, error)

func (*SRegion) GetProvider

func (self *SRegion) GetProvider() string

func (*SRegion) GetQuotas

func (region *SRegion) GetQuotas() ([]SQuota, error)

func (*SRegion) GetRouteTables

func (self *SRegion) GetRouteTables(ids []string, offset int, limit int) ([]SRouteTable, int, error)

func (*SRegion) GetSNATEntries

func (self *SRegion) GetSNATEntries(tableId string, offset, limit int) ([]SSNATTableEntry, int, error)

func (*SRegion) GetSNATEntry

func (self *SRegion) GetSNATEntry(tableID, SNATEntryID string) (SSNATTableEntry, error)

func (*SRegion) GetSecurityGroup

func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)

func (*SRegion) GetSecurityGroupRules

func (self *SRegion) GetSecurityGroupRules(id string) ([]SPermission, error)

func (*SRegion) GetSecurityGroups

func (self *SRegion) GetSecurityGroups(vpcId, name string, securityGroupIds []string, offset int, limit int) ([]SSecurityGroup, int, error)

func (*SRegion) GetSnapshotPolicies

func (self *SRegion) GetSnapshotPolicies(policyId string, offset int, limit int) ([]SSnapshotPolicy, int, error)

func (*SRegion) GetSnapshots

func (self *SRegion) GetSnapshots(instanceId string, diskId string, snapshotName string, snapshotIds []string, offset int, limit int) ([]SSnapshot, int, error)

func (*SRegion) GetStatus

func (self *SRegion) GetStatus() string

func (*SRegion) GetTablestoreInstances

func (self *SRegion) GetTablestoreInstances(pageSize, pageNumber int) ([]STablestore, int, error)

func (*SRegion) GetTask

func (self *SRegion) GetTask(taskId string) (*STaskDetail, 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 (self *SRegion) GetVRouters(offset int, limit int) ([]SVRouter, int, error)

func (*SRegion) GetVSwitchAttributes

func (self *SRegion) GetVSwitchAttributes(idstr string) (*SVSwitch, error)

func (*SRegion) GetVSwitches

func (self *SRegion) GetVSwitches(ids []string, vpcId string, offset int, limit int) ([]SVSwitch, int, error)

func (*SRegion) GetVpcs

func (self *SRegion) GetVpcs(vpcId []string, offset int, limit int) ([]SVpc, int, error)

func (*SRegion) GrantDBInstancePrivilege

func (region *SRegion) GrantDBInstancePrivilege(instanceId, account, database, privilege string) error

func (*SRegion) IBucketExist

func (self *SRegion) IBucketExist(name string) (bool, error)

func (*SRegion) ImportImage

func (self *SRegion) ImportImage(name string, osArch string, osType string, osDist string, bucket string, key string) (*ImageImportTask, error)

func (*SRegion) ImportKeypair

func (self *SRegion) ImportKeypair(name string, pubKey string) (*SKeypair, error)

func (*SRegion) IsEmulated

func (self *SRegion) IsEmulated() bool

func (*SRegion) ListResourceTags

func (self *SRegion) ListResourceTags(serviceType string, resourceType string, resIds []string) (map[string]*map[string]string, error)

func (*SRegion) ModifyDBInstanceName

func (region *SRegion) ModifyDBInstanceName(id, name string) error

func (*SRegion) ModifyInstanceVNCUrlPassword

func (self *SRegion) ModifyInstanceVNCUrlPassword(instanceId string, passwd string) error

func (*SRegion) OpenPublicConnection

func (region *SRegion) OpenPublicConnection(instanceId string) error

func (*SRegion) RebootDBInstance

func (region *SRegion) RebootDBInstance(instanceId string) error

func (*SRegion) RecoveryDBInstanceFromBackup

func (region *SRegion) RecoveryDBInstanceFromBackup(srcId, destId string, backupId string, databases map[string]string) error

func (*SRegion) Refresh

func (self *SRegion) Refresh() error

func (*SRegion) RemoveAccessControlListEntry

func (region *SRegion) RemoveAccessControlListEntry(aclId string, data jsonutils.JSONObject) error

func (*SRegion) RemoveBackendServer

func (region *SRegion) RemoveBackendServer(loadbalancerId, serverId string) error

func (*SRegion) RemoveBackendVServer

func (region *SRegion) RemoveBackendVServer(loadbalancerId, backendgroupId, serverId string, port int) error

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 (self *SRegion) ReplaceSystemDisk(instanceId string, imageId string, passwd string, keypairName string, sysDiskSizeGB int) (string, error)

func (*SRegion) ResetDBInstanceAccountPassword

func (region *SRegion) ResetDBInstanceAccountPassword(instanceId, account, password, accountType string) error

func (*SRegion) RevokeDBInstancePrivilege

func (region *SRegion) RevokeDBInstancePrivilege(instanceId, account, database string) error

func (*SRegion) SetInstanceAutoRenew

func (region *SRegion) SetInstanceAutoRenew(instanceId string, autoRenew bool) error

func (*SRegion) SetResourceTags

func (self *SRegion) SetResourceTags(serviceType string, resourceType string, resIds []string, tags map[string]string, replace bool) error

func (*SRegion) SetSecurityGroups

func (self *SRegion) SetSecurityGroups(secgroupIds []string, instanceId string) error

func (*SRegion) SnapshotPreDelete

func (self *SRegion) SnapshotPreDelete(snapshotId string) error

If snapshot linked images can't be delete delete images first -- Apsara

func (*SRegion) StartVM

func (self *SRegion) StartVM(instanceId string) error

func (*SRegion) StopVM

func (self *SRegion) StopVM(instanceId string, isForce bool) error

func (*SRegion) SyncLoadbalancerHTTPListener

func (region *SRegion) SyncLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) error

func (*SRegion) SyncLoadbalancerHTTPSListener

func (region *SRegion) SyncLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) error

func (*SRegion) SyncLoadbalancerTCPListener

func (region *SRegion) SyncLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) error

func (*SRegion) SyncLoadbalancerUDPListener

func (region *SRegion) SyncLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) error

func (*SRegion) TagResources

func (self *SRegion) TagResources(serviceType string, resourceType string, resIds []string, tags map[string]string) error

func (*SRegion) UnassociateRouteTable

func (region *SRegion) UnassociateRouteTable(rtableId string, vswitchId string) error

func (*SRegion) UntagResources

func (self *SRegion) UntagResources(serviceType string, resourceType string, resIds []string, tags []string) error

func (*SRegion) UpdateAclName

func (region *SRegion) UpdateAclName(aclId, name string) error

func (*SRegion) UpdateEipBandwidth

func (region *SRegion) UpdateEipBandwidth(eipId string, bw int) error

func (*SRegion) UpdateInstancePassword

func (self *SRegion) UpdateInstancePassword(instId string, passwd string) error

func (*SRegion) UpdateLoadBalancerBackendGroupName

func (region *SRegion) UpdateLoadBalancerBackendGroupName(name, groupId string) error

func (*SRegion) UpdateServerCertificateName

func (region *SRegion) UpdateServerCertificateName(certId, name string) error

func (*SRegion) UpdateSnapshotPolicy

func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error

func (*SRegion) UpdateVM

func (self *SRegion) UpdateVM(instanceId string, input cloudprovider.SInstanceUpdateOptions) 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 SResourceGroupList struct {
	Creator           string
	GmtCreated        int64
	GmtModified       int64
	Id                string
	OrganizationId    int
	OrganizationName  string
	ResourceGroupName string
	ResourceGroupType int
	// contains filtered or unexported fields
}

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 SRole

type SRole struct {
	Arn         string
	CreateDate  time.Time
	Description string
	RoleId      string
	RoleName    string

	AssumeRolePolicyDocument string
	// contains filtered or unexported fields
}

type SRoles

type SRoles struct {
	Roles       sRoles
	Marker      string
	IsTruncated bool
}

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) GetType

func (route *SRouteEntry) GetType() string

Custom:自定义路由。 System:系统路由。

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.ISecurityGroupRule, error)

func (*SSecurityGroup) GetStatus

func (self *SSecurityGroup) GetStatus() string

func (*SSecurityGroup) GetTags

func (self *SSecurityGroup) GetTags() (map[string]string, error)

func (*SSecurityGroup) GetVpcId

func (self *SSecurityGroup) GetVpcId() string

func (*SSecurityGroup) IsEmulated

func (self *SSecurityGroup) IsEmulated() bool

func (*SSecurityGroup) Refresh

func (self *SSecurityGroup) Refresh() 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) Delete

func (self *SSnapshot) Delete() error

func (*SSnapshot) GetDiskId

func (self *SSnapshot) GetDiskId() string

func (*SSnapshot) GetDiskType

func (self *SSnapshot) GetDiskType() string

func (*SSnapshot) GetGlobalId

func (self *SSnapshot) GetGlobalId() string

func (*SSnapshot) GetId

func (self *SSnapshot) GetId() string

func (*SSnapshot) GetName

func (self *SSnapshot) GetName() string

func (*SSnapshot) GetSizeMb

func (self *SSnapshot) GetSizeMb() int32

func (*SSnapshot) GetStatus

func (self *SSnapshot) GetStatus() string

func (*SSnapshot) IsEmulated

func (self *SSnapshot) IsEmulated() bool

func (*SSnapshot) Refresh

func (self *SSnapshot) Refresh() error

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) ApplyDisks

func (self *SSnapshotPolicy) ApplyDisks(ids []string) error

func (*SSnapshotPolicy) CancelDisks

func (self *SSnapshotPolicy) CancelDisks(ids []string) error

func (*SSnapshotPolicy) Delete

func (self *SSnapshotPolicy) Delete() error

func (*SSnapshotPolicy) GetApplyDiskIds

func (self *SSnapshotPolicy) GetApplyDiskIds() ([]string, 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) IsEmulated

func (self *SSnapshotPolicy) IsEmulated() bool

func (*SSnapshotPolicy) Refresh

func (self *SSnapshotPolicy) Refresh() error

func (*SSnapshotPolicy) Update

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 SStatement struct {
	Action   []string `json:"Action,allowempty"`
	Effect   string   `json:"Effect"`
	Resource []string `json:"Resource"`
}

type SStorage

type SStorage struct {
	multicloud.SStorageBase
	ApsaraTags
	// contains filtered or unexported fields
}

func (*SStorage) CreateIDisk

func (*SStorage) GetCapacityMB

func (self *SStorage) GetCapacityMB() int64

func (*SStorage) GetCapacityUsedMB

func (self *SStorage) GetCapacityUsedMB() int64

func (*SStorage) GetEnabled

func (self *SStorage) GetEnabled() bool

func (*SStorage) GetGlobalId

func (self *SStorage) GetGlobalId() string

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) GetId

func (self *SStorage) GetId() string

func (*SStorage) GetMediumType

func (self *SStorage) GetMediumType() string

func (*SStorage) GetMountPoint

func (self *SStorage) GetMountPoint() string

func (*SStorage) GetName

func (self *SStorage) GetName() string

func (*SStorage) GetStatus

func (self *SStorage) GetStatus() string

func (*SStorage) GetStorageConf

func (self *SStorage) GetStorageConf() jsonutils.JSONObject

func (*SStorage) GetStorageType

func (self *SStorage) GetStorageType() string

func (*SStorage) IsEmulated

func (self *SStorage) IsEmulated() bool

func (*SStorage) IsSysDiskStore

func (self *SStorage) IsSysDiskStore() bool

func (*SStorage) Refresh

func (self *SStorage) Refresh() error

type SStoragecache

type SStoragecache struct {
	multicloud.SResourceBase
	ApsaraTags
	// contains filtered or unexported fields
}

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, 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 STagResource struct {
	ResourceType string `json:"ResourceType"`
	TagValue     string `json:"TagValue"`
	ResourceID   string `json:"ResourceId"`
	TagKey       string `json:"TagKey"`
}

type STags

type STags struct {
	Tag []string
}

type STask

type STask struct {
	TaskId        string
	TaskStatus    TaskStatusType
	TaskAction    string
	SupportCancel bool
	FinishedTime  time.Time
	CreationTime  time.Time
}

type STaskDetail

type STaskDetail struct {
	CreationTime         time.Time
	FailedCount          int
	FinishedTime         time.Time
	RegionId             string
	OperationProgressSet map[string][]STaskError
	RequestId            string
	SuccessCount         int
	SupportCancel        bool
	TaskAction           string
	TaskId               string
	TaskProcess          string
	TaskStatus           TaskStatusType
	TotalCount           int
}

type STaskError

type STaskError struct {
	ErrorCode       string
	ErrorMsg        string
	OperationStatus string
}

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 (user *SUser) AttachCustomPolicy(policyName string) error

func (*SUser) AttachSystemPolicy

func (user *SUser) AttachSystemPolicy(policyName string) error

func (*SUser) Delete

func (user *SUser) Delete() error

func (*SUser) DetachCustomPolicy

func (user *SUser) DetachCustomPolicy(policyName string) error

func (*SUser) DetachSystemPolicy

func (user *SUser) DetachSystemPolicy(policyName string) error

func (*SUser) GetEmailAddr

func (user *SUser) GetEmailAddr() string

func (*SUser) GetGlobalId

func (user *SUser) GetGlobalId() string

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 (user *SUser) GetInviteUrl() string

func (*SUser) GetName

func (user *SUser) GetName() string

func (*SUser) IsConsoleLogin

func (user *SUser) IsConsoleLogin() bool

func (*SUser) ResetPassword

func (user *SUser) ResetPassword(password string) error

func (*SUser) UpdatePassword

func (user *SUser) UpdatePassword(password string) error

type SUserCIDRs

type SUserCIDRs struct {
	UserCidr []string
}

type SUsers

type SUsers struct {
	Users       sUsers
	Marker      string
	IsTruncated bool
}

type SVRouter

type SVRouter struct {
	CreationTime  time.Time
	Description   string
	RegionId      string
	RouteTableIds SRouteTableIds
	VRouterId     string
	VRouterName   string
	VpcId         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) Delete

func (self *SVSwitch) Delete() error

func (*SVSwitch) GetAllocTimeoutSeconds

func (self *SVSwitch) GetAllocTimeoutSeconds() int

func (*SVSwitch) GetCreatedAt

func (self *SVSwitch) GetCreatedAt() time.Time

func (*SVSwitch) GetGateway

func (self *SVSwitch) GetGateway() string

func (*SVSwitch) GetGlobalId

func (self *SVSwitch) GetGlobalId() string

func (*SVSwitch) GetIWire

func (self *SVSwitch) GetIWire() cloudprovider.ICloudWire

func (*SVSwitch) GetId

func (self *SVSwitch) GetId() string

func (*SVSwitch) GetIpEnd

func (self *SVSwitch) GetIpEnd() string

func (*SVSwitch) GetIpMask

func (self *SVSwitch) GetIpMask() int8

func (*SVSwitch) GetIpStart

func (self *SVSwitch) GetIpStart() string

func (*SVSwitch) GetIsPublic

func (self *SVSwitch) GetIsPublic() bool

func (*SVSwitch) GetName

func (self *SVSwitch) GetName() string

func (*SVSwitch) GetPublicScope

func (self *SVSwitch) GetPublicScope() rbacscope.TRbacScope

func (*SVSwitch) GetServerType

func (self *SVSwitch) GetServerType() string

func (*SVSwitch) GetStatus

func (self *SVSwitch) GetStatus() string

func (*SVSwitch) Refresh

func (self *SVSwitch) Refresh() error

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) Delete

func (self *SVpc) Delete() error

func (*SVpc) GetCidrBlock

func (self *SVpc) GetCidrBlock() string

func (*SVpc) GetCreatedAt

func (self *SVpc) GetCreatedAt() time.Time

func (*SVpc) GetGlobalId

func (self *SVpc) GetGlobalId() string

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) GetId

func (self *SVpc) GetId() string

func (*SVpc) GetIsDefault

func (self *SVpc) GetIsDefault() bool

func (*SVpc) GetName

func (self *SVpc) GetName() string

func (*SVpc) GetRegion

func (self *SVpc) GetRegion() cloudprovider.ICloudRegion

func (*SVpc) GetStatus

func (self *SVpc) GetStatus() string

func (*SVpc) GetSysTags

func (self *SVpc) GetSysTags() map[string]string

func (*SVpc) IsEmulated

func (self *SVpc) IsEmulated() bool

func (*SVpc) Refresh

func (self *SVpc) Refresh() error

func (*SVpc) RemoteGetRouteTableList

func (self *SVpc) RemoteGetRouteTableList(offset int, limit int) ([]*SRouteTable, int, error)

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 (*SWire) GetBandwidth

func (self *SWire) GetBandwidth() int

func (*SWire) GetGlobalId

func (self *SWire) GetGlobalId() string

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) GetId

func (self *SWire) GetId() string

func (*SWire) GetName

func (self *SWire) GetName() string

func (*SWire) GetStatus

func (self *SWire) GetStatus() string

func (*SWire) IsEmulated

func (self *SWire) IsEmulated() bool

func (*SWire) Refresh

func (self *SWire) Refresh() error

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 (self *SZone) GetGlobalId() string

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) GetId

func (self *SZone) GetId() string

func (*SZone) GetName

func (self *SZone) GetName() string

func (*SZone) GetStatus

func (self *SZone) GetStatus() string

func (*SZone) IsEmulated

func (self *SZone) IsEmulated() bool

func (*SZone) Refresh

func (self *SZone) Refresh() error

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 Tag

type Tag struct {
	TagKey   string
	TagValue string
}

type Tags

type Tags struct {
	Tag []Tag
}

type TaskActionType

type TaskActionType string

type TaskStatusType

type TaskStatusType string

type ValueItem

type ValueItem struct {
	Value        string
	DiskCategory string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL