Documentation ¶
Index ¶
- Constants
- Variables
- func AwsApiInt64ToOutput(input *int64) int64
- func AwsApiSliceStringToOutput(input []*string) []string
- func Build(r *request.Request)
- 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 InputToAwsApiInt64(input int64) *int64
- func InputToAwsApiSliceString(input []string) []*string
- func IntVal(s *int64) int64
- func JsonBuild(r *request.Request)
- func NextDeviceName(curDeviceNames []string) (string, error)
- 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 UnmarshalJson(r *request.Request)
- func UnmarshalJsonError(r *request.Request)
- type Action
- type AliasesType
- type AssociatedVPC
- type Association
- type Attributes
- type Authentication
- type AvailabilityZone
- type AwsClientConfig
- type AwsTags
- type AwsXmlRequest
- type CacheNode
- type CacheParameterGroupStatus
- type CacheSecurityGroupMembership
- type CacheSubnetGroup
- type Certificate
- type ClusterLogging
- type Condition
- type Config
- type Datapoint
- type Datapoints
- type DefaultAction
- type Dimension
- type DistributionConfigType
- type DnsZoneConfig
- type DynamoDB
- type EbsInstanceBlockDevice
- type ElastiCacheEngineVersion
- type Endpoint
- type GeoLocationDetails
- type GlobalReplicationGroupInfo
- type HTTPHeaderConfig
- type ImageExportTask
- type ImageImportTask
- type ImageStatusType
- type InstanceAttribute
- type InstanceAttributeInput
- type InstanceBlockDeviceMapping
- type InstanceChargeType
- type InstanceType
- type InternetGatewayAttachment
- type KinesisStream
- type LambdaFunction
- type LoadBalancerAddress
- type LogDeliveryConfiguration
- type LoginProfile
- type Matcher
- type NatGatewayAddress
- type NodeGroup
- type NodeGroupMember
- type NodeSnapshot
- type NotificationConfiguration
- type Origin
- type OriginsType
- type PendingModifiedValues
- type PricePerUnit
- type Product
- type ProductFilter
- type ProvisionedBandwidth
- type ProvisionedConcurrencyConfig
- type Query
- type QueryStringConfig
- type RegularExpression
- type RootDevice
- type SAMLProvider
- func (self *SAMLProvider) Delete() error
- func (self *SAMLProvider) GetAuthUrl(apiServer string) string
- func (self *SAMLProvider) GetDescription() 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 (self *SAwsClient) AddUserToGroup(groupName, userName string) error
- func (client *SAwsClient) AssociateVPCWithHostedZone(vpcId string, regionId string, zoneId 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 (self *SAwsClient) ChangeResourceRecordSets(action, zoneId, name, id string, opts cloudprovider.DnsRecord) (string, error)
- func (client *SAwsClient) CreateDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SDnsZone, error)
- func (self *SAwsClient) CreateGroup(name string, path string) (*SGroup, 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 (client *SAwsClient) DeleteDnsZone(Id string) error
- func (self *SAwsClient) DeleteGroup(name 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 (ac *SAwsClient) DescribeUserDomains(marker string, pageSize int64) ([]SCdnDomain, 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, zoneId string) error
- func (self *SAwsClient) GetAccessEnv() string
- func (client *SAwsClient) GetAccountId() string
- func (client *SAwsClient) GetBucketCannedAcls() []string
- func (ac *SAwsClient) GetCDNDomainByName(name string) (*SCdnDomain, error)
- func (self *SAwsClient) GetCallerIdentity() (*SCallerIdentity, error)
- func (self *SAwsClient) GetCapabilities() []string
- func (ac *SAwsClient) GetCdnDomain(domainID string) (*SCdnDomain, error)
- func (ac *SAwsClient) GetCdnDomains() ([]SCdnDomain, error)
- func (self *SAwsClient) GetCustomPolicyMaps() (map[string]string, error)
- func (client *SAwsClient) GetDnsZone(id string) (*SDnsZoneDetails, error)
- func (client *SAwsClient) GetDnsZones() ([]SDnsZone, 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 (ac *SAwsClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (ac *SAwsClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, 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 (self *SAwsClient) GetSAMLProvider(arn string) (*SAMLProvider, error)
- func (client *SAwsClient) GetSamlEntityId() string
- func (awscli *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() ([]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 (client *SAwsClient) ListResourceRecordSet(id string) ([]SDnsRecord, 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 (self *SAwsClient) RemoveUserFromGroup(groupName, userName string) error
- func (self *SAwsClient) ResetUserPassword(name, password string) error
- func (self *SAwsClient) UpdateLoginProfile(name, password string) error
- func (self *SAwsClient) UpdateSAMLProvider(arn, metadata string) (*SAMLProvider, error)
- type SAwsLbTag
- type SAwsRdsTag
- type SAwsTag
- type SBucket
- func (b *SBucket) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error
- func (b *SBucket) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, partEtags []string) error
- func (b *SBucket) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error
- func (b *SBucket) CopyPart(ctx context.Context, key string, uploadId string, partNumber int, ...) (string, error)
- func (b *SBucket) DeleteCORS() error
- func (b *SBucket) DeleteObject(ctx context.Context, key string) error
- func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) DeleteWebSiteConf() error
- func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
- func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (b *SBucket) GetCreatedAt() time.Time
- func (b *SBucket) GetGlobalId() string
- func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
- func (b *SBucket) GetLocation() string
- func (b *SBucket) GetName() string
- func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
- func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBucket) GetProjectId() string
- func (b *SBucket) 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) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
- func (b *SBucket) SetTags(tags map[string]string, replace bool) error
- func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
- func (b *SBucket) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- type SBucketPolicyStatement
- type SBucketPolicyStatementDetails
- type SCallerIdentity
- type SCdnDomain
- func (cd *SCdnDomain) Delete() error
- func (cd *SCdnDomain) GetArea() string
- func (cd *SCdnDomain) GetCache() (*cloudprovider.SCDNCache, error)
- func (cd *SCdnDomain) GetCacheKeys() (*cloudprovider.SCDNCacheKeys, error)
- func (cd *SCdnDomain) GetCname() string
- func (cd *SCdnDomain) GetDescription() string
- func (cd *SCdnDomain) GetEnabled() bool
- func (cd *SCdnDomain) GetForceRedirect() (*cloudprovider.SCDNForceRedirect, error)
- func (cd *SCdnDomain) GetGlobalId() string
- func (cd *SCdnDomain) GetHTTPS() (*cloudprovider.SCDNHttps, error)
- func (cd *SCdnDomain) GetId() string
- func (cd *SCdnDomain) GetMaxAge() (*cloudprovider.SCDNMaxAge, error)
- func (cd *SCdnDomain) GetName() string
- func (cd *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins
- func (cd *SCdnDomain) GetProjectId() string
- func (cd *SCdnDomain) GetRangeOriginPull() (*cloudprovider.SCDNRangeOriginPull, error)
- func (cd *SCdnDomain) GetReferer() (*cloudprovider.SCDNReferer, error)
- func (cd *SCdnDomain) GetServiceType() string
- func (cd *SCdnDomain) GetStatus() string
- func (cd *SCdnDomain) Refresh() error
- 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) GetDescription() string
- 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
- func (rds *SDBInstance) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) 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) GetDescription() string
- 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) 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 SDnsRecord
- func (self *SDnsRecord) Delete() error
- func (self *SDnsRecord) Disable() error
- func (self *SDnsRecord) Enable() error
- func (self *SDnsRecord) GetDnsName() string
- func (self *SDnsRecord) GetDnsType() cloudprovider.TDnsType
- func (self *SDnsRecord) GetDnsValue() string
- func (self *SDnsRecord) GetEnabled() bool
- func (self *SDnsRecord) GetGlobalId() string
- func (self *SDnsRecord) GetMxPriority() int64
- func (self *SDnsRecord) GetPolicyType() cloudprovider.TDnsPolicyType
- func (self *SDnsRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
- func (self *SDnsRecord) GetStatus() string
- func (self *SDnsRecord) GetTTL() int64
- func (self *SDnsRecord) Update(opts *cloudprovider.DnsRecord) error
- type SDnsZone
- func (self *SDnsZone) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)
- func (self *SDnsZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- func (self *SDnsZone) Delete() error
- func (self *SDnsZone) GetDnsProductType() cloudprovider.TDnsProductType
- func (self *SDnsZone) GetGeoLocations() ([]GeoLocationDetails, error)
- func (self *SDnsZone) GetGlobalId() string
- func (self *SDnsZone) GetICloudVpcIds() ([]string, error)
- func (self *SDnsZone) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)
- func (self *SDnsZone) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)
- func (self *SDnsZone) GetId() string
- func (self *SDnsZone) GetName() string
- func (self *SDnsZone) GetStatus() string
- func (self *SDnsZone) GetZoneType() cloudprovider.TDnsZoneType
- func (self *SDnsZone) Refresh() error
- func (self *SDnsZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
- type SDnsZoneDetails
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetProjectId() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- func (self *SEipAddress) SetTags(tags map[string]string, replace bool) error
- type SElastiCacheInstanceType
- 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) 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) GetStatus() string
- func (self *SElasticache) GetTags() (map[string]string, 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) SetTags(tags map[string]string, replace bool) 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, ...) (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) GetDescription() 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) 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) 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) GetDescription() 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) GetDescription() string
- 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) 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) 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 SElbBackends
- type SElbCertificate
- func (self *SElbCertificate) Delete() error
- func (self *SElbCertificate) GetCommonName() string
- func (self *SElbCertificate) GetDescription() 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) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SElbListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- 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) GetDescription() string
- 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 (listerner *SElbListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SElbListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (self *SElbListener) Start() error
- func (self *SElbListener) Stop() 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) GetDescription() 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 SElbListenerRules
- type SElbListeners
- type SElbs
- 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 SExportTask
- 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 (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetInstanceById(instanceId string) (*SInstance, error)
- func (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() int64
- 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 SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (self *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetBlockDeviceNames() []string
- 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) 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, opts *cloudprovider.SInstanceDeployOptions) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetAccountId() string
- func (self *SInstance) GetBillingType() string
- func (self *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (ins *SInstance) GetDescription() string
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (self *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) 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) 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) 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, input cloudprovider.SInstanceUpdateOptions) error
- type SInstanceAttr
- 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 SInstanceType
- type SInternetGateway
- func (self *SInternetGateway) GetDescription() string
- func (i *SInternetGateway) GetGlobalId() string
- func (i *SInternetGateway) GetId() string
- func (i *SInternetGateway) GetName() string
- func (i *SInternetGateway) GetStatus() string
- func (i *SInternetGateway) IsEmulated() bool
- func (i *SInternetGateway) Refresh() error
- type SIpAddress
- type SKeypair
- type SKubeCluster
- func (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) Delete(isRetain bool) error
- func (self *SKubeCluster) GetCreatedAt() time.Time
- func (self *SKubeCluster) GetDescription() string
- func (self *SKubeCluster) GetEnabled() bool
- func (self *SKubeCluster) GetGlobalId() string
- func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
- func (self *SKubeCluster) GetId() string
- func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)
- func (self *SKubeCluster) GetName() string
- func (self *SKubeCluster) GetNetworkIds() []string
- func (self *SKubeCluster) GetStatus() string
- func (self *SKubeCluster) GetVersion() string
- func (self *SKubeCluster) GetVpcId() string
- func (self *SKubeCluster) Refresh() error
- 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
- func (self *SNatGateway) SetTags(tags map[string]string, replace bool) error
- type SNetwork
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetDescription() string
- 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() rbacscope.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) GetSysTags() map[string]string
- func (self *SNetwork) Refresh() error
- type SNetworkInterface
- type SNodeGroup
- func (self *SNodeGroup) Delete() error
- func (self *SNodeGroup) GetDescription() string
- func (self *SNodeGroup) GetDesiredInstanceCount() int
- func (self *SNodeGroup) GetGlobalId() string
- func (self *SNodeGroup) GetId() string
- func (self *SNodeGroup) GetInstanceTypes() []string
- func (self *SNodeGroup) GetMaxInstanceCount() int
- func (self *SNodeGroup) GetMinInstanceCount() int
- func (self *SNodeGroup) GetName() string
- func (self *SNodeGroup) GetNetworkIds() []string
- func (self *SNodeGroup) GetRootDiskSizeGb() int
- func (self *SNodeGroup) GetStatus() string
- func (self *SNodeGroup) Refresh() error
- type SObject
- type SOptionGroupMembership
- type SOrgPolicy
- type SPolicies
- type SPolicy
- type SPolicyNames
- type SPolicyVersion
- type SPolicyVersions
- type SPrivateIpAddress
- type SRegion
- func (self *SRegion) AcceptVpcPeeringConnection(peerId string) (*SVpcPeeringConnection, error)
- func (self *SRegion) AddElbBackend(backendgroupId, serverId string, weight int, port int) (*SElbBackend, error)
- func (self *SRegion) AddElbTags(arn string, tags map[string]string) error
- func (self *SRegion) AddRdsTagsToResource(arn string, tags map[string]string) error
- func (self *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
- func (self *SRegion) AssignAddres(nicId string, ipAddrs []string) 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(instanceId string, instanceType string) error
- func (self *SRegion) CheckBucket(bucketName string) error
- func (self *SRegion) CreateCacheSubnetGroup(clusterName, networkId string) (*CacheSubnetGroup, error)
- func (self *SRegion) CreateDisk(zoneId string, volumeType string, name string, sizeGb, iops, throughput int, ...) (*SDisk, error)
- func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) CreateElbBackendgroup(opts *cloudprovider.SLoadbalancerBackendGroup) (*SElbBackendGroup, error)
- func (self *SRegion) CreateElbListener(lbId string, opts *cloudprovider.SLoadbalancerListenerCreateOptions) (*SElbListener, error)
- func (self *SRegion) CreateElbListenerRule(listenerId string, opts *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) CreateIElasticcaches(opts *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) CreateILoadBalancer(opts *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegion) CreateILoadBalancerCertificate(opts *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateIgw() (*SInternetGateway, error)
- func (self *SRegion) CreateInstance(name string, image *SImage, instanceType string, subnetId string, ...) (*SInstance, error)
- func (region *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
- func (self *SRegion) CreateKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (*SKubeCluster, error)
- func (self *SRegion) CreateLoadbalancer(opts *cloudprovider.SLoadbalancerCreateOptions) (*SElb, error)
- func (self *SRegion) CreateLoadbalancerCertifacate(opts *cloudprovider.SLoadbalancerCertificate) (string, error)
- func (self *SRegion) CreateMemcached(opts *cloudprovider.SCloudElasticCacheInput) (*SElasticache, error)
- func (self *SRegion) CreateNetwork(zoneId string, vpcId string, name string, cidr, desc string) (*SNetwork, error)
- func (self *SRegion) CreateNodegroup(cluster string, opts *cloudprovider.KubeNodePoolCreateOptions) (*SNodeGroup, error)
- func (self *SRegion) CreateRedis(opts *cloudprovider.SCloudElasticCacheInput) (*SReplicationGroup, error)
- func (self *SRegion) CreateRoute(routeTableId string, cidr string, targetId string) error
- func (self *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (string, error)
- func (self *SRegion) CreateSecurityGroupRule(secGrpId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) (*SSecurityGroupRule, error)
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (*SSnapshot, error)
- func (self *SRegion) CreateTags(instanceId string, tags map[string]string) error
- func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)
- func (self *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPeeringConnection, error)
- func (self *SRegion) CreateWebAcl(name, desc string, wafType cloudprovider.TWafType, ...) (*SWebAcl, error)
- func (self *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) DeleteDisk(diskId string) error
- func (self *SRegion) DeleteElastiCache(id string) error
- func (self *SRegion) DeleteElb(id string) error
- func (self *SRegion) DeleteElbBackendGroup(id string) error
- func (self *SRegion) DeleteElbListener(id string) error
- func (self *SRegion) DeleteElbListenerRule(id 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) DeleteInternetGateway(id string) error
- func (self *SRegion) DeleteKubeCluster(name string) error
- func (self *SRegion) DeleteNatgateway(id string) error
- func (self *SRegion) DeleteNetwork(id string) error
- func (self *SRegion) DeleteNodegroup(cluster, name string) error
- func (self *SRegion) DeleteRdsSnapshot(id string) error
- func (self *SRegion) DeleteRegexSet(id, name, scope, lockToken string) error
- func (self *SRegion) DeleteReplicationGroup(id string) error
- func (self *SRegion) DeleteRouteTable(rid string) error
- func (self *SRegion) DeleteRuleGroup(id, name, scope, lockToken string) error
- func (self *SRegion) DeleteSecurityGroup(id string) error
- func (self *SRegion) DeleteSecurityGroupRule(secGrpId string, direction, ruleId string) error
- func (self *SRegion) DeleteSnapshot(id string) error
- func (self *SRegion) DeleteTags(instanceId string, tags map[string]string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (self *SRegion) DeleteVpcPeeringConnection(id string) error
- func (self *SRegion) DeleteVpcPeeringConnectionRoute(vpcPeerId string) error
- func (self *SRegion) DeleteWebAcl(id, name, scope, lockToken string) error
- func (region *SRegion) DescribeCacheSubnetGroups(name string) ([]CacheSubnetGroup, error)
- func (self *SRegion) DescribeElbTags(arn string) (*AwsTags, error)
- func (self *SRegion) DescribeExportTasks(id string) (*SExportTask, error)
- func (self *SRegion) DescribeInstanceAttribute(id string, opts *InstanceAttributeInput) (*InstanceAttribute, error)
- func (self *SRegion) DescribeInstanceTypes(arch string, nextToken string) ([]Sku, string, 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) DescribeStream(name string) (*KinesisStream, error)
- func (self *SRegion) DescribeTable(name string) (*DynamoDB, error)
- func (self *SRegion) DescribeTags(resType, instanceId string) (map[string]string, error)
- func (self *SRegion) DescribeVpcPeeringConnections(id, vpcId, peerVpcId string) ([]SVpcPeeringConnection, error)
- func (self *SRegion) DetachDisk(instanceId string, diskId string) error
- func (self *SRegion) DetachInternetGateway(vpcId, igwId 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) GetARNPartition() string
- func (self *SRegion) GetBucketRegionId(bucketName string) (string, error)
- func (region *SRegion) GetCacheParameters(id string) ([]SElasticacheParameter, error)
- func (region *SRegion) GetCacheSnapshots(replicaGroupId string, snapshotName string) ([]SElasticacheSnapshop, error)
- func (region *SRegion) GetCacheUsers(engine, userId string) ([]SElasticacheUser, 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, 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 (self *SRegion) GetElastiCacheEngineVersion(engine string) ([]ElastiCacheEngineVersion, error)
- func (region *SRegion) GetElasticaches(id string, isMemcached bool) ([]SElasticache, error)
- func (self *SRegion) GetElbAttributes(id string) (map[string]string, error)
- func (self *SRegion) GetElbBackendgroup(id string) (*SElbBackendGroup, error)
- func (self *SRegion) GetElbBackendgroupAttributes(id string) (map[string]string, error)
- func (self *SRegion) GetElbBackendgroups(elbId, id string) ([]SElbBackendGroup, error)
- func (self *SRegion) GetElbListener(listenerId string) (*SElbListener, error)
- func (self *SRegion) GetElbListenerRule(id string) (*SElbListenerRule, error)
- func (self *SRegion) GetElbListenerRules(listenerId string, ruleId, marker string) ([]SElbListenerRule, string, error)
- func (self *SRegion) GetElbListeners(elbId, lisId, marker string) ([]SElbListener, string, 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) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, 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) GetILoadBalancerById(id 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(id string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISnapshotById(id 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 (region *SRegion) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(imageId string) (*SImage, error)
- func (self *SRegion) GetImageByName(name string, 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) GetImportImageTask(id string) (*ImageImportTask, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (self *SRegion) GetInstanceIdByImageId(imageId string) (string, error)
- func (self *SRegion) GetInstanceType(name string) (*InstanceType, error)
- func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
- func (self *SRegion) GetInstances(zoneId, imageId string, ids []string) ([]SInstance, error)
- func (self *SRegion) GetInternetGateways(vpcId string) ([]SInternetGateway, error)
- func (self *SRegion) GetKeypairs(finger string, name string) ([]SKeypair, error)
- func (self *SRegion) GetKubeCluster(name string) (*SKubeCluster, error)
- func (self *SRegion) GetKubeClusters(nextToken string) ([]SKubeCluster, string, error)
- func (self *SRegion) GetLoadBalancer(id string) (*SElb, error)
- func (self *SRegion) GetLoadbalancers(id, marker string) ([]SElb, string, 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, zoneId, vpcId string) ([]SNetwork, error)
- func (self *SRegion) GetNodegroup(cluster, name string) (*SNodeGroup, error)
- func (self *SRegion) GetNodegroups(cluster, nextToken string) ([]SNodeGroup, string, error)
- func (self *SRegion) GetPasswordData(instanceId string) (string, error)
- func (self *SRegion) GetProducts(serviceCode string, filters []ProductFilter, nextToken string) ([]SInstanceType, string, error)
- func (self *SRegion) GetProvider() string
- func (self *SRegion) GetProvisionedConcurrencyConfig(funcName, qualifier string) (*ProvisionedConcurrencyConfig, error)
- func (self *SRegion) GetRdsSnapshot(id string) (*SDBInstanceSnapshot, error)
- func (self *SRegion) GetRegexSet(id, name, scope string) (*SWafRegexSet, error)
- func (region *SRegion) GetReplicationGroups(id string) ([]SReplicationGroup, error)
- func (self *SRegion) GetReservedHostOfferings() error
- func (self *SRegion) GetReservedInstance() error
- func (self *SRegion) GetRouteTable(id string) (*SRouteTable, error)
- func (self *SRegion) GetRouteTables(vpcId, subnetId, vpcPeerId, rid string, mainRouteOnly bool) ([]SRouteTable, error)
- func (self *SRegion) GetRuleGroup(id, name, scope string) (*SWafRuleGroup, error)
- func (self *SRegion) GetS3Client() (*s3.S3, error)
- func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)
- func (self *SRegion) GetSecurityGroupRules(id string) ([]SSecurityGroupRule, error)
- func (self *SRegion) GetSecurityGroups(vpcId string, name string, secgroupId string) ([]SSecurityGroup, error)
- func (self *SRegion) GetSkus(zoneId string) ([]cloudprovider.ICloudSku, error)
- func (self *SRegion) GetSnapshot(id string) (*SSnapshot, error)
- func (self *SRegion) GetSnapshots(diskId string, name string, ids []string) ([]SSnapshot, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetSubAddress(nicId string) ([]string, error)
- func (self *SRegion) GetVpcPeeringConnectionById(id string) (*SVpcPeeringConnection, error)
- func (self *SRegion) GetVpcs(vpcIds []string) ([]SVpc, error)
- func (self *SRegion) GetWebAcl(id, name, scope string) (*SWebAcl, error)
- func (self *SRegion) GetZones(id string) ([]SZone, 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) InitVmimport() 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) ListClusters() ([]string, error)
- func (self *SRegion) ListFunctions() ([]LambdaFunction, 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) ListServerCertificates() ([]SElbCertificate, error)
- func (self *SRegion) ListServices(cluster string) ([]string, error)
- func (self *SRegion) ListStreams() ([]KinesisStream, error)
- func (self *SRegion) ListTables() ([]string, error)
- func (self *SRegion) ListTasks(cluster string) ([]string, error)
- func (self *SRegion) ListWebACLs(scope string) ([]SWebAcl, error)
- func (self *SRegion) LookupEvents(start, end time.Time, withReadEvent bool) ([]SEvent, error)
- func (self *SRegion) ModifyInstanceAttribute(instanceId string, opts *SInstanceAttr) error
- func (self *SRegion) ModifySubnetAttribute(subnetId string, assignPublicIp bool) 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) RemoveElbTags(arn string, tags map[string]string) error
- func (self *SRegion) RemoveRdsTagsFromResource(arn string, tags map[string]string) error
- func (self *SRegion) RemoveRoute(routeTableId string, cidr string) error
- func (self *SRegion) ReplaceRoute(routeTableId string, cidr string, targetId string) error
- func (self *SRegion) ReplaceSystemDisk(ctx context.Context, instanceId string, image *SImage, sysDiskSizeGB int, ...) (string, error)
- func (self *SRegion) ResizeDisk(diskId string, sizeGb int64) 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) SyncElbBackend(backendId, serverId string, oldPort, newPort int) error
- func (self *SRegion) SyncKeypair(publicKey string) (string, error)
- func (self *SRegion) UnassignAddress(nicId string, ipAddrs []string) error
- func (region *SRegion) Update(instanceId string, input cloudprovider.SDBInstanceUpdateOptions) error
- func (self *SRegion) UpdateEipBandwidth(eipId string, bw int) error
- func (self *SRegion) UpdateRulesPriority(rules []cloudprovider.ICloudLoadbalancerListenerRule) error
- func (self *SRegion) UpdateSecurityGroupRule(secgroupId, ruleId string, opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
- func (self *SRegion) UpdateVM(instanceId string, input cloudprovider.SInstanceUpdateOptions) error
- type SReplicationGroup
- func (self *SReplicationGroup) AllocatePublicConnection(port int) (string, error)
- func (self *SReplicationGroup) ChangeInstanceSpec(spec string) error
- func (self *SReplicationGroup) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SReplicationGroup) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SReplicationGroup) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SReplicationGroup) Delete() error
- func (self *SReplicationGroup) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SReplicationGroup) GetArchType() string
- func (self *SReplicationGroup) GetAuthMode() string
- func (self *SReplicationGroup) GetBillingType() string
- func (self *SReplicationGroup) GetCapacityMB() int
- func (self *SReplicationGroup) GetCluster() (*SElasticache, error)
- func (self *SReplicationGroup) GetCreatedAt() time.Time
- func (self *SReplicationGroup) GetEngine() string
- func (self *SReplicationGroup) GetEngineVersion() string
- func (self *SReplicationGroup) GetExpiredAt() time.Time
- func (self *SReplicationGroup) GetGlobalId() string
- func (self *SReplicationGroup) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SReplicationGroup) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SReplicationGroup) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SReplicationGroup) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SReplicationGroup) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SReplicationGroup) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SReplicationGroup) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SReplicationGroup) GetId() string
- func (self *SReplicationGroup) GetInstanceType() string
- func (self *SReplicationGroup) GetMaintainEndTime() string
- func (self *SReplicationGroup) GetMaintainStartTime() string
- func (self *SReplicationGroup) GetName() string
- func (self *SReplicationGroup) GetNetworkId() string
- func (self *SReplicationGroup) GetNetworkType() string
- func (self *SReplicationGroup) GetNodeType() string
- func (self *SReplicationGroup) GetPrivateConnectPort() int
- func (self *SReplicationGroup) GetPrivateDNS() string
- func (self *SReplicationGroup) GetPrivateIpAddr() string
- func (self *SReplicationGroup) GetPublicConnectPort() int
- func (self *SReplicationGroup) GetPublicDNS() string
- func (self *SReplicationGroup) GetPublicIpAddr() string
- func (self *SReplicationGroup) GetSecurityGroupIds() ([]string, error)
- func (self *SReplicationGroup) GetStatus() string
- func (self *SReplicationGroup) GetTags() (map[string]string, error)
- func (self *SReplicationGroup) GetVpcId() string
- func (self *SReplicationGroup) GetZoneId() string
- func (self *SReplicationGroup) Refresh() error
- func (self *SReplicationGroup) ReleasePublicConnection() error
- func (self *SReplicationGroup) Renew(bc billing.SBillingCycle) error
- func (self *SReplicationGroup) Restart() error
- func (self *SReplicationGroup) SetMaintainTime(maintainStartTime, maintainEndTime string) error
- func (self *SReplicationGroup) SetTags(tags map[string]string, replace bool) error
- func (self *SReplicationGroup) UpdateAuthMode(noPwdAccess bool, password string) error
- func (self *SReplicationGroup) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SReplicationGroup) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SReplicationGroup) UpdateSecurityGroups(secgroupIds []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) GetDescription() 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) Refresh() error
- func (self *SRouteTable) RemoveRoute(route cloudprovider.RouteSet) error
- func (self *SRouteTable) UpdateRoute(route cloudprovider.RouteSet) error
- type SSecurityGroup
- func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) Refresh() error
- func (self *SSecurityGroup) SetTags(tags map[string]string, replace bool) error
- type SSecurityGroupIds
- type SSecurityGroupRule
- func (self *SSecurityGroupRule) Delete() error
- func (self *SSecurityGroupRule) GetAction() secrules.TSecurityRuleAction
- func (self *SSecurityGroupRule) GetCIDRs() []string
- func (self *SSecurityGroupRule) GetDescription() string
- func (self *SSecurityGroupRule) GetDirection() secrules.TSecurityRuleDirection
- func (self *SSecurityGroupRule) GetGlobalId() string
- func (self *SSecurityGroupRule) GetPorts() string
- func (self *SSecurityGroupRule) GetPriority() int
- func (self *SSecurityGroupRule) GetProtocol() string
- func (self *SSecurityGroupRule) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
- type SSnapshot
- func (self *SSnapshot) Delete() error
- func (self *SSnapshot) GetDescription() string
- 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) 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) GetDescription() string
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(id 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
- type SStoragecache
- func (self *SStoragecache) DownloadImage(imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetDescription() string
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, ...) (string, error)
- type SSubnet
- type SSubnetAvailabilityZone
- 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) DeleteInternetGateways() 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) IsSupportSetExternalAccess() bool
- func (self *SVpc) Refresh() error
- type SVpcAttributes
- type SVpcPeeringConnection
- func (self *SVpcPeeringConnection) Delete() error
- func (self *SVpcPeeringConnection) GetDescription() string
- 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) GetDescription() string
- 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) GetDescription() string
- 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
- type SZone
- func (self *SZone) GetDescription() string
- 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
- type SecurityGroupMembership
- type Sku
- type State
- type Subnet
- type SubnetOutpost
- type TImageOwnerType
- type Target
- type TargetHealth
- type Term
- type TermAttributes
- type Terms
- type VolumeAttachment
- type VpcPeeringConnectionVpcInfo
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" ROUTE53_SERVICE_ID = "Route 53" ELASTICACHE_SERVICE_NAME = "elasticache" ELASTICACHE_SERVICE_ID = "ElastiCache" ELB_SERVICE_NAME = "elasticloadbalancing" ELB_SERVICE_ID = "Elastic Load Balancing v2" EKS_SERVICE_NAME = "eks" EKS_SERVICE_ID = "EKS" PRICING_SERVICE_NAME = "api.pricing" PRICING_SERVICE_ID = "Pricing" CDN_SERVICE_NAME = "cloudfront" CDN_SERVICE_ID = "CloudFront" ECS_SERVICE_NAME = "ecs" ECS_SERVICE_ID = "ECS" LAMBDA_SERVICE_NAME = "lambda" LAMBDA_SERVICE_ID = "Lambda" KINESIS_SERVICE_NAME = "kinesis" KINESIS_SERVICE_ID = "Kinesis" DYNAMODB_SERVICE_NAME = "dynamodb" DYNAMODB_SERVICE_ID = "DynamoDB" )
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 JsonBuildHandler = request.NamedHandler{ Name: "yunion.json.Build", Fn: JsonBuild, }
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, "eu-south-1": api.RegionMilan, "ap-southeast-4": api.RegionMelbourne, "ap-south-2": api.RegionHyderabad, "eu-south-2": api.RegionMadrid, "eu-central-2": api.RegionAbuDhabi, "ap-southeast-3": api.RegionJakarta, "me-central-1": api.RegionDubai, "il-central-1": api.RegionColumbus, }
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": "非洲(开普敦)",
"ap-southeast-4": "亚太地区(墨尔本)",
"ap-south-2": "亚太地区(德拉巴)",
"eu-south-2": "欧洲(西班牙)",
"eu-central-2": "欧洲(苏黎世)",
"me-central-1": "中东(阿联酋)",
"ap-southeast-3": "亚太地区(雅加达)",
"il-central-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)",
"ap-southeast-4": "Asia Pacific (Melbourne)",
"ap-south-2": "Asia Pacific (Hyderabad)",
"eu-south-2": "Europe (Spain)",
"eu-central-2": "Europe (Zurich)",
"me-central-1": "Middle East (UAE)",
"ap-southeast-3": "Asia Pacific (Jakarta)",
"il-central-1": "Israel (Tel Aviv)",
}
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
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 UnmarshalJsonErrorHandler = request.NamedHandler{ Name: "awssdk.ec2query.UnmarshalJsonError", Fn: UnmarshalJsonError, }
var UnmarshalJsonHandler = request.NamedHandler{Name: "yunion.query.UnmarshalJson", Fn: UnmarshalJson}
var ( WAF_SCOPES = []string{ SCOPE_REGIONAL, SCOPE_CLOUDFRONT, } )
Functions ¶
func AwsApiInt64ToOutput ¶
func GenDiskIops ¶
io1类型的卷需要指定IOPS参数,最大不超过32000。这里根据aws网站的建议值进行设置 io2类型的卷需要指定IOPS参数,最大不超过64000。 GenDiskIops Base 100, 卷每增加2G。IOPS增加1。最多到3000 iops
func GetBucketName ¶
func GetDefaultRegionId ¶
func InputToAwsApiInt64 ¶
func NextDeviceName ¶
func ToAwsHealthCode ¶
func ToOnecloudHealthCode ¶
func UnmarshalError ¶
func UnmarshalJson ¶
func UnmarshalJsonError ¶
Types ¶
type AliasesType ¶
type AssociatedVPC ¶
type Association ¶
type Attributes ¶
type Attributes struct { Availabilityzone string `json:"availabilityzone"` Classicnetworkingsupport string `json:"classicnetworkingsupport"` GPUMemory string `json:"gpuMemory"` Instancesku string `json:"instancesku"` Marketoption string `json:"marketoption"` RegionCode string `json:"regionCode"` Vpcnetworkingsupport string `json:"vpcnetworkingsupport"` 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 Authentication ¶
type AvailabilityZone ¶
type AvailabilityZone struct { LoadBalancerAddresses []LoadBalancerAddress `xml:"LoadBalancerAddresses>member"` ZoneName string `xml:"ZoneName"` SubnetId string `xml:"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 AwsTags ¶
type AwsTags struct { TagSet []SAwsTag `xml:"tagSet>item"` // rds TagList []SAwsRdsTag `xml:"TagList>Tag"` // elb Tags []SAwsLbTag `xml:"Tags>member"` }
func (AwsTags) GetDescription ¶
func (*AwsTags) GetSysTags ¶
type AwsXmlRequest ¶
func (AwsXmlRequest) MarshalXML ¶
func (s AwsXmlRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error
StringMap marshals into XML.
type CacheNode ¶
type CacheNode struct { CacheNodeCreateTime time.Time `xml:"CacheNodeCreateTime"` CacheNodeId string `xml:"CacheNodeId"` CacheNodeStatus string `xml:"CacheNodeStatus"` CustomerAvailabilityZone string `xml:"CustomerAvailabilityZone"` CustomerOutpostArn string `xml:"CustomerOutpostArn"` Endpoint Endpoint `xml:"Endpoint"` ParameterGroupStatus string `xml:"ParameterGroupStatus"` SourceCacheNodeId string `xml:"SourceCacheNodeId"` }
type CacheSubnetGroup ¶
type Certificate ¶
type Certificate struct {
CertificateArn string `json:"CertificateArn"`
}
type ClusterLogging ¶
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 DistributionConfigType ¶
type DistributionConfigType struct { CallerReference string `xml:"CallerReference"` Comment string `xml:"Comment"` Enabled bool `xml:"Enabled"` Origins OriginsType `xml:"Origins"` Aliases AliasesType `xml:"Aliases,omitempty"` ContinuousDeploymentPolicyId string `xml:"ContinuousDeploymentPolicyId,omitempty"` DefaultRootObject string `xml:"DefaultRootObject,omitempty"` HttpVersion string `xml:"HttpVersion,omitempty"` IsIPV6Enabled bool `xml:"IsIPV6Enabled,omitempty"` PriceClass string `xml:"PriceClass,omitempty"` Staging bool `xml:"Staging,omitempty"` WebACLId string `xml:"WebACLId,omitempty"` }
type DnsZoneConfig ¶
type DynamoDB ¶
type DynamoDB struct { AttributeDefinitions []struct { AttributeName string `json:"AttributeName"` AttributeType string `json:"AttributeType"` } `json:"AttributeDefinitions"` BillingModeSummary struct { BillingMode string `json:"BillingMode"` LastUpdateToPayPerRequestDateTime float64 `json:"LastUpdateToPayPerRequestDateTime"` } `json:"BillingModeSummary"` CreationDateTime float64 `json:"CreationDateTime"` DeletionProtectionEnabled bool `json:"DeletionProtectionEnabled"` ItemCount int `json:"ItemCount"` KeySchema []struct { AttributeName string `json:"AttributeName"` KeyType string `json:"KeyType"` } `json:"KeySchema"` ProvisionedThroughput struct { NumberOfDecreasesToday int `json:"NumberOfDecreasesToday"` ReadCapacityUnits int `json:"ReadCapacityUnits"` WriteCapacityUnits int `json:"WriteCapacityUnits"` } `json:"ProvisionedThroughput"` TableArn string `json:"TableArn"` TableID string `json:"TableId"` TableName string `json:"TableName"` TableSizeBytes int `json:"TableSizeBytes"` TableStatus string `json:"TableStatus"` TableThroughputModeSummary struct { LastUpdateToPayPerRequestDateTime float64 `json:"LastUpdateToPayPerRequestDateTime"` TableThroughputMode string `json:"TableThroughputMode"` } `json:"TableThroughputModeSummary"` }
type EbsInstanceBlockDevice ¶
type GeoLocationDetails ¶
type GeoLocationDetails struct { ContinentCode string `xml:"ContinentCode"` ContinentName string `xml:"ContinentName"` CountryCode string `xml:"CountryCode"` CountryName string `xml:"CountryName"` SubdivisionCode string `xml:"SubdivisionCode"` SubdivisionName string `xml:"SubdivisionName"` }
func (GeoLocationDetails) GetPolicyValue ¶
func (self GeoLocationDetails) GetPolicyValue() cloudprovider.TDnsPolicyValue
type HTTPHeaderConfig ¶
type ImageExportTask ¶
type ImageImportTask ¶
type ImageImportTask struct { multicloud.SResourceBase ImageId string `xml:"imageId"` TaskId string `xml:"importTaskId"` Progress string `xml:"progress"` Status string `xml:"status"` // 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 InstanceAttribute ¶
type InstanceAttribute struct { UserData struct { Value string `xml:"value"` } `xml:"userData"` }
type InstanceAttributeInput ¶
type InstanceAttributeInput struct {
UserData bool
}
type InstanceBlockDeviceMapping ¶
type InstanceBlockDeviceMapping struct { DeviceName *string `xml:"deviceName"` Ebs EbsInstanceBlockDevice `xml:"ebs"` }
type InstanceChargeType ¶
type InstanceChargeType string
type InstanceType ¶
type KinesisStream ¶
type LambdaFunction ¶
type LambdaFunction struct { Description string `json:"Description"` TracingConfig struct { Mode string `json:"Mode"` } `json:"TracingConfig"` VpcConfig string `json:"VpcConfig"` SigningJobArn string `json:"SigningJobArn"` SnapStart struct { OptimizationStatus string `json:"OptimizationStatus"` ApplyOn string `json:"ApplyOn"` } `json:"SnapStart"` RevisionID string `json:"RevisionId"` LastModified string `json:"LastModified"` FileSystemConfigs string `json:"FileSystemConfigs"` FunctionName string `json:"FunctionName"` Runtime string `json:"Runtime"` Version string `json:"Version"` PackageType string `json:"PackageType"` LastUpdateStatus string `json:"LastUpdateStatus"` Layers string `json:"Layers"` FunctionArn string `json:"FunctionArn"` KMSKeyArn string `json:"KMSKeyArn"` MemorySize int `json:"MemorySize"` ImageConfigResponse string `json:"ImageConfigResponse"` LastUpdateStatusReason string `json:"LastUpdateStatusReason"` DeadLetterConfig string `json:"DeadLetterConfig"` Timeout int `json:"Timeout"` Handler string `json:"Handler"` CodeSha256 string `json:"CodeSha256"` Role string `json:"Role"` SigningProfileVersionArn string `json:"SigningProfileVersionArn"` MasterArn string `json:"MasterArn"` RuntimeVersionConfig string `json:"RuntimeVersionConfig"` CodeSize int `json:"CodeSize"` State string `json:"State"` StateReason string `json:"StateReason"` LoggingConfig struct { LogFormat string `json:"LogFormat"` ApplicationLogLevel string `json:"ApplicationLogLevel"` LogGroup string `json:"LogGroup"` SystemLogLevel string `json:"SystemLogLevel"` } `json:"LoggingConfig"` Environment string `json:"Environment"` EphemeralStorage struct { Size int `json:"Size"` } `json:"EphemeralStorage"` StateReasonCode string `json:"StateReasonCode"` LastUpdateStatusReasonCode string `json:"LastUpdateStatusReasonCode"` Architectures []string `json:"Architectures"` }
type LoadBalancerAddress ¶
type LoginProfile ¶
type NatGatewayAddress ¶
type NodeGroupMember ¶
type NodeGroupMember struct { CacheClusterId string `xml:"CacheClusterId"` CacheNodeId string `xml:"CacheNodeId"` CurrentRole string `xml:"CurrentRole"` PreferredAvailabilityZone string `xml:"PreferredAvailabilityZone"` PreferredOutpostArn string `xml:"PreferredOutpostArn"` ReadEndpoint Endpoint `xml:"ReadEndpoint"` }
type NodeSnapshot ¶
type NodeSnapshot struct { CacheClusterId string `xml:"CacheClusterId"` CacheNodeCreateTime time.Time `xml:"CacheNodeCreateTime"` CacheNodeId string `xml:"CacheNodeId"` CacheSize string `xml:"CacheSize"` NodeGroupId string `xml:"NodeGroupId"` SnapshotCreateTime time.Time `xml:"SnapshotCreateTime"` }
type Origin ¶
type Origin struct { DomainName string `xml:"DomainName"` Id string `xml:"Id"` ConnectionAttempts int `xml:"ConnectionAttempts,omitempty"` ConnectionTimeout int `xml:"ConnectionTimeout,omitempty"` OriginAccessControlId string `xml:"OriginAccessControlId,omitempty"` OriginPath string `xml:"OriginPath,omitempty"` }
type OriginsType ¶
type PendingModifiedValues ¶
type PricePerUnit ¶
type Product ¶
type Product struct { ProductFamily string `json:"productFamily"` Attributes Attributes `json:"attributes"` Sku string `json:"sku"` }
type ProductFilter ¶
type ProvisionedBandwidth ¶
type ProvisionedConcurrencyConfig ¶
type ProvisionedConcurrencyConfig struct {
RequestedProvisionedConcurrentExecutions int
}
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 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(apiServer string) string
func (*SAMLProvider) GetDescription ¶
func (self *SAMLProvider) GetDescription() 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) AddUserToGroup ¶
func (self *SAwsClient) AddUserToGroup(groupName, userName string) error
func (*SAwsClient) AssociateVPCWithHostedZone ¶
func (client *SAwsClient) AssociateVPCWithHostedZone(vpcId string, regionId string, zoneId 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 (self *SAwsClient) ChangeResourceRecordSets(action, zoneId, name, id string, opts cloudprovider.DnsRecord) (string, error)
func (*SAwsClient) CreateDnsZone ¶
func (client *SAwsClient) CreateDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (*SDnsZone, error)
func (*SAwsClient) CreateGroup ¶
func (self *SAwsClient) CreateGroup(name string, path string) (*SGroup, 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) DeleteDnsZone ¶
func (client *SAwsClient) DeleteDnsZone(Id string) error
func (*SAwsClient) DeleteGroup ¶
func (self *SAwsClient) DeleteGroup(name 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) DescribeUserDomains ¶
func (ac *SAwsClient) DescribeUserDomains(marker string, pageSize int64) ([]SCdnDomain, 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, zoneId 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) GetCDNDomainByName ¶
func (ac *SAwsClient) GetCDNDomainByName(name string) (*SCdnDomain, error)
func (*SAwsClient) GetCallerIdentity ¶
func (self *SAwsClient) GetCallerIdentity() (*SCallerIdentity, error)
func (*SAwsClient) GetCapabilities ¶
func (self *SAwsClient) GetCapabilities() []string
func (*SAwsClient) GetCdnDomain ¶
func (ac *SAwsClient) GetCdnDomain(domainID string) (*SCdnDomain, error)
func (*SAwsClient) GetCdnDomains ¶
func (ac *SAwsClient) GetCdnDomains() ([]SCdnDomain, error)
func (*SAwsClient) GetCustomPolicyMaps ¶
func (self *SAwsClient) GetCustomPolicyMaps() (map[string]string, error)
func (*SAwsClient) GetDnsZone ¶
func (client *SAwsClient) GetDnsZone(id string) (*SDnsZoneDetails, error)
func (*SAwsClient) GetDnsZones ¶
func (client *SAwsClient) GetDnsZones() ([]SDnsZone, 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) GetICloudCDNDomainByName ¶
func (ac *SAwsClient) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
func (*SAwsClient) GetICloudCDNDomains ¶
func (ac *SAwsClient) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, 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) GetSAMLProvider ¶
func (self *SAwsClient) GetSAMLProvider(arn string) (*SAMLProvider, error)
func (*SAwsClient) GetSamlEntityId ¶
func (client *SAwsClient) GetSamlEntityId() string
func (*SAwsClient) GetSubAccounts ¶
func (awscli *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() ([]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) ListResourceRecordSet ¶
func (client *SAwsClient) ListResourceRecordSet(id string) ([]SDnsRecord, 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) RemoveUserFromGroup ¶
func (self *SAwsClient) RemoveUserFromGroup(groupName, userName string) error
func (*SAwsClient) ResetUserPassword ¶
func (self *SAwsClient) ResetUserPassword(name, password string) 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 SAwsRdsTag ¶
type SBucket ¶
type SBucket struct { multicloud.SBaseBucket 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) DeletePolicy ¶
func (b *SBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBucket) DeleteWebSiteConf ¶
func (*SBucket) GetAccessUrls ¶
func (b *SBucket) GetAccessUrls() []cloudprovider.SBucketAccessUrl
func (*SBucket) GetAcl ¶
func (b *SBucket) GetAcl() cloudprovider.TBucketACLType
func (*SBucket) GetCORSRules ¶
func (b *SBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
func (*SBucket) GetCreatedAt ¶
func (*SBucket) GetGlobalId ¶
func (*SBucket) GetIRegion ¶
func (b *SBucket) GetIRegion() cloudprovider.ICloudRegion
func (*SBucket) GetLocation ¶
func (*SBucket) GetObject ¶
func (b *SBucket) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
func (*SBucket) GetPolicy ¶
func (b *SBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBucket) GetProjectId ¶
func (*SBucket) 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) SetPolicy ¶
func (b *SBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
func (*SBucket) SetWebsite ¶
func (b *SBucket) SetWebsite(websitConf cloudprovider.SBucketWebsiteConf) error
type SBucketPolicyStatement ¶
type SBucketPolicyStatement struct { Version string `json:"Version"` Id string `json:"Id"` Statement []SBucketPolicyStatementDetails `json:"Statement"` }
type SCallerIdentity ¶
type SCdnDomain ¶
type SCdnDomain struct { multicloud.SResourceBase AwsTags Aliases AliasesType `xml:"Aliases"` ARN string `xml:"ARN"` Comment string `xml:"Comment"` DomainName string `xml:"DomainName"` Enabled bool `xml:"Enabled"` HttpVersion string `xml:"HttpVersion"` Id string `xml:"Id"` IsIPV6Enabled bool `xml:"IsIPV6Enabled"` LastModifiedTime string `xml:"LastModifiedTime"` // or time.Time if parsed Origins OriginsType `xml:"Origins"` PriceClass string `xml:"PriceClass"` Staging bool `xml:"Staging"` Status string `xml:"Status"` WebACLId string `xml:"WebACLId"` DistributionConfig DistributionConfigType `xml:"DistributionConfig"` // contains filtered or unexported fields }
func (*SCdnDomain) Delete ¶
func (cd *SCdnDomain) Delete() error
func (*SCdnDomain) GetArea ¶
func (cd *SCdnDomain) GetArea() string
func (*SCdnDomain) GetCache ¶
func (cd *SCdnDomain) GetCache() (*cloudprovider.SCDNCache, error)
func (*SCdnDomain) GetCacheKeys ¶
func (cd *SCdnDomain) GetCacheKeys() (*cloudprovider.SCDNCacheKeys, error)
func (*SCdnDomain) GetCname ¶
func (cd *SCdnDomain) GetCname() string
func (*SCdnDomain) GetDescription ¶
func (cd *SCdnDomain) GetDescription() string
func (*SCdnDomain) GetEnabled ¶
func (cd *SCdnDomain) GetEnabled() bool
func (*SCdnDomain) GetForceRedirect ¶
func (cd *SCdnDomain) GetForceRedirect() (*cloudprovider.SCDNForceRedirect, error)
func (*SCdnDomain) GetGlobalId ¶
func (cd *SCdnDomain) GetGlobalId() string
func (*SCdnDomain) GetHTTPS ¶
func (cd *SCdnDomain) GetHTTPS() (*cloudprovider.SCDNHttps, error)
func (*SCdnDomain) GetId ¶
func (cd *SCdnDomain) GetId() string
func (*SCdnDomain) GetMaxAge ¶
func (cd *SCdnDomain) GetMaxAge() (*cloudprovider.SCDNMaxAge, error)
func (*SCdnDomain) GetName ¶
func (cd *SCdnDomain) GetName() string
func (*SCdnDomain) GetOrigins ¶
func (cd *SCdnDomain) GetOrigins() *cloudprovider.SCdnOrigins
func (*SCdnDomain) GetProjectId ¶
func (cd *SCdnDomain) GetProjectId() string
func (*SCdnDomain) GetRangeOriginPull ¶
func (cd *SCdnDomain) GetRangeOriginPull() (*cloudprovider.SCDNRangeOriginPull, error)
func (*SCdnDomain) GetReferer ¶
func (cd *SCdnDomain) GetReferer() (*cloudprovider.SCDNReferer, error)
func (*SCdnDomain) GetServiceType ¶
func (cd *SCdnDomain) GetServiceType() string
func (*SCdnDomain) GetStatus ¶
func (cd *SCdnDomain) GetStatus() string
func (*SCdnDomain) Refresh ¶
func (cd *SCdnDomain) Refresh() error
type SDBInstance ¶
type SDBInstance struct { multicloud.SDBInstanceBase 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) GetDescription ¶
func (rds *SDBInstance) GetDescription() string
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
func (*SDBInstance) SetTags ¶
func (self *SDBInstance) SetTags(tags map[string]string, replace bool) error
func (*SDBInstance) Update ¶
func (rds *SDBInstance) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error
type SDBInstanceAccount ¶
type SDBInstanceAccount struct { multicloud.SDBInstanceAccountBase AccountName string // contains filtered or unexported fields }
func (*SDBInstanceAccount) GetName ¶
func (account *SDBInstanceAccount) GetName() string
type SDBInstanceDatabase ¶
type SDBInstanceDatabase struct { multicloud.SDBInstanceDatabaseBase 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 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 AwsTags AvailabilityZone string `xml:"availabilityZone"` VolumeId string `xml:"volumeId"` Size int `xml:"size"` VolumeType string `xml:"volumeType"` State string `xml:"status"` Encrypted bool `xml:"encrypted"` SnapshotId string `xml:"snapshotId"` Iops int `xml:"iops"` Throughput int `xml:"throughput"` CreateTime time.Time `xml:"createTime"` Attachments []VolumeAttachment `xml:"attachmentSet>item"` // 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) GetDescription ¶
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 ¶
type SDnsRecord ¶
type SDnsRecord struct { Name string `xml:"Name"` Type string `xml:"Type"` TTL int64 `xml:"TTL"` ResourceRecords []struct { Value string `xml:"Value"` } `xml:"ResourceRecords>ResourceRecord"` AliasTarget SAliasTarget `xml:"AliasTarget"` GeoLocation GeoLocationDetails `xml:"GeoLocation"` Region string `xml:"Region"` Failover string `xml:"Failover"` HealthCheckId string `xml:"HealthCheckId"` MultiValueAnswer *bool `xml:"MultiValueAnswer"` SetIdentifier string `xml:"SetIdentifier"` TrafficPolicyInstanceId string `xml:"TrafficPolicyInstanceId"` Weight int64 `xml:"Weight"` // contains filtered or unexported fields }
func (*SDnsRecord) Delete ¶
func (self *SDnsRecord) Delete() error
func (*SDnsRecord) Disable ¶
func (self *SDnsRecord) Disable() error
func (*SDnsRecord) Enable ¶
func (self *SDnsRecord) Enable() error
func (*SDnsRecord) GetDnsName ¶
func (self *SDnsRecord) GetDnsName() string
func (*SDnsRecord) GetDnsType ¶
func (self *SDnsRecord) GetDnsType() cloudprovider.TDnsType
func (*SDnsRecord) GetDnsValue ¶
func (self *SDnsRecord) GetDnsValue() string
func (*SDnsRecord) GetEnabled ¶
func (self *SDnsRecord) GetEnabled() bool
func (*SDnsRecord) GetGlobalId ¶
func (self *SDnsRecord) GetGlobalId() string
func (*SDnsRecord) GetMxPriority ¶
func (self *SDnsRecord) GetMxPriority() int64
func (*SDnsRecord) GetPolicyType ¶
func (self *SDnsRecord) GetPolicyType() cloudprovider.TDnsPolicyType
trafficpolicy 信息
func (*SDnsRecord) GetPolicyValue ¶
func (self *SDnsRecord) GetPolicyValue() cloudprovider.TDnsPolicyValue
func (*SDnsRecord) GetStatus ¶
func (self *SDnsRecord) GetStatus() string
func (*SDnsRecord) GetTTL ¶
func (self *SDnsRecord) GetTTL() int64
func (*SDnsRecord) Update ¶
func (self *SDnsRecord) Update(opts *cloudprovider.DnsRecord) error
type SDnsZone ¶
type SDnsZone struct { multicloud.SVirtualResourceBase AwsTags Id string `xml:"Id"` Name string `xml:"Name"` CallerReference string `xml:"CallerReference"` Config DnsZoneConfig `xml:"Config"` ResourceRecordSetCount int64 `xml:"ResourceRecordSetCount"` // contains filtered or unexported fields }
func (*SDnsZone) AddDnsRecord ¶
func (self *SDnsZone) AddDnsRecord(opts *cloudprovider.DnsRecord) (string, error)
func (*SDnsZone) AddVpc ¶
func (self *SDnsZone) AddVpc(vpc *cloudprovider.SPrivateZoneVpc) error
func (*SDnsZone) GetDnsProductType ¶
func (self *SDnsZone) GetDnsProductType() cloudprovider.TDnsProductType
func (*SDnsZone) GetGeoLocations ¶
func (self *SDnsZone) GetGeoLocations() ([]GeoLocationDetails, error)
func (*SDnsZone) GetGlobalId ¶
func (*SDnsZone) GetICloudVpcIds ¶
func (*SDnsZone) GetIDnsRecordById ¶
func (self *SDnsZone) GetIDnsRecordById(id string) (cloudprovider.ICloudDnsRecord, error)
func (*SDnsZone) GetIDnsRecords ¶
func (self *SDnsZone) GetIDnsRecords() ([]cloudprovider.ICloudDnsRecord, error)
func (*SDnsZone) GetZoneType ¶
func (self *SDnsZone) GetZoneType() cloudprovider.TDnsZoneType
func (*SDnsZone) RemoveVpc ¶
func (self *SDnsZone) RemoveVpc(vpc *cloudprovider.SPrivateZoneVpc) error
type SDnsZoneDetails ¶
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase 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 AwsTags ARN string `xml:"ARN"` AtRestEncryptionEnabled bool `xml:"AtRestEncryptionEnabled"` AuthTokenEnabled bool `xml:"AuthTokenEnabled"` AuthTokenLastModifiedDate time.Time `xml:"AuthTokenLastModifiedDate"` AutoMinorVersionUpgrade bool `xml:"AutoMinorVersionUpgrade"` CacheClusterCreateTime time.Time `xml:"CacheClusterCreateTime"` CacheClusterId string `xml:"CacheClusterId"` CacheClusterStatus string `xml:"CacheClusterStatus"` CacheNodeType string `xml:"CacheNodeType"` CacheNodes []CacheNode `xml:"CacheNodes>CacheNode"` CacheParameterGroup CacheParameterGroupStatus `xml:"CacheParameterGroup"` CacheSecurityGroups []CacheSecurityGroupMembership `xml:"CacheSecurityGroups>CacheSecurityGroup"` CacheSubnetGroupName string `xml:"CacheSubnetGroupName"` ClientDownloadLandingPage string `xml:"ClientDownloadLandingPage"` ConfigurationEndpoint Endpoint `xml:"ConfigurationEndpoint"` Engine string `xml:"Engine"` EngineVersion string `xml:"EngineVersion"` LogDeliveryConfigurations []LogDeliveryConfiguration `xml:"LogDeliveryConfigurations>LogDeliveryConfiguration"` NotificationConfiguration NotificationConfiguration `xml:"NotificationConfiguration"` NumCacheNodes int64 `xml:"NumCacheNodes"` PendingModifiedValues PendingModifiedValues `xml:"PendingModifiedValues"` PreferredAvailabilityZone string `xml:"PreferredAvailabilityZone"` PreferredMaintenanceWindow string `xml:"PreferredMaintenanceWindow"` PreferredOutpostArn string `xml:"PreferredOutpostArn"` ReplicationGroupId string `xml:"ReplicationGroupId"` ReplicationGroupLogDeliveryEnabled bool `xml:"ReplicationGroupLogDeliveryEnabled"` SecurityGroups []SecurityGroupMembership `xml:"SecurityGroups>member"` SnapshotRetentionLimit int64 `xml:"SnapshotRetentionLimit"` SnapshotWindow string `xml:"SnapshotWindow"` TransitEncryptionEnabled bool `xml:"TransitEncryptionEnabled"` // 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) 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) GetStatus ¶
func (self *SElasticache) GetStatus() string
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) SetTags ¶
func (self *SElasticache) SetTags(tags map[string]string, replace bool) 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 AwsTags AllowedValues string `xml:"AllowedValues"` ChangeType string `xml:"ChangeType"` DataType string `xml:"DataType"` Description string `xml:"Description"` IsModifiable bool `xml:"IsModifiable"` MinimumEngineVersion string `xml:"MinimumEngineVersion"` ParameterName string `xml:"ParameterName"` ParameterValue string `xml:"ParameterValue"` Source string `xml:"Source"` }
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 AwsTags ARN string `xml:"Arn"` AutoMinorVersionUpgrade bool `xml:"AutoMinorVersionUpgrade"` AutomaticFailover string `xml:"AutomaticFailover"` CacheClusterCreateTime time.Time `xml:"CacheClusterCreateTime"` CacheClusterId string `xml:"CacheClusterId"` CacheNodeType string `xml:"CacheNodeType"` CacheParameterGroupName string `xml:"CacheParameterGroupName"` CacheSubnetGroupName string `xml:"CacheSubnetGroupName"` Engine string `xml:"Engine"` EngineVersion string `xml:"EngineVersion"` KmsKeyId string `xml:"KmsKeyId"` NodeSnapshots []NodeSnapshot `xml:"NodeSnapshots>NodeSnapshot"` NumCacheNodes int64 `xml:"NumCacheNodes"` NumNodeGroups int64 `xml:"NumNodeGroups"` Port int64 `xml:"Port"` PreferredAvailabilityZone string `xml:"PreferredAvailabilityZone"` PreferredMaintenanceWindow string `xml:"PreferredMaintenanceWindow"` PreferredOutpostArn string `xml:"PreferredOutpostArn"` ReplicationGroupDescription string `xml:"ReplicationGroupDescription"` ReplicationGroupId string `xml:"ReplicaGroupId"` SnapshotName string `xml:"SnapshotName"` SnapshotRetentionLimit int64 `xml:"SnapshotRetentionLimit"` SnapshotSource string `xml:"SnapshotSource"` SnapshotStatus string `xml:"SnapshotStatus"` SnapshotWindow string `xml:"SnapshotWindow"` TopicArn string `xml:"TopicArn"` VpcId string `xml:"VpcId"` // 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 AwsTags ARN string `xml:"Arn"` AccessString string `xml:"AccessString"` Authentication Authentication `xml:"Authentication"` Engine string `xml:"Engine"` Status string `xml:"Status"` UserGroupIds []string `xml:"UserGroupIds>member"` UserId string `xml:"UserId"` UserName string `xml:"UserName"` // 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.SVirtualResourceBase AwsTags Type string `xml:"Type"` Scheme string `xml:"Scheme"` IPAddressType string `xml:"IpAddressType"` VpcId string `xml:"VpcId"` AvailabilityZones []AvailabilityZone `xml:"AvailabilityZones>member"` CreatedTime string `xml:"CreatedTime"` CanonicalHostedZoneID string `xml:"CanonicalHostedZoneId"` DNSName string `xml:"DNSName"` SecurityGroups []string `xml:"SecurityGroups>member"` LoadBalancerName string `xml:"LoadBalancerName"` State State `xml:"State"` LoadBalancerArn string `xml:"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.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SElb) GetAddress ¶
func (*SElb) GetAddressType ¶
func (*SElb) GetChargeType ¶
func (*SElb) GetDescription ¶
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) GetSysTags ¶
func (*SElb) GetZone1Id ¶
type SElbBackend ¶
type SElbBackend struct { multicloud.SResourceBase 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) GetDescription ¶
func (self *SElbBackend) GetDescription() 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 AwsTags TargetGroupName string `xml:"TargetGroupName"` Protocol string `xml:"Protocol"` Port int64 `xml:"Port"` VpcID string `xml:"VpcId"` TargetType string `xml:"TargetType"` HealthyThresholdCount int `xml:"HealthyThresholdCount"` Matcher Matcher `xml:"Matcher"` UnhealthyThresholdCount int `xml:"UnhealthyThresholdCount"` HealthCheckPath string `xml:"HealthCheckPath"` HealthCheckProtocol string `xml:"HealthCheckProtocol"` HealthCheckPort string `xml:"HealthCheckPort"` HealthCheckIntervalSeconds int `xml:"HealthCheckIntervalSeconds"` HealthCheckTimeoutSeconds int `xml:"HealthCheckTimeoutSeconds"` TargetGroupArn string `xml:"TargetGroupArn"` LoadBalancerArns []string `xml:"LoadBalancerArns>member"` // contains filtered or unexported fields }
func (*SElbBackendGroup) AddBackendServer ¶
func (self *SElbBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SElbBackendGroup) GetDescription ¶
func (self *SElbBackendGroup) GetDescription() string
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) 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) 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 SElbBackends ¶
type SElbBackends struct {
TargetHealthDescriptions []SElbBackend `xml:"TargetHealthDescriptions>member"`
}
type SElbCertificate ¶
type SElbCertificate struct { multicloud.SResourceBase 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) GetDescription ¶
func (self *SElbCertificate) GetDescription() 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 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) ChangeCertificate ¶
func (self *SElbListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
func (*SElbListener) ChangeScheduler ¶
func (self *SElbListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
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) GetDescription ¶
func (self *SElbListener) GetDescription() string
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) SetAcl ¶
func (listerner *SElbListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SElbListener) SetHealthCheck ¶
func (self *SElbListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
func (*SElbListener) Start ¶
func (self *SElbListener) Start() error
func (*SElbListener) Stop ¶
func (self *SElbListener) Stop() error
func (*SElbListener) XForwardedForEnabled ¶
func (self *SElbListener) XForwardedForEnabled() bool
type SElbListenerRule ¶
type SElbListenerRule struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase 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) GetDescription ¶
func (self *SElbListenerRule) GetDescription() 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 SElbListenerRules ¶
type SElbListenerRules struct { Rules []SElbListenerRule `xml:"Rules>member"` NextMarker string }
type SElbListeners ¶
type SElbListeners struct { NextMarker string Listeners []SElbListener `xml:"Listeners>member"` }
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 SExportTask ¶
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 (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SHost) GetInstanceById ¶
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
type SImage ¶
type SImage struct { multicloud.SImageBase AwsTags Architecture string `xml:"architecture"` CreationTime time.Time `xml:"creationDate"` Description string `xml:"description"` ImageId string `xml:"imageId"` ImageName string `xml:"name"` ImageType string `xml:"imageType"` EnaSupport bool `xml:"enaSupport"` Platform string `xml:"platformDetails"` Status ImageStatusType `xml:"imageState"` OwnerType string `xml:"imageOwnerAlias"` RootDeviceName string `xml:"rootDeviceName"` BlockDeviceMapping []struct { DeviceName string `xml:"deviceName"` Ebs struct { SnapshotId string `xml:"snapshotId"` VolumeSize int `xml:"volumeSize"` DeleteOnTermination bool `xml:"deleteOnTermination"` VolumeType string `xml:"volumeType"` Iops int `xml:"iops"` Encrypted bool `xml:"encrypted"` } `xml:"ebs"` } `xml:"blockDeviceMapping>item"` Public bool `xml:"isPublic"` Hypervisor string `xml:"hypervisor"` VirtualizationType string `xml:"virtualizationType"` OwnerId string `xml:"imageOwnerId"` // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (self *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetBlockDeviceNames ¶
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 AwsTags AmiLaunchIndex int64 `xml:"amiLaunchIndex"` Architecture string `xml:"architecture"` BlockDeviceMappings []InstanceBlockDeviceMapping `xml:"blockDeviceMapping>item"` BootMode string `xml:"bootMode"` CapacityReservationId string `xml:"capacityReservationId"` ClientToken string `xml:"clientToken"` CpuOptions struct { CoreCount int `xml:"coreCount"` ThreadsPerCore int `xml:"threadsPerCore"` } `xml:"cpuOptions"` EbsOptimized bool `xml:"ebsOptimized"` ElasticGpuAssociations []struct { ElasticGpuAssociationId string `xml:"elasticGpuAssociationId"` ElasticGpuAssociationState string `xml:"elasticGpuAssociationState"` ElasticGpuAssociationTime string `xml:"elasticGpuAssociationTime"` ElasticGpuId string `xml:"elasticGpuId"` } `xml:"elasticGpuAssociationSet>item"` EnaSupport bool `xml:"enaSupport"` EnclaveOptions struct { Enabled bool `xml:"enabled"` } `xml:"enclaveOptions"` HibernationOptions struct { Configured bool `xml:"configured"` } `xml:"hibernationOptions"` Hypervisor string `xml:"hypervisor"` IamInstanceProfile struct { Id string `xml:"id"` Arn string `xml:"arn"` } `xml:"iamInstanceProfile"` ImageId string `xml:"imageId"` InstanceId string `xml:"instanceId"` InstanceLifecycle string `xml:"instanceLifecycle"` InstanceType string `xml:"instanceType"` KernelId string `xml:"kernelId"` KeyName string `xml:"keyName"` LaunchTime time.Time `xml:"launchTime"` Licenses []struct { LicenseConfigurationArn string `xml:"licenseConfigurationArn"` } `xml:"licenseSet>item"` MetadataOptions struct { HttpEndpoint string `xml:"httpEndpoint"` HttpPutResponseHopLimit int64 `xml:"httpPutResponseHopLimit"` HttpTokens string `xml:"httpTokens"` State string `xml:"state"` } `xml:"metadataOptions"` Monitoring struct { State string `xml:"state"` } `xml:"monitoring"` NetworkInterfaces []SNetworkInterface `xml:"networkInterfaceSet>item"` OutpostArn string `xml:"outpostArn"` Placement struct { Affinity string `xml:"affinity"` AvailabilityZone string `xml:"availabilityZone"` GroupName string `xml:"groupName"` HostId string `xml:"hostId"` HostResourceGroupArn string `xml:"hostResourceGroupArn"` PartitionNumber int64 `xml:"partitionNumber"` SpreadDomain string `xml:"spreadDomain"` Tenancy string `xml:"tenancy"` } `xml:"placement"` Platform string `xml:"platform"` PrivateDnsName string `xml:"privateDnsName"` PrivateIpAddress string `xml:"privateIpAddress"` ProductCodes []struct { ProductCodeId string `xml:"productCode"` ProductCodeType string `xml:"type"` } `xml:"productCodes>item"` PublicDnsName string `xml:"dnsName"` PublicIpAddress string `xml:"ipAddress"` RamdiskId string `xml:"ramdiskId"` RootDeviceName string `xml:"rootDeviceName"` RootDeviceType string `xml:"rootDeviceType"` SecurityGroups []struct { GroupId string `xml:"groupId"` GroupName string `xml:"groupName"` } `xml:"groupSet>item"` SourceDestCheck bool `xml:"sourceDestCheck"` SpotInstanceRequestId string `xml:"spotInstanceRequestId"` SriovNetSupport string `xml:"sriovNetSupport"` State struct { Code int64 `xml:"code"` Name string `xml:"name"` } `xml:"instanceState"` StateReason struct { Code string `xml:"code"` Message string `xml:"message"` } `xml:"stateReason"` StateTransitionReason string `xml:"reason"` SubnetId string `xml:"subnetId"` VirtualizationType string `xml:"virtualizationType"` VpcId string `xml:"vpcId"` // contains filtered or unexported fields }
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) ChangeConfig2 ¶
func (*SInstance) DeployVM ¶
func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
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) GetDescription ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetInternetMaxBandwidthOut ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetThroughput ¶
func (*SInstance) GetUserData ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
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 ¶
func (*SInstance) UpdateVM ¶
func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error
type SInstanceAttr ¶
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 SInstanceType ¶
type SInternetGateway ¶
type SInternetGateway struct { multicloud.SResourceBase AwsTags Attachments []InternetGatewayAttachment `xml:"attachmentSet>item"` InternetGatewayId string `xml:"internetGatewayId"` OwnerId string `xml:"ownerId"` // contains filtered or unexported fields }
func (*SInternetGateway) GetDescription ¶
func (self *SInternetGateway) GetDescription() string
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 SKubeCluster ¶
type SKubeCluster struct { multicloud.SResourceBase AwsTags Name string Arn string `json:"arn"` CreatedAt float64 `json:"createdAt"` Version string `json:"version"` Endpoint string `json:"endpoint"` RoleArn string `json:"roleArn"` ResourcesVpcConfig struct { SubnetIds []string `json:"subnetIds"` SecurityGroupIds []string `json:"securityGroupIds"` ClusterSecurityGroupId string `json:"clusterSecurityGroupId"` VpcId string `json:"vpcId"` EndpointPublicAccess bool `json:"endpointPublicAccess"` EndpointPrivateAccess bool `json:"endpointPrivateAccess"` PublicAccessCidrs []string `json:"publicAccessCidrs"` } `json:"resourcesVpcConfig"` KubernetesNetworkConfig struct { ServiceIpv4CIDR string `json:"serviceIpv4Cidr"` ServiceIpv6CIDR string `json:"serviceIpv6Cidr"` IPFamily string `json:"ipFamily"` } `json:"kubernetesNetworkConfig"` Logging struct { ClusterLogging []ClusterLogging `json:"clusterLogging"` } `json:"logging"` Identity string `json:"identity"` Status string `json:"status"` CertificateAuthority struct { Data string } `json:"certificateAuthority"` ClientRequestToken string `json:"clientRequestToken"` PlatformVersion string `json:"platformVersion"` EncryptionConfig string `json:"encryptionConfig"` ConnectorConfig string `json:"connectorConfig"` Id string `json:"id"` Health string `json:"health"` // contains filtered or unexported fields }
func (*SKubeCluster) CreateIKubeNodePool ¶
func (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
func (*SKubeCluster) Delete ¶
func (self *SKubeCluster) Delete(isRetain bool) error
func (*SKubeCluster) GetCreatedAt ¶
func (self *SKubeCluster) GetCreatedAt() time.Time
func (*SKubeCluster) GetDescription ¶
func (self *SKubeCluster) GetDescription() string
func (*SKubeCluster) GetEnabled ¶
func (self *SKubeCluster) GetEnabled() bool
func (*SKubeCluster) GetGlobalId ¶
func (self *SKubeCluster) GetGlobalId() string
func (*SKubeCluster) GetIKubeNodePools ¶
func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
func (*SKubeCluster) GetIKubeNodes ¶
func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
func (*SKubeCluster) GetId ¶
func (self *SKubeCluster) GetId() string
func (*SKubeCluster) GetKubeConfig ¶
func (self *SKubeCluster) GetKubeConfig(private bool, expireMinutes int) (*cloudprovider.SKubeconfig, error)
func (*SKubeCluster) GetName ¶
func (self *SKubeCluster) GetName() string
func (*SKubeCluster) GetNetworkIds ¶
func (self *SKubeCluster) GetNetworkIds() []string
func (*SKubeCluster) GetStatus ¶
func (self *SKubeCluster) GetStatus() string
func (*SKubeCluster) GetVersion ¶
func (self *SKubeCluster) GetVersion() string
func (*SKubeCluster) GetVpcId ¶
func (self *SKubeCluster) GetVpcId() string
func (*SKubeCluster) Refresh ¶
func (self *SKubeCluster) Refresh() error
type SLoginProfile ¶
type SLoginProfile struct {
LoginProfile LoginProfile `xml:"LoginProfile"`
}
type SMountInstances ¶
type SMountInstances struct {
MountInstance []string
}
type SNatGateway ¶
type SNatGateway struct { multicloud.SNatGatewayBase 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 AwsTags AvailableIpAddressCount int `xml:"availableIpAddressCount"` CidrBlock string `xml:"cidrBlock"` DefaultForAz bool `xml:"DefaultForAz"` State string `xml:"state"` SubnetId string `xml:"subnetId"` VpcId string `xml:"vpcId"` AvailabilityZone string `xml:"availabilityZone"` // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetDescription ¶
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() rbacscope.TRbacScope
func (*SNetwork) GetServerType ¶
func (*SNetwork) GetSysTags ¶
type SNetworkInterface ¶
type SNetworkInterface struct { Association struct { CarrierIp string `xml:"carrierIp"` IpOwnerId string `xml:"ipOwnerId"` PublicDnsName string `xml:"publicDnsName"` PublicIp string `xml:"publicIp"` } `xml:"association"` 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 SNodeGroup ¶
type SNodeGroup struct { multicloud.SResourceBase AwsTags ClusterName string NodegroupName string DiskSize int Status string InstanceTypes []string Subnets []string ScalingConfig struct { DesiredSize int MaxSize int MinSize int } // contains filtered or unexported fields }
func (*SNodeGroup) Delete ¶
func (self *SNodeGroup) Delete() error
func (*SNodeGroup) GetDescription ¶
func (self *SNodeGroup) GetDescription() string
func (*SNodeGroup) GetDesiredInstanceCount ¶
func (self *SNodeGroup) GetDesiredInstanceCount() int
func (*SNodeGroup) GetGlobalId ¶
func (self *SNodeGroup) GetGlobalId() string
func (*SNodeGroup) GetId ¶
func (self *SNodeGroup) GetId() string
func (*SNodeGroup) GetInstanceTypes ¶
func (self *SNodeGroup) GetInstanceTypes() []string
func (*SNodeGroup) GetMaxInstanceCount ¶
func (self *SNodeGroup) GetMaxInstanceCount() int
func (*SNodeGroup) GetMinInstanceCount ¶
func (self *SNodeGroup) GetMinInstanceCount() int
func (*SNodeGroup) GetName ¶
func (self *SNodeGroup) GetName() string
func (*SNodeGroup) GetNetworkIds ¶
func (self *SNodeGroup) GetNetworkIds() []string
func (*SNodeGroup) GetRootDiskSizeGb ¶
func (self *SNodeGroup) GetRootDiskSizeGb() int
func (*SNodeGroup) GetStatus ¶
func (self *SNodeGroup) GetStatus() string
func (*SNodeGroup) Refresh ¶
func (self *SNodeGroup) Refresh() error
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 `xml:"regionEndpoint"` RegionId string `xml:"regionName"` OptInStatus string `xml:"optInStatus"` // contains filtered or unexported fields }
func (*SRegion) AcceptVpcPeeringConnection ¶
func (self *SRegion) AcceptVpcPeeringConnection(peerId string) (*SVpcPeeringConnection, error)
func (*SRegion) AddElbBackend ¶
func (*SRegion) AddElbTags ¶
func (*SRegion) AddRdsTagsToResource ¶
func (*SRegion) AllocateEIP ¶
func (self *SRegion) AllocateEIP(opts *cloudprovider.SEip) (*SEipAddress, error)
func (*SRegion) AssignAddres ¶
func (*SRegion) AssociateEip ¶
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachKeypair ¶
func (*SRegion) ChangeVMConfig2 ¶
func (*SRegion) CheckBucket ¶
func (*SRegion) CreateCacheSubnetGroup ¶
func (self *SRegion) CreateCacheSubnetGroup(clusterName, networkId string) (*CacheSubnetGroup, error)
func (*SRegion) CreateDisk ¶
func (*SRegion) CreateEIP ¶
func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateElbBackendgroup ¶
func (self *SRegion) CreateElbBackendgroup(opts *cloudprovider.SLoadbalancerBackendGroup) (*SElbBackendGroup, error)
目前只支持target type :instance
func (*SRegion) CreateElbListener ¶
func (self *SRegion) CreateElbListener(lbId string, opts *cloudprovider.SLoadbalancerListenerCreateOptions) (*SElbListener, error)
func (*SRegion) CreateElbListenerRule ¶
func (self *SRegion) CreateElbListenerRule(listenerId string, opts *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) CreateIElasticcaches ¶
func (self *SRegion) CreateIElasticcaches(opts *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) CreateIKubeCluster ¶
func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) CreateILoadBalancer ¶
func (self *SRegion) CreateILoadBalancer(opts *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) CreateILoadBalancerAcl ¶
func (self *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (self *SRegion) CreateILoadBalancerCertificate(opts *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) CreateISecurityGroup ¶
func (self *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateIgw ¶
func (self *SRegion) CreateIgw() (*SInternetGateway, error)
func (*SRegion) CreateInstance ¶
func (self *SRegion) CreateInstance(name string, image *SImage, instanceType string, subnetId string, secgroupIds []string, zoneId string, desc string, disks []cloudprovider.SDiskInfo, ipAddr string, keypair string, userData string, tags map[string]string, enableMonitorAgent bool, ) (*SInstance, error)
func (*SRegion) CreateInternetGateway ¶
func (region *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
func (*SRegion) CreateKubeCluster ¶
func (self *SRegion) CreateKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (*SKubeCluster, error)
func (*SRegion) CreateLoadbalancer ¶
func (self *SRegion) CreateLoadbalancer(opts *cloudprovider.SLoadbalancerCreateOptions) (*SElb, error)
func (*SRegion) CreateLoadbalancerCertifacate ¶
func (self *SRegion) CreateLoadbalancerCertifacate(opts *cloudprovider.SLoadbalancerCertificate) (string, error)
func (*SRegion) CreateMemcached ¶
func (self *SRegion) CreateMemcached(opts *cloudprovider.SCloudElasticCacheInput) (*SElasticache, error)
func (*SRegion) CreateNetwork ¶
func (*SRegion) CreateNodegroup ¶
func (self *SRegion) CreateNodegroup(cluster string, opts *cloudprovider.KubeNodePoolCreateOptions) (*SNodeGroup, error)
func (*SRegion) CreateRedis ¶
func (self *SRegion) CreateRedis(opts *cloudprovider.SCloudElasticCacheInput) (*SReplicationGroup, error)
func (*SRegion) CreateRoute ¶
func (*SRegion) CreateSecurityGroup ¶
func (self *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (string, error)
func (*SRegion) CreateSecurityGroupRule ¶
func (self *SRegion) CreateSecurityGroupRule(secGrpId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) (*SSecurityGroupRule, error)
func (*SRegion) CreateSnapshot ¶
func (*SRegion) CreateTags ¶
func (*SRegion) CreateVpc ¶
func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)
func (*SRegion) CreateVpcPeeringConnection ¶
func (self *SRegion) CreateVpcPeeringConnection(vpcId string, opts *cloudprovider.VpcPeeringConnectionCreateOptions) (*SVpcPeeringConnection, error)
func (*SRegion) CreateWebAcl ¶
func (self *SRegion) CreateWebAcl(name, desc string, wafType cloudprovider.TWafType, action *cloudprovider.DefaultAction) (*SWebAcl, error)
func (*SRegion) DeallocateEIP ¶
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteElastiCache ¶
func (*SRegion) DeleteElbBackendGroup ¶
func (*SRegion) DeleteElbListener ¶
func (*SRegion) DeleteElbListenerRule ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteIPSet ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteInternetGateway ¶
func (*SRegion) DeleteKubeCluster ¶
func (*SRegion) DeleteNatgateway ¶
func (*SRegion) DeleteNetwork ¶
func (*SRegion) DeleteNodegroup ¶
func (*SRegion) DeleteRdsSnapshot ¶
func (*SRegion) DeleteRegexSet ¶
func (*SRegion) DeleteReplicationGroup ¶
func (*SRegion) DeleteRouteTable ¶
func (*SRegion) DeleteRuleGroup ¶
func (*SRegion) DeleteSecurityGroup ¶
func (*SRegion) DeleteSecurityGroupRule ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteTags ¶
func (*SRegion) DeleteVpcPeeringConnection ¶
func (*SRegion) DeleteVpcPeeringConnectionRoute ¶
func (*SRegion) DeleteWebAcl ¶
func (*SRegion) DescribeCacheSubnetGroups ¶
func (region *SRegion) DescribeCacheSubnetGroups(name string) ([]CacheSubnetGroup, error)
func (*SRegion) DescribeElbTags ¶
func (*SRegion) DescribeExportTasks ¶
func (self *SRegion) DescribeExportTasks(id string) (*SExportTask, error)
func (*SRegion) DescribeInstanceAttribute ¶
func (self *SRegion) DescribeInstanceAttribute(id string, opts *InstanceAttributeInput) (*InstanceAttribute, error)
func (*SRegion) DescribeInstanceTypes ¶
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) DescribeStream ¶
func (self *SRegion) DescribeStream(name string) (*KinesisStream, error)
func (*SRegion) DescribeTags ¶
func (*SRegion) DescribeVpcPeeringConnections ¶
func (self *SRegion) DescribeVpcPeeringConnections(id, vpcId, peerVpcId string) ([]SVpcPeeringConnection, error)
func (*SRegion) DetachDisk ¶
func (*SRegion) DetachInternetGateway ¶
func (*SRegion) DetachKeyPair ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) ExportImage ¶
func (self *SRegion) ExportImage(instanceId string, imageId string) (*ImageExportTask, error)
func (*SRegion) GetARNPartition ¶
func (*SRegion) GetBucketRegionId ¶
func (*SRegion) GetCacheParameters ¶
func (region *SRegion) GetCacheParameters(id string) ([]SElasticacheParameter, error)
func (*SRegion) GetCacheSnapshots ¶
func (region *SRegion) GetCacheSnapshots(replicaGroupId string, snapshotName string) ([]SElasticacheSnapshop, error)
func (*SRegion) GetCacheUsers ¶
func (region *SRegion) GetCacheUsers(engine, userId string) ([]SElasticacheUser, error)
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) GetElastiCacheEngineVersion ¶
func (self *SRegion) GetElastiCacheEngineVersion(engine string) ([]ElastiCacheEngineVersion, error)
func (*SRegion) GetElasticaches ¶
func (region *SRegion) GetElasticaches(id string, isMemcached bool) ([]SElasticache, error)
func (*SRegion) GetElbAttributes ¶
func (*SRegion) GetElbBackendgroup ¶
func (self *SRegion) GetElbBackendgroup(id string) (*SElbBackendGroup, error)
func (*SRegion) GetElbBackendgroupAttributes ¶
func (*SRegion) GetElbBackendgroups ¶
func (self *SRegion) GetElbBackendgroups(elbId, id string) ([]SElbBackendGroup, error)
func (*SRegion) GetElbListener ¶
func (self *SRegion) GetElbListener(listenerId string) (*SElbListener, error)
func (*SRegion) GetElbListenerRule ¶
func (self *SRegion) GetElbListenerRule(id string) (*SElbListenerRule, error)
func (*SRegion) GetElbListenerRules ¶
func (*SRegion) GetElbListeners ¶
func (self *SRegion) GetElbListeners(elbId, lisId, marker string) ([]SElbListener, string, 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) GetICloudKubeClusterById ¶
func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) GetICloudKubeClusters ¶
func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, 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) GetILoadBalancerById ¶
func (self *SRegion) GetILoadBalancerById(id 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(id string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (self *SRegion) GetISnapshotById(id 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) GetImportImageTask ¶
func (self *SRegion) GetImportImageTask(id string) (*ImageImportTask, error)
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceIdByImageId ¶
func (*SRegion) GetInstanceType ¶
func (self *SRegion) GetInstanceType(name string) (*InstanceType, error)
func (*SRegion) GetInstanceTypes ¶
func (self *SRegion) GetInstanceTypes() ([]SInstanceType, error)
func (*SRegion) GetInstances ¶
func (*SRegion) GetInternetGateways ¶
func (self *SRegion) GetInternetGateways(vpcId string) ([]SInternetGateway, error)
func (*SRegion) GetKeypairs ¶
func (*SRegion) GetKubeCluster ¶
func (self *SRegion) GetKubeCluster(name string) (*SKubeCluster, error)
func (*SRegion) GetKubeClusters ¶
func (self *SRegion) GetKubeClusters(nextToken string) ([]SKubeCluster, string, error)
func (*SRegion) GetLoadbalancers ¶
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) GetNodegroup ¶
func (self *SRegion) GetNodegroup(cluster, name string) (*SNodeGroup, error)
func (*SRegion) GetNodegroups ¶
func (self *SRegion) GetNodegroups(cluster, nextToken string) ([]SNodeGroup, string, error)
func (*SRegion) GetPasswordData ¶
func (*SRegion) GetProducts ¶
func (self *SRegion) GetProducts(serviceCode string, filters []ProductFilter, nextToken string) ([]SInstanceType, string, error)
func (*SRegion) GetProvider ¶
func (*SRegion) GetProvisionedConcurrencyConfig ¶
func (self *SRegion) GetProvisionedConcurrencyConfig(funcName, qualifier string) (*ProvisionedConcurrencyConfig, error)
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) GetReplicationGroups ¶
func (region *SRegion) GetReplicationGroups(id string) ([]SReplicationGroup, 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, subnetId, vpcPeerId, rid string, mainRouteOnly bool) ([]SRouteTable, error)
func (*SRegion) GetRuleGroup ¶
func (self *SRegion) GetRuleGroup(id, name, scope string) (*SWafRuleGroup, error)
func (*SRegion) GetSecurityGroup ¶
func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)
func (*SRegion) GetSecurityGroupRules ¶
func (self *SRegion) GetSecurityGroupRules(id string) ([]SSecurityGroupRule, 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) (*SVpcPeeringConnection, error)
func (*SRegion) GetZones ¶
///////////////////////////////////////////////////////////////////////////
func (*SRegion) ImportImage ¶
func (*SRegion) ImportKeypair ¶
Aws貌似不支持ssh-dss格式密钥
func (*SRegion) InitVmimport ¶
func (*SRegion) IsEmulated ¶
func (*SRegion) ListAccounts ¶
func (*SRegion) ListAvailableManagedRuleGroups ¶
func (self *SRegion) ListAvailableManagedRuleGroups(scope string) ([]SWafRuleGroup, error)
func (*SRegion) ListClusters ¶
func (*SRegion) ListFunctions ¶
func (self *SRegion) ListFunctions() ([]LambdaFunction, 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) ListServerCertificates ¶
func (self *SRegion) ListServerCertificates() ([]SElbCertificate, error)
func (*SRegion) ListStreams ¶
func (self *SRegion) ListStreams() ([]KinesisStream, error)
func (*SRegion) ListTables ¶
func (*SRegion) LookupEvents ¶
func (*SRegion) ModifyInstanceAttribute ¶
func (self *SRegion) ModifyInstanceAttribute(instanceId string, opts *SInstanceAttr) error
func (*SRegion) ModifySubnetAttribute ¶
func (*SRegion) RebootDBInstance ¶
func (*SRegion) RemoveElbBackend ¶
func (*SRegion) RemoveElbBackends ¶
func (*SRegion) RemoveElbTags ¶
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) SyncElbBackend ¶
func (*SRegion) UnassignAddress ¶
func (*SRegion) Update ¶
func (region *SRegion) Update(instanceId string, input cloudprovider.SDBInstanceUpdateOptions) error
func (*SRegion) UpdateEipBandwidth ¶
func (*SRegion) UpdateRulesPriority ¶
func (self *SRegion) UpdateRulesPriority(rules []cloudprovider.ICloudLoadbalancerListenerRule) error
func (*SRegion) UpdateSecurityGroupRule ¶
func (self *SRegion) UpdateSecurityGroupRule(secgroupId, ruleId string, opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
func (*SRegion) UpdateVM ¶
func (self *SRegion) UpdateVM(instanceId string, input cloudprovider.SInstanceUpdateOptions) error
type SReplicationGroup ¶
type SReplicationGroup struct { multicloud.SElasticcacheBase AwsTags ARN string `xml:"ARN"` AtRestEncryptionEnabled bool `xml:"AtRestEncryptionEnabled"` AuthTokenEnabled bool `xml:"AuthTokenEnabled"` AuthTokenLastModifiedDate time.Time `xml:"AuthTokenLastModifiedDate"` AutomaticFailover string `xml:"AutomaticFailover"` CacheNodeType string `xml:"CacheNodeType"` ClusterEnabled bool `xml:"ClusterEnabled"` ConfigurationEndpoint Endpoint `xml:"ConfigurationEndpoint"` Description string `xml:"Description"` GlobalReplicationGroupInfo GlobalReplicationGroupInfo `xml:"GlobalReplicationGroupInfo"` KmsKeyId string `xml:"KmsKeyId"` LogDeliveryConfigurations []LogDeliveryConfiguration `xml:"LogDeliveryConfigurations>LogDeliveryConfiguration"` MemberClusters []string `xml:"MemberClusters>ClusterId"` MemberClustersOutpostArns []string `xml:"MemberClustersOutpostArns>member"` MultiAZ string `xml:"MultiAZ"` NodeGroups []NodeGroup `xml:"NodeGroups>NodeGroup"` ReplicationGroupId string `xml:"ReplicationGroupId"` SnapshotRetentionLimit int64 `xml:"SnapshotRetentionLimit"` SnapshotWindow string `xml:"SnapshotWindow"` SnapshottingClusterId string `xml:"SnapshottingClusterId"` Status string `xml:"Status"` TransitEncryptionEnabled bool `xml:"TransitEncryptionEnabled"` UserGroupIds []string `xml:"UserGroupIds>member"` // contains filtered or unexported fields }
func (*SReplicationGroup) AllocatePublicConnection ¶
func (self *SReplicationGroup) AllocatePublicConnection(port int) (string, error)
func (*SReplicationGroup) ChangeInstanceSpec ¶
func (self *SReplicationGroup) ChangeInstanceSpec(spec string) error
func (*SReplicationGroup) CreateAccount ¶
func (self *SReplicationGroup) CreateAccount(input cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SReplicationGroup) CreateAcl ¶
func (self *SReplicationGroup) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SReplicationGroup) CreateBackup ¶
func (self *SReplicationGroup) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SReplicationGroup) Delete ¶
func (self *SReplicationGroup) Delete() error
func (*SReplicationGroup) FlushInstance ¶
func (self *SReplicationGroup) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SReplicationGroup) GetArchType ¶
func (self *SReplicationGroup) GetArchType() string
func (*SReplicationGroup) GetAuthMode ¶
func (self *SReplicationGroup) GetAuthMode() string
func (*SReplicationGroup) GetBillingType ¶
func (self *SReplicationGroup) GetBillingType() string
func (*SReplicationGroup) GetCapacityMB ¶
func (self *SReplicationGroup) GetCapacityMB() int
func (*SReplicationGroup) GetCluster ¶
func (self *SReplicationGroup) GetCluster() (*SElasticache, error)
func (*SReplicationGroup) GetCreatedAt ¶
func (self *SReplicationGroup) GetCreatedAt() time.Time
func (*SReplicationGroup) GetEngine ¶
func (self *SReplicationGroup) GetEngine() string
func (*SReplicationGroup) GetEngineVersion ¶
func (self *SReplicationGroup) GetEngineVersion() string
func (*SReplicationGroup) GetExpiredAt ¶
func (self *SReplicationGroup) GetExpiredAt() time.Time
func (*SReplicationGroup) GetGlobalId ¶
func (self *SReplicationGroup) GetGlobalId() string
func (*SReplicationGroup) GetICloudElasticcacheAccount ¶
func (self *SReplicationGroup) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SReplicationGroup) GetICloudElasticcacheAccounts ¶
func (self *SReplicationGroup) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SReplicationGroup) GetICloudElasticcacheAcl ¶
func (self *SReplicationGroup) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SReplicationGroup) GetICloudElasticcacheAcls ¶
func (self *SReplicationGroup) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SReplicationGroup) GetICloudElasticcacheBackup ¶
func (self *SReplicationGroup) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SReplicationGroup) GetICloudElasticcacheBackups ¶
func (self *SReplicationGroup) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SReplicationGroup) GetICloudElasticcacheParameters ¶
func (self *SReplicationGroup) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SReplicationGroup) GetId ¶
func (self *SReplicationGroup) GetId() string
func (*SReplicationGroup) GetInstanceType ¶
func (self *SReplicationGroup) GetInstanceType() string
func (*SReplicationGroup) GetMaintainEndTime ¶
func (self *SReplicationGroup) GetMaintainEndTime() string
func (*SReplicationGroup) GetMaintainStartTime ¶
func (self *SReplicationGroup) GetMaintainStartTime() string
func (*SReplicationGroup) GetName ¶
func (self *SReplicationGroup) GetName() string
func (*SReplicationGroup) GetNetworkId ¶
func (self *SReplicationGroup) GetNetworkId() string
func (*SReplicationGroup) GetNetworkType ¶
func (self *SReplicationGroup) GetNetworkType() string
func (*SReplicationGroup) GetNodeType ¶
func (self *SReplicationGroup) GetNodeType() string
func (*SReplicationGroup) GetPrivateConnectPort ¶
func (self *SReplicationGroup) GetPrivateConnectPort() int
func (*SReplicationGroup) GetPrivateDNS ¶
func (self *SReplicationGroup) GetPrivateDNS() string
cluster mode(shard) 只有配置endpoint,no cluster mode 有primary/readonly endpoint
func (*SReplicationGroup) GetPrivateIpAddr ¶
func (self *SReplicationGroup) GetPrivateIpAddr() string
func (*SReplicationGroup) GetPublicConnectPort ¶
func (self *SReplicationGroup) GetPublicConnectPort() int
func (*SReplicationGroup) GetPublicDNS ¶
func (self *SReplicationGroup) GetPublicDNS() string
func (*SReplicationGroup) GetPublicIpAddr ¶
func (self *SReplicationGroup) GetPublicIpAddr() string
func (*SReplicationGroup) GetSecurityGroupIds ¶
func (self *SReplicationGroup) GetSecurityGroupIds() ([]string, error)
func (*SReplicationGroup) GetStatus ¶
func (self *SReplicationGroup) GetStatus() string
func (*SReplicationGroup) GetTags ¶
func (self *SReplicationGroup) GetTags() (map[string]string, error)
func (*SReplicationGroup) GetVpcId ¶
func (self *SReplicationGroup) GetVpcId() string
func (*SReplicationGroup) GetZoneId ¶
func (self *SReplicationGroup) GetZoneId() string
func (*SReplicationGroup) Refresh ¶
func (self *SReplicationGroup) Refresh() error
func (*SReplicationGroup) ReleasePublicConnection ¶
func (self *SReplicationGroup) ReleasePublicConnection() error
func (*SReplicationGroup) Renew ¶
func (self *SReplicationGroup) Renew(bc billing.SBillingCycle) error
func (*SReplicationGroup) Restart ¶
func (self *SReplicationGroup) Restart() error
func (*SReplicationGroup) SetMaintainTime ¶
func (self *SReplicationGroup) SetMaintainTime(maintainStartTime, maintainEndTime string) error
func (*SReplicationGroup) SetTags ¶
func (self *SReplicationGroup) SetTags(tags map[string]string, replace bool) error
func (*SReplicationGroup) UpdateAuthMode ¶
func (self *SReplicationGroup) UpdateAuthMode(noPwdAccess bool, password string) error
func (*SReplicationGroup) UpdateBackupPolicy ¶
func (self *SReplicationGroup) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SReplicationGroup) UpdateInstanceParameters ¶
func (self *SReplicationGroup) UpdateInstanceParameters(config jsonutils.JSONObject) error
func (*SReplicationGroup) UpdateSecurityGroups ¶
func (self *SReplicationGroup) UpdateSecurityGroups(secgroupIds []string) 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 AwsTags DestinationCIDRBlock string `json:"DestinationCidrBlock"` Origin string `json:"Origin"` State string `json:"State"` // only one exist GatewayId string `xml:"gatewayId,omitempty"` NatGatewayId string `xml:"natGatewayId,omitempty"` InstanceId string `xml:"instanceId,omitempty"` LocalGatewayId string `xml:"localGatewayId,omitempty"` NetworkInterfaceId string `xml:"networkInterfaceId,omitempty"` TransitGatewayId string `xml:"transitGatewayId,omitempty"` VpcPeeringConnectionId string `xml:"vpcPeeringConnectionId,omitempty"` // contains filtered or unexported fields }
func (*SRoute) GetDescription ¶
func (*SRoute) GetGlobalId ¶
func (*SRoute) GetNextHop ¶
func (*SRoute) GetNextHopType ¶
func (*SRoute) IsEmulated ¶
type SRouteTable ¶
type SRouteTable struct { multicloud.SResourceBase AwsTags Associations []Association `xml:"associationSet>item"` PropagatingVgws []string `xml:"propagatingVgwSet>item"` RouteTableId string `xml:"routeTableId"` Routes []SRoute `xml:"routeSet>item"` 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) 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 AwsTags GroupId string `xml:"groupId"` VpcId string `xml:"vpcId"` GroupName string `xml:"groupName"` GroupDescription string `xml:"groupDescription"` // contains filtered or unexported fields }
func (*SSecurityGroup) CreateRule ¶
func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetRules ¶
func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) GetStatus ¶
func (self *SSecurityGroup) GetStatus() string
func (*SSecurityGroup) GetVpcId ¶
func (self *SSecurityGroup) GetVpcId() string
func (*SSecurityGroup) Refresh ¶
func (self *SSecurityGroup) Refresh() error
type SSecurityGroupIds ¶
type SSecurityGroupIds struct {
SecurityGroupId []string
}
type SSecurityGroupRule ¶
type SSecurityGroupRule struct { FromPort int `xml:"fromPort"` GroupId string `xml:"groupId"` IpProtocol string `xml:"ipProtocol"` GroupOwnerId string `xml:"groupOwnerId"` IsEgress bool `xml:"isEgress"` SecurityGroupRuleId string `xml:"securityGroupRuleId"` ReferencedGroupInfo struct { GroupId string `xml:"groupId"` UserId string `xml:"userId"` } `xml:"referencedGroupInfo"` CidrIpv4 string `xml:"cidrIpv4"` CidrIpv6 string `xml:"cidrIpv6"` Description string `xml:"description"` PrefixListId string `xml:"prefixListId"` ToPort int `xml:"toPort"` // contains filtered or unexported fields }
func (*SSecurityGroupRule) Delete ¶
func (self *SSecurityGroupRule) Delete() error
func (*SSecurityGroupRule) GetAction ¶
func (self *SSecurityGroupRule) GetAction() secrules.TSecurityRuleAction
func (*SSecurityGroupRule) GetCIDRs ¶
func (self *SSecurityGroupRule) GetCIDRs() []string
func (*SSecurityGroupRule) GetDescription ¶
func (self *SSecurityGroupRule) GetDescription() string
func (*SSecurityGroupRule) GetDirection ¶
func (self *SSecurityGroupRule) GetDirection() secrules.TSecurityRuleDirection
func (*SSecurityGroupRule) GetGlobalId ¶
func (self *SSecurityGroupRule) GetGlobalId() string
func (*SSecurityGroupRule) GetPorts ¶
func (self *SSecurityGroupRule) GetPorts() string
func (*SSecurityGroupRule) GetPriority ¶
func (self *SSecurityGroupRule) GetPriority() int
func (*SSecurityGroupRule) GetProtocol ¶
func (self *SSecurityGroupRule) GetProtocol() string
func (*SSecurityGroupRule) Update ¶
func (self *SSecurityGroupRule) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
type SSnapshot ¶
type SSnapshot struct { multicloud.SResourceBase AwsTags DataEncryptionKeyId string `xml:"dataEncryptionKeyId"` Description string `xml:"description"` Encrypted bool `xml:"encrypted"` KmsKeyId string `xml:"kmsKeyId"` OutpostArn string `xml:"outpostArn"` OwnerAlias string `xml:"ownerAlias"` OwnerId string `xml:"ownerId"` Progress string `xml:"progress"` SnapshotId string `xml:"snapshotId"` StartTime time.Time `xml:"startTime"` State string `xml:"status"` StateMessage string `xml:"statusMessage"` VolumeId string `xml:"volumeId"` VolumeSize int64 `xml:"volumeSize"` // contains filtered or unexported fields }
func (*SSnapshot) GetDescription ¶
func (*SSnapshot) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) GetProjectId ¶
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) GetDescription ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(id 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 AwsTags // contains filtered or unexported fields }
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetDescription ¶
func (self *SStoragecache) GetDescription() string
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) Refresh ¶
func (self *SStoragecache) Refresh() error
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type 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 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 AwsTags VpcId string `xml:"vpcId"` CidrBlock string `xml:"cidrBlock"` CidrBlockAssociationSet []struct { CidrBlock string `xml:"cidrBlock"` AssociationId string `xml:"associationId"` CidrBlockState struct { State string `xml:"state"` } `xml:"cidrBlockState"` } `xml:"cidrBlockAssociationSet>item"` IsDefault bool `xml:"isDefault"` Status string `xml:"state"` InstanceTenancy string `xml:"instanceTenancy"` // 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) DeleteInternetGateways ¶
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) IsSupportSetExternalAccess ¶
type SVpcAttributes ¶
type SVpcAttributes struct { PrivateIpAddress SIpAddress NetworkId string // subnet id VpcId string }
type SVpcPeeringConnection ¶
type SVpcPeeringConnection struct { multicloud.SResourceBase AwsTags AccepterVpcInfo VpcPeeringConnectionVpcInfo `xml:"accepterVpcInfo"` ExpirationTime time.Time `xml:"expirationTime"` RequesterVpcInfo VpcPeeringConnectionVpcInfo `xml:"requesterVpcInfo"` Status struct { Code string `xml:"code"` Message string `xml:"message"` } `xml:"status"` VpcPeeringConnectionId string `xml:"vpcPeeringConnectionId"` // contains filtered or unexported fields }
func (*SVpcPeeringConnection) Delete ¶
func (self *SVpcPeeringConnection) Delete() error
func (*SVpcPeeringConnection) GetDescription ¶
func (self *SVpcPeeringConnection) GetDescription() string
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) GetName ¶
func (self *SVpcPeeringConnection) GetName() 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 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) GetDescription ¶
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 AwsTags // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetDescription ¶
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 AwsTags ZoneName string `xml:"zoneName"` ZoneId string `xml:"zoneId"` ZoneState string `xml:"zoneState"` RegionName string `xml:"regionName"` GroupName string `xml:"groupName"` OptInStatus string `xml:"optInStatus"` NetworkBorderGroup string `xml:"networkBorderGroup"` ZoneType string `xml:"zoneType"` // contains filtered or unexported fields }
func (*SZone) GetDescription ¶
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)
type SecurityGroupMembership ¶
type Subnet ¶
type Subnet struct { SubnetAvailabilityZone AvailabilityZone `xml:"SubnetAvailabilityZone"` SubnetIdentifier string `xml:"SubnetIdentifier"` SubnetOutpost SubnetOutpost `xml:"SubnetOutpost"` }
type SubnetOutpost ¶
type SubnetOutpost struct {
SubnetOutpostArn string `xml:"SubnetOutpostArn"`
}
type TImageOwnerType ¶
type TImageOwnerType string
type TargetHealth ¶
type TermAttributes ¶
type VolumeAttachment ¶
type VpcPeeringConnectionVpcInfo ¶
type VpcPeeringConnectionVpcInfo struct { CidrBlock string `xml:"cidrBlock"` CidrBlockSet []struct { CidrBlock string `xml:"cidrBlock"` } `xml:"cidrBlockSet"` Ipv6CidrBlockSet []struct { Ipv6CidrBlock string `xml:"ipv6CidrBlock"` } `xml:"ipv6CidrBlockSet"` OwnerId string `xml:"ownerId"` PeeringOptions struct { AllowDnsResolutionFromRemoteVpc bool `xml:"allowDnsResolutionFromRemoteVpc"` AllowEgressFromLocalClassicLinkToRemoteVpc bool `xml:"allowEgressFromLocalClassicLinkToRemoteVpc"` AllowEgressFromLocalVpcToRemoteClassicLink bool `xml:"allowEgressFromLocalVpcToRemoteClassicLink"` } `xml:"peeringOptions"` Region string `xml:"region"` VpcId string `xml:"vpcId"` }
Source Files ¶
- aws.go
- aws_invoke.go
- aws_request.go
- aws_xml_request.go
- bucket.go
- cdn.go
- cloudtrail.go
- container.go
- dbinstance.go
- dbinstance_account.go
- dbinstance_const.go
- dbinstance_database.go
- dbinstance_parameter.go
- dbinstance_snapshot.go
- disk.go
- dnsrecord.go
- dnszone.go
- doc.go
- dynamodb.go
- eip.go
- eks.go
- eks_node_group.go
- elasticache_instance.go
- elasticache_instancetype.go
- elasticache_memcached.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
- kinesis.go
- lambda.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
- product.go
- region.go
- reservedinstance.go
- route.go
- routetable.go
- s3object.go
- saml_provider.go
- secgrouprule.go
- securitygroup.go
- sku.go
- snapshot.go
- snapshot_policy.go
- storage.go
- storagecache.go
- sts.go
- tag_base.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