Documentation ¶
Index ¶
- Constants
- Variables
- func AppendFilter(filters []*ec2.Filter, name string, values []string) []*ec2.Filter
- func AppendSingleValueFilter(filters []*ec2.Filter, name string, value string) []*ec2.Filter
- func AwsApiInt64ToOutput(input *int64) int64
- func AwsApiSliceStringToOutput(input []*string) []string
- func AwsIpPermissionToYunion(direction secrules.TSecurityRuleDirection, p ec2.IpPermission) ([]cloudprovider.SecurityRule, error)
- func Build(r *request.Request)
- func CodeMatch(s string, d *string) bool
- func ConvertedList(list []string) []*string
- func ConvertedPointList(list []*string) []string
- func FetchTags(client *ec2.EC2, resourceId string) (*jsonutils.JSONDict, error)
- func FillZero(i interface{}) error
- func GenDiskIops(diskType string, sizeGB int) int64
- func GetBucketName(regionId string, imageId string) string
- func GetDefaultRegionId(accessUrl string) string
- func Getroute53ResourceRecordSet(client *SAwsClient, opts *cloudprovider.DnsRecordSet) (*route53.ResourceRecordSet, error)
- func InputToAwsApiInt64(input int64) *int64
- func InputToAwsApiSliceString(input []string) []*string
- func IntVal(s *int64) int64
- func NextDeviceName(curDeviceNames []string) (string, error)
- func SecurityRuleSetToAllowSet(srs secrules.SecurityRuleSet) secrules.SecurityRuleSet
- func StrVal(s *string) string
- func ToAwsHealthCode(s string) string
- func ToOnecloudHealthCode(s string) string
- func Unmarshal(r *request.Request)
- func UnmarshalError(r *request.Request)
- func YunionSecRuleToAws(rule cloudprovider.SecurityRule) ([]*ec2.IpPermission, error)
- type Action
- type AssociatedVPC
- type Association
- type Attributes
- type AvailabilityZone
- type AwsClientConfig
- type Certificate
- type Condition
- type Config
- type Datapoint
- type Datapoints
- type DefaultAction
- type Dimension
- type HTTPHeaderConfig
- type HostedZoneConfig
- type ImageExportTask
- type ImageImportTask
- type ImageStatusType
- type InstanceChargeType
- type InternetGatewayAttachment
- type LoadBalancerAddress
- type LoginProfile
- type Matcher
- type NatGatewayAddress
- type PricePerUnit
- type Product
- type ProvisionedBandwidth
- type Query
- type QueryStringConfig
- type RegularExpression
- type RootDevice
- type SAMLProvider
- func (self *SAMLProvider) Delete() error
- func (self *SAMLProvider) GetAuthUrl() 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 SAMLProviders
- type SAWSImagePublisherInfo
- type SAccount
- type SAccountBalance
- type SAliasTarget
- type SAttachedPolicies
- type SAttachedPolicy
- func (self *SAttachedPolicy) Delete() error
- func (self *SAttachedPolicy) GetDescription() string
- func (self *SAttachedPolicy) GetDocument() (*jsonutils.JSONDict, error)
- func (self *SAttachedPolicy) GetGlobalId() string
- func (self *SAttachedPolicy) GetName() string
- func (self *SAttachedPolicy) UpdateDocument(document *jsonutils.JSONDict) error
- type SAttachment
- type SAwsClient
- func (client *SAwsClient) AddDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
- func (self *SAwsClient) AddUserToGroup(groupName, userName string) error
- func (client *SAwsClient) AssociateVPCWithHostedZone(vpcId string, regionId string, hostedZoneId string) error
- func (self *SAwsClient) AttachGroupPolicy(groupName, policyArn string) error
- func (self *SAwsClient) AttachRolePolicy(roleName, policyArn string) error
- func (self *SAwsClient) AttachUserPolicy(userName string, policyArn string) error
- func (client *SAwsClient) ChangeResourceRecordSets(action string, hostedZoneId string, ...) error
- func (self *SAwsClient) CreateGroup(name string, path string) (*SGroup, error)
- func (client *SAwsClient) CreateHostedZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SHostedZone, error)
- func (client *SAwsClient) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (self *SAwsClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAwsClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SAwsClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAwsClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)
- func (self *SAwsClient) CreatePolicy(name, document, path, desc string) (*SPolicy, error)
- func (self *SAwsClient) CreatePolicyVersion(arn, document string, isDefault bool) error
- func (self *SAwsClient) CreateRole(opts *cloudprovider.SRoleCreateOptions) (*SRole, error)
- func (self *SAwsClient) CreateSAMLProvider(name, metadata string) (*SAMLProvider, error)
- func (self *SAwsClient) CreateUser(path string, username string) (*SUser, error)
- func (self *SAwsClient) DeleteGroup(name string) error
- func (client *SAwsClient) DeleteHostedZone(Id string) error
- func (self *SAwsClient) DeleteLoginProfile(name string) error
- func (self *SAwsClient) DeletePolicy(arn string) error
- func (self *SAwsClient) DeleteRole(name string) error
- func (self *SAwsClient) DeleteSAMLProvider(arn string) error
- func (self *SAwsClient) DeleteUser(name string) error
- func (self *SAwsClient) DetachGroupPolicy(groupName, policyArn string) error
- func (self *SAwsClient) DetachRolePolicy(roleName string, policyArn string) error
- func (self *SAwsClient) DetachUserPolicy(userName string, policyArn string) error
- func (client *SAwsClient) DisassociateVPCFromHostedZone(vpcId string, regionId string, hostedZoneId string) error
- func (self *SAwsClient) GetAccessEnv() string
- func (client *SAwsClient) GetAccountId() string
- func (client *SAwsClient) GetBucketCannedAcls() []string
- func (self *SAwsClient) GetCallerIdentity() (*SCallerIdentity, error)
- func (self *SAwsClient) GetCapabilities() []string
- func (self *SAwsClient) GetCustomPolicyMaps() (map[string]string, error)
- func (self *SAwsClient) GetDocument(arn, versionId string) (*jsonutils.JSONDict, error)
- func (self *SAwsClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAwsClient) GetGroup(name string, offset string, limit int) (*SGroupDetails, error)
- func (client *SAwsClient) GetHostedZoneById(ID string) (*SHostedZone, error)
- func (client *SAwsClient) GetHostedZoneVpcs(hostedzoneId string) ([]AssociatedVPC, error)
- func (client *SAwsClient) GetHostedZones() ([]SHostedZone, error)
- func (client *SAwsClient) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SAwsClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SAwsClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAwsClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAwsClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SAwsClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAwsClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SAwsClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAwsClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SAwsClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAwsClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAwsClient) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAwsClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SAwsClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAwsClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (client *SAwsClient) GetIamLoginUrl() string
- func (self *SAwsClient) GetLoginProfile(name string) (*SLoginProfile, error)
- func (self *SAwsClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (client *SAwsClient) GetObjectCannedAcls() []string
- func (self *SAwsClient) GetPolicy(arn string) (*SPolicy, error)
- func (self *SAwsClient) GetPolicyVersion(arn, versionId string) (*SPolicyVersion, error)
- func (self *SAwsClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAwsClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAwsClient) GetRegion(regionId string) (*SRegion, error)
- func (self *SAwsClient) GetRegions() ([]SRegion, error)
- func (self *SAwsClient) GetRole(roleName string) (*SRole, error)
- func (client *SAwsClient) GetRoute53ResourceRecordSets(HostedZoneId string) ([]*route53.ResourceRecordSet, error)
- func (self *SAwsClient) GetSAMLProvider(arn string) (*SAMLProvider, error)
- func (client *SAwsClient) GetSTrafficPolicyById(TrafficPolicyInstanceId string) (*STrafficPolicy, error)
- func (client *SAwsClient) GetSamlEntityId() string
- func (client *SAwsClient) GetSdnsRecordSets(HostedZoneId string) ([]SdnsRecordSet, error)
- func (self *SAwsClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SAwsClient) GetUser(name string) (*SUser, error)
- func (self *SAwsClient) ListAttachedGroupPolicies(name string, marker string, maxItems int) (*SAttachedPolicies, error)
- func (self *SAwsClient) ListAttachedRolePolicies(roleName string, marker string, maxItems int, pathPrefix string) (*SAttachedPolicies, error)
- func (self *SAwsClient) ListAttachedUserPolicies(userName string, marker string, maxItems int, pathPrefix string) (*SAttachedPolicies, error)
- func (client *SAwsClient) ListGeoLocations() ([]*route53.GeoLocationDetails, error)
- func (self *SAwsClient) ListGroupPolicies(name string, offset string, limit int) (*SPolicies, error)
- func (self *SAwsClient) ListGroupUsers(groupName string) ([]SUser, error)
- func (self *SAwsClient) ListGroups(offset string, limit int, pathPrefix string) (*SGroups, error)
- func (self *SAwsClient) ListGroupsForUser(name string, offset string, limit int) (*SGroups, error)
- func (self *SAwsClient) ListPolicies(marker string, maxItems int, onlyAttached bool, pathPrefix string, ...) (*SPolicies, error)
- func (self *SAwsClient) ListPolicyVersions(marker string, maxItems int, arn string) (*SPolicyVersions, error)
- func (self *SAwsClient) ListRolePolicies(roleName string, marker string, maxItems int) (*SPolicyNames, error)
- func (self *SAwsClient) ListRoles(offset string, limit int, prefix string) (*SRoles, error)
- func (self *SAwsClient) ListSAMLProviders() ([]SAMLProvider, error)
- func (self *SAwsClient) ListUserPolicies(userName string, marker string, maxItems int) (*SUserPolicies, error)
- func (self *SAwsClient) ListUsers(offset string, limit int, pathPrefix string) (*SUsers, error)
- func (self *SAwsClient) QueryAccountBalance() (*SAccountBalance, error)
- func (client *SAwsClient) RemoveDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
- func (self *SAwsClient) RemoveUserFromGroup(groupName, userName string) error
- func (self *SAwsClient) ResetUserPassword(name, password string) error
- func (client *SAwsClient) UpdateDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
- func (self *SAwsClient) UpdateLoginProfile(name, password string) error
- func (self *SAwsClient) UpdateSAMLProvider(arn, metadata string) (*SAMLProvider, error)
- 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) DeleteWebSiteConf() error
- func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
- func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (b *SBucket) GetCreatedAt() time.Time
- func (b *SBucket) GetGlobalId() string
- func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
- func (b *SBucket) 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) GetProjectId() string
- func (b *SBucket) GetStats() cloudprovider.SBucketStats
- func (b *SBucket) GetStorageClass() string
- func (b *SBucket) GetTags() (map[string]string, error)
- func (b *SBucket) GetTempUrl(method string, key string, expire time.Duration) (string, error)
- func (b *SBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
- func (b *SBucket) GetWebsiteUrl() string
- 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, body io.Reader, sizeBytes int64, ...) error
- func (b *SBucket) SetAcl(aclStr cloudprovider.TBucketACLType) error
- func (b *SBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) 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 SCallerIdentity
- type SDBInstance
- func (rds *SDBInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (rds *SDBInstance) ClosePublicConnection() error
- func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
- func (self *SDBInstance) Delete() error
- func (rds *SDBInstance) GetBillingType() string
- func (self *SDBInstance) GetCategory() string
- func (rds *SDBInstance) GetConnectionStr() string
- func (rds *SDBInstance) GetCreatedAt() time.Time
- func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (rds *SDBInstance) GetDiskSizeGB() int
- func (rds *SDBInstance) GetEngine() string
- func (rds *SDBInstance) GetEngineVersion() string
- func (rds *SDBInstance) GetExpiredAt() time.Time
- func (rds *SDBInstance) GetGlobalId() string
- func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
- func (rds *SDBInstance) GetIVpcId() string
- func (rds *SDBInstance) GetId() string
- func (rds *SDBInstance) GetInstanceType() string
- func (rds *SDBInstance) GetInternalConnectionStr() string
- func (rds *SDBInstance) GetMaintainTime() string
- func (rds *SDBInstance) GetName() string
- func (rds *SDBInstance) GetPort() int
- func (rds *SDBInstance) GetStatus() string
- func (rds *SDBInstance) GetStorageType() string
- func (rds *SDBInstance) GetVcpuCount() int
- func (rds *SDBInstance) GetVmemSizeMB() int
- func (rds *SDBInstance) GetZone1Id() string
- func (rds *SDBInstance) GetZone2Id() string
- func (rds *SDBInstance) GetZone3Id() string
- func (rds *SDBInstance) OpenPublicConnection() error
- func (rds *SDBInstance) Reboot() error
- func (rds *SDBInstance) Refresh() error
- func (self *SDBInstance) SetTags(tags map[string]string, replace bool) error
- type SDBInstanceAccount
- type SDBInstanceDatabase
- type SDBInstanceParameter
- type SDBInstanceParameters
- type SDBInstanceSnapshot
- func (self *SDBInstanceSnapshot) Delete() error
- func (snapshot *SDBInstanceSnapshot) GetBackupMode() string
- func (snapshot *SDBInstanceSnapshot) GetBackupSizeMb() int
- func (snapshot *SDBInstanceSnapshot) GetDBInstanceId() string
- func (snapshot *SDBInstanceSnapshot) GetDBNames() string
- func (snapshot *SDBInstanceSnapshot) GetEndTime() time.Time
- func (snapshot *SDBInstanceSnapshot) GetEngine() string
- func (snapshot *SDBInstanceSnapshot) GetEngineVersion() string
- func (snapshot *SDBInstanceSnapshot) GetGlobalId() string
- func (snapshot *SDBInstanceSnapshot) GetId() string
- func (snapshot *SDBInstanceSnapshot) GetName() string
- func (snapshot *SDBInstanceSnapshot) GetStartTime() time.Time
- func (snapshot *SDBInstanceSnapshot) GetStatus() string
- func (self *SDBInstanceSnapshot) Refresh() error
- type SDBInstanceSnapshots
- type SDBInstanceSpec
- type SDBInstances
- type SDBParameterGroup
- type SDBSubnetGroup
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name string, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (disk *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, newSizeMb int64) error
- 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
- type SElasticache
- func (self *SElasticache) AllocatePublicConnection(port int) (string, error)
- func (self *SElasticache) ChangeInstanceSpec(spec string) error
- func (self *SElasticache) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticache) Delete() error
- func (self *SElasticache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SElasticache) GetArchType() string
- func (self *SElasticache) GetAuthMode() string
- func (self *SElasticache) GetBillingType() string
- func (self *SElasticache) GetCapacityMB() int
- func (self *SElasticache) GetCreatedAt() time.Time
- func (self *SElasticache) GetEngine() string
- func (self *SElasticache) GetEngineVersion() string
- func (self *SElasticache) GetExpiredAt() time.Time
- func (self *SElasticache) GetGlobalId() string
- func (self *SElasticache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SElasticache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SElasticache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SElasticache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SElasticache) GetId() string
- func (self *SElasticache) GetInstanceType() string
- func (self *SElasticache) GetMaintainEndTime() string
- func (self *SElasticache) GetMaintainStartTime() string
- func (self *SElasticache) GetName() string
- func (self *SElasticache) GetNetworkId() string
- func (self *SElasticache) GetNetworkType() string
- func (self *SElasticache) GetNodeType() string
- func (self *SElasticache) GetParameterGroupName() (string, error)
- func (self *SElasticache) GetParameters() ([]SElasticacheParameter, error)
- func (self *SElasticache) GetPrivateConnectPort() int
- func (self *SElasticache) GetPrivateDNS() string
- func (self *SElasticache) GetPrivateIpAddr() string
- func (self *SElasticache) GetPublicConnectPort() int
- func (self *SElasticache) GetPublicDNS() string
- func (self *SElasticache) GetPublicIpAddr() string
- func (self *SElasticache) GetSecurityGroupIds() ([]string, error)
- func (self *SElasticache) GetSnapshots() ([]SElasticacheSnapshop, error)
- func (self *SElasticache) GetStatus() string
- func (self *SElasticache) GetUserById(id string) (*SElasticacheUser, error)
- func (self *SElasticache) GetUsers() ([]SElasticacheUser, error)
- func (self *SElasticache) GetVpcId() string
- func (self *SElasticache) GetZoneId() string
- func (self *SElasticache) Refresh() error
- func (self *SElasticache) ReleasePublicConnection() error
- func (self *SElasticache) Renew(bc billing.SBillingCycle) error
- func (self *SElasticache) Restart() error
- func (self *SElasticache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (self *SElasticache) UpdateAuthMode(noPwdAccess bool, password string) error
- func (self *SElasticache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SElasticache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SElasticache) UpdateSecurityGroups(secgroupIds []string) error
- type SElasticacheParameter
- func (self *SElasticacheParameter) GetDescription() string
- func (self *SElasticacheParameter) GetForceRestart() bool
- func (self *SElasticacheParameter) GetGlobalId() string
- func (self *SElasticacheParameter) GetId() string
- func (self *SElasticacheParameter) GetModifiable() bool
- func (self *SElasticacheParameter) GetName() string
- func (self *SElasticacheParameter) GetParameterKey() string
- func (self *SElasticacheParameter) GetParameterValue() string
- func (self *SElasticacheParameter) GetParameterValueRange() string
- func (self *SElasticacheParameter) GetStatus() string
- type SElasticacheSnapshop
- func (self *SElasticacheSnapshop) Delete() error
- func (self *SElasticacheSnapshop) GetBackupMode() string
- func (self *SElasticacheSnapshop) GetBackupSizeMb() int
- func (self *SElasticacheSnapshop) GetBackupType() string
- func (self *SElasticacheSnapshop) GetDownloadURL() string
- func (self *SElasticacheSnapshop) GetEndTime() time.Time
- func (self *SElasticacheSnapshop) GetGlobalId() string
- func (self *SElasticacheSnapshop) GetId() string
- func (self *SElasticacheSnapshop) GetName() string
- func (self *SElasticacheSnapshop) GetStartTime() time.Time
- func (self *SElasticacheSnapshop) GetStatus() string
- func (self *SElasticacheSnapshop) Refresh() error
- func (self *SElasticacheSnapshop) RestoreInstance(instanceId string) error
- type SElasticacheUser
- func (self *SElasticacheUser) Delete() error
- func (self *SElasticacheUser) GetAccountPrivilege() string
- func (self *SElasticacheUser) GetAccountType() string
- func (self *SElasticacheUser) GetGlobalId() string
- func (self *SElasticacheUser) GetId() string
- func (self *SElasticacheUser) GetName() string
- func (self *SElasticacheUser) GetStatus() string
- func (self *SElasticacheUser) Refresh() error
- func (self *SElasticacheUser) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
- func (self *SElasticacheUser) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
- type SElb
- func (self *SElb) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SElb) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SElb) Delete(ctx context.Context) error
- func (self *SElb) GetAddress() string
- func (self *SElb) GetAddressType() string
- func (self *SElb) GetChargeType() string
- func (self *SElb) GetEgressMbps() int
- func (self *SElb) GetGlobalId() string
- func (self *SElb) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SElb) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SElb) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SElb) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SElb) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SElb) GetId() string
- func (self *SElb) GetLoadbalancerSpec() string
- func (self *SElb) GetName() string
- func (self *SElb) GetNetworkIds() []string
- func (self *SElb) GetNetworkType() string
- func (self *SElb) GetProjectId() string
- func (self *SElb) GetStatus() string
- func (self *SElb) GetSysTags() map[string]string
- func (self *SElb) GetTags() (map[string]string, error)
- func (self *SElb) GetVpcId() string
- func (self *SElb) GetZone1Id() string
- func (self *SElb) GetZoneId() string
- func (self *SElb) IsEmulated() bool
- func (self *SElb) Refresh() error
- func (self *SElb) SetTags(tags map[string]string, replace bool) error
- func (self *SElb) Start() error
- func (self *SElb) Stop() error
- type SElbBackend
- func (self *SElbBackend) GetBackendId() string
- func (self *SElbBackend) GetBackendRole() string
- func (self *SElbBackend) GetBackendType() string
- func (self *SElbBackend) GetGlobalId() string
- func (self *SElbBackend) GetId() string
- func (self *SElbBackend) GetIpAddress() string
- func (self *SElbBackend) GetName() string
- func (self *SElbBackend) GetPort() int
- func (self *SElbBackend) GetProjectId() string
- func (self *SElbBackend) GetStatus() string
- func (self *SElbBackend) GetWeight() int
- func (self *SElbBackend) IsEmulated() bool
- func (self *SElbBackend) Refresh() error
- func (self *SElbBackend) SyncConf(ctx context.Context, port, weight int) error
- type SElbBackendGroup
- func (self *SElbBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SElbBackendGroup) Delete(ctx context.Context) error
- func (self *SElbBackendGroup) GetGlobalId() string
- func (self *SElbBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (self *SElbBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
- func (self *SElbBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SElbBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SElbBackendGroup) GetId() string
- func (self *SElbBackendGroup) GetLoadbalancerId() string
- func (self *SElbBackendGroup) GetName() string
- func (self *SElbBackendGroup) GetProjectId() string
- func (self *SElbBackendGroup) GetProtocolType() string
- func (self *SElbBackendGroup) GetScheduler() string
- func (self *SElbBackendGroup) GetStatus() string
- func (self *SElbBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (self *SElbBackendGroup) GetSysTags() map[string]string
- func (self *SElbBackendGroup) GetType() string
- func (self *SElbBackendGroup) IsDefault() bool
- func (self *SElbBackendGroup) IsEmulated() bool
- func (self *SElbBackendGroup) Refresh() error
- func (self *SElbBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
- func (self *SElbBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SElbCertificate
- func (self *SElbCertificate) Delete() error
- func (self *SElbCertificate) GetCommonName() string
- func (self *SElbCertificate) GetExpireTime() time.Time
- func (self *SElbCertificate) GetFingerprint() string
- func (self *SElbCertificate) GetGlobalId() string
- func (self *SElbCertificate) GetId() string
- func (self *SElbCertificate) GetName() string
- func (self *SElbCertificate) GetPrivateKey() string
- func (self *SElbCertificate) GetProjectId() string
- func (self *SElbCertificate) GetPublickKey() string
- func (self *SElbCertificate) GetStatus() string
- func (self *SElbCertificate) GetSubjectAlternativeNames() string
- func (self *SElbCertificate) IsEmulated() bool
- func (self *SElbCertificate) ParsePublicKey() (*x509.Certificate, error)
- func (self *SElbCertificate) Refresh() error
- func (self *SElbCertificate) Sync(name, privateKey, publickKey string) error
- type SElbListener
- func (self *SElbListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SElbListener) Delete(ctx context.Context) error
- func (self *SElbListener) GetAclId() string
- func (self *SElbListener) GetAclStatus() string
- func (self *SElbListener) GetAclType() string
- func (self *SElbListener) GetBackendConnectTimeout() int
- func (self *SElbListener) GetBackendGroupId() string
- func (self *SElbListener) GetBackendServerPort() int
- func (self *SElbListener) GetCertificateId() string
- func (self *SElbListener) GetClientIdleTimeout() int
- func (self *SElbListener) GetEgressMbps() int
- func (self *SElbListener) GetGlobalId() string
- func (self *SElbListener) GetHealthCheck() string
- func (self *SElbListener) GetHealthCheckCode() string
- func (self *SElbListener) GetHealthCheckDomain() string
- func (self *SElbListener) GetHealthCheckExp() string
- func (self *SElbListener) GetHealthCheckFail() int
- func (self *SElbListener) GetHealthCheckInterval() int
- func (self *SElbListener) GetHealthCheckReq() string
- func (self *SElbListener) GetHealthCheckRise() int
- func (self *SElbListener) GetHealthCheckTimeout() int
- func (self *SElbListener) GetHealthCheckType() string
- func (self *SElbListener) GetHealthCheckURI() string
- func (self *SElbListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SElbListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SElbListener) GetId() string
- func (self *SElbListener) GetListenerPort() int
- func (self *SElbListener) GetListenerType() string
- func (self *SElbListener) GetName() string
- func (self *SElbListener) GetProjectId() string
- func (self *SElbListener) GetScheduler() string
- func (self *SElbListener) GetStatus() string
- func (self *SElbListener) GetStickySession() string
- func (self *SElbListener) GetStickySessionCookie() string
- func (self *SElbListener) GetStickySessionCookieTimeout() int
- func (self *SElbListener) GetStickySessionType() string
- func (self *SElbListener) GetTLSCipherPolicy() string
- func (self *SElbListener) GzipEnabled() bool
- func (self *SElbListener) HTTP2Enabled() bool
- func (self *SElbListener) IsEmulated() bool
- func (self *SElbListener) Refresh() error
- func (self *SElbListener) Start() error
- func (self *SElbListener) Stop() error
- func (self *SElbListener) Sync(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) error
- func (self *SElbListener) XForwardedForEnabled() bool
- type SElbListenerRule
- func (self *SElbListenerRule) Delete(ctx context.Context) error
- func (self *SElbListenerRule) GetBackendGroupId() string
- func (self *SElbListenerRule) GetCondition() string
- func (self *SElbListenerRule) GetDomain() string
- func (self *SElbListenerRule) GetGlobalId() string
- func (self *SElbListenerRule) GetId() string
- func (self *SElbListenerRule) GetName() string
- func (self *SElbListenerRule) GetPath() string
- func (self *SElbListenerRule) GetProjectId() string
- func (self *SElbListenerRule) GetStatus() string
- func (self *SElbListenerRule) IsDefault() bool
- func (self *SElbListenerRule) IsEmulated() bool
- func (self *SElbListenerRule) Refresh() error
- type SEndpoint
- type SEvent
- func (self *SEvent) GetAccount() string
- func (self *SEvent) GetAction() string
- func (self *SEvent) GetCreatedAt() time.Time
- func (self *SEvent) GetName() string
- func (self *SEvent) GetRequest() jsonutils.JSONObject
- func (self *SEvent) GetRequestId() string
- func (self *SEvent) GetResourceType() string
- func (self *SEvent) GetService() string
- func (self *SEvent) IsSuccess() bool
- type SEventResource
- type SGeoLocationCode
- type SGroup
- func (self *SGroup) AddUser(userName string) error
- func (self *SGroup) AttachCustomPolicy(policyId string) error
- func (self *SGroup) AttachSystemPolicy(policyId string) error
- func (self *SGroup) Delete() error
- func (self *SGroup) DetachCustomPolicy(policyId string) error
- func (self *SGroup) DetachSystemPolicy(policyId 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) ListPolicies() ([]SAttachedPolicy, error)
- func (self *SGroup) RemoveUser(userName string) error
- type SGroupDetails
- type SGroupSet
- 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 (self *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)
- func (self *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (self *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- type SHostedZone
- func (self *SHostedZone) AddDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- func (self *SHostedZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SHostedZone) Delete() error
- func (self *SHostedZone) GetDnsProductType() cloudprovider.TDnsProductType
- func (self *SHostedZone) GetGlobalId() string
- func (self *SHostedZone) GetICloudVpcIds() ([]string, error)
- func (self *SHostedZone) GetIDnsRecordSets() ([]cloudprovider.ICloudDnsRecordSet, error)
- func (self *SHostedZone) GetId() string
- func (self *SHostedZone) GetName() string
- func (self *SHostedZone) GetOptions() *jsonutils.JSONDict
- func (self *SHostedZone) GetStatus() string
- func (self *SHostedZone) GetZoneType() cloudprovider.TDnsZoneType
- func (self *SHostedZone) Refresh() error
- func (self *SHostedZone) RemoveDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- func (self *SHostedZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SHostedZone) SyncDnsRecordSets(common, add, del, update []cloudprovider.DnsRecordSet) error
- func (self *SHostedZone) UpdateDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (self *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetCreatedAt() time.Time
- func (self *SImage) GetFullOsName() string
- func (self *SImage) GetGlobalId() string
- func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SImage) GetId() string
- func (self *SImage) GetImageFormat() string
- func (self *SImage) GetImageStatus() string
- func (self *SImage) GetImageType() cloudprovider.TImageType
- func (self *SImage) GetMinOsDiskSizeGb() int
- func (self *SImage) GetMinRamSizeMb() int
- func (self *SImage) GetName() string
- func (self *SImage) GetOsArch() string
- func (self *SImage) GetOsDist() string
- func (self *SImage) GetOsLang() string
- func (self *SImage) GetOsType() cloudprovider.TOsType
- func (self *SImage) GetOsVersion() string
- func (self *SImage) GetSizeByte() int64
- func (self *SImage) GetStatus() string
- func (self *SImage) IsEmulated() bool
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AssignSecurityGroup(secgroupId string) error
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) ChangeConfig2(ctx context.Context, instanceType string) error
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, name string, username string, password string, ...) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetAccountId() string
- func (self *SInstance) GetArn() string
- func (self *SInstance) GetBillingType() string
- func (self *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) 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) GetImage() (*SImage, error)
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetInternetMaxBandwidthOut() int
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (self *SInstance) GetOsArch() string
- func (self *SInstance) GetOsDist() string
- func (self *SInstance) GetOsLang() string
- func (self *SInstance) GetOsType() cloudprovider.TOsType
- func (self *SInstance) GetOsVersion() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetSysTags() map[string]string
- func (self *SInstance) GetTags() (map[string]string, error)
- func (self *SInstance) GetThroughput() int
- func (self *SInstance) GetUserData() (string, error)
- 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) 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) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) SetTags(tags map[string]string, replace bool) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, name string) error
- type SInstanceNic
- 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 SInstnaceType
- type SInternetGateway
- type SIpAddress
- type SKeypair
- type SLoginProfile
- type SMountInstances
- type SNatGateway
- func (self *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
- func (self *SNatGateway) CreateINatSEntry(rule cloudprovider.SNatSRule) (cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) Delete() error
- func (self *SNatGateway) GetBandwidthMb() int
- func (self *SNatGateway) GetGlobalId() string
- func (self *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
- func (self *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
- func (self *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
- func (self *SNatGateway) GetINetworkId() string
- func (self *SNatGateway) GetId() string
- func (self *SNatGateway) GetIpAddr() string
- func (self *SNatGateway) GetName() string
- func (self *SNatGateway) GetNatSpec() string
- func (self *SNatGateway) GetStatus() string
- func (self *SNatGateway) Refresh() error
- type SNetwork
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetGateway() string
- func (self *SNetwork) GetGlobalId() string
- func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
- func (self *SNetwork) GetId() string
- func (self *SNetwork) GetIpEnd() string
- func (self *SNetwork) GetIpMask() int8
- func (self *SNetwork) GetIpStart() string
- func (self *SNetwork) GetIsPublic() bool
- func (self *SNetwork) GetName() string
- func (self *SNetwork) GetProjectId() string
- func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) GetSysTags() map[string]string
- func (self *SNetwork) IsEmulated() bool
- func (self *SNetwork) Refresh() error
- type SNetworkInterface
- type SObject
- type SOptionGroupMembership
- type SOrgPolicy
- type SPolicies
- type SPolicy
- type SPolicyNames
- type SPolicyVersion
- type SPolicyVersions
- type SPrivateIpAddress
- type SRegion
- func (self *SRegion) AcceptVpcPeeringConnection(vpcPeeringConnectionId string) (*ec2.VpcPeeringConnection, error)
- func (self *SRegion) AddElbBackend(backendgroupId, serverId string, weight int, port int) (*SElbBackend, error)
- func (self *SRegion) AddElbBackends(backendgroupId string, backends []cloudprovider.SLoadbalancerBackend) error
- func (self *SRegion) AddRdsTagsToResource(arn string, tags map[string]string) error
- func (self *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
- func (self *SRegion) AssociateEip(eipId string, instanceId string) error
- func (self *SRegion) AttachDisk(instanceId string, diskId string, deviceName string) error
- func (self *SRegion) AttachKeypair(instanceId string, keypairName string) error
- func (self *SRegion) ChangeVMConfig2(zoneId string, instanceId string, instanceType string, disks []*SDisk) error
- func (self *SRegion) CheckBucket(bucketName string) error
- func (self *SRegion) CreateDisk(zoneId string, category string, name string, sizeGb int, snapshotId string, ...) (string, error)
- func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) CreateElbBackendgroup(group *cloudprovider.SLoadbalancerBackendGroup) (*SElbBackendGroup, error)
- func (self *SRegion) CreateElbListener(listener *cloudprovider.SLoadbalancerListener) (*SElbListener, error)
- func (self *SRegion) CreateElbListenerRule(listenerId string, config *cloudprovider.SLoadbalancerListenerRule) (*SElbListenerRule, error)
- func (region *SRegion) CreateIBucket(name string, storageClassStr string, acl string) error
- func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateInstance(name string, image *SImage, instanceType string, SubnetId string, ...) (string, error)
- func (self *SRegion) CreateInstanceSimple(name string, imgId string, cpu int, memGB int, storageType string, ...) (*SInstance, error)
- func (region *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
- func (self *SRegion) CreateRoute(routeTableId string, DestinationCIDRBlock string, targetId string) error
- func (self *SRegion) CreateSecurityGroup(vpcId string, name string, secgroupIdTag string, desc string) (string, error)
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (string, error)
- func (self *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*ec2.VpcPeeringConnection, error)
- func (self *SRegion) CreateWebAcl(name, desc string, wafType cloudprovider.TWafType, ...) (*SWebAcl, error)
- func (self *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) DelSecurityGroupRule(secGrpId string, rule cloudprovider.SecurityRule) error
- func (self *SRegion) DeleteDisk(diskId string) error
- func (self *SRegion) DeleteElb(elbId string) error
- func (self *SRegion) DeleteElbBackendGroup(backendgroupId string) error
- func (self *SRegion) DeleteElbListener(listenerId string) error
- func (self *SRegion) DeleteElbListenerRule(ruleId string) error
- func (region *SRegion) DeleteIBucket(name string) error
- func (self *SRegion) DeleteIPSet(id, name, scope, lockToken string) error
- func (self *SRegion) DeleteImage(imageId string) error
- func (self *SRegion) DeleteNatgateway(id string) error
- func (self *SRegion) DeleteRdsSnapshot(id string) error
- func (self *SRegion) DeleteRegexSet(id, name, scope, lockToken string) error
- func (self *SRegion) DeleteRouteTable(rid string) error
- func (self *SRegion) DeleteRuleGroup(id, name, scope, lockToken string) error
- func (self *SRegion) DeleteSecurityGroup(secGrpId string) error
- func (self *SRegion) DeleteSnapshot(snapshotId string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (self *SRegion) DeleteVpcPeeringConnection(vpcPeeringConnectionId string) error
- func (self *SRegion) DeleteVpcPeeringConnectionRoute(vpcPeeringConnectionId string) error
- func (self *SRegion) DeleteWebAcl(id, name, scope, lockToken string) error
- func (self *SRegion) DeployVM(instanceId string, name string, password string, keypairName string, ...) error
- func (self *SRegion) DescribeAccepterVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
- func (region *SRegion) DescribeCacheParameters(parameterGroupId string) ([]*elasticache.Parameter, error)
- func (region *SRegion) DescribeCacheSubnetGroups(Id string) ([]*elasticache.CacheSubnetGroup, error)
- func (region *SRegion) DescribeElasticacheClusters() ([]*elasticache.CacheCluster, error)
- func (region *SRegion) DescribeElasticacheReplicationGroups(Id string) ([]*elasticache.ReplicationGroup, error)
- func (self *SRegion) DescribeManagedRuleGroup(name, scope, vendorName string) (*SWafRuleGroup, error)
- func (r *SRegion) DescribeOrgPolicy(pId string) (jsonutils.JSONObject, error)
- func (r *SRegion) DescribeOrganizationalUnit(ouId string) error
- func (self *SRegion) DescribeRequesterVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
- func (region *SRegion) DescribeSnapshots(replicaGroupId string, snapshotName string) ([]*elasticache.Snapshot, error)
- func (region *SRegion) DescribeUsers(engine string) ([]*elasticache.User, error)
- func (self *SRegion) DescribeVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
- func (self *SRegion) DetachDisk(instanceId string, diskId string) error
- func (self *SRegion) DetachKeyPair(instanceId string, keypairName string) error
- func (self *SRegion) DissociateEip(insId string) error
- func (self *SRegion) ExportImage(instanceId string, imageId string) (*ImageExportTask, error)
- func (self *SRegion) FetchElbTags(arn string) (map[string]string, error)
- func (self *SRegion) GetARNPartition() string
- func (self *SRegion) GetBucketRegionId(bucketName string) (string, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetClient() *SAwsClient
- func (self *SRegion) GetCloudEnv() string
- func (region *SRegion) GetDBInstance(instanceId string) (*SDBInstance, error)
- func (region *SRegion) GetDBInstanceParameters(name string) ([]SDBInstanceParameter, error)
- func (region *SRegion) GetDBInstanceSnapshots(instanceId, backupId string) ([]SDBInstanceSnapshot, error)
- func (region *SRegion) GetDBInstances(instanceId, marker string) ([]SDBInstance, string, error)
- func (self *SRegion) GetDisk(diskId string) (*SDisk, error)
- func (self *SRegion) GetDisks(instanceId string, zoneId string, storageType string, diskIds []string, ...) ([]SDisk, int, error)
- func (self *SRegion) GetELbBackend(backendId string) (*SElbBackend, error)
- func (self *SRegion) GetELbBackends(backendgroupId string) ([]SElbBackend, error)
- func (self *SRegion) GetEip(id string) (*SEipAddress, error)
- func (self *SRegion) GetEipByIpAddress(eipAddress string) (*SEipAddress, error)
- func (self *SRegion) GetEips(id, ip, associateId string) ([]SEipAddress, error)
- func (region *SRegion) GetElasticaches() ([]SElasticache, error)
- func (self *SRegion) GetElbBackendgroup(backendgroupId string) (*SElbBackendGroup, error)
- func (self *SRegion) GetElbBackendgroupAttributesById(backendgroupId string) (map[string]string, error)
- func (self *SRegion) GetElbBackendgroups(elbId string, backendgroupIds []string) ([]SElbBackendGroup, error)
- func (self *SRegion) GetElbListener(listenerId string) (*SElbListener, error)
- func (self *SRegion) GetElbListenerRuleById(ruleId string) (*SElbListenerRule, error)
- func (self *SRegion) GetElbListenerRules(listenerId string, ruleId string) ([]SElbListenerRule, error)
- func (self *SRegion) GetElbListeners(elbId string) ([]SElbListener, error)
- func (self *SRegion) GetElbV2Client() (*elbv2.ELBV2, 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) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
- func (self *SRegion) GetICloudWafIPSets() ([]cloudprovider.ICloudWafIPSet, error)
- func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafRegexSets() ([]cloudprovider.ICloudWafRegexSet, error)
- func (region *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (self *SRegion) GetIDBInstanceById(id string) (cloudprovider.ICloudDBInstance, error)
- func (region *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (region *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
- func (region *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) GetIPSet(id, name, scope string) (*SWafIPSet, error)
- func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (region *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(imageId string) (*SImage, error)
- func (self *SRegion) GetImageByName(name string, owners []TImageOwnerType) (*SImage, error)
- func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
- func (self *SRegion) GetImages(status ImageStatusType, owners []TImageOwnerType, imageId []string, ...) ([]SImage, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (self *SRegion) GetInstanceIdByImageId(imageId string) (string, error)
- func (self *SRegion) GetInstanceStatus(instanceId string) (string, error)
- func (self *SRegion) GetInstanceTypes(nextToken string) ([]SInstnaceType, string, error)
- func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit int) ([]SInstance, int, error)
- func (self *SRegion) GetInternetGateways(vpcId string) ([]SInternetGateway, error)
- func (self *SRegion) GetKeypairs(finger string, name string, offset int, limit int) ([]SKeypair, int, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetNatGateway(id string) (*SNatGateway, error)
- func (self *SRegion) GetNatGateways(ids []string, vpcId, subnetId string) ([]SNatGateway, error)
- func (self *SRegion) GetNetworkInterface(id string) (*SNetworkInterface, error)
- func (self *SRegion) GetNetworkInterfaces(id string) ([]SNetworkInterface, error)
- func (self *SRegion) GetNetwroks(ids []string, vpcId string) ([]SNetwork, error)
- func (self *SRegion) GetProvider() string
- func (self *SRegion) GetRdsSnapshot(id string) (*SDBInstanceSnapshot, error)
- func (self *SRegion) GetRegexSet(id, name, scope string) (*SWafRegexSet, error)
- func (self *SRegion) GetReservedHostOfferings() error
- func (self *SRegion) GetReservedInstance() error
- func (self *SRegion) GetRouteTable(id string) (*SRouteTable, error)
- func (self *SRegion) GetRouteTables(vpcId string, mainRouteOnly bool) ([]SRouteTable, error)
- func (self *SRegion) GetRouteTablesByNetworkId(netId string) ([]SRouteTable, error)
- func (self *SRegion) GetRuleGroup(id, name, scope string) (*SWafRuleGroup, error)
- func (self *SRegion) GetS3Client() (*s3.S3, error)
- func (region *SRegion) GetSElasticacheById(Id string) (*SElasticache, error)
- func (self *SRegion) GetSecurityGroupDetails(secGroupId string) (*SSecurityGroup, error)
- func (self *SRegion) GetSecurityGroups(vpcId string, name string, secgroupId string, offset int, limit int) ([]SSecurityGroup, int, error)
- func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error)
- func (self *SRegion) GetSnapshots(instanceId string, diskId string, snapshotName string, snapshotIds []string, ...) ([]SSnapshot, int, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetVpcPeeringConnectionById(Id string) (*ec2.VpcPeeringConnection, error)
- func (self *SRegion) GetVpcs(vpcId []string) ([]SVpc, error)
- func (self *SRegion) GetWebAcl(id, name, scope string) (*SWebAcl, error)
- func (region *SRegion) IBucketExist(name string) (bool, error)
- func (self *SRegion) ImportImage(name string, osArch string, osType string, osDist string, diskFormat string, ...) (*ImageImportTask, error)
- func (self *SRegion) ImportKeypair(name string, pubKey string) (*SKeypair, error)
- func (self *SRegion) IsBucketExist(bucketName string) (bool, error)
- func (self *SRegion) IsEmulated() bool
- func (r *SRegion) ListAccounts() ([]SAccount, error)
- func (self *SRegion) ListAvailableManagedRuleGroups(scope string) ([]SWafRuleGroup, error)
- func (self *SRegion) ListIPSets(scope string) ([]SWafIPSet, error)
- func (r *SRegion) ListParents(childId string) error
- func (r *SRegion) ListPolicies(filter string) ([]SOrgPolicy, error)
- func (r *SRegion) ListPoliciesForTarget(filter string, targetId string) ([]SOrgPolicy, error)
- func (self *SRegion) ListRdsResourceTags(arn string) (map[string]string, error)
- func (self *SRegion) ListRegexSets(scope string) ([]SWafRegexSet, error)
- func (self *SRegion) ListResourcesForWebACL(resType, arn string) ([]string, error)
- func (self *SRegion) ListRuleGroups(scope string) ([]SWafRuleGroup, error)
- func (self *SRegion) ListWebACLs(scope string) ([]SWebAcl, error)
- func (self *SRegion) LookupEvents(start, end time.Time, withReadEvent bool) ([]SEvent, error)
- func (self *SRegion) RebootDBInstance(id string) error
- func (self *SRegion) Refresh() error
- func (self *SRegion) RemoveElbBackend(backendgroupId, serverId string, weight int, port int) error
- func (self *SRegion) RemoveElbBackends(backendgroupId string) error
- func (self *SRegion) RemoveRdsTagsFromResource(arn string, tags map[string]string) error
- func (self *SRegion) RemoveRoute(routeTableId string, DestinationCIDRBlock string) error
- func (self *SRegion) ReplaceRoute(routeTableId string, DestinationCIDRBlock string, targetId string) error
- func (self *SRegion) ReplaceSystemDisk(ctx context.Context, instanceId string, image *SImage, sysDiskSizeGB int, ...) (string, error)
- func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
- func (self *SRegion) StartVM(instanceId string) error
- func (self *SRegion) StopVM(instanceId string, isForce bool) error
- func (self *SRegion) SyncELbBackendGroup(backendgroupId string, group *cloudprovider.SLoadbalancerBackendGroup) error
- func (self *SRegion) SyncElbBackend(backendId, serverId string, oldPort, newPort int) error
- func (self *SRegion) SyncElbListener(listener *SElbListener, config *cloudprovider.SLoadbalancerListener) error
- func (self *SRegion) TagResources(arns []string, tags map[string]string) error
- func (self *SRegion) TestStorageAvailable(zoneId, storageType string) (bool, error)
- func (self *SRegion) UntagResources(arns []string, tagKeys []string) error
- func (self *SRegion) UpdateEipBandwidth(eipId string, bw int) error
- func (self *SRegion) UpdateResourceTags(arn string, oldTags, tags map[string]string, replace bool) error
- func (self *SRegion) UpdateRulesPriority(rules []cloudprovider.ICloudLoadbalancerListenerRule) error
- func (self *SRegion) UpdateVM(instanceId string, hostname string) error
- type SReservedHostOffering
- type SRole
- func (self *SRole) AttachPolicy(id string) error
- func (self *SRole) Delete() error
- func (self *SRole) DetachPolicy(id 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 SRoute
- func (self *SRoute) GetCidr() string
- func (self *SRoute) GetGlobalId() string
- func (self *SRoute) GetId() string
- func (self *SRoute) GetName() string
- func (self *SRoute) GetNextHop() string
- func (self *SRoute) GetNextHopType() string
- func (self *SRoute) GetStatus() string
- func (self *SRoute) GetType() string
- func (self *SRoute) IsEmulated() bool
- func (self *SRoute) Refresh() error
- 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 (self *SRouteTable) Refresh() error
- func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
- type SSecurityGroup
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetProjectId() string
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) IsEmulated() bool
- func (self *SSecurityGroup) Refresh() error
- func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
- type SSecurityGroupIds
- type 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 SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(idStr string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsEmulated() bool
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStoragecache
- func (self *SStoragecache) CreateIImage(snapshotId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, ...) (string, error)
- type SSubnet
- type SSubnetAvailabilityZone
- type STrafficPolicy
- type SUser
- func (user *SUser) AttachCustomPolicy(policyArn string) error
- func (user *SUser) AttachSystemPolicy(policyArn string) error
- func (user *SUser) Delete() error
- func (user *SUser) DetachCustomPolicy(policyArn string) error
- func (user *SUser) DetachSystemPolicy(policyArn string) error
- func (user *SUser) GetEmailAddr() string
- func (user *SUser) GetGlobalId() string
- func (user *SUser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SUser) GetInviteUrl() string
- func (user *SUser) GetName() string
- func (user *SUser) IsConsoleLogin() bool
- func (user *SUser) ListGroups() ([]SGroup, error)
- func (self *SUser) ListPolicies() ([]SAttachedPolicy, error)
- func (user *SUser) ResetPassword(password string) error
- type SUserCIDRs
- type SUserPolicies
- type SUsers
- type SVisibilityConfig
- type SVpc
- func (self *SVpc) AcceptICloudVpcPeeringConnection(id string) error
- func (self *SVpc) AddDefaultInternetGatewayRoute(igwId string) error
- func (self *SVpc) AttachInternetGateway(igwId string) error
- func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) Delete() error
- func (self *SVpc) DeleteInternetGateway(igwId string) error
- func (self *SVpc) DeleteInternetGateways() error
- func (self *SVpc) DetachInternetGateway(igwId string) error
- func (self *SVpc) DetachInternetGateways() error
- func (self *SVpc) GetAuthorityOwnerId() string
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetExternalAccessMode() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetMainRouteTable() (*SRouteTable, error)
- func (self *SVpc) GetName() string
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetStatus() string
- func (self *SVpc) IsEmulated() bool
- func (self *SVpc) IsSupportSetExternalAccess() bool
- func (self *SVpc) Refresh() error
- type SVpcAttributes
- type SVpcPeeringConnection
- func (self *SVpcPeeringConnection) Delete() error
- func (self *SVpcPeeringConnection) GetEnabled() bool
- func (self *SVpcPeeringConnection) GetGlobalId() string
- func (self *SVpcPeeringConnection) GetId() string
- func (self *SVpcPeeringConnection) GetName() string
- func (self *SVpcPeeringConnection) GetPeerAccountId() string
- func (self *SVpcPeeringConnection) GetPeerVpcId() string
- func (self *SVpcPeeringConnection) GetStatus() string
- func (self *SVpcPeeringConnection) Refresh() error
- type SVpcSecurityGroupMembership
- type SVpcSecurityGroups
- type SWafIPSet
- type SWafRegexSet
- func (self *SWafRegexSet) Delete() error
- func (self *SWafRegexSet) GetDesc() string
- func (self *SWafRegexSet) GetGlobalId() string
- func (self *SWafRegexSet) GetName() string
- func (self *SWafRegexSet) GetRegexPatterns() cloudprovider.WafRegexPatterns
- func (self *SWafRegexSet) GetType() cloudprovider.TWafType
- type SWafRule
- type SWafRuleGroup
- type SWebAcl
- func (self *SWebAcl) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
- func (self *SWebAcl) Delete() error
- func (self *SWebAcl) GetCloudResources() ([]cloudprovider.SCloudResource, error)
- func (self *SWebAcl) GetDefaultAction() *cloudprovider.DefaultAction
- func (self *SWebAcl) GetEnabled() bool
- func (self *SWebAcl) GetGlobalId() string
- func (self *SWebAcl) GetId() string
- func (self *SWebAcl) GetName() string
- func (self *SWebAcl) GetRules() ([]cloudprovider.ICloudWafRule, error)
- func (self *SWebAcl) GetStatus() string
- func (self *SWebAcl) GetWafType() cloudprovider.TWafType
- func (self *SWebAcl) Refresh() error
- 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 SdnsRecordSet
- func (self *SdnsRecordSet) GetDnsName() string
- func (self *SdnsRecordSet) GetDnsType() cloudprovider.TDnsType
- func (self *SdnsRecordSet) GetDnsValue() string
- func (self *SdnsRecordSet) GetEnabled() bool
- func (self *SdnsRecordSet) GetGlobalId() string
- func (self *SdnsRecordSet) GetMxPriority() int64
- func (self *SdnsRecordSet) GetPolicyOptions() *jsonutils.JSONDict
- func (self *SdnsRecordSet) GetPolicyType() cloudprovider.TDnsPolicyType
- func (self *SdnsRecordSet) GetPolicyValue() cloudprovider.TDnsPolicyValue
- func (self *SdnsRecordSet) GetStatus() string
- func (self *SdnsRecordSet) GetTTL() int64
- type SnapshotStatusType
- type State
- type TImageOwnerType
- type TagSpec
- func (self *TagSpec) GetDescTag() string
- func (self *TagSpec) GetNameTag() string
- func (self *TagSpec) GetTag(k string) (string, error)
- func (self *TagSpec) GetTagSpecifications() (*ec2.TagSpecification, error)
- func (self *TagSpec) GetTagWithDefault(k, Default string) string
- func (self *TagSpec) GetTags() (map[string]string, error)
- func (self *TagSpec) LoadingEc2Tags(tags []*ec2.Tag)
- func (self *TagSpec) SetDescTag(v string)
- func (self *TagSpec) SetNameTag(v string)
- func (self *TagSpec) SetTag(k, v string)
- type Target
- type TargetHealth
- type Term
- type TermAttributes
- type Terms
Constants ¶
const ( CLOUD_PROVIDER_AWS = api.CLOUD_PROVIDER_AWS CLOUD_PROVIDER_AWS_CN = "AWS" CLOUD_PROVIDER_AWS_EN = "AWS" AWS_INTERNATIONAL_CLOUDENV = "InternationalCloud" AWS_CHINA_CLOUDENV = "ChinaCloud" AWS_INTERNATIONAL_DEFAULT_REGION = "us-west-1" AWS_CHINA_DEFAULT_REGION = "cn-north-1" AWS_API_VERSION = "2018-10-10" AWS_GLOBAL_ARN_PREFIX = "arn:aws:iam::aws:policy/" AWS_CHINA_ARN_PREFIX = "arn:aws-cn:iam::aws:policy/" DEFAULT_S3_REGION_ID = "us-east-1" DefaultAssumeRoleName = "OrganizationAccountAccessRole" )
const ( EIP_STATUS_INUSE = "InUse" EIP_STATUS_AVAILABLE = "Available" )
const ( ImageStatusCreating ImageStatusType = "pending" ImageStatusAvailable ImageStatusType = "available" ImageStatusCreateFailed ImageStatusType = "failed" ImageImportStatusCompleted = "completed" ImageImportStatusUncompleted = "uncompleted" ImageImportStatusError = "error" ImageImportStatusDeleted = "deleted" )
const ( ImageOwnerTypeSystem = TImageOwnerType("system") ImageOwnerTypeSelf = TImageOwnerType("self") ImageOwnerTypeOther = TImageOwnerType("other") )
const ( InstanceStatusPending = "pending" InstanceStatusRunning = "running" InstanceStatusShutting = "shutting-down" InstanceStatusTerminated = "terminated" InstanceStatusStopping = "stopping" InstanceStatusStopped = "stopped" )
const ( SERVICE_CONTROL_POLICY = "SERVICE_CONTROL_POLICY" TAG_POLICY = "TAG_POLICY" BACKUP_POLICY = "BACKUP_POLICY" AISERVICES_OPT_OUT_POLICY = "AISERVICES_OPT_OUT_POLICY" )
const ( RDS_SERVICE_NAME = "rds" RDS_SERVICE_ID = "RDS" EC2_SERVICE_NAME = "ec2" EC2_SERVICE_ID = "EC2" IAM_SERVICE_NAME = "iam" IAM_SERVICE_ID = "IAM" STS_SERVICE_NAME = "sts" STS_SERVICE_ID = "STS" CLOUDWATCH_SERVICE_NAME = "monitoring" CLOUDWATCH_SERVICE_ID = "CloudWatch" CLOUD_TRAIL_SERVICE_NAME = "CloudTrail" CLOUD_TRAIL_SERVICE_ID = "cloudtrail" ROUTE53_SERVICE_NAME = "route53" ELASTICACHE_SERVICE_NAME = "elasticache" )
const ( SCOPE_REGIONAL = "REGIONAL" SCOPE_CLOUDFRONT = "CLOUDFRONT" )
Variables ¶
var ( ImageOwnerAll = []TImageOwnerType(nil) ImageOwnerSelf = []TImageOwnerType{ImageOwnerTypeSelf} ImageOwnerSystem = []TImageOwnerType{ImageOwnerTypeSystem} ImageOwnerSelfSystem = []TImageOwnerType{ImageOwnerTypeSystem, ImageOwnerTypeSelf} )
var ( SUSE_SLES = regexp.MustCompile(`suse-sles-\d+-v?\d+-`) SUSE_SLES_SP = regexp.MustCompile(`suse-sles-\d+-sp\d+-v?\d+-`) SUSE_SLES_RIGHTLINK = regexp.MustCompile(`suse-sles-\d+-rightscale-v?\d+-`) SUSE_SLES_RIGHTLINK_SP = regexp.MustCompile(`suse-sles-\d+-sp\d+-rightscale-v?\d+-`) SUSE_SLES_SAPCAL = regexp.MustCompile(`suse-sles-\d+-sapcal-v?\d+-`) SUSE_SLES_SAPCAL_SP = regexp.MustCompile(`suse-sles-\d+-sp\d+-sapcal-v?\d+-`) SUSE_SLES_BYOS = regexp.MustCompile(`suse-sles-\d+-byos-v?\d+-`) SUSE_SLES_BYOS_SP = regexp.MustCompile(`suse-sles-\d+-sp\d+-byos-v?\d+-`) SUSE_SLES_SAP = regexp.MustCompile(`suse-sles-sap-\d+-v\d+-`) SUSE_SLES_SAP_SP = regexp.MustCompile(`suse-sles-sap-\d+-sp\d+-v\d+-`) SUSE_SLES_SAP_BYOS = regexp.MustCompile(`suse-sles-sap-\d+-byos-v?\d+-`) SUSE_SLES_SAP_BYOS_SP = regexp.MustCompile(`suse-sles-sap-\d+-sp\d+-byos-v?\d+-`) SUSE_CAASP_CLUSTER_BYOS = regexp.MustCompile(`suse-caasp-\d+-\d+-cluster-byos-v?\d+-`) SUSE_CAASP_ADMIN_BYOS = regexp.MustCompile(`suse-caasp-\d+-\d+-admin-byos-v?\d+-`) SUSE_MANAGER_SERVER_BYOS = regexp.MustCompile(`suse-manager-\d+-\d+-server-byos-v?\d+-`) SUSE_MANAGER_PROXY_BYOS = regexp.MustCompile(`suse-manager-\d+-\d+-proxy-byos-v?\d+-`) )
var DBInstanceSpecs = map[string]SDBInstanceSpec{}/* 140 elements not displayed */
var (
DEBUG = false
)
var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{ "us-east-1": api.RegionNothVirginia, "us-east-2": api.RegionOhio, "us-west-1": api.RegionNorthCalifornia, "us-west-2": api.RegionOregon, "ap-south-1": api.RegionMumbai, "ap-northeast-3": api.RegionOsaka, "ap-northeast-2": api.RegionSeoul, "ap-southeast-1": api.RegionSingapore, "ap-southeast-2": api.RegionSydney, "ap-northeast-1": api.RegionTokyo, "ap-east-1": api.RegionHongkong, "ca-central-1": api.RegionCanadaCentral, "cn-north-1": api.RegionBeijing, "cn-northwest-1": api.RegionNingxia, "eu-central-1": api.RegionFrankfurt, "eu-west-1": api.RegionIreland, "eu-west-2": api.RegionLondon, "eu-west-3": api.RegionParis, "eu-north-1": api.RegionStockholm, "sa-east-1": api.RegionSaoPaulo, "us-gov-west-1": api.RegionUSGOVWest, "af-south-1": api.RegionCapeTown, "me-south-1": api.RegionBahrain, }
var RegionLocations = map[string]string{
"us-east-2": "美国东部(俄亥俄州)",
"us-east-1": "美国东部(弗吉尼亚北部)",
"us-west-1": "美国西部(加利福尼亚北部)",
"us-west-2": "美国西部(俄勒冈)",
"ap-east-1": "亚太区域(香港)",
"ap-south-1": "亚太区域(孟买)",
"ap-northeast-3": "亚太区域(大阪-本地)",
"ap-northeast-2": "亚太区域(首尔)",
"ap-southeast-1": "亚太区域(新加坡)",
"ap-southeast-2": "亚太区域(悉尼)",
"ap-northeast-1": "亚太区域(东京)",
"ca-central-1": "加拿大(中部)",
"cn-north-1": "中国(北京)",
"cn-northwest-1": "中国(宁夏)",
"eu-central-1": "欧洲(法兰克福)",
"eu-west-1": "欧洲(爱尔兰)",
"eu-west-2": "欧洲(伦敦)",
"eu-south-1": "欧洲(米兰)",
"eu-west-3": "欧洲(巴黎)",
"eu-north-1": "欧洲(斯德哥尔摩)",
"me-south-1": "中东(巴林)",
"sa-east-1": "南美洲(圣保罗)",
"us-gov-west-1": "AWS GovCloud(美国西部)",
"us-gov-east-1": "AWS GovCloud(美国东部)",
"af-south-1": "非洲(开普敦)",
}
var RegionLocationsEN = map[string]string{
"us-east-1": "US East (N. Virginia)",
"us-east-2": "US East (Ohio)",
"us-west-1": "US West (N. California)",
"us-west-2": "US West (Oregon)",
"af-south-1": "Africa (Cape Town)",
"ap-east-1": "Asia Pacific (Hong Kong)",
"ap-south-1": "Asia Pacific (Mumbai)",
"ap-northeast-3": "Asia Pacific (Osaka)",
"ap-northeast-2": "Asia Pacific (Seoul)",
"ap-southeast-1": "Asia Pacific (Singapore)",
"ap-southeast-2": "Asia Pacific (Sydney)",
"ap-northeast-1": "Asia Pacific (Tokyo)",
"ca-central-1": "Canada (Central)",
"eu-central-1": "Europe (Frankfurt)",
"eu-west-1": "Europe (Ireland)",
"eu-west-2": "Europe (London)",
"eu-south-1": "Europe (Milan)",
"eu-west-3": "Europe (Paris)",
"eu-north-1": "Europe (Stockholm)",
"me-south-1": "Middle East (Bahrain)",
"sa-east-1": "South America (São Paulo)",
"cn-north-1": "China (Beijing)",
"cn-northwest-1": "China (Ninxia)",
"us-gov-west-1": "AWS GovCloud(US West)",
"us-gov-east-1": "AWS GovCloud(US East)",
}
var StorageTypes = []string{ api.STORAGE_GP2_SSD, api.STORAGE_GP3_SSD, api.STORAGE_IO1_SSD, api.STORAGE_IO2_SSD, api.STORAGE_ST1_HDD, api.STORAGE_SC1_HDD, api.STORAGE_STANDARD_HDD, }
var UnmarshalErrorHandler = request.NamedHandler{Name: "awssdk.ec2query.UnmarshalError", Fn: UnmarshalError}
var UnmarshalHandler = request.NamedHandler{Name: "yunion.query.Unmarshal", Fn: Unmarshal}
var ( WAF_SCOPES = []string{ SCOPE_REGIONAL, SCOPE_CLOUDFRONT, } )
Functions ¶
func AppendFilter ¶
func AppendSingleValueFilter ¶
func AwsApiInt64ToOutput ¶
func AwsIpPermissionToYunion ¶
func AwsIpPermissionToYunion(direction secrules.TSecurityRuleDirection, p ec2.IpPermission) ([]cloudprovider.SecurityRule, error)
Security Rule Transform
func ConvertedList ¶
func ConvertedPointList ¶
func GenDiskIops ¶
io1类型的卷需要指定IOPS参数,最大不超过32000。这里根据aws网站的建议值进行设置 io2类型的卷需要指定IOPS参数,最大不超过64000。 GenDiskIops Base 100, 卷每增加2G。IOPS增加1。最多到3000 iops
func GetBucketName ¶
func GetDefaultRegionId ¶
func Getroute53ResourceRecordSet ¶
func Getroute53ResourceRecordSet(client *SAwsClient, opts *cloudprovider.DnsRecordSet) (*route53.ResourceRecordSet, error)
func InputToAwsApiInt64 ¶
func NextDeviceName ¶
func SecurityRuleSetToAllowSet ¶
func SecurityRuleSetToAllowSet(srs secrules.SecurityRuleSet) secrules.SecurityRuleSet
SecurityRuleSet to allow list 将安全组规则全部转换为等价的allow规则
func ToAwsHealthCode ¶
func ToOnecloudHealthCode ¶
func UnmarshalError ¶
func YunionSecRuleToAws ¶
func YunionSecRuleToAws(rule cloudprovider.SecurityRule) ([]*ec2.IpPermission, error)
YunionSecRuleToAws 不能保证无损转换 规则描述如果包含中文等字符,将被丢弃掉
Types ¶
type AssociatedVPC ¶
type Association ¶
type Attributes ¶
type Attributes struct { EnhancedNetworkingSupported string `json:"enhancedNetworkingSupported"` IntelTurboAvailable string `json:"intelTurboAvailable"` Memory string `json:"memory"` DedicatedEbsThroughput string `json:"dedicatedEbsThroughput"` Vcpu int `json:"vcpu"` Gpu int `json:"gpu"` Capacitystatus string `json:"capacitystatus"` LocationType string `json:"locationType"` Storage string `json:"storage"` InstanceFamily string `json:"instanceFamily"` OperatingSystem string `json:"operatingSystem"` IntelAvx2Available string `json:"intelAvx2Available"` PhysicalProcessor string `json:"physicalProcessor"` ClockSpeed string `json:"clockSpeed"` Ecu string `json:"ecu"` NetworkPerformance string `json:"networkPerformance"` Servicename string `json:"servicename"` InstanceType string `json:"instanceType"` InstanceSku string `json:"instancesku"` Tenancy string `json:"tenancy"` Usagetype string `json:"usagetype"` NormalizationSizeFactor string `json:"normalizationSizeFactor"` IntelAvxAvailable string `json:"intelAvxAvailable"` ProcessorFeatures string `json:"processorFeatures"` Servicecode string `json:"servicecode"` LicenseModel string `json:"licenseModel"` CurrentGeneration string `json:"currentGeneration"` PreInstalledSw string `json:"preInstalledSw"` Location string `json:"location"` ProcessorArchitecture string `json:"processorArchitecture"` Operation string `json:"operation"` VolumeApiName string `json:"volumeApiName"` }
type AvailabilityZone ¶
type AvailabilityZone struct { LoadBalancerAddresses []LoadBalancerAddress `json:"LoadBalancerAddresses"` ZoneName string `json:"ZoneName"` SubnetID string `json:"SubnetId"` }
type AwsClientConfig ¶
type AwsClientConfig struct {
// contains filtered or unexported fields
}
func NewAwsClientConfig ¶
func NewAwsClientConfig(accessUrl, accessKey, accessSecret, accountId string) *AwsClientConfig
func (*AwsClientConfig) CloudproviderConfig ¶
func (cfg *AwsClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *AwsClientConfig
func (*AwsClientConfig) Debug ¶
func (cfg *AwsClientConfig) Debug(debug bool) *AwsClientConfig
func (*AwsClientConfig) SetAssumeRole ¶
func (cfg *AwsClientConfig) SetAssumeRole(roleName string) *AwsClientConfig
type Certificate ¶
type Certificate struct {
CertificateArn string `json:"CertificateArn"`
}
type Condition ¶
type Condition struct { Field string `json:"field"` HTTPRequestMethodConfig *Config `json:"httpRequestMethodConfig,omitempty"` Values []string `json:"values"` SourceIPConfig *Config `json:"sourceIpConfig,omitempty"` QueryStringConfig *QueryStringConfig `json:"queryStringConfig,omitempty"` HTTPHeaderConfig *HTTPHeaderConfig `json:"httpHeaderConfig,omitempty"` PathPatternConfig *Config `json:"pathPatternConfig,omitempty"` HostHeaderConfig *Config `json:"hostHeaderConfig,omitempty"` }
type Datapoint ¶
type Datapoint struct { Average float64 `xml:"Average"` ExtendedStatistics struct { Key string `xml:"Key"` Value string `xml:"Value"` } `xml:"ExtendedStatistics>entry"` Maximum float64 `xml:"Maximum"` Minimum float64 `xml:"Minimum"` SampleCount float64 `xml:"SampleCount"` Sum float64 `xml:"Sum"` Timestamp time.Time `xml:"Timestamp"` Unit string `xml:"Unit"` }
type Datapoints ¶
type DefaultAction ¶
type HTTPHeaderConfig ¶
type HostedZoneConfig ¶
type ImageExportTask ¶
type ImageImportTask ¶
type ImageImportTask struct { multicloud.SResourceBase ImageId string RegionId string TaskId string Status string // contains filtered or unexported fields }
func (*ImageImportTask) GetGlobalId ¶
func (self *ImageImportTask) GetGlobalId() string
func (*ImageImportTask) GetId ¶
func (self *ImageImportTask) GetId() string
func (*ImageImportTask) GetName ¶
func (self *ImageImportTask) GetName() string
func (*ImageImportTask) GetStatus ¶
func (self *ImageImportTask) GetStatus() string
func (*ImageImportTask) IsEmulated ¶
func (self *ImageImportTask) IsEmulated() bool
func (*ImageImportTask) Refresh ¶
func (self *ImageImportTask) Refresh() error
type ImageStatusType ¶
type ImageStatusType string
type InstanceChargeType ¶
type InstanceChargeType string
type LoadBalancerAddress ¶
type LoginProfile ¶
type NatGatewayAddress ¶
type PricePerUnit ¶
type Product ¶
type Product struct { ProductFamily string `json:"productFamily"` Attributes Attributes `json:"attributes"` Sku string `json:"sku"` }
type ProvisionedBandwidth ¶
type QueryStringConfig ¶
type QueryStringConfig struct {
Values []Query `json:"values"`
}
type RegularExpression ¶
type RegularExpression struct {
RegexString string
}
type RootDevice ¶
type SAMLProvider ¶
type SAMLProvider struct { multicloud.SResourceBase multicloud.AwsTags SAMLMetadataDocument string `xml:"SAMLMetadataDocument"` Arn string `xml:"Arn"` ValidUntil time.Time `xml:"ValidUntil"` CreateDate time.Time `xml:"CreateDate"` // contains filtered or unexported fields }
func (*SAMLProvider) Delete ¶
func (self *SAMLProvider) Delete() error
func (*SAMLProvider) GetAuthUrl ¶
func (self *SAMLProvider) GetAuthUrl() 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 SAMLProviders ¶
type SAMLProviders struct {
SAMLProviderList []SAMLProvider `xml:"SAMLProviderList>member"`
}
type SAWSImagePublisherInfo ¶
type SAccount ¶
type SAccount struct { ID string `json:"id"` Name string `json:"name"` Arn string `json:"arn"` Email string `json:"email"` Status string `json:"status"` JoinedMethod string `json:"joined_method"` JoinedTimestamp time.Time `json:"joined_timestamp"` IsMaster bool `json:"is_master"` }
* {"arn":"arn:aws:organizations::285906155448:account/o-vgh74bqhdw/285906155448","email":"swordqiu@gmail.com","id":"285906155448","joined_method":"INVITED","joined_timestamp":"2021-02-09T03:55:27.724000Z","name":"qiu jian","status":"ACTIVE"}
type SAccountBalance ¶
type SAliasTarget ¶
type SAttachedPolicies ¶
type SAttachedPolicies struct { IsTruncated bool `xml:"IsTruncated"` Marker string `xml:"Marker"` AttachedPolicies []SAttachedPolicy `xml:"AttachedPolicies>member"` }
type SAttachedPolicy ¶
type SAttachedPolicy struct { PolicyName string `xml:"PolicyName"` PolicyArn string `xml:"PolicyArn"` // contains filtered or unexported fields }
func (*SAttachedPolicy) Delete ¶
func (self *SAttachedPolicy) Delete() error
func (*SAttachedPolicy) GetDescription ¶
func (self *SAttachedPolicy) GetDescription() string
func (*SAttachedPolicy) GetDocument ¶
func (self *SAttachedPolicy) GetDocument() (*jsonutils.JSONDict, error)
func (*SAttachedPolicy) GetGlobalId ¶
func (self *SAttachedPolicy) GetGlobalId() string
func (*SAttachedPolicy) GetName ¶
func (self *SAttachedPolicy) GetName() string
func (*SAttachedPolicy) UpdateDocument ¶
func (self *SAttachedPolicy) UpdateDocument(document *jsonutils.JSONDict) error
type SAttachment ¶
type SAwsClient ¶
type SAwsClient struct { *AwsClientConfig // contains filtered or unexported fields }
func NewAwsClient ¶
func NewAwsClient(cfg *AwsClientConfig) (*SAwsClient, error)
func (*SAwsClient) AddDnsRecordSet ¶
func (client *SAwsClient) AddDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
func (*SAwsClient) AddUserToGroup ¶
func (self *SAwsClient) AddUserToGroup(groupName, userName string) error
func (*SAwsClient) AssociateVPCWithHostedZone ¶
func (client *SAwsClient) AssociateVPCWithHostedZone(vpcId string, regionId string, hostedZoneId string) error
func (*SAwsClient) AttachGroupPolicy ¶
func (self *SAwsClient) AttachGroupPolicy(groupName, policyArn string) error
func (*SAwsClient) AttachRolePolicy ¶
func (self *SAwsClient) AttachRolePolicy(roleName, policyArn string) error
func (*SAwsClient) AttachUserPolicy ¶
func (self *SAwsClient) AttachUserPolicy(userName string, policyArn string) error
func (*SAwsClient) ChangeResourceRecordSets ¶
func (client *SAwsClient) ChangeResourceRecordSets(action string, hostedZoneId string, resourceRecordSets ...*route53.ResourceRecordSet) error
CREATE, DELETE, UPSERT
func (*SAwsClient) CreateGroup ¶
func (self *SAwsClient) CreateGroup(name string, path string) (*SGroup, error)
func (*SAwsClient) CreateHostedZone ¶
func (client *SAwsClient) CreateHostedZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SHostedZone, error)
func (*SAwsClient) CreateICloudDnsZone ¶
func (client *SAwsClient) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
func (*SAwsClient) CreateICloudgroup ¶
func (self *SAwsClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SAwsClient) CreateICloudpolicy ¶
func (self *SAwsClient) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SAwsClient) CreateIClouduser ¶
func (self *SAwsClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SAwsClient) CreateLoginProfile ¶
func (self *SAwsClient) CreateLoginProfile(name, password string) (*SLoginProfile, error)
func (*SAwsClient) CreatePolicy ¶
func (self *SAwsClient) CreatePolicy(name, document, path, desc string) (*SPolicy, error)
func (*SAwsClient) CreatePolicyVersion ¶
func (self *SAwsClient) CreatePolicyVersion(arn, document string, isDefault bool) error
func (*SAwsClient) CreateRole ¶
func (self *SAwsClient) CreateRole(opts *cloudprovider.SRoleCreateOptions) (*SRole, error)
func (*SAwsClient) CreateSAMLProvider ¶
func (self *SAwsClient) CreateSAMLProvider(name, metadata string) (*SAMLProvider, error)
func (*SAwsClient) CreateUser ¶
func (self *SAwsClient) CreateUser(path string, username string) (*SUser, error)
func (*SAwsClient) DeleteGroup ¶
func (self *SAwsClient) DeleteGroup(name string) error
func (*SAwsClient) DeleteHostedZone ¶
func (client *SAwsClient) DeleteHostedZone(Id string) error
func (*SAwsClient) DeleteLoginProfile ¶
func (self *SAwsClient) DeleteLoginProfile(name string) error
func (*SAwsClient) DeletePolicy ¶
func (self *SAwsClient) DeletePolicy(arn string) error
func (*SAwsClient) DeleteRole ¶
func (self *SAwsClient) DeleteRole(name string) error
func (*SAwsClient) DeleteSAMLProvider ¶
func (self *SAwsClient) DeleteSAMLProvider(arn string) error
func (*SAwsClient) DeleteUser ¶
func (self *SAwsClient) DeleteUser(name string) error
func (*SAwsClient) DetachGroupPolicy ¶
func (self *SAwsClient) DetachGroupPolicy(groupName, policyArn string) error
func (*SAwsClient) DetachRolePolicy ¶
func (self *SAwsClient) DetachRolePolicy(roleName string, policyArn string) error
func (*SAwsClient) DetachUserPolicy ¶
func (self *SAwsClient) DetachUserPolicy(userName string, policyArn string) error
func (*SAwsClient) DisassociateVPCFromHostedZone ¶
func (client *SAwsClient) DisassociateVPCFromHostedZone(vpcId string, regionId string, hostedZoneId string) error
func (*SAwsClient) GetAccessEnv ¶
func (self *SAwsClient) GetAccessEnv() string
func (*SAwsClient) GetAccountId ¶
func (client *SAwsClient) GetAccountId() string
func (*SAwsClient) GetBucketCannedAcls ¶
func (client *SAwsClient) GetBucketCannedAcls() []string
func (*SAwsClient) GetCallerIdentity ¶
func (self *SAwsClient) GetCallerIdentity() (*SCallerIdentity, error)
func (*SAwsClient) GetCapabilities ¶
func (self *SAwsClient) GetCapabilities() []string
func (*SAwsClient) GetCustomPolicyMaps ¶
func (self *SAwsClient) GetCustomPolicyMaps() (map[string]string, error)
func (*SAwsClient) GetDocument ¶
func (self *SAwsClient) GetDocument(arn, versionId string) (*jsonutils.JSONDict, error)
func (*SAwsClient) GetEcsMetrics ¶
func (self *SAwsClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAwsClient) GetGroup ¶
func (self *SAwsClient) GetGroup(name string, offset string, limit int) (*SGroupDetails, error)
func (*SAwsClient) GetHostedZoneById ¶
func (client *SAwsClient) GetHostedZoneById(ID string) (*SHostedZone, error)
func (*SAwsClient) GetHostedZoneVpcs ¶
func (client *SAwsClient) GetHostedZoneVpcs(hostedzoneId string) ([]AssociatedVPC, error)
func (*SAwsClient) GetHostedZones ¶
func (client *SAwsClient) GetHostedZones() ([]SHostedZone, error)
func (*SAwsClient) GetICloudDnsZones ¶
func (client *SAwsClient) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
func (*SAwsClient) GetICloudSAMLProviders ¶
func (self *SAwsClient) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SAwsClient) GetICloudgroupByName ¶
func (self *SAwsClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SAwsClient) GetICloudgroups ¶
func (self *SAwsClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SAwsClient) GetICloudroles ¶
func (self *SAwsClient) GetICloudroles() ([]cloudprovider.ICloudrole, error)
func (*SAwsClient) GetIClouduserByName ¶
func (self *SAwsClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SAwsClient) GetICloudusers ¶
func (self *SAwsClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SAwsClient) GetICustomCloudpolicies ¶
func (self *SAwsClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAwsClient) GetIHostById ¶
func (self *SAwsClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SAwsClient) GetIProjects ¶
func (self *SAwsClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SAwsClient) GetIRegionById ¶
func (self *SAwsClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SAwsClient) GetIRegions ¶
func (self *SAwsClient) GetIRegions() []cloudprovider.ICloudRegion
func (*SAwsClient) GetIStorageById ¶
func (self *SAwsClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SAwsClient) GetISystemCloudpolicies ¶
func (self *SAwsClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAwsClient) GetIVpcById ¶
func (self *SAwsClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SAwsClient) GetIamLoginUrl ¶
func (client *SAwsClient) GetIamLoginUrl() string
func (*SAwsClient) GetLoginProfile ¶
func (self *SAwsClient) GetLoginProfile(name string) (*SLoginProfile, error)
func (*SAwsClient) GetMetrics ¶
func (self *SAwsClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAwsClient) GetObjectCannedAcls ¶
func (client *SAwsClient) GetObjectCannedAcls() []string
func (*SAwsClient) GetPolicyVersion ¶
func (self *SAwsClient) GetPolicyVersion(arn, versionId string) (*SPolicyVersion, error)
func (*SAwsClient) GetRdsMetrics ¶
func (self *SAwsClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAwsClient) GetRedisMetrics ¶
func (self *SAwsClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAwsClient) GetRegions ¶
func (self *SAwsClient) GetRegions() ([]SRegion, error)
只是使用fetchRegions初始化好的self.iregions. 本身并不从云服务器厂商拉取region信息
func (*SAwsClient) GetRoute53ResourceRecordSets ¶
func (client *SAwsClient) GetRoute53ResourceRecordSets(HostedZoneId string) ([]*route53.ResourceRecordSet, error)
func (*SAwsClient) GetSAMLProvider ¶
func (self *SAwsClient) GetSAMLProvider(arn string) (*SAMLProvider, error)
func (*SAwsClient) GetSTrafficPolicyById ¶
func (client *SAwsClient) GetSTrafficPolicyById(TrafficPolicyInstanceId string) (*STrafficPolicy, error)
func (*SAwsClient) GetSamlEntityId ¶
func (client *SAwsClient) GetSamlEntityId() string
func (*SAwsClient) GetSdnsRecordSets ¶
func (client *SAwsClient) GetSdnsRecordSets(HostedZoneId string) ([]SdnsRecordSet, error)
func (*SAwsClient) GetSubAccounts ¶
func (self *SAwsClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SAwsClient) ListAttachedGroupPolicies ¶
func (self *SAwsClient) ListAttachedGroupPolicies(name string, marker string, maxItems int) (*SAttachedPolicies, error)
func (*SAwsClient) ListAttachedRolePolicies ¶
func (self *SAwsClient) ListAttachedRolePolicies(roleName string, marker string, maxItems int, pathPrefix string) (*SAttachedPolicies, error)
func (*SAwsClient) ListAttachedUserPolicies ¶
func (self *SAwsClient) ListAttachedUserPolicies(userName string, marker string, maxItems int, pathPrefix string) (*SAttachedPolicies, error)
func (*SAwsClient) ListGeoLocations ¶
func (client *SAwsClient) ListGeoLocations() ([]*route53.GeoLocationDetails, error)
func (*SAwsClient) ListGroupPolicies ¶
func (*SAwsClient) ListGroupUsers ¶
func (self *SAwsClient) ListGroupUsers(groupName string) ([]SUser, error)
func (*SAwsClient) ListGroups ¶
func (*SAwsClient) ListGroupsForUser ¶
func (*SAwsClient) ListPolicies ¶
func (*SAwsClient) ListPolicyVersions ¶
func (self *SAwsClient) ListPolicyVersions(marker string, maxItems int, arn string) (*SPolicyVersions, error)
func (*SAwsClient) ListRolePolicies ¶
func (self *SAwsClient) ListRolePolicies(roleName string, marker string, maxItems int) (*SPolicyNames, error)
func (*SAwsClient) ListSAMLProviders ¶
func (self *SAwsClient) ListSAMLProviders() ([]SAMLProvider, error)
func (*SAwsClient) ListUserPolicies ¶
func (self *SAwsClient) ListUserPolicies(userName string, marker string, maxItems int) (*SUserPolicies, error)
func (*SAwsClient) QueryAccountBalance ¶
func (self *SAwsClient) QueryAccountBalance() (*SAccountBalance, error)
func (*SAwsClient) RemoveDnsRecordSet ¶
func (client *SAwsClient) RemoveDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
func (*SAwsClient) RemoveUserFromGroup ¶
func (self *SAwsClient) RemoveUserFromGroup(groupName, userName string) error
func (*SAwsClient) ResetUserPassword ¶
func (self *SAwsClient) ResetUserPassword(name, password string) error
func (*SAwsClient) UpdateDnsRecordSet ¶
func (client *SAwsClient) UpdateDnsRecordSet(hostedZoneId string, opts *cloudprovider.DnsRecordSet) error
func (*SAwsClient) UpdateLoginProfile ¶
func (self *SAwsClient) UpdateLoginProfile(name, password string) error
func (*SAwsClient) UpdateSAMLProvider ¶
func (self *SAwsClient) UpdateSAMLProvider(arn, metadata string) (*SAMLProvider, error)
type SBucket ¶
type SBucket struct { multicloud.SBaseBucket multicloud.AwsTags Name string CreationDate time.Time Location string // contains filtered or unexported fields }
func (*SBucket) AbortMultipartUpload ¶
func (*SBucket) CompleteMultipartUpload ¶
func (*SBucket) CopyObject ¶
func (*SBucket) DeleteCORS ¶
func (*SBucket) DeleteObject ¶
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) 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) GetProjectId ¶
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) GetWebsiteUrl ¶
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) SetWebsite ¶
func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
type SCallerIdentity ¶
type SDBInstance ¶
type SDBInstance struct { multicloud.SDBInstanceBase multicloud.AwsTags AllocatedStorage int `xml:"AllocatedStorage"` //AssociatedRoles string `xml:"AssociatedRoles"` DBParameterGroups []SDBParameterGroup `xml:"DBParameterGroups>DBParameterGroup"` AvailabilityZone string `xml:"AvailabilityZone"` DBSecurityGroups string `xml:"DBSecurityGroups"` EngineVersion string `xml:"EngineVersion"` MasterUsername string `xml:"MasterUsername"` InstanceCreateTime time.Time `xml:"InstanceCreateTime"` DBInstanceClass string `xml:"DBInstanceClass"` HttpEndpointEnabled bool `xml:"HttpEndpointEnabled"` //ReadReplicaDBInstanceIdentifiers string `xml:"ReadReplicaDBInstanceIdentifiers"` MonitoringInterval int `xml:"MonitoringInterval"` DBInstanceStatus string `xml:"DBInstanceStatus"` BackupRetentionPeriod int `xml:"BackupRetentionPeriod"` OptionGroupMemberships []SOptionGroupMembership `xml:"OptionGroupMemberships>OptionGroupMembership"` CACertificateIdentifier string `xml:"CACertificateIdentifier"` DbInstancePort int `xml:"DbInstancePort"` DbiResourceId string `xml:"DbiResourceId"` PreferredBackupWindow string `xml:"PreferredBackupWindow"` DeletionProtection bool `xml:"DeletionProtection"` DBInstanceIdentifier string `xml:"DBInstanceIdentifier"` DBInstanceArn string `xml:"DBInstanceArn"` Endpoint SEndpoint `xml:"Endpoint"` Engine string `xml:"Engine"` PubliclyAccessible bool `xml:"PubliclyAccessible"` IAMDatabaseAuthenticationEnabled bool `xml:"IAMDatabaseAuthenticationEnabled"` PerformanceInsightsEnabled bool `xml:"PerformanceInsightsEnabled"` DBName string `xml:"DBName"` MultiAZ bool `xml:"MultiAZ"` //DomainMemberships string `xml:"DomainMemberships"` StorageEncrypted bool `xml:"StorageEncrypted"` DBSubnetGroup SDBSubnetGroup `xml:"DBSubnetGroup"` VpcSecurityGroups SVpcSecurityGroups `xml:"VpcSecurityGroups"` LicenseModel string `xml:"LicenseModel"` PreferredMaintenanceWindow string `xml:"PreferredMaintenanceWindow"` StorageType string `xml:"StorageType"` AutoMinorVersionUpgrade bool `xml:"AutoMinorVersionUpgrade"` CopyTagsToSnapshot bool `xml:"CopyTagsToSnapshot"` // contains filtered or unexported fields }
func (*SDBInstance) ChangeConfig ¶
func (rds *SDBInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SDBInstance) ClosePublicConnection ¶
func (rds *SDBInstance) ClosePublicConnection() error
func (*SDBInstance) CreateIBackup ¶
func (rds *SDBInstance) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*SDBInstance) Delete ¶
func (self *SDBInstance) Delete() error
func (*SDBInstance) GetBillingType ¶
func (rds *SDBInstance) GetBillingType() string
func (*SDBInstance) GetCategory ¶
func (self *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) GetEngine ¶
func (rds *SDBInstance) GetEngine() string
func (*SDBInstance) GetEngineVersion ¶
func (rds *SDBInstance) GetEngineVersion() string
func (*SDBInstance) GetExpiredAt ¶
func (rds *SDBInstance) GetExpiredAt() time.Time
func (*SDBInstance) GetGlobalId ¶
func (rds *SDBInstance) GetGlobalId() string
func (*SDBInstance) GetIDBInstanceAccounts ¶
func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SDBInstance) GetIDBInstanceBackups ¶
func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SDBInstance) GetIDBInstanceDatabases ¶
func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SDBInstance) GetIDBInstanceParameters ¶
func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*SDBInstance) GetIVpcId ¶
func (rds *SDBInstance) GetIVpcId() string
func (*SDBInstance) GetId ¶
func (rds *SDBInstance) GetId() string
func (*SDBInstance) GetInstanceType ¶
func (rds *SDBInstance) GetInstanceType() string
func (*SDBInstance) GetInternalConnectionStr ¶
func (rds *SDBInstance) GetInternalConnectionStr() string
func (*SDBInstance) GetMaintainTime ¶
func (rds *SDBInstance) GetMaintainTime() string
func (*SDBInstance) GetName ¶
func (rds *SDBInstance) GetName() string
func (*SDBInstance) GetPort ¶
func (rds *SDBInstance) GetPort() int
func (*SDBInstance) GetStatus ¶
func (rds *SDBInstance) GetStatus() string
func (*SDBInstance) GetStorageType ¶
func (rds *SDBInstance) GetStorageType() string
func (*SDBInstance) GetVcpuCount ¶
func (rds *SDBInstance) GetVcpuCount() int
func (*SDBInstance) GetVmemSizeMB ¶
func (rds *SDBInstance) GetVmemSizeMB() int
func (*SDBInstance) GetZone1Id ¶
func (rds *SDBInstance) GetZone1Id() string
func (*SDBInstance) GetZone2Id ¶
func (rds *SDBInstance) GetZone2Id() string
func (*SDBInstance) GetZone3Id ¶
func (rds *SDBInstance) GetZone3Id() string
func (*SDBInstance) OpenPublicConnection ¶
func (rds *SDBInstance) OpenPublicConnection() error
func (*SDBInstance) Reboot ¶
func (rds *SDBInstance) Reboot() error
func (*SDBInstance) Refresh ¶
func (rds *SDBInstance) Refresh() error
type SDBInstanceAccount ¶
type SDBInstanceAccount struct { multicloud.SDBInstanceAccountBase AccountName string // contains filtered or unexported fields }
func (*SDBInstanceAccount) GetName ¶
func (account *SDBInstanceAccount) GetName() string
type SDBInstanceDatabase ¶
type SDBInstanceDatabase struct { multicloud.SDBInstanceDatabaseBase multicloud.AwsTags DBName string }
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 SDBInstanceParameter ¶
type SDBInstanceParameter struct { AllowedValues string `xml:"AllowedValues"` ApplyType string `xml:"ApplyType"` DataType string `xml:"DataType"` Description string `xml:"Description"` ApplyMethod string `xml:"ApplyMethod"` ParameterName string `xml:"ParameterName"` Source string `xml:"Source"` IsModifiable bool `xml:"IsModifiable"` ParameterValue string `xml:"ParameterValue"` // 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 SDBInstanceParameters ¶
type SDBInstanceParameters struct {
Parameters []SDBInstanceParameter `xml:"Parameters>Parameter"`
}
type SDBInstanceSnapshot ¶
type SDBInstanceSnapshot struct { multicloud.SDBInstanceBackupBase multicloud.AwsTags AllocatedStorage int `xml:"AllocatedStorage"` AvailabilityZone string `xml:"AvailabilityZone"` DbiResourceId string `xml:"DbiResourceId"` DBInstanceIdentifier string `xml:"DBInstanceIdentifier"` Engine string `xml:"Engine"` VpcId string `xml:"VpcId"` PercentProgress int `xml:"PercentProgress"` IAMDatabaseAuthenticationEnabled bool `xml:"IAMDatabaseAuthenticationEnabled"` DBSnapshotIdentifier string `xml:"DBSnapshotIdentifier"` OptionGroupName string `xml:"OptionGroupName"` EngineVersion string `xml:"EngineVersion"` MasterUsername string `xml:"MasterUsername"` SnapshotType string `xml:"SnapshotType"` InstanceCreateTime time.Time `xml:"InstanceCreateTime"` DBSnapshotArn string `xml:"DBSnapshotArn"` Encrypted bool `xml:"Encrypted"` Port int `xml:"Port"` LicenseModel string `xml:"LicenseModel"` SnapshotCreateTime time.Time `xml:"SnapshotCreateTime"` StorageType string `xml:"StorageType"` Status string `xml:"Status"` // contains filtered or unexported fields }
func (*SDBInstanceSnapshot) Delete ¶
func (self *SDBInstanceSnapshot) Delete() error
func (*SDBInstanceSnapshot) GetBackupMode ¶
func (snapshot *SDBInstanceSnapshot) GetBackupMode() string
func (*SDBInstanceSnapshot) GetBackupSizeMb ¶
func (snapshot *SDBInstanceSnapshot) GetBackupSizeMb() int
func (*SDBInstanceSnapshot) GetDBInstanceId ¶
func (snapshot *SDBInstanceSnapshot) GetDBInstanceId() string
func (*SDBInstanceSnapshot) GetDBNames ¶
func (snapshot *SDBInstanceSnapshot) GetDBNames() string
func (*SDBInstanceSnapshot) GetEndTime ¶
func (snapshot *SDBInstanceSnapshot) GetEndTime() time.Time
func (*SDBInstanceSnapshot) GetEngine ¶
func (snapshot *SDBInstanceSnapshot) GetEngine() string
func (*SDBInstanceSnapshot) GetEngineVersion ¶
func (snapshot *SDBInstanceSnapshot) GetEngineVersion() string
func (*SDBInstanceSnapshot) GetGlobalId ¶
func (snapshot *SDBInstanceSnapshot) GetGlobalId() string
func (*SDBInstanceSnapshot) GetId ¶
func (snapshot *SDBInstanceSnapshot) GetId() string
func (*SDBInstanceSnapshot) GetName ¶
func (snapshot *SDBInstanceSnapshot) GetName() string
func (*SDBInstanceSnapshot) GetStartTime ¶
func (snapshot *SDBInstanceSnapshot) GetStartTime() time.Time
func (*SDBInstanceSnapshot) GetStatus ¶
func (snapshot *SDBInstanceSnapshot) GetStatus() string
func (*SDBInstanceSnapshot) Refresh ¶
func (self *SDBInstanceSnapshot) Refresh() error
type SDBInstanceSnapshots ¶
type SDBInstanceSnapshots struct { Snapshots []SDBInstanceSnapshot `xml:"DBSnapshots>DBSnapshot"` Marker string `xml:"Marker"` }
type SDBInstanceSpec ¶
type SDBInstances ¶
type SDBInstances struct { DBInstances []SDBInstance `xml:"DBInstances>DBInstance"` Marker string `xml:"Marker"` }
type SDBParameterGroup ¶
type SDBSubnetGroup ¶
type SDisk ¶
type SDisk struct { multicloud.SDisk multicloud.AwsTags RegionId string ZoneId string // AvailabilityZone DiskId string // VolumeId DiskName string // Tag Name Size int // Size GB Category string // VolumeType Type string // system | data Status string // State AttachmentStatus string // attachment.status Device string // Device InstanceId string // InstanceId Encrypted bool // Encrypted SourceSnapshotId string // SnapshotId Iops int // Iops CreationTime time.Time // CreateTime AttachedTime time.Time // AttachTime DetachedTime time.Time DeleteWithInstance bool // DeleteOnTermination EnableAutoSnapshot bool EnableAutomatedSnapshotPolicy bool /*下面这些字段也许不需要*/ AutoSnapshotPolicyId string DeleteAutoSnapshot bool Description string DiskChargeType InstanceChargeType ExpiredTime time.Time ImageId string MountInstances SMountInstances Portable bool ProductCode string ResourceGroupId string // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name string, 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 ¶
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase multicloud.AwsTags AllocationId string `xml:"allocationId"` AssociationId string `xml:"associationId"` CarrierIp string `xml:"carrierIp"` CustomerOwnedIp string `xml:"customerOwnedIp"` CustomerOwnedIpv4Pool string `xml:"customerOwnedIpv4Pool"` Domain string `xml:"domain"` InstanceId string `xml:"instanceId"` NetworkBorderGroup string `xml:"networkBorderGroup"` NetworkInterfaceId string `xml:"networkInterfaceId"` NetworkInterfaceOwnerId string `xml:"networkInterfaceOwnerId"` PrivateIpAddress string `xml:"privateIpAddress"` PublicIp string `xml:"publicIp"` PublicIpv4Pool string `xml:"publicIpv4Pool"` // 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 SElasticache ¶
type SElasticache struct { multicloud.SElasticcacheBase multicloud.AwsTags // contains filtered or unexported fields }
func (*SElasticache) AllocatePublicConnection ¶
func (self *SElasticache) AllocatePublicConnection(port int) (string, error)
func (*SElasticache) ChangeInstanceSpec ¶
func (self *SElasticache) ChangeInstanceSpec(spec string) error
func (*SElasticache) CreateAccount ¶
func (self *SElasticache) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticache) CreateAcl ¶
func (self *SElasticache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticache) CreateBackup ¶
func (self *SElasticache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticache) Delete ¶
func (self *SElasticache) Delete() error
func (*SElasticache) FlushInstance ¶
func (self *SElasticache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SElasticache) GetArchType ¶
func (self *SElasticache) GetArchType() string
func (*SElasticache) GetAuthMode ¶
func (self *SElasticache) GetAuthMode() string
func (*SElasticache) GetBillingType ¶
func (self *SElasticache) GetBillingType() string
func (*SElasticache) GetCapacityMB ¶
func (self *SElasticache) GetCapacityMB() int
func (*SElasticache) GetCreatedAt ¶
func (self *SElasticache) GetCreatedAt() time.Time
func (*SElasticache) GetEngine ¶
func (self *SElasticache) GetEngine() string
func (*SElasticache) GetEngineVersion ¶
func (self *SElasticache) GetEngineVersion() string
func (*SElasticache) GetExpiredAt ¶
func (self *SElasticache) GetExpiredAt() time.Time
func (*SElasticache) GetGlobalId ¶
func (self *SElasticache) GetGlobalId() string
func (*SElasticache) GetICloudElasticcacheAccount ¶
func (self *SElasticache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticache) GetICloudElasticcacheAccounts ¶
func (self *SElasticache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SElasticache) GetICloudElasticcacheAcl ¶
func (self *SElasticache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticache) GetICloudElasticcacheAcls ¶
func (self *SElasticache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SElasticache) GetICloudElasticcacheBackup ¶
func (self *SElasticache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticache) GetICloudElasticcacheBackups ¶
func (self *SElasticache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SElasticache) GetICloudElasticcacheParameters ¶
func (self *SElasticache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SElasticache) GetId ¶
func (self *SElasticache) GetId() string
func (*SElasticache) GetInstanceType ¶
func (self *SElasticache) GetInstanceType() string
func (*SElasticache) GetMaintainEndTime ¶
func (self *SElasticache) GetMaintainEndTime() string
func (*SElasticache) GetMaintainStartTime ¶
func (self *SElasticache) GetMaintainStartTime() string
func (*SElasticache) GetName ¶
func (self *SElasticache) GetName() string
func (*SElasticache) GetNetworkId ¶
func (self *SElasticache) GetNetworkId() string
func (*SElasticache) GetNetworkType ¶
func (self *SElasticache) GetNetworkType() string
func (*SElasticache) GetNodeType ¶
func (self *SElasticache) GetNodeType() string
func (*SElasticache) GetParameterGroupName ¶
func (self *SElasticache) GetParameterGroupName() (string, error)
func (*SElasticache) GetParameters ¶
func (self *SElasticache) GetParameters() ([]SElasticacheParameter, error)
func (*SElasticache) GetPrivateConnectPort ¶
func (self *SElasticache) GetPrivateConnectPort() int
func (*SElasticache) GetPrivateDNS ¶
func (self *SElasticache) GetPrivateDNS() string
cluster mode(shard) 只有配置endpoint,no cluster mode 有primary/readonly endpoint
func (*SElasticache) GetPrivateIpAddr ¶
func (self *SElasticache) GetPrivateIpAddr() string
func (*SElasticache) GetPublicConnectPort ¶
func (self *SElasticache) GetPublicConnectPort() int
func (*SElasticache) GetPublicDNS ¶
func (self *SElasticache) GetPublicDNS() string
func (*SElasticache) GetPublicIpAddr ¶
func (self *SElasticache) GetPublicIpAddr() string
func (*SElasticache) GetSecurityGroupIds ¶
func (self *SElasticache) GetSecurityGroupIds() ([]string, error)
func (*SElasticache) GetSnapshots ¶
func (self *SElasticache) GetSnapshots() ([]SElasticacheSnapshop, error)
func (*SElasticache) GetStatus ¶
func (self *SElasticache) GetStatus() string
func (*SElasticache) GetUserById ¶
func (self *SElasticache) GetUserById(id string) (*SElasticacheUser, error)
func (*SElasticache) GetUsers ¶
func (self *SElasticache) GetUsers() ([]SElasticacheUser, error)
func (*SElasticache) GetVpcId ¶
func (self *SElasticache) GetVpcId() string
func (*SElasticache) GetZoneId ¶
func (self *SElasticache) GetZoneId() string
func (*SElasticache) Refresh ¶
func (self *SElasticache) Refresh() error
func (*SElasticache) ReleasePublicConnection ¶
func (self *SElasticache) ReleasePublicConnection() error
func (*SElasticache) Renew ¶
func (self *SElasticache) Renew(bc billing.SBillingCycle) error
func (*SElasticache) Restart ¶
func (self *SElasticache) Restart() error
func (*SElasticache) SetMaintainTime ¶
func (self *SElasticache) SetMaintainTime(maintainStartTime, maintainEndTime string) error
func (*SElasticache) UpdateAuthMode ¶
func (self *SElasticache) UpdateAuthMode(noPwdAccess bool, password string) error
func (*SElasticache) UpdateBackupPolicy ¶
func (self *SElasticache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SElasticache) UpdateInstanceParameters ¶
func (self *SElasticache) UpdateInstanceParameters(config jsonutils.JSONObject) error
func (*SElasticache) UpdateSecurityGroups ¶
func (self *SElasticache) UpdateSecurityGroups(secgroupIds []string) error
type SElasticacheParameter ¶
type SElasticacheParameter struct { multicloud.SElasticcacheParameterBase multicloud.AwsTags // contains filtered or unexported fields }
func (*SElasticacheParameter) GetDescription ¶
func (self *SElasticacheParameter) GetDescription() string
func (*SElasticacheParameter) GetForceRestart ¶
func (self *SElasticacheParameter) GetForceRestart() bool
func (*SElasticacheParameter) GetGlobalId ¶
func (self *SElasticacheParameter) GetGlobalId() string
func (*SElasticacheParameter) GetId ¶
func (self *SElasticacheParameter) GetId() string
func (*SElasticacheParameter) GetModifiable ¶
func (self *SElasticacheParameter) GetModifiable() bool
func (*SElasticacheParameter) GetName ¶
func (self *SElasticacheParameter) GetName() string
func (*SElasticacheParameter) GetParameterKey ¶
func (self *SElasticacheParameter) GetParameterKey() string
func (*SElasticacheParameter) GetParameterValue ¶
func (self *SElasticacheParameter) GetParameterValue() string
func (*SElasticacheParameter) GetParameterValueRange ¶
func (self *SElasticacheParameter) GetParameterValueRange() string
func (*SElasticacheParameter) GetStatus ¶
func (self *SElasticacheParameter) GetStatus() string
type SElasticacheSnapshop ¶
type SElasticacheSnapshop struct { multicloud.SElasticcacheBackupBase multicloud.AwsTags // contains filtered or unexported fields }
func (*SElasticacheSnapshop) Delete ¶
func (self *SElasticacheSnapshop) Delete() error
func (*SElasticacheSnapshop) GetBackupMode ¶
func (self *SElasticacheSnapshop) GetBackupMode() string
func (*SElasticacheSnapshop) GetBackupSizeMb ¶
func (self *SElasticacheSnapshop) GetBackupSizeMb() int
func (*SElasticacheSnapshop) GetBackupType ¶
func (self *SElasticacheSnapshop) GetBackupType() string
func (*SElasticacheSnapshop) GetDownloadURL ¶
func (self *SElasticacheSnapshop) GetDownloadURL() string
func (*SElasticacheSnapshop) GetEndTime ¶
func (self *SElasticacheSnapshop) GetEndTime() time.Time
func (*SElasticacheSnapshop) GetGlobalId ¶
func (self *SElasticacheSnapshop) GetGlobalId() string
func (*SElasticacheSnapshop) GetId ¶
func (self *SElasticacheSnapshop) GetId() string
func (*SElasticacheSnapshop) GetName ¶
func (self *SElasticacheSnapshop) GetName() string
func (*SElasticacheSnapshop) GetStartTime ¶
func (self *SElasticacheSnapshop) GetStartTime() time.Time
func (*SElasticacheSnapshop) GetStatus ¶
func (self *SElasticacheSnapshop) GetStatus() string
func (*SElasticacheSnapshop) Refresh ¶
func (self *SElasticacheSnapshop) Refresh() error
func (*SElasticacheSnapshop) RestoreInstance ¶
func (self *SElasticacheSnapshop) RestoreInstance(instanceId string) error
type SElasticacheUser ¶
type SElasticacheUser struct { multicloud.SElasticcacheAccountBase multicloud.AwsTags // contains filtered or unexported fields }
func (*SElasticacheUser) Delete ¶
func (self *SElasticacheUser) Delete() error
func (*SElasticacheUser) GetAccountPrivilege ¶
func (self *SElasticacheUser) GetAccountPrivilege() string
func (*SElasticacheUser) GetAccountType ¶
func (self *SElasticacheUser) GetAccountType() string
func (*SElasticacheUser) GetGlobalId ¶
func (self *SElasticacheUser) GetGlobalId() string
func (*SElasticacheUser) GetId ¶
func (self *SElasticacheUser) GetId() string
func (*SElasticacheUser) GetName ¶
func (self *SElasticacheUser) GetName() string
func (*SElasticacheUser) GetStatus ¶
func (self *SElasticacheUser) GetStatus() string
func (*SElasticacheUser) Refresh ¶
func (self *SElasticacheUser) Refresh() error
func (*SElasticacheUser) ResetPassword ¶
func (self *SElasticacheUser) ResetPassword(input cloudprovider.SCloudElasticCacheAccountResetPasswordInput) error
func (*SElasticacheUser) UpdateAccount ¶
func (self *SElasticacheUser) UpdateAccount(input cloudprovider.SCloudElasticCacheAccountUpdateInput) error
type SElb ¶
type SElb struct { multicloud.SResourceBase Type string `json:"Type"` Scheme string `json:"Scheme"` IPAddressType string `json:"IpAddressType"` VpcID string `json:"VpcId"` AvailabilityZones []AvailabilityZone `json:"AvailabilityZones"` CreatedTime string `json:"CreatedTime"` CanonicalHostedZoneID string `json:"CanonicalHostedZoneId"` DNSName string `json:"DNSName"` SecurityGroups []string `json:"SecurityGroups"` LoadBalancerName string `json:"LoadBalancerName"` State State `json:"State"` LoadBalancerArn string `json:"LoadBalancerArn"` // contains filtered or unexported fields }
func (*SElb) CreateILoadBalancerBackendGroup ¶
func (self *SElb) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SElb) CreateILoadBalancerListener ¶
func (self *SElb) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SElb) GetAddress ¶
func (*SElb) GetAddressType ¶
func (*SElb) GetChargeType ¶
func (*SElb) GetEgressMbps ¶
func (*SElb) GetGlobalId ¶
func (*SElb) GetILoadBalancerBackendGroupById ¶
func (self *SElb) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SElb) GetILoadBalancerBackendGroups ¶
func (self *SElb) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SElb) GetILoadBalancerListenerById ¶
func (self *SElb) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SElb) GetILoadBalancerListeners ¶
func (self *SElb) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
func (*SElb) GetLoadbalancerSpec ¶
func (*SElb) GetNetworkIds ¶
func (*SElb) GetNetworkType ¶
func (*SElb) GetProjectId ¶
func (*SElb) GetSysTags ¶
func (*SElb) GetZone1Id ¶
func (*SElb) IsEmulated ¶
type SElbBackend ¶
type SElbBackend struct { multicloud.SResourceBase multicloud.AwsTags Target Target `json:"Target"` TargetHealth TargetHealth `json:"TargetHealth"` // contains filtered or unexported fields }
func (*SElbBackend) GetBackendId ¶
func (self *SElbBackend) GetBackendId() string
func (*SElbBackend) GetBackendRole ¶
func (self *SElbBackend) GetBackendRole() string
func (*SElbBackend) GetBackendType ¶
func (self *SElbBackend) GetBackendType() string
func (*SElbBackend) GetGlobalId ¶
func (self *SElbBackend) GetGlobalId() string
func (*SElbBackend) GetId ¶
func (self *SElbBackend) GetId() string
func (*SElbBackend) GetIpAddress ¶
func (self *SElbBackend) GetIpAddress() string
func (*SElbBackend) GetName ¶
func (self *SElbBackend) GetName() string
func (*SElbBackend) GetPort ¶
func (self *SElbBackend) GetPort() int
func (*SElbBackend) GetProjectId ¶
func (self *SElbBackend) GetProjectId() string
func (*SElbBackend) GetStatus ¶
func (self *SElbBackend) GetStatus() string
func (*SElbBackend) GetWeight ¶
func (self *SElbBackend) GetWeight() int
func (*SElbBackend) IsEmulated ¶
func (self *SElbBackend) IsEmulated() bool
func (*SElbBackend) Refresh ¶
func (self *SElbBackend) Refresh() error
type SElbBackendGroup ¶
type SElbBackendGroup struct { multicloud.SResourceBase multicloud.AwsTags TargetGroupName string `json:"TargetGroupName"` Protocol string `json:"Protocol"` Port int64 `json:"Port"` VpcID string `json:"VpcId"` TargetType string `json:"TargetType"` HealthyThresholdCount int `json:"HealthyThresholdCount"` Matcher Matcher `json:"Matcher"` UnhealthyThresholdCount int `json:"UnhealthyThresholdCount"` HealthCheckPath string `json:"HealthCheckPath"` HealthCheckProtocol string `json:"HealthCheckProtocol"` HealthCheckPort string `json:"HealthCheckPort"` HealthCheckIntervalSeconds int `json:"HealthCheckIntervalSeconds"` HealthCheckTimeoutSeconds int `json:"HealthCheckTimeoutSeconds"` TargetGroupArn string `json:"TargetGroupArn"` LoadBalancerArns []string `json:"LoadBalancerArns"` // contains filtered or unexported fields }
func (*SElbBackendGroup) AddBackendServer ¶
func (self *SElbBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SElbBackendGroup) GetGlobalId ¶
func (self *SElbBackendGroup) GetGlobalId() string
func (*SElbBackendGroup) GetHealthCheck ¶
func (self *SElbBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SElbBackendGroup) GetILoadbalancer ¶
func (self *SElbBackendGroup) GetILoadbalancer() cloudprovider.ICloudLoadbalancer
func (*SElbBackendGroup) GetILoadbalancerBackendById ¶
func (self *SElbBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SElbBackendGroup) GetILoadbalancerBackends ¶
func (self *SElbBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SElbBackendGroup) GetId ¶
func (self *SElbBackendGroup) GetId() string
func (*SElbBackendGroup) GetLoadbalancerId ¶
func (self *SElbBackendGroup) GetLoadbalancerId() string
func (*SElbBackendGroup) GetName ¶
func (self *SElbBackendGroup) GetName() string
func (*SElbBackendGroup) GetProjectId ¶
func (self *SElbBackendGroup) GetProjectId() string
func (*SElbBackendGroup) GetProtocolType ¶
func (self *SElbBackendGroup) GetProtocolType() string
func (*SElbBackendGroup) GetScheduler ¶
func (self *SElbBackendGroup) GetScheduler() string
func (*SElbBackendGroup) GetStatus ¶
func (self *SElbBackendGroup) GetStatus() string
func (*SElbBackendGroup) GetStickySession ¶
func (self *SElbBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SElbBackendGroup) GetSysTags ¶
func (self *SElbBackendGroup) GetSysTags() map[string]string
func (*SElbBackendGroup) GetType ¶
func (self *SElbBackendGroup) GetType() string
func (*SElbBackendGroup) IsDefault ¶
func (self *SElbBackendGroup) IsDefault() bool
func (*SElbBackendGroup) IsEmulated ¶
func (self *SElbBackendGroup) IsEmulated() bool
func (*SElbBackendGroup) Refresh ¶
func (self *SElbBackendGroup) Refresh() error
func (*SElbBackendGroup) RemoveBackendServer ¶
func (self *SElbBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
func (*SElbBackendGroup) Sync ¶
func (self *SElbBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SElbCertificate ¶
type SElbCertificate struct { multicloud.SResourceBase multicloud.AwsTags Path string `json:"Path"` ServerCertificateName string `json:"ServerCertificateName"` ServerCertificateID string `json:"ServerCertificateId"` Arn string `json:"Arn"` UploadDate time.Time `json:"UploadDate"` Expiration time.Time `json:"Expiration"` PublicKey string // contains filtered or unexported fields }
func (*SElbCertificate) Delete ¶
func (self *SElbCertificate) Delete() error
func (*SElbCertificate) GetCommonName ¶
func (self *SElbCertificate) GetCommonName() string
func (*SElbCertificate) GetExpireTime ¶
func (self *SElbCertificate) GetExpireTime() time.Time
func (*SElbCertificate) GetFingerprint ¶
func (self *SElbCertificate) GetFingerprint() string
func (*SElbCertificate) GetGlobalId ¶
func (self *SElbCertificate) GetGlobalId() string
func (*SElbCertificate) GetId ¶
func (self *SElbCertificate) GetId() string
func (*SElbCertificate) GetName ¶
func (self *SElbCertificate) GetName() string
func (*SElbCertificate) GetPrivateKey ¶
func (self *SElbCertificate) GetPrivateKey() string
func (*SElbCertificate) GetProjectId ¶
func (self *SElbCertificate) GetProjectId() string
func (*SElbCertificate) GetPublickKey ¶
func (self *SElbCertificate) GetPublickKey() string
func (*SElbCertificate) GetStatus ¶
func (self *SElbCertificate) GetStatus() string
func (*SElbCertificate) GetSubjectAlternativeNames ¶
func (self *SElbCertificate) GetSubjectAlternativeNames() string
func (*SElbCertificate) IsEmulated ¶
func (self *SElbCertificate) IsEmulated() bool
func (*SElbCertificate) ParsePublicKey ¶
func (self *SElbCertificate) ParsePublicKey() (*x509.Certificate, error)
func (*SElbCertificate) Refresh ¶
func (self *SElbCertificate) Refresh() error
func (*SElbCertificate) Sync ¶
func (self *SElbCertificate) Sync(name, privateKey, publickKey string) error
type SElbListener ¶
type SElbListener struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase multicloud.AwsTags Port int `json:"Port"` Protocol string `json:"Protocol"` DefaultActions []DefaultAction `json:"DefaultActions"` SSLPolicy string `json:"SslPolicy"` Certificates []Certificate `json:"Certificates"` LoadBalancerArn string `json:"LoadBalancerArn"` ListenerArn string `json:"ListenerArn"` // contains filtered or unexported fields }
func (*SElbListener) CreateILoadBalancerListenerRule ¶
func (self *SElbListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SElbListener) GetAclId ¶
func (self *SElbListener) GetAclId() string
func (*SElbListener) GetAclStatus ¶
func (self *SElbListener) GetAclStatus() string
func (*SElbListener) GetAclType ¶
func (self *SElbListener) GetAclType() string
func (*SElbListener) GetBackendConnectTimeout ¶
func (self *SElbListener) GetBackendConnectTimeout() int
func (*SElbListener) GetBackendGroupId ¶
func (self *SElbListener) GetBackendGroupId() string
func (*SElbListener) GetBackendServerPort ¶
func (self *SElbListener) GetBackendServerPort() int
func (*SElbListener) GetCertificateId ¶
func (self *SElbListener) GetCertificateId() string
func (*SElbListener) GetClientIdleTimeout ¶
func (self *SElbListener) GetClientIdleTimeout() int
func (*SElbListener) GetEgressMbps ¶
func (self *SElbListener) GetEgressMbps() int
func (*SElbListener) GetGlobalId ¶
func (self *SElbListener) GetGlobalId() string
func (*SElbListener) GetHealthCheck ¶
func (self *SElbListener) GetHealthCheck() string
func (*SElbListener) GetHealthCheckCode ¶
func (self *SElbListener) GetHealthCheckCode() string
func (*SElbListener) GetHealthCheckDomain ¶
func (self *SElbListener) GetHealthCheckDomain() string
func (*SElbListener) GetHealthCheckExp ¶
func (self *SElbListener) GetHealthCheckExp() string
func (*SElbListener) GetHealthCheckFail ¶
func (self *SElbListener) GetHealthCheckFail() int
func (*SElbListener) GetHealthCheckInterval ¶
func (self *SElbListener) GetHealthCheckInterval() int
func (*SElbListener) GetHealthCheckReq ¶
func (self *SElbListener) GetHealthCheckReq() string
func (*SElbListener) GetHealthCheckRise ¶
func (self *SElbListener) GetHealthCheckRise() int
func (*SElbListener) GetHealthCheckTimeout ¶
func (self *SElbListener) GetHealthCheckTimeout() int
func (*SElbListener) GetHealthCheckType ¶
func (self *SElbListener) GetHealthCheckType() string
func (*SElbListener) GetHealthCheckURI ¶
func (self *SElbListener) GetHealthCheckURI() string
func (*SElbListener) GetILoadBalancerListenerRuleById ¶
func (self *SElbListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SElbListener) GetILoadbalancerListenerRules ¶
func (self *SElbListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SElbListener) GetId ¶
func (self *SElbListener) GetId() string
func (*SElbListener) GetListenerPort ¶
func (self *SElbListener) GetListenerPort() int
func (*SElbListener) GetListenerType ¶
func (self *SElbListener) GetListenerType() string
func (*SElbListener) GetName ¶
func (self *SElbListener) GetName() string
func (*SElbListener) GetProjectId ¶
func (self *SElbListener) GetProjectId() string
func (*SElbListener) GetScheduler ¶
func (self *SElbListener) GetScheduler() string
func (*SElbListener) GetStatus ¶
func (self *SElbListener) GetStatus() string
func (*SElbListener) GetStickySession ¶
func (self *SElbListener) GetStickySession() string
func (*SElbListener) GetStickySessionCookie ¶
func (self *SElbListener) GetStickySessionCookie() string
func (*SElbListener) GetStickySessionCookieTimeout ¶
func (self *SElbListener) GetStickySessionCookieTimeout() int
func (*SElbListener) GetStickySessionType ¶
func (self *SElbListener) GetStickySessionType() string
func (*SElbListener) GetTLSCipherPolicy ¶
func (self *SElbListener) GetTLSCipherPolicy() string
func (*SElbListener) GzipEnabled ¶
func (self *SElbListener) GzipEnabled() bool
func (*SElbListener) HTTP2Enabled ¶
func (self *SElbListener) HTTP2Enabled() bool
func (*SElbListener) IsEmulated ¶
func (self *SElbListener) IsEmulated() bool
func (*SElbListener) Refresh ¶
func (self *SElbListener) Refresh() error
func (*SElbListener) Start ¶
func (self *SElbListener) Start() error
func (*SElbListener) Stop ¶
func (self *SElbListener) Stop() error
func (*SElbListener) Sync ¶
func (self *SElbListener) Sync(ctx context.Context, listener *cloudprovider.SLoadbalancerListener) error
func (*SElbListener) XForwardedForEnabled ¶
func (self *SElbListener) XForwardedForEnabled() bool
type SElbListenerRule ¶
type SElbListenerRule struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase multicloud.AwsTags Priority string `json:"Priority"` IsDefaultRule bool `json:"IsDefault"` Actions []Action `json:"Actions"` RuleArn string `json:"RuleArn"` Conditions []Condition `json:"Conditions"` // contains filtered or unexported fields }
func (*SElbListenerRule) GetBackendGroupId ¶
func (self *SElbListenerRule) GetBackendGroupId() string
func (*SElbListenerRule) GetCondition ¶
func (self *SElbListenerRule) GetCondition() string
func (*SElbListenerRule) GetDomain ¶
func (self *SElbListenerRule) GetDomain() string
func (*SElbListenerRule) GetGlobalId ¶
func (self *SElbListenerRule) GetGlobalId() string
func (*SElbListenerRule) GetId ¶
func (self *SElbListenerRule) GetId() string
func (*SElbListenerRule) GetName ¶
func (self *SElbListenerRule) GetName() string
func (*SElbListenerRule) GetPath ¶
func (self *SElbListenerRule) GetPath() string
func (*SElbListenerRule) GetProjectId ¶
func (self *SElbListenerRule) GetProjectId() string
func (*SElbListenerRule) GetStatus ¶
func (self *SElbListenerRule) GetStatus() string
func (*SElbListenerRule) IsDefault ¶
func (self *SElbListenerRule) IsDefault() bool
func (*SElbListenerRule) IsEmulated ¶
func (self *SElbListenerRule) IsEmulated() bool
func (*SElbListenerRule) Refresh ¶
func (self *SElbListenerRule) Refresh() error
type SEvent ¶
type SEvent struct { // The AWS access key ID that was used to sign the request. If the request was // made with temporary security credentials, this is the access key ID of the // temporary credentials. AccessKeyId string `type:"string"` // A JSON string that contains a representation of the event returned. CloudTrailEvent string `type:"string"` // The CloudTrail ID of the event returned. EventId string `type:"string"` // The name of the event returned. EventName string `type:"string"` // The AWS service that the request was made to. EventSource string `type:"string"` // The date and time of the event returned. EventTime time.Time `type:"timestamp"` // Information about whether the event is a write event or a read event. ReadOnly string `type:"string"` // A list of resources referenced by the event returned. Resources []SEventResource `type:"list"` // A user name or role name of the requester that called the API in the event // returned. Username string `type:"string"` }
func (*SEvent) GetAccount ¶
func (*SEvent) GetCreatedAt ¶
func (*SEvent) GetRequest ¶
func (self *SEvent) GetRequest() jsonutils.JSONObject
func (*SEvent) GetRequestId ¶
func (*SEvent) GetResourceType ¶
func (*SEvent) GetService ¶
type SEventResource ¶
type SEventResource struct { // The name of the resource referenced by the event returned. These are user-created // names whose values will depend on the environment. For example, the resource // name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" // for an EC2 Instance. ResourceName string `type:"string"` // The type of a resource referenced by the event returned. When the resource // type cannot be determined, null is returned. Some examples of resource types // are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey // for IAM. To learn more about how to look up and filter events by the resource // types supported for a service, see Filtering CloudTrail Events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events). ResourceType string `type:"string"` }
type SGeoLocationCode ¶
type SGeoLocationCode struct { // The two-letter code for the continent. // // Valid values: AF | AN | AS | EU | OC | NA | SA // // Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode // returns an InvalidInput error. ContinentCode string `json:"ContinentCode"` // The two-letter code for the country. CountryCode string `json:"CountryCode"` // The code for the subdivision. Route 53 currently supports only states in // the United States. SubdivisionCode string `json:"SubdivisionCode"` }
type SGroup ¶
type SGroup struct { Path string `xml:"Path"` GroupName string `xml:"GroupName"` GroupId string `xml:"GroupId"` Arn string `xml:"Arn"` CreateDate time.Time `xml:"CreateDate"` // 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) ListPolicies ¶
func (self *SGroup) ListPolicies() ([]SAttachedPolicy, error)
func (*SGroup) RemoveUser ¶
type SGroupDetails ¶
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 (self *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(gid string) (cloudprovider.ICloudVM, error)
func (*SHost) GetIWires ¶
func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SHost) GetInstanceById ¶
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
type SHostedZone ¶
type SHostedZone struct { multicloud.SResourceBase multicloud.AwsTags ID string `json:"Id"` Name string `json:"Name"` Config HostedZoneConfig `json:"Config"` ResourceRecordSetCount int64 `json:"ResourceRecordSetCount"` // contains filtered or unexported fields }
func (*SHostedZone) AddDnsRecordSet ¶
func (self *SHostedZone) AddDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
func (*SHostedZone) AddVpc ¶
func (self *SHostedZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
func (*SHostedZone) Delete ¶
func (self *SHostedZone) Delete() error
func (*SHostedZone) GetDnsProductType ¶
func (self *SHostedZone) GetDnsProductType() cloudprovider.TDnsProductType
func (*SHostedZone) GetGlobalId ¶
func (self *SHostedZone) GetGlobalId() string
func (*SHostedZone) GetICloudVpcIds ¶
func (self *SHostedZone) GetICloudVpcIds() ([]string, error)
func (*SHostedZone) GetIDnsRecordSets ¶
func (self *SHostedZone) GetIDnsRecordSets() ([]cloudprovider.ICloudDnsRecordSet, error)
func (*SHostedZone) GetId ¶
func (self *SHostedZone) GetId() string
func (*SHostedZone) GetName ¶
func (self *SHostedZone) GetName() string
func (*SHostedZone) GetOptions ¶
func (self *SHostedZone) GetOptions() *jsonutils.JSONDict
func (*SHostedZone) GetStatus ¶
func (self *SHostedZone) GetStatus() string
func (*SHostedZone) GetZoneType ¶
func (self *SHostedZone) GetZoneType() cloudprovider.TDnsZoneType
func (*SHostedZone) Refresh ¶
func (self *SHostedZone) Refresh() error
func (*SHostedZone) RemoveDnsRecordSet ¶
func (self *SHostedZone) RemoveDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
func (*SHostedZone) RemoveVpc ¶
func (self *SHostedZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
func (*SHostedZone) SyncDnsRecordSets ¶
func (self *SHostedZone) SyncDnsRecordSets(common, add, del, update []cloudprovider.DnsRecordSet) error
func (*SHostedZone) UpdateDnsRecordSet ¶
func (self *SHostedZone) UpdateDnsRecordSet(opts *cloudprovider.DnsRecordSet) error
type SImage ¶
type SImage struct { multicloud.SImageBase multicloud.AwsTags Architecture string CreationTime time.Time Description string ImageId string ImageName string OSType string ImageType cloudprovider.TImageType // IsSupportCloudinit bool EnaSupport bool Platform string SizeGB int Status ImageStatusType OwnerType string // Usage string RootDevice RootDevice RootDeviceName string // devices BlockDevicesNames []string Public bool Hypervisor string VirtualizationType string OwnerId string ProductCodes []*ec2.ProductCode OSVersion string OSDist string OSBuildId string // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (self *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (self *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
func (*SImage) IsEmulated ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase RegionId string ZoneId string InstanceId string ImageId string HostName string InstanceName string InstanceType string Cpu int Memory int // MB IoOptimized bool KeyPairName string CreationTime time.Time // LaunchTime ExpiredTime time.Time ProductCodes []string PublicDNSName string InnerIpAddress SIpAddress PublicIpAddress SIpAddress RootDeviceName string Status string // state VlanId string // subnet ID ? VpcAttributes SVpcAttributes SecurityGroupIds SSecurityGroupIds NetworkInterfaces []SNetworkInterface EipAddress SEipAddress Disks []string DeviceNames []string OSName string OSType string Description string InternetMaxBandwidthOut int Throughput int TagSpec TagSpec // contains filtered or unexported fields }
func (*SInstance) AssignSecurityGroup ¶
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) ChangeConfig2 ¶
func (*SInstance) DetachDisk ¶
func (*SInstance) GetAccountId ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (self *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetInternetMaxBandwidthOut ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetSysTags ¶
func (*SInstance) GetThroughput ¶
func (*SInstance) GetUserData ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
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) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
type SInstanceNic ¶
type SInstanceNic struct { cloudprovider.DummyICloudNic // contains filtered or unexported fields }
func (*SInstanceNic) 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 SInstnaceType ¶
type SInternetGateway ¶
type SInternetGateway struct { multicloud.SResourceBase multicloud.AwsTags Attachments []InternetGatewayAttachment `json:"Attachments"` InternetGatewayID string `json:"InternetGatewayId"` OwnerID string `json:"OwnerId"` // contains filtered or unexported fields }
func (*SInternetGateway) GetGlobalId ¶
func (i *SInternetGateway) GetGlobalId() string
func (*SInternetGateway) GetId ¶
func (i *SInternetGateway) GetId() string
func (*SInternetGateway) GetName ¶
func (i *SInternetGateway) GetName() string
func (*SInternetGateway) GetStatus ¶
func (i *SInternetGateway) GetStatus() string
func (*SInternetGateway) IsEmulated ¶
func (i *SInternetGateway) IsEmulated() bool
func (*SInternetGateway) Refresh ¶
func (i *SInternetGateway) Refresh() error
type SIpAddress ¶
type SIpAddress struct {
IpAddress []string
}
type SLoginProfile ¶
type SLoginProfile struct {
LoginProfile LoginProfile `xml:"LoginProfile"`
}
type SMountInstances ¶
type SMountInstances struct {
MountInstance []string
}
type SNatGateway ¶
type SNatGateway struct { multicloud.SNatGatewayBase multicloud.AwsTags ConnectivityType string `xml:"connectivityType"` CreateTime time.Time `xml:"createTime"` DeleteTime time.Time `xml:"deleteTime"` FailureCode string `xml:"failureCode"` FailureMessage string `xml:"failureMessage"` NatGatewayAddresses []NatGatewayAddress `xml:"natGatewayAddressSet>item"` NatGatewayId string `xml:"natGatewayId"` ProvisionedBandwidth ProvisionedBandwidth `xml:"provisionedBandwidth"` // pending | failed | available | deleting | deleted State string `xml:"state"` SubnetId string `xml:"subnetId"` VpcId string `xml:"vpcId"` // contains filtered or unexported fields }
func (*SNatGateway) CreateINatDEntry ¶
func (self *SNatGateway) CreateINatDEntry(rule cloudprovider.SNatDRule) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) CreateINatSEntry ¶
func (self *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) GetGlobalId ¶
func (self *SNatGateway) GetGlobalId() string
func (*SNatGateway) GetIEips ¶
func (self *SNatGateway) GetIEips() ([]cloudprovider.ICloudEIP, error)
func (*SNatGateway) GetINatDEntryByID ¶
func (self *SNatGateway) GetINatDEntryByID(id string) (cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) GetINatDTable ¶
func (self *SNatGateway) GetINatDTable() ([]cloudprovider.ICloudNatDEntry, error)
func (*SNatGateway) GetINatSEntryByID ¶
func (self *SNatGateway) GetINatSEntryByID(id string) (cloudprovider.ICloudNatSEntry, error)
func (*SNatGateway) GetINatSTable ¶
func (self *SNatGateway) GetINatSTable() ([]cloudprovider.ICloudNatSEntry, error)
func (*SNatGateway) GetINetworkId ¶
func (self *SNatGateway) GetINetworkId() string
func (*SNatGateway) GetId ¶
func (self *SNatGateway) GetId() string
func (*SNatGateway) GetIpAddr ¶
func (self *SNatGateway) GetIpAddr() string
func (*SNatGateway) GetName ¶
func (self *SNatGateway) GetName() string
func (*SNatGateway) GetNatSpec ¶
func (self *SNatGateway) GetNatSpec() string
func (*SNatGateway) GetStatus ¶
func (self *SNatGateway) GetStatus() string
func (*SNatGateway) Refresh ¶
func (self *SNatGateway) Refresh() error
type SNetwork ¶
type SNetwork struct { multicloud.SResourceBase multicloud.AwsTags AvailableIpAddressCount int CidrBlock string CreationTime time.Time Description string IsDefault bool Status string NetworkId string NetworkName string VpcId string ZoneId string // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetGateway ¶
func (*SNetwork) GetGlobalId ¶
func (*SNetwork) GetIWire ¶
func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
func (*SNetwork) GetIpStart ¶
每个子网 CIDR 块中的前四个 IP 地址和最后一个 IP 地址无法使用
func (*SNetwork) GetIsPublic ¶
func (*SNetwork) GetProjectId ¶
func (*SNetwork) GetPublicScope ¶
func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
func (*SNetwork) GetServerType ¶
func (*SNetwork) GetSysTags ¶
func (*SNetwork) IsEmulated ¶
type SNetworkInterface ¶
type SNetworkInterface struct { NetworkInterfaceId string `xml:"networkInterfaceId"` SubnetId string `xml:"subnetId"` VpcId string `xml:"vpcId"` AvailabilityZone string `xml:"availabilityZone"` Description string `xml:"description"` OwnerId string `xml:"ownerId"` RequesterId string `xml:"requesterId"` RequesterManaged bool `xml:"requesterManaged"` Status string `xml:"status"` MacAddress string `xml:"macAddress"` PrivateIpAddress string `xml:"privateIpAddress"` PrivateDnsName string `xml:"privateDnsName"` SourceDestCheck bool `xml:"sourceDestCheck"` GroupSet []SGroupSet `xml:"groupSet>item"` Attachment SAttachment `xml:"attachment"` PrivateIpAddressesSet []SPrivateIpAddress `xml:"privateIpAddressesSet>item"` InterfaceType string `xml:"interfaceType"` }
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 SOptionGroupMembership ¶
type SOrgPolicy ¶
type SOrgPolicy struct { Arn string `json:"arn"` AwsManaged bool `json:"aws_managed"` Description string `json:"description"` Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` }
* { * Arn: "arn:aws:organizations::031871565791:policy/o-gn75phg8ge/service_control_policy/p-4l9recev", * AwsManaged: false, * Description: "Create Preventive SCP Guardrails", * Id: "p-4l9recev", * Name: "SCP-PREVENTIVE-GUARDRAILS", * Type: "SERVICE_CONTROL_POLICY" * }
type SPolicy ¶
type SPolicy struct { PermissionsBoundaryUsageCount int `xml:"PermissionsBoundaryUsageCount"` PolicyName string `xml:"PolicyName"` Description string `xml:"Description"` DefaultVersionId string `xml:"DefaultVersionId"` PolicyId string `xml:"PolicyId"` Path string `xml:"Path"` Arn string `xml:"Arn"` IsAttachable bool `xml:"IsAttachable"` AttachmentCount int `xml:"AttachmentCount"` CreateDate time.Time `xml:"CreateDate"` UpdateDate time.Time `xml:"UpdateDate"` // contains filtered or unexported fields }
func (*SPolicy) GetDescription ¶
func (*SPolicy) GetGlobalId ¶
type SPolicyNames ¶
type SPolicyVersion ¶
type SPolicyVersions ¶
type SPolicyVersions struct { Versions []SPolicyVersion `xml:"Versions>member"` IsTruncated bool `xml:"IsTruncated"` Marker string `xml:"Marker"` }
type SPrivateIpAddress ¶
type SRegion ¶
type SRegion struct { multicloud.SRegion RegionEndpoint string RegionId string // 这里为保持一致沿用阿里云RegionId的叫法, 与AWS RegionName字段对应 // contains filtered or unexported fields }
func (*SRegion) AcceptVpcPeeringConnection ¶
func (self *SRegion) AcceptVpcPeeringConnection(vpcPeeringConnectionId string) (*ec2.VpcPeeringConnection, error)
func (*SRegion) AddElbBackend ¶
func (*SRegion) AddElbBackends ¶
func (self *SRegion) AddElbBackends(backendgroupId string, backends []cloudprovider.SLoadbalancerBackend) error
func (*SRegion) AddRdsTagsToResource ¶
func (*SRegion) AllocateEIP ¶
func (self *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
func (*SRegion) AssociateEip ¶
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachKeypair ¶
func (*SRegion) ChangeVMConfig2 ¶
func (*SRegion) CheckBucket ¶
func (*SRegion) CreateDisk ¶
func (*SRegion) CreateEIP ¶
func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateElbBackendgroup ¶
func (self *SRegion) CreateElbBackendgroup(group *cloudprovider.SLoadbalancerBackendGroup) (*SElbBackendGroup, error)
目前只支持target type :instance
func (*SRegion) CreateElbListener ¶
func (self *SRegion) CreateElbListener(listener *cloudprovider.SLoadbalancerListener) (*SElbListener, error)
func (*SRegion) CreateElbListenerRule ¶
func (self *SRegion) CreateElbListenerRule(listenerId string, config *cloudprovider.SLoadbalancerListenerRule) (*SElbListenerRule, error)
func (*SRegion) CreateIBucket ¶
func (*SRegion) CreateICloudWafInstance ¶
func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
func (*SRegion) CreateIDBInstance ¶
func (self *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) CreateILoadBalancer ¶
func (self *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancer) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) CreateILoadBalancerAcl ¶
func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (self *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) CreateISecurityGroup ¶
func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateInstance ¶
func (*SRegion) CreateInstanceSimple ¶
func (*SRegion) CreateInternetGateway ¶
func (region *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
func (*SRegion) CreateRoute ¶
func (*SRegion) CreateSecurityGroup ¶
func (*SRegion) CreateSnapshot ¶
func (*SRegion) CreateVpcPeeringConnection ¶
func (self *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*ec2.VpcPeeringConnection, error)
func (*SRegion) CreateWebAcl ¶
func (self *SRegion) CreateWebAcl(name, desc string, wafType cloudprovider.TWafType, action *cloudprovider.DefaultAction) (*SWebAcl, error)
func (*SRegion) DeallocateEIP ¶
func (*SRegion) DelSecurityGroupRule ¶
func (self *SRegion) DelSecurityGroupRule(secGrpId string, rule cloudprovider.SecurityRule) error
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteElbBackendGroup ¶
func (*SRegion) DeleteElbListener ¶
func (*SRegion) DeleteElbListenerRule ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteIPSet ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteNatgateway ¶
func (*SRegion) DeleteRdsSnapshot ¶
func (*SRegion) DeleteRegexSet ¶
func (*SRegion) DeleteRouteTable ¶
func (*SRegion) DeleteRuleGroup ¶
func (*SRegion) DeleteSecurityGroup ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteVpcPeeringConnection ¶
func (*SRegion) DeleteVpcPeeringConnectionRoute ¶
func (*SRegion) DeleteWebAcl ¶
func (*SRegion) DescribeAccepterVpcPeeringConnections ¶
func (self *SRegion) DescribeAccepterVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
func (*SRegion) DescribeCacheParameters ¶
func (region *SRegion) DescribeCacheParameters(parameterGroupId string) ([]*elasticache.Parameter, error)
func (*SRegion) DescribeCacheSubnetGroups ¶
func (region *SRegion) DescribeCacheSubnetGroups(Id string) ([]*elasticache.CacheSubnetGroup, error)
func (*SRegion) DescribeElasticacheClusters ¶
func (region *SRegion) DescribeElasticacheClusters() ([]*elasticache.CacheCluster, error)
func (*SRegion) DescribeElasticacheReplicationGroups ¶
func (region *SRegion) DescribeElasticacheReplicationGroups(Id string) ([]*elasticache.ReplicationGroup, error)
func (*SRegion) DescribeManagedRuleGroup ¶
func (self *SRegion) DescribeManagedRuleGroup(name, scope, vendorName string) (*SWafRuleGroup, error)
func (*SRegion) DescribeOrgPolicy ¶
func (r *SRegion) DescribeOrgPolicy(pId string) (jsonutils.JSONObject, error)
func (*SRegion) DescribeOrganizationalUnit ¶
func (*SRegion) DescribeRequesterVpcPeeringConnections ¶
func (self *SRegion) DescribeRequesterVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
func (*SRegion) DescribeSnapshots ¶
func (*SRegion) DescribeUsers ¶
func (region *SRegion) DescribeUsers(engine string) ([]*elasticache.User, error)
func (*SRegion) DescribeVpcPeeringConnections ¶
func (self *SRegion) DescribeVpcPeeringConnections(vpcId string) ([]*ec2.VpcPeeringConnection, error)
func (*SRegion) DetachDisk ¶
func (*SRegion) DetachKeyPair ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) ExportImage ¶
func (self *SRegion) ExportImage(instanceId string, imageId string) (*ImageExportTask, error)
func (*SRegion) FetchElbTags ¶
func (*SRegion) GetARNPartition ¶
func (*SRegion) GetBucketRegionId ¶
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SAwsClient
///////////////////////////////////////////////////////////////////////////
请不要使用这个client(AWS_DEFAULT_REGION)跨region查信息.有可能导致查询返回的信息为空。比如DescribeAvailabilityZones
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetDBInstance ¶
func (region *SRegion) GetDBInstance(instanceId string) (*SDBInstance, error)
func (*SRegion) GetDBInstanceParameters ¶
func (region *SRegion) GetDBInstanceParameters(name string) ([]SDBInstanceParameter, error)
func (*SRegion) GetDBInstanceSnapshots ¶
func (region *SRegion) GetDBInstanceSnapshots(instanceId, backupId string) ([]SDBInstanceSnapshot, error)
func (*SRegion) GetDBInstances ¶
func (region *SRegion) GetDBInstances(instanceId, marker string) ([]SDBInstance, string, error)
func (*SRegion) GetELbBackend ¶
func (self *SRegion) GetELbBackend(backendId string) (*SElbBackend, error)
func (*SRegion) GetELbBackends ¶
func (self *SRegion) GetELbBackends(backendgroupId string) ([]SElbBackend, error)
func (*SRegion) GetEipByIpAddress ¶
func (self *SRegion) GetEipByIpAddress(eipAddress string) (*SEipAddress, error)
func (*SRegion) GetEips ¶
func (self *SRegion) GetEips(id, ip, associateId string) ([]SEipAddress, error)
func (*SRegion) GetElasticaches ¶
func (region *SRegion) GetElasticaches() ([]SElasticache, error)
func (*SRegion) GetElbBackendgroup ¶
func (self *SRegion) GetElbBackendgroup(backendgroupId string) (*SElbBackendGroup, error)
func (*SRegion) GetElbBackendgroupAttributesById ¶
func (*SRegion) GetElbBackendgroups ¶
func (self *SRegion) GetElbBackendgroups(elbId string, backendgroupIds []string) ([]SElbBackendGroup, error)
func (*SRegion) GetElbListener ¶
func (self *SRegion) GetElbListener(listenerId string) (*SElbListener, error)
func (*SRegion) GetElbListenerRuleById ¶
func (self *SRegion) GetElbListenerRuleById(ruleId string) (*SElbListenerRule, error)
func (*SRegion) GetElbListenerRules ¶
func (self *SRegion) GetElbListenerRules(listenerId string, ruleId string) ([]SElbListenerRule, error)
func (*SRegion) GetElbListeners ¶
func (self *SRegion) GetElbListeners(elbId string) ([]SElbListener, 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) GetICloudEvents ¶
func (self *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
func (*SRegion) GetICloudWafIPSets ¶
func (self *SRegion) GetICloudWafIPSets() ([]cloudprovider.ICloudWafIPSet, 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) GetICloudWafRegexSets ¶
func (self *SRegion) GetICloudWafRegexSets() ([]cloudprovider.ICloudWafRegexSet, error)
func (*SRegion) GetIDBInstanceBackups ¶
func (region *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SRegion) GetIDBInstanceById ¶
func (self *SRegion) GetIDBInstanceById(id 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(id string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIElasticcacheById ¶
func (region *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIElasticcaches ¶
func (region *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 (self *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerAcls ¶
func (self *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerBackendGroups ¶
func (self *SRegion) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SRegion) GetILoadBalancerById ¶
func (self *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetILoadBalancerCertificateById ¶
func (self *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancerCertificates ¶
func (self *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancers ¶
func (self *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetISecurityGroupById ¶
func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISecurityGroupByName ¶
func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, 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 (self *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) GetImageByName ¶
func (self *SRegion) GetImageByName(name string, owners []TImageOwnerType) (*SImage, error)
func (*SRegion) GetImageStatus ¶
func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceIdByImageId ¶
func (*SRegion) GetInstanceStatus ¶
func (*SRegion) GetInstanceTypes ¶
func (self *SRegion) GetInstanceTypes(nextToken string) ([]SInstnaceType, string, error)
func (*SRegion) GetInstances ¶
func (*SRegion) GetInternetGateways ¶
func (self *SRegion) GetInternetGateways(vpcId string) ([]SInternetGateway, error)
func (*SRegion) GetKeypairs ¶
func (*SRegion) GetNatGateway ¶
func (self *SRegion) GetNatGateway(id string) (*SNatGateway, error)
func (*SRegion) GetNatGateways ¶
func (self *SRegion) GetNatGateways(ids []string, vpcId, subnetId string) ([]SNatGateway, error)
func (*SRegion) GetNetworkInterface ¶
func (self *SRegion) GetNetworkInterface(id string) (*SNetworkInterface, error)
func (*SRegion) GetNetworkInterfaces ¶
func (self *SRegion) GetNetworkInterfaces(id string) ([]SNetworkInterface, error)
func (*SRegion) GetNetwroks ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetRdsSnapshot ¶
func (self *SRegion) GetRdsSnapshot(id string) (*SDBInstanceSnapshot, error)
func (*SRegion) GetRegexSet ¶
func (self *SRegion) GetRegexSet(id, name, scope string) (*SWafRegexSet, error)
func (*SRegion) GetReservedHostOfferings ¶
func (*SRegion) GetReservedInstance ¶
func (*SRegion) GetRouteTable ¶
func (self *SRegion) GetRouteTable(id string) (*SRouteTable, error)
func (*SRegion) GetRouteTables ¶
func (self *SRegion) GetRouteTables(vpcId string, mainRouteOnly bool) ([]SRouteTable, error)
func (*SRegion) GetRouteTablesByNetworkId ¶
func (self *SRegion) GetRouteTablesByNetworkId(netId string) ([]SRouteTable, error)
func (*SRegion) GetRuleGroup ¶
func (self *SRegion) GetRuleGroup(id, name, scope string) (*SWafRuleGroup, error)
func (*SRegion) GetSElasticacheById ¶
func (region *SRegion) GetSElasticacheById(Id string) (*SElasticache, error)
func (*SRegion) GetSecurityGroupDetails ¶
func (self *SRegion) GetSecurityGroupDetails(secGroupId string) (*SSecurityGroup, error)
func (*SRegion) GetSecurityGroups ¶
func (*SRegion) GetSkus ¶
func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error)
func (*SRegion) GetSnapshots ¶
func (*SRegion) GetVpcPeeringConnectionById ¶
func (self *SRegion) GetVpcPeeringConnectionById(Id string) (*ec2.VpcPeeringConnection, error)
func (*SRegion) ImportImage ¶
func (*SRegion) ImportKeypair ¶
Aws貌似不支持ssh-dss格式密钥
func (*SRegion) IsEmulated ¶
func (*SRegion) ListAccounts ¶
func (*SRegion) ListAvailableManagedRuleGroups ¶
func (self *SRegion) ListAvailableManagedRuleGroups(scope string) ([]SWafRuleGroup, error)
func (*SRegion) ListParents ¶
func (*SRegion) ListPolicies ¶
func (r *SRegion) ListPolicies(filter string) ([]SOrgPolicy, error)
func (*SRegion) ListPoliciesForTarget ¶
func (r *SRegion) ListPoliciesForTarget(filter string, targetId string) ([]SOrgPolicy, error)
func (*SRegion) ListRdsResourceTags ¶
func (*SRegion) ListRegexSets ¶
func (self *SRegion) ListRegexSets(scope string) ([]SWafRegexSet, error)
func (*SRegion) ListResourcesForWebACL ¶
func (*SRegion) ListRuleGroups ¶
func (self *SRegion) ListRuleGroups(scope string) ([]SWafRuleGroup, error)
func (*SRegion) LookupEvents ¶
func (*SRegion) RebootDBInstance ¶
func (*SRegion) RemoveElbBackend ¶
func (*SRegion) RemoveElbBackends ¶
func (*SRegion) RemoveRdsTagsFromResource ¶
func (*SRegion) RemoveRoute ¶
func (*SRegion) ReplaceRoute ¶
func (*SRegion) ReplaceSystemDisk ¶
func (*SRegion) SaveImage ¶
func (self *SRegion) SaveImage(instanceId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
func (*SRegion) SyncELbBackendGroup ¶
func (self *SRegion) SyncELbBackendGroup(backendgroupId string, group *cloudprovider.SLoadbalancerBackendGroup) error
func (*SRegion) SyncElbBackend ¶
func (*SRegion) SyncElbListener ¶
func (self *SRegion) SyncElbListener(listener *SElbListener, config *cloudprovider.SLoadbalancerListener) error
func (*SRegion) TagResources ¶
func (*SRegion) TestStorageAvailable ¶
func (*SRegion) UntagResources ¶
func (*SRegion) UpdateEipBandwidth ¶
func (*SRegion) UpdateResourceTags ¶
func (*SRegion) UpdateRulesPriority ¶
func (self *SRegion) UpdateRulesPriority(rules []cloudprovider.ICloudLoadbalancerListenerRule) error
type SReservedHostOffering ¶
type SRole ¶
type SRole struct { Path string `xml:"Path"` AssumeRolePolicyDocument string `xml:"AssumeRolePolicyDocument"` MaxSessionDuration int `xml:"MaxSessionDuration"` RoleId string `xml:"RoleId"` RoleName string `xml:"RoleName"` Description string `xml:"Description"` Arn string `xml:"Arn"` CreateDate time.Time `xml:"CreateDate"` // 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 ¶
[{"Action":"sts:AssumeRoleWithSAML","Condition":{"StringEquals":{"SAML:aud":"https://signin.aws.amazon.com/saml"}},"Effect":"Allow","Principal":{"Federated":"arn:aws:iam::879324515906:saml-provider/quxuan"}}]
type SRoute ¶
type SRoute struct { multicloud.SResourceBase multicloud.AwsTags DestinationCIDRBlock string `json:"DestinationCidrBlock"` Origin string `json:"Origin"` State string `json:"State"` // only one exist GatewayID *string `json:"GatewayId,omitempty"` NatGatewayID *string `json:"NatGatewayId,omitempty"` InstanceID *string `json:"InstanceId,omitempty"` LocalGatewayID *string `json:"LocalGatewayId,omitempty"` NetworkInterfaceID *string `json:"NetworkInterfaceId,omitempty"` TransitGatewayID *string `json:"TransitGatewayId,omitempty"` VpcPeeringConnectionID *string `json:"VpcPeeringConnectionId,omitempty"` // contains filtered or unexported fields }
func (*SRoute) GetGlobalId ¶
func (*SRoute) GetNextHop ¶
func (*SRoute) GetNextHopType ¶
func (*SRoute) IsEmulated ¶
type SRouteTable ¶
type SRouteTable struct { multicloud.SResourceBase multicloud.AwsTags Associations []Association `json:"Associations"` PropagatingVgws []string `json:"PropagatingVgws"` RouteTableID string `json:"RouteTableId"` Routes []SRoute `json:"Routes"` VpcID string `json:"VpcId"` OwnerID string `json:"OwnerId"` // 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
func (*SRouteTable) GetVpcId ¶
func (self *SRouteTable) GetVpcId() string
func (*SRouteTable) IsEmulated ¶
func (self *SRouteTable) IsEmulated() bool
func (*SRouteTable) Refresh ¶
func (self *SRouteTable) Refresh() error
func (*SRouteTable) RemoveRoute ¶
func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
func (*SRouteTable) UpdateRoute ¶
func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
type SSecurityGroup ¶
type SSecurityGroup struct { multicloud.SSecurityGroup multicloud.AwsTags RegionId string VpcId string SecurityGroupId string Description string SecurityGroupName string Permissions []cloudprovider.SecurityRule // contains filtered or unexported fields }
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetProjectId ¶
func (self *SSecurityGroup) GetProjectId() string
func (*SSecurityGroup) GetRules ¶
func (self *SSecurityGroup) GetRules() ([]cloudprovider.SecurityRule, error)
func (*SSecurityGroup) GetStatus ¶
func (self *SSecurityGroup) GetStatus() string
func (*SSecurityGroup) GetVpcId ¶
func (self *SSecurityGroup) GetVpcId() string
func (*SSecurityGroup) IsEmulated ¶
func (self *SSecurityGroup) IsEmulated() bool
func (*SSecurityGroup) Refresh ¶
func (self *SSecurityGroup) Refresh() error
func (*SSecurityGroup) SyncRules ¶
func (self *SSecurityGroup) SyncRules(common, inAdds, outAdds, inDels, outDels []cloudprovider.SecurityRule) error
type SSecurityGroupIds ¶
type SSecurityGroupIds struct {
SecurityGroupId []string
}
type SSnapshot ¶
type SSnapshot struct { multicloud.SResourceBase multicloud.AwsTags Progress string SnapshotId string SnapshotName string SourceDiskId string SourceDiskSize int32 SourceDiskType string Status SnapshotStatusType Usage string // contains filtered or unexported fields }
func (*SSnapshot) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) GetProjectId ¶
func (*SSnapshot) IsEmulated ¶
type SStorage ¶
type SStorage struct { multicloud.SStorageBase multicloud.STagBase // 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 multicloud.AwsTags // contains filtered or unexported fields }
func (*SStoragecache) CreateIImage ¶
func (self *SStoragecache) CreateIImage(snapshotId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) Refresh ¶
func (self *SStoragecache) Refresh() error
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type SSubnet ¶
type SSubnet struct { SubnetIdentifier string `xml:"SubnetIdentifier"` SubnetStatus string `xml:"SubnetStatus"` SubnetAvailabilityZone SSubnetAvailabilityZone `xml:"SubnetAvailabilityZone"` }
type SSubnetAvailabilityZone ¶
type SSubnetAvailabilityZone struct {
Name string `xml:"Name"`
}
type STrafficPolicy ¶
type SUser ¶
type SUser struct { multicloud.SBaseClouduser UserId string `xml:"UserId"` Path string `xml:"Path"` UserName string `xml:"UserName"` Arn string `xml:"Arn"` CreateDate time.Time `xml:"CreateDate"` PasswordLastUsed time.Time `xml:"PasswordLastUsed"` // 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 (self *SUser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetISystemCloudpolicies ¶
func (self *SUser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SUser) GetInviteUrl ¶
func (*SUser) IsConsoleLogin ¶
func (*SUser) ListGroups ¶
func (*SUser) ListPolicies ¶
func (self *SUser) ListPolicies() ([]SAttachedPolicy, error)
func (*SUser) ResetPassword ¶
type SUserCIDRs ¶
type SUserCIDRs struct {
UserCidr []string
}
type SUserPolicies ¶
type SVisibilityConfig ¶
type SVpc ¶
type SVpc struct { multicloud.SVpc multicloud.AwsTags RegionId string VpcId string VpcName string CidrBlock string CidrBlockAssociationSet []string IsDefault bool Status string InstanceTenancy string // contains filtered or unexported fields }
func (*SVpc) AcceptICloudVpcPeeringConnection ¶
func (*SVpc) AddDefaultInternetGatewayRoute ¶
func (*SVpc) AttachInternetGateway ¶
func (*SVpc) CreateICloudVpcPeeringConnection ¶
func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) Delete ¶
Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
func (*SVpc) DeleteInternetGateway ¶
func (*SVpc) DeleteInternetGateways ¶
func (*SVpc) DetachInternetGateway ¶
func (*SVpc) DetachInternetGateways ¶
func (*SVpc) GetAuthorityOwnerId ¶
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetExternalAccessMode ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetICloudAccepterVpcPeeringConnections ¶
func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudVpcPeeringConnectionById ¶
func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudVpcPeeringConnections ¶
func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetMainRouteTable ¶
func (self *SVpc) GetMainRouteTable() (*SRouteTable, error)
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
func (*SVpc) IsEmulated ¶
func (*SVpc) IsSupportSetExternalAccess ¶
type SVpcAttributes ¶
type SVpcAttributes struct { PrivateIpAddress SIpAddress NetworkId string // subnet id VpcId string }
type SVpcPeeringConnection ¶
type SVpcPeeringConnection struct { multicloud.SResourceBase multicloud.AwsTags // contains filtered or unexported fields }
func (*SVpcPeeringConnection) Delete ¶
func (self *SVpcPeeringConnection) Delete() error
func (*SVpcPeeringConnection) GetEnabled ¶
func (self *SVpcPeeringConnection) GetEnabled() bool
func (*SVpcPeeringConnection) GetGlobalId ¶
func (self *SVpcPeeringConnection) GetGlobalId() string
func (*SVpcPeeringConnection) GetId ¶
func (self *SVpcPeeringConnection) GetId() string
func (*SVpcPeeringConnection) GetPeerAccountId ¶
func (self *SVpcPeeringConnection) GetPeerAccountId() string
func (*SVpcPeeringConnection) GetPeerVpcId ¶
func (self *SVpcPeeringConnection) GetPeerVpcId() string
func (*SVpcPeeringConnection) GetStatus ¶
func (self *SVpcPeeringConnection) GetStatus() string
func (*SVpcPeeringConnection) Refresh ¶
func (self *SVpcPeeringConnection) Refresh() error
type SVpcSecurityGroups ¶
type SVpcSecurityGroups struct {
VpcSecurityGroupMembership SVpcSecurityGroupMembership `xml:"VpcSecurityGroupMembership"`
}
type SWafIPSet ¶
type SWafIPSet struct { Addresses []string ARN string Description string Id string LockToken string Name string // contains filtered or unexported fields }
func (*SWafIPSet) GetAddresses ¶
func (self *SWafIPSet) GetAddresses() cloudprovider.WafAddresses
func (*SWafIPSet) GetGlobalId ¶
func (*SWafIPSet) GetType ¶
func (self *SWafIPSet) GetType() cloudprovider.TWafType
type SWafRegexSet ¶
type SWafRegexSet struct { RegularExpressionList []RegularExpression ARN string Description string Id string LockToken string Name string // contains filtered or unexported fields }
func (*SWafRegexSet) Delete ¶
func (self *SWafRegexSet) Delete() error
func (*SWafRegexSet) GetDesc ¶
func (self *SWafRegexSet) GetDesc() string
func (*SWafRegexSet) GetGlobalId ¶
func (self *SWafRegexSet) GetGlobalId() string
func (*SWafRegexSet) GetName ¶
func (self *SWafRegexSet) GetName() string
func (*SWafRegexSet) GetRegexPatterns ¶
func (self *SWafRegexSet) GetRegexPatterns() cloudprovider.WafRegexPatterns
func (*SWafRegexSet) GetType ¶
func (self *SWafRegexSet) GetType() cloudprovider.TWafType
type SWafRule ¶
type SWafRule struct { Action struct { Block struct { } `json:"Block"` } `json:"Action"` Name string `json:"Name"` }
type SWafRuleGroup ¶
type SWebAcl ¶
type SWebAcl struct { multicloud.SResourceBase multicloud.AwsTags *wafv2.WebACL LockToken string // contains filtered or unexported fields }
func (*SWebAcl) AddRule ¶
func (self *SWebAcl) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
func (*SWebAcl) GetCloudResources ¶
func (self *SWebAcl) GetCloudResources() ([]cloudprovider.SCloudResource, error)
func (*SWebAcl) GetDefaultAction ¶
func (self *SWebAcl) GetDefaultAction() *cloudprovider.DefaultAction
func (*SWebAcl) GetEnabled ¶
func (*SWebAcl) GetGlobalId ¶
func (*SWebAcl) GetRules ¶
func (self *SWebAcl) GetRules() ([]cloudprovider.ICloudWafRule, error)
func (*SWebAcl) GetWafType ¶
func (self *SWebAcl) GetWafType() cloudprovider.TWafType
type SWire ¶
type SWire struct { multicloud.SResourceBase multicloud.AwsTags // 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 multicloud.AwsTags ZoneId string // 沿用阿里云ZoneId,对应Aws ZoneName LocalName string State string // 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 SdnsRecordSet ¶
type SdnsRecordSet struct { AliasTarget SAliasTarget `json:"AliasTarget"` Name string `json:"Name"` ResourceRecords []resourceRecord `json:"ResourceRecords"` TTL int64 `json:"TTL"` TrafficPolicyInstanceId string `json:"TrafficPolicyInstanceId"` Type string `json:"Type"` SetIdentifier string `json:"SetIdentifier"` // 区别 多值 等名称重复的记录 // policy info Failover string `json:"Failover"` GeoLocation *SGeoLocationCode `json:"GeoLocation"` Region string `json:"Region"` // latency based MultiValueAnswer *bool `json:"MultiValueAnswer"` Weight *int64 `json:"Weight"` HealthCheckId string `json:"HealthCheckId"` // contains filtered or unexported fields }
func (*SdnsRecordSet) GetDnsName ¶
func (self *SdnsRecordSet) GetDnsName() string
func (*SdnsRecordSet) GetDnsType ¶
func (self *SdnsRecordSet) GetDnsType() cloudprovider.TDnsType
func (*SdnsRecordSet) GetDnsValue ¶
func (self *SdnsRecordSet) GetDnsValue() string
func (*SdnsRecordSet) GetEnabled ¶
func (self *SdnsRecordSet) GetEnabled() bool
func (*SdnsRecordSet) GetGlobalId ¶
func (self *SdnsRecordSet) GetGlobalId() string
func (*SdnsRecordSet) GetMxPriority ¶
func (self *SdnsRecordSet) GetMxPriority() int64
func (*SdnsRecordSet) GetPolicyOptions ¶
func (self *SdnsRecordSet) GetPolicyOptions() *jsonutils.JSONDict
func (*SdnsRecordSet) GetPolicyType ¶
func (self *SdnsRecordSet) GetPolicyType() cloudprovider.TDnsPolicyType
trafficpolicy 信息
func (*SdnsRecordSet) GetPolicyValue ¶
func (self *SdnsRecordSet) GetPolicyValue() cloudprovider.TDnsPolicyValue
func (*SdnsRecordSet) GetStatus ¶
func (self *SdnsRecordSet) GetStatus() string
func (*SdnsRecordSet) GetTTL ¶
func (self *SdnsRecordSet) GetTTL() int64
type SnapshotStatusType ¶
type SnapshotStatusType string
const ( SnapshotStatusAccomplished SnapshotStatusType = "completed" SnapshotStatusProgress SnapshotStatusType = "pending" SnapshotStatusFailed SnapshotStatusType = "error" )
type TImageOwnerType ¶
type TImageOwnerType string
type TagSpec ¶
type TagSpec struct { ResourceType string // "customer-gateway"|"dedicated-host"|"dhcp-options"|"image"|"instance"|"internet-gateway"|"network-acl"|"network-interface"|"reserved-instances"|"route-table"|"snapshot"|"spot-instances-request"|"subnet"|"security-group"|"volume"|"vpc"|"vpn-connection"|"vpn-gateway" Tags map[string]string }
func (*TagSpec) GetDescTag ¶
func (*TagSpec) GetNameTag ¶
func (*TagSpec) GetTagSpecifications ¶
func (self *TagSpec) GetTagSpecifications() (*ec2.TagSpecification, error)
func (*TagSpec) GetTagWithDefault ¶
找不到的情况下返回传入的默认值
func (*TagSpec) LoadingEc2Tags ¶
func (*TagSpec) SetDescTag ¶
func (*TagSpec) SetNameTag ¶
type TargetHealth ¶
type TermAttributes ¶
Source Files ¶
- aws.go
- aws_request.go
- bucket.go
- cloudtrail.go
- dbinstance.go
- dbinstance_account.go
- dbinstance_const.go
- dbinstance_database.go
- dbinstance_parameter.go
- dbinstance_snapshot.go
- disk.go
- dnshostedzone.go
- dnsrecordset.go
- dnstrafficpolicy.go
- doc.go
- eip.go
- elasticache_instance.go
- elasticache_parameter.go
- elasticache_snapshot.go
- elasticache_user.go
- host.go
- iam_group.go
- iam_policy.go
- iam_role.go
- iam_user.go
- image.go
- imageowners.go
- instance.go
- instancenic.go
- internetgateway.go
- keypair.go
- latitude_and_longitude.go
- loadbalancer.go
- loadbalancerbackend.go
- loadbalancerbackendgroup.go
- loadbalancercert.go
- loadbalancerlistener.go
- loadbalancerlistenerrule.go
- monitor.go
- natgateway.go
- network.go
- networkinterface.go
- organizations.go
- region.go
- reservedinstance.go
- resource_tag.go
- route.go
- routetable.go
- s3object.go
- saml_provider.go
- securitygroup.go
- sku.go
- snapshot.go
- snapshot_policy.go
- storage.go
- storagecache.go
- sts.go
- utils.go
- vpc.go
- vpc_peering_connection.go
- waf.go
- waf_ipsets.go
- waf_regexsets.go
- waf_rule_groups.go
- waf_rules.go
- wire.go
- zone.go