Documentation ¶
Index ¶
- Constants
- Variables
- func DoAction(client jsonRequestFunc, action string, params map[string]string, ...) error
- func GetRecordLineLineType(policyinfo cloudprovider.TDnsPolicyValue) string
- func TDnsProductType(productName string) cloudprovider.TDnsProductType
- type AclEntry
- type AclEntrys
- type AliyunClientConfig
- func (cfg *AliyunClientConfig) AccountId(id string) *AliyunClientConfig
- func (cfg *AliyunClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *AliyunClientConfig
- func (cfg AliyunClientConfig) Copy() AliyunClientConfig
- func (cfg *AliyunClientConfig) Debug(debug bool) *AliyunClientConfig
- type AliyunTags
- type AsPaths
- type AssociatedObjects
- type AttributeValues
- type BackendServers
- type CenBandwidthPackageIds
- type CenRouteEntries
- type CenRouteMapRecord
- type CenRouteMapRecords
- type ClientMasterNode
- type ClientMasterNodes
- type Communities
- type Conflict
- type Conflicts
- type DNSServers
- type DatabasePrivilege
- type DatabasePrivileges
- type ImageExportTask
- type ImageImportTask
- type ImageOwnerType
- type ImageStatusType
- type ImageUsageType
- type LBRegion
- type Listener
- type ListenerPortAndProtocol
- type ListenerPorts
- type ListenerPortsAndProtocol
- type ListenerProtocol
- type Listeners
- type ManagedRuleGroup
- func (self *ManagedRuleGroup) Delete() error
- func (self *ManagedRuleGroup) GetAction() *cloudprovider.DefaultAction
- func (self *ManagedRuleGroup) GetDesc() string
- func (self *ManagedRuleGroup) GetGlobalId() string
- func (self *ManagedRuleGroup) GetName() string
- func (self *ManagedRuleGroup) GetPriority() int
- func (self *ManagedRuleGroup) GetStatementCondition() cloudprovider.TWafStatementCondition
- func (self *ManagedRuleGroup) GetStatements() ([]cloudprovider.SWafStatement, error)
- func (self *ManagedRuleGroup) Update(opts *cloudprovider.SWafRule) error
- type MetricData
- type MountTargets
- type NatGatewayPrivateInfo
- type OssProgressListener
- type Package
- type Packages
- type ReferencingSecurityGroup
- type ReferencingSecurityGroups
- type Rule
- type Rules
- type SAMLProvider
- func (self *SAMLProvider) Delete() error
- func (self *SAMLProvider) GetAuthUrl(apiServer string) string
- func (self *SAMLProvider) GetGlobalId() string
- func (self *SAMLProvider) GetId() string
- func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)
- func (self *SAMLProvider) GetName() string
- func (self *SAMLProvider) GetStatus() string
- func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error
- type SAccessGroup
- func (self *SAccessGroup) CreateRule(opts *cloudprovider.AccessGroupRule) (cloudprovider.IAccessGroupRule, error)
- func (self *SAccessGroup) Delete() error
- func (self *SAccessGroup) GetDesc() string
- func (self *SAccessGroup) GetFileSystemType() string
- func (self *SAccessGroup) GetGlobalId() string
- func (self *SAccessGroup) GetMountTargetCount() int
- func (self *SAccessGroup) GetName() string
- func (self *SAccessGroup) GetNetworkType() string
- func (self *SAccessGroup) GetRules() ([]cloudprovider.IAccessGroupRule, error)
- func (self *SAccessGroup) GetSupporedUserAccessTypes() []cloudprovider.TUserAccessType
- type SAccessGroupRule
- func (self *SAccessGroupRule) Delete() error
- func (self *SAccessGroupRule) GetGlobalId() string
- func (self *SAccessGroupRule) GetPriority() int
- func (self *SAccessGroupRule) GetRWAccessType() cloudprovider.TRWAccessType
- func (self *SAccessGroupRule) GetSource() string
- func (self *SAccessGroupRule) GetUserAccessType() cloudprovider.TUserAccessType
- type SAccountAttributeItem
- type SAccountBalance
- type SAliyunAccount
- type SAliyunClient
- func (client *SAliyunClient) AddDomain(domainName string) (*SDomain, error)
- func (client *SAliyunClient) AddDomainRecord(domainName string, opts *cloudprovider.DnsRecord) (string, error)
- func (self *SAliyunClient) AddUserToGroup(groupName, userName string) error
- func (client *SAliyunClient) AddZone(zoneName string) (string, error)
- func (client *SAliyunClient) AddZoneRecord(ZoneId string, opts *cloudprovider.DnsRecord) (string, error)
- func (client *SAliyunClient) AttachCenChildInstance(cenId string, instance SCenAttachInstanceInput) error
- func (self *SAliyunClient) AttachPolicy2Role(policyType string, policyName string, roleName string) error
- func (self *SAliyunClient) AttachPolicyToGroup(policyType, policyName, groupName string) error
- func (self *SAliyunClient) AttachPolicyToUser(policyName, policyType, userName string) error
- func (client *SAliyunClient) BindZoneVpc(ZoneId string, vpc *cloudprovider.SPrivateZoneVpc) error
- func (client *SAliyunClient) BindZoneVpcs(zoneId string, vpc []cloudprovider.SPrivateZoneVpc) error
- func (client *SAliyunClient) CreateCen(opts *cloudprovider.SInterVpcNetworkCreateOptions) (string, error)
- func (self *SAliyunClient) CreateGroup(groupName, comments string) (*SGroup, error)
- func (self *SAliyunClient) CreateICloudgroup(name string, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAliyunClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SAliyunClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAliyunClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SAliyunClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)
- func (self *SAliyunClient) CreatePolicy(name string, document string, desc string) (*SPolicy, error)
- func (self *SAliyunClient) CreatePolicyVersion(name, document string, isDefault bool) error
- func (client *SAliyunClient) CreatePrivateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (client *SAliyunClient) CreatePublicICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunClient) CreateResourceGroup(name string) (*SResourceGroup, error)
- func (self *SAliyunClient) CreateRole(roleName string, document string, desc string) (*SRole, error)
- func (self *SAliyunClient) CreateSAMLProvider(name, metadata, desc string) (*SAMLProvider, error)
- func (self *SAliyunClient) CreateUser(name, phone, email, comments string) (*SUser, error)
- func (client *SAliyunClient) CreateZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SPrivateZone, error)
- func (client *SAliyunClient) DeleteCen(id string) error
- func (self *SAliyunClient) DeleteClouduser(name string) error
- func (client *SAliyunClient) DeleteDomain(domainName string) error
- func (client *SAliyunClient) DeleteDomainRecord(recordId string) error
- func (self *SAliyunClient) DeleteGroup(groupName string) error
- func (self *SAliyunClient) DeleteLoginProfile(name string) error
- func (self *SAliyunClient) DeletePolicy(policyType string, policyName string) error
- func (self *SAliyunClient) DeleteRole(roleName string) error
- func (self *SAliyunClient) DeleteSAMLProvider(name string) error
- func (client *SAliyunClient) DeleteZone(zoneId string) error
- func (client *SAliyunClient) DeleteZoneRecord(RecordId string) error
- func (client *SAliyunClient) DescribeCenAttachedChildInstances(cenId string, pageNumber int, pageSize int) (SCenChildInstances, error)
- func (client *SAliyunClient) DescribeCenChildInstanceRouteEntries(cenId string, childInstanceId string, childInstanceRegion string, ...) (SCenRouteEntries, error)
- func (client *SAliyunClient) DescribeCens(pageNumber int, pageSize int) (SCens, error)
- func (client *SAliyunClient) DescribeDnsProductInstances(pageNumber int, pageSize int) (SDNSProducts, error)
- func (client *SAliyunClient) DescribeDomainInfo(domainName string) (*SDomain, error)
- func (client *SAliyunClient) DescribeDomainRecordInfo(recordId string) (*SDomainRecord, error)
- func (client *SAliyunClient) DescribeDomainRecords(domainName string, pageNumber int, pageSize int) (SDomainRecords, error)
- func (client *SAliyunClient) DescribeDomains(pageNumber int, pageSize int) (SDomains, error)
- func (client *SAliyunClient) DescribeDomainsBySource(origin string) (SCdnDomainsList, error)
- func (client *SAliyunClient) DescribeSubDomainRecords(SubDomainName string, pageNumber int, pageSize int) (SDomainRecords, error)
- func (client *SAliyunClient) DescribeUserDomains(domain string, pageSize, pageNumber int) ([]SCdnDomain, int, error)
- func (client *SAliyunClient) DescribeZoneInfo(zoneId string) (*SPrivateZone, error)
- func (client *SAliyunClient) DescribeZoneRecords(ZoneId string, pageNumber int, pageSize int) (SPvtzRecords, error)
- func (client *SAliyunClient) DescribeZones(pageNumber int, pageSize int) (SPrivateZones, error)
- func (client *SAliyunClient) DetachCenChildInstance(cenId string, instance SCenAttachInstanceInput) error
- func (self *SAliyunClient) DetachPolicyFromGroup(policyType, policyName, groupName string) error
- func (self *SAliyunClient) DetachPolicyFromRole(policyType, policyName, roleName string) error
- func (self *SAliyunClient) DetachPolicyFromUser(policyName, policyType, userName string) error
- func (self *SAliyunClient) EnableImageExport() error
- func (self *SAliyunClient) EnableImageImport() error
- func (self *SAliyunClient) GetAccessEnv() string
- func (self *SAliyunClient) GetAccountId() string
- func (client *SAliyunClient) GetAllCenAttachedChildInstances(cenId string) ([]SCenChildInstance, error)
- func (client *SAliyunClient) GetAllCenChildInstanceRouteEntries(cenId, childInstanceId, childInstanceRegion, childInstanceType string) ([]SCenRouteEntry, error)
- func (client *SAliyunClient) GetAllCens() ([]SCen, error)
- func (client *SAliyunClient) GetAllDnsProductInstances() ([]SDNSProduct, error)
- func (client *SAliyunClient) GetAllDomainRecords(domainName string) ([]SDomainRecord, error)
- func (client *SAliyunClient) GetAllDomains() ([]SDomain, error)
- func (client *SAliyunClient) GetAllZoneRecords(ZoneId string) ([]SPvtzRecord, error)
- func (client *SAliyunClient) GetAllZones() ([]SPrivateZone, error)
- func (client *SAliyunClient) GetAllZonesInfo() ([]SPrivateZone, error)
- func (self *SAliyunClient) GetCDNDomainByName(name string) (*SCdnDomain, error)
- func (self *SAliyunClient) GetCallerIdentity() (*SCallerIdentity, error)
- func (region *SAliyunClient) GetCapabilities() []string
- func (self *SAliyunClient) GetCdnDomain(domainName string) (*SCdnDomain, error)
- func (self *SAliyunClient) GetCdnDomains() ([]SCdnDomain, error)
- func (self *SAliyunClient) GetCredentials() oss.Credentials
- func (self *SAliyunClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetEipMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetElbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetGroup(groupName string) (*SGroup, error)
- func (self *SAliyunClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (self *SAliyunClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
- func (self *SAliyunClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SAliyunClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAliyunClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAliyunClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SAliyunClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAliyunClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SAliyunClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAliyunClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SAliyunClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAliyunClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAliyunClient) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAliyunClient) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)
- func (self *SAliyunClient) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
- func (self *SAliyunClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SAliyunClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAliyunClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SAliyunClient) GetIamLoginUrl() string
- func (self *SAliyunClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetLoginProfile(name string) (*SLoginProfile, error)
- func (self *SAliyunClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetOssMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetPolicy(policyType string, policyName string) (*SPolicyDetails, error)
- func (client *SAliyunClient) GetPrivateICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
- func (client *SAliyunClient) GetPrivateICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunClient) GetProjects() ([]SResourceGroup, error)
- func (client *SAliyunClient) GetPublicICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
- func (client *SAliyunClient) GetPublicICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunClient) GetRegion(regionId string) *SRegion
- func (self *SAliyunClient) GetRegions() []SRegion
- func (self *SAliyunClient) GetResourceGroup(id string) (*SResourceGroup, error)
- func (self *SAliyunClient) GetResourceGroupIds() []string
- func (self *SAliyunClient) GetResourceGroups(pageNumber int, pageSize int) ([]SResourceGroup, int, error)
- func (self *SAliyunClient) GetRole(roleName string) (*SRole, error)
- func (self *SAliyunClient) GetSAMLProvider(name string) (*SAMLProvider, error)
- func (self *SAliyunClient) GetSSLCertificate(certId string) (*SSSLCertificate, error)
- func (self *SAliyunClient) GetSSLCertificates(size, page int) ([]SSSLCertificate, int, error)
- func (self *SAliyunClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SAliyunClient) GetUser(name string) (*SUser, error)
- func (self *SAliyunClient) ListAccounts() ([]SAliyunAccount, error)
- func (self *SAliyunClient) ListGroups(offset string, limit int) (*SGroups, error)
- func (self *SAliyunClient) ListGroupsForUser(user string) ([]SGroup, error)
- func (self *SAliyunClient) ListMetrics(ns, metricName string, start, end time.Time) ([]MetricData, error)
- func (self *SAliyunClient) ListPolicies(policyType string, offset string, limit int) (*SPolicies, error)
- func (self *SAliyunClient) ListPoliciesForGroup(groupName string) ([]SPolicy, error)
- func (self *SAliyunClient) ListPoliciesForRole(name string) ([]SPolicy, error)
- func (self *SAliyunClient) ListPoliciesForUser(user string) ([]SPolicy, error)
- func (self *SAliyunClient) ListRoles(offset string, limit int) (*SRoles, error)
- func (self *SAliyunClient) ListSAMLProviders(marker string, maxItems int) ([]SAMLProvider, string, error)
- func (self *SAliyunClient) ListUsers(offset string, limit int) (*SUsers, error)
- func (self *SAliyunClient) ListUsersForGroup(groupName string, offset string, limit int) (*SUsers, error)
- func (client *SAliyunClient) PublishRouteEntries(...) error
- func (self *SAliyunClient) QueryAccountBalance() (*SAccountBalance, error)
- func (self *SAliyunClient) QueryCashCoupons() ([]SCashCoupon, error)
- func (self *SAliyunClient) QueryPrepaidCards() ([]SPrepaidCard, error)
- func (self *SAliyunClient) RemoveUserFromGroup(groupName, userName string) error
- func (self *SAliyunClient) ResetClouduserPassword(name, password string) error
- func (client *SAliyunClient) SetDomainRecordStatus(recordId, status string) error
- func (self *SAliyunClient) SetResourceGropuId(params map[string]string) map[string]string
- func (client *SAliyunClient) SetZoneRecordStatus(recordId string, status string) error
- func (self *SAliyunClient) SubscribeBillToOSS(bucket string) error
- func (client *SAliyunClient) UnBindZoneVpcs(zoneId string) error
- func (client *SAliyunClient) UpdateDomainRecord(id string, opts *cloudprovider.DnsRecord) error
- func (client *SAliyunClient) UpdateDomainRecordRemark(recordId string, remark string) error
- func (self *SAliyunClient) UpdateLoginProfile(name, password string) error
- func (self *SAliyunClient) UpdateSAMLProvider(name string, metadata string) error
- func (client *SAliyunClient) UpdateZoneRecord(id string, opts *cloudprovider.DnsRecord) error
- func (client *SAliyunClient) WithdrawPublishedRouteEntries(...) error
- type SAliyunTag
- type SAttributes
- type SAutoRenewAttr
- type SBandwidthPackageIds
- type SBucket
- func (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error
- func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error
- func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error
- func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partNumber int, ...) (string, error)
- func (b *SBucket) DeleteCORS() error
- func (b *SBucket) DeleteObject(ctx context.Context, key string) error
- func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) DeleteWebSiteConf() error
- func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
- func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (b *SBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)
- func (b *SBucket) GetCreatedAt() time.Time
- func (b *SBucket) GetGlobalId() string
- func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
- func (b *SBucket) GetLocation() string
- func (b *SBucket) GetName() string
- func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
- func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) GetProjectId() string
- func (b *SBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
- func (b *SBucket) GetStats() cloudprovider.SBucketStats
- func (b *SBucket) GetStorageClass() string
- func (b *SBucket) GetTags() (map[string]string, error)
- func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error)
- func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
- func (b *SBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)
- func (b *SBucket) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
- func (b *SBucket) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, ...) (string, error)
- func (b *SBucket) PutObject(ctx context.Context, key string, input io.Reader, sizeBytes int64, ...) error
- func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
- func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error
- func (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
- func (b *SBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
- func (b *SBucket) SetTags(tags map[string]string, replace bool) error
- func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
- func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- type SBucketPolicyStatement
- type SBucketPolicyStatementDetails
- type SCallerIdentity
- type SCashCoupon
- type SCdnDomain
- func (self *SCdnDomain) Delete() error
- func (self *SCdnDomain) GetArea() string
- func (self *SCdnDomain) GetCname() string
- func (self *SCdnDomain) GetEnabled() bool
- func (self *SCdnDomain) GetGlobalId() string
- func (self *SCdnDomain) GetId() string
- func (self *SCdnDomain) GetName() string
- func (self *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins
- func (self *SCdnDomain) GetProjectId() string
- func (self *SCdnDomain) GetServiceType() string
- func (self *SCdnDomain) GetStatus() string
- func (self *SCdnDomain) GetSysTags() map[string]string
- func (self *SCdnDomain) GetTags() (map[string]string, error)
- func (self *SCdnDomain) Refresh() error
- func (self *SCdnDomain) SetTags(tags map[string]string, replace bool) error
- type SCdnDomainInfos
- type SCdnDomainNames
- type SCdnDomainsData
- type SCdnDomainsList
- type SCdnSource
- type SCdnSources
- type SCen
- func (self *SCen) AttachVpc(opts *cloudprovider.SInterVpcNetworkAttachVpcOption) error
- func (self *SCen) Delete() error
- func (self *SCen) DetachVpc(opts *cloudprovider.SInterVpcNetworkDetachVpcOption) error
- func (self *SCen) DisableRouteEntry(routeId string) error
- func (self *SCen) EnableRouteEntry(routeId string) error
- func (self *SCen) GetAuthorityOwnerId() string
- func (self *SCen) GetGlobalId() string
- func (self *SCen) GetICloudVpcIds() ([]string, error)
- func (self *SCen) GetIRoutes() ([]cloudprovider.ICloudInterVpcNetworkRoute, error)
- func (self *SCen) GetId() string
- func (self *SCen) GetInstanceRouteEntries() ([]SCenRouteEntry, error)
- func (self *SCen) GetName() string
- func (self *SCen) GetStatus() string
- func (self *SCen) Refresh() error
- type SCenAttachInstanceInput
- type SCenChildInstance
- type SCenChildInstances
- type SCenRouteEntries
- type SCenRouteEntry
- func (self *SCenRouteEntry) GetCidr() string
- func (self *SCenRouteEntry) GetEnabled() bool
- func (self *SCenRouteEntry) GetGlobalId() string
- func (self *SCenRouteEntry) GetId() string
- func (self *SCenRouteEntry) GetInstanceId() string
- func (self *SCenRouteEntry) GetInstanceRegionId() string
- func (self *SCenRouteEntry) GetInstanceType() string
- func (self *SCenRouteEntry) GetName() string
- func (self *SCenRouteEntry) GetNextHop() string
- func (self *SCenRouteEntry) GetNextHopRegion() string
- func (self *SCenRouteEntry) GetNextHopType() string
- func (self *SCenRouteEntry) GetRouteTableId() string
- func (self *SCenRouteEntry) GetStatus() string
- func (self *SCenRouteEntry) IsEmulated() bool
- func (self *SCenRouteEntry) Refresh() error
- type SCens
- type SCloudResources
- type SDBInstance
- func (rds *SDBInstance) ChangeConfig(cxt context.Context, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (rds *SDBInstance) ClosePublicConnection() error
- func (rds *SDBInstance) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error
- func (rds *SDBInstance) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error
- func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
- func (rds *SDBInstance) Delete() error
- func (rds *SDBInstance) GetBillingType() string
- func (rds *SDBInstance) GetCategory() string
- func (rds *SDBInstance) GetConnectionStr() string
- func (rds *SDBInstance) GetCreatedAt() time.Time
- func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (rds *SDBInstance) GetDiskSizeGB() int
- func (rds *SDBInstance) GetDiskSizeUsedMB() int
- func (rds *SDBInstance) GetEngine() string
- func (rds *SDBInstance) GetEngineVersion() string
- func (rds *SDBInstance) GetExpiredAt() time.Time
- func (rds *SDBInstance) GetGlobalId() string
- func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
- func (rds *SDBInstance) GetIOPS() int
- func (rds *SDBInstance) GetIVpcId() string
- func (rds *SDBInstance) GetId() string
- func (rds *SDBInstance) GetInstanceType() string
- func (rds *SDBInstance) GetInternalConnectionStr() string
- func (rds *SDBInstance) GetMaintainTime() string
- func (rds *SDBInstance) GetMasterInstanceId() string
- func (rds *SDBInstance) GetName() string
- func (rds *SDBInstance) GetNetworkAddress() string
- func (rds *SDBInstance) GetPort() int
- func (rds *SDBInstance) GetProjectId() string
- func (self *SDBInstance) GetSecurityGroupIds() ([]string, error)
- func (rds *SDBInstance) GetStatus() string
- func (rds *SDBInstance) GetStorageType() string
- func (self *SDBInstance) GetSysTags() map[string]string
- func (self *SDBInstance) GetTags() (map[string]string, error)
- func (rds *SDBInstance) GetVcpuCount() int
- func (rds *SDBInstance) GetVmemSizeMB() int
- func (rds *SDBInstance) GetZone1Id() string
- func (rds *SDBInstance) GetZone2Id() string
- func (rds *SDBInstance) GetZone3Id() string
- func (rds *SDBInstance) OpenPublicConnection() error
- func (rds *SDBInstance) Reboot() error
- func (rds *SDBInstance) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
- func (rds *SDBInstance) Refresh() error
- func (rds *SDBInstance) Renew(bc billing.SBillingCycle) error
- func (rds *SDBInstance) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SDBInstance) SetSecurityGroups(ids []string) error
- func (rds *SDBInstance) SetTags(tags map[string]string, replace bool) error
- func (rds *SDBInstance) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error
- type SDBInstanceAccount
- func (account *SDBInstanceAccount) Delete() error
- func (account *SDBInstanceAccount) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
- func (account *SDBInstanceAccount) GetName() string
- func (account *SDBInstanceAccount) GetStatus() string
- func (account *SDBInstanceAccount) GrantPrivilege(database, privilege string) error
- func (account *SDBInstanceAccount) ResetPassword(password string) error
- func (account *SDBInstanceAccount) RevokePrivilege(database string) error
- type SDBInstanceBackup
- func (self *SDBInstanceBackup) CreateICloudDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (backup *SDBInstanceBackup) Delete() error
- func (self *SDBInstanceBackup) GetBackupMethod() cloudprovider.TBackupMethod
- func (backup *SDBInstanceBackup) GetBackupMode() string
- func (backup *SDBInstanceBackup) GetBackupSizeMb() int
- func (backup *SDBInstanceBackup) GetDBInstanceId() string
- func (backup *SDBInstanceBackup) GetDBNames() string
- func (backup *SDBInstanceBackup) GetEndTime() time.Time
- func (backup *SDBInstanceBackup) GetEngine() string
- func (backup *SDBInstanceBackup) GetEngineVersion() string
- func (backup *SDBInstanceBackup) GetGlobalId() string
- func (backup *SDBInstanceBackup) GetId() string
- func (backup *SDBInstanceBackup) GetName() string
- func (backup *SDBInstanceBackup) GetStartTime() time.Time
- func (backup *SDBInstanceBackup) GetStatus() string
- type SDBInstanceBackupJob
- type SDBInstanceBackupJobs
- type SDBInstanceDatabase
- func (database *SDBInstanceDatabase) Delete() error
- func (database *SDBInstanceDatabase) GetCharacterSet() string
- func (database *SDBInstanceDatabase) GetGlobalId() string
- func (database *SDBInstanceDatabase) GetId() string
- func (database *SDBInstanceDatabase) GetName() string
- func (database *SDBInstanceDatabase) GetStatus() string
- type SDBInstanceExtra
- type SDBInstanceId
- type SDBInstanceNetwork
- type SDBInstanceParameter
- type SDBInstanceWeight
- type SDBInstanceWeights
- type SDNSProduct
- type SDNSProducts
- type SDatabasePrivilege
- type SDatabasePrivileges
- type SDedicatedHostAttribute
- type SDedicatedHostGenerations
- type SDedicatedHostTypes
- type SDefaultPolicyVersion
- type SDefenseTypeRule
- func (self *SDefenseTypeRule) Delete() error
- func (self *SDefenseTypeRule) GetAction() *cloudprovider.DefaultAction
- func (self *SDefenseTypeRule) GetDesc() string
- func (self *SDefenseTypeRule) GetGlobalId() string
- func (self *SDefenseTypeRule) GetName() string
- func (self *SDefenseTypeRule) GetPriority() int
- func (self *SDefenseTypeRule) GetStatementCondition() cloudprovider.TWafStatementCondition
- func (self *SDefenseTypeRule) GetStatements() ([]cloudprovider.SWafStatement, error)
- func (self *SDefenseTypeRule) Update(opts *cloudprovider.SWafRule) error
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (self *SDisk) GetAccessPath() string
- func (self *SDisk) GetBillingType() string
- func (self *SDisk) GetCacheMode() string
- func (self *SDisk) GetCreatedAt() time.Time
- func (self *SDisk) GetDiskFormat() string
- func (self *SDisk) GetDiskSizeMB() int
- func (self *SDisk) GetDiskType() string
- func (self *SDisk) GetDriver() string
- func (self *SDisk) GetExpiredAt() time.Time
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- func (self *SDisk) GetIops() int
- func (self *SDisk) GetIsAutoDelete() bool
- func (self *SDisk) GetIsNonPersistent() bool
- func (self *SDisk) GetMountpoint() string
- func (self *SDisk) GetName() string
- func (self *SDisk) GetProjectId() string
- func (self *SDisk) GetStatus() string
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) IsEmulated() bool
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Refresh() error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- func (self *SDisk) ResizeDisk(newSize int64) error
- type SDiskCategories
- type SDomain
- func (self *SDomain) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)
- func (self *SDomain) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SDomain) Delete() error
- func (self *SDomain) GetDnsProductType() cloudprovider.TDnsProductType
- func (self *SDomain) GetGlobalId() string
- func (self *SDomain) GetICloudVpcIds() ([]string, error)
- func (self *SDomain) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)
- func (self *SDomain) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)
- func (self *SDomain) GetId() string
- func (self *SDomain) GetName() string
- func (self *SDomain) GetProperlyTTL(ttl int64) int64
- func (self *SDomain) GetStatus() string
- func (self *SDomain) GetZoneType() cloudprovider.TDnsZoneType
- func (self *SDomain) Refresh() error
- func (self *SDomain) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- type SDomainInfo
- type SDomainRecord
- func (self *SDomainRecord) Delete() error
- func (self *SDomainRecord) Disable() error
- func (self *SDomainRecord) Enable() error
- func (self *SDomainRecord) GetDnsName() string
- func (self *SDomainRecord) GetDnsType() cloudprovider.TDnsType
- func (self *SDomainRecord) GetDnsValue() string
- func (self *SDomainRecord) GetEnabled() bool
- func (self *SDomainRecord) GetGlobalId() string
- func (self *SDomainRecord) GetMxPriority() int64
- func (self *SDomainRecord) GetPolicyType() cloudprovider.TDnsPolicyType
- func (self *SDomainRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
- func (self *SDomainRecord) GetStatus() string
- func (self *SDomainRecord) GetTTL() int64
- func (self *SDomainRecord) Update(opts *cloudprovider.DnsRecord) error
- type SDomainRecords
- type SDomains
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetProjectId() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- func (self *SEipAddress) SetTags(tags map[string]string, replace bool) error
- type SElasticSearch
- func (self *SElasticSearch) Delete() error
- func (self *SElasticSearch) GetAccessInfo() (*cloudprovider.ElasticSearchAccessInfo, error)
- func (self *SElasticSearch) GetBillingType() string
- func (self *SElasticSearch) GetCategory() string
- func (self *SElasticSearch) GetCreatedAt() time.Time
- func (self *SElasticSearch) GetDiskSizeGb() int
- func (self *SElasticSearch) GetGlobalId() string
- func (self *SElasticSearch) GetId() string
- func (self *SElasticSearch) GetInstanceType() string
- func (self *SElasticSearch) GetName() string
- func (self *SElasticSearch) GetNetworkId() string
- func (self *SElasticSearch) GetProjectId() string
- func (self *SElasticSearch) GetStatus() string
- func (self *SElasticSearch) GetStorageType() string
- func (self *SElasticSearch) GetSysTags() map[string]string
- func (self *SElasticSearch) GetTags() (map[string]string, error)
- func (self *SElasticSearch) GetVcpuCount() int
- func (self *SElasticSearch) GetVersion() string
- func (self *SElasticSearch) GetVmemSizeGb() int
- func (self *SElasticSearch) GetVpcId() string
- func (self *SElasticSearch) GetZoneId() string
- func (self *SElasticSearch) IsMultiAz() bool
- func (self *SElasticSearch) Refresh() error
- func (self *SElasticSearch) SetTags(tags map[string]string, replace bool) error
- type SElasticcache
- func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
- func (self *SElasticcache) ChangeInstanceSpec(spec string) error
- func (self *SElasticcache) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) Delete() error
- func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SElasticcache) GetArchType() string
- func (self *SElasticcache) GetAttribute() (*SElasticcacheAttribute, error)
- func (self *SElasticcache) GetAuthMode() string
- func (self *SElasticcache) GetBandwidth() int
- func (self *SElasticcache) GetBillingType() string
- func (self *SElasticcache) GetCapacityMB() int
- func (self *SElasticcache) GetConnections() int
- func (self *SElasticcache) GetCreatedAt() time.Time
- func (self *SElasticcache) GetEngine() string
- func (self *SElasticcache) GetEngineVersion() string
- func (self *SElasticcache) GetExpiredAt() time.Time
- func (self *SElasticcache) GetGlobalId() string
- func (self *SElasticcache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) GetICloudElasticcacheAccountByName(accountName string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticcache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticcache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticcache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SElasticcache) GetId() string
- func (self *SElasticcache) GetInstanceType() string
- func (self *SElasticcache) GetMaintainEndTime() string
- func (self *SElasticcache) GetMaintainStartTime() string
- func (self *SElasticcache) GetName() string
- func (self *SElasticcache) GetNetInfo() ([]SNetInfo, error)
- func (self *SElasticcache) GetNetworkId() string
- func (self *SElasticcache) GetNetworkType() string
- func (self *SElasticcache) GetNodeType() string
- func (self *SElasticcache) GetPrivateConnectPort() int
- func (self *SElasticcache) GetPrivateDNS() string
- func (self *SElasticcache) GetPrivateIpAddr() string
- func (self *SElasticcache) GetProjectId() string
- func (self *SElasticcache) GetPublicConnectPort() int
- func (self *SElasticcache) GetPublicDNS() string
- func (self *SElasticcache) GetPublicIpAddr() string
- func (self *SElasticcache) GetPublicNetInfo() (*SNetInfo, error)
- func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
- func (self *SElasticcache) GetStatus() string
- func (self *SElasticcache) GetVpcId() string
- func (self *SElasticcache) GetZoneId() string
- func (self *SElasticcache) Refresh() error
- func (self *SElasticcache) ReleasePublicConnection() error
- func (self *SElasticcache) Renew(bc billing.SBillingCycle) error
- func (self *SElasticcache) Restart() error
- func (self *SElasticcache) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SElasticcache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (instance *SElasticcache) SetTags(tags map[string]string, replace bool) error
- func (self *SElasticcache) UpdateAuthMode(noPwdAccess bool, password string) error
- func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
- type SElasticcacheAccount
- func (self *SElasticcacheAccount) Delete() error
- func (self *SElasticcacheAccount) GetAccountPrivilege() string
- func (self *SElasticcacheAccount) GetAccountType() string
- func (self *SElasticcacheAccount) GetGlobalId() string
- func (self *SElasticcacheAccount) GetId() string
- func (self *SElasticcacheAccount) GetName() string
- func (self *SElasticcacheAccount) GetStatus() string
- func (self *SElasticcacheAccount) GrantAccountPrivilege(privilege string) error
- func (self *SElasticcacheAccount) ModifyAccountDescription(desc string) error
- func (self *SElasticcacheAccount) Refresh() error
- func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
- func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
- type SElasticcacheAcl
- func (self *SElasticcacheAcl) Delete() error
- func (self *SElasticcacheAcl) GetGlobalId() string
- func (self *SElasticcacheAcl) GetId() string
- func (self *SElasticcacheAcl) GetIpList() string
- func (self *SElasticcacheAcl) GetName() string
- func (self *SElasticcacheAcl) GetStatus() string
- func (self *SElasticcacheAcl) Refresh() error
- func (self *SElasticcacheAcl) UpdateAcl(securityIps string) error
- type SElasticcacheAttribute
- type SElasticcacheBackup
- func (self *SElasticcacheBackup) Delete() error
- func (self *SElasticcacheBackup) GetBackupMode() string
- func (self *SElasticcacheBackup) GetBackupSizeMb() int
- func (self *SElasticcacheBackup) GetBackupType() string
- func (self *SElasticcacheBackup) GetDownloadURL() string
- func (self *SElasticcacheBackup) GetEndTime() time.Time
- func (self *SElasticcacheBackup) GetGlobalId() string
- func (self *SElasticcacheBackup) GetId() string
- func (self *SElasticcacheBackup) GetName() string
- func (self *SElasticcacheBackup) GetStartTime() time.Time
- func (self *SElasticcacheBackup) GetStatus() string
- func (self *SElasticcacheBackup) Refresh() error
- func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error
- type SElasticcacheParameter
- func (self *SElasticcacheParameter) GetDescription() string
- func (self *SElasticcacheParameter) GetForceRestart() bool
- func (self *SElasticcacheParameter) GetGlobalId() string
- func (self *SElasticcacheParameter) GetId() string
- func (self *SElasticcacheParameter) GetModifiable() bool
- func (self *SElasticcacheParameter) GetName() string
- func (self *SElasticcacheParameter) GetParameterKey() string
- func (self *SElasticcacheParameter) GetParameterValue() string
- func (self *SElasticcacheParameter) GetParameterValueRange() string
- func (self *SElasticcacheParameter) GetStatus() string
- type SEvent
- func (event *SEvent) GetAccount() string
- func (event *SEvent) GetAction() string
- func (event *SEvent) GetCreatedAt() time.Time
- func (event *SEvent) GetName() string
- func (event *SEvent) GetRequest() jsonutils.JSONObject
- func (event *SEvent) GetRequestId() string
- func (event *SEvent) GetResourceType() string
- func (event *SEvent) GetService() string
- func (event *SEvent) IsSuccess() bool
- type SFileSystem
- func (self *SFileSystem) CreateMountTarget(opts *cloudprovider.SMountTargetCreateOptions) (cloudprovider.ICloudMountTarget, error)
- func (self *SFileSystem) Delete() error
- func (self *SFileSystem) GetBillintType() string
- func (self *SFileSystem) GetCapacityGb() int64
- func (self *SFileSystem) GetCreatedAt() time.Time
- func (self *SFileSystem) GetExpiredAt() time.Time
- func (self *SFileSystem) GetFileSystemType() string
- func (self *SFileSystem) GetGlobalId() string
- func (self *SFileSystem) GetId() string
- func (self *SFileSystem) GetMountTargetCountLimit() int
- func (self *SFileSystem) GetMountTargets() ([]cloudprovider.ICloudMountTarget, error)
- func (self *SFileSystem) GetName() string
- func (self *SFileSystem) GetProtocol() string
- func (self *SFileSystem) GetStatus() string
- func (self *SFileSystem) GetStorageType() string
- func (self *SFileSystem) GetUsedCapacityGb() int64
- func (self *SFileSystem) GetZoneId() string
- func (self *SFileSystem) Refresh() error
- func (self *SFileSystem) SetTags(tags map[string]string, replace bool) error
- type SForwardTableEntry
- func (dtable *SForwardTableEntry) Delete() error
- func (dtable *SForwardTableEntry) GetExternalIp() string
- func (dtable *SForwardTableEntry) GetExternalPort() int
- func (dtable *SForwardTableEntry) GetGlobalId() string
- func (dtable *SForwardTableEntry) GetId() string
- func (dtable *SForwardTableEntry) GetInternalIp() string
- func (dtable *SForwardTableEntry) GetInternalPort() int
- func (dtable *SForwardTableEntry) GetIpProtocol() string
- func (dtable *SForwardTableEntry) GetName() string
- func (dtable *SForwardTableEntry) GetStatus() string
- func (dtable *SForwardTableEntry) Refresh() error
- type SForwardTableIds
- type SGroup
- func (self *SGroup) AddUser(name string) error
- func (self *SGroup) AttachCustomPolicy(policyName string) error
- func (self *SGroup) AttachSystemPolicy(policyName string) error
- func (self *SGroup) Delete() error
- func (self *SGroup) DetachCustomPolicy(policyName string) error
- func (self *SGroup) DetachSystemPolicy(policyName string) error
- func (self *SGroup) GetDescription() string
- func (self *SGroup) GetGlobalId() string
- func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGroup) GetName() string
- func (self *SGroup) RemoveUser(name string) error
- type SGroups
- type SHost
- func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetAccessIp() string
- func (self *SHost) GetAccessMac() string
- func (self *SHost) GetCpuCount() int
- func (self *SHost) GetCpuDesc() string
- func (self *SHost) GetCpuMhz() int
- func (self *SHost) GetEnabled() bool
- func (self *SHost) GetGlobalId() string
- func (self *SHost) GetHostStatus() string
- func (self *SHost) GetHostType() string
- func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)
- func (host *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int64
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (host *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (self *SImage) Export(opts *cloudprovider.SImageExportOptions) ([]cloudprovider.SImageExportInfo, error)
- func (self *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetCreatedAt() time.Time
- func (self *SImage) GetFullOsName() string
- func (self *SImage) GetGlobalId() string
- func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SImage) GetId() string
- func (self *SImage) GetImageFormat() string
- func (self *SImage) GetImageStatus() string
- func (self *SImage) GetImageType() cloudprovider.TImageType
- func (self *SImage) GetMinOsDiskSizeGb() int
- func (self *SImage) GetMinRamSizeMb() int
- func (self *SImage) GetName() string
- func (self *SImage) GetOsArch() string
- func (self *SImage) GetOsDist() string
- func (self *SImage) GetOsLang() string
- func (self *SImage) GetOsType() cloudprovider.TOsType
- func (self *SImage) GetOsVersion() string
- func (self *SImage) GetSizeByte() int64
- func (self *SImage) GetStatus() string
- func (self *SImage) IsEmulated() bool
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AllocatePublicIpAddress() (string, error)
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) ConvertPublicIpToEip() error
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBillingType() string
- func (ins *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) GetDescription() string
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (self *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetInternetMaxBandwidthOut() int
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (ins *SInstance) GetOsArch() string
- func (ins *SInstance) GetOsDist() string
- func (ins *SInstance) GetOsLang() string
- func (self *SInstance) GetOsType() cloudprovider.TOsType
- func (ins *SInstance) GetOsVersion() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetThroughput() int
- func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
- func (self *SInstance) GetVcpuCount() int
- func (self *SInstance) GetVdi() string
- func (self *SInstance) GetVga() string
- func (self *SInstance) GetVmemSizeMB() int
- func (self *SInstance) IsAutoRenew() bool
- func (self *SInstance) IsEmulated() bool
- func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
- func (self *SInstance) Refresh() error
- func (self *SInstance) Renew(bc billing.SBillingCycle) error
- func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
- func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
- func (self *SInstance) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) SetTags(tags map[string]string, replace bool) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error
- type SInstanceNic
- func (self *SInstanceNic) AssignAddress(ipAddrs []string) error
- func (self *SInstanceNic) GetDriver() string
- func (self *SInstanceNic) GetINetworkId() string
- func (self *SInstanceNic) GetIP() string
- func (self *SInstanceNic) GetId() string
- func (self *SInstanceNic) GetMAC() string
- func (self *SInstanceNic) GetSubAddress() ([]string, error)
- func (self *SInstanceNic) InClassicNetwork() bool
- func (self *SInstanceNic) UnassignAddress(ipAddrs []string) error
- type SInstanceSpecs
- type SInstanceType
- type SInstanceTypes
- type SIpAddress
- type SIpSegement
- type SKafka
- func (self *SKafka) Delete() error
- func (self *SKafka) GetBandwidthMb() int
- func (self *SKafka) GetBillingType() string
- func (self *SKafka) GetCreatedAt() time.Time
- func (self *SKafka) GetDiskSizeGb() int
- func (self *SKafka) GetEndpoint() string
- func (self *SKafka) GetGlobalId() string
- func (self *SKafka) GetId() string
- func (self *SKafka) GetInstanceType() string
- func (self *SKafka) GetMsgRetentionMinute() int
- func (self *SKafka) GetName() string
- func (self *SKafka) GetNetworkId() string
- func (self *SKafka) GetStatus() string
- func (self *SKafka) GetStorageType() string
- func (self *SKafka) GetTopics() ([]cloudprovider.SKafkaTopic, error)
- func (self *SKafka) GetVersion() string
- func (self *SKafka) GetVpcId() string
- func (self *SKafka) GetZoneId() string
- func (self *SKafka) IsMultiAz() bool
- func (self *SKafka) Refresh() error
- func (self *SKafka) SetTags(tags map[string]string, replace bool) error
- type SKeypair
- type SKubeCluster
- func (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) Delete(isRetain bool) error
- func (self *SKubeCluster) GetEnabled() bool
- func (self *SKubeCluster) GetGlobalId() string
- func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
- func (self *SKubeCluster) GetId() string
- func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)
- func (self *SKubeCluster) GetName() string
- func (self *SKubeCluster) GetNetworkIds() []string
- func (self *SKubeCluster) GetStatus() string
- func (self *SKubeCluster) GetSysTags() map[string]string
- func (self *SKubeCluster) GetTags() (map[string]string, error)
- func (self *SKubeCluster) GetVersion() string
- func (self *SKubeCluster) GetVpcId() string
- func (self *SKubeCluster) Refresh() error
- func (self *SKubeCluster) SetTags(tags map[string]string, replace bool) error
- type SKubeNode
- type SKubeNodePool
- func (self *SKubeNodePool) Delete() error
- func (self *SKubeNodePool) GetDesiredInstanceCount() int
- func (self *SKubeNodePool) GetGlobalId() string
- func (self *SKubeNodePool) GetId() string
- func (self *SKubeNodePool) GetInstanceTypes() []string
- func (self *SKubeNodePool) GetMaxInstanceCount() int
- func (self *SKubeNodePool) GetMinInstanceCount() int
- func (self *SKubeNodePool) GetName() string
- func (self *SKubeNodePool) GetNetworkIds() []string
- func (self *SKubeNodePool) GetRootDiskSizeGb() int
- func (self *SKubeNodePool) GetStatus() string
- func (self *SKubeNodePool) Refresh() error
- type SLoadbalancer
- func (lb *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, ...) (cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) Delete(ctx context.Context) error
- func (lb *SLoadbalancer) GetAddress() string
- func (lb *SLoadbalancer) GetAddressType() string
- func (lb *SLoadbalancer) GetChargeType() string
- func (lb *SLoadbalancer) GetCreatedAt() time.Time
- func (lb *SLoadbalancer) GetEgressMbps() int
- func (lb *SLoadbalancer) GetGlobalId() string
- func (lb *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (lb *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (lb *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
- func (lb *SLoadbalancer) GetId() string
- func (lb *SLoadbalancer) GetLoadbalancerSpec() string
- func (lb *SLoadbalancer) GetName() string
- func (lb *SLoadbalancer) GetNetworkIds() []string
- func (lb *SLoadbalancer) GetNetworkType() string
- func (lb *SLoadbalancer) GetProjectId() string
- func (lb *SLoadbalancer) GetStatus() string
- func (lb *SLoadbalancer) GetTags() (map[string]string, error)
- func (lb *SLoadbalancer) GetVpcId() string
- func (self *SLoadbalancer) GetZone1Id() string
- func (lb *SLoadbalancer) GetZoneId() string
- func (lb *SLoadbalancer) IsEmulated() bool
- func (lb *SLoadbalancer) Refresh() error
- func (lb *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
- func (lb *SLoadbalancer) Start() error
- func (lb *SLoadbalancer) Stop() error
- type SLoadbalancerAcl
- func (acl *SLoadbalancerAcl) Delete() error
- func (acl *SLoadbalancerAcl) GetAclEntries() []cloudprovider.SLoadbalancerAccessControlListEntry
- func (acl *SLoadbalancerAcl) GetAclListenerID() string
- func (acl *SLoadbalancerAcl) GetGlobalId() string
- func (acl *SLoadbalancerAcl) GetId() string
- func (acl *SLoadbalancerAcl) GetName() string
- func (acl *SLoadbalancerAcl) GetProjectId() string
- func (acl *SLoadbalancerAcl) GetStatus() string
- func (acl *SLoadbalancerAcl) Refresh() error
- func (acl *SLoadbalancerAcl) Sync(_acl *cloudprovider.SLoadbalancerAccessControlList) error
- type SLoadbalancerBackend
- func (backend *SLoadbalancerBackend) GetBackendId() string
- func (backend *SLoadbalancerBackend) GetBackendRole() string
- func (backend *SLoadbalancerBackend) GetBackendType() string
- func (backend *SLoadbalancerBackend) GetGlobalId() string
- func (backend *SLoadbalancerBackend) GetId() string
- func (backend *SLoadbalancerBackend) GetIpAddress() string
- func (backend *SLoadbalancerBackend) GetName() string
- func (backend *SLoadbalancerBackend) GetPort() int
- func (backend *SLoadbalancerBackend) GetProjectId() string
- func (backend *SLoadbalancerBackend) GetStatus() string
- func (backend *SLoadbalancerBackend) GetWeight() int
- func (backend *SLoadbalancerBackend) IsEmulated() bool
- func (backend *SLoadbalancerBackend) Refresh() error
- func (backend *SLoadbalancerBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerBackendGroup
- func (backendgroup *SLoadbalancerBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerBackendGroup) GetProjectId() string
- func (backendgroup *SLoadbalancerBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerDefaultBackend
- func (backend *SLoadbalancerDefaultBackend) GetBackendId() string
- func (backend *SLoadbalancerDefaultBackend) GetBackendRole() string
- func (backend *SLoadbalancerDefaultBackend) GetBackendType() string
- func (backend *SLoadbalancerDefaultBackend) GetGlobalId() string
- func (backend *SLoadbalancerDefaultBackend) GetId() string
- func (backend *SLoadbalancerDefaultBackend) GetIpAddress() string
- func (backend *SLoadbalancerDefaultBackend) GetName() string
- func (backend *SLoadbalancerDefaultBackend) GetPort() int
- func (backend *SLoadbalancerDefaultBackend) GetProjectId() string
- func (backend *SLoadbalancerDefaultBackend) GetStatus() string
- func (backend *SLoadbalancerDefaultBackend) GetWeight() int
- func (backend *SLoadbalancerDefaultBackend) IsEmulated() bool
- func (backend *SLoadbalancerDefaultBackend) Refresh() error
- func (backend *SLoadbalancerDefaultBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerDefaultBackendGroup
- func (backendgroup *SLoadbalancerDefaultBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetProjectId() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerDefaultBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerDefaultBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerDefaultBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerDefaultBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerHTTPListener
- func (listerner *SLoadbalancerHTTPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SLoadbalancerHTTPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- func (listerner *SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerHTTPListener) GetAclId() string
- func (listerner *SLoadbalancerHTTPListener) GetAclStatus() string
- func (listerner *SLoadbalancerHTTPListener) GetAclType() string
- func (listerner *SLoadbalancerHTTPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerHTTPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerHTTPListener) GetCertificateId() string
- func (listerner *SLoadbalancerHTTPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerHTTPListener) GetGlobalId() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerHTTPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPListener) GetId() string
- func (listerner *SLoadbalancerHTTPListener) GetListenerPort() int
- func (listerner *SLoadbalancerHTTPListener) GetListenerType() string
- func (listener *SLoadbalancerHTTPListener) GetName() string
- func (listerner *SLoadbalancerHTTPListener) GetProjectId() string
- func (listerner *SLoadbalancerHTTPListener) GetScheduler() string
- func (listerner *SLoadbalancerHTTPListener) GetStatus() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySession() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerHTTPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerHTTPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerHTTPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerHTTPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerHTTPListener) IsEmulated() bool
- func (listerner *SLoadbalancerHTTPListener) Refresh() error
- func (self *SLoadbalancerHTTPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SLoadbalancerHTTPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (listerner *SLoadbalancerHTTPListener) Start() error
- func (listerner *SLoadbalancerHTTPListener) Stop() error
- func (listerner *SLoadbalancerHTTPListener) XForwardedForEnabled() bool
- type SLoadbalancerHTTPSListener
- func (self *SLoadbalancerHTTPSListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SLoadbalancerHTTPSListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- func (listerner *SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerHTTPSListener) GetAclId() string
- func (listerner *SLoadbalancerHTTPSListener) GetAclStatus() string
- func (listerner *SLoadbalancerHTTPSListener) GetAclType() string
- func (listerner *SLoadbalancerHTTPSListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerHTTPSListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerHTTPSListener) GetCertificateId() string
- func (listerner *SLoadbalancerHTTPSListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetEgressMbps() int
- func (listerner *SLoadbalancerHTTPSListener) GetGlobalId() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheck() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerHTTPSListener) GetId() string
- func (listerner *SLoadbalancerHTTPSListener) GetListenerPort() int
- func (listerner *SLoadbalancerHTTPSListener) GetListenerType() string
- func (listener *SLoadbalancerHTTPSListener) GetName() string
- func (listerner *SLoadbalancerHTTPSListener) GetProjectId() string
- func (listerner *SLoadbalancerHTTPSListener) GetScheduler() string
- func (listerner *SLoadbalancerHTTPSListener) GetStatus() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySession() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerHTTPSListener) GetStickySessionType() string
- func (listerner *SLoadbalancerHTTPSListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerHTTPSListener) GzipEnabled() bool
- func (listerner *SLoadbalancerHTTPSListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerHTTPSListener) IsEmulated() bool
- func (listerner *SLoadbalancerHTTPSListener) Refresh() error
- func (self *SLoadbalancerHTTPSListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SLoadbalancerHTTPSListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (listerner *SLoadbalancerHTTPSListener) Start() error
- func (listerner *SLoadbalancerHTTPSListener) Stop() error
- func (listerner *SLoadbalancerHTTPSListener) XForwardedForEnabled() bool
- type SLoadbalancerListenerRule
- func (lbr *SLoadbalancerListenerRule) Delete(ctx context.Context) error
- func (lbr *SLoadbalancerListenerRule) GetBackendGroupId() string
- func (lbr *SLoadbalancerListenerRule) GetCondition() string
- func (lbr *SLoadbalancerListenerRule) GetDomain() string
- func (lbr *SLoadbalancerListenerRule) GetGlobalId() string
- func (lbr *SLoadbalancerListenerRule) GetId() string
- func (lbr *SLoadbalancerListenerRule) GetName() string
- func (lbr *SLoadbalancerListenerRule) GetPath() string
- func (lbr *SLoadbalancerListenerRule) GetProjectId() string
- func (lbr *SLoadbalancerListenerRule) GetStatus() string
- func (self *SLoadbalancerListenerRule) IsDefault() bool
- func (lbr *SLoadbalancerListenerRule) IsEmulated() bool
- func (lbr *SLoadbalancerListenerRule) Refresh() error
- type SLoadbalancerMasterSlaveBackend
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendRole() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetBackendType() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetGlobalId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetIpAddress() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetName() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetPort() int
- func (backend *SLoadbalancerMasterSlaveBackend) GetProjectId() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetStatus() string
- func (backend *SLoadbalancerMasterSlaveBackend) GetWeight() int
- func (backend *SLoadbalancerMasterSlaveBackend) IsEmulated() bool
- func (backend *SLoadbalancerMasterSlaveBackend) Refresh() error
- func (backend *SLoadbalancerMasterSlaveBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerMasterSlaveBackendGroup
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) AddBackendServer(serverId string, weight, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Delete(ctx context.Context) error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetGlobalId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetName() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetProjectId() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetProtocolType() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetScheduler() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStatus() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetType() string
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsDefault() bool
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsEmulated() bool
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Refresh() error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
- func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerServerCertificate
- func (certificate *SLoadbalancerServerCertificate) Delete() error
- func (certificate *SLoadbalancerServerCertificate) GetCommonName() string
- func (certificate *SLoadbalancerServerCertificate) GetExpireTime() time.Time
- func (certificate *SLoadbalancerServerCertificate) GetFingerprint() string
- func (certificate *SLoadbalancerServerCertificate) GetGlobalId() string
- func (certificate *SLoadbalancerServerCertificate) GetId() string
- func (certificate *SLoadbalancerServerCertificate) GetName() string
- func (certificate *SLoadbalancerServerCertificate) GetPrivateKey() string
- func (certificate *SLoadbalancerServerCertificate) GetProjectId() string
- func (certificate *SLoadbalancerServerCertificate) GetPublickKey() string
- func (certificate *SLoadbalancerServerCertificate) GetStatus() string
- func (certificate *SLoadbalancerServerCertificate) GetSubjectAlternativeNames() string
- func (certificate *SLoadbalancerServerCertificate) IsEmulated() bool
- func (certificate *SLoadbalancerServerCertificate) Refresh() error
- func (certificate *SLoadbalancerServerCertificate) Sync(name string, privateKey string, publicKey string) error
- type SLoadbalancerTCPListener
- func (listerner *SLoadbalancerTCPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SLoadbalancerTCPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- func (listerner *SLoadbalancerTCPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerTCPListener) GetAclId() string
- func (listerner *SLoadbalancerTCPListener) GetAclStatus() string
- func (listerner *SLoadbalancerTCPListener) GetAclType() string
- func (listerner *SLoadbalancerTCPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerTCPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerTCPListener) GetCertificateId() string
- func (listerner *SLoadbalancerTCPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerTCPListener) GetGlobalId() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerTCPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerTCPListener) GetId() string
- func (listerner *SLoadbalancerTCPListener) GetListenerPort() int
- func (listerner *SLoadbalancerTCPListener) GetListenerType() string
- func (listener *SLoadbalancerTCPListener) GetName() string
- func (listerner *SLoadbalancerTCPListener) GetProjectId() string
- func (listerner *SLoadbalancerTCPListener) GetScheduler() string
- func (listerner *SLoadbalancerTCPListener) GetStatus() string
- func (listerner *SLoadbalancerTCPListener) GetStickySession() string
- func (listerner *SLoadbalancerTCPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerTCPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerTCPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerTCPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerTCPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerTCPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerTCPListener) IsEmulated() bool
- func (listerner *SLoadbalancerTCPListener) Refresh() error
- func (self *SLoadbalancerTCPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SLoadbalancerTCPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (listerner *SLoadbalancerTCPListener) Start() error
- func (listerner *SLoadbalancerTCPListener) Stop() error
- func (listerner *SLoadbalancerTCPListener) XForwardedForEnabled() bool
- type SLoadbalancerUDPListener
- func (listerner *SLoadbalancerUDPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SLoadbalancerUDPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- func (listerner *SLoadbalancerUDPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) Delete(ctx context.Context) error
- func (listerner *SLoadbalancerUDPListener) GetAclId() string
- func (listerner *SLoadbalancerUDPListener) GetAclStatus() string
- func (listerner *SLoadbalancerUDPListener) GetAclType() string
- func (listerner *SLoadbalancerUDPListener) GetBackendConnectTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetBackendGroupId() string
- func (listerner *SLoadbalancerUDPListener) GetBackendServerPort() int
- func (listerner *SLoadbalancerUDPListener) GetCertificateId() string
- func (listerner *SLoadbalancerUDPListener) GetClientIdleTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetEgressMbps() int
- func (listerner *SLoadbalancerUDPListener) GetGlobalId() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheck() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckCode() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckDomain() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckExp() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckFail() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckInterval() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckReq() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckRise() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckType() string
- func (listerner *SLoadbalancerUDPListener) GetHealthCheckURI() string
- func (listerner *SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (listerner *SLoadbalancerUDPListener) GetId() string
- func (listerner *SLoadbalancerUDPListener) GetListenerPort() int
- func (listerner *SLoadbalancerUDPListener) GetListenerType() string
- func (listener *SLoadbalancerUDPListener) GetName() string
- func (listerner *SLoadbalancerUDPListener) GetProjectId() string
- func (listerner *SLoadbalancerUDPListener) GetScheduler() string
- func (listerner *SLoadbalancerUDPListener) GetStatus() string
- func (listerner *SLoadbalancerUDPListener) GetStickySession() string
- func (listerner *SLoadbalancerUDPListener) GetStickySessionCookie() string
- func (listerner *SLoadbalancerUDPListener) GetStickySessionCookieTimeout() int
- func (listerner *SLoadbalancerUDPListener) GetStickySessionType() string
- func (listerner *SLoadbalancerUDPListener) GetTLSCipherPolicy() string
- func (listerner *SLoadbalancerUDPListener) GzipEnabled() bool
- func (listerner *SLoadbalancerUDPListener) HTTP2Enabled() bool
- func (listerner *SLoadbalancerUDPListener) IsEmulated() bool
- func (listerner *SLoadbalancerUDPListener) Refresh() error
- func (self *SLoadbalancerUDPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SLoadbalancerUDPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (listerner *SLoadbalancerUDPListener) Start() error
- func (listerner *SLoadbalancerUDPListener) Stop() error
- func (listerner *SLoadbalancerUDPListener) XForwardedForEnabled() bool
- type SLoginProfile
- type SMOngoDBAttribute
- type SMetricMeta
- type SMongoDB
- func (self *SMongoDB) Delete() error
- func (self *SMongoDB) GetBillingType() string
- func (self *SMongoDB) GetCategory() string
- func (self *SMongoDB) GetCreatedAt() time.Time
- func (self *SMongoDB) GetDiskSizeMb() int
- func (self *SMongoDB) GetEngine() string
- func (self *SMongoDB) GetEngineVersion() string
- func (self *SMongoDB) GetExpiredAt() time.Time
- func (self *SMongoDB) GetGlobalId() string
- func (self *SMongoDB) GetIBackups() ([]cloudprovider.SMongoDBBackup, error)
- func (self *SMongoDB) GetId() string
- func (self *SMongoDB) GetInstanceType() string
- func (self *SMongoDB) GetIops() int
- func (self *SMongoDB) GetIpAddr() string
- func (self *SMongoDB) GetMaintainTime() string
- func (self *SMongoDB) GetMaxConnections() int
- func (self *SMongoDB) GetName() string
- func (self *SMongoDB) GetNetworkAddress() string
- func (self *SMongoDB) GetNetworkId() string
- func (self *SMongoDB) GetPort() int
- func (self *SMongoDB) GetProjectId() string
- func (self *SMongoDB) GetReplicationNum() int
- func (self *SMongoDB) GetStatus() string
- func (self *SMongoDB) GetVcpuCount() int
- func (self *SMongoDB) GetVmemSizeMb() int
- func (self *SMongoDB) GetVpcId() string
- func (self *SMongoDB) GetZoneId() string
- func (self *SMongoDB) Refresh() error
- func (self *SMongoDB) SetTags(tags map[string]string, replace bool) error
- type SMongoDBAvaibaleResource
- type SMongoDBBackup
- type SMountInstances
- type SMountTarget
- func (self *SMountTarget) Delete() error
- func (self *SMountTarget) GetAccessGroupId() string
- func (self *SMountTarget) GetDomainName() string
- func (self *SMountTarget) GetGlobalId() string
- func (self *SMountTarget) GetName() string
- func (self *SMountTarget) GetNetworkId() string
- func (self *SMountTarget) GetNetworkType() string
- func (self *SMountTarget) GetStatus() string
- func (self *SMountTarget) GetVpcId() string
- type SNatGateway
- func (nat *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) Delete() error
- func (self *SNatGateway) GetBandwidthMb() int
- func (nat *SNatGateway) GetBillingType() string
- func (nat *SNatGateway) GetCreatedAt() time.Time
- func (nat *SNatGateway) GetExpiredAt() time.Time
- func (nat *SNatGateway) GetGlobalId() string
- func (nat *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (nat *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) GetINetworkId() string
- func (nat *SNatGateway) GetId() string
- func (self *SNatGateway) GetIpAddr() string
- func (nat *SNatGateway) GetName() string
- func (nat *SNatGateway) GetNatSpec() string
- func (nat *SNatGateway) GetStatus() string
- func (self *SNatGateway) GetSysTags() map[string]string
- func (self *SNatGateway) GetTags() (map[string]string, error)
- func (self *SNatGateway) Refresh() error
- func (self *SNatGateway) SetTags(tags map[string]string, replace bool) error
- type SNetInfo
- type SNetworkInterface
- func (nic *SNetworkInterface) GetAssociateId() string
- func (nic *SNetworkInterface) GetAssociateType() string
- func (nic *SNetworkInterface) GetGlobalId() string
- func (nic *SNetworkInterface) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
- func (nic *SNetworkInterface) GetId() string
- func (nic *SNetworkInterface) GetMacAddress() string
- func (nic *SNetworkInterface) GetName() string
- func (nic *SNetworkInterface) GetStatus() string
- type SNetworkInterfaces
- type SNextHops
- type SObject
- type SOperationLocks
- type SPermission
- func (self *SPermission) Delete() error
- func (self *SPermission) GetAction() secrules.TSecurityRuleAction
- func (self *SPermission) GetCIDRs() []string
- func (self *SPermission) GetDescription() string
- func (self *SPermission) GetDirection() secrules.TSecurityRuleDirection
- func (self *SPermission) GetGlobalId() string
- func (self *SPermission) GetPorts() string
- func (self *SPermission) GetPriority() int
- func (self *SPermission) GetProtocol() string
- func (self *SPermission) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
- type SPermissions
- type SPolicies
- type SPolicy
- func (policy *SPolicy) Delete() error
- func (policy *SPolicy) GetDescription() string
- func (policy *SPolicy) GetDocument() (*jsonutils.JSONDict, error)
- func (policy *SPolicy) GetGlobalId() string
- func (policy *SPolicy) GetName() string
- func (policy *SPolicy) UpdateDocument(document *jsonutils.JSONDict) error
- type SPolicyDetails
- type SPolicyDocument
- type SPrepaidCard
- type SPrivateIp
- type SPrivateIpSets
- type SPrivateZone
- func (self *SPrivateZone) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)
- func (self *SPrivateZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SPrivateZone) Delete() error
- func (self *SPrivateZone) GetDnsProductType() cloudprovider.TDnsProductType
- func (self *SPrivateZone) GetGlobalId() string
- func (self *SPrivateZone) GetICloudVpcIds() ([]string, error)
- func (self *SPrivateZone) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)
- func (self *SPrivateZone) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)
- func (self *SPrivateZone) GetId() string
- func (self *SPrivateZone) GetName() string
- func (self *SPrivateZone) GetProjectId() string
- func (self *SPrivateZone) GetProperlyTTL(ttl int64) int64
- func (self *SPrivateZone) GetStatus() string
- func (self *SPrivateZone) GetZoneType() cloudprovider.TDnsZoneType
- func (self *SPrivateZone) Refresh() error
- func (self *SPrivateZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- type SPrivateZones
- type SPvtzBindVpcs
- type SPvtzRecord
- func (self *SPvtzRecord) Delete() error
- func (self *SPvtzRecord) Disable() error
- func (self *SPvtzRecord) Enable() error
- func (self *SPvtzRecord) GetDnsName() string
- func (self *SPvtzRecord) GetDnsType() cloudprovider.TDnsType
- func (self *SPvtzRecord) GetDnsValue() string
- func (self *SPvtzRecord) GetEnabled() bool
- func (self *SPvtzRecord) GetGlobalId() string
- func (self *SPvtzRecord) GetMxPriority() int64
- func (self *SPvtzRecord) GetPolicyType() cloudprovider.TDnsPolicyType
- func (self *SPvtzRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
- func (self *SPvtzRecord) GetStatus() string
- func (self *SPvtzRecord) GetTTL() int64
- func (self *SPvtzRecord) Update(opts *cloudprovider.DnsRecord) error
- type SPvtzRecords
- type SPvtzVpc
- type SQuota
- type SReadOnlyDBInstanceIds
- type SRegion
- func (region *SRegion) AddAccessControlListEntry(aclId string, entrys []cloudprovider.SLoadbalancerAccessControlListEntry) error
- func (region *SRegion) AddBackendServer(loadbalancerId, serverId string, weight, port int) error
- func (region *SRegion) AddBackendVServer(loadbalancerId, backendGroupId, serverId string, weight, port int) error
- func (region *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
- func (self *SRegion) AllocatePublicIpAddress(instanceId string) (string, error)
- func (self *SRegion) ApplySnapshotPolicyToDisks(snapshotPolicyId string, diskIds []string) error
- func (region *SRegion) AssociateEip(eipId string, instanceId string) error
- func (region *SRegion) AssociateRouteTable(rtableId string, vswitchId string) error
- func (self *SRegion) AttachDisk(instanceId string, diskId string) error
- func (self *SRegion) AttachKeypair(instanceId string, name string) error
- func (region *SRegion) CancelImageImportTasks() error
- func (self *SRegion) CancelSnapshotPolicyToDisks(snapshotPolicyId string, diskIds []string) error
- func (self *SRegion) CancelTask(taskId string) error
- func (region *SRegion) ChangeDBInstanceConfig(instanceId, payType string, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (self *SRegion) ChangePrepaidVMConfig(instanceId string, instanceType string, isDowngrade bool) error
- func (self *SRegion) ChangeVMConfig(instanceId string, instanceType string) error
- func (self *SRegion) CheckBucket(bucketName string) (*oss.Bucket, error)
- func (region *SRegion) ClosePublicConnection(instanceId string) error
- func (region *SRegion) ConvertPublicIpToEip(instanceId string) error
- func (self *SRegion) CreateAccessGroup(opts *cloudprovider.SAccessGroup) error
- func (self *SRegion) CreateAccessGroupRule(source, fsType, groupName string, rwType cloudprovider.TRWAccessType, ...) (string, error)
- func (region *SRegion) CreateDBInstanceAccount(instanceId string, name string, password string, desc string) error
- func (self *SRegion) CreateDBInstanceBackup(rdsId string, databases []string) (string, error)
- func (self *SRegion) CreateDBInstanceByBackup(backupId string, opts *cloudprovider.SManagedDBInstanceCreateConfig) (string, error)
- func (region *SRegion) CreateDBInstanceDatabae(instanceId, characterSet, dbName, desc string) error
- func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, desc string, ...) (string, error)
- func (self *SRegion) CreateDomain(insId, domain string, sourceIps []string, ...) (*SWafDomain, error)
- func (region *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) CreateFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (*SFileSystem, error)
- func (region *SRegion) CreateForwardTableEntry(rule cloudprovider.SNatDRule, tableID string) (string, error)
- func (region *SRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error
- func (self *SRegion) CreateICloudAccessGroup(opts *cloudprovider.SAccessGroup) (cloudprovider.ICloudAccessGroup, error)
- func (self *SRegion) CreateICloudFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
- func (region *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
- func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateImage(snapshoutId, imageName, imageDesc string) (string, error)
- func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, ...) (string, error)
- func (self *SRegion) CreateInstanceSimple(name string, imgId string, cpu int, memGB int, storageType string, ...) (*SInstance, error)
- func (self *SRegion) CreateKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (*SKubeCluster, error)
- func (self *SRegion) CreateKubeNodePool(clusterId string, opts *cloudprovider.KubeNodePoolCreateOptions) (*SKubeNodePool, error)
- func (region *SRegion) CreateLoadbalancerBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerBackendGroup, error)
- func (region *SRegion) CreateLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerListenerRule(listenerPort int, loadbalancerId string, _rule *SLoadbalancerListenerRule) (*SLoadbalancerListenerRule, error)
- func (region *SRegion) CreateLoadbalancerMasterSlaveBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) CreateLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
- func (region *SRegion) CreateLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SRegion) CreateMountTarget(opts *cloudprovider.SMountTargetCreateOptions) (*SMountTarget, error)
- func (self *SRegion) CreateNatGateway(opts *cloudprovider.NatGatewayCreateOptions) (*SNatGateway, error)
- func (region *SRegion) CreateSNATTableEntry(rule cloudprovider.SNatSRule, tableID string) (string, error)
- func (self *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (string, error)
- func (self *SRegion) CreateSecurityGroupRule(secGrpId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) error
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (string, error)
- func (self *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
- func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)
- func (region *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) DeleteAccessGroup(fsType, name string) error
- func (self *SRegion) DeleteAccessGroupRule(groupName, ruleId string) error
- func (region *SRegion) DeleteDBInstance(instanceId string) error
- func (region *SRegion) DeleteDBInstanceAccount(instanceId string, accountName string) error
- func (region *SRegion) DeleteDBInstanceBackup(instanceId string, backupId string) error
- func (region *SRegion) DeleteDBInstanceDatabase(instanceId string, dbName string) error
- func (self *SRegion) DeleteDisk(diskId string) error
- func (self *SRegion) DeleteDomain(id, domain string) error
- func (self *SRegion) DeleteElasticSearch(id string) error
- func (self *SRegion) DeleteFileSystem(id string) error
- func (region *SRegion) DeleteForwardTableEntry(tableId string, entryId string) error
- func (region *SRegion) DeleteIBucket(name string) error
- func (self *SRegion) DeleteImage(imageId string) error
- func (self *SRegion) DeleteInstance(id string) error
- func (self *SRegion) DeleteKafka(id string) error
- func (self *SRegion) DeleteKubeCluster(id string, isRetain bool) error
- func (self *SRegion) DeleteKubeNodePool(clusterId, id string) error
- func (region *SRegion) DeleteLoadBalancerBackendGroup(groupId string) error
- func (region *SRegion) DeleteLoadbalancerListener(loadbalancerId string, listenerPort int) error
- func (region *SRegion) DeleteLoadbalancerListenerRule(ruleId string) error
- func (region *SRegion) DeleteLoadbalancerMasterSlaveBackendgroup(groupId string) error
- func (self *SRegion) DeleteMongoDB(id string) error
- func (self *SRegion) DeleteMountTarget(fsId, id string) error
- func (self *SRegion) DeleteNatGateway(natId string, isForce bool) error
- func (self *SRegion) DeleteSecurityGroup(secGrpId string) error
- func (self *SRegion) DeleteSecurityGroupRule(groupId string, direction secrules.TSecurityRuleDirection, ruleId string) error
- func (region *SRegion) DeleteServerCertificate(certId string) error
- func (self *SRegion) DeleteSnapshot(snapshotId string) error
- func (self *SRegion) DeleteSnapshotPolicy(snapshotPolicyId string) error
- func (region *SRegion) DeleteSnatEntry(tableId string, entryId string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVSwitch(vswitchId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (self *SRegion) DeployVM(instanceId string, opts *cloudprovider.SInstanceDeployOptions) error
- func (self *SRegion) DescribeDomain(id, domain string) (*SWafDomain, error)
- func (self *SRegion) DescribeDomainNames(id string) ([]string, error)
- func (self *SRegion) DescribeDomainRuleGroup(insId, domain string) (string, error)
- func (self *SRegion) DescribeInstanceSpecInfo() (*SWafInstance, error)
- func (r *SRegion) DescribeMetricList(name string, ns string, since time.Time, until time.Time, nextToken string, ...) ([]jsonutils.JSONObject, string, error)
- func (r *SRegion) DescribeMetricMetaList(ns string, limit, offset int) (int, []SMetricMeta, error)
- func (r *SRegion) DescribeProjectMeta(limit, offset int) (int, []SResource, error)
- func (self *SRegion) DescribeProtectionModuleMode(insId, domain, defenseType string) (cloudprovider.TWafAction, error)
- func (self *SRegion) DescribeSecurityGroupReferences(id string) ([]SecurityGroupReferences, error)
- func (self *SRegion) DescribeWafSourceIpSegment(insId string) (*SIpSegement, error)
- func (self *SRegion) DetachDisk(instanceId string, diskId string) error
- func (self *SRegion) DetachKeyPair(instanceId string, name string) error
- func (region *SRegion) DissociateEip(eipId string, instanceId string) error
- func (self *SRegion) ExportImage(imageId, bucketName string) (*ImageExportTask, error)
- func (r *SRegion) FetchMetricData(name string, ns string, since time.Time, until time.Time) ([]jsonutils.JSONObject, error)
- func (r *SRegion) FetchMetrics(ns string) ([]SMetricMeta, error)
- func (r *SRegion) FetchNamespaces() ([]SResource, error)
- func (self *SRegion) GetAccessGroupRules(groupName string) ([]SAccessGroupRule, error)
- func (self *SRegion) GetAccessGroups(fsType string) ([]SAccessGroup, error)
- func (region *SRegion) GetAccountAttributes() ([]SAccountAttributeItem, error)
- func (region *SRegion) GetAllDTables(tableId string) ([]SForwardTableEntry, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetClient() *SAliyunClient
- func (self *SRegion) GetCloudEnv() string
- func (region *SRegion) GetDBInstanceAccounts(instanceId string, offset int, limit int) ([]SDBInstanceAccount, int, error)
- func (region *SRegion) GetDBInstanceBackupJobs(instanceId, jobId string) (*SDBInstanceBackupJobs, error)
- func (region *SRegion) GetDBInstanceBackups(instanceId, backupId string, offset int, limit int) ([]SDBInstanceBackup, int, error)
- func (region *SRegion) GetDBInstanceDatabases(instanceId, dbName string, offset int, limit int) ([]SDBInstanceDatabase, int, error)
- func (region *SRegion) GetDBInstanceDetail(instanceId string) (*SDBInstance, error)
- func (region *SRegion) GetDBInstanceNetInfo(instanceId string) ([]SDBInstanceNetwork, error)
- func (region *SRegion) GetDBInstanceParameters(instanceId string) ([]SDBInstanceParameter, error)
- func (region *SRegion) GetDBInstances(ids []string, offset int, limit int) ([]SDBInstance, int, error)
- func (self *SRegion) GetDisks(instanceId string, zoneId string, category string, diskIds []string, ...) ([]SDisk, error)
- func (region *SRegion) GetEip(eipId string) (*SEipAddress, error)
- func (region *SRegion) GetEips(eipId string, associatedId, addr string, offset int, limit int) ([]SEipAddress, int, error)
- func (self *SRegion) GetElasitcSearch(id string) (*SElasticSearch, error)
- func (self *SRegion) GetElasticCacheAccountByName(instanceId string, accountName string) (*SElasticcacheAccount, error)
- func (self *SRegion) GetElasticCacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
- func (self *SRegion) GetElasticCacheAcls(instanceId string) ([]SElasticcacheAcl, error)
- func (self *SRegion) GetElasticCacheBackups(instanceId, startTime, endTime string) ([]SElasticcacheBackup, error)
- func (self *SRegion) GetElasticCacheById(instanceId string) (*SElasticcache, error)
- func (self *SRegion) GetElasticCacheParameters(instanceId string) ([]SElasticcacheParameter, error)
- func (self *SRegion) GetElasticCaches(instanceIds []string) ([]SElasticcache, error)
- func (self *SRegion) GetElasticSearchs(size, page int) ([]SElasticSearch, int, error)
- func (region *SRegion) GetEvents(start time.Time, end time.Time, token string, eventRW string, requestId string) ([]SEvent, string, error)
- func (self *SRegion) GetFileSystem(id string) (*SFileSystem, error)
- func (self *SRegion) GetFileSystems(id string, pageSize, pageNum int) ([]SFileSystem, int, error)
- func (region *SRegion) GetForwardTableEntries(tableId string, offset int, limit int) ([]SForwardTableEntry, int, error)
- func (region *SRegion) GetForwardTableEntry(tableID, forwardEntryID string) (SForwardTableEntry, error)
- func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
- func (self *SRegion) GetGlobalId() string
- func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
- func (region *SRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
- func (region *SRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
- func (self *SRegion) GetICloudAccessGroupById(id string) (cloudprovider.ICloudAccessGroup, error)
- func (self *SRegion) GetICloudAccessGroups() ([]cloudprovider.ICloudAccessGroup, error)
- func (region *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
- func (self *SRegion) GetICloudFileSystemById(id string) (cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) GetICloudFileSystems() ([]cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)
- func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)
- func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
- func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, error)
- func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, error)
- func (region *SRegion) GetIDBInstanceBackupById(backupId string) (cloudprovider.ICloudDBInstanceBackup, error)
- func (region *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (region *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
- func (region *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)
- func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, error)
- func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (region *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
- func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshotPolicyById(id string) (cloudprovider.ICloudSnapshotPolicy, error)
- func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (region *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (region *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(imageId string) (*SImage, error)
- func (self *SRegion) GetImageByName(name string) (*SImage, error)
- func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
- func (self *SRegion) GetImages(status ImageStatusType, owner ImageOwnerType, imageId []string, name string, ...) ([]SImage, int, error)
- func (self *SRegion) GetImagesBySnapshot(snapshotId string, offset int, limit int) ([]SImage, int, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (region *SRegion) GetInstanceAutoRenewAttribute(instanceId string) (*SAutoRenewAttr, error)
- func (self *SRegion) GetInstanceStatus(instanceId string) (string, error)
- func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
- func (self *SRegion) GetInstanceVNCUrl(instanceId string) (string, error)
- func (self *SRegion) GetInstances(zoneId string, ids []string) ([]SInstance, error)
- func (self *SRegion) GetIops(id string) (int, error)
- func (self *SRegion) GetKafka(id string) (*SKafka, error)
- func (self *SRegion) GetKafkaTopics(id string, page int, pageSize int) ([]cloudprovider.SKafkaTopic, int, error)
- func (self *SRegion) GetKafkas(ids []string) ([]SKafka, error)
- func (self *SRegion) GetKeypairs(finger string, name string, offset int, limit int) ([]SKeypair, int, error)
- func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)
- func (self *SRegion) GetKubeClusters(pageSize, pageNumber int) ([]SKubeCluster, int, error)
- func (self *SRegion) GetKubeConfig(clusterId string, private bool, minutes int) (*cloudprovider.SKubeconfig, error)
- func (self *SRegion) GetKubeNodePool(clusterId, id string) (*SKubeNodePool, error)
- func (self *SRegion) GetKubeNodePools(clusterId string) ([]SKubeNodePool, error)
- func (self *SRegion) GetKubeNodes(clusterId string, pageSize, pageNumber int) ([]SKubeNode, int, error)
- func (region *SRegion) GetLoadBalancerAcls() ([]SLoadbalancerAcl, error)
- func (region *SRegion) GetLoadbalancerAclDetail(aclId string) (*SLoadbalancerAcl, error)
- func (region *SRegion) GetLoadbalancerBackendgroupById(groupId string) (*SLoadbalancerBackendGroup, error)
- func (region *SRegion) GetLoadbalancerBackendgroups(loadbalancerId string) ([]SLoadbalancerBackendGroup, error)
- func (region *SRegion) GetLoadbalancerBackends(backendgroupId string) ([]SLoadbalancerBackend, error)
- func (region *SRegion) GetLoadbalancerDetail(loadbalancerId string) (*SLoadbalancer, error)
- func (region *SRegion) GetLoadbalancerHTTPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPListener, error)
- func (region *SRegion) GetLoadbalancerHTTPSListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPSListener, error)
- func (region *SRegion) GetLoadbalancerListenerRule(ruleId string) (*SLoadbalancerListenerRule, error)
- func (region *SRegion) GetLoadbalancerListenerRules(loadbalancerId string, listenerPort int) ([]SLoadbalancerListenerRule, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroupById(groupId string) (*SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroups(loadbalancerId string) ([]SLoadbalancerMasterSlaveBackendGroup, error)
- func (region *SRegion) GetLoadbalancerMasterSlaveBackends(backendgroupId string) ([]SLoadbalancerMasterSlaveBackend, error)
- func (region *SRegion) GetLoadbalancerServerCertificates() ([]SLoadbalancerServerCertificate, error)
- func (region *SRegion) GetLoadbalancerTCPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerTCPListener, error)
- func (region *SRegion) GetLoadbalancerUDPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerUDPListener, error)
- func (region *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
- func (self *SRegion) GetMatchInstanceTypes(cpu int, memMB int, gpu int, zoneId string) ([]SInstanceType, error)
- func (self *SRegion) GetMaxConnections(id string) (int, error)
- func (self *SRegion) GetMongoDB(id string) (*SMongoDB, error)
- func (self *SRegion) GetMongoDBAttribute(id string) ([]SMOngoDBAttribute, error)
- func (self *SRegion) GetMongoDBAvailableResource() (*SMongoDBAvaibaleResource, error)
- func (self *SRegion) GetMongoDBBackups(id string, start time.Time, end time.Time, pageSize, pageNum int) ([]SMongoDBBackup, int, error)
- func (self *SRegion) GetMongoDBs(mongoType string, pageSize int, pageNum int) ([]SMongoDB, int, error)
- func (self *SRegion) GetMongoDBsByType(mongoType string) ([]SMongoDB, error)
- func (self *SRegion) GetMountTargets(fsId, domainName string, pageSize, pageNum int) ([]SMountTarget, int, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetNatGateways(vpcId string, natGwId string, offset, limit int) ([]SNatGateway, int, error)
- func (self *SRegion) GetNetworkAddress(id string) (string, error)
- func (region *SRegion) GetNetworkInterfaces(instanceId, status string, nextToken string, maxResults int) ([]SNetworkInterface, string, error)
- func (self *SRegion) GetOssClient() (*oss.Client, error)
- func (self *SRegion) GetProvider() string
- func (region *SRegion) GetQuotas() ([]SQuota, error)
- func (self *SRegion) GetRdsSecgroupIds(rdsId string) ([]string, error)
- func (self *SRegion) GetRouteTables(ids []string, offset int, limit int) ([]SRouteTable, int, error)
- func (self *SRegion) GetSNATEntries(tableId string, offset, limit int) ([]SSNATTableEntry, int, error)
- func (self *SRegion) GetSNATEntry(tableID, SNATEntryID string) (SSNATTableEntry, error)
- func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)
- func (self *SRegion) GetSecurityGroupRules(id string) ([]SPermission, error)
- func (self *SRegion) GetSecurityGroups(vpcId, name string, securityGroupIds []string) ([]SSecurityGroup, error)
- func (self *SRegion) GetSnapshotPolicies(policyId string) ([]SSnapshotPolicy, error)
- func (self *SRegion) GetSnapshots(instanceId string, diskId string, snapshotName string, snapshotIds []string, ...) ([]SSnapshot, int, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetTablestoreInstances(pageSize, pageNumber int) ([]STablestore, int, error)
- func (self *SRegion) GetTask(taskId string) (*STaskDetail, error)
- func (self *SRegion) GetTaskStatus(action TaskActionType, taskId string) (TaskStatusType, int8, error)
- func (self *SRegion) GetTasks(action TaskActionType, taskId []string, taskStatus TaskStatusType, offset int, ...) ([]STask, int, error)
- func (self *SRegion) GetVRouters(offset int, limit int) ([]SVRouter, int, error)
- func (self *SRegion) GetVSwitchAttributes(idstr string) (*SVSwitch, error)
- func (self *SRegion) GetVSwitches(ids []string, vpcId string, offset int, limit int) ([]SVSwitch, int, error)
- func (self *SRegion) GetVpcs(vpcId []string, offset int, limit int) ([]SVpc, int, error)
- func (self *SRegion) GetchMongoSkus() (map[string]struct{ ... }, error)
- func (region *SRegion) GrantDBInstancePrivilege(instanceId, account, database, privilege string) error
- func (self *SRegion) GrantInstanceToCen(opts *cloudprovider.SVpcJointInterVpcNetworkOption, ...) error
- func (region *SRegion) IBucketExist(name string) (bool, error)
- func (self *SRegion) ImportImage(name string, osArch string, osType string, osDist string, bucket string, ...) (*ImageImportTask, error)
- func (self *SRegion) ImportKeypair(name string, pubKey string) (*SKeypair, error)
- func (self *SRegion) IsEmulated() bool
- func (self *SRegion) ListSysAndUserTags(serviceType string, resourceType string, resourceId string) (map[string]string, map[string]string, error)
- func (self *SRegion) ListTags(serviceType string, resourceType string, resourceId string) ([]SAliyunTag, error)
- func (region *SRegion) ModifyDBInstanceName(id, name string) error
- func (region *SRegion) ModifyInstanceAutoRenewalAttribute(rdsId string, month int, autoRenew bool) error
- func (self *SRegion) ModifyInstanceVNCUrlPassword(instanceId string, passwd string) error
- func (region *SRegion) OpenPublicConnection(instanceId string) error
- func (region *SRegion) RebootDBInstance(instanceId string) error
- func (region *SRegion) RecoveryDBInstanceFromBackup(srcId, destId string, backupId string, databases map[string]string) error
- func (self *SRegion) Refresh() error
- func (self *SRegion) ReleaseKafka(id string) error
- func (region *SRegion) RemoveAccessControlListEntry(aclId string, data jsonutils.JSONObject) error
- func (region *SRegion) RemoveBackendServer(loadbalancerId, serverId string) error
- func (region *SRegion) RemoveBackendVServer(loadbalancerId, backendgroupId, serverId string, port int) error
- func (region *SRegion) RenewDBInstance(instanceId string, bc billing.SBillingCycle) error
- func (region *SRegion) RenewInstance(instanceId string, bc billing.SBillingCycle) error
- func (self *SRegion) ReplaceSystemDisk(instanceId string, imageId string, passwd string, keypairName string, ...) (string, error)
- func (region *SRegion) ResetDBInstanceAccountPassword(instanceId, account, password, accountType string) error
- func (region *SRegion) RevokeDBInstancePrivilege(instanceId, account, database string) error
- func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
- func (self *SRegion) SetDomainRuleGroup(insId, domain, ruleGroupId string) error
- func (region *SRegion) SetInstanceAutoRenew(instanceId string, bc billing.SBillingCycle) error
- func (self *SRegion) SetRdsSecgroups(rdsId string, secIds []string) error
- func (self *SRegion) SetResourceTags(serviceType string, resourceType string, resId string, tags map[string]string, ...) error
- func (self *SRegion) SetSecurityGroups(secgroupIds []string, instanceId string) error
- func (self *SRegion) SnapshotPreDelete(snapshotId string) error
- func (self *SRegion) StartVM(instanceId string) error
- func (self *SRegion) StopVM(instanceId string, isForce, stopCharging bool) error
- func (self *SRegion) TagResource(serviceType string, resourceType string, resourceId string, ...) error
- func (region *SRegion) UnassociateRouteTable(rtableId string, vswitchId string) error
- func (self *SRegion) UntagResource(serviceType string, resourceType string, resId string, keys []string, ...) error
- func (region *SRegion) UpdateAclName(aclId, name string) error
- func (region *SRegion) UpdateEipBandwidth(eipId string, bw int) error
- func (self *SRegion) UpdateInstancePassword(instId string, passwd string) error
- func (region *SRegion) UpdateLoadBalancerBackendGroupName(name, groupId string) error
- func (self *SRegion) UpdateSecurityGroupRule(groupId, ruleId string, direction secrules.TSecurityRuleDirection, desc string) error
- func (region *SRegion) UpdateServerCertificateName(certId, name string) error
- func (self *SRegion) UpdateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput, snapshotPolicyId string) error
- func (self *SRegion) UpdateVM(instanceId string, input cloudprovider.SInstanceUpdateOptions, osType string) error
- func (self *SRegion) VpcMoveResourceGroup(resType, groupId, resId string) error
- func (self *SRegion) WaitTaskStatus(action TaskActionType, taskId string, targetStatus TaskStatusType, ...) error
- type SResource
- type SResourceCreation
- type SResourceGroup
- type SResourceLabel
- type SResources
- type SResourcesInfo
- type SRole
- func (self *SRole) AttachPolicy(policyName string) error
- func (self *SRole) Delete() error
- func (self *SRole) DetachPolicy(policyName string) error
- func (self *SRole) GetDocument() *jsonutils.JSONDict
- func (self *SRole) GetGlobalId() string
- func (self *SRole) GetICloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SRole) GetName() string
- func (self *SRole) GetSAMLProvider() string
- type SRoles
- type SRouteEntry
- func (route *SRouteEntry) GetCidr() string
- func (route *SRouteEntry) GetGlobalId() string
- func (route *SRouteEntry) GetId() string
- func (route *SRouteEntry) GetName() string
- func (route *SRouteEntry) GetNextHop() string
- func (route *SRouteEntry) GetNextHopType() string
- func (route *SRouteEntry) GetStatus() string
- func (route *SRouteEntry) GetType() string
- func (route *SRouteEntry) IsEmulated() bool
- func (route *SRouteEntry) Refresh() error
- type SRouteEntrys
- type SRouteTable
- func (self *SRouteTable) CreateRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTable) GetAssociations() []cloudprovider.RouteTableAssociation
- func (self *SRouteTable) GetDescription() string
- func (self *SRouteTable) GetGlobalId() string
- func (self *SRouteTable) GetIRoutes() ([]cloudprovider.ICloudRoute, error)
- func (self *SRouteTable) GetId() string
- func (self *SRouteTable) GetName() string
- func (self *SRouteTable) GetRegionId() string
- func (self *SRouteTable) GetStatus() string
- func (self *SRouteTable) GetType() cloudprovider.RouteTableType
- func (self *SRouteTable) GetVpcId() string
- func (self *SRouteTable) IsEmulated() bool
- func (routeTable *SRouteTable) IsSystem() bool
- func (self *SRouteTable) Refresh() error
- func (self *SRouteTable) RemoteGetRoutes(offset int, limit int) ([]*SRouteEntry, int, error)
- func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
- type SRouteTableIds
- type SRouteTableVSwitchIds
- type SSNATTableEntry
- func (stable *SSNATTableEntry) Delete() error
- func (stable *SSNATTableEntry) GetGlobalId() string
- func (stable *SSNATTableEntry) GetIP() string
- func (stable *SSNATTableEntry) GetId() string
- func (stable *SSNATTableEntry) GetName() string
- func (stable *SSNATTableEntry) GetNetworkId() string
- func (stable *SSNATTableEntry) GetSourceCIDR() string
- func (stable *SSNATTableEntry) GetStatus() string
- func (stable *SSNATTableEntry) Refresh() error
- type SSSLCertificate
- func (s *SSSLCertificate) GetCert() string
- func (s *SSSLCertificate) GetCity() string
- func (s *SSSLCertificate) GetCommon() string
- func (s *SSSLCertificate) GetCountry() string
- func (s *SSSLCertificate) GetDetails() (*SSSLCertificate, error)
- func (s *SSSLCertificate) GetEndDate() time.Time
- func (s *SSSLCertificate) GetExpired() bool
- func (s *SSSLCertificate) GetFingerprint() string
- func (s *SSSLCertificate) GetGlobalId() string
- func (s *SSSLCertificate) GetId() string
- func (s *SSSLCertificate) GetIsUpload() bool
- func (s *SSSLCertificate) GetIssuer() string
- func (s *SSSLCertificate) GetKey() string
- func (s *SSSLCertificate) GetName() string
- func (s *SSSLCertificate) GetOrgName() string
- func (s *SSSLCertificate) GetProvince() string
- func (s *SSSLCertificate) GetSans() string
- func (s *SSSLCertificate) GetStartDate() time.Time
- func (s *SSSLCertificate) GetStatus() string
- type SSecurityGroup
- func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetProjectId() string
- func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) Refresh() error
- func (self *SSecurityGroup) SetTags(tags map[string]string, replace bool) error
- type SSecurityGroupIds
- type SSecurityIPGroups
- type SSessionContext
- type SSnapshot
- func (self *SSnapshot) Delete() error
- func (self *SSnapshot) GetDiskId() string
- func (self *SSnapshot) GetDiskType() string
- func (self *SSnapshot) GetGlobalId() string
- func (self *SSnapshot) GetId() string
- func (self *SSnapshot) GetName() string
- func (self *SSnapshot) GetProjectId() string
- func (self *SSnapshot) GetSizeMb() int32
- func (self *SSnapshot) GetStatus() string
- func (self *SSnapshot) IsEmulated() bool
- func (self *SSnapshot) Refresh() error
- type SSnapshotPolicy
- func (self *SSnapshotPolicy) ApplyDisks(ids []string) error
- func (self *SSnapshotPolicy) CancelDisks(ids []string) error
- func (self *SSnapshotPolicy) Delete() error
- func (self *SSnapshotPolicy) GetApplyDiskIds() ([]string, error)
- func (self *SSnapshotPolicy) GetGlobalId() string
- func (self *SSnapshotPolicy) GetId() string
- func (self *SSnapshotPolicy) GetName() string
- func (self *SSnapshotPolicy) GetProjectId() string
- func (self *SSnapshotPolicy) GetRepeatWeekdays() ([]int, error)
- func (self *SSnapshotPolicy) GetRetentionDays() int
- func (self *SSnapshotPolicy) GetStatus() string
- func (self *SSnapshotPolicy) GetTimePoints() ([]int, error)
- func (self *SSnapshotPolicy) IsEmulated() bool
- func (self *SSnapshotPolicy) Refresh() error
- type SSnapshotPolicyType
- type SSnatTableIds
- type SStatement
- type SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsEmulated() bool
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStoragecache
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, ...) (string, error)
- type SSupportedDataDiskCategories
- type SSupportedInstanceGenerations
- type SSupportedInstanceTypeFamilies
- type SSupportedInstanceTypes
- type SSupportedNetworkTypes
- type SSupportedSystemDiskCategories
- type STablestore
- type STask
- type STaskDetail
- type STaskError
- type SUser
- func (user *SUser) AttachCustomPolicy(policyName string) error
- func (user *SUser) AttachSystemPolicy(policyName string) error
- func (user *SUser) Delete() error
- func (user *SUser) DetachCustomPolicy(policyName string) error
- func (user *SUser) DetachSystemPolicy(policyName string) error
- func (user *SUser) GetEmailAddr() string
- func (user *SUser) GetGlobalId() string
- func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetInviteUrl() string
- func (user *SUser) GetName() string
- func (user *SUser) IsConsoleLogin() bool
- func (user *SUser) ResetPassword(password string) error
- func (user *SUser) UpdatePassword(password string) error
- type SUserCIDRs
- type SUserIdentity
- type SUsers
- type SVRouter
- type SVSwitch
- func (self *SVSwitch) Delete() error
- func (self *SVSwitch) GetAllocTimeoutSeconds() int
- func (self *SVSwitch) GetGateway() string
- func (self *SVSwitch) GetGlobalId() string
- func (self *SVSwitch) GetIWire() cloudprovider.ICloudWire
- func (self *SVSwitch) GetId() string
- func (self *SVSwitch) GetIpEnd() string
- func (self *SVSwitch) GetIpMask() int8
- func (self *SVSwitch) GetIpStart() string
- func (self *SVSwitch) GetIsPublic() bool
- func (self *SVSwitch) GetName() string
- func (self *SVSwitch) GetProjectId() string
- func (self *SVSwitch) GetPublicScope() rbacscope.TRbacScope
- func (self *SVSwitch) GetServerType() string
- func (self *SVSwitch) GetStatus() string
- func (self *SVSwitch) IsEmulated() bool
- func (self *SVSwitch) Refresh() error
- type SVSwitchIds
- type SVolumeCategories
- type SVpc
- func (self *SVpc) CreateINatGateway(opts *cloudprovider.NatGatewayCreateOptions) (cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) Delete() error
- func (self *SVpc) GetAuthorityOwnerId() string
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetName() string
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetStatus() string
- func (self *SVpc) IsEmulated() bool
- func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
- func (self *SVpc) Refresh() error
- func (self *SVpc) RemoteGetRouteTableList(offset int, limit int) ([]*SRouteTable, int, error)
- type SVpcAttributes
- type SWafDomain
- func (self *SWafDomain) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
- func (self *SWafDomain) Delete() error
- func (self *SWafDomain) GetCloudResources() ([]cloudprovider.SCloudResource, error)
- func (self *SWafDomain) GetDefaultAction() *cloudprovider.DefaultAction
- func (self *SWafDomain) GetEnabled() bool
- func (self *SWafDomain) GetGlobalId() string
- func (self *SWafDomain) GetId() string
- func (self *SWafDomain) GetName() string
- func (self *SWafDomain) GetRules() ([]cloudprovider.ICloudWafRule, error)
- func (self *SWafDomain) GetStatus() string
- func (self *SWafDomain) GetWafType() cloudprovider.TWafType
- func (self *SWafDomain) Refresh() error
- type SWafInstance
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- func (self *SWire) Refresh() error
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
- func (self *SZone) IsEmulated() bool
- func (self *SZone) Refresh() error
- type SecurityGroupPermissionNicType
- type SecurityGroupReferences
- type SnapshotStatusType
- type SpotStrategyType
- type SsecurityIPGroup
- type SubjectAlternativeNames
- type SupportedFeatures
- type TChargeType
- type TInternetChargeType
- type TaskActionType
- type TaskStatusType
- type ValueItem
Constants ¶
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" )
const ( InternetChargeByTraffic = TInternetChargeType("PayByTraffic") InternetChargeByBandwidth = TInternetChargeType("PayByBandwidth") )
const ( EIP_STATUS_ASSOCIATING = "Associating" EIP_STATUS_UNASSOCIATING = "Unassociating" EIP_STATUS_INUSE = "InUse" EIP_STATUS_AVAILABLE = "Available" EIP_OPERATION_LOCK_FINANCIAL = "financial" EIP_OPERATION_LOCK_SECURITY = "security" EIP_INSTANCE_TYPE_ECS = "EcsInstance" // (默认值):VPC类型的ECS实例 EIP_INTANNCE_TYPE_SLB = "SlbInstance" // :VPC类型的SLB实例 EIP_INSTANCE_TYPE_NAT = "Nat" // :NAT网关 EIP_INSTANCE_TYPE_HAVIP = "HaVip" // :HAVIP )
const ( InstanceStatusStopped = "Stopped" InstanceStatusRunning = "Running" InstanceStatusStopping = "Stopping" InstanceStatusStarting = "Starting" )
const ( POLICY_TYPE_SYSTEM = "System" POLICY_TYPE_CUSTOM = "Custom" )
const ( AliyunECSImageImportRole = "AliyunECSImageImportDefaultRole" AliyunECSImageImportRoleDocument = `` /* 143-byte string literal not displayed */ AliyunECSImageImportRolePolicyType = "System" AliyunECSImageImportRolePolicy = "AliyunECSImageImportRolePolicy" AliyunECSImageImportRolePolicyDocument = `` /* 133-byte string literal not displayed */ )
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 */ )
const ( SnapshotStatusAccomplished SnapshotStatusType = "accomplished" SnapshotStatusProgress SnapshotStatusType = "progressing" SnapshotStatusFailed SnapshotStatusType = "failed" SnapshotTypeSystem string = "System" SnapshotTypeData string = "Data" )
const ( ImportImageTask = TaskActionType("ImportImage") ExportImageTask = TaskActionType("ExportImage") // Finished:已完成 // Processing:运行中 // Waiting:多任务排队中 // Deleted:已取消 // Paused:暂停 // Failed:失败 TaskStatusFinished = TaskStatusType("Finished") TaskStatusProcessing = TaskStatusType("Processing") TaskStatusWaiting = TaskStatusType("Waiting") TaskStatusDeleted = TaskStatusType("Deleted") TaskStatusPaused = TaskStatusType("Paused") TaskStatusFailed = TaskStatusType("Failed") )
const ( VpcAvailable = "Available" VpcPending = "Pending" )
const ( VSwitchPending = "Pending" VSwitchAvailable = "Available" )
const (
ALIYUN_API_VERSION_METRICS = "2019-01-01"
)
const (
EVENT_REGION_HANGZHOU = "cn-hangzhou"
)
const (
OSS_META_HEADER = "x-oss-meta-"
)
Variables ¶
var LOCAL_STORAGES = []string{ api.STORAGE_LOCAL_HDD_PRO, api.STORAGE_LOCAL_SSD_PRO, }
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, }
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 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 (cfg AliyunClientConfig) Copy() AliyunClientConfig
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
type AssociatedObjects ¶
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 CenRouteMapRecords ¶
type CenRouteMapRecords struct {
CenRouteMapRecord []CenRouteMapRecord `json:"CenRouteMapRecord"`
}
type ClientMasterNode ¶
type ClientMasterNodes ¶
type ClientMasterNodes struct {
ClientMasterNode []ClientMasterNode
}
type Communities ¶
type Communities struct {
Community []string `json:"Community"`
}
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 ImageImportTask ¶
type ImageOwnerType ¶
type ImageOwnerType string
const ( ImageOwnerSystem ImageOwnerType = "system" ImageOwnerSelf ImageOwnerType = "self" ImageOwnerOthers ImageOwnerType = "others" ImageOwnerMarketplace ImageOwnerType = "marketplace" )
type ImageStatusType ¶
type ImageStatusType string
const ( ImageStatusCreating ImageStatusType = "Creating" ImageStatusAvailable ImageStatusType = "Available" ImageStatusUnAvailable ImageStatusType = "UnAvailable" ImageStatusCreateFailed ImageStatusType = "CreateFailed" )
type ImageUsageType ¶
type ImageUsageType string
const ( ImageUsageInstance ImageUsageType = "instance" ImageUsageNone ImageUsageType = "none" )
type ListenerPortAndProtocol ¶
type ListenerPortAndProtocol struct { Description string ListenerPort int ListenerProtocol ListenerProtocol }
type ListenerPorts ¶
type ListenerPorts struct {
ListenerPort []int
}
type ListenerPortsAndProtocol ¶
type ListenerPortsAndProtocol struct {
ListenerPortAndProtocol []ListenerPortAndProtocol
}
type ListenerProtocol ¶
type ListenerProtocol string
const ( ListenerProtocolTCP ListenerProtocol = "tcp" ListenerProtocolUDP ListenerProtocol = "udp" ListenerProtocolHTTP ListenerProtocol = "http" ListenerProtocolHTTPS ListenerProtocol = "https" )
type 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 OssProgressListener ¶
type OssProgressListener struct { }
定义进度条监听器。
func (*OssProgressListener) ProgressChanged ¶
func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)
定义进度变更事件处理函数。
type ReferencingSecurityGroups ¶
type ReferencingSecurityGroups struct {
ReferencingSecurityGroup []ReferencingSecurityGroup
}
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) CreateRule ¶
func (self *SAccessGroup) CreateRule(opts *cloudprovider.AccessGroupRule) (cloudprovider.IAccessGroupRule, error)
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) 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.IAccessGroupRule, error)
func (*SAccessGroup) GetSupporedUserAccessTypes ¶
func (self *SAccessGroup) GetSupporedUserAccessTypes() []cloudprovider.TUserAccessType
type SAccessGroupRule ¶
type SAccessGroupRule struct { AccessGroupName string RWAccess string UserAccess string Priority int SourceCidrIp string AccessRuleId string // contains filtered or unexported fields }
func (*SAccessGroupRule) Delete ¶
func (self *SAccessGroupRule) Delete() error
func (*SAccessGroupRule) GetGlobalId ¶
func (self *SAccessGroupRule) GetGlobalId() string
func (*SAccessGroupRule) GetPriority ¶
func (self *SAccessGroupRule) GetPriority() int
func (*SAccessGroupRule) GetRWAccessType ¶
func (self *SAccessGroupRule) GetRWAccessType() cloudprovider.TRWAccessType
func (*SAccessGroupRule) GetSource ¶
func (self *SAccessGroupRule) GetSource() string
func (*SAccessGroupRule) GetUserAccessType ¶
func (self *SAccessGroupRule) GetUserAccessType() cloudprovider.TUserAccessType
type SAccountAttributeItem ¶
type SAccountAttributeItem struct { AttributeValues AttributeValues AttributeName string }
type SAccountBalance ¶
type SAliyunAccount ¶
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 (client *SAliyunClient) CreateCen(opts *cloudprovider.SInterVpcNetworkCreateOptions) (string, error)
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 (self *SAliyunClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SAliyunClient) CreateIClouduser ¶
func (self *SAliyunClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
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 (*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 (*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) DescribeDnsProductInstances ¶
func (client *SAliyunClient) DescribeDnsProductInstances(pageNumber int, pageSize int) (SDNSProducts, error)
https://help.aliyun.com/document_detail/29758.html?spm=a2c4g.11186623.6.653.4b6d6970WphX2t
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) DescribeDomains ¶
func (client *SAliyunClient) DescribeDomains(pageNumber int, pageSize int) (SDomains, error)
https://help.aliyun.com/document_detail/29751.html?spm=a2c4g.11186623.6.638.55563230d00kzJ
func (*SAliyunClient) DescribeDomainsBySource ¶
func (client *SAliyunClient) DescribeDomainsBySource(origin string) (SCdnDomainsList, error)
func (*SAliyunClient) DescribeSubDomainRecords ¶
func (client *SAliyunClient) DescribeSubDomainRecords(SubDomainName string, pageNumber int, pageSize int) (SDomainRecords, 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) DescribeZoneRecords ¶
func (client *SAliyunClient) DescribeZoneRecords(ZoneId string, pageNumber int, pageSize int) (SPvtzRecords, error)
https://help.aliyun.com/document_detail/66252.html?spm=a2c4g.11186623.6.595.3f3f243fU1AjOV
func (*SAliyunClient) DescribeZones ¶
func (client *SAliyunClient) DescribeZones(pageNumber int, pageSize int) (SPrivateZones, error)
https://help.aliyun.com/document_detail/66243.html?spm=a2c4g.11186623.6.580.761357982tMV0Q
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 (self *SAliyunClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunClient) GetEipMetrics ¶
func (self *SAliyunClient) GetEipMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunClient) GetElbMetrics ¶
func (self *SAliyunClient) GetElbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
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 (self *SAliyunClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunClient) GetLoginProfile ¶
func (self *SAliyunClient) GetLoginProfile(name string) (*SLoginProfile, error)
func (*SAliyunClient) GetMetrics ¶
func (self *SAliyunClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunClient) GetOssMetrics ¶
func (self *SAliyunClient) GetOssMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
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 (self *SAliyunClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunClient) GetRedisMetrics ¶
func (self *SAliyunClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
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) 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) ListAccounts ¶
func (self *SAliyunClient) ListAccounts() ([]SAliyunAccount, error)
func (*SAliyunClient) ListGroups ¶
func (self *SAliyunClient) ListGroups(offset string, limit int) (*SGroups, error)
func (*SAliyunClient) ListGroupsForUser ¶
func (self *SAliyunClient) ListGroupsForUser(user string) ([]SGroup, error)
https://help.aliyun.com/document_detail/28707.html?spm=a2c4g.11186623.6.752.f4466bbfVy5j0s
func (*SAliyunClient) ListMetrics ¶
func (self *SAliyunClient) ListMetrics(ns, metricName string, start, end time.Time) ([]MetricData, error)
func (*SAliyunClient) ListPolicies ¶
func (self *SAliyunClient) ListPolicies(policyType string, offset string, limit int) (*SPolicies, error)
https://help.aliyun.com/document_detail/28719.html?spm=a2c4g.11174283.6.764.27055662H6TGg5
func (*SAliyunClient) ListPoliciesForGroup ¶
func (self *SAliyunClient) ListPoliciesForGroup(groupName string) ([]SPolicy, error)
https://help.aliyun.com/document_detail/28732.html?spm=a2c4g.11186623.6.777.580735b2m2xUh8
func (*SAliyunClient) ListPoliciesForRole ¶
func (self *SAliyunClient) ListPoliciesForRole(name string) ([]SPolicy, error)
func (*SAliyunClient) ListPoliciesForUser ¶
func (self *SAliyunClient) ListPoliciesForUser(user string) ([]SPolicy, error)
https://help.aliyun.com/document_detail/28732.html?spm=a2c4g.11186623.6.777.580735b2m2xUh8
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 (*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 SAttributes ¶
type SAutoRenewAttr ¶
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 (*SBucket) CompleteMultipartUpload ¶
func (*SBucket) CopyObject ¶
func (*SBucket) DeleteCORS ¶
func (*SBucket) DeleteObject ¶
func (*SBucket) DeletePolicy ¶
func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBucket) DeleteWebSiteConf ¶
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 (*SBucket) GetGlobalId ¶
func (*SBucket) GetIRegion ¶
func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
func (*SBucket) GetLocation ¶
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 (*SBucket) GetReferer ¶
func (b *SBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
func (*SBucket) GetStats ¶
func (b *SBucket) GetStats() cloudprovider.SBucketStats
func (*SBucket) GetStorageClass ¶
func (*SBucket) GetTempUrl ¶
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 (*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 (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
func (*SBucket) SetReferer ¶
func (b *SBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
func (*SBucket) SetWebsite ¶
func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
type SBucketPolicyStatement ¶
type SBucketPolicyStatement struct { Version string `json:"Version"` Statement []SBucketPolicyStatementDetails `json:"Statement"` }
type SCallerIdentity ¶
type SCashCoupon ¶
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) Refresh ¶
func (self *SCdnDomain) Refresh() 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 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 (self *SCen) AttachVpc(opts *cloudprovider.SInterVpcNetworkAttachVpcOption) error
func (*SCen) DetachVpc ¶
func (self *SCen) DetachVpc(opts *cloudprovider.SInterVpcNetworkDetachVpcOption) error
func (*SCen) DisableRouteEntry ¶
func (*SCen) EnableRouteEntry ¶
func (*SCen) GetAuthorityOwnerId ¶
func (*SCen) GetGlobalId ¶
func (*SCen) GetICloudVpcIds ¶
func (*SCen) GetIRoutes ¶
func (self *SCen) GetIRoutes() ([]cloudprovider.ICloudInterVpcNetworkRoute, error)
func (*SCen) GetInstanceRouteEntries ¶
func (self *SCen) GetInstanceRouteEntries() ([]SCenRouteEntry, error)
type SCenAttachInstanceInput ¶
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 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 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 (rds *SDBInstance) ChangeConfig(cxt context.Context, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SDBInstance) ClosePublicConnection ¶
func (rds *SDBInstance) ClosePublicConnection() error
func (*SDBInstance) CreateAccount ¶
func (rds *SDBInstance) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*SDBInstance) CreateDatabase ¶
func (rds *SDBInstance) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error
func (*SDBInstance) CreateIBackup ¶
func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*SDBInstance) Delete ¶
func (rds *SDBInstance) Delete() error
func (*SDBInstance) GetBillingType ¶
func (rds *SDBInstance) GetBillingType() string
func (*SDBInstance) GetCategory ¶
func (rds *SDBInstance) GetCategory() string
func (*SDBInstance) GetConnectionStr ¶
func (rds *SDBInstance) GetConnectionStr() string
func (*SDBInstance) GetCreatedAt ¶
func (rds *SDBInstance) GetCreatedAt() time.Time
func (*SDBInstance) GetDBNetworks ¶
func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*SDBInstance) GetDiskSizeGB ¶
func (rds *SDBInstance) GetDiskSizeGB() int
func (*SDBInstance) GetDiskSizeUsedMB ¶
func (rds *SDBInstance) GetDiskSizeUsedMB() int
func (*SDBInstance) GetEngine ¶
func (rds *SDBInstance) GetEngine() string
func (*SDBInstance) GetEngineVersion ¶
func (rds *SDBInstance) GetEngineVersion() string
func (*SDBInstance) GetExpiredAt ¶
func (rds *SDBInstance) GetExpiredAt() time.Time
func (*SDBInstance) GetGlobalId ¶
func (rds *SDBInstance) GetGlobalId() string
func (*SDBInstance) GetIDBInstanceAccounts ¶
func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SDBInstance) GetIDBInstanceBackups ¶
func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SDBInstance) GetIDBInstanceDatabases ¶
func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SDBInstance) GetIDBInstanceParameters ¶
func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*SDBInstance) 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) 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 ¶
func (rds *SDBInstance) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error
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 (self *SDBInstanceBackup) CreateICloudDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
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 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 SDatabasePrivilege ¶
type SDatabasePrivilege struct { AccountPrivilege string AccountPrivilegeDetail string DBName string // contains filtered or unexported fields }
func (*SDatabasePrivilege) GetDBName ¶
func (privilege *SDatabasePrivilege) GetDBName() string
func (*SDatabasePrivilege) GetGlobalId ¶
func (privilege *SDatabasePrivilege) GetGlobalId() string
func (*SDatabasePrivilege) GetPrivilege ¶
func (privilege *SDatabasePrivilege) GetPrivilege() string
type SDatabasePrivileges ¶
type SDatabasePrivileges struct {
DatabasePrivilege []SDatabasePrivilege
}
type SDedicatedHostAttribute ¶
type SDedicatedHostGenerations ¶
type SDedicatedHostGenerations struct {
DedicatedHostGeneration []string
}
type SDedicatedHostTypes ¶
type SDedicatedHostTypes struct {
DedicatedHostType []string
}
type SDefaultPolicyVersion ¶
type 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) GetAccessPath ¶
func (*SDisk) GetBillingType ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetCreatedAt ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetExpiredAt ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshot ¶
func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetProjectId ¶
func (*SDisk) GetTemplateId ¶
func (*SDisk) IsEmulated ¶
func (*SDisk) ResizeDisk ¶
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) GetDnsProductType ¶
func (self *SDomain) GetDnsProductType() cloudprovider.TDnsProductType
func (*SDomain) GetGlobalId ¶
func (*SDomain) GetICloudVpcIds ¶
func (*SDomain) GetIDnsRecordById ¶
func (self *SDomain) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)
func (*SDomain) GetIDnsRecords ¶
func (self *SDomain) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)
func (*SDomain) GetProperlyTTL ¶
func (*SDomain) GetZoneType ¶
func (self *SDomain) GetZoneType() cloudprovider.TDnsZoneType
func (*SDomain) RemoveVpc ¶
func (self *SDomain) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
type SDomainInfo ¶
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 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
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) 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
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) AllocatePublicConnection ¶
func (self *SElasticcache) AllocatePublicConnection(port int) (string, error)
https://help.aliyun.com/document_detail/125795.html?spm=a2c4g.11186623.6.719.51542b3593cDKO
func (*SElasticcache) ChangeInstanceSpec ¶
func (self *SElasticcache) ChangeInstanceSpec(spec string) error
https://help.aliyun.com/document_detail/60903.html?spm=a2c4g.11186623.6.711.3f062c92aRJNfw
func (*SElasticcache) CreateAccount ¶
func (self *SElasticcache) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
https://help.aliyun.com/document_detail/95973.html?spm=a2c4g.11186623.6.742.4698126aH0s4Q5
func (*SElasticcache) CreateAcl ¶
func (self *SElasticcache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticcache) CreateBackup ¶
func (self *SElasticcache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
https://help.aliyun.com/document_detail/61075.html?spm=a2c4g.11186623.6.749.4cba126a2U9xNa
func (*SElasticcache) Delete ¶
func (self *SElasticcache) Delete() error
https://help.aliyun.com/document_detail/60898.html?spm=a2c4g.11186623.6.713.56ec1603KS0xA0
func (*SElasticcache) FlushInstance ¶
func (self *SElasticcache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
https://help.aliyun.com/document_detail/60931.html?spm=a2c4g.11186623.6.728.5c57292920UKx3
func (*SElasticcache) GetArchType ¶
func (self *SElasticcache) GetArchType() string
func (*SElasticcache) GetAttribute ¶
func (self *SElasticcache) GetAttribute() (*SElasticcacheAttribute, error)
func (*SElasticcache) GetAuthMode ¶
func (self *SElasticcache) GetAuthMode() string
func (*SElasticcache) 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) GetPublicNetInfo ¶
func (self *SElasticcache) GetPublicNetInfo() (*SNetInfo, error)
https://help.aliyun.com/document_detail/66742.html?spm=a2c4g.11186623.6.731.54c123d2P02qhk
func (*SElasticcache) GetSecurityGroupIds ¶
func (self *SElasticcache) GetSecurityGroupIds() ([]string, error)
func (*SElasticcache) GetStatus ¶
func (self *SElasticcache) GetStatus() string
func (*SElasticcache) GetVpcId ¶
func (self *SElasticcache) GetVpcId() string
func (*SElasticcache) GetZoneId ¶
func (self *SElasticcache) GetZoneId() string
func (*SElasticcache) Refresh ¶
func (self *SElasticcache) Refresh() error
func (*SElasticcache) ReleasePublicConnection ¶
func (self *SElasticcache) ReleasePublicConnection() error
https://help.aliyun.com/document_detail/125796.html?spm=a2c4g.11186623.6.720.702a3b23Qayopy
func (*SElasticcache) Renew ¶
func (self *SElasticcache) Renew(bc billing.SBillingCycle) error
https://help.aliyun.com/document_detail/60903.html?spm=a2c4g.11174283.6.877.34653436jn6t4C https://help.aliyun.com/document_detail/95584.html?spm=a2c4g.11186623.6.907.60e3292bWsVIOE https://help.aliyun.com/document_detail/60909.html?spm=a2c4g.11186623.6.910.17664ce0jfir7F
func (*SElasticcache) Restart ¶
func (self *SElasticcache) Restart() error
https://help.aliyun.com/document_detail/116215.html?spm=a2c4g.11174283.6.736.6b9ddce0c5nsw6
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) UpdateAuthMode ¶
func (self *SElasticcache) UpdateAuthMode(noPwdAccess bool, password string) error
func (*SElasticcache) UpdateBackupPolicy ¶
func (self *SElasticcache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
https://help.aliyun.com/document_detail/61077.html?spm=a2c4g.11186623.6.750.3d7630be7ziUfg
func (*SElasticcache) UpdateInstanceParameters ¶
func (self *SElasticcache) UpdateInstanceParameters(config jsonutils.JSONObject) error
https://help.aliyun.com/document_detail/61113.html?spm=a2c4g.11186623.6.770.16a61e7admr0xy
func (*SElasticcache) UpdateSecurityGroups ¶
func (self *SElasticcache) UpdateSecurityGroups(secgroupIds []string) error
type SElasticcacheAccount ¶
type SElasticcacheAccount struct { multicloud.SElasticcacheAccountBase 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) Delete ¶
func (self *SElasticcacheAccount) Delete() error
https://help.aliyun.com/document_detail/95988.html?spm=a2c4g.11186623.6.743.cb291c71D1Hlmu
func (*SElasticcacheAccount) GetAccountPrivilege ¶
func (self *SElasticcacheAccount) GetAccountPrivilege() string
func (*SElasticcacheAccount) GetAccountType ¶
func (self *SElasticcacheAccount) GetAccountType() string
func (*SElasticcacheAccount) GetGlobalId ¶
func (self *SElasticcacheAccount) GetGlobalId() string
func (*SElasticcacheAccount) GetId ¶
func (self *SElasticcacheAccount) GetId() string
func (*SElasticcacheAccount) GetName ¶
func (self *SElasticcacheAccount) GetName() string
func (*SElasticcacheAccount) GetStatus ¶
func (self *SElasticcacheAccount) GetStatus() string
func (*SElasticcacheAccount) GrantAccountPrivilege ¶
func (self *SElasticcacheAccount) GrantAccountPrivilege(privilege string) error
https://help.aliyun.com/document_detail/95897.html?spm=a2c4g.11186623.6.745.28576cf9IqM44R
func (*SElasticcacheAccount) ModifyAccountDescription ¶
func (self *SElasticcacheAccount) ModifyAccountDescription(desc string) error
https://help.aliyun.com/document_detail/96020.html?spm=a2c4g.11186623.6.747.5c6f1c717weYEX
func (*SElasticcacheAccount) Refresh ¶
func (self *SElasticcacheAccount) Refresh() error
func (*SElasticcacheAccount) ResetPassword ¶
func (self *SElasticcacheAccount) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
https://help.aliyun.com/document_detail/95941.html?spm=a2c4g.11186623.6.746.523555d8D8Whxq https://help.aliyun.com/document_detail/98531.html?spm=5176.11065259.1996646101.searchclickresult.4df474c38Sc2SO
func (*SElasticcacheAccount) UpdateAccount ¶
func (self *SElasticcacheAccount) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
type SElasticcacheAcl ¶
type SElasticcacheAcl struct { multicloud.SElasticcacheAclBase AliyunTags SecurityIPList string `json:"SecurityIpList"` SecurityIPGroupAttribute string `json:"SecurityIpGroupAttribute"` SecurityIPGroupName string `json:"SecurityIpGroupName"` // contains filtered or unexported fields }
func (*SElasticcacheAcl) Delete ¶
func (self *SElasticcacheAcl) Delete() error
https://help.aliyun.com/document_detail/61002.html?spm=a2c4g.11186623.6.764.3752782fJpbjxH
func (*SElasticcacheAcl) GetGlobalId ¶
func (self *SElasticcacheAcl) GetGlobalId() string
func (*SElasticcacheAcl) GetId ¶
func (self *SElasticcacheAcl) GetId() string
func (*SElasticcacheAcl) GetIpList ¶
func (self *SElasticcacheAcl) GetIpList() string
func (*SElasticcacheAcl) GetName ¶
func (self *SElasticcacheAcl) GetName() string
func (*SElasticcacheAcl) GetStatus ¶
func (self *SElasticcacheAcl) GetStatus() string
func (*SElasticcacheAcl) Refresh ¶
func (self *SElasticcacheAcl) Refresh() error
func (*SElasticcacheAcl) UpdateAcl ¶
func (self *SElasticcacheAcl) UpdateAcl(securityIps string) error
https://help.aliyun.com/document_detail/61002.html?spm=a2c4g.11186623.6.764.3752782fJpbjxH
type SElasticcacheAttribute ¶
type SElasticcacheAttribute struct { Config string `json:"Config"` HasRenewChangeOrder string `json:"HasRenewChangeOrder"` InstanceID string `json:"InstanceId"` ZoneID string `json:"ZoneId"` ArchitectureType string `json:"ArchitectureType"` PrivateIP string `json:"PrivateIp"` VSwitchID string `json:"VSwitchId"` Engine string `json:"Engine"` VpcID string `json:"VpcId"` NetworkType string `json:"NetworkType"` Qps int64 `json:"QPS"` PackageType string `json:"PackageType"` ReplicaID string `json:"ReplicaId"` IsRDS bool `json:"IsRds"` MaintainStartTime string `json:"MaintainStartTime"` VpcAuthMode string `json:"VpcAuthMode"` ConnectionDomain string `json:"ConnectionDomain"` EngineVersion string `json:"EngineVersion"` InstanceName string `json:"InstanceName"` Bandwidth int64 `json:"Bandwidth"` ChargeType TChargeType `json:"ChargeType"` AuditLogRetention string `json:"AuditLogRetention"` MaintainEndTime string `json:"MaintainEndTime"` ReplicationMode string `json:"ReplicationMode"` InstanceType string `json:"InstanceType"` InstanceStatus string `json:"InstanceStatus"` 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
func (*SElasticcacheBackup) RestoreInstance ¶
func (self *SElasticcacheBackup) RestoreInstance(instanceId string) error
https://help.aliyun.com/document_detail/61083.html?spm=a2c4g.11186623.6.753.216f67ddzpyvTL
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 (*SEvent) GetCreatedAt ¶
func (*SEvent) GetRequest ¶
func (event *SEvent) GetRequest() jsonutils.JSONObject
func (*SEvent) GetRequestId ¶
func (*SEvent) GetResourceType ¶
func (*SEvent) GetService ¶
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 (self *SFileSystem) CreateMountTarget(opts *cloudprovider.SMountTargetCreateOptions) (cloudprovider.ICloudMountTarget, error)
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
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) AttachCustomPolicy ¶
func (*SGroup) AttachSystemPolicy ¶
func (*SGroup) DetachCustomPolicy ¶
func (*SGroup) DetachSystemPolicy ¶
func (*SGroup) GetDescription ¶
func (*SGroup) GetGlobalId ¶
func (*SGroup) GetICloudusers ¶
func (self *SGroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SGroup) GetICustomCloudpolicies ¶
func (self *SGroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) GetISystemCloudpolicies ¶
func (self *SGroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGroup) RemoveUser ¶
type SHost ¶
type SHost struct { multicloud.SHostBase // contains filtered or unexported fields }
func (*SHost) CreateVM ¶
func (self *SHost) CreateVM(desc *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
func (*SHost) GetAccessIp ¶
func (*SHost) GetAccessMac ¶
func (*SHost) GetCpuCount ¶
func (*SHost) GetCpuDesc ¶
func (*SHost) GetEnabled ¶
func (*SHost) GetGlobalId ¶
func (*SHost) GetHostStatus ¶
func (*SHost) GetHostType ¶
func (*SHost) GetIHostNics ¶
func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SHost) GetInstanceById ¶
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
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) Export ¶
func (self *SImage) Export(opts *cloudprovider.SImageExportOptions) ([]cloudprovider.SImageExportInfo, error)
func (*SImage) GetBios ¶
func (self *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (self *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
func (*SImage) IsEmulated ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase 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 (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) ConvertPublicIpToEip ¶
func (*SInstance) DeployVM ¶
func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (ins *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetDescription ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetInternetMaxBandwidthOut ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetThroughput ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
func (*SInstance) IsAutoRenew ¶
func (*SInstance) IsEmulated ¶
func (*SInstance) RebuildRoot ¶
func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
func (*SInstance) SaveImage ¶
func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
func (*SInstance) SetAutoRenew ¶
func (self *SInstance) SetAutoRenew(bc billing.SBillingCycle) error
func (*SInstance) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
func (*SInstance) UpdateVM ¶
func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error
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 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 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) GetBandwidthMb ¶
func (*SKafka) GetBillingType ¶
func (*SKafka) GetCreatedAt ¶
func (*SKafka) GetDiskSizeGb ¶
func (*SKafka) GetEndpoint ¶
func (*SKafka) GetGlobalId ¶
func (*SKafka) GetInstanceType ¶
func (*SKafka) GetMsgRetentionMinute ¶
func (*SKafka) GetNetworkId ¶
func (*SKafka) GetStorageType ¶
func (*SKafka) GetTopics ¶
func (self *SKafka) GetTopics() ([]cloudprovider.SKafkaTopic, error)
func (*SKafka) GetVersion ¶
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 (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
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) GetVersion ¶
func (self *SKubeCluster) GetVersion() string
func (*SKubeCluster) GetVpcId ¶
func (self *SKubeCluster) GetVpcId() string
func (*SKubeCluster) Refresh ¶
func (self *SKubeCluster) Refresh() 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 (*SKubeNode) GetINodePoolId ¶
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) CreateILoadBalancerBackendGroup ¶
func (lb *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) CreateILoadBalancerListener ¶
func (lb *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetAddress ¶
func (lb *SLoadbalancer) GetAddress() string
func (*SLoadbalancer) GetAddressType ¶
func (lb *SLoadbalancer) GetAddressType() string
func (*SLoadbalancer) GetChargeType ¶
func (lb *SLoadbalancer) GetChargeType() string
func (*SLoadbalancer) GetCreatedAt ¶
func (lb *SLoadbalancer) GetCreatedAt() time.Time
func (*SLoadbalancer) GetEgressMbps ¶
func (lb *SLoadbalancer) GetEgressMbps() int
func (*SLoadbalancer) GetGlobalId ¶
func (lb *SLoadbalancer) GetGlobalId() string
func (*SLoadbalancer) GetIEIP ¶
func (lb *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroupById ¶
func (lb *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroups ¶
func (lb *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerListenerById ¶
func (lb *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetILoadBalancerListeners ¶
func (lb *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetId ¶
func (lb *SLoadbalancer) GetId() string
func (*SLoadbalancer) GetLoadbalancerSpec ¶
func (lb *SLoadbalancer) GetLoadbalancerSpec() string
func (*SLoadbalancer) GetName ¶
func (lb *SLoadbalancer) GetName() string
func (*SLoadbalancer) GetNetworkIds ¶
func (lb *SLoadbalancer) GetNetworkIds() []string
func (*SLoadbalancer) GetNetworkType ¶
func (lb *SLoadbalancer) GetNetworkType() string
func (*SLoadbalancer) GetProjectId ¶
func (lb *SLoadbalancer) GetProjectId() string
func (*SLoadbalancer) GetStatus ¶
func (lb *SLoadbalancer) GetStatus() string
func (*SLoadbalancer) GetVpcId ¶
func (lb *SLoadbalancer) GetVpcId() string
func (*SLoadbalancer) GetZone1Id ¶
func (self *SLoadbalancer) GetZone1Id() string
func (*SLoadbalancer) GetZoneId ¶
func (lb *SLoadbalancer) GetZoneId() string
func (*SLoadbalancer) IsEmulated ¶
func (lb *SLoadbalancer) IsEmulated() bool
func (*SLoadbalancer) Refresh ¶
func (lb *SLoadbalancer) Refresh() error
func (*SLoadbalancer) SetTags ¶
func (lb *SLoadbalancer) SetTags(tags map[string]string, replace bool) error
func (*SLoadbalancer) Start ¶
func (lb *SLoadbalancer) Start() error
func (*SLoadbalancer) Stop ¶
func (lb *SLoadbalancer) Stop() error
type SLoadbalancerAcl ¶
type SLoadbalancerAcl struct { multicloud.SResourceBase AliyunTags AclId string AclName string AclEntrys AclEntrys // contains filtered or unexported fields }
func (*SLoadbalancerAcl) Delete ¶
func (acl *SLoadbalancerAcl) Delete() error
func (*SLoadbalancerAcl) GetAclEntries ¶
func (acl *SLoadbalancerAcl) GetAclEntries() []cloudprovider.SLoadbalancerAccessControlListEntry
func (*SLoadbalancerAcl) GetAclListenerID ¶
func (acl *SLoadbalancerAcl) GetAclListenerID() string
func (*SLoadbalancerAcl) GetGlobalId ¶
func (acl *SLoadbalancerAcl) GetGlobalId() string
func (*SLoadbalancerAcl) GetId ¶
func (acl *SLoadbalancerAcl) GetId() string
func (*SLoadbalancerAcl) GetName ¶
func (acl *SLoadbalancerAcl) GetName() string
func (*SLoadbalancerAcl) 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 ¶
func (acl *SLoadbalancerAcl) Sync(_acl *cloudprovider.SLoadbalancerAccessControlList) error
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
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 ¶
func (backendgroup *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
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
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 (backendgroup *SLoadbalancerDefaultBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancer ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerDefaultBackendGroup) GetId ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetId() string
func (*SLoadbalancerDefaultBackendGroup) GetLoadbalancerId ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerDefaultBackendGroup) GetName ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetName() string
func (*SLoadbalancerDefaultBackendGroup) 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 (backendgroup *SLoadbalancerDefaultBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerDefaultBackendGroup) GetType ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) GetType() string
func (*SLoadbalancerDefaultBackendGroup) IsDefault ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) IsDefault() bool
func (*SLoadbalancerDefaultBackendGroup) IsEmulated ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) IsEmulated() bool
func (*SLoadbalancerDefaultBackendGroup) Refresh ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) Refresh() error
func (*SLoadbalancerDefaultBackendGroup) RemoveBackendServer ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
func (*SLoadbalancerDefaultBackendGroup) Sync ¶
func (backendgroup *SLoadbalancerDefaultBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerHTTPListener ¶
type SLoadbalancerHTTPListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase 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 (listerner *SLoadbalancerHTTPListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
func (*SLoadbalancerHTTPListener) ChangeScheduler ¶
func (self *SLoadbalancerHTTPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
func (*SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerHTTPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) Delete ¶
func (listerner *SLoadbalancerHTTPListener) Delete(ctx context.Context) error
func (*SLoadbalancerHTTPListener) GetAclId ¶
func (listerner *SLoadbalancerHTTPListener) GetAclId() string
func (*SLoadbalancerHTTPListener) GetAclStatus ¶
func (listerner *SLoadbalancerHTTPListener) GetAclStatus() string
func (*SLoadbalancerHTTPListener) GetAclType ¶
func (listerner *SLoadbalancerHTTPListener) GetAclType() string
func (*SLoadbalancerHTTPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerHTTPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendGroupId() string
func (*SLoadbalancerHTTPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerHTTPListener) GetBackendServerPort() int
func (*SLoadbalancerHTTPListener) GetCertificateId ¶
func (listerner *SLoadbalancerHTTPListener) GetCertificateId() string
func (*SLoadbalancerHTTPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetClientIdleTimeout() int
func (*SLoadbalancerHTTPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerHTTPListener) GetEgressMbps() int
func (*SLoadbalancerHTTPListener) GetGlobalId ¶
func (listerner *SLoadbalancerHTTPListener) GetGlobalId() string
func (*SLoadbalancerHTTPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheck() string
func (*SLoadbalancerHTTPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckCode() string
func (*SLoadbalancerHTTPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckDomain() string
func (*SLoadbalancerHTTPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckExp() string
func (*SLoadbalancerHTTPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckFail() int
func (*SLoadbalancerHTTPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckInterval() int
func (*SLoadbalancerHTTPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckReq() string
func (*SLoadbalancerHTTPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckRise() int
func (*SLoadbalancerHTTPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerHTTPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckType() string
func (*SLoadbalancerHTTPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerHTTPListener) GetHealthCheckURI() string
func (*SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerHTTPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerHTTPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPListener) GetId ¶
func (listerner *SLoadbalancerHTTPListener) GetId() string
func (*SLoadbalancerHTTPListener) GetListenerPort ¶
func (listerner *SLoadbalancerHTTPListener) GetListenerPort() int
func (*SLoadbalancerHTTPListener) GetListenerType ¶
func (listerner *SLoadbalancerHTTPListener) GetListenerType() string
func (*SLoadbalancerHTTPListener) GetName ¶
func (listener *SLoadbalancerHTTPListener) GetName() string
func (*SLoadbalancerHTTPListener) 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 (self *SLoadbalancerHTTPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SLoadbalancerHTTPListener) SetHealthCheck ¶
func (self *SLoadbalancerHTTPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
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 (self *SLoadbalancerHTTPSListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
func (*SLoadbalancerHTTPSListener) ChangeScheduler ¶
func (self *SLoadbalancerHTTPSListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
func (*SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerHTTPSListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) Delete ¶
func (listerner *SLoadbalancerHTTPSListener) Delete(ctx context.Context) error
func (*SLoadbalancerHTTPSListener) GetAclId ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclId() string
func (*SLoadbalancerHTTPSListener) GetAclStatus ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclStatus() string
func (*SLoadbalancerHTTPSListener) GetAclType ¶
func (listerner *SLoadbalancerHTTPSListener) GetAclType() string
func (*SLoadbalancerHTTPSListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendConnectTimeout() int
func (*SLoadbalancerHTTPSListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendGroupId() string
func (*SLoadbalancerHTTPSListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerHTTPSListener) GetBackendServerPort() int
func (*SLoadbalancerHTTPSListener) GetCertificateId ¶
func (listerner *SLoadbalancerHTTPSListener) GetCertificateId() string
func (*SLoadbalancerHTTPSListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetClientIdleTimeout() int
func (*SLoadbalancerHTTPSListener) GetEgressMbps ¶
func (listerner *SLoadbalancerHTTPSListener) GetEgressMbps() int
func (*SLoadbalancerHTTPSListener) GetGlobalId ¶
func (listerner *SLoadbalancerHTTPSListener) GetGlobalId() string
func (*SLoadbalancerHTTPSListener) GetHealthCheck ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheck() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckCode() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckDomain() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckExp() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckFail() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckInterval() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckReq() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckRise() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckTimeout() int
func (*SLoadbalancerHTTPSListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckType() string
func (*SLoadbalancerHTTPSListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerHTTPSListener) GetHealthCheckURI() string
func (*SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerHTTPSListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerHTTPSListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerHTTPSListener) GetId ¶
func (listerner *SLoadbalancerHTTPSListener) GetId() string
func (*SLoadbalancerHTTPSListener) GetListenerPort ¶
func (listerner *SLoadbalancerHTTPSListener) GetListenerPort() int
func (*SLoadbalancerHTTPSListener) GetListenerType ¶
func (listerner *SLoadbalancerHTTPSListener) GetListenerType() string
func (*SLoadbalancerHTTPSListener) GetName ¶
func (listener *SLoadbalancerHTTPSListener) GetName() string
func (*SLoadbalancerHTTPSListener) 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 (self *SLoadbalancerHTTPSListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SLoadbalancerHTTPSListener) SetHealthCheck ¶
func (self *SLoadbalancerHTTPSListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
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 (lbr *SLoadbalancerListenerRule) Delete(ctx context.Context) error
func (*SLoadbalancerListenerRule) GetBackendGroupId ¶
func (lbr *SLoadbalancerListenerRule) GetBackendGroupId() string
func (*SLoadbalancerListenerRule) GetCondition ¶
func (lbr *SLoadbalancerListenerRule) GetCondition() string
func (*SLoadbalancerListenerRule) GetDomain ¶
func (lbr *SLoadbalancerListenerRule) GetDomain() string
func (*SLoadbalancerListenerRule) GetGlobalId ¶
func (lbr *SLoadbalancerListenerRule) GetGlobalId() string
func (*SLoadbalancerListenerRule) GetId ¶
func (lbr *SLoadbalancerListenerRule) GetId() string
func (*SLoadbalancerListenerRule) GetName ¶
func (lbr *SLoadbalancerListenerRule) GetName() string
func (*SLoadbalancerListenerRule) GetPath ¶
func (lbr *SLoadbalancerListenerRule) GetPath() string
func (*SLoadbalancerListenerRule) 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
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 (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetId ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetId() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerMasterSlaveBackendGroup) GetName ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetName() string
func (*SLoadbalancerMasterSlaveBackendGroup) 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 (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerMasterSlaveBackendGroup) GetType ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) GetType() string
func (*SLoadbalancerMasterSlaveBackendGroup) IsDefault ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsDefault() bool
func (*SLoadbalancerMasterSlaveBackendGroup) IsEmulated ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) IsEmulated() bool
func (*SLoadbalancerMasterSlaveBackendGroup) Refresh ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Refresh() error
func (*SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) RemoveBackendServer(serverId string, weight, port int) error
func (*SLoadbalancerMasterSlaveBackendGroup) Sync ¶
func (backendgroup *SLoadbalancerMasterSlaveBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerServerCertificate ¶
type SLoadbalancerServerCertificate struct { multicloud.SResourceBase 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
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 (self *SLoadbalancerTCPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
func (*SLoadbalancerTCPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerTCPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) Delete ¶
func (listerner *SLoadbalancerTCPListener) Delete(ctx context.Context) error
func (*SLoadbalancerTCPListener) GetAclId ¶
func (listerner *SLoadbalancerTCPListener) GetAclId() string
func (*SLoadbalancerTCPListener) GetAclStatus ¶
func (listerner *SLoadbalancerTCPListener) GetAclStatus() string
func (*SLoadbalancerTCPListener) GetAclType ¶
func (listerner *SLoadbalancerTCPListener) GetAclType() string
func (*SLoadbalancerTCPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerTCPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerTCPListener) GetBackendGroupId() string
func (*SLoadbalancerTCPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerTCPListener) GetBackendServerPort() int
func (*SLoadbalancerTCPListener) GetCertificateId ¶
func (listerner *SLoadbalancerTCPListener) GetCertificateId() string
func (*SLoadbalancerTCPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetClientIdleTimeout() int
func (*SLoadbalancerTCPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerTCPListener) GetEgressMbps() int
func (*SLoadbalancerTCPListener) GetGlobalId ¶
func (listerner *SLoadbalancerTCPListener) GetGlobalId() string
func (*SLoadbalancerTCPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheck() string
func (*SLoadbalancerTCPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckCode() string
func (*SLoadbalancerTCPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckDomain() string
func (*SLoadbalancerTCPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckExp() string
func (*SLoadbalancerTCPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckFail() int
func (*SLoadbalancerTCPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckInterval() int
func (*SLoadbalancerTCPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckReq() string
func (*SLoadbalancerTCPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckRise() int
func (*SLoadbalancerTCPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerTCPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckType() string
func (*SLoadbalancerTCPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerTCPListener) GetHealthCheckURI() string
func (*SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerTCPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerTCPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerTCPListener) GetId ¶
func (listerner *SLoadbalancerTCPListener) GetId() string
func (*SLoadbalancerTCPListener) GetListenerPort ¶
func (listerner *SLoadbalancerTCPListener) GetListenerPort() int
func (*SLoadbalancerTCPListener) GetListenerType ¶
func (listerner *SLoadbalancerTCPListener) GetListenerType() string
func (*SLoadbalancerTCPListener) GetName ¶
func (listener *SLoadbalancerTCPListener) GetName() string
func (*SLoadbalancerTCPListener) 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 (self *SLoadbalancerTCPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SLoadbalancerTCPListener) SetHealthCheck ¶
func (self *SLoadbalancerTCPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
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 (self *SLoadbalancerUDPListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
func (*SLoadbalancerUDPListener) CreateILoadBalancerListenerRule ¶
func (listerner *SLoadbalancerUDPListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) Delete ¶
func (listerner *SLoadbalancerUDPListener) Delete(ctx context.Context) error
func (*SLoadbalancerUDPListener) GetAclId ¶
func (listerner *SLoadbalancerUDPListener) GetAclId() string
func (*SLoadbalancerUDPListener) GetAclStatus ¶
func (listerner *SLoadbalancerUDPListener) GetAclStatus() string
func (*SLoadbalancerUDPListener) GetAclType ¶
func (listerner *SLoadbalancerUDPListener) GetAclType() string
func (*SLoadbalancerUDPListener) GetBackendConnectTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetBackendConnectTimeout() int
func (*SLoadbalancerUDPListener) GetBackendGroupId ¶
func (listerner *SLoadbalancerUDPListener) GetBackendGroupId() string
func (*SLoadbalancerUDPListener) GetBackendServerPort ¶
func (listerner *SLoadbalancerUDPListener) GetBackendServerPort() int
func (*SLoadbalancerUDPListener) GetCertificateId ¶
func (listerner *SLoadbalancerUDPListener) GetCertificateId() string
func (*SLoadbalancerUDPListener) GetClientIdleTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetClientIdleTimeout() int
func (*SLoadbalancerUDPListener) GetEgressMbps ¶
func (listerner *SLoadbalancerUDPListener) GetEgressMbps() int
func (*SLoadbalancerUDPListener) GetGlobalId ¶
func (listerner *SLoadbalancerUDPListener) GetGlobalId() string
func (*SLoadbalancerUDPListener) GetHealthCheck ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheck() string
func (*SLoadbalancerUDPListener) GetHealthCheckCode ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckCode() string
func (*SLoadbalancerUDPListener) GetHealthCheckDomain ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckDomain() string
func (*SLoadbalancerUDPListener) GetHealthCheckExp ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckExp() string
func (*SLoadbalancerUDPListener) GetHealthCheckFail ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckFail() int
func (*SLoadbalancerUDPListener) GetHealthCheckInterval ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckInterval() int
func (*SLoadbalancerUDPListener) GetHealthCheckReq ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckReq() string
func (*SLoadbalancerUDPListener) GetHealthCheckRise ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckRise() int
func (*SLoadbalancerUDPListener) GetHealthCheckTimeout ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckTimeout() int
func (*SLoadbalancerUDPListener) GetHealthCheckType ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckType() string
func (*SLoadbalancerUDPListener) GetHealthCheckURI ¶
func (listerner *SLoadbalancerUDPListener) GetHealthCheckURI() string
func (*SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById ¶
func (listerner *SLoadbalancerUDPListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) GetILoadbalancerListenerRules ¶
func (listerner *SLoadbalancerUDPListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadbalancerUDPListener) GetId ¶
func (listerner *SLoadbalancerUDPListener) GetId() string
func (*SLoadbalancerUDPListener) GetListenerPort ¶
func (listerner *SLoadbalancerUDPListener) GetListenerPort() int
func (*SLoadbalancerUDPListener) GetListenerType ¶
func (listerner *SLoadbalancerUDPListener) GetListenerType() string
func (*SLoadbalancerUDPListener) GetName ¶
func (listener *SLoadbalancerUDPListener) GetName() string
func (*SLoadbalancerUDPListener) 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 (self *SLoadbalancerUDPListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SLoadbalancerUDPListener) SetHealthCheck ¶
func (self *SLoadbalancerUDPListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
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 SMOngoDBAttribute ¶
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) GetBillingType ¶
func (*SMongoDB) GetCategory ¶
func (*SMongoDB) GetCreatedAt ¶
func (*SMongoDB) GetDiskSizeMb ¶
func (*SMongoDB) GetEngineVersion ¶
func (*SMongoDB) GetExpiredAt ¶
func (*SMongoDB) GetGlobalId ¶
func (*SMongoDB) GetIBackups ¶
func (self *SMongoDB) GetIBackups() ([]cloudprovider.SMongoDBBackup, error)
func (*SMongoDB) GetInstanceType ¶
func (*SMongoDB) GetMaintainTime ¶
func (*SMongoDB) GetMaxConnections ¶
func (*SMongoDB) GetNetworkAddress ¶
func (*SMongoDB) GetNetworkId ¶
func (*SMongoDB) GetProjectId ¶
func (*SMongoDB) GetReplicationNum ¶
func (*SMongoDB) GetVcpuCount ¶
func (*SMongoDB) GetVmemSizeMb ¶
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 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) Refresh ¶
func (self *SNatGateway) Refresh() 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 SObject ¶
type SObject struct { cloudprovider.SBaseCloudObject // contains filtered or unexported fields }
func (*SObject) GetAcl ¶
func (o *SObject) GetAcl() cloudprovider.TBucketACLType
func (*SObject) GetIBucket ¶
func (o *SObject) GetIBucket() cloudprovider.ICloudBucket
func (*SObject) SetAcl ¶
func (o *SObject) SetAcl(aclStr cloudprovider.TBucketACLType) error
type SOperationLocks ¶
type SOperationLocks struct {
LockReason []string
}
type 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 ¶
func (self *SPermission) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
type SPermissions ¶
type SPermissions struct {
Permission []SPermission
}
type SPolicy ¶
type SPolicy struct { AttachmentCount int CreateDate time.Time UpdateDate time.Time DefaultVersion string Description string PolicyName string PolicyType string // contains filtered or unexported fields }
func (*SPolicy) GetDescription ¶
func (*SPolicy) GetGlobalId ¶
type SPolicyDetails ¶
type SPolicyDetails struct { Policy SPolicy DefaultPolicyVersion SDefaultPolicyVersion }
type SPolicyDocument ¶
type SPolicyDocument struct { Statement []SStatement `json:"Statement,allowempty"` Version string `json:"Version"` }
type SPrepaidCard ¶
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 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 SQuota ¶
func (*SQuota) GetCurrentQuotaUsedCount ¶
func (*SQuota) GetGlobalId ¶
func (*SQuota) GetMaxQuotaCount ¶
func (*SQuota) GetQuotaType ¶
type SReadOnlyDBInstanceIds ¶
type SReadOnlyDBInstanceIds struct {
ReadOnlyDBInstanceId []string
}
type SRegion ¶
type SRegion struct { multicloud.SRegion RegionId string LocalName string RegionEndpoint string // contains filtered or unexported fields }
func (*SRegion) AddAccessControlListEntry ¶
func (region *SRegion) AddAccessControlListEntry(aclId string, entrys []cloudprovider.SLoadbalancerAccessControlListEntry) error
func (*SRegion) AddBackendServer ¶
func (*SRegion) AddBackendVServer ¶
func (*SRegion) AllocateEIP ¶
func (region *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
func (*SRegion) AllocatePublicIpAddress ¶
func (*SRegion) ApplySnapshotPolicyToDisks ¶
func (*SRegion) AssociateEip ¶
func (*SRegion) AssociateRouteTable ¶
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachKeypair ¶
func (*SRegion) CancelImageImportTasks ¶
func (*SRegion) CancelSnapshotPolicyToDisks ¶
func (*SRegion) CancelTask ¶
func (*SRegion) ChangeDBInstanceConfig ¶
func (region *SRegion) ChangeDBInstanceConfig(instanceId, payType string, desc *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SRegion) ChangePrepaidVMConfig ¶
func (*SRegion) ChangeVMConfig ¶
func (*SRegion) CheckBucket ¶
func (*SRegion) ClosePublicConnection ¶
func (*SRegion) ConvertPublicIpToEip ¶
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) (string, error)
func (*SRegion) CreateDBInstanceAccount ¶
func (*SRegion) CreateDBInstanceBackup ¶
func (*SRegion) CreateDBInstanceByBackup ¶
func (self *SRegion) CreateDBInstanceByBackup(backupId string, opts *cloudprovider.SManagedDBInstanceCreateConfig) (string, error)
func (*SRegion) CreateDBInstanceDatabae ¶
func (*SRegion) CreateDisk ¶
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 (*SRegion) CreateIBucket ¶
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) CreateIDBInstance ¶
func (region *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) CreateIElasticcaches ¶
func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
https://help.aliyun.com/document_detail/60873.html?spm=a2c4g.11174283.6.715.7412dce0qSYemb
func (*SRegion) CreateIKubeCluster ¶
func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) CreateILoadBalancer ¶
func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) CreateILoadBalancerAcl ¶
func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) CreateISecurityGroup ¶
func (region *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateImage ¶
func (*SRegion) CreateInstance ¶
func (self *SRegion) CreateInstance(name, hostname string, imageId string, instanceType string, 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 (*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) CreateLoadbalancerHTTPListener ¶
func (region *SRegion) CreateLoadbalancerHTTPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerHTTPSListener ¶
func (region *SRegion) CreateLoadbalancerHTTPSListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerListenerRule ¶
func (region *SRegion) CreateLoadbalancerListenerRule(listenerPort int, loadbalancerId string, _rule *SLoadbalancerListenerRule) (*SLoadbalancerListenerRule, error)
func (*SRegion) CreateLoadbalancerMasterSlaveBackendGroup ¶
func (region *SRegion) CreateLoadbalancerMasterSlaveBackendGroup(name, loadbalancerId string, backends []cloudprovider.SLoadbalancerBackend) (*SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) CreateLoadbalancerTCPListener ¶
func (region *SRegion) CreateLoadbalancerTCPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SRegion) CreateLoadbalancerUDPListener ¶
func (region *SRegion) CreateLoadbalancerUDPListener(lb *SLoadbalancer, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, 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 (*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 (*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 (*SRegion) DeleteAccessGroup ¶
func (*SRegion) DeleteAccessGroupRule ¶
func (*SRegion) DeleteDBInstance ¶
func (*SRegion) DeleteDBInstanceAccount ¶
func (*SRegion) DeleteDBInstanceBackup ¶
func (*SRegion) DeleteDBInstanceDatabase ¶
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteDomain ¶
func (*SRegion) DeleteElasticSearch ¶
func (*SRegion) DeleteFileSystem ¶
func (*SRegion) DeleteForwardTableEntry ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteInstance ¶
func (*SRegion) DeleteKafka ¶
func (*SRegion) DeleteKubeCluster ¶
func (*SRegion) DeleteKubeNodePool ¶
func (*SRegion) DeleteLoadBalancerBackendGroup ¶
func (*SRegion) DeleteLoadbalancerListener ¶
func (*SRegion) DeleteLoadbalancerListenerRule ¶
func (*SRegion) DeleteLoadbalancerMasterSlaveBackendgroup ¶
func (*SRegion) DeleteMongoDB ¶
func (*SRegion) DeleteMountTarget ¶
func (*SRegion) DeleteNatGateway ¶
func (*SRegion) DeleteSecurityGroup ¶
func (*SRegion) DeleteSecurityGroupRule ¶
func (*SRegion) DeleteServerCertificate ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteSnapshotPolicy ¶
func (*SRegion) DeleteSnatEntry ¶
func (*SRegion) DeleteVSwitch ¶
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 (*SRegion) DescribeDomainRuleGroup ¶
func (*SRegion) DescribeInstanceSpecInfo ¶
func (self *SRegion) DescribeInstanceSpecInfo() (*SWafInstance, error)
func (*SRegion) DescribeMetricList ¶
func (*SRegion) DescribeMetricMetaList ¶
func (*SRegion) DescribeProjectMeta ¶
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 (*SRegion) DetachKeyPair ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) ExportImage ¶
func (self *SRegion) ExportImage(imageId, bucketName string) (*ImageExportTask, error)
func (*SRegion) FetchMetricData ¶
func (*SRegion) FetchMetrics ¶
func (r *SRegion) FetchMetrics(ns string) ([]SMetricMeta, error)
func (*SRegion) FetchNamespaces ¶
func (*SRegion) GetAccessGroupRules ¶
func (self *SRegion) GetAccessGroupRules(groupName string) ([]SAccessGroupRule, 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 (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SAliyunClient
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetDBInstanceAccounts ¶
func (*SRegion) GetDBInstanceBackupJobs ¶
func (region *SRegion) GetDBInstanceBackupJobs(instanceId, jobId string) (*SDBInstanceBackupJobs, error)
func (*SRegion) GetDBInstanceBackups ¶
func (*SRegion) GetDBInstanceDatabases ¶
func (*SRegion) GetDBInstanceDetail ¶
func (region *SRegion) GetDBInstanceDetail(instanceId string) (*SDBInstance, error)
func (*SRegion) GetDBInstanceNetInfo ¶
func (region *SRegion) GetDBInstanceNetInfo(instanceId string) ([]SDBInstanceNetwork, error)
func (*SRegion) GetDBInstanceParameters ¶
func (region *SRegion) GetDBInstanceParameters(instanceId string) ([]SDBInstanceParameter, error)
func (*SRegion) GetDBInstances ¶
func (*SRegion) GetElasitcSearch ¶
func (self *SRegion) GetElasitcSearch(id string) (*SElasticSearch, error)
func (*SRegion) GetElasticCacheAccountByName ¶
func (self *SRegion) GetElasticCacheAccountByName(instanceId string, accountName string) (*SElasticcacheAccount, error)
func (*SRegion) GetElasticCacheAccounts ¶
func (self *SRegion) GetElasticCacheAccounts(instanceId string) ([]SElasticcacheAccount, error)
https://help.aliyun.com/document_detail/95802.html?spm=a2c4g.11186623.6.746.143e782f3Pfkfg
func (*SRegion) GetElasticCacheAcls ¶
func (self *SRegion) GetElasticCacheAcls(instanceId string) ([]SElasticcacheAcl, error)
https://help.aliyun.com/document_detail/63889.html?spm=a2c4g.11186623.6.764.3cb43852R7lnoS
func (*SRegion) GetElasticCacheBackups ¶
func (self *SRegion) GetElasticCacheBackups(instanceId, startTime, endTime string) ([]SElasticcacheBackup, error)
https://help.aliyun.com/document_detail/61081.html?spm=a2c4g.11186623.6.754.10613852qAbEQV
func (*SRegion) GetElasticCacheById ¶
func (self *SRegion) GetElasticCacheById(instanceId string) (*SElasticcache, error)
func (*SRegion) GetElasticCacheParameters ¶
func (self *SRegion) GetElasticCacheParameters(instanceId string) ([]SElasticcacheParameter, error)
https://help.aliyun.com/document_detail/93078.html?spm=a2c4g.11186623.6.769.58011975YYL5Gl
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) GetFileSystem ¶
func (self *SRegion) GetFileSystem(id string) (*SFileSystem, error)
func (*SRegion) GetFileSystems ¶
func (*SRegion) GetForwardTableEntries ¶
func (*SRegion) GetForwardTableEntry ¶
func (region *SRegion) GetForwardTableEntry(tableID, forwardEntryID string) (SForwardTableEntry, error)
func (*SRegion) GetGeographicInfo ¶
func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
func (*SRegion) GetGlobalId ¶
func (*SRegion) GetI18n ¶
func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
func (*SRegion) GetIBucketById ¶
func (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) 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) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetImageStatus ¶
func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
func (*SRegion) GetImages ¶
func (self *SRegion) GetImages(status ImageStatusType, owner ImageOwnerType, imageId []string, name string, offset int, limit int) ([]SImage, int, error)
func (*SRegion) GetImagesBySnapshot ¶
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceAutoRenewAttribute ¶
func (region *SRegion) GetInstanceAutoRenewAttribute(instanceId string) (*SAutoRenewAttr, error)
func (*SRegion) GetInstanceStatus ¶
func (*SRegion) GetInstanceTypes ¶
func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
func (*SRegion) GetInstanceVNCUrl ¶
func (*SRegion) GetInstances ¶
func (*SRegion) GetKafkaTopics ¶
func (self *SRegion) GetKafkaTopics(id string, page int, pageSize int) ([]cloudprovider.SKafkaTopic, int, error)
func (*SRegion) GetKeypairs ¶
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 (*SRegion) GetLoadBalancerAcls ¶
func (region *SRegion) GetLoadBalancerAcls() ([]SLoadbalancerAcl, error)
func (*SRegion) GetLoadbalancerAclDetail ¶
func (region *SRegion) GetLoadbalancerAclDetail(aclId string) (*SLoadbalancerAcl, error)
func (*SRegion) GetLoadbalancerBackendgroupById ¶
func (region *SRegion) GetLoadbalancerBackendgroupById(groupId string) (*SLoadbalancerBackendGroup, error)
func (*SRegion) GetLoadbalancerBackendgroups ¶
func (region *SRegion) GetLoadbalancerBackendgroups(loadbalancerId string) ([]SLoadbalancerBackendGroup, error)
func (*SRegion) GetLoadbalancerBackends ¶
func (region *SRegion) GetLoadbalancerBackends(backendgroupId string) ([]SLoadbalancerBackend, error)
func (*SRegion) GetLoadbalancerDetail ¶
func (region *SRegion) GetLoadbalancerDetail(loadbalancerId string) (*SLoadbalancer, error)
func (*SRegion) GetLoadbalancerHTTPListener ¶
func (region *SRegion) GetLoadbalancerHTTPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPListener, error)
func (*SRegion) GetLoadbalancerHTTPSListener ¶
func (region *SRegion) GetLoadbalancerHTTPSListener(loadbalancerId string, listenerPort int) (*SLoadbalancerHTTPSListener, error)
func (*SRegion) GetLoadbalancerListenerRule ¶
func (region *SRegion) GetLoadbalancerListenerRule(ruleId string) (*SLoadbalancerListenerRule, error)
func (*SRegion) GetLoadbalancerListenerRules ¶
func (region *SRegion) GetLoadbalancerListenerRules(loadbalancerId string, listenerPort int) ([]SLoadbalancerListenerRule, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackendgroupById ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroupById(groupId string) (*SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackendgroups ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackendgroups(loadbalancerId string) ([]SLoadbalancerMasterSlaveBackendGroup, error)
func (*SRegion) GetLoadbalancerMasterSlaveBackends ¶
func (region *SRegion) GetLoadbalancerMasterSlaveBackends(backendgroupId string) ([]SLoadbalancerMasterSlaveBackend, error)
func (*SRegion) GetLoadbalancerServerCertificates ¶
func (region *SRegion) GetLoadbalancerServerCertificates() ([]SLoadbalancerServerCertificate, error)
func (*SRegion) GetLoadbalancerTCPListener ¶
func (region *SRegion) GetLoadbalancerTCPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerTCPListener, error)
func (*SRegion) GetLoadbalancerUDPListener ¶
func (region *SRegion) GetLoadbalancerUDPListener(loadbalancerId string, listenerPort int) (*SLoadbalancerUDPListener, error)
func (*SRegion) GetLoadbalancers ¶
func (region *SRegion) GetLoadbalancers(ids []string) ([]SLoadbalancer, error)
func (*SRegion) GetMatchInstanceTypes ¶
func (*SRegion) GetMongoDBAttribute ¶
func (self *SRegion) GetMongoDBAttribute(id string) ([]SMOngoDBAttribute, error)
func (*SRegion) GetMongoDBAvailableResource ¶
func (self *SRegion) GetMongoDBAvailableResource() (*SMongoDBAvaibaleResource, error)
func (*SRegion) GetMongoDBBackups ¶
func (*SRegion) GetMongoDBs ¶
func (*SRegion) GetMongoDBsByType ¶
func (*SRegion) GetMountTargets ¶
func (*SRegion) GetNatGateways ¶
func (*SRegion) GetNetworkAddress ¶
func (*SRegion) GetNetworkInterfaces ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetRdsSecgroupIds ¶
func (*SRegion) GetRouteTables ¶
func (*SRegion) GetSNATEntries ¶
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 (*SRegion) GetTablestoreInstances ¶
func (self *SRegion) GetTablestoreInstances(pageSize, pageNumber int) ([]STablestore, int, 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 (*SRegion) GetVSwitchAttributes ¶
func (*SRegion) GetVSwitches ¶
func (*SRegion) GetchMongoSkus ¶
func (*SRegion) GrantDBInstancePrivilege ¶
func (*SRegion) GrantInstanceToCen ¶
func (self *SRegion) GrantInstanceToCen(opts *cloudprovider.SVpcJointInterVpcNetworkOption, instance SCenAttachInstanceInput) error
func (*SRegion) ImportImage ¶
func (*SRegion) ImportKeypair ¶
func (*SRegion) IsEmulated ¶
func (*SRegion) ListSysAndUserTags ¶
func (*SRegion) ListTags ¶
func (self *SRegion) ListTags(serviceType string, resourceType string, resourceId string) ([]SAliyunTag, error)
资源类型。取值范围: disk, instance, image, securitygroup, snapshot
func (*SRegion) ModifyDBInstanceName ¶
func (*SRegion) ModifyInstanceAutoRenewalAttribute ¶
func (*SRegion) ModifyInstanceVNCUrlPassword ¶
func (*SRegion) OpenPublicConnection ¶
func (*SRegion) RebootDBInstance ¶
func (*SRegion) RecoveryDBInstanceFromBackup ¶
func (*SRegion) ReleaseKafka ¶
func (*SRegion) RemoveAccessControlListEntry ¶
func (region *SRegion) RemoveAccessControlListEntry(aclId string, data jsonutils.JSONObject) error
func (*SRegion) RemoveBackendServer ¶
func (*SRegion) RemoveBackendVServer ¶
func (*SRegion) RenewDBInstance ¶
func (region *SRegion) RenewDBInstance(instanceId string, bc billing.SBillingCycle) error
func (*SRegion) RenewInstance ¶
func (region *SRegion) RenewInstance(instanceId string, bc billing.SBillingCycle) error
func (*SRegion) ReplaceSystemDisk ¶
func (*SRegion) ResetDBInstanceAccountPassword ¶
func (*SRegion) RevokeDBInstancePrivilege ¶
func (*SRegion) SaveImage ¶
func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
func (*SRegion) SetDomainRuleGroup ¶
func (*SRegion) SetInstanceAutoRenew ¶
func (region *SRegion) SetInstanceAutoRenew(instanceId string, bc billing.SBillingCycle) error
func (*SRegion) SetRdsSecgroups ¶
func (*SRegion) SetResourceTags ¶
func (*SRegion) SetSecurityGroups ¶
func (*SRegion) SnapshotPreDelete ¶
If snapshot linked images can't be delete delete images first -- Aliyun
func (*SRegion) TagResource ¶
func (*SRegion) UnassociateRouteTable ¶
func (*SRegion) UntagResource ¶
func (*SRegion) UpdateAclName ¶
func (*SRegion) UpdateEipBandwidth ¶
func (*SRegion) UpdateInstancePassword ¶
func (*SRegion) UpdateLoadBalancerBackendGroupName ¶
func (*SRegion) UpdateSecurityGroupRule ¶
func (*SRegion) UpdateServerCertificateName ¶
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 (*SRegion) WaitTaskStatus ¶
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 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 (*SRole) DetachPolicy ¶
func (*SRole) GetDocument ¶
func (*SRole) GetGlobalId ¶
func (*SRole) GetICloudpolicies ¶
func (self *SRole) GetICloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SRole) GetSAMLProvider ¶
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) 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) CreateRule ¶
func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
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
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) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) GetProjectId ¶
func (*SSnapshot) IsEmulated ¶
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 SStorage ¶
type SStorage struct { multicloud.SStorageBase AliyunTags // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetIDisks ¶
func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SStorage) GetIStoragecache ¶
func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SStorage) GetIZone ¶
func (self *SStorage) GetIZone() cloudprovider.ICloudZone
func (*SStorage) GetMediumType ¶
func (*SStorage) GetMountPoint ¶
func (*SStorage) GetStorageConf ¶
func (self *SStorage) GetStorageConf() jsonutils.JSONObject
func (*SStorage) GetStorageType ¶
func (*SStorage) IsEmulated ¶
func (*SStorage) IsSysDiskStore ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase 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 STaskDetail ¶
type STaskError ¶
type SUser ¶
type SUser struct { multicloud.SBaseClouduser Comments string CreateDate time.Time DisplayName string Email string MobilePhone string UserId string UserName string // contains filtered or unexported fields }
func (*SUser) AttachCustomPolicy ¶
func (*SUser) AttachSystemPolicy ¶
func (*SUser) DetachCustomPolicy ¶
func (*SUser) DetachSystemPolicy ¶
func (*SUser) GetEmailAddr ¶
func (*SUser) GetGlobalId ¶
func (*SUser) GetICloudgroups ¶
func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SUser) GetICustomCloudpolicies ¶
func (user *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetISystemCloudpolicies ¶
func (user *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetInviteUrl ¶
func (*SUser) IsConsoleLogin ¶
func (*SUser) ResetPassword ¶
func (*SUser) UpdatePassword ¶
type SUserCIDRs ¶
type SUserCIDRs struct {
UserCidr []string
}
type SUserIdentity ¶
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) GetAllocTimeoutSeconds ¶
func (*SVSwitch) GetGateway ¶
func (*SVSwitch) GetGlobalId ¶
func (*SVSwitch) GetIWire ¶
func (self *SVSwitch) GetIWire() cloudprovider.ICloudWire
func (*SVSwitch) GetIpStart ¶
func (*SVSwitch) GetIsPublic ¶
func (*SVSwitch) GetProjectId ¶
func (*SVSwitch) GetPublicScope ¶
func (self *SVSwitch) GetPublicScope() rbacscope.TRbacScope
func (*SVSwitch) GetServerType ¶
func (*SVSwitch) IsEmulated ¶
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 (self *SVpc) CreateINatGateway(opts *cloudprovider.NatGatewayCreateOptions) (cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetAuthorityOwnerId ¶
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
func (*SVpc) IsEmulated ¶
func (*SVpc) ProposeJoinICloudInterVpcNetwork ¶
func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
func (*SVpc) RemoteGetRouteTableList ¶
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 (self *SWafDomain) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
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 (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.SResourceBase 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 (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SZone) GetIWires ¶
func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SZone) IsEmulated ¶
type SecurityGroupPermissionNicType ¶
type SecurityGroupPermissionNicType string
const ( IntranetNicType SecurityGroupPermissionNicType = "intranet" InternetNicType SecurityGroupPermissionNicType = "internet" )
type 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
Source Files ¶
- access_group_rule.go
- access_groups.go
- aliyun.go
- bucket.go
- business.go
- cdn.go
- charge.go
- cloud_enterprise_network.go
- cloud_enterprise_network_route.go
- dbinstance.go
- dbinstance_account.go
- dbinstance_backup.go
- dbinstance_database.go
- dbinstance_parameter.go
- dbinstance_privilege.go
- disk.go
- dns_domain.go
- dns_domain_record.go
- doc.go
- eip.go
- elastic_search.go
- elastic_search_instance_types.go
- elasticcache_account.go
- elasticcache_acl.go
- elasticcache_backup.go
- elasticcache_instance.go
- elasticcache_parameter.go
- errors.go
- events.go
- filesystem.go
- host.go
- image.go
- instance.go
- instancenic.go
- instancetype.go
- kafka.go
- keypair.go
- kube_cluster.go
- kube_node.go
- kube_node_pools.go
- latitud_and_longitude.go
- loadbalancer.go
- loadbalanceracl.go
- loadbalancerbackend.go
- loadbalancerbackendgroup.go
- loadbalancerdefaultbackend.go
- loadbalancerdefaultbackendgroup.go
- loadbalancerhttplistener.go
- loadbalancerhttpslistener.go
- loadbalancerlistenerrule.go
- loadbalancermasterslavebackend.go
- loadbalancermasterslavebackendgroup.go
- loadbalancerservercertificate.go
- loadbalancertcplistener.go
- loadbalancerudplistener.go
- mongodb.go
- mongodb_backup.go
- monitor.go
- mount_target.go
- natdtable.go
- natgateway.go
- natstable.go
- networkinterfaces.go
- objects.go
- private_zone.go
- private_zone_record.go
- project.go
- quota.go
- ram.go
- ram_group.go
- ram_policy.go
- ram_role.go
- ram_user.go
- ramimage.go
- region.go
- resource_tags.go
- resourcedirectory.go
- routetable.go
- saml_provider.go
- secgrouprule.go
- securitygroup.go
- snapshot.go
- snapshot_policy.go
- sslcertificate.go
- storage.go
- storagecache.go
- sts.go
- tablestore.go
- tag_base.go
- task.go
- utils.go
- vpc.go
- vrouter.go
- vswitch.go
- waf.go
- waf_domain.go
- wire.go
- wrapper.go
- zone.go