aliyun

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: 51 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALIYUN_INTERNATIONAL_CLOUDENV = "InternationalCloud"
	ALIYUN_FINANCE_CLOUDENV       = "FinanceCloud"

	CLOUD_PROVIDER_ALIYUN    = api.CLOUD_PROVIDER_ALIYUN
	CLOUD_PROVIDER_ALIYUN_CN = "阿里云"
	CLOUD_PROVIDER_ALIYUN_EN = "Aliyun"

	ALIYUN_DEFAULT_REGION = "cn-hangzhou"

	ALIYUN_API_VERSION     = "2014-05-26"
	ALIYUN_API_VERSION_VPC = "2016-04-28"
	ALIYUN_API_VERSION_LB  = "2014-05-15"
	ALIYUN_API_VERSION_KVS = "2015-01-01"

	ALIYUN_API_VERSION_TRIAL = "2020-07-06"

	ALIYUN_BSS_API_VERSION = "2017-12-14"

	ALIYUN_RAM_API_VERSION      = "2015-05-01"
	ALIYUN_RDS_API_VERSION      = "2014-08-15"
	ALIYUN_RM_API_VERSION       = "2020-03-31"
	ALIYUN_STS_API_VERSION      = "2015-04-01"
	ALIYUN_PVTZ_API_VERSION     = "2018-01-01"
	ALIYUN_ALIDNS_API_VERSION   = "2015-01-09"
	ALIYUN_CBN_API_VERSION      = "2017-09-12"
	ALIYUN_CDN_API_VERSION      = "2018-05-10"
	ALIYUN_IMS_API_VERSION      = "2019-08-15"
	ALIYUN_NAS_API_VERSION      = "2017-06-26"
	ALIYUN_WAF_API_VERSION      = "2019-09-10"
	ALIYUN_MONGO_DB_API_VERSION = "2015-12-01"
	ALIYUN_ES_API_VERSION       = "2017-06-13"
	ALIYUN_KAFKA_API_VERSION    = "2019-09-16"
	ALIYUN_K8S_API_VERSION      = "2015-12-15"
	ALIYUN_OTS_API_VERSION      = "2016-06-20"
	ALIYUN_RD_API_VERSION       = "2022-04-19"
	ALIYUN_CAS_API_VERSION      = "2018-07-13"

	ALIYUN_SERVICE_ECS      = "ecs"
	ALIYUN_SERVICE_VPC      = "vpc"
	ALIYUN_SERVICE_RDS      = "rds"
	ALIYUN_SERVICE_ES       = "es"
	ALIYUN_SERVICE_KAFKA    = "kafka"
	ALIYUN_SERVICE_SLB      = "slb"
	ALIYUN_SERVICE_KVS      = "kvs"
	ALIYUN_SERVICE_NAS      = "nas"
	ALIYUN_SERVICE_CDN      = "cdn"
	ALIYUN_SERVICE_MONGO_DB = "mongodb"

	DefaultAssumeRoleName = "ResourceDirectoryAccountAccessRole"
)
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 (
	AliyunECSImageImportRole         = "AliyunECSImageImportDefaultRole"
	AliyunECSImageImportRoleDocument = `` /* 143-byte string literal not displayed */

	AliyunECSImageImportRolePolicyType     = "System"
	AliyunECSImageImportRolePolicy         = "AliyunECSImageImportRolePolicy"
	AliyunECSImageImportRolePolicyDocument = `` /* 133-byte string literal not displayed */

)
View Source
const (
	AliyunECSImageExportRole         = "AliyunECSImageExportDefaultRole"
	AliyunECSImageExportRoleDocument = `` /* 214-byte string literal not displayed */

	AliyunEmptyRoleDocument = `` /* 214-byte string literal not displayed */

	AliyunECSImageExportRolePolicyType     = "System"
	AliyunECSImageExportRolePolicy         = "AliyunECSImageExportRolePolicy"
	AliyunECSImageExportRolePolicyDocument = `` /* 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 (
	ALIYUN_API_VERSION_METRICS = "2019-01-01"
)
View Source
const (
	EVENT_REGION_HANGZHOU = "cn-hangzhou"
)
View Source
const (
	OSS_META_HEADER = "x-oss-meta-"
)

Variables

View Source
var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{
	"cn-qingdao":            api.RegionQingdao,
	"cn-beijing":            api.RegionBeijing,
	"cn-zhangjiakou":        api.RegionZhangjiakou,
	"cn-huhehaote":          api.RegionHuhehaote,
	"cn-huhehaote-nebula-1": api.RegionHuhehaote,
	"cn-hangzhou":           api.RegionHangzhou,
	"cn-shanghai":           api.RegionShanghai,
	"cn-shanghai-finance-1": api.RegionShanghai,
	"cn-shenzhen":           api.RegionShenzhen,
	"cn-shenzhen-finance-1": api.RegionShenzhen,
	"cn-hongkong":           api.RegionHongkong,
	"cn-chengdu":            api.RegionChengdu,
	"cn-heyuan":             api.RegionHeyuan,
	"ap-northeast-1":        api.RegionTokyo,
	"ap-southeast-1":        api.RegionSingapore,
	"ap-southeast-2":        api.RegionSydney,
	"ap-southeast-3":        api.RegionKualaLumpur,
	"ap-southeast-5":        api.RegionJakarta,
	"ap-south-1":            api.RegionMumbai,
	"us-east-1":             api.RegionVirginia,
	"us-west-1":             api.RegionSiliconValley,
	"eu-west-1":             api.RegionLondon,
	"me-east-1":             api.RegionDubai,
	"eu-central-1":          api.RegionFrankfurt,
	"cn-wulanchabu":         api.RegionWulanchabu,
	"cn-guangzhou":          api.RegionGuangzhou,
}
View Source
var (
	// https://help.aliyun.com/document_detail/31837.html?spm=a2c4g.11186623.2.18.675f2b8cu8CN5K#concept-zt4-cvy-5db
	OSS_FINANCE_REGION_MAP = map[string]string{
		"cn-hzfinance":              "cn-hangzhou",
		"cn-shanghai-finance-1-pub": "cn-shanghai-finance-1",
		"cn-szfinance":              "cn-shenzhen-finance-1",

		"cn-hzjbp":              "cn-hangzhou",
		"cn-shanghai-finance-1": "cn-shanghai-finance-1",
		"cn-shenzhen-finance-1": "cn-shenzhen-finance-1",
	}
)

Functions

func DoAction

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

执行操作

func GetRecordLineLineType

func GetRecordLineLineType(policyinfo cloudprovider.TDnsPolicyValue) string

func TDnsProductType

func TDnsProductType(productName string) cloudprovider.TDnsProductType

Types

type AclEntry

type AclEntry struct {
	AclEntryComment string
	AclEntryIP      string
}

type AclEntrys

type AclEntrys struct {
	AclEntry []AclEntry
}

type AliyunClientConfig

type AliyunClientConfig struct {
	// contains filtered or unexported fields
}

func NewAliyunClientConfig

func NewAliyunClientConfig(cloudEnv, accessKey, accessSecret string) *AliyunClientConfig

func (*AliyunClientConfig) AccountId

func (cfg *AliyunClientConfig) AccountId(id string) *AliyunClientConfig

func (*AliyunClientConfig) CloudproviderConfig

func (cfg *AliyunClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *AliyunClientConfig

func (AliyunClientConfig) Copy

func (*AliyunClientConfig) Debug

func (cfg *AliyunClientConfig) Debug(debug bool) *AliyunClientConfig

type AliyunTags

type AliyunTags struct {
	Tags struct {
		Tag []multicloud.STag

		// Kafka
		TagVO []multicloud.STag `json:"TagVO" yunion-deprecated-by:"Tag"`
	}
}

func (*AliyunTags) GetSysTags

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

func (*AliyunTags) GetTags

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

func (*AliyunTags) SetTags

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

type AsPaths

type AsPaths struct {
	AsPath []string `json:"AsPath"`
}

type AssociatedObjects

type AssociatedObjects struct {
	Rules     Rules
	Listeners Listeners
}

type AttributeValues

type AttributeValues struct {
	ValueItem []ValueItem
}

type BackendServers

type BackendServers struct {
	BackendServer []SLoadbalancerDefaultBackend
}

type CenBandwidthPackageIds

type CenBandwidthPackageIds struct {
	CenBandwidthPackageID []string `json:"CenBandwidthPackageId"`
}

type CenRouteEntries

type CenRouteEntries struct {
	CenRouteEntry []SCenRouteEntry `json:"CenRouteEntry"`
}

type CenRouteMapRecord

type CenRouteMapRecord struct {
	RouteMapID string `json:"RouteMapId"`
	RegionID   string `json:"RegionId"`
}

type CenRouteMapRecords

type CenRouteMapRecords struct {
	CenRouteMapRecord []CenRouteMapRecord `json:"CenRouteMapRecord"`
}

type ClientMasterNode

type ClientMasterNode struct {
	EcsIp         string
	EcsId         string
	DefaultPasswd string
}

type ClientMasterNodes

type ClientMasterNodes struct {
	ClientMasterNode []ClientMasterNode
}

type Communities

type Communities struct {
	Community []string `json:"Community"`
}

type Conflict

type Conflict struct {
	DestinationCidrBlock string `json:"DestinationCidrBlock"`
	InstanceId           string `json:"InstanceId"`
	InstanceType         string `json:"InstanceType"`
	RegionId             string `json:"RegionId"`
	Status               string `json:"Status"`
}

type Conflicts

type Conflicts struct {
	Conflict []Conflict `json:"Conflict"`
}

type DNSServers

type DNSServers struct {
	DNSServer []string `json:"DnsServer"`
}

type DatabasePrivilege

type DatabasePrivilege struct {
	AccountPrivilege string `json:"AccountPrivilege"`
}

type DatabasePrivileges

type DatabasePrivileges struct {
	DatabasePrivilege []DatabasePrivilege `json:"DatabasePrivilege"`
}

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 LBRegion

type LBRegion struct {
	RegionEndpoint string
	RegionId       string
}

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 ManagedRuleGroup

type ManagedRuleGroup struct {
	// contains filtered or unexported fields
}

func (*ManagedRuleGroup) Delete

func (self *ManagedRuleGroup) Delete() error

func (*ManagedRuleGroup) GetAction

func (self *ManagedRuleGroup) GetAction() *cloudprovider.DefaultAction

func (*ManagedRuleGroup) GetDesc

func (self *ManagedRuleGroup) GetDesc() string

func (*ManagedRuleGroup) GetGlobalId

func (self *ManagedRuleGroup) GetGlobalId() string

func (*ManagedRuleGroup) GetName

func (self *ManagedRuleGroup) GetName() string

func (*ManagedRuleGroup) GetPriority

func (self *ManagedRuleGroup) GetPriority() int

func (*ManagedRuleGroup) GetStatementCondition

func (self *ManagedRuleGroup) GetStatementCondition() cloudprovider.TWafStatementCondition

func (*ManagedRuleGroup) GetStatements

func (self *ManagedRuleGroup) GetStatements() ([]cloudprovider.SWafStatement, error)

func (*ManagedRuleGroup) Update

func (self *ManagedRuleGroup) Update(opts *cloudprovider.SWafRule) error

type MetricData

type MetricData struct {
	Timestamp  int64
	BucketName string
	InstanceId string
	UserId     string
	Value      float64
	Average    float64
	Minimum    float64
	Maximum    float64

	State       string
	ProcessName string

	Diskname string
	Device   string

	// k8s
	Cluster string
	Node    string
	Pod     string
}

func (MetricData) GetTags

func (d MetricData) GetTags() map[string]string

func (MetricData) GetValue

func (d MetricData) GetValue() float64

type MountTargets

type MountTargets struct {
	MountTarget []SMountTarget
}

type NatGatewayPrivateInfo

type NatGatewayPrivateInfo struct {
	EniInstanceId    string
	IzNo             string
	MaxBandwidth     int
	PrivateIpAddress string
	VswitchId        string
}

type OssProgressListener

type OssProgressListener struct {
}

定义进度条监听器。

func (*OssProgressListener) ProgressChanged

func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)

定义进度变更事件处理函数。

type Package

type Package struct {
}

type Packages

type Packages struct {
	Package []Package
}

type ReferencingSecurityGroup

type ReferencingSecurityGroup struct {
	AliUid          string
	SecurityGroupId string
}

type ReferencingSecurityGroups

type ReferencingSecurityGroups struct {
	ReferencingSecurityGroup []ReferencingSecurityGroup
}

type Rule

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

type Rules

type Rules struct {
	Rule []Rule
}

type SAMLProvider

type SAMLProvider struct {
	multicloud.SResourceBase
	AliyunTags

	Arn              string
	CreateDate       time.Time
	Description      string
	SAMLProviderName string
	UpdateDate       time.Time

	// base64
	EncodedSAMLMetadataDocument string
	// contains filtered or unexported fields
}

func (*SAMLProvider) Delete

func (self *SAMLProvider) Delete() error

func (*SAMLProvider) GetAuthUrl

func (self *SAMLProvider) GetAuthUrl(apiServer string) string

func (*SAMLProvider) GetGlobalId

func (self *SAMLProvider) GetGlobalId() string

func (*SAMLProvider) GetId

func (self *SAMLProvider) GetId() string

func (*SAMLProvider) GetMetadataDocument

func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)

func (*SAMLProvider) GetName

func (self *SAMLProvider) GetName() string

func (*SAMLProvider) GetStatus

func (self *SAMLProvider) GetStatus() string

func (*SAMLProvider) UpdateMetadata

func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error

type SAccessGroup

type SAccessGroup struct {
	RuleCount        int
	AccessGroupType  string
	Description      string
	AccessGroupName  string
	MountTargetCount int
	FileSystemType   string
	// contains filtered or unexported fields
}

func (*SAccessGroup) Delete

func (self *SAccessGroup) Delete() error

func (*SAccessGroup) GetDesc

func (self *SAccessGroup) GetDesc() string

func (*SAccessGroup) GetFileSystemType

func (self *SAccessGroup) GetFileSystemType() string

func (*SAccessGroup) GetGlobalId

func (self *SAccessGroup) GetGlobalId() string

func (*SAccessGroup) GetMaxPriority

func (self *SAccessGroup) GetMaxPriority() int

func (*SAccessGroup) GetMinPriority

func (self *SAccessGroup) GetMinPriority() int

func (*SAccessGroup) GetMountTargetCount

func (self *SAccessGroup) GetMountTargetCount() int

func (*SAccessGroup) GetName

func (self *SAccessGroup) GetName() string

func (*SAccessGroup) GetNetworkType

func (self *SAccessGroup) GetNetworkType() string

func (*SAccessGroup) GetRules

func (self *SAccessGroup) GetRules() ([]cloudprovider.AccessGroupRule, error)

func (*SAccessGroup) GetSupporedUserAccessTypes

func (self *SAccessGroup) GetSupporedUserAccessTypes() []cloudprovider.TUserAccessType

func (*SAccessGroup) IsDefault

func (self *SAccessGroup) IsDefault() bool

func (*SAccessGroup) SyncRules

func (self *SAccessGroup) SyncRules(common, added, removed cloudprovider.AccessGroupRuleSet) error

type SAccessGroupRule

type SAccessGroupRule struct {
	RWAccess     string
	UserAccess   string
	Priority     int
	SourceCidrIp string
	AccessRuleId string
}

type SAccountAttributeItem

type SAccountAttributeItem struct {
	AttributeValues AttributeValues
	AttributeName   string
}

type SAccountBalance

type SAccountBalance struct {
	AvailableAmount     float64
	AvailableCashAmount float64
	CreditAmount        float64
	MybankCreditAmount  float64
	Currency            string
}

type SAliyunAccount

type SAliyunAccount struct {
	Status                string
	JoinMethod            string
	ModifyTime            time.Time
	Type                  string
	ResourceDirectoryId   string
	AccountId             string
	DisplayName           string
	JoinTime              time.Time
	FolderId              string
	ResourceDirectoryPath string
}

type SAliyunClient

type SAliyunClient struct {
	*AliyunClientConfig
	// contains filtered or unexported fields
}

func NewAliyunClient

func NewAliyunClient(cfg *AliyunClientConfig) (*SAliyunClient, error)

func (*SAliyunClient) AddDomain

func (client *SAliyunClient) AddDomain(domainName string) (*SDomain, error)

func (*SAliyunClient) AddDomainRecord

func (client *SAliyunClient) AddDomainRecord(domainName string, opts *cloudprovider.DnsRecord) (string, error)

func (*SAliyunClient) AddUserToGroup

func (self *SAliyunClient) AddUserToGroup(groupName, userName string) error

func (*SAliyunClient) AddZone

func (client *SAliyunClient) AddZone(zoneName string) (string, error)

func (*SAliyunClient) AddZoneRecord

func (client *SAliyunClient) AddZoneRecord(ZoneId string, opts *cloudprovider.DnsRecord) (string, error)

func (*SAliyunClient) AttachCenChildInstance

func (client *SAliyunClient) AttachCenChildInstance(cenId string, instance SCenAttachInstanceInput) error

func (*SAliyunClient) AttachPolicy2Role

func (self *SAliyunClient) AttachPolicy2Role(policyType string, policyName string, roleName string) error

func (*SAliyunClient) AttachPolicyToGroup

func (self *SAliyunClient) AttachPolicyToGroup(policyType, policyName, groupName string) error

func (*SAliyunClient) AttachPolicyToUser

func (self *SAliyunClient) AttachPolicyToUser(policyName, policyType, userName string) error

func (*SAliyunClient) BindZoneVpc

func (client *SAliyunClient) BindZoneVpc(ZoneId string, vpc *cloudprovider.SPrivateZoneVpc) error

func (*SAliyunClient) BindZoneVpcs

func (client *SAliyunClient) BindZoneVpcs(zoneId string, vpc []cloudprovider.SPrivateZoneVpc) error

func (*SAliyunClient) CreateCen

func (*SAliyunClient) CreateGroup

func (self *SAliyunClient) CreateGroup(groupName, comments string) (*SGroup, error)

func (*SAliyunClient) CreateICloudgroup

func (self *SAliyunClient) CreateICloudgroup(name string, desc string) (cloudprovider.ICloudgroup, error)

func (*SAliyunClient) CreateICloudpolicy

func (*SAliyunClient) CreateIClouduser

func (*SAliyunClient) CreateIProject

func (self *SAliyunClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)

func (*SAliyunClient) CreateLoginProfile

func (self *SAliyunClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)

func (*SAliyunClient) CreatePolicy

func (self *SAliyunClient) CreatePolicy(name string, document string, desc string) (*SPolicy, error)

func (*SAliyunClient) CreatePolicyVersion

func (self *SAliyunClient) CreatePolicyVersion(name, document string, isDefault bool) error

func (*SAliyunClient) CreatePrivateICloudDnsZone

func (client *SAliyunClient) CreatePrivateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) CreatePublicICloudDnsZone

func (client *SAliyunClient) CreatePublicICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) CreateResourceGroup

func (self *SAliyunClient) CreateResourceGroup(name string) (*SResourceGroup, error)

func (*SAliyunClient) CreateRole

func (self *SAliyunClient) CreateRole(roleName string, document string, desc string) (*SRole, error)

func (*SAliyunClient) CreateSAMLProvider

func (self *SAliyunClient) CreateSAMLProvider(name, metadata, desc string) (*SAMLProvider, error)

func (*SAliyunClient) CreateUser

func (self *SAliyunClient) CreateUser(name, phone, email, comments string) (*SUser, error)

func (*SAliyunClient) CreateZone

func (client *SAliyunClient) CreateZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SPrivateZone, error)

func (*SAliyunClient) DeleteCen

func (client *SAliyunClient) DeleteCen(id string) error

func (*SAliyunClient) DeleteClouduser

func (self *SAliyunClient) DeleteClouduser(name string) error

func (*SAliyunClient) DeleteDomain

func (client *SAliyunClient) DeleteDomain(domainName string) error

func (*SAliyunClient) DeleteDomainRecord

func (client *SAliyunClient) DeleteDomainRecord(recordId string) error

func (*SAliyunClient) DeleteGroup

func (self *SAliyunClient) DeleteGroup(groupName string) error

func (*SAliyunClient) DeleteLoginProfile

func (self *SAliyunClient) DeleteLoginProfile(name string) error

func (*SAliyunClient) DeletePolicy

func (self *SAliyunClient) DeletePolicy(policyType string, policyName string) error

func (*SAliyunClient) DeleteRole

func (self *SAliyunClient) DeleteRole(roleName string) error

func (*SAliyunClient) DeleteSAMLProvider

func (self *SAliyunClient) DeleteSAMLProvider(name string) error

func (*SAliyunClient) DeleteZone

func (client *SAliyunClient) DeleteZone(zoneId string) error

func (*SAliyunClient) DeleteZoneRecord

func (client *SAliyunClient) DeleteZoneRecord(RecordId string) error

func (*SAliyunClient) DescribeCenAttachedChildInstances

func (client *SAliyunClient) DescribeCenAttachedChildInstances(cenId string, pageNumber int, pageSize int) (SCenChildInstances, error)

func (*SAliyunClient) DescribeCenChildInstanceRouteEntries

func (client *SAliyunClient) DescribeCenChildInstanceRouteEntries(cenId string, childInstanceId string, childInstanceRegion string, childInstanceType string, pageNumber int, pageSize int) (SCenRouteEntries, error)

func (*SAliyunClient) DescribeCens

func (client *SAliyunClient) DescribeCens(pageNumber int, pageSize int) (SCens, error)

func (*SAliyunClient) DescribeDomainInfo

func (client *SAliyunClient) DescribeDomainInfo(domainName string) (*SDomain, error)

func (*SAliyunClient) DescribeDomainRecordInfo

func (client *SAliyunClient) DescribeDomainRecordInfo(recordId string) (*SDomainRecord, error)

func (*SAliyunClient) DescribeDomainRecords

func (client *SAliyunClient) DescribeDomainRecords(domainName string, pageNumber int, pageSize int) (SDomainRecords, error)

func (*SAliyunClient) DescribeDomainsBySource

func (client *SAliyunClient) DescribeDomainsBySource(origin string) (SCdnDomainsList, error)

func (*SAliyunClient) DescribeUserDomains

func (client *SAliyunClient) DescribeUserDomains(domain string, pageSize, pageNumber int) ([]SCdnDomain, int, error)

func (*SAliyunClient) DescribeZoneInfo

func (client *SAliyunClient) DescribeZoneInfo(zoneId string) (*SPrivateZone, error)

func (*SAliyunClient) DetachCenChildInstance

func (client *SAliyunClient) DetachCenChildInstance(cenId string, instance SCenAttachInstanceInput) error

func (*SAliyunClient) DetachPolicyFromGroup

func (self *SAliyunClient) DetachPolicyFromGroup(policyType, policyName, groupName string) error

func (*SAliyunClient) DetachPolicyFromRole

func (self *SAliyunClient) DetachPolicyFromRole(policyType, policyName, roleName string) error

func (*SAliyunClient) DetachPolicyFromUser

func (self *SAliyunClient) DetachPolicyFromUser(policyName, policyType, userName string) error

func (*SAliyunClient) EnableImageExport

func (self *SAliyunClient) EnableImageExport() error

func (*SAliyunClient) EnableImageImport

func (self *SAliyunClient) EnableImageImport() error

func (*SAliyunClient) GetAccessEnv

func (self *SAliyunClient) GetAccessEnv() string

func (*SAliyunClient) GetAccountId

func (self *SAliyunClient) GetAccountId() string

func (*SAliyunClient) GetAllCenAttachedChildInstances

func (client *SAliyunClient) GetAllCenAttachedChildInstances(cenId string) ([]SCenChildInstance, error)

func (*SAliyunClient) GetAllCenChildInstanceRouteEntries

func (client *SAliyunClient) GetAllCenChildInstanceRouteEntries(cenId, childInstanceId, childInstanceRegion, childInstanceType string) ([]SCenRouteEntry, error)

func (*SAliyunClient) GetAllCens

func (client *SAliyunClient) GetAllCens() ([]SCen, error)

func (*SAliyunClient) GetAllDnsProductInstances

func (client *SAliyunClient) GetAllDnsProductInstances() ([]SDNSProduct, error)

func (*SAliyunClient) GetAllDomainRecords

func (client *SAliyunClient) GetAllDomainRecords(domainName string) ([]SDomainRecord, error)

func (*SAliyunClient) GetAllDomains

func (client *SAliyunClient) GetAllDomains() ([]SDomain, error)

func (*SAliyunClient) GetAllZoneRecords

func (client *SAliyunClient) GetAllZoneRecords(ZoneId string) ([]SPvtzRecord, error)

func (*SAliyunClient) GetAllZones

func (client *SAliyunClient) GetAllZones() ([]SPrivateZone, error)

没有vpc等详细信息

func (*SAliyunClient) GetAllZonesInfo

func (client *SAliyunClient) GetAllZonesInfo() ([]SPrivateZone, error)

func (*SAliyunClient) GetCDNDomainByName

func (self *SAliyunClient) GetCDNDomainByName(name string) (*SCdnDomain, error)

func (*SAliyunClient) GetCallerIdentity

func (self *SAliyunClient) GetCallerIdentity() (*SCallerIdentity, error)

func (*SAliyunClient) GetCapabilities

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

func (*SAliyunClient) GetCdnDomain

func (self *SAliyunClient) GetCdnDomain(domainName string) (*SCdnDomain, error)

func (*SAliyunClient) GetCdnDomains

func (self *SAliyunClient) GetCdnDomains() ([]SCdnDomain, error)

func (*SAliyunClient) GetCredentials

func (self *SAliyunClient) GetCredentials() oss.Credentials

func (*SAliyunClient) GetEcsMetrics

func (*SAliyunClient) GetEipMetrics

func (*SAliyunClient) GetElbMetrics

func (*SAliyunClient) GetGroup

func (self *SAliyunClient) GetGroup(groupName string) (*SGroup, error)

func (*SAliyunClient) GetICloudCDNDomainByName

func (self *SAliyunClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)

func (*SAliyunClient) GetICloudCDNDomains

func (self *SAliyunClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)

func (*SAliyunClient) GetICloudSAMLProviders

func (self *SAliyunClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)

func (*SAliyunClient) GetICloudgroupByName

func (self *SAliyunClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)

func (*SAliyunClient) GetICloudgroups

func (self *SAliyunClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)

func (*SAliyunClient) GetICloudroles

func (self *SAliyunClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)

func (*SAliyunClient) GetIClouduserByName

func (self *SAliyunClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)

func (*SAliyunClient) GetICloudusers

func (self *SAliyunClient) GetICloudusers() ([]cloudprovider.IClouduser, error)

func (*SAliyunClient) GetICustomCloudpolicies

func (self *SAliyunClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)

func (*SAliyunClient) GetIHostById

func (self *SAliyunClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)

func (*SAliyunClient) GetIProjects

func (self *SAliyunClient) GetIProjects() ([]cloudprovider.ICloudProject, error)

func (*SAliyunClient) GetIRegionById

func (self *SAliyunClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)

func (*SAliyunClient) GetIRegions

func (self *SAliyunClient) GetIRegions() []cloudprovider.ICloudRegion

func (*SAliyunClient) GetISSLCertificate

func (self *SAliyunClient) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)

func (*SAliyunClient) GetISSLCertificates

func (self *SAliyunClient) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)

func (*SAliyunClient) GetIStorageById

func (self *SAliyunClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)

func (*SAliyunClient) GetISystemCloudpolicies

func (self *SAliyunClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)

func (*SAliyunClient) GetIVpcById

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

func (*SAliyunClient) GetIamLoginUrl

func (self *SAliyunClient) GetIamLoginUrl() string

func (*SAliyunClient) GetK8sMetrics

func (*SAliyunClient) GetLoginProfile

func (self *SAliyunClient) GetLoginProfile(name string) (*SLoginProfile, error)

func (*SAliyunClient) GetMetrics

func (*SAliyunClient) GetOssMetrics

func (*SAliyunClient) GetPolicy

func (self *SAliyunClient) GetPolicy(policyType string, policyName string) (*SPolicyDetails, error)

func (*SAliyunClient) GetPrivateICloudDnsZoneById

func (client *SAliyunClient) GetPrivateICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) GetPrivateICloudDnsZones

func (client *SAliyunClient) GetPrivateICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) GetProjects

func (self *SAliyunClient) GetProjects() ([]SResourceGroup, error)

func (*SAliyunClient) GetPublicICloudDnsZoneById

func (client *SAliyunClient) GetPublicICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) GetPublicICloudDnsZones

func (client *SAliyunClient) GetPublicICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)

func (*SAliyunClient) GetRdsMetrics

func (*SAliyunClient) GetRedisMetrics

func (*SAliyunClient) GetRegion

func (self *SAliyunClient) GetRegion(regionId string) *SRegion

func (*SAliyunClient) GetRegions

func (self *SAliyunClient) GetRegions() []SRegion

func (*SAliyunClient) GetResourceGroup

func (self *SAliyunClient) GetResourceGroup(id string) (*SResourceGroup, error)

func (*SAliyunClient) GetResourceGroupIds

func (self *SAliyunClient) GetResourceGroupIds() []string

func (*SAliyunClient) GetResourceGroups

func (self *SAliyunClient) GetResourceGroups(pageNumber int, pageSize int) ([]SResourceGroup, int, error)

func (*SAliyunClient) GetRole

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

func (*SAliyunClient) GetSAMLProvider

func (self *SAliyunClient) GetSAMLProvider(name string) (*SAMLProvider, error)

func (*SAliyunClient) GetSSLCertificate

func (self *SAliyunClient) GetSSLCertificate(certId string) (*SSSLCertificate, error)

func (*SAliyunClient) GetSSLCertificates

func (self *SAliyunClient) GetSSLCertificates(size, page int) ([]SSSLCertificate, int, error)

func (*SAliyunClient) GetSubAccounts

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

func (*SAliyunClient) GetUser

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

func (*SAliyunClient) ListAccounts

func (self *SAliyunClient) ListAccounts() ([]SAliyunAccount, error)

func (*SAliyunClient) ListGroups

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

func (*SAliyunClient) ListMetrics

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

func (*SAliyunClient) ListPoliciesForRole

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

func (*SAliyunClient) ListRoles

func (self *SAliyunClient) ListRoles(offset string, limit int) (*SRoles, error)

func (*SAliyunClient) ListSAMLProviders

func (self *SAliyunClient) ListSAMLProviders(marker string, maxItems int) ([]SAMLProvider, string, error)

func (*SAliyunClient) ListUsers

func (self *SAliyunClient) ListUsers(offset string, limit int) (*SUsers, error)

func (*SAliyunClient) ListUsersForGroup

func (self *SAliyunClient) ListUsersForGroup(groupName string, offset string, limit int) (*SUsers, error)

func (*SAliyunClient) PublishRouteEntries

func (client *SAliyunClient) PublishRouteEntries(cenId, childInstanceId, routeTableId, childInstanceRegion, childInstanceType, cidr string) error

func (*SAliyunClient) QueryAccountBalance

func (self *SAliyunClient) QueryAccountBalance() (*SAccountBalance, error)

func (*SAliyunClient) QueryCashCoupons

func (self *SAliyunClient) QueryCashCoupons() ([]SCashCoupon, error)

func (*SAliyunClient) QueryPrepaidCards

func (self *SAliyunClient) QueryPrepaidCards() ([]SPrepaidCard, error)

func (*SAliyunClient) RemoveUserFromGroup

func (self *SAliyunClient) RemoveUserFromGroup(groupName, userName string) error

func (*SAliyunClient) ResetClouduserPassword

func (self *SAliyunClient) ResetClouduserPassword(name, password string) error

func (*SAliyunClient) SetDomainRecordStatus

func (client *SAliyunClient) SetDomainRecordStatus(recordId, status string) error

Enable: 启用解析 Disable: 暂停解析

func (*SAliyunClient) SetResourceGropuId

func (self *SAliyunClient) SetResourceGropuId(params map[string]string) map[string]string

func (*SAliyunClient) SetZoneRecordStatus

func (client *SAliyunClient) SetZoneRecordStatus(recordId string, status string) error

https://help.aliyun.com/document_detail/66251.html?spm=a2c4g.11186623.6.596.15d55563zpsSWE status ENABLE: 启用解析 DISABLE: 暂停解析

func (*SAliyunClient) SubscribeBillToOSS

func (self *SAliyunClient) SubscribeBillToOSS(bucket string) error

func (*SAliyunClient) UnBindZoneVpcs

func (client *SAliyunClient) UnBindZoneVpcs(zoneId string) error

func (*SAliyunClient) UpdateDomainRecord

func (client *SAliyunClient) UpdateDomainRecord(id string, opts *cloudprovider.DnsRecord) error

line

func (*SAliyunClient) UpdateDomainRecordRemark

func (client *SAliyunClient) UpdateDomainRecordRemark(recordId string, remark string) error

func (*SAliyunClient) UpdateLoginProfile

func (self *SAliyunClient) UpdateLoginProfile(name, password string) error

func (*SAliyunClient) UpdateSAMLProvider

func (self *SAliyunClient) UpdateSAMLProvider(name string, metadata string) error

func (*SAliyunClient) UpdateZoneRecord

func (client *SAliyunClient) UpdateZoneRecord(id string, opts *cloudprovider.DnsRecord) error

func (*SAliyunClient) WithdrawPublishedRouteEntries

func (client *SAliyunClient) WithdrawPublishedRouteEntries(cenId, childInstanceId, routeTableId, childInstanceRegion, childInstanceType, cidr string) error

type SAliyunTag

type SAliyunTag struct {
	ResourceId   string
	ResourceType string
	TagKey       string
	TagValue     string
}

type SAttributes

type SAttributes struct {
	CreationDate     time.Time
	MfaAuthenticated bool
}

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
	AliyunTags

	Name         string
	Location     string
	CreationDate time.Time
	StorageClass string
	// 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) DeleteCORS

func (b *SBucket) DeleteCORS() error

func (*SBucket) DeleteObject

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

func (*SBucket) DeletePolicy

func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)

func (*SBucket) DeleteWebSiteConf

func (b *SBucket) DeleteWebSiteConf() error

func (*SBucket) GetAccessUrls

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

func (*SBucket) GetAcl

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

func (*SBucket) GetCORSRules

func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)

func (*SBucket) GetCdnDomains

func (b *SBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)

func (*SBucket) GetCreatedAt

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

func (*SBucket) GetGlobalId

func (b *SBucket) GetGlobalId() string

func (*SBucket) GetIRegion

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

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

func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)

func (*SBucket) GetProjectId

func (b *SBucket) GetProjectId() string

func (*SBucket) GetReferer

func (b *SBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)

func (*SBucket) GetStats

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

func (*SBucket) GetStorageClass

func (b *SBucket) GetStorageClass() string

func (*SBucket) GetTags

func (b *SBucket) GetTags() (map[string]string, error)

func (*SBucket) GetTempUrl

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

func (*SBucket) GetWebsiteConf

func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)

func (*SBucket) ListMultipartUploads

func (b *SBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)

func (*SBucket) ListObjects

func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)

func (*SBucket) NewMultipartUpload

func (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) SetCORS

func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error

func (*SBucket) SetPolicy

func (*SBucket) SetReferer

func (b *SBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error

func (*SBucket) SetTags

func (b *SBucket) SetTags(tags map[string]string, replace bool) error

func (*SBucket) SetWebsite

func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) 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 SBucketPolicyStatement

type SBucketPolicyStatement struct {
	Version   string                          `json:"Version"`
	Statement []SBucketPolicyStatementDetails `json:"Statement"`
}

type SBucketPolicyStatementDetails

type SBucketPolicyStatementDetails struct {
	Action    []string                          `json:"Action"`
	Effect    string                            `json:"Effect"`
	Principal []string                          `json:"Principal"`
	Resource  []string                          `json:"Resource"`
	Condition map[string]map[string]interface{} `json:"Condition"`
}

type SCallerIdentity

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

type SCashCoupon

type SCashCoupon struct {
	ApplicableProducts  string
	ApplicableScenarios string
	Balance             float64
	CashCouponId        string
	CashCouponNo        string
	EffectiveTime       time.Time
	ExpiryTime          time.Time
	GrantedTime         time.Time
	NominalValue        float64
	Status              string
}

type SCdnDomain

type SCdnDomain struct {
	multicloud.SCDNDomainBase

	Cname           string     `json:"Cname"`
	Description     string     `json:"Description"`
	CdnType         string     `json:"CdnType"`
	ResourceGroupID string     `json:"ResourceGroupId"`
	DomainStatus    string     `json:"DomainStatus"`
	SslProtocol     string     `json:"SslProtocol"`
	DomainName      string     `json:"DomainName"`
	Coverage        string     `json:"Coverage"`
	Sources         SCdnSource `json:"Sources"`
	GmtModified     string     `json:"GmtModified"`
	Sandbox         string     `json:"Sandbox"`
	GmtCreated      time.Time  `json:"GmtCreated"`
	SourceModels    struct {
		SourceModel []struct {
			Content  string
			Type     string
			Port     int
			Enabled  string
			Priority int
			Weight   string
		}
	}
	// contains filtered or unexported fields
}

func (*SCdnDomain) Delete

func (self *SCdnDomain) Delete() error

func (*SCdnDomain) GetArea

func (self *SCdnDomain) GetArea() string

func (*SCdnDomain) GetCname

func (self *SCdnDomain) GetCname() string

func (*SCdnDomain) GetEnabled

func (self *SCdnDomain) GetEnabled() bool

func (*SCdnDomain) GetGlobalId

func (self *SCdnDomain) GetGlobalId() string

func (*SCdnDomain) GetId

func (self *SCdnDomain) GetId() string

func (*SCdnDomain) GetName

func (self *SCdnDomain) GetName() string

func (*SCdnDomain) GetOrigins

func (self *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins

func (*SCdnDomain) GetProjectId

func (self *SCdnDomain) GetProjectId() string

func (*SCdnDomain) GetServiceType

func (self *SCdnDomain) GetServiceType() string

func (*SCdnDomain) GetStatus

func (self *SCdnDomain) GetStatus() string

func (*SCdnDomain) GetSysTags

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

func (*SCdnDomain) GetTags

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

func (*SCdnDomain) Refresh

func (self *SCdnDomain) Refresh() error

func (*SCdnDomain) SetTags

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

type SCdnDomainInfos

type SCdnDomainInfos struct {
	DomainInfo []SDomainInfo `json:"domainInfo"`
}

type SCdnDomainNames

type SCdnDomainNames struct {
	DomainNames []string `json:"domainNames"`
}

type SCdnDomainsData

type SCdnDomainsData struct {
	Source      string          `json:"Source"`
	Domains     SCdnDomainNames `json:"Domains"`
	DomainInfos SCdnDomainInfos `json:"DomainInfos"`
}

type SCdnDomainsList

type SCdnDomainsList struct {
	DomainsData []SCdnDomainsData `json:"DomainsData"`
}

type SCdnSource

type SCdnSource struct {
	Port     int    `json:"Port"`
	Weight   string `json:"Weight"`
	Type     string `json:"Type"`
	Content  string `json:"Content"`
	Priority string `json:"Priority"`
}

type SCdnSources

type SCdnSources struct {
	Source []SCdnSource `json:"Source"`
}

type SCen

type SCen struct {
	multicloud.SResourceBase
	AliyunTags

	Status                 string                 `json:"Status"`
	ProtectionLevel        string                 `json:"ProtectionLevel"`
	CenID                  string                 `json:"CenId"`
	CreationTime           string                 `json:"CreationTime"`
	CenBandwidthPackageIds CenBandwidthPackageIds `json:"CenBandwidthPackageIds"`
	Name                   string                 `json:"Name"`
	// contains filtered or unexported fields
}

func (*SCen) AttachVpc

func (*SCen) Delete

func (self *SCen) Delete() error

func (*SCen) DetachVpc

func (*SCen) DisableRouteEntry

func (self *SCen) DisableRouteEntry(routeId string) error

func (*SCen) EnableRouteEntry

func (self *SCen) EnableRouteEntry(routeId string) error

func (*SCen) GetAuthorityOwnerId

func (self *SCen) GetAuthorityOwnerId() string

func (*SCen) GetGlobalId

func (self *SCen) GetGlobalId() string

func (*SCen) GetICloudVpcIds

func (self *SCen) GetICloudVpcIds() ([]string, error)

func (*SCen) GetIRoutes

func (self *SCen) GetIRoutes() ([]cloudprovider.ICloudInterVpcNetworkRoute, error)

func (*SCen) GetId

func (self *SCen) GetId() string

func (*SCen) GetInstanceRouteEntries

func (self *SCen) GetInstanceRouteEntries() ([]SCenRouteEntry, error)

func (*SCen) GetName

func (self *SCen) GetName() string

func (*SCen) GetStatus

func (self *SCen) GetStatus() string

func (*SCen) Refresh

func (self *SCen) Refresh() error

type SCenAttachInstanceInput

type SCenAttachInstanceInput struct {
	InstanceType         string
	InstanceId           string
	InstanceRegion       string
	ChildInstanceOwnerId string
}

type SCenChildInstance

type SCenChildInstance struct {
	Status                string `json:"Status"`
	ChildInstanceOwnerID  string `json:"ChildInstanceOwnerId"`
	ChildInstanceID       string `json:"ChildInstanceId"`
	ChildInstanceRegionID string `json:"ChildInstanceRegionId"`
	CenID                 string `json:"CenId"`
	ChildInstanceType     string `json:"ChildInstanceType"`
}

type SCenChildInstances

type SCenChildInstances struct {
	PageNumber     int                `json:"PageNumber"`
	ChildInstances sCenChildInstances `json:"ChildInstances"`
	TotalCount     int                `json:"TotalCount"`
	PageSize       int                `json:"PageSize"`
	RequestID      string             `json:"RequestId"`
}

type SCenRouteEntries

type SCenRouteEntries struct {
	PageNumber      int             `json:"PageNumber"`
	TotalCount      int             `json:"TotalCount"`
	PageSize        int             `json:"PageSize"`
	RequestID       string          `json:"RequestId"`
	CenRouteEntries CenRouteEntries `json:"CenRouteEntries"`
}

type SCenRouteEntry

type SCenRouteEntry struct {
	multicloud.SResourceBase
	AliyunTags
	ChildInstance        *SCenChildInstance
	NextHopInstanceID    string             `json:"NextHopInstanceId,omitempty"`
	Status               string             `json:"Status"`
	OperationalMode      bool               `json:"OperationalMode"`
	CenRouteMapRecords   CenRouteMapRecords `json:"CenRouteMapRecords"`
	AsPaths              AsPaths            `json:"AsPaths"`
	Communities          Communities        `json:"Communities"`
	Type                 string             `json:"Type"`
	NextHopType          string             `json:"NextHopType"`
	NextHopRegionID      string             `json:"NextHopRegionId,omitempty"`
	RouteTableID         string             `json:"RouteTableId"`
	DestinationCidrBlock string             `json:"DestinationCidrBlock"`
	Conflicts            Conflicts          `json:"Conflicts"`
	PublishStatus        string             `json:"PublishStatus,omitempty"`
}

func (*SCenRouteEntry) GetCidr

func (self *SCenRouteEntry) GetCidr() string

func (*SCenRouteEntry) GetEnabled

func (self *SCenRouteEntry) GetEnabled() bool

func (*SCenRouteEntry) GetGlobalId

func (self *SCenRouteEntry) GetGlobalId() string

func (*SCenRouteEntry) GetId

func (self *SCenRouteEntry) GetId() string

func (*SCenRouteEntry) GetInstanceId

func (self *SCenRouteEntry) GetInstanceId() string

func (*SCenRouteEntry) GetInstanceRegionId

func (self *SCenRouteEntry) GetInstanceRegionId() string

func (*SCenRouteEntry) GetInstanceType

func (self *SCenRouteEntry) GetInstanceType() string

func (*SCenRouteEntry) GetName

func (self *SCenRouteEntry) GetName() string

func (*SCenRouteEntry) GetNextHop

func (self *SCenRouteEntry) GetNextHop() string

func (*SCenRouteEntry) GetNextHopRegion

func (self *SCenRouteEntry) GetNextHopRegion() string

func (*SCenRouteEntry) GetNextHopType

func (self *SCenRouteEntry) GetNextHopType() string

func (*SCenRouteEntry) GetRouteTableId

func (self *SCenRouteEntry) GetRouteTableId() string

func (*SCenRouteEntry) GetStatus

func (self *SCenRouteEntry) GetStatus() string

func (*SCenRouteEntry) IsEmulated

func (self *SCenRouteEntry) IsEmulated() bool

func (*SCenRouteEntry) Refresh

func (self *SCenRouteEntry) Refresh() error

type SCens

type SCens struct {
	TotalCount int    `json:"TotalCount"`
	RequestID  string `json:"RequestId"`
	PageSize   int    `json:"PageSize"`
	PageNumber int    `json:"PageNumber"`
	Cens       sCens  `json:"Cens"`
}

type SCloudResources

type SCloudResources struct {
	CloudResourceSetType []string
}

type SDBInstance

type SDBInstance struct {
	multicloud.SDBInstanceBase

	AccountMaxQuantity        int
	AccountType               string
	CanTempUpgrade            bool
	Category                  string
	AvailabilityValue         string
	DBInstanceDescription     string
	DBInstanceId              string
	ConnectionMode            string
	ConnectionString          string
	ConnectionDomain          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
	ResourceGroupId           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
	// 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) GetIOPS

func (rds *SDBInstance) GetIOPS() int

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

func (rds *SDBInstance) GetMaintainTime() string

func (*SDBInstance) GetMasterInstanceId

func (rds *SDBInstance) GetMasterInstanceId() string

func (*SDBInstance) GetName

func (rds *SDBInstance) GetName() string

func (*SDBInstance) GetNetworkAddress

func (rds *SDBInstance) GetNetworkAddress() string

func (*SDBInstance) GetPort

func (rds *SDBInstance) GetPort() int

func (*SDBInstance) GetProjectId

func (rds *SDBInstance) GetProjectId() string

func (*SDBInstance) GetSecurityGroupIds

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

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

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

func (*SDBInstance) GetTags

func (self *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) SetAutoRenew

func (rds *SDBInstance) SetAutoRenew(bc billing.SBillingCycle) error

func (*SDBInstance) SetSecurityGroups

func (self *SDBInstance) SetSecurityGroups(ids []string) 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
	AliyunTags

	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
	AliyunTags

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

func (*SDBInstanceBackup) Delete

func (backup *SDBInstanceBackup) Delete() error

func (*SDBInstanceBackup) GetBackupMethod

func (self *SDBInstanceBackup) GetBackupMethod() cloudprovider.TBackupMethod

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
	BackupId             string
}

type SDBInstanceBackupJobs

type SDBInstanceBackupJobs struct {
	BackupJob []SDBInstanceBackupJob
}

type SDBInstanceDatabase

type SDBInstanceDatabase struct {
	multicloud.SDBInstanceDatabaseBase
	AliyunTags

	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 SDNSProduct

type SDNSProduct struct {
	InstanceId            string `json:"InstanceId"`
	VersionCode           string `json:"VersionCode"`
	VersionName           string `json:"VersionName"`
	StartTime             int64  `json:"StartTime"`
	EndTime               int64  `json:"EndTime"`
	Domain                string `json:"Domain"`
	BindCount             int64  `json:"BindCount"`
	BindUsedCount         int64  `json:"BindUsedCount"`
	TTLMinValue           int64  `json:"TTLMinValue"`
	SubDomainLevel        int64  `json:"SubDomainLevel"`
	DNSSLBCount           int64  `json:"DnsSLBCount"`
	URLForwardCount       int64  `json:"URLForwardCount"`
	DDosDefendFlow        int64  `json:"DDosDefendFlow"`
	DDosDefendQuery       int64  `json:"DDosDefendQuery"`
	OverseaDDosDefendFlow int64  `json:"OverseaDDosDefendFlow"`
	SearchEngineLines     string `json:"SearchEngineLines"`
	ISPLines              string `json:"ISPLines"`
	ISPRegionLines        string `json:"ISPRegionLines"`
	OverseaLine           string `json:"OverseaLine"`
	// contains filtered or unexported fields
}

https://help.aliyun.com/document_detail/29758.html?spm=a2c4g.11186623.6.653.2ad93b59euq4oF

type SDNSProducts

type SDNSProducts struct {
	// RequestID   string       `json:"RequestId"`
	TotalCount  int          `json:"TotalCount"`
	PageNumber  int          `json:"PageNumber"`
	PageSize    int          `json:"PageSize"`
	DNSProducts sDNSProducts `json:"DnsProducts"`
}

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 SDefenseTypeRule

type SDefenseTypeRule struct {
	// contains filtered or unexported fields
}

func (*SDefenseTypeRule) Delete

func (self *SDefenseTypeRule) Delete() error

func (*SDefenseTypeRule) GetAction

func (self *SDefenseTypeRule) GetAction() *cloudprovider.DefaultAction

func (*SDefenseTypeRule) GetDesc

func (self *SDefenseTypeRule) GetDesc() string

func (*SDefenseTypeRule) GetGlobalId

func (self *SDefenseTypeRule) GetGlobalId() string

func (*SDefenseTypeRule) GetName

func (self *SDefenseTypeRule) GetName() string

func (*SDefenseTypeRule) GetPriority

func (self *SDefenseTypeRule) GetPriority() int

func (*SDefenseTypeRule) GetStatementCondition

func (self *SDefenseTypeRule) GetStatementCondition() cloudprovider.TWafStatementCondition

func (*SDefenseTypeRule) GetStatements

func (self *SDefenseTypeRule) GetStatements() ([]cloudprovider.SWafStatement, error)

func (*SDefenseTypeRule) Update

func (self *SDefenseTypeRule) Update(opts *cloudprovider.SWafRule) error

type SDisk

type SDisk struct {
	multicloud.SDisk
	AliyunTags

	IOPS                          int
	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
	ResourceGroupId               string
	Size                          int
	SourceSnapshotId              string
	Status                        string
	Type                          string
	ZoneId                        string
	// 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) GetIops

func (self *SDisk) GetIops() int

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

func (self *SDisk) GetProjectId() 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 SDomain

type SDomain struct {
	multicloud.SVirtualResourceBase
	AliyunTags

	PunyCode    string     `json:"PunyCode"`
	VersionCode string     `json:"VersionCode"`
	InstanceId  string     `json:"InstanceId"`
	AliDomain   bool       `json:"AliDomain"`
	DomainName  string     `json:"DomainName"`
	DomainId    string     `json:"DomainId"`
	DNSServers  DNSServers `json:"DnsServers"`
	GroupID     string     `json:"GroupId"`
	// contains filtered or unexported fields
}

func (*SDomain) AddDnsRecord

func (self *SDomain) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)

func (*SDomain) AddVpc

func (self *SDomain) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error

func (*SDomain) Delete

func (self *SDomain) Delete() error

func (*SDomain) GetDnsProductType

func (self *SDomain) GetDnsProductType() cloudprovider.TDnsProductType

func (*SDomain) GetGlobalId

func (self *SDomain) GetGlobalId() string

func (*SDomain) GetICloudVpcIds

func (self *SDomain) GetICloudVpcIds() ([]string, error)

func (*SDomain) GetIDnsRecordById

func (self *SDomain) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)

func (*SDomain) GetIDnsRecords

func (self *SDomain) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)

func (*SDomain) GetId

func (self *SDomain) GetId() string

func (*SDomain) GetName

func (self *SDomain) GetName() string

func (*SDomain) GetProperlyTTL

func (self *SDomain) GetProperlyTTL(ttl int64) int64

func (*SDomain) GetStatus

func (self *SDomain) GetStatus() string

func (*SDomain) GetZoneType

func (self *SDomain) GetZoneType() cloudprovider.TDnsZoneType

func (*SDomain) Refresh

func (self *SDomain) Refresh() error

func (*SDomain) RemoveVpc

func (self *SDomain) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error

type SDomainInfo

type SDomainInfo struct {
	DomainCname string    `json:"DomainCname"`
	Status      string    `json:"Status"`
	CreateTime  time.Time `json:"CreateTime"`
	UpdateTime  time.Time `json:"UpdateTime"`
	DomainName  string    `json:"DomainName"`
}

type SDomainRecord

type SDomainRecord struct {
	DomainId   string `json:"DomainId"`
	GroupId    string `json:"GroupId"`
	GroupName  string `json:"GroupName"`
	PunyCode   string `json:"PunyCode"`
	RR         string `json:"RR"`
	Status     string `json:"Status"`
	Value      string `json:"Value"`
	RecordId   string `json:"RecordId"`
	Type       string `json:"Type"`
	RequestID  string `json:"RequestId"`
	DomainName string `json:"DomainName"`
	Locked     bool   `json:"Locked"`
	Line       string `json:"Line"`
	TTL        int64  `json:"TTL"`
	Priority   int64  `json:"Priority"`
	Remark     string
	// contains filtered or unexported fields
}

https://help.aliyun.com/document_detail/29777.html?spm=a2c4g.11186623.6.666.aa4832307YdopF

func (*SDomainRecord) Delete

func (self *SDomainRecord) Delete() error

func (*SDomainRecord) Disable

func (self *SDomainRecord) Disable() error

func (*SDomainRecord) Enable

func (self *SDomainRecord) Enable() error

func (*SDomainRecord) GetDnsName

func (self *SDomainRecord) GetDnsName() string

func (*SDomainRecord) GetDnsType

func (self *SDomainRecord) GetDnsType() cloudprovider.TDnsType

func (*SDomainRecord) GetDnsValue

func (self *SDomainRecord) GetDnsValue() string

func (*SDomainRecord) GetEnabled

func (self *SDomainRecord) GetEnabled() bool

func (*SDomainRecord) GetGlobalId

func (self *SDomainRecord) GetGlobalId() string

func (*SDomainRecord) GetMxPriority

func (self *SDomainRecord) GetMxPriority() int64

func (*SDomainRecord) GetPolicyType

func (self *SDomainRecord) GetPolicyType() cloudprovider.TDnsPolicyType

func (*SDomainRecord) GetPolicyValue

func (self *SDomainRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue

func (*SDomainRecord) GetStatus

func (self *SDomainRecord) GetStatus() string

func (*SDomainRecord) GetTTL

func (self *SDomainRecord) GetTTL() int64

func (*SDomainRecord) Update

func (self *SDomainRecord) Update(opts *cloudprovider.DnsRecord) error

type SDomainRecords

type SDomainRecords struct {
	//RequestID     string         `json:"RequestId"`
	TotalCount    int            `json:"TotalCount"`
	PageNumber    int            `json:"PageNumber"`
	PageSize      int            `json:"PageSize"`
	DomainRecords sDomainRecords `json:"DomainRecords"`
}

type SDomains

type SDomains struct {
	PageNumber int `json:"PageNumber"`
	TotalCount int `json:"TotalCount"`
	PageSize   int `json:"PageSize"`
	// RequestID  string  `json:"RequestId"`
	Domains sDomains `json:"Domains"`
}

type SEipAddress

type SEipAddress struct {
	multicloud.SEipBase
	AliyunTags

	Name         string
	AllocationId string

	InternetChargeType TInternetChargeType

	IpAddress string
	Status    string

	InstanceType string
	InstanceId   string
	Bandwidth    int /* Mbps */

	BusinessStatus     string
	AllocationTime     time.Time
	DeletionProtection bool
	Descritpion        string
	ISP                string
	Mode               string
	Netmode            string

	OperationLocks string

	ChargeType      TChargeType
	ExpiredTime     time.Time
	ResourceGroupId string
	// contains filtered or unexported fields
}

func (*SEipAddress) Associate

func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error

func (*SEipAddress) ChangeBandwidth

func (self *SEipAddress) ChangeBandwidth(bw int) error

func (*SEipAddress) Delete

func (self *SEipAddress) Delete() error

func (*SEipAddress) Dissociate

func (self *SEipAddress) Dissociate() error

func (*SEipAddress) GetAssociationExternalId

func (self *SEipAddress) GetAssociationExternalId() string

func (*SEipAddress) GetAssociationType

func (self *SEipAddress) GetAssociationType() string

func (*SEipAddress) GetBandwidth

func (self *SEipAddress) GetBandwidth() int

func (*SEipAddress) GetBillingType

func (self *SEipAddress) GetBillingType() string

func (*SEipAddress) GetCreatedAt

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

func (*SEipAddress) GetExpiredAt

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

func (*SEipAddress) GetGlobalId

func (self *SEipAddress) GetGlobalId() string

func (*SEipAddress) GetINetworkId

func (self *SEipAddress) GetINetworkId() string

func (*SEipAddress) GetId

func (self *SEipAddress) GetId() string

func (*SEipAddress) GetInternetChargeType

func (self *SEipAddress) GetInternetChargeType() string

func (*SEipAddress) GetIpAddr

func (self *SEipAddress) GetIpAddr() string

func (*SEipAddress) GetMode

func (self *SEipAddress) GetMode() string

func (*SEipAddress) GetName

func (self *SEipAddress) GetName() string

func (*SEipAddress) GetProjectId

func (self *SEipAddress) GetProjectId() string

func (*SEipAddress) GetStatus

func (self *SEipAddress) GetStatus() string

func (*SEipAddress) IsEmulated

func (self *SEipAddress) IsEmulated() bool

func (*SEipAddress) Refresh

func (self *SEipAddress) Refresh() error

func (*SEipAddress) SetTags

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

type SElasticSearch

type SElasticSearch struct {
	multicloud.SVirtualResourceBase
	multicloud.SBillingBase

	Tags []struct {
		TagKey   string
		TagValue string
	}
	AdvancedDedicateMaster bool
	AdvancedSetting        struct {
		// contains filtered or unexported fields
	}
	AliwsDicts []struct {
		FileSize   int
		Name       string
		SourceType string
		Type       string
	}
	ClientNodeConfiguration struct {
		Amount   int
		Disk     int
		DiskType string
		Spec     string
	}
	InstanceCategory string
	CreatedAt        time.Time
	DedicateMaster   bool
	Description      string
	DictList         []struct {
		FileSize   int
		Name       string
		SourceType string
		Type       string
	}
	Domain                       string
	ElasticDataNodeConfiguration struct {
		Amount   int
		Disk     int
		DiskType string
		Spec     string
	}
	EnableKibanaPrivateNetwork bool
	EnableKibanaPublicNetwork  bool
	EnablePublic               bool
	EsConfig                   map[string]string
	EsIPBlacklist              []string
	EsIPWhitelist              []string
	EsVersion                  string
	ExtendConfigs              []struct {
		ConfigType      string
		Value           string
		MaintainEndTime string
		AliVersion      string
	}
	HaveClientNode      bool
	HaveKibana          bool
	InstanceId          string
	KibanaConfiguration struct {
		Amount int
		Spec   string
	}
	KibanaDomain             string
	KibanaIPWhitelist        []string
	KibanaPort               int
	KibanaPrivateIPWhitelist []string
	MasterConfiguration      struct {
		Amount   int
		Disk     int
		DiskType string
		Spec     string
	}
	NetworkConfig struct {
		Type      string
		VpcId     string
		VsArea    string
		VswitchId string
	}
	NodeAmount int
	NodeSpec   struct {
		Disk           int
		DiskEncryption bool
		DiskType       string
		Spec           string
	}
	PaymentType               string
	Port                      int
	PrivateNetworkIpWhiteList []string
	Protocol                  string
	PublicDomain              string
	PublicIpWhitelist         []string
	PublicPort                int
	ResourceGroupId           string
	Status                    string
	SynonymsDicts             []struct {
		FileSize   int
		Name       string
		SourceType string
		Type       string
	}
	UpdatedAt             time.Time
	VpcInstanceId         string
	WarmNode              bool
	WarmNodeConfiguration struct {
		Amount         int
		Disk           int
		DiskEncryption bool
		DiskType       string
		Spec           string
	}
	ZoneCount int
	ZoneInfos []struct {
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

func (*SElasticSearch) Delete

func (self *SElasticSearch) Delete() error

func (*SElasticSearch) GetAccessInfo

func (self *SElasticSearch) GetAccessInfo() (*cloudprovider.ElasticSearchAccessInfo, error)

func (*SElasticSearch) GetBillingType

func (self *SElasticSearch) GetBillingType() string

func (*SElasticSearch) GetCategory

func (self *SElasticSearch) GetCategory() string

func (*SElasticSearch) GetCreatedAt

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

func (*SElasticSearch) GetDiskSizeGb

func (self *SElasticSearch) GetDiskSizeGb() int

func (*SElasticSearch) GetGlobalId

func (self *SElasticSearch) GetGlobalId() string

func (*SElasticSearch) GetId

func (self *SElasticSearch) GetId() string

func (*SElasticSearch) GetInstanceType

func (self *SElasticSearch) GetInstanceType() string

func (*SElasticSearch) GetName

func (self *SElasticSearch) GetName() string

func (*SElasticSearch) GetNetworkId

func (self *SElasticSearch) GetNetworkId() string

func (*SElasticSearch) GetProjectId

func (self *SElasticSearch) GetProjectId() string

func (*SElasticSearch) GetStatus

func (self *SElasticSearch) GetStatus() string

func (*SElasticSearch) GetStorageType

func (self *SElasticSearch) GetStorageType() string

func (*SElasticSearch) GetSysTags

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

func (*SElasticSearch) GetTags

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

func (*SElasticSearch) GetVcpuCount

func (self *SElasticSearch) GetVcpuCount() int

func (*SElasticSearch) GetVersion

func (self *SElasticSearch) GetVersion() string

func (*SElasticSearch) GetVmemSizeGb

func (self *SElasticSearch) GetVmemSizeGb() int

func (*SElasticSearch) GetVpcId

func (self *SElasticSearch) GetVpcId() string

func (*SElasticSearch) GetZoneId

func (self *SElasticSearch) GetZoneId() string

func (*SElasticSearch) IsMultiAz

func (self *SElasticSearch) IsMultiAz() bool

func (*SElasticSearch) Refresh

func (self *SElasticSearch) Refresh() error

func (*SElasticSearch) SetTags

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

type SElasticcache

type SElasticcache struct {
	multicloud.SElasticcacheBase
	AliyunTags

	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"`
	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"`
	ResourceGroupId     string      `json:"ResourceGroupId"`
	// 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) GetBandwidth

func (self *SElasticcache) GetBandwidth() int

func (*SElasticcache) GetBillingType

func (self *SElasticcache) GetBillingType() string

func (*SElasticcache) GetCapacityMB

func (self *SElasticcache) GetCapacityMB() int

func (*SElasticcache) GetConnections

func (self *SElasticcache) GetConnections() int

func (*SElasticcache) GetCreatedAt

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

func (*SElasticcache) GetEngine

func (self *SElasticcache) GetEngine() string

func (*SElasticcache) GetEngineVersion

func (self *SElasticcache) GetEngineVersion() string

func (*SElasticcache) GetExpiredAt

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

func (*SElasticcache) GetGlobalId

func (self *SElasticcache) GetGlobalId() string

func (*SElasticcache) GetICloudElasticcacheAccount

func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)

func (*SElasticcache) 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) GetProjectId

func (self *SElasticcache) GetProjectId() string

func (*SElasticcache) GetPublicConnectPort

func (self *SElasticcache) GetPublicConnectPort() int

func (*SElasticcache) GetPublicDNS

func (self *SElasticcache) GetPublicDNS() string

func (*SElasticcache) GetPublicIpAddr

func (self *SElasticcache) GetPublicIpAddr() string

func (*SElasticcache) GetSecurityGroupIds

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

func (*SElasticcache) GetStatus

func (self *SElasticcache) GetStatus() string

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

func (self *SElasticcache) SetAutoRenew(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
	AliyunTags

	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.aliyun.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
	AliyunTags

	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
	AliyunTags

	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.aliyun.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
	AliyunTags

	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 SEvent

type SEvent struct {
	AdditionalEventData map[string]string
	ApiVersion          string
	EventId             string
	EventName           string
	EventSource         string
	EventTime           time.Time
	EventType           string
	EventVersion        string
	RequestId           string
	RequestParameters   map[string]string
	ServiceName         string
	SourceIpAddress     string
	UserAgent           string
	UserIdentity        SUserIdentity
	ResponseElements    map[string]string
	IsGlobal            bool
	// contains filtered or unexported fields
}

func (*SEvent) GetAccount

func (event *SEvent) GetAccount() string

func (*SEvent) GetAction

func (event *SEvent) GetAction() string

func (*SEvent) GetCreatedAt

func (event *SEvent) GetCreatedAt() time.Time

func (*SEvent) GetName

func (event *SEvent) GetName() string

func (*SEvent) GetRequest

func (event *SEvent) GetRequest() jsonutils.JSONObject

func (*SEvent) GetRequestId

func (event *SEvent) GetRequestId() string

func (*SEvent) GetResourceType

func (event *SEvent) GetResourceType() string

func (*SEvent) GetService

func (event *SEvent) GetService() string

func (*SEvent) IsSuccess

func (event *SEvent) IsSuccess() bool

type SFileSystem

type SFileSystem struct {
	multicloud.SNasBase
	AliyunTags

	Status                string
	Description           string
	StorageType           string
	MountTargetCountLimit int
	Ldap                  string
	ZoneId                string
	// 2021-03-22T10:08:15CST
	CreateTime           string
	MeteredIASize        int
	SupportedFeatures    SupportedFeatures
	MountTargets         MountTargets
	AutoSnapshotPolicyId string
	MeteredSize          int64
	EncryptType          int
	Capacity             int64
	ProtocolType         string
	ChargeType           string
	Packages             Packages
	ExpiredTime          string
	FileSystemType       string
	FileSystemId         string
	RegionId             string
	// contains filtered or unexported fields
}

func (*SFileSystem) CreateMountTarget

func (*SFileSystem) Delete

func (self *SFileSystem) Delete() error

func (*SFileSystem) GetBillintType

func (self *SFileSystem) GetBillintType() string

func (*SFileSystem) GetCapacityGb

func (self *SFileSystem) GetCapacityGb() int64

func (*SFileSystem) GetCreatedAt

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

func (*SFileSystem) GetExpiredAt

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

func (*SFileSystem) GetFileSystemType

func (self *SFileSystem) GetFileSystemType() string

func (*SFileSystem) GetGlobalId

func (self *SFileSystem) GetGlobalId() string

func (*SFileSystem) GetId

func (self *SFileSystem) GetId() string

func (*SFileSystem) GetMountTargetCountLimit

func (self *SFileSystem) GetMountTargetCountLimit() int

func (*SFileSystem) GetMountTargets

func (self *SFileSystem) GetMountTargets() ([]cloudprovider.ICloudMountTarget, error)

func (*SFileSystem) GetName

func (self *SFileSystem) GetName() string

func (*SFileSystem) GetProtocol

func (self *SFileSystem) GetProtocol() string

func (*SFileSystem) GetStatus

func (self *SFileSystem) GetStatus() string

func (*SFileSystem) GetStorageType

func (self *SFileSystem) GetStorageType() string

func (*SFileSystem) GetUsedCapacityGb

func (self *SFileSystem) GetUsedCapacityGb() int64

func (*SFileSystem) GetZoneId

func (self *SFileSystem) GetZoneId() string

func (*SFileSystem) Refresh

func (self *SFileSystem) Refresh() error

func (*SFileSystem) SetTags

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

type SForwardTableEntry

type SForwardTableEntry struct {
	multicloud.SResourceBase
	AliyunTags

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

type SImage

type SImage struct {
	multicloud.SImageBase
	AliyunTags

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

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
	AliyunTags

	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
	ResourceGroupId         string
	SaleCycle               string
	SecurityGroupIds        SSecurityGroupIds
	SerialNumber            string
	SpotPriceLimit          string
	SpotStrategy            string
	StartTime               time.Time
	Status                  string
	StoppedMode             string
	VlanId                  string
	VpcAttributes           SVpcAttributes
	ZoneId                  string
	Throughput              int
	// contains filtered or unexported fields
}

func (*SInstance) AllocatePublicIpAddress

func (self *SInstance) AllocatePublicIpAddress() (string, error)

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

func (self *SInstance) GetDescription() string

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

func (self *SInstance) GetProjectId() string

func (*SInstance) GetSecurityGroupIds

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

func (*SInstance) GetStatus

func (self *SInstance) GetStatus() string

func (*SInstance) GetThroughput

func (self *SInstance) GetThroughput() int

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

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

func (self *SInstanceNic) AssignAddress(ipAddrs []string) error

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

func (self *SInstanceNic) GetSubAddress() ([]string, error)

func (*SInstanceNic) InClassicNetwork

func (self *SInstanceNic) InClassicNetwork() bool

func (*SInstanceNic) UnassignAddress

func (self *SInstanceNic) UnassignAddress(ipAddrs []string) error

type SInstanceSpecs

type SInstanceSpecs struct {
	Code  int
	Value bool
}

type SInstanceType

type SInstanceType struct {
	BaselineCredit       int
	CpuCoreCount         int
	MemorySize           float32
	EniQuantity          int // 实例规格支持网卡数量
	GPUAmount            int
	GPUSpec              string
	InstanceTypeFamily   string
	InstanceFamilyLevel  string
	InstanceTypeId       string
	LocalStorageCategory string
	LocalStorageAmount   int
	LocalStorageCapacity int64
	InstanceBandwidthRx  int
	InstanceBandwidthTx  int
	InstancePpsRx        int
	InstancePpsTx        int
}

type SInstanceTypes

type SInstanceTypes struct {
	InstanceTypes []string
}

type SIpAddress

type SIpAddress struct {
	IpAddress []string
}

type SIpSegement

type SIpSegement struct {
	IpV6s string
	Ips   string
}

type SKafka

type SKafka struct {
	multicloud.SBillingBase
	multicloud.SVirtualResourceBase
	AliyunTags

	AllConfig                string `json:"AllConfig"`
	DeployType               int    `json:"DeployType"`
	SpecType                 string `json:"SpecType"`
	PaidType                 int    `json:"PaidType"`
	InstanceId               string `json:"InstanceId"`
	MsgRetain                int    `json:"MsgRetain"`
	ZoneId                   string `json:"ZoneId"`
	IoMax                    int    `json:"IoMax"`
	VSwitchId                string `json:"VSwitchId"`
	VpcId                    string `json:"VpcId"`
	UpgradeServiceDetailInfo struct {
		Current2OpenSourceVersion string `json:"Current2OpenSourceVersion"`
	} `json:"UpgradeServiceDetailInfo"`
	ServiceStatus int    `json:"ServiceStatus"`
	Name          string `json:"Name"`
	TopicNumLimit int    `json:"TopicNumLimit"`
	DiskSize      int    `json:"DiskSize"`
	RegionId      string `json:"RegionId"`
	CreateTime    int64  `json:"CreateTime"`
	SslEndPoint   string `json:"SslEndPoint"`
	EipMax        int    `json:"EipMax"`
	EndPoint      string `json:"EndPoint"`
	ExpiredTime   int64  `json:"ExpiredTime"`
	DiskType      int    `json:"DiskType"`
	SecurityGroup string `json:"SecurityGroup"`
	// contains filtered or unexported fields
}

func (*SKafka) Delete

func (self *SKafka) Delete() error

func (*SKafka) GetBandwidthMb

func (self *SKafka) GetBandwidthMb() int

func (*SKafka) GetBillingType

func (self *SKafka) GetBillingType() string

func (*SKafka) GetCreatedAt

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

func (*SKafka) GetDiskSizeGb

func (self *SKafka) GetDiskSizeGb() int

func (*SKafka) GetEndpoint

func (self *SKafka) GetEndpoint() string

func (*SKafka) GetGlobalId

func (self *SKafka) GetGlobalId() string

func (*SKafka) GetId

func (self *SKafka) GetId() string

func (*SKafka) GetInstanceType

func (self *SKafka) GetInstanceType() string

func (*SKafka) GetMsgRetentionMinute

func (self *SKafka) GetMsgRetentionMinute() int

func (*SKafka) GetName

func (self *SKafka) GetName() string

func (*SKafka) GetNetworkId

func (self *SKafka) GetNetworkId() string

func (*SKafka) GetStatus

func (self *SKafka) GetStatus() string

func (*SKafka) GetStorageType

func (self *SKafka) GetStorageType() string

func (*SKafka) GetTopics

func (self *SKafka) GetTopics() ([]cloudprovider.SKafkaTopic, error)

func (*SKafka) GetVersion

func (self *SKafka) GetVersion() string

func (*SKafka) GetVpcId

func (self *SKafka) GetVpcId() string

func (*SKafka) GetZoneId

func (self *SKafka) GetZoneId() string

func (*SKafka) IsMultiAz

func (self *SKafka) IsMultiAz() bool

func (*SKafka) Refresh

func (self *SKafka) Refresh() error

func (*SKafka) SetTags

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

type SKeypair

type SKeypair struct {
	KeyPairFingerPrint string
	KeyPairName        string
}

type SKubeCluster

type SKubeCluster struct {
	multicloud.SResourceBase

	Name             string    `json:"name"`
	ClusterId        string    `json:"cluster_id"`
	Size             int       `json:"size"`
	RegionId         string    `json:"region_id"`
	State            string    `json:"state"`
	ClusterType      string    `json:"cluster_type"`
	Created          time.Time `json:"created"`
	Updated          time.Time `json:"updated"`
	InitVersion      string    `json:"init_version"`
	CurrentVersion   string    `json:"current_version"`
	MetaData         string    `json:"meta_data"`
	ResourceGroupId  string    `json:"resource_group_id"`
	InstanceType     string    `json:"instance_type"`
	VpcId            string    `json:"vpc_id"`
	VswitchId        string    `json:"vswitch_id"`
	VswitchCidr      string    `json:"vswitch_cidr"`
	DataDiskSize     int       `json:"data_disk_size"`
	DataDiskCategory string    `json:"data_disk_category"`
	SecurityGroupId  string    `json:"security_group_id"`
	Tags             []struct {
		Key   string
		Value string
	}
	ZoneId                 string `json:"zone_id"`
	NetworkMode            string `json:"network_mode"`
	SubnetCidr             string `json:"subnet_cidr"`
	MasterURL              string `json:"master_url"`
	ExternalLoadbalancerId string `json:"external_loadbalancer_id"`
	Port                   int    `json:"port"`
	NodeStatus             string `json:"node_status"`
	ClusterHealthy         string `json:"cluster_healthy"`
	DockerVersion          string `json:"docker_version"`
	SwarmMode              bool   `json:"swarm_mode"`
	GwBridge               string `json:"gw_bridge"`
	UpgradeComponents      string `json:"upgrade_components"`
	NextVersion            string `json:"next_version"`
	PrivateZone            bool   `json:"private_zone"`
	ServiceDiscoveryTypes  string `json:"service_discovery_types"`
	PrivateLink            bool   `json:"private_link"`
	Profile                string `json:"profile"`
	DeletionProtection     bool   `json:"deletion_protection"`
	ClusterSpec            string `json:"cluster_spec"`
	MaintenanceWindow      struct {
		Enable          bool   `json:"enable"`
		MaintenanceTime string `json:"maintenance_time"`
		Duration        string `json:"duration"`
		WeeklyPeriod    string `json:"weekly_period"`
	} `json:"maintenance_window"`
	Capabilities      string `json:"capabilities"`
	EnabledMigration  bool   `json:"enabled_migration"`
	NeedUpdateAgent   bool   `json:"need_update_agent"`
	Outputs           string `json:"outputs"`
	Parameters        string `json:"parameters"`
	WorkerRAMRoleName string `json:"worker_ram_role_name"`
	MaintenanceInfo   string `json:"maintenance_info"`
	// contains filtered or unexported fields
}

func (*SKubeCluster) CreateIKubeNodePool

func (*SKubeCluster) Delete

func (self *SKubeCluster) Delete(isRetain bool) error

func (*SKubeCluster) GetEnabled

func (self *SKubeCluster) GetEnabled() bool

func (*SKubeCluster) GetGlobalId

func (self *SKubeCluster) GetGlobalId() string

func (*SKubeCluster) GetIKubeNodePools

func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)

func (*SKubeCluster) GetIKubeNodes

func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)

func (*SKubeCluster) GetId

func (self *SKubeCluster) GetId() string

func (*SKubeCluster) GetKubeConfig

func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)

func (*SKubeCluster) GetName

func (self *SKubeCluster) GetName() string

func (*SKubeCluster) GetNetworkIds

func (self *SKubeCluster) GetNetworkIds() []string

func (*SKubeCluster) GetStatus

func (self *SKubeCluster) GetStatus() string

func (*SKubeCluster) GetSysTags

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

func (*SKubeCluster) GetTags

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

func (*SKubeCluster) GetVersion

func (self *SKubeCluster) GetVersion() string

func (*SKubeCluster) GetVpcId

func (self *SKubeCluster) GetVpcId() string

func (*SKubeCluster) Refresh

func (self *SKubeCluster) Refresh() error

func (*SKubeCluster) SetTags

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

type SKubeNode

type SKubeNode struct {
	multicloud.SResourceBase
	AliyunTags

	HostName           string
	ImageId            string
	InstanceChargeType string
	InstanceId         string
	InstanceName       string
	InstanceRole       string
	InstanceStatus     string
	InstanceType       string
	InstanceTypeFamily string
	IpAddress          []string
	IsAliyunNode       bool
	NodeName           string
	NodeStatus         string
	NodepoolId         string
	Source             string
	State              string
	SpotStrategy       string
	// contains filtered or unexported fields
}

func (*SKubeNode) GetGlobalId

func (self *SKubeNode) GetGlobalId() string

func (*SKubeNode) GetINodePoolId

func (self *SKubeNode) GetINodePoolId() string

func (*SKubeNode) GetId

func (self *SKubeNode) GetId() string

func (*SKubeNode) GetName

func (self *SKubeNode) GetName() string

func (*SKubeNode) GetStatus

func (self *SKubeNode) GetStatus() string

type SKubeNodePool

type SKubeNodePool struct {
	multicloud.SResourceBase
	AliyunTags

	AutoScaling struct {
		EipBandwidth int    `json:"eip_bandwidth"`
		IsBondEip    bool   `json:"is_bond_eip"`
		Enable       bool   `json:"enable"`
		MaxInstances int    `json:"max_instances"`
		MinInstances int    `json:"min_instances"`
		Type         string `json:"type"`
	} `json:"auto_scaling"`
	KubernetesConfig struct {
		CmsEnabled     bool   `json:"cms_enabled"`
		CpuPolicy      string `json:"cpu_policy"`
		Runtime        string `json:"runtime"`
		RuntimeVersion string `json:"runtime_version"`
		UserData       string `json:"user_data"`
	} `json:"kubernetes_config"`
	NodepoolInfo struct {
		Created         string `json:"created"`
		IsDefault       bool   `json:"is_default"`
		Name            string `json:"name"`
		NodepoolId      string `json:"nodepool_id"`
		RegionId        string `json:"region_id"`
		ResourceGroupId string `json:"resource_group_id"`
		Type            string `json:"type"`
		Updated         string `json:"updated"`
	} `json:"nodepool_info"`
	ScalingGroup struct {
		AutoRenew                           bool     `json:"auto_renew"`
		AutoRenewPeriod                     int      `json:"auto_renew_period"`
		ImageId                             string   `json:"image_id"`
		InstanceChargeType                  string   `json:"instance_charge_type"`
		InstanceTypes                       []string `json:"instance_types"`
		MultiAzPolicy                       string   `json:"multi_az_policy"`
		OnDemandBaseCapacity                int      `json:"on_demand_base_capacity"`
		OnDemandPercentageAboveBaseCapacity int      `json:"on_demand_percentage_above_base_capacity"`
		SpotInstancePools                   int      `json:"spot_instance_pools"`
		SpotInstanceRemedy                  bool     `json:"spot_instance_remedy"`
		CompensateWithOnDemand              bool     `json:"compensate_with_on_demand"`
		Period                              int      `json:"period"`
		PeriodUnit                          string   `json:"period_unit"`
		Platform                            string   `json:"platform"`
		RamPolicy                           string   `json:"ram_policy"`
		SpotStrategy                        string   `json:"spot_strategy"`
		SpotPriceLimit                      []struct {
			InstanceType string `json:"instance_type"`
			PriceLimit   string `json:"price_limit"`
		} `json:"spot_price_limit"`
		RdsInstances       []string `json:"rds_instances"`
		ScalingGroupId     string   `json:"scaling_group_id"`
		ScalingPolicy      string   `json:"scaling_policy"`
		SecurityGroupId    string   `json:"security_group_id"`
		SystemDiskCategory string   `json:"system_disk_category"`
		SystemDiskSize     int      `json:"system_disk_size"`
		VswitchIds         []string `json:"vswitch_ids"`
		LoginPassword      string   `json:"login_password"`
		KeyPair            string   `json:"key_pair"`
		DesiredSize        int      `json:"desired_size"`
	} `json:"scaling_group"`
	Status struct {
		FailedNodes   string `json:"failed_nodes"`
		HealthyNodes  string `json:"healthy_nodes"`
		InitialNodes  string `json:"initial_nodes"`
		OfflineNodes  string `json:"offline_nodes"`
		RemovingNodes string `json:"removing_nodes"`
		ServingNodes  string `json:"serving_nodes"`
		State         string `json:"state"`
		TotalNodes    int    `json:"total_nodes"`
	} `json:"status"`
	TeeConfig struct {
		TeeEnable bool `json:"tee_enable"`
	} `json:"tee_config"`
	Management struct {
		Enable        bool `json:"enable"`
		AutoRepair    bool `json:"auto_repair"`
		UpgradeConfig struct {
			AutoUpgrade     bool `json:"auto_upgrade"`
			Surge           int  `json:"surge"`
			SurgePercentage int  `json:"surge_percentage"`
			MaxUnavailable  int  `json:"max_unavailable"`
		} `json:"upgrade_config"`
	} `json:"management"`
	// contains filtered or unexported fields
}

func (*SKubeNodePool) Delete

func (self *SKubeNodePool) Delete() error

func (*SKubeNodePool) GetDesiredInstanceCount

func (self *SKubeNodePool) GetDesiredInstanceCount() int

func (*SKubeNodePool) GetGlobalId

func (self *SKubeNodePool) GetGlobalId() string

func (*SKubeNodePool) GetId

func (self *SKubeNodePool) GetId() string

func (*SKubeNodePool) GetInstanceTypes

func (self *SKubeNodePool) GetInstanceTypes() []string

func (*SKubeNodePool) GetMaxInstanceCount

func (self *SKubeNodePool) GetMaxInstanceCount() int

func (*SKubeNodePool) GetMinInstanceCount

func (self *SKubeNodePool) GetMinInstanceCount() int

func (*SKubeNodePool) GetName

func (self *SKubeNodePool) GetName() string

func (*SKubeNodePool) GetNetworkIds

func (self *SKubeNodePool) GetNetworkIds() []string

func (*SKubeNodePool) GetRootDiskSizeGb

func (self *SKubeNodePool) GetRootDiskSizeGb() int

func (*SKubeNodePool) GetStatus

func (self *SKubeNodePool) GetStatus() string

func (*SKubeNodePool) Refresh

func (self *SKubeNodePool) Refresh() error

type SLoadbalancer

type SLoadbalancer struct {
	multicloud.SLoadbalancerBase
	AliyunTags

	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时,只支持按带宽计费。
	InternetChargeTypeAlias  TInternetChargeType

	PayType          string //实例的计费类型,取值:PayOnDemand:按量付费 PrePay:预付费
	ResourceGroupId  string //企业资源组ID。
	LoadBalancerSpec string //负载均衡实例的的性能规格
	Bandwidth        int    //按带宽计费的公网型实例的带宽峰值
	// 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) GetProjectId

func (lb *SLoadbalancer) GetProjectId() 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
	AliyunTags

	AclId   string
	AclName string

	AclEntrys AclEntrys
	// 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) GetProjectId

func (acl *SLoadbalancerAcl) GetProjectId() string

func (*SLoadbalancerAcl) GetStatus

func (acl *SLoadbalancerAcl) GetStatus() string

func (*SLoadbalancerAcl) Refresh

func (acl *SLoadbalancerAcl) Refresh() error

func (*SLoadbalancerAcl) Sync

type SLoadbalancerBackend

type SLoadbalancerBackend struct {
	multicloud.SResourceBase
	AliyunTags

	ServerId string
	Port     int
	Weight   int
	// 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) GetProjectId

func (backend *SLoadbalancerBackend) GetProjectId() string

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
	AliyunTags

	VServerGroupId    string
	VServerGroupName  string
	AssociatedObjects AssociatedObjects
	// 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) GetProjectId

func (backendgroup *SLoadbalancerBackendGroup) GetProjectId() 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
	AliyunTags

	ServerId string
	Weight   int
	// 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) GetProjectId

func (backend *SLoadbalancerDefaultBackend) GetProjectId() string

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
	AliyunTags
	// 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) GetProjectId

func (backendgroup *SLoadbalancerDefaultBackendGroup) GetProjectId() 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
	AliyunTags

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

func (listerner *SLoadbalancerHTTPListener) GetProjectId() 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
	AliyunTags

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

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

	Domain         string `json:"Domain"`
	ListenerSync   string
	RuleId         string
	RuleName       string `json:"RuleName"`
	Url            string `json:"Url"`
	VServerGroupId string `json:"VServerGroupId"`
	// 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) GetProjectId

func (lbr *SLoadbalancerListenerRule) GetProjectId() 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
	AliyunTags

	ServerId   string
	Weight     int
	Port       int
	ServerType string
	// 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) GetProjectId

func (backend *SLoadbalancerMasterSlaveBackend) GetProjectId() string

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
	AliyunTags

	MasterSlaveServerGroupId   string
	MasterSlaveServerGroupName string
	// 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) GetProjectId

func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetProjectId() 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
	AliyunTags

	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。
	ResourceGroupId         string                  //	实例的企业资源组ID
	RegionId                string                  //	负载均衡实例的地域。
	// 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) GetProjectId

func (certificate *SLoadbalancerServerCertificate) GetProjectId() 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
	AliyunTags

	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    //	健康检查的端口。
	// 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) GetProjectId

func (listerner *SLoadbalancerTCPListener) GetProjectId() 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
	AliyunTags

	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监听健康检查的请求串
	// 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) GetProjectId

func (listerner *SLoadbalancerUDPListener) GetProjectId() 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 SMOngoDBAttribute

type SMOngoDBAttribute struct {
	// 实例最大IOPS
	MaxIops     int
	ReplicaSets struct {
		ReplicaSet []struct {
			ConnectionDomain string `json:"ConnectionDomain"`
		}
	}
	MaxConnections int
}

type SMetricMeta

type SMetricMeta struct {
	Description string `json:"Description"`
	MetricName  string `json:"MetricName"`
	Statistics  string `json:"Statistics"`
	Labels      string `json:"Labels"`
	Dimensions  string `json:"Dimensions"`
	Namespace   string `json:"Namespace"`
	Periods     string `json:"Periods"`
	Unit        string `json:"Unit"`
}

type SMongoDB

type SMongoDB struct {
	AliyunTags
	multicloud.SBillingBase
	multicloud.SResourceBase

	ConnectionDomain string `json:"ConnectionDomain"`
	NetworkAddress   string
	ChargeType       TChargeType `json:"ChargeType"`
	LockMode         string      `json:"LockMode"`
	DBInstanceClass  string      `json:"DBInstanceClass"`
	ResourceGroupId  string      `json:"ResourceGroupId"`
	DBInstanceId     string      `json:"DBInstanceId"`
	ZoneId           string      `json:"ZoneId"`
	MongosList       struct {
		MongosAttribute []struct {
			NodeId    string `json:"NodeId"`
			NodeClass string `json:"NodeClass"`
		} `json:"MongosAttribute"`
	} `json:"MongosList"`
	DBInstanceDescription string    `json:"DBInstanceDescription"`
	Engine                string    `json:"Engine"`
	CreationTime          time.Time `json:"CreationTime"`
	NetworkType           string    `json:"NetworkType"`
	ExpireTime            time.Time `json:"ExpireTime"`
	DBInstanceType        string    `json:"DBInstanceType"`
	RegionId              string    `json:"RegionId"`
	ShardList             struct {
		ShardAttribute []struct {
			NodeId      string `json:"NodeId"`
			NodeClass   string `json:"NodeClass"`
			NodeStorage int    `json:"NodeStorage"`
		} `json:"ShardAttribute"`
	} `json:"ShardList"`
	EngineVersion    string `json:"EngineVersion"`
	DBInstanceStatus string `json:"DBInstanceStatus"`

	DBInstanceStorage int    `json:"DBInstanceStorage"`
	MaintainStartTime string `json:"MaintainStartTime"`
	MaintainEndTime   string `json:"MaintainEndTime"`
	StorageEngine     string `json:"StorageEngine"`
	VpcId             string `json:"VPCId"`
	VSwitchId         string `json:"VSwitchId"`
	VpcAuthMode       string `json:"VpcAuthMode"`
	ReplicationFactor string `json:"ReplicationFactor"`
	// contains filtered or unexported fields
}

func (*SMongoDB) Delete

func (self *SMongoDB) Delete() error

func (*SMongoDB) GetBillingType

func (self *SMongoDB) GetBillingType() string

func (*SMongoDB) GetCategory

func (self *SMongoDB) GetCategory() string

func (*SMongoDB) GetCreatedAt

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

func (*SMongoDB) GetDiskSizeMb

func (self *SMongoDB) GetDiskSizeMb() int

func (*SMongoDB) GetEngine

func (self *SMongoDB) GetEngine() string

func (*SMongoDB) GetEngineVersion

func (self *SMongoDB) GetEngineVersion() string

func (*SMongoDB) GetExpiredAt

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

func (*SMongoDB) GetGlobalId

func (self *SMongoDB) GetGlobalId() string

func (*SMongoDB) GetIBackups

func (self *SMongoDB) GetIBackups() ([]cloudprovider.SMongoDBBackup, error)

func (*SMongoDB) GetId

func (self *SMongoDB) GetId() string

func (*SMongoDB) GetInstanceType

func (self *SMongoDB) GetInstanceType() string

func (*SMongoDB) GetIops

func (self *SMongoDB) GetIops() int

func (*SMongoDB) GetIpAddr

func (self *SMongoDB) GetIpAddr() string

func (*SMongoDB) GetMaintainTime

func (self *SMongoDB) GetMaintainTime() string

func (*SMongoDB) GetMaxConnections

func (self *SMongoDB) GetMaxConnections() int

func (*SMongoDB) GetName

func (self *SMongoDB) GetName() string

func (*SMongoDB) GetNetworkAddress

func (self *SMongoDB) GetNetworkAddress() string

func (*SMongoDB) GetNetworkId

func (self *SMongoDB) GetNetworkId() string

func (*SMongoDB) GetPort

func (self *SMongoDB) GetPort() int

func (*SMongoDB) GetProjectId

func (self *SMongoDB) GetProjectId() string

func (*SMongoDB) GetReplicationNum

func (self *SMongoDB) GetReplicationNum() int

func (*SMongoDB) GetStatus

func (self *SMongoDB) GetStatus() string

func (*SMongoDB) GetVcpuCount

func (self *SMongoDB) GetVcpuCount() int

func (*SMongoDB) GetVmemSizeMb

func (self *SMongoDB) GetVmemSizeMb() int

func (*SMongoDB) GetVpcId

func (self *SMongoDB) GetVpcId() string

func (*SMongoDB) GetZoneId

func (self *SMongoDB) GetZoneId() string

func (*SMongoDB) Refresh

func (self *SMongoDB) Refresh() error

func (*SMongoDB) SetTags

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

type SMongoDBAvaibaleResource

type SMongoDBAvaibaleResource struct {
	SupportedDBTypes struct {
		SupportedDBType []struct {
			DbType         string
			AvailableZones struct {
				AvailableZone []struct {
					ZoneId                  string
					RegionId                string
					SupportedEngineVersions struct {
						SupportedEngineVersion []struct {
							Version          string
							SupportedEngines struct {
								SupportedEngine []struct {
									SupportedNodeTypes struct {
										SupportedNodeType []struct {
											NetworkTypes       string
											NodeType           string
											AvailableResources struct {
												AvailableResource []struct {
													InstanceClassRemark string
													InstanceClass       string
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

type SMongoDBBackup

type SMongoDBBackup struct {
	BackupDBNames             string
	BackupDownloadURL         string
	BackupEndTime             time.Time
	BackupStartTime           time.Time
	BackupId                  string
	BackupIntranetDownloadURL string
	BackupMethod              string
	BackupMode                string
	BackupSize                int
	BackupStatus              string
	BackupType                string
}

type SMountInstances

type SMountInstances struct {
	MountInstance []string
}

type SMountTarget

type SMountTarget struct {
	Status            string
	NetworkType       string
	VswId             string
	VpcId             string
	MountTargetDomain string
	AccessGroup       string
	ClientMasterNodes ClientMasterNodes
	// contains filtered or unexported fields
}

func (*SMountTarget) Delete

func (self *SMountTarget) Delete() error

func (*SMountTarget) GetAccessGroupId

func (self *SMountTarget) GetAccessGroupId() string

func (*SMountTarget) GetDomainName

func (self *SMountTarget) GetDomainName() string

func (*SMountTarget) GetGlobalId

func (self *SMountTarget) GetGlobalId() string

func (*SMountTarget) GetName

func (self *SMountTarget) GetName() string

func (*SMountTarget) GetNetworkId

func (self *SMountTarget) GetNetworkId() string

func (*SMountTarget) GetNetworkType

func (self *SMountTarget) GetNetworkType() string

func (*SMountTarget) GetStatus

func (self *SMountTarget) GetStatus() string

func (*SMountTarget) GetVpcId

func (self *SMountTarget) GetVpcId() string

type SNatGateway

type SNatGateway struct {
	multicloud.SNatGatewayBase
	AliyunTags

	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
	NatGatewayPrivateInfo NatGatewayPrivateInfo
	// contains filtered or unexported fields
}

func (*SNatGateway) CreateINatDEntry

func (nat *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)

func (*SNatGateway) CreateINatSEntry

func (nat *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)

func (*SNatGateway) Delete

func (self *SNatGateway) Delete() error

func (*SNatGateway) GetBandwidthMb

func (self *SNatGateway) GetBandwidthMb() int

func (*SNatGateway) GetBillingType

func (nat *SNatGateway) GetBillingType() string

func (*SNatGateway) GetCreatedAt

func (nat *SNatGateway) GetCreatedAt() time.Time

func (*SNatGateway) GetExpiredAt

func (nat *SNatGateway) GetExpiredAt() time.Time

func (*SNatGateway) GetGlobalId

func (nat *SNatGateway) GetGlobalId() string

func (*SNatGateway) GetIEips

func (nat *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)

func (*SNatGateway) GetINatDEntryByID

func (nat *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)

func (*SNatGateway) GetINatDTable

func (nat *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)

func (*SNatGateway) GetINatSEntryByID

func (nat *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)

func (*SNatGateway) GetINatSTable

func (nat *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)

func (*SNatGateway) GetINetworkId

func (self *SNatGateway) GetINetworkId() string

func (*SNatGateway) GetId

func (nat *SNatGateway) GetId() string

func (*SNatGateway) GetIpAddr

func (self *SNatGateway) GetIpAddr() string

func (*SNatGateway) GetName

func (nat *SNatGateway) GetName() string

func (*SNatGateway) GetNatSpec

func (nat *SNatGateway) GetNatSpec() string

func (*SNatGateway) GetStatus

func (nat *SNatGateway) GetStatus() string

func (*SNatGateway) GetSysTags

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

func (*SNatGateway) GetTags

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

func (*SNatGateway) Refresh

func (self *SNatGateway) Refresh() error

func (*SNatGateway) SetTags

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

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
	AliyunTags

	InstanceId           string
	CreationTime         time.Time
	MacAddress           string
	ServiceManaged       bool
	NetworkInterfaceName string
	PrivateIpSets        SPrivateIpSets
	ResourceGroupId      string
	SecurityGroupIds     SSecurityGroupIds
	Status               string
	Type                 string
	VSwitchId            string
	VpcId                string
	ZoneId               string
	NetworkInterfaceId   string
	PrimaryIpAddress     string
	PrivateIpAddress     string

	Attachment struct {
		InstanceId              string
		DeviceIndex             int
		TrunkNetworkInterfaceId string
	}
	// 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 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 SPrepaidCard

type SPrepaidCard struct {
	PrepaidCardId       string
	PrepaidCardNo       string
	GrantedTime         time.Time
	EffectiveTime       time.Time
	ExpiryTime          time.Time
	NominalValue        float64
	Balance             float64
	ApplicableProducts  string
	ApplicableScenarios string
}

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 SPrivateZone

type SPrivateZone struct {
	multicloud.SResourceBase
	AliyunTags

	ZoneId          string        `json:"ZoneId"`
	SlaveDNS        string        `json:"SlaveDns"`
	ResourceGroupId string        `json:"ResourceGroupId"`
	ProxyPattern    string        `json:"ProxyPattern"`
	CreateTime      string        `json:"CreateTime"`
	Remark          string        `json:"Remark"`
	ZoneName        string        `json:"ZoneName"`
	UpdateTime      string        `json:"UpdateTime"`
	UpdateTimestamp string        `json:"UpdateTimestamp"`
	RecordCount     int           `json:"RecordCount"`
	CreateTimestamp int64         `json:"CreateTimestamp"`
	BindVpcs        SPvtzBindVpcs `json:"BindVpcs"`
	IsPtr           bool          `json:"IsPtr"`
	// contains filtered or unexported fields
}

func (*SPrivateZone) AddDnsRecord

func (self *SPrivateZone) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)

func (*SPrivateZone) AddVpc

func (self *SPrivateZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error

func (*SPrivateZone) Delete

func (self *SPrivateZone) Delete() error

func (*SPrivateZone) GetDnsProductType

func (self *SPrivateZone) GetDnsProductType() cloudprovider.TDnsProductType

func (*SPrivateZone) GetGlobalId

func (self *SPrivateZone) GetGlobalId() string

func (*SPrivateZone) GetICloudVpcIds

func (self *SPrivateZone) GetICloudVpcIds() ([]string, error)

func (*SPrivateZone) GetIDnsRecordById

func (self *SPrivateZone) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)

func (*SPrivateZone) GetIDnsRecords

func (self *SPrivateZone) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)

func (*SPrivateZone) GetId

func (self *SPrivateZone) GetId() string

func (*SPrivateZone) GetName

func (self *SPrivateZone) GetName() string

func (*SPrivateZone) GetProjectId

func (self *SPrivateZone) GetProjectId() string

func (*SPrivateZone) GetProperlyTTL

func (self *SPrivateZone) GetProperlyTTL(ttl int64) int64

func (*SPrivateZone) GetStatus

func (self *SPrivateZone) GetStatus() string

func (*SPrivateZone) GetZoneType

func (self *SPrivateZone) GetZoneType() cloudprovider.TDnsZoneType

func (*SPrivateZone) Refresh

func (self *SPrivateZone) Refresh() error

func (*SPrivateZone) RemoveVpc

func (self *SPrivateZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error

type SPrivateZones

type SPrivateZones struct {
	RequestId  string        `json:"RequestId"`
	PageSize   int           `json:"PageSize"`
	PageNumber int           `json:"PageNumber"`
	TotalPages int           `json:"TotalPages"`
	TotalItems int           `json:"TotalItems"`
	Zones      sPrivateZones `json:"Zones"`
}

type SPvtzBindVpcs

type SPvtzBindVpcs struct {
	Vpc []SPvtzVpc `json:"Vpc"`
}

type SPvtzRecord

type SPvtzRecord struct {
	Status   string `json:"Status"`
	Value    string `json:"Value"`
	Rr       string `json:"Rr"`
	RecordId string `json:"RecordId"`
	TTL      int64  `json:"Ttl"`
	Type     string `json:"Type"`
	Priority int64  `json:"Priority"`
	// contains filtered or unexported fields
}

func (*SPvtzRecord) Delete

func (self *SPvtzRecord) Delete() error

func (*SPvtzRecord) Disable

func (self *SPvtzRecord) Disable() error

func (*SPvtzRecord) Enable

func (self *SPvtzRecord) Enable() error

func (*SPvtzRecord) GetDnsName

func (self *SPvtzRecord) GetDnsName() string

func (*SPvtzRecord) GetDnsType

func (self *SPvtzRecord) GetDnsType() cloudprovider.TDnsType

func (*SPvtzRecord) GetDnsValue

func (self *SPvtzRecord) GetDnsValue() string

func (*SPvtzRecord) GetEnabled

func (self *SPvtzRecord) GetEnabled() bool

func (*SPvtzRecord) GetGlobalId

func (self *SPvtzRecord) GetGlobalId() string

func (*SPvtzRecord) GetMxPriority

func (self *SPvtzRecord) GetMxPriority() int64

func (*SPvtzRecord) GetPolicyType

func (self *SPvtzRecord) GetPolicyType() cloudprovider.TDnsPolicyType

func (*SPvtzRecord) GetPolicyValue

func (self *SPvtzRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue

func (*SPvtzRecord) GetStatus

func (self *SPvtzRecord) GetStatus() string

func (*SPvtzRecord) GetTTL

func (self *SPvtzRecord) GetTTL() int64

func (*SPvtzRecord) Update

func (self *SPvtzRecord) Update(opts *cloudprovider.DnsRecord) error

type SPvtzRecords

type SPvtzRecords struct {
	PageNumber int          `json:"PageNumber"`
	Records    sPvtzRecords `json:"Records"`
	PageSize   int          `json:"PageSize"`
	// RequestID  string       `json:"RequestId"`
	TotalItems int `json:"TotalItems"`
	TotalPages int `json:"TotalPages"`
}

type SPvtzVpc

type SPvtzVpc struct {
	VpcId      string `json:"VpcId"`
	RegionName string `json:"RegionName"`
	VpcName    string `json:"VpcName"`
	RegionId   string `json:"RegionId"`
}

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

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

func (region *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)

func (*SRegion) AllocatePublicIpAddress

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

func (*SRegion) ApplySnapshotPolicyToDisks

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

func (self *SRegion) ChangePrepaidVMConfig(instanceId string, instanceType string, isDowngrade bool) error

func (*SRegion) ChangeVMConfig

func (self *SRegion) ChangeVMConfig(instanceId string, instanceType string) error

func (*SRegion) CheckBucket

func (self *SRegion) CheckBucket(bucketName string) (*oss.Bucket, error)

func (*SRegion) ClosePublicConnection

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

func (*SRegion) ConvertPublicIpToEip

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

func (*SRegion) CreateAccessGroup

func (self *SRegion) CreateAccessGroup(opts *cloudprovider.SAccessGroup) error

func (*SRegion) CreateAccessGroupRule

func (self *SRegion) CreateAccessGroupRule(source, fsType, groupName string, rwType cloudprovider.TRWAccessType, userType cloudprovider.TUserAccessType, priority int) error

func (*SRegion) CreateDBInstanceAccount

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

func (*SRegion) CreateDBInstanceBackup

func (self *SRegion) CreateDBInstanceBackup(rdsId string, databases []string) (string, error)

func (*SRegion) CreateDBInstanceByBackup

func (self *SRegion) CreateDBInstanceByBackup(backupId string, opts *cloudprovider.SManagedDBInstanceCreateConfig) (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) CreateDomain

func (self *SRegion) CreateDomain(insId, domain string, sourceIps []string, cloudResources []cloudprovider.SCloudResource) (*SWafDomain, error)

func (*SRegion) CreateEIP

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

func (*SRegion) CreateFileSystem

func (self *SRegion) CreateFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (*SFileSystem, error)

func (*SRegion) CreateForwardTableEntry

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

func (*SRegion) CreateIBucket

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

func (*SRegion) CreateICloudAccessGroup

func (self *SRegion) CreateICloudAccessGroup(opts *cloudprovider.SAccessGroup) (cloudprovider.ICloudAccessGroup, error)

func (*SRegion) CreateICloudFileSystem

func (self *SRegion) CreateICloudFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (cloudprovider.ICloudFileSystem, error)

func (*SRegion) CreateICloudWafInstance

func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)

func (*SRegion) CreateIKubeCluster

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, publicIp cloudprovider.SPublicIpInfo,
) (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) CreateKubeCluster

func (self *SRegion) CreateKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (*SKubeCluster, error)

func (*SRegion) CreateKubeNodePool

func (self *SRegion) CreateKubeNodePool(clusterId string, opts *cloudprovider.KubeNodePoolCreateOptions) (*SKubeNodePool, 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) CreateMountTarget

func (self *SRegion) CreateMountTarget(opts *cloudprovider.SMountTargetCreateOptions) (*SMountTarget, error)

func (*SRegion) CreateNatGateway

func (self *SRegion) CreateNatGateway(opts *cloudprovider.NatGatewayCreateOptions) (*SNatGateway, error)

func (*SRegion) CreateSNATTableEntry

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

func (*SRegion) CreateSecurityGroup

func (self *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (string, error)

func (*SRegion) CreateSecurityGroupRule

func (self *SRegion) CreateSecurityGroupRule(secGrpId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) 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) CreateVpc

func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)

func (*SRegion) DeallocateEIP

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

func (*SRegion) DeleteAccessGroup

func (self *SRegion) DeleteAccessGroup(fsType, name string) error

func (*SRegion) DeleteAccessGroupRule

func (self *SRegion) DeleteAccessGroupRule(fsType, groupName, ruleId string) 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) DeleteDomain

func (self *SRegion) DeleteDomain(id, domain string) error

func (*SRegion) DeleteElasticSearch

func (self *SRegion) DeleteElasticSearch(id string) error

func (*SRegion) DeleteFileSystem

func (self *SRegion) DeleteFileSystem(id string) error

func (*SRegion) DeleteForwardTableEntry

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

func (*SRegion) DeleteIBucket

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

func (*SRegion) DeleteImage

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

func (*SRegion) DeleteInstance

func (self *SRegion) DeleteInstance(id string) error

func (*SRegion) DeleteKafka

func (self *SRegion) DeleteKafka(id string) error

func (*SRegion) DeleteKubeCluster

func (self *SRegion) DeleteKubeCluster(id string, isRetain bool) error

func (*SRegion) DeleteKubeNodePool

func (self *SRegion) DeleteKubeNodePool(clusterId, id 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) DeleteMongoDB

func (self *SRegion) DeleteMongoDB(id string) error

func (*SRegion) DeleteMountTarget

func (self *SRegion) DeleteMountTarget(fsId, id string) error

func (*SRegion) DeleteNatGateway

func (self *SRegion) DeleteNatGateway(natId string, isForce bool) 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) DescribeDomain

func (self *SRegion) DescribeDomain(id, domain string) (*SWafDomain, error)

func (*SRegion) DescribeDomainNames

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

func (*SRegion) DescribeDomainRuleGroup

func (self *SRegion) DescribeDomainRuleGroup(insId, domain string) (string, error)

func (*SRegion) DescribeInstanceSpecInfo

func (self *SRegion) DescribeInstanceSpecInfo() (*SWafInstance, error)

func (*SRegion) DescribeMetricList

func (r *SRegion) DescribeMetricList(name string, ns string, since time.Time, until time.Time, nextToken string, dimensions []SResourceLabel) ([]jsonutils.JSONObject, string, error)

func (*SRegion) DescribeMetricMetaList

func (r *SRegion) DescribeMetricMetaList(ns string, limit, offset int) (int, []SMetricMeta, error)

func (*SRegion) DescribeProjectMeta

func (r *SRegion) DescribeProjectMeta(limit, offset int) (int, []SResource, error)

func (*SRegion) DescribeProtectionModuleMode

func (self *SRegion) DescribeProtectionModuleMode(insId, domain, defenseType string) (cloudprovider.TWafAction, error)

func (*SRegion) DescribeSecurityGroupReferences

func (self *SRegion) DescribeSecurityGroupReferences(id string) ([]SecurityGroupReferences, error)

func (*SRegion) DescribeWafSourceIpSegment

func (self *SRegion) DescribeWafSourceIpSegment(insId string) (*SIpSegement, 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, bucketName string) (*ImageExportTask, error)

func (*SRegion) FetchMetricData

func (r *SRegion) FetchMetricData(name string, ns string, since time.Time, until time.Time) ([]jsonutils.JSONObject, error)

func (*SRegion) FetchMetrics

func (r *SRegion) FetchMetrics(ns string) ([]SMetricMeta, error)

func (*SRegion) FetchNamespaces

func (r *SRegion) FetchNamespaces() ([]SResource, error)

func (*SRegion) GetAccessGroupRules

func (self *SRegion) GetAccessGroupRules(groupName string, pageSize, pageNum int) ([]SAccessGroupRule, int, error)

func (*SRegion) GetAccessGroups

func (self *SRegion) GetAccessGroups(fsType string) ([]SAccessGroup, error)

func (*SRegion) GetAccountAttributes

func (region *SRegion) GetAccountAttributes() ([]SAccountAttributeItem, error)

func (*SRegion) GetAllDTables

func (region *SRegion) GetAllDTables(tableId string) ([]SForwardTableEntry, error)

func (*SRegion) GetCapabilities

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

func (*SRegion) GetClient

func (self *SRegion) GetClient() *SAliyunClient

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, addr string, offset int, limit int) ([]SEipAddress, int, error)

func (*SRegion) GetElasitcSearch

func (self *SRegion) GetElasitcSearch(id string) (*SElasticSearch, 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) GetElasticSearchs

func (self *SRegion) GetElasticSearchs(size, page int) ([]SElasticSearch, int, error)

func (*SRegion) GetEvents

func (region *SRegion) GetEvents(start time.Time, end time.Time, token string, eventRW string, requestId string) ([]SEvent, string, error)

func (*SRegion) GetFileSystem

func (self *SRegion) GetFileSystem(id string) (*SFileSystem, error)

func (*SRegion) GetFileSystems

func (self *SRegion) GetFileSystems(id string, pageSize, pageNum int) ([]SFileSystem, int, 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 (region *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)

func (*SRegion) GetIBucketByName

func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)

func (*SRegion) GetIBuckets

func (region *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)

func (*SRegion) GetICloudAccessGroupById

func (self *SRegion) GetICloudAccessGroupById(id string) (cloudprovider.ICloudAccessGroup, error)

func (*SRegion) GetICloudAccessGroups

func (self *SRegion) GetICloudAccessGroups() ([]cloudprovider.ICloudAccessGroup, error)

func (*SRegion) GetICloudEvents

func (region *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)

func (*SRegion) GetICloudFileSystemById

func (self *SRegion) GetICloudFileSystemById(id string) (cloudprovider.ICloudFileSystem, error)

func (*SRegion) GetICloudFileSystems

func (self *SRegion) GetICloudFileSystems() ([]cloudprovider.ICloudFileSystem, error)

func (*SRegion) GetICloudKafkaById

func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)

func (*SRegion) GetICloudKafkas

func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)

func (*SRegion) GetICloudKubeClusterById

func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)

func (*SRegion) GetICloudKubeClusters

func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)

func (*SRegion) GetICloudMongoDBById

func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)

func (*SRegion) GetICloudMongoDBs

func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)

func (*SRegion) GetICloudQuotas

func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)

func (*SRegion) GetICloudTablestores

func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, error)

func (*SRegion) GetICloudWafInstanceById

func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)

func (*SRegion) GetICloudWafInstances

func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, 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) GetIElasticSearchById

func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)

func (*SRegion) GetIElasticSearchs

func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, 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) GetISecurityGroupById

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

func (*SRegion) GetISnapshotById

func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)

func (*SRegion) GetISnapshotPolicies

func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)

func (*SRegion) GetISnapshotPolicyById

func (self *SRegion) GetISnapshotPolicyById(id 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 (self *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) ([]SInstance, error)

func (*SRegion) GetIops

func (self *SRegion) GetIops(id string) (int, error)

func (*SRegion) GetKafka

func (self *SRegion) GetKafka(id string) (*SKafka, error)

func (*SRegion) GetKafkaTopics

func (self *SRegion) GetKafkaTopics(id string, page int, pageSize int) ([]cloudprovider.SKafkaTopic, int, error)

func (*SRegion) GetKafkas

func (self *SRegion) GetKafkas(ids []string) ([]SKafka, error)

func (*SRegion) GetKeypairs

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

func (*SRegion) GetKubeCluster

func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)

func (*SRegion) GetKubeClusters

func (self *SRegion) GetKubeClusters(pageSize, pageNumber int) ([]SKubeCluster, int, error)

func (*SRegion) GetKubeConfig

func (self *SRegion) GetKubeConfig(clusterId string, private bool, minutes int) (*cloudprovider.SKubeconfig, error)

func (*SRegion) GetKubeNodePool

func (self *SRegion) GetKubeNodePool(clusterId, id string) (*SKubeNodePool, error)

func (*SRegion) GetKubeNodePools

func (self *SRegion) GetKubeNodePools(clusterId string) ([]SKubeNodePool, error)

func (*SRegion) GetKubeNodes

func (self *SRegion) GetKubeNodes(clusterId string, pageSize, pageNumber int) ([]SKubeNode, 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) GetMaxConnections

func (self *SRegion) GetMaxConnections(id string) (int, error)

func (*SRegion) GetMongoDB

func (self *SRegion) GetMongoDB(id string) (*SMongoDB, error)

func (*SRegion) GetMongoDBAttribute

func (self *SRegion) GetMongoDBAttribute(id string) ([]SMOngoDBAttribute, error)

func (*SRegion) GetMongoDBAvailableResource

func (self *SRegion) GetMongoDBAvailableResource() (*SMongoDBAvaibaleResource, error)

func (*SRegion) GetMongoDBBackups

func (self *SRegion) GetMongoDBBackups(id string, start time.Time, end time.Time, pageSize, pageNum int) ([]SMongoDBBackup, int, error)

func (*SRegion) GetMongoDBs

func (self *SRegion) GetMongoDBs(mongoType string, pageSize int, pageNum int) ([]SMongoDB, int, error)

func (*SRegion) GetMongoDBsByType

func (self *SRegion) GetMongoDBsByType(mongoType string) ([]SMongoDB, error)

func (*SRegion) GetMountTargets

func (self *SRegion) GetMountTargets(fsId, domainName string, pageSize, pageNum int) ([]SMountTarget, int, error)

func (*SRegion) GetName

func (self *SRegion) GetName() string

func (*SRegion) GetNatGateways

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

func (*SRegion) GetNetworkAddress

func (self *SRegion) GetNetworkAddress(id string) (string, error)

func (*SRegion) GetNetworkInterfaces

func (region *SRegion) GetNetworkInterfaces(instanceId, status string, nextToken string, maxResults int) ([]SNetworkInterface, string, 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) GetRdsSecgroupIds

func (self *SRegion) GetRdsSecgroupIds(rdsId string) ([]string, 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) ([]SSecurityGroup, error)

func (*SRegion) GetSnapshotPolicies

func (self *SRegion) GetSnapshotPolicies(policyId string) ([]SSnapshotPolicy, 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, int8, 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) GetchMongoSkus

func (self *SRegion) GetchMongoSkus() (map[string]struct {
	CpuCount  int
	MemSizeGb int
}, error)

func (*SRegion) GrantDBInstancePrivilege

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

func (*SRegion) GrantInstanceToCen

func (self *SRegion) GrantInstanceToCen(opts *cloudprovider.SVpcJointInterVpcNetworkOption, instance SCenAttachInstanceInput) error

func (*SRegion) IBucketExist

func (region *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) ListSysAndUserTags

func (self *SRegion) ListSysAndUserTags(serviceType string, resourceType string, resourceId string) (map[string]string, map[string]string, error)

func (*SRegion) ListTags

func (self *SRegion) ListTags(serviceType string, resourceType string, resourceId string) ([]SAliyunTag, error)

资源类型。取值范围: disk, instance, image, securitygroup, snapshot

func (*SRegion) ModifyDBInstanceName

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

func (*SRegion) ModifyInstanceAutoRenewalAttribute

func (region *SRegion) ModifyInstanceAutoRenewalAttribute(rdsId string, month int, autoRenew bool) 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) ReleaseKafka

func (self *SRegion) ReleaseKafka(id string) 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) SaveImage

func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)

func (*SRegion) SetDomainRuleGroup

func (self *SRegion) SetDomainRuleGroup(insId, domain, ruleGroupId string) error

func (*SRegion) SetInstanceAutoRenew

func (region *SRegion) SetInstanceAutoRenew(instanceId string, bc billing.SBillingCycle) error

https://help.aliyun.com/document_detail/52843.html

func (*SRegion) SetRdsSecgroups

func (self *SRegion) SetRdsSecgroups(rdsId string, secIds []string) error

func (*SRegion) SetResourceTags

func (self *SRegion) SetResourceTags(serviceType string, resourceType string, resId 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 -- Aliyun

func (*SRegion) StartVM

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

func (*SRegion) StopVM

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

func (*SRegion) TagResource

func (self *SRegion) TagResource(serviceType string, resourceType string, resourceId string, tags map[string]string) error

func (*SRegion) UnassociateRouteTable

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

func (*SRegion) UntagResource

func (self *SRegion) UntagResource(serviceType string, resourceType string, resId string, keys []string, removeAll bool) 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) UpdateSecurityGroupRule

func (self *SRegion) UpdateSecurityGroupRule(groupId, ruleId string, direction secrules.TSecurityRuleDirection, desc 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, osType string) error

func (*SRegion) VpcMoveResourceGroup

func (self *SRegion) VpcMoveResourceGroup(resType, groupId, resId string) error

func (*SRegion) WaitTaskStatus

func (self *SRegion) WaitTaskStatus(action TaskActionType, taskId string, targetStatus TaskStatusType, interval time.Duration, timeout time.Duration, min, max int8, progress func(float32)) error

type SResource

type SResource struct {
	Description string `json:"Description"`
	Labels      string `json:"Labels"`
	Namespace   string `json:"Namespace"`
}

type SResourceCreation

type SResourceCreation struct {
	ResourceTypes []string
}

type SResourceGroup

type SResourceGroup struct {
	multicloud.SProjectBase
	AliyunTags

	Status      string
	AccountId   string
	DisplayName string
	Id          string
	CreateDate  time.Time
	Name        string
	// contains filtered or unexported fields
}

func (*SResourceGroup) GetAccountId

func (self *SResourceGroup) GetAccountId() 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 SResourceLabel

type SResourceLabel struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

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
}

func (*SRole) AttachPolicy

func (self *SRole) AttachPolicy(policyName string) error

func (*SRole) Delete

func (self *SRole) Delete() error

func (*SRole) DetachPolicy

func (self *SRole) DetachPolicy(policyName string) error

func (*SRole) GetDocument

func (self *SRole) GetDocument() *jsonutils.JSONDict

func (*SRole) GetGlobalId

func (self *SRole) GetGlobalId() string

func (*SRole) GetICloudpolicies

func (self *SRole) GetICloudpolicies() ([]cloudprovider.ICloudpolicy, error)

func (*SRole) GetName

func (self *SRole) GetName() string

func (*SRole) GetSAMLProvider

func (self *SRole) GetSAMLProvider() string

type SRoles

type SRoles struct {
	Roles       sRoles
	Marker      string
	IsTruncated bool
}

type SRouteEntry

type SRouteEntry struct {
	multicloud.SResourceBase
	AliyunTags

	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
	AliyunTags

	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
	AliyunTags

	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 SSSLCertificate

type SSSLCertificate struct {
	multicloud.SVirtualResourceBase
	AliyunTags

	Sans        string    // 证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等
	Id          int       // 证书ID
	StartDate   time.Time // 证书签发日期
	Province    string    // 购买证书的用户所属的公司或组织所在的省
	Common      string    // 证书绑定的主域名
	Country     string    // 购买证书的用户所属的公司或组织所在的国家或地区
	Issuer      string    // 证书颁发机构
	BuyInAliyun bool      // 是否在阿里云购买了证书
	Expired     bool      // 证书是否过期
	EndDate     time.Time // 证书到期日期
	Name        string    // 证书名称
	Fingerprint string    // 证书名称
	City        string    // 购买证书的用户所属的公司或组织所在的城市
	OrgName     string    // 购买证书的用户所属的公司或组织的名称

	Cert string `json:"Cert"` // 证书内容
	Key  string `json:"Key"`  // 证书私钥
	// contains filtered or unexported fields
}

func (*SSSLCertificate) GetCert

func (s *SSSLCertificate) GetCert() string

func (*SSSLCertificate) GetCity

func (s *SSSLCertificate) GetCity() string

func (*SSSLCertificate) GetCommon

func (s *SSSLCertificate) GetCommon() string

func (*SSSLCertificate) GetCountry

func (s *SSSLCertificate) GetCountry() string

func (*SSSLCertificate) GetDetails

func (s *SSSLCertificate) GetDetails() (*SSSLCertificate, error)

func (*SSSLCertificate) GetEndDate

func (s *SSSLCertificate) GetEndDate() time.Time

func (*SSSLCertificate) GetExpired

func (s *SSSLCertificate) GetExpired() bool

func (*SSSLCertificate) GetFingerprint

func (s *SSSLCertificate) GetFingerprint() string

func (*SSSLCertificate) GetGlobalId

func (s *SSSLCertificate) GetGlobalId() string

func (*SSSLCertificate) GetId

func (s *SSSLCertificate) GetId() string

func (*SSSLCertificate) GetIsUpload

func (s *SSSLCertificate) GetIsUpload() bool

func (*SSSLCertificate) GetIssuer

func (s *SSSLCertificate) GetIssuer() string

func (*SSSLCertificate) GetKey

func (s *SSSLCertificate) GetKey() string

func (*SSSLCertificate) GetName

func (s *SSSLCertificate) GetName() string

func (*SSSLCertificate) GetOrgName

func (s *SSSLCertificate) GetOrgName() string

func (*SSSLCertificate) GetProvince

func (s *SSSLCertificate) GetProvince() string

func (*SSSLCertificate) GetSans

func (s *SSSLCertificate) GetSans() string

func (*SSSLCertificate) GetStartDate

func (s *SSSLCertificate) GetStartDate() time.Time

func (*SSSLCertificate) GetStatus

func (s *SSSLCertificate) GetStatus() string

type SSecurityGroup

type SSecurityGroup struct {
	multicloud.SSecurityGroup
	AliyunTags

	CreationTime      time.Time
	Description       string
	SecurityGroupId   string
	SecurityGroupName string
	VpcId             string
	InnerAccessPolicy string
	Permissions       SPermissions
	RegionId          string
	ResourceGroupId   string
	// contains filtered or unexported fields
}

func (*SSecurityGroup) Delete

func (self *SSecurityGroup) Delete() error

func (*SSecurityGroup) GetDescription

func (self *SSecurityGroup) GetDescription() string

func (*SSecurityGroup) GetGlobalId

func (self *SSecurityGroup) GetGlobalId() string

func (*SSecurityGroup) GetId

func (self *SSecurityGroup) GetId() string

func (*SSecurityGroup) GetName

func (self *SSecurityGroup) GetName() string

func (*SSecurityGroup) GetProjectId

func (self *SSecurityGroup) GetProjectId() string

func (*SSecurityGroup) GetReferences

func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)

func (*SSecurityGroup) GetRules

func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)

func (*SSecurityGroup) GetStatus

func (self *SSecurityGroup) GetStatus() string

func (*SSecurityGroup) GetVpcId

func (self *SSecurityGroup) GetVpcId() string

func (*SSecurityGroup) Refresh

func (self *SSecurityGroup) Refresh() error

func (*SSecurityGroup) SetTags

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

type SSecurityGroupIds

type SSecurityGroupIds struct {
	SecurityGroupId []string
}

type SSecurityIPGroups

type SSecurityIPGroups struct {
	// contains filtered or unexported fields
}

type SSessionContext

type SSessionContext struct {
	Attributes SAttributes
}

type SSnapshot

type SSnapshot struct {
	multicloud.SResourceBase
	AliyunTags

	Progress        string
	SnapshotId      string
	SnapshotName    string
	SourceDiskId    string
	SourceDiskSize  int32
	SourceDiskType  string
	Status          SnapshotStatusType
	Usage           string
	ResourceGroupId string
	// 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) GetProjectId

func (self *SSnapshot) GetProjectId() 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
	AliyunTags

	AutoSnapshotPolicyName string
	AutoSnapshotPolicyId   string
	RepeatWeekdays         string
	TimePoints             string
	RetentionDays          int
	Status                 SSnapshotPolicyType
	// 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) GetProjectId

func (self *SSnapshotPolicy) GetProjectId() string

func (*SSnapshotPolicy) GetRepeatWeekdays

func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)

func (*SSnapshotPolicy) GetRetentionDays

func (self *SSnapshotPolicy) GetRetentionDays() int

func (*SSnapshotPolicy) GetStatus

func (self *SSnapshotPolicy) GetStatus() string

func (*SSnapshotPolicy) GetTimePoints

func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)

func (*SSnapshotPolicy) IsEmulated

func (self *SSnapshotPolicy) IsEmulated() bool

func (*SSnapshotPolicy) Refresh

func (self *SSnapshotPolicy) Refresh() error

type SSnapshotPolicyType

type SSnapshotPolicyType string
const (
	Creating  SSnapshotPolicyType = "Creating"
	Available SSnapshotPolicyType = "Available"
	Normal    SSnapshotPolicyType = "Normal"
)

type SSnatTableIds

type SSnatTableIds struct {
	SnatTableId []string
}

type SStatement

type SStatement struct {
	Action   []string `json:"Action,allowempty"`
	Effect   string   `json:"Effect"`
	Resource []string `json:"Resource"`
}

type SStorage

type SStorage struct {
	multicloud.SStorageBase
	AliyunTags
	// 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
	AliyunTags
	// 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(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
	AliyunTags

	InstanceName string
	Timestamp    time.Time
	// 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) GetProjectId

func (self *STablestore) GetProjectId() string

func (*STablestore) GetStatus

func (self *STablestore) GetStatus() 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 SUserIdentity

type SUserIdentity struct {
	AccessKeyId    string
	AccountId      string
	PrincipalId    string
	SessionContext SSessionContext
	Type           string
	UserName       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
	AliyunTags

	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
	ResourceGroupId string
	RouteTable      SRouteTable
	// contains filtered or unexported fields
}

func (*SVSwitch) Delete

func (self *SVSwitch) Delete() error

func (*SVSwitch) GetAllocTimeoutSeconds

func (self *SVSwitch) GetAllocTimeoutSeconds() int

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

func (self *SVSwitch) GetProjectId() 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) IsEmulated

func (self *SVSwitch) IsEmulated() bool

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
	AliyunTags

	CidrBlock    string
	CreationTime time.Time
	Description  string
	IsDefault    bool
	RegionId     string
	Status       string
	UserCidrs    SUserCIDRs
	VRouterId    string
	VSwitchIds   SVSwitchIds
	VpcId        string
	VpcName      string
	// contains filtered or unexported fields
}

func (*SVpc) CreateINatGateway

func (*SVpc) Delete

func (self *SVpc) Delete() error

func (*SVpc) GetAuthorityOwnerId

func (self *SVpc) GetAuthorityOwnerId() string

func (*SVpc) GetCidrBlock

func (self *SVpc) GetCidrBlock() string

func (*SVpc) GetGlobalId

func (self *SVpc) GetGlobalId() string

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

func (self *SVpc) IsEmulated() bool

func (*SVpc) ProposeJoinICloudInterVpcNetwork

func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error

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 SWafDomain

type SWafDomain struct {
	multicloud.SResourceBase
	AliyunTags

	Httptouserip    int           `json:"HttpToUserIp"`
	Httpport        []int         `json:"HttpPort"`
	Isaccessproduct int           `json:"IsAccessProduct"`
	Resourcegroupid string        `json:"ResourceGroupId"`
	Readtime        int           `json:"ReadTime"`
	Sourceips       []string      `json:"SourceIps"`
	Ipfollowstatus  int           `json:"IpFollowStatus"`
	Clustertype     int           `json:"ClusterType"`
	Loadbalancing   int           `json:"LoadBalancing"`
	Cname           string        `json:"Cname"`
	Writetime       int           `json:"WriteTime"`
	HTTP2Port       []interface{} `json:"Http2Port"`
	Version         int           `json:"Version"`
	Httpsredirect   int           `json:"HttpsRedirect"`
	Connectiontime  int           `json:"ConnectionTime"`
	Accesstype      string        `json:"AccessType"`
	Httpsport       []interface{} `json:"HttpsPort"`
	// contains filtered or unexported fields
}

func (*SWafDomain) AddRule

func (*SWafDomain) Delete

func (self *SWafDomain) Delete() error

func (*SWafDomain) GetCloudResources

func (self *SWafDomain) GetCloudResources() ([]cloudprovider.SCloudResource, error)

func (*SWafDomain) GetDefaultAction

func (self *SWafDomain) GetDefaultAction() *cloudprovider.DefaultAction

func (*SWafDomain) GetEnabled

func (self *SWafDomain) GetEnabled() bool

func (*SWafDomain) GetGlobalId

func (self *SWafDomain) GetGlobalId() string

func (*SWafDomain) GetId

func (self *SWafDomain) GetId() string

func (*SWafDomain) GetName

func (self *SWafDomain) GetName() string

func (*SWafDomain) GetRules

func (self *SWafDomain) GetRules() ([]cloudprovider.ICloudWafRule, error)

func (*SWafDomain) GetStatus

func (self *SWafDomain) GetStatus() string

func (*SWafDomain) GetWafType

func (self *SWafDomain) GetWafType() cloudprovider.TWafType

func (*SWafDomain) Refresh

func (self *SWafDomain) Refresh() error

type SWafInstance

type SWafInstance struct {
	Version           string
	InstanceSpecInfos []SInstanceSpecs
	InstanceId        string
	ExpireTime        uint64
}

type SWire

type SWire struct {
	multicloud.SResourceBase
	AliyunTags
	// 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
	AliyunTags

	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 SecurityGroupReferences

type SecurityGroupReferences struct {
	SecurityGroupId           string
	ReferencingSecurityGroups ReferencingSecurityGroups
}

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 SupportedFeatures

type SupportedFeatures struct {
	SupportedFeature []string
}

type TChargeType

type TChargeType string
const (
	PrePaidInstanceChargeType    TChargeType = "PrePaid"
	PrePaidDBInstanceChargeType  TChargeType = "Prepaid"
	PostPaidInstanceChargeType   TChargeType = "PostPaid"
	PostPaidDBInstanceChargeType TChargeType = "Postpaid"
	DefaultInstanceChargeType                = PostPaidInstanceChargeType
)

type TInternetChargeType

type TInternetChargeType string

type TaskActionType

type TaskActionType string

type TaskStatusType

type TaskStatusType string

type ValueItem

type ValueItem struct {
	Value        string
	DiskCategory string
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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