Documentation ¶
Index ¶
- Constants
- Variables
- func DetectEmptyRanges(diskStream *diskstream.DiskStream, uploadableRanges []*common.IndexRange) ([]*common.IndexRange, error)
- func GetDataWithRanges(stream *diskstream.DiskStream, ranges []*common.IndexRange) (<-chan *DataWithRange, <-chan error)
- func LocateNonEmptyRangeIndices(stream *diskstream.DiskStream, ranges []*common.IndexRange) (<-chan int32, <-chan error)
- func LocateUploadableRanges(stream *diskstream.DiskStream, rangesToSkip []*common.IndexRange, ...) ([]*common.IndexRange, error)
- func LogRequest() autorest.PrepareDecorator
- func LogResponse() autorest.RespondDecorator
- func Upload(cxt *DiskUploadContext, callback func(float32)) error
- type AccessProperties
- type AccessURI
- type AccessURIOutput
- type AccountKeys
- type AccountProperties
- type AddressSpace
- type AutoscaleConfiguration
- type AzureClientConfig
- type AzureError
- type AzureErrorDetail
- type AzureResponseError
- type AzureTableMetricData
- type AzureTableMetricDataValue
- type AzureTags
- type BackendAddress
- type BackendAddressPool
- type BackendAddressPoolProperties
- type BackendHTTPSettingsCollection
- type BackendHTTPSettingsCollectionProperties
- type BackendIPConfiguration
- type Capabilitie
- type ConnectionDraining
- type ContentProperties
- type CreationData
- type CustomRule
- func (self *CustomRule) Delete() error
- func (self *CustomRule) GetAction() *cloudprovider.DefaultAction
- func (self *CustomRule) GetDesc() string
- func (self *CustomRule) GetGlobalId() string
- func (self *CustomRule) GetName() string
- func (self *CustomRule) GetPriority() int
- func (self *CustomRule) GetStatementCondition() cloudprovider.TWafStatementCondition
- func (self *CustomRule) GetStatements() ([]cloudprovider.SWafStatement, error)
- func (self *CustomRule) Update(opts *cloudprovider.SWafRule) error
- type DNSSettings
- type DataWithRange
- type DebugProfile
- type DiskProperties
- type DiskSku
- type DiskUploadContext
- type DomainName
- type FrontendIPConfiguration
- type FrontendIPConfigurationProperties
- type FrontendPort
- type FrontendPortProperties
- type GatewayIPConfiguration
- type GatewayIPConfigurationProperties
- type GroupProperties
- type HTTPListener
- type HTTPListenerProperties
- type HardwareProfile
- type IPConfiguration
- type IPConfigurationProperties
- type IPConfigurationPropertiesFormat
- type Identity
- type ImageDataDisk
- type ImageDiskReference
- type ImageOSDisk
- type ImageProperties
- type ImageReference
- type ImageStatusType
- type ImageStorageProfile
- type InboundNatRule
- type InboundNatRuleProperties
- type Interface
- type InterfaceIPConfiguration
- type InterfaceIPConfigurationPropertiesFormat
- type InterfacePropertiesFormat
- type LinuxConfiguration
- type LoadBalancingRule
- type LoadBalancingRuleProperties
- type LocalizableString
- type ManagedDiskParameters
- type ManagedRule
- type ManagedRules
- func (self *ManagedRules) Delete() error
- func (self *ManagedRules) GetAction() *cloudprovider.DefaultAction
- func (self *ManagedRules) GetDesc() string
- func (self *ManagedRules) GetGlobalId() string
- func (self *ManagedRules) GetName() string
- func (self *ManagedRules) GetPriority() int
- func (self *ManagedRules) GetStatementCondition() cloudprovider.TWafStatementCondition
- func (self *ManagedRules) GetStatements() ([]cloudprovider.SWafStatement, error)
- func (self *ManagedRules) Update(opts *cloudprovider.SWafRule) error
- type Match
- type MetadataValue
- type Metric
- type MetricValue
- type MetrifDefinition
- type MetrifDefinitions
- type NetworkInterfaceIPConfiguration
- type NetworkInterfaceReference
- type NetworkProfile
- type NetworkSecurityGroup
- type OperatingSystemStateTypes
- type OsProfile
- type PathRule
- type PathRuleProperties
- type PolicyAssignmentProperties
- type PolicyAssignmentPropertiesParameter
- type Probe
- type ProbeId
- type ProbeProperties
- type PublicIPAddress
- type PublicIPAddressElement
- type PublicIPAddressPropertiesFormat
- type PublicIPAddressSku
- type RedirectConfiguration
- type RedirectConfigurationProperties
- type RequestRoutingRule
- type RequestRoutingRuleProperties
- type ResourceType
- type ResponseMetirc
- type SAMLProvider
- func (self *SAMLProvider) Delete() error
- func (self *SAMLProvider) GetAuthUrl(apiServer string) string
- func (self *SAMLProvider) GetGlobalId() string
- func (self *SAMLProvider) GetId() string
- func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)
- func (self *SAMLProvider) GetName() string
- func (self *SAMLProvider) GetStatus() string
- func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error
- type SASPVnetProperties
- type SApp
- type SAppEnvironment
- type SAppGatewayWaf
- func (self *SAppGatewayWaf) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
- func (self *SAppGatewayWaf) Delete() error
- func (self *SAppGatewayWaf) GetCloudResources() ([]cloudprovider.SCloudResource, error)
- func (self *SAppGatewayWaf) GetDefaultAction() *cloudprovider.DefaultAction
- func (self *SAppGatewayWaf) GetEnabled() bool
- func (self *SAppGatewayWaf) GetGlobalId() string
- func (self *SAppGatewayWaf) GetId() string
- func (self *SAppGatewayWaf) GetName() string
- func (self *SAppGatewayWaf) GetRules() ([]cloudprovider.ICloudWafRule, error)
- func (self *SAppGatewayWaf) GetStatus() string
- func (self *SAppGatewayWaf) GetWafType() cloudprovider.TWafType
- func (self *SAppGatewayWaf) Refresh() error
- func (self *SAppGatewayWaf) SetTags(tags map[string]string, replace bool) error
- type SAppServicePlan
- type SAppServicePlanProperties
- type SAppServicePlanVnet
- type SAppSite
- func (as *SAppSite) GetAppServicePlan() (*SAppServicePlan, error)
- func (as *SAppSite) GetDeployments() ([]SDeployment, error)
- func (as *SAppSite) GetGlobalId() string
- func (as *SAppSite) GetId() string
- func (as *SAppSite) GetName() string
- func (as *SAppSite) GetProjectId() string
- func (as *SAppSite) GetSlots() ([]SAppSite, error)
- func (as *SAppSite) GetStack() (string, error)
- func (as *SAppSite) GetStatus() string
- type SAppSiteProperties
- type SAppWafRuleGroup
- type SApplicationGateway
- type SApplicationGatewayProperties
- type SAssignment
- type SAssignmentProperties
- type SAuthorization
- type SAutomaticOSUpgradeProperties
- type SAutoscaleProfile
- type SAutoscaleSettingProperties
- type SAutoscaleSettingResource
- type SAzureClient
- func (self *SAzureClient) AddGroupUser(id, userName string) error
- func (cli *SAzureClient) AssignPolicy(objectId, roleName, subscriptionId string) error
- func (self *SAzureClient) CheckNameAvailability(resourceType, name string) (bool, error)
- func (self *SAzureClient) CreateClouduser(name, password string) (*SClouduser, error)
- func (self *SAzureClient) CreateGroup(name, desc string) (*SCloudgroup, error)
- func (self *SAzureClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAzureClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAzureClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SAzureClient) CreateSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (*SAMLProvider, error)
- func (cli *SAzureClient) CreateSubscription(name string, eaId string, offerType string) error
- func (self *SAzureClient) DeleteClouduser(id string) error
- func (self *SAzureClient) DeleteGroup(id string) error
- func (self *SAzureClient) GDelete(resourceId string) error
- func (self *SAzureClient) GetAccessEnv() string
- func (self *SAzureClient) GetAccountId() string
- func (cli *SAzureClient) GetAppObjectId() (string, error)
- func (cli *SAzureClient) GetAssignments(objectId string) ([]SAssignment, error)
- func (self *SAzureClient) GetCapabilities() []string
- func (self *SAzureClient) GetCloudgroups(name string) ([]SCloudgroup, error)
- func (cli *SAzureClient) GetCloudpolicies(objectId string) ([]SCloudpolicy, error)
- func (self *SAzureClient) GetClouduser(name string) (*SClouduser, error)
- func (self *SAzureClient) GetCloudusers() ([]SClouduser, error)
- func (self *SAzureClient) GetDefaultDomain() (string, error)
- func (self *SAzureClient) GetDomains() ([]SDomain, error)
- func (self *SAzureClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (cli *SAzureClient) GetEnrollmentAccounts() ([]cloudprovider.SEnrollmentAccount, error)
- func (self *SAzureClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAzureClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAzureClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAzureClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (cli *SAzureClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAzureClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SAzureClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAzureClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAzureClient) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAzureClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (cli *SAzureClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAzureClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SAzureClient) GetIamLoginUrl() string
- func (self *SAzureClient) GetInstanceDiskUsage(workspace string, instanceId string, start, end time.Time) ([]WorkspaceData, error)
- func (self *SAzureClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAzureClient) GetLbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAzureClient) GetLoganalyticsWorkspaces() ([]SLoganalyticsWorkspace, error)
- func (self *SAzureClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (client *SAzureClient) GetPolicyAssignments(defineId string) ([]SPolicyAssignment, error)
- func (client *SAzureClient) GetPolicyDefinition(id string) (*SPolicyDefinition, error)
- func (client *SAzureClient) GetPolicyDefinitions() ([]SPolicyDefinition, error)
- func (self *SAzureClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAzureClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAzureClient) GetRegion(regionId string) *SRegion
- func (self *SAzureClient) GetRegions() []SRegion
- func (cli *SAzureClient) GetRole(roleId string) (*SCloudpolicy, error)
- func (cli *SAzureClient) GetRoles(name, policyType string) ([]SCloudpolicy, error)
- func (self *SAzureClient) GetSercice(serviceType string) (*SService, error)
- func (self *SAzureClient) GetStorageClasses(regionExtId string) ([]string, error)
- func (self *SAzureClient) GetSubAccounts() (subAccounts []cloudprovider.SSubAccount, err error)
- func (self *SAzureClient) GetTags(resourceId string) (map[string]string, error)
- func (self *SAzureClient) GetUserGroups(userId string) ([]SCloudgroup, error)
- func (self *SAzureClient) InviteUser(email string) (*SClouduser, error)
- func (self *SAzureClient) ListGraphUsers() ([]SClouduser, error)
- func (self *SAzureClient) ListGroupMemebers(id string) ([]SClouduser, error)
- func (self *SAzureClient) ListRegions() ([]SRegion, error)
- func (self *SAzureClient) ListResourceGroups() ([]SResourceGroup, error)
- func (self *SAzureClient) ListResourceSkus() ([]SResourceSku, error)
- func (self *SAzureClient) ListSAMLProviders() ([]SAMLProvider, error)
- func (cli *SAzureClient) ListServicePrincipal(appId string) ([]SServicePrincipal, error)
- func (self *SAzureClient) ListServices() ([]SService, error)
- func (self *SAzureClient) ListSubscriptions() ([]SSubscription, error)
- func (self *SAzureClient) RemoveGroupUser(id, userName string) error
- func (self *SAzureClient) ResetClouduserPassword(id, password string) error
- func (self *SAzureClient) ServiceRegister(serviceType string) error
- func (self *SAzureClient) ServiceUnRegister(serviceType string) error
- func (self *SAzureClient) SetTags(resourceId string, tags map[string]string) (jsonutils.JSONObject, error)
- type SAzureImageResource
- type SAzureImageResourceProperties
- type SBackendaddresspool
- type SBackendhttpsettingscollection
- type SCapability
- type SClaims
- type SCloudgroup
- func (group *SCloudgroup) AddUser(name string) error
- func (group *SCloudgroup) AttachCustomPolicy(policyId string) error
- func (group *SCloudgroup) AttachSystemPolicy(policyId string) error
- func (group *SCloudgroup) Delete() error
- func (group *SCloudgroup) DetachCustomPolicy(policyId string) error
- func (group *SCloudgroup) DetachSystemPolicy(policyId string) error
- func (group *SCloudgroup) GetDescription() string
- func (group *SCloudgroup) GetGlobalId() string
- func (group *SCloudgroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (group *SCloudgroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (group *SCloudgroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (group *SCloudgroup) GetName() string
- func (group *SCloudgroup) RemoveUser(name string) error
- type SCloudpolicy
- func (role *SCloudpolicy) Delete() error
- func (role *SCloudpolicy) GetDescription() string
- func (role *SCloudpolicy) GetDocument() (*jsonutils.JSONDict, error)
- func (role *SCloudpolicy) GetGlobalId() string
- func (role *SCloudpolicy) GetName() string
- func (role *SCloudpolicy) UpdateDocument(document *jsonutils.JSONDict) error
- type SClouduser
- func (user *SClouduser) AttachCustomPolicy(policyId string) error
- func (user *SClouduser) AttachSystemPolicy(policyId string) error
- func (user *SClouduser) Delete() error
- func (user *SClouduser) DetachCustomPolicy(policyId string) error
- func (user *SClouduser) DetachSystemPolicy(policyId string) error
- func (user *SClouduser) GetEmailAddr() string
- func (user *SClouduser) GetGlobalId() string
- func (user *SClouduser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (user *SClouduser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SClouduser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (user *SClouduser) GetInviteUrl() string
- func (user *SClouduser) GetName() string
- func (user *SClouduser) IsConsoleLogin() bool
- func (user *SClouduser) ResetPassword(password string) error
- type SClouduserPasswordProfile
- type SContainer
- func (self *SContainer) CopySnapshot(snapshotId, fileName string) (*storage.Blob, error)
- func (self *SContainer) Delete(fileName string) error
- func (self *SContainer) ListAllFiles(include *storage.IncludeBlobDataset) ([]storage.Blob, error)
- func (self *SContainer) ListFiles(prefix string, marker string, delimiter string, maxCount int, ...) (storage.BlobListResponse, error)
- func (self *SContainer) SignUrl(method string, key string, expire time.Duration) (string, error)
- func (self *SContainer) UploadFile(filePath string, callback func(progress float32)) (string, error)
- func (self *SContainer) UploadStream(key string, reader io.Reader, meta http.Header) error
- type SDBInstance
- func (rds *SDBInstance) Delete() error
- func (rds *SDBInstance) GetCategory() string
- func (rds *SDBInstance) GetConnectionStr() string
- func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (rds *SDBInstance) GetDiskSizeGB() int
- func (rds *SDBInstance) GetEngine() string
- func (rds *SDBInstance) GetEngineVersion() string
- func (rds *SDBInstance) GetExpiredAt() time.Time
- func (rds *SDBInstance) GetGlobalId() string
- func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
- func (rds *SDBInstance) GetIVpcId() string
- func (rds *SDBInstance) GetId() string
- func (rds *SDBInstance) GetInstanceType() string
- func (rds *SDBInstance) GetMaintainTime() string
- func (rds *SDBInstance) GetMasterInstanceId() string
- func (rds *SDBInstance) GetName() string
- func (rds *SDBInstance) GetPort() int
- func (self *SDBInstance) GetProjectId() string
- 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) Refresh() error
- func (self *SDBInstance) SetTags(tags map[string]string, replace bool) error
- type SDBInstanceAccount
- type SDBInstanceConfiguration
- type SDBInstanceConfigurationProperties
- type SDBInstanceDatabase
- func (database *SDBInstanceDatabase) GetCharacterSet() string
- func (database *SDBInstanceDatabase) GetGlobalId() string
- func (database *SDBInstanceDatabase) GetId() string
- func (database *SDBInstanceDatabase) GetName() string
- func (database *SDBInstanceDatabase) GetStatus() string
- func (database *SDBInstanceDatabase) IsEmulated() bool
- func (database *SDBInstanceDatabase) Refresh() error
- type SDBInstanceDatabaseProperties
- type SDBInstanceDelegatedSubnetArguments
- type SDBInstanceProperties
- type SDBInstanceSku
- type SDBInstanceStorageProfile
- type SDBInstanceVirtualNetworkRule
- type SDBInstanceVirtualNetworkRuleProperties
- type SDataDisk
- func (self *SDataDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDataDisk) Delete(ctx context.Context) error
- func (disk *SDataDisk) GetAccessPath() string
- func (self *SDataDisk) GetCacheMode() string
- func (self *SDataDisk) GetDiskFormat() string
- func (self *SDataDisk) GetDiskSizeMB() int
- func (self *SDataDisk) GetDiskType() string
- func (self *SDataDisk) GetDriver() string
- func (self *SDataDisk) GetFsFormat() string
- func (self *SDataDisk) GetGlobalId() string
- func (self *SDataDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDataDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDataDisk) GetId() string
- func (self *SDataDisk) GetIsAutoDelete() bool
- func (self *SDataDisk) GetIsNonPersistent() bool
- func (self *SDataDisk) GetMountpoint() string
- func (self *SDataDisk) GetName() string
- func (self *SDataDisk) GetProjectId() string
- func (self *SDataDisk) GetStatus() string
- func (self *SDataDisk) GetTemplateId() string
- func (self *SDataDisk) Rebuild(ctx context.Context) error
- func (self *SDataDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDataDisk) Resize(ctx context.Context, sizeMb int64) error
- type SDeployment
- type SDeploymentProperties
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (disk *SDisk) GetAccessPath() string
- func (self *SDisk) GetBillingType() string
- func (self *SDisk) GetCacheMode() string
- func (self *SDisk) GetCreatedAt() time.Time
- func (self *SDisk) GetDiskFormat() string
- func (self *SDisk) GetDiskSizeMB() int
- func (self *SDisk) GetDiskType() string
- func (self *SDisk) GetDriver() string
- func (self *SDisk) GetExpiredAt() time.Time
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- 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) GetTags() (map[string]string, error)
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) IsEmulated() bool
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Refresh() error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- type SDomain
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetProjectId() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- type SEnrollmentAccount
- type SEnrollmentAccountProperties
- type SEnterpriseRedisCache
- func (self *SEnterpriseRedisCache) AllocatePublicConnection(port int) (string, error)
- func (self *SEnterpriseRedisCache) ChangeInstanceSpec(spec string) error
- func (self *SEnterpriseRedisCache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SEnterpriseRedisCache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SEnterpriseRedisCache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SEnterpriseRedisCache) Delete() error
- func (self *SEnterpriseRedisCache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SEnterpriseRedisCache) GetArchType() string
- func (self *SEnterpriseRedisCache) GetAuthMode() string
- func (self *SEnterpriseRedisCache) GetCapacityMB() int
- func (self *SEnterpriseRedisCache) GetEngine() string
- func (self *SEnterpriseRedisCache) GetEngineVersion() string
- func (self *SEnterpriseRedisCache) GetGlobalId() string
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SEnterpriseRedisCache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SEnterpriseRedisCache) GetId() string
- func (self *SEnterpriseRedisCache) GetInstanceType() string
- func (self *SEnterpriseRedisCache) GetMaintainEndTime() string
- func (self *SEnterpriseRedisCache) GetMaintainStartTime() string
- func (self *SEnterpriseRedisCache) GetName() string
- func (self *SEnterpriseRedisCache) GetNetworkId() string
- func (self *SEnterpriseRedisCache) GetNetworkType() string
- func (self *SEnterpriseRedisCache) GetNodeType() string
- func (self *SEnterpriseRedisCache) GetPrivateConnectPort() int
- func (self *SEnterpriseRedisCache) GetPrivateDNS() string
- func (self *SEnterpriseRedisCache) GetPrivateIpAddr() string
- func (self *SEnterpriseRedisCache) GetProjectId() string
- func (self *SEnterpriseRedisCache) GetPublicConnectPort() int
- func (self *SEnterpriseRedisCache) GetPublicDNS() string
- func (self *SEnterpriseRedisCache) GetPublicIpAddr() string
- func (self *SEnterpriseRedisCache) GetSecurityGroupIds() ([]string, error)
- func (self *SEnterpriseRedisCache) GetStatus() string
- func (self *SEnterpriseRedisCache) GetVpcId() string
- func (self *SEnterpriseRedisCache) GetZoneId() string
- func (self *SEnterpriseRedisCache) ReleasePublicConnection() error
- func (self *SEnterpriseRedisCache) Restart() error
- func (self *SEnterpriseRedisCache) SetMaintainTime(start, end string) error
- func (self *SEnterpriseRedisCache) UpdateAuthMode(noPasswordAccess bool, password string) error
- func (self *SEnterpriseRedisCache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SEnterpriseRedisCache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SEnterpriseRedisCache) UpdateSecurityGroups(secgroupIds []string) error
- type SEvent
- func (event *SEvent) GetAccount() string
- func (event *SEvent) GetAction() string
- func (event *SEvent) GetCreatedAt() time.Time
- func (event *SEvent) GetName() string
- func (event *SEvent) GetRequest() jsonutils.JSONObject
- func (event *SEvent) GetRequestId() string
- func (event *SEvent) GetResourceType() string
- func (event *SEvent) GetService() string
- func (event *SEvent) IsSuccess() bool
- type SExtension
- type SExtensionResource
- type SExtensionResourceProperties
- type SFrontDoorProperties
- type SFrontDoorWaf
- type SFrontendipconfiguration
- type SFrontendport
- type SGatewayipconfiguration
- 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(instanceId string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetId() string
- func (host *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int64
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (host *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- type SHostNameSslState
- type SHostingEnvironmentProfile
- type SHttplistener
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (i *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetBlobUri() string
- func (self *SImage) GetCreatedAt() time.Time
- func (i *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) GetSysTags() map[string]string
- 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) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBillingType() string
- func (self *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (self *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (i *SInstance) GetOsArch() string
- func (i *SInstance) GetOsDist() string
- func (i *SInstance) GetOsLang() string
- func (self *SInstance) GetOsType() cloudprovider.TOsType
- func (i *SInstance) GetOsVersion() string
- func (ins *SInstance) GetPowerStates() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetSysTags() map[string]string
- func (self *SInstance) GetTags() (map[string]string, error)
- func (self *SInstance) 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
- func (self *SInstance) WaitEnableVMAccessReady() error
- func (self *SInstance) WaitVMAgentReady() error
- type SInstanceNic
- func (self *SInstanceNic) Delete() error
- func (self *SInstanceNic) GetAssociateId() string
- func (self *SInstanceNic) GetAssociateType() string
- func (self *SInstanceNic) GetDriver() string
- func (self *SInstanceNic) GetGlobalId() string
- func (self *SInstanceNic) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
- func (self *SInstanceNic) GetINetworkId() string
- func (self *SInstanceNic) GetIP() string
- func (self *SInstanceNic) GetId() string
- func (self *SInstanceNic) GetMAC() string
- func (self *SInstanceNic) GetMacAddress() string
- func (self *SInstanceNic) GetName() string
- func (self *SInstanceNic) GetStatus() string
- func (self *SInstanceNic) InClassicNetwork() bool
- type SKubeCluster
- func (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) Delete(isRetain bool) error
- func (self *SKubeCluster) GetEnabled() bool
- func (self *SKubeCluster) GetGlobalId() string
- func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
- func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
- func (self *SKubeCluster) GetId() string
- func (self *SKubeCluster) GetKubeConfig(private bool, expireMinute 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 SKubeNodePool
- func (self *SKubeNodePool) Delete() error
- func (self *SKubeNodePool) GetDesiredInstanceCount() int
- func (self *SKubeNodePool) GetGlobalId() string
- func (self *SKubeNodePool) GetId() string
- func (self *SKubeNodePool) GetInstanceTypes() []string
- func (self *SKubeNodePool) GetMaxInstanceCount() int
- func (self *SKubeNodePool) GetMinInstanceCount() int
- func (self *SKubeNodePool) GetName() string
- func (self *SKubeNodePool) GetNetworkIds() []string
- func (self *SKubeNodePool) GetRootDiskSizeGb() int
- func (self *SKubeNodePool) GetStatus() string
- type SLoadBalancerListener
- func (listerner *SLoadBalancerListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
- func (self *SLoadBalancerListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
- func (self *SLoadBalancerListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLoadBalancerListener) Delete(ctx context.Context) error
- func (self *SLoadBalancerListener) GetAclId() string
- func (self *SLoadBalancerListener) GetAclStatus() string
- func (self *SLoadBalancerListener) GetAclType() string
- func (self *SLoadBalancerListener) GetBackendConnectTimeout() int
- func (self *SLoadBalancerListener) GetBackendGroupId() string
- func (self *SLoadBalancerListener) GetBackendServerPort() int
- func (self *SLoadBalancerListener) GetCertificateId() string
- func (self *SLoadBalancerListener) GetClientIdleTimeout() int
- func (self *SLoadBalancerListener) GetEgressMbps() int
- func (self *SLoadBalancerListener) GetGlobalId() string
- func (self *SLoadBalancerListener) GetHealthCheck() string
- func (self *SLoadBalancerListener) GetHealthCheckCode() string
- func (self *SLoadBalancerListener) GetHealthCheckDomain() string
- func (self *SLoadBalancerListener) GetHealthCheckExp() string
- func (self *SLoadBalancerListener) GetHealthCheckFail() int
- func (self *SLoadBalancerListener) GetHealthCheckInterval() int
- func (self *SLoadBalancerListener) GetHealthCheckReq() string
- func (self *SLoadBalancerListener) GetHealthCheckRise() int
- func (self *SLoadBalancerListener) GetHealthCheckTimeout() int
- func (self *SLoadBalancerListener) GetHealthCheckType() string
- func (self *SLoadBalancerListener) GetHealthCheckURI() string
- func (self *SLoadBalancerListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLoadBalancerListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
- func (self *SLoadBalancerListener) GetId() string
- func (self *SLoadBalancerListener) GetListenerPort() int
- func (self *SLoadBalancerListener) GetListenerType() string
- func (self *SLoadBalancerListener) GetName() string
- func (self *SLoadBalancerListener) GetProjectId() string
- func (self *SLoadBalancerListener) GetRedirect() string
- func (self *SLoadBalancerListener) GetRedirectCode() int64
- func (self *SLoadBalancerListener) GetRedirectHost() string
- func (self *SLoadBalancerListener) GetRedirectPath() string
- func (self *SLoadBalancerListener) GetRedirectScheme() string
- func (self *SLoadBalancerListener) GetScheduler() string
- func (self *SLoadBalancerListener) GetStatus() string
- func (self *SLoadBalancerListener) GetStickySession() string
- func (self *SLoadBalancerListener) GetStickySessionCookie() string
- func (self *SLoadBalancerListener) GetStickySessionCookieTimeout() int
- func (self *SLoadBalancerListener) GetStickySessionType() string
- func (self *SLoadBalancerListener) GetTLSCipherPolicy() string
- func (self *SLoadBalancerListener) GetTags() (map[string]string, error)
- func (self *SLoadBalancerListener) GzipEnabled() bool
- func (self *SLoadBalancerListener) HTTP2Enabled() bool
- func (self *SLoadBalancerListener) Refresh() error
- func (listerner *SLoadBalancerListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
- func (self *SLoadBalancerListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
- func (self *SLoadBalancerListener) SetTags(tags map[string]string, replace bool) error
- func (self *SLoadBalancerListener) Start() error
- func (self *SLoadBalancerListener) Stop() error
- func (self *SLoadBalancerListener) XForwardedForEnabled() bool
- type SLoadbalancer
- func (self *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, ...) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) Delete(ctx context.Context) error
- func (self *SLoadbalancer) GetAddress() string
- func (self *SLoadbalancer) GetAddressType() string
- func (self *SLoadbalancer) GetChargeType() string
- func (self *SLoadbalancer) GetEgressMbps() int
- func (self *SLoadbalancer) GetGlobalId() string
- func (self *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SLoadbalancer) GetIEIPById(eipId string) (cloudprovider.ICloudEIP, error)
- func (self *SLoadbalancer) GetIEIPS() ([]cloudprovider.ICloudEIP, error)
- func (self *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
- func (self *SLoadbalancer) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SLoadbalancer) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
- func (self *SLoadbalancer) GetId() string
- func (self *SLoadbalancer) GetLoadbalancerSpec() string
- func (self *SLoadbalancer) GetName() string
- func (self *SLoadbalancer) GetNetworkIds() []string
- func (self *SLoadbalancer) GetNetworkType() string
- func (self *SLoadbalancer) GetProjectId() string
- func (self *SLoadbalancer) GetStatus() string
- func (self *SLoadbalancer) GetSysTags() map[string]string
- func (self *SLoadbalancer) GetVpcId() string
- func (self *SLoadbalancer) GetZone1Id() string
- func (self *SLoadbalancer) GetZoneId() string
- func (self *SLoadbalancer) IsEmulated() bool
- func (self *SLoadbalancer) Refresh() error
- func (self *SLoadbalancer) Start() error
- func (self *SLoadbalancer) Stop() error
- type SLoadbalancerBackend
- func (self *SLoadbalancerBackend) GetBackendId() string
- func (self *SLoadbalancerBackend) GetBackendRole() string
- func (self *SLoadbalancerBackend) GetBackendType() string
- func (self *SLoadbalancerBackend) GetGlobalId() string
- func (self *SLoadbalancerBackend) GetId() string
- func (self *SLoadbalancerBackend) GetIpAddress() string
- func (self *SLoadbalancerBackend) GetName() string
- func (self *SLoadbalancerBackend) GetPort() int
- func (self *SLoadbalancerBackend) GetProjectId() string
- func (self *SLoadbalancerBackend) GetStatus() string
- func (self *SLoadbalancerBackend) GetSysTags() map[string]string
- func (self *SLoadbalancerBackend) GetTags() (map[string]string, error)
- func (self *SLoadbalancerBackend) GetWeight() int
- func (self *SLoadbalancerBackend) SetTags(tags map[string]string, replace bool) error
- func (self *SLoadbalancerBackend) SyncConf(ctx context.Context, port, weight int) error
- type SLoadbalancerBackendGroup
- func (self *SLoadbalancerBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLoadbalancerBackendGroup) Delete(ctx context.Context) error
- func (self *SLoadbalancerBackendGroup) GetGlobalId() string
- func (self *SLoadbalancerBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
- func (self *SLoadbalancerBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLoadbalancerBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
- func (self *SLoadbalancerBackendGroup) GetId() string
- func (self *SLoadbalancerBackendGroup) GetLoadbalancerId() string
- func (self *SLoadbalancerBackendGroup) GetName() string
- func (self *SLoadbalancerBackendGroup) GetProjectId() string
- func (self *SLoadbalancerBackendGroup) GetProtocolType() string
- func (self *SLoadbalancerBackendGroup) GetScheduler() string
- func (self *SLoadbalancerBackendGroup) GetStatus() string
- func (self *SLoadbalancerBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
- func (self *SLoadbalancerBackendGroup) GetSysTags() map[string]string
- func (self *SLoadbalancerBackendGroup) GetTags() (map[string]string, error)
- func (self *SLoadbalancerBackendGroup) GetType() string
- func (self *SLoadbalancerBackendGroup) IsDefault() bool
- func (self *SLoadbalancerBackendGroup) IsEmulated() bool
- func (self *SLoadbalancerBackendGroup) Refresh() error
- func (self *SLoadbalancerBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
- func (self *SLoadbalancerBackendGroup) SetTags(tags map[string]string, replace bool) error
- func (self *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
- type SLoadbalancerCert
- func (self *SLoadbalancerCert) Delete() error
- func (self *SLoadbalancerCert) GetCommonName() string
- func (self *SLoadbalancerCert) GetExpireTime() time.Time
- func (self *SLoadbalancerCert) GetFingerprint() string
- func (self *SLoadbalancerCert) GetGlobalId() string
- func (self *SLoadbalancerCert) GetId() string
- func (self *SLoadbalancerCert) GetName() string
- func (self *SLoadbalancerCert) GetPrivateKey() string
- func (self *SLoadbalancerCert) GetProjectId() string
- func (self *SLoadbalancerCert) GetPublickKey() string
- func (self *SLoadbalancerCert) GetStatus() string
- func (self *SLoadbalancerCert) GetSubjectAlternativeNames() string
- func (self *SLoadbalancerCert) GetSysTags() map[string]string
- func (self *SLoadbalancerCert) GetTags() (map[string]string, error)
- func (self *SLoadbalancerCert) IsEmulated() bool
- func (self *SLoadbalancerCert) ParsePublicKey() (*x509.Certificate, error)
- func (self *SLoadbalancerCert) Refresh() error
- func (self *SLoadbalancerCert) SetTags(tags map[string]string, replace bool) error
- func (self *SLoadbalancerCert) Sync(name, privateKey, publickKey string) error
- type SLoadbalancerListenerRule
- func (self *SLoadbalancerListenerRule) Delete(ctx context.Context) error
- func (self *SLoadbalancerListenerRule) GetBackendGroupId() string
- func (self *SLoadbalancerListenerRule) GetCondition() string
- func (self *SLoadbalancerListenerRule) GetDomain() string
- func (self *SLoadbalancerListenerRule) GetGlobalId() string
- func (self *SLoadbalancerListenerRule) GetId() string
- func (self *SLoadbalancerListenerRule) GetName() string
- func (self *SLoadbalancerListenerRule) GetPath() string
- func (self *SLoadbalancerListenerRule) GetProjectId() string
- func (self *SLoadbalancerListenerRule) GetRedirect() string
- func (self *SLoadbalancerListenerRule) GetRedirectCode() int64
- func (self *SLoadbalancerListenerRule) GetRedirectHost() string
- func (self *SLoadbalancerListenerRule) GetRedirectPath() string
- func (self *SLoadbalancerListenerRule) GetRedirectScheme() string
- func (self *SLoadbalancerListenerRule) GetStatus() string
- func (self *SLoadbalancerListenerRule) GetSysTags() map[string]string
- func (self *SLoadbalancerListenerRule) GetTags() (map[string]string, error)
- func (self *SLoadbalancerListenerRule) IsDefault() bool
- func (self *SLoadbalancerListenerRule) SetTags(tags map[string]string, replace bool) error
- type SLoadbalancerProperties
- type SLoadbalancerSku
- type SLocalized
- type SLoganalyticsWorkspace
- type SLoganalyticsWorkspaceProperties
- type SLoganalyticsWorkspacePropertiesFeatures
- type SLoganalyticsWorkspacePropertiesSku
- type SLoganalyticsWorkspacePropertiesWorkspaceCapping
- type SManagedRuleGroup
- type SManagedRuleGroupProperties
- type SManagedSQLServer
- func (self *SManagedSQLServer) GetCategory() string
- func (self *SManagedSQLServer) GetConnectionStr() string
- func (self *SManagedSQLServer) GetDiskSizeGB() int
- func (self *SManagedSQLServer) GetEngine() string
- func (self *SManagedSQLServer) GetEngineVersion() string
- func (self *SManagedSQLServer) GetGlobalId() string
- func (self *SManagedSQLServer) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (self *SManagedSQLServer) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (self *SManagedSQLServer) GetIVpcId() string
- func (self *SManagedSQLServer) GetId() string
- func (self *SManagedSQLServer) GetInstanceType() string
- func (self *SManagedSQLServer) GetMaintainTime() string
- func (self *SManagedSQLServer) GetName() string
- func (self *SManagedSQLServer) GetPort() int
- func (self *SManagedSQLServer) GetProjectId() string
- func (self *SManagedSQLServer) GetStatus() string
- func (self *SManagedSQLServer) GetStorageType() string
- func (self *SManagedSQLServer) GetVcpuCount() int
- func (self *SManagedSQLServer) GetVmemSizeMB() int
- func (self *SManagedSQLServer) GetZone1Id() string
- func (self *SManagedSQLServer) GetZone2Id() string
- func (self *SManagedSQLServer) GetZone3Id() string
- type SManagedSQLServerAccount
- type SManagedSQLServerDatabase
- type SMatchcondition
- type SMatchvariable
- type SMetricTrigger
- type SNetwork
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetGateway() string
- func (self *SNetwork) GetGlobalId() string
- func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
- func (self *SNetwork) GetId() string
- func (self *SNetwork) GetIpEnd() string
- func (self *SNetwork) GetIpMask() int8
- func (self *SNetwork) GetIpStart() string
- func (self *SNetwork) GetIsPublic() bool
- func (self *SNetwork) GetName() string
- func (self *SNetwork) GetProjectId() string
- func (self *SNetwork) GetPublicScope() rbacscope.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) GetTags() (map[string]string, error)
- func (self *SNetwork) Refresh() error
- type SObject
- type SOsDisk
- func (self *SOsDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SOsDisk) Delete(ctx context.Context) error
- func (disk *SOsDisk) GetAccessPath() string
- func (self *SOsDisk) GetCacheMode() string
- func (self *SOsDisk) GetDiskFormat() string
- func (self *SOsDisk) GetDiskSizeMB() int
- func (self *SOsDisk) GetDiskType() string
- func (self *SOsDisk) GetDriver() string
- func (self *SOsDisk) GetFsFormat() string
- func (self *SOsDisk) GetGlobalId() string
- func (self *SOsDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SOsDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SOsDisk) GetId() string
- func (self *SOsDisk) GetIsAutoDelete() bool
- func (self *SOsDisk) GetIsNonPersistent() bool
- func (self *SOsDisk) GetMountpoint() string
- func (self *SOsDisk) GetName() string
- func (self *SOsDisk) GetProjectId() string
- func (self *SOsDisk) GetStatus() string
- func (self *SOsDisk) GetTemplateId() string
- func (self *SOsDisk) Rebuild(ctx context.Context) error
- func (self *SOsDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SOsDisk) Resize(ctx context.Context, sizeMb int64) error
- type SOsDiskImage
- type SPermission
- type SPolicyAssignment
- func (assignment *SPolicyAssignment) GetCategory() string
- func (assignment *SPolicyAssignment) GetCondition() string
- func (assignment *SPolicyAssignment) GetGlobalId() string
- func (assignment *SPolicyAssignment) GetName() string
- func (assignment *SPolicyAssignment) GetParameters() *jsonutils.JSONDict
- type SPolicyDefinition
- type SPolicyDefinitonPropertieMetadata
- type SPolicyDefinitonPropertieParameter
- type SPolicyDefinitonPropertieParameterMetadata
- type SPolicyDefinitonPropertieRule
- type SPolicyDefinitonPropertieRuleInfo
- type SPolicyDefinitonPropertieRuleThen
- type SPolicyDefinitonProperties
- type SPrivateendpointconnection
- type SPublisherDriver
- type SRecurrence
- type SRecurrentSchedule
- type SRedisAcl
- func (self *SRedisAcl) Delete() error
- func (self *SRedisAcl) GetGlobalId() string
- func (self *SRedisAcl) GetId() string
- func (self *SRedisAcl) GetIpList() string
- func (self *SRedisAcl) GetName() string
- func (self *SRedisAcl) GetStatus() string
- func (self *SRedisAcl) Refresh() error
- func (self *SRedisAcl) UpdateAcl(securityIps string) error
- type SRedisCache
- func (self *SRedisCache) AllocatePublicConnection(port int) (string, error)
- func (self *SRedisCache) ChangeInstanceSpec(spec string) error
- func (self *SRedisCache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SRedisCache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SRedisCache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SRedisCache) Delete() error
- func (self *SRedisCache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
- func (self *SRedisCache) GetArchType() string
- func (self *SRedisCache) GetAuthMode() string
- func (self *SRedisCache) GetCapacityMB() int
- func (self *SRedisCache) GetEngine() string
- func (self *SRedisCache) GetEngineVersion() string
- func (self *SRedisCache) GetGlobalId() string
- func (self *SRedisCache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SRedisCache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
- func (self *SRedisCache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SRedisCache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
- func (self *SRedisCache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SRedisCache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
- func (self *SRedisCache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
- func (self *SRedisCache) GetId() string
- func (self *SRedisCache) GetInstanceType() string
- func (self *SRedisCache) GetMaintainEndTime() string
- func (self *SRedisCache) GetMaintainStartTime() string
- func (self *SRedisCache) GetName() string
- func (self *SRedisCache) GetNetworkId() string
- func (self *SRedisCache) GetNetworkType() string
- func (self *SRedisCache) GetNodeType() string
- func (self *SRedisCache) GetPrivateConnectPort() int
- func (self *SRedisCache) GetPrivateDNS() string
- func (self *SRedisCache) GetPrivateIpAddr() string
- func (self *SRedisCache) GetProjectId() string
- func (self *SRedisCache) GetPublicConnectPort() int
- func (self *SRedisCache) GetPublicDNS() string
- func (self *SRedisCache) GetPublicIpAddr() string
- func (self *SRedisCache) GetSecurityGroupIds() ([]string, error)
- func (self *SRedisCache) GetStatus() string
- func (self *SRedisCache) GetVpcId() string
- func (self *SRedisCache) GetZoneId() string
- func (self *SRedisCache) ReleasePublicConnection() error
- func (self *SRedisCache) Restart() error
- func (self *SRedisCache) SetMaintainTime(start, end string) error
- func (self *SRedisCache) UpdateAuthMode(noPasswordAccess bool, password string) error
- func (self *SRedisCache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
- func (self *SRedisCache) UpdateInstanceParameters(config jsonutils.JSONObject) error
- func (self *SRedisCache) UpdateSecurityGroups(secgroupIds []string) error
- type SRegion
- func (self *SRegion) AllocateEIP(name, projectId string) (*SEipAddress, error)
- func (region *SRegion) AssociateEip(eipId string, instanceId string) error
- func (region *SRegion) AttachDisk(instanceId, diskId string) error
- func (region *SRegion) AttachSecurityToInterfaces(secgroupId string, nicIds []string) error
- func (self *SRegion) ChangeConfig(instanceId, instanceType string) error
- func (region *SRegion) ChangeVMConfig(ctx context.Context, instanceId string, ncpu int, vmem int) error
- func (self *SRegion) CreateAppWafInstance(name string, action *cloudprovider.DefaultAction) (*SAppGatewayWaf, error)
- func (self *SRegion) CreateDisk(storageType string, name string, sizeGb int32, ...) (*SDisk, error)
- func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (region *SRegion) CreateIBucket(name string, storageClassStr string, acl string) error
- func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
- func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateImage(snapshotId, imageName, osType, imageDesc string) (*SImage, error)
- func (self *SRegion) CreateImageByBlob(imageName, osType, blobURI string, diskSizeGB int32) (*SImage, error)
- func (self *SRegion) CreateInstanceSimple(name string, imgId, osType string, cpu int, memMb int, sysDiskSizeGB int, ...) (*SInstance, error)
- func (self *SRegion) CreateNetwork(vpcId, name string, cidr string, desc string) (*SNetwork, error)
- func (self *SRegion) CreateNetworkInterface(resourceGroup string, nicName string, ipAddr string, subnetId string, ...) (*SInstanceNic, error)
- func (self *SRegion) CreateResourceGroup(groupName string) (jsonutils.JSONObject, error)
- func (region *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (*SSecurityGroup, error)
- func (self *SRegion) CreateSecurityGroupRule(groupId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) (*SecurityRules, error)
- func (self *SRegion) CreateSnapshot(diskId, name, desc string) (*SSnapshot, error)
- func (self *SRegion) CreateStorageAccount(storageAccount string) (*SStorageAccount, error)
- func (region *SRegion) DeallocateEIP(eipId string) error
- func (self *SRegion) Delete(resource string) error
- func (self *SRegion) DeleteDisk(diskId string) error
- func (region *SRegion) DeleteIBucket(name string) error
- func (self *SRegion) DeleteImage(imageId string) error
- func (region *SRegion) DeleteNetworkInterface(interfaceId string) error
- func (self *SRegion) DeleteResourceGroup(groupName string) error
- func (self *SRegion) DeleteSnapshot(snapshotId string) error
- func (self *SRegion) DeleteStorageAccount(accountId string) error
- func (self *SRegion) DeleteVM(instanceId string) error
- func (self *SRegion) DeleteVpc(vpcId string) error
- func (region *SRegion) DeployVM(ctx context.Context, instanceId, osType string, ...) error
- func (region *SRegion) DetachDisk(instanceId, diskId string) error
- func (region *SRegion) DissociateEip(eipId string) error
- func (self *SRegion) GetAppGatewayWaf(id string) (*SAppGatewayWaf, error)
- func (r *SRegion) GetAppServicePlan(planId string) (*SAppServicePlan, error)
- func (r *SRegion) GetAppServicePlanWithCache(id string) (*SAppServicePlan, error)
- func (r *SRegion) GetAppServicePlans() ([]SAppServicePlan, error)
- func (r *SRegion) GetAppServiceSkus() ([]SSkuInfos, error)
- func (r *SRegion) GetAppSite(siteId string) (*SAppSite, error)
- func (r *SRegion) GetAppSites() ([]SAppSite, error)
- func (self *SRegion) GetApplicationGateway(id string) (*SApplicationGateway, error)
- func (r *SRegion) GetAutoscaleSettingResources() ([]SAutoscaleSettingResource, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetClassicStorageAccount(id string) (*SStorageAccount, error)
- func (self *SRegion) GetClient() *SAzureClient
- func (self *SRegion) GetCloudEnv() string
- func (self *SRegion) GetDBInstanceById(instanceId string) (*SDBInstance, error)
- func (self *SRegion) GetDisk(diskId string) (*SDisk, error)
- func (self *SRegion) GetDisks() ([]SDisk, error)
- func (region *SRegion) GetEip(eipId string) (*SEipAddress, error)
- func (region *SRegion) GetEips() ([]SEipAddress, error)
- func (self *SRegion) GetEnterpriseRedisCache(id string) (*SEnterpriseRedisCache, error)
- func (self *SRegion) GetEnterpriseRedisCaches() ([]SEnterpriseRedisCache, error)
- func (region *SRegion) GetEvents(start time.Time, end time.Time) ([]SEvent, 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 (r *SRegion) GetICloudAppById(id string) (cloudprovider.ICloudApp, error)
- func (r *SRegion) GetICloudApps() ([]cloudprovider.ICloudApp, error)
- func (region *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 (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
- func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (region *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
- func (region *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (region *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (region *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (region *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (region *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
- func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (region *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (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) GetImageById(imageId string) (SImage, error)
- func (region *SRegion) GetImagePublishers(filter []string) ([]string, error)
- func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
- func (self *SRegion) GetImages(imageType cloudprovider.TImageType) ([]SImage, error)
- func (self *SRegion) GetInstance(instanceId string) (*SInstance, error)
- func (self *SRegion) GetInstanceScaleSets() ([]SInstance, error)
- func (self *SRegion) GetInstances() ([]SInstance, error)
- func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)
- func (self *SRegion) GetKubeClusters() ([]SKubeCluster, error)
- func (self *SRegion) GetKubeConfig(id string) (*cloudprovider.SKubeconfig, error)
- func (self *SRegion) GetManagedSQLServer(id string) (*SManagedSQLServer, error)
- func (self *SRegion) GetManagedSQLServerDatabases(id string) ([]SManagedSQLServerDatabase, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetNetwork(networkId string) (*SNetwork, error)
- func (self *SRegion) GetNetworkInterface(interfaceId string) (*SInstanceNic, error)
- func (self *SRegion) GetNetworkInterfaces() ([]SInstanceNic, error)
- func (self *SRegion) GetOfferedImageIDs(publishersFilter []string, offersFilter []string, skusFilter []string, ...) (map[string]SAzureImageResource, error)
- func (self *SRegion) GetProvider() string
- func (self *SRegion) GetRedisAcl(id string) (*SRedisAcl, error)
- func (self *SRegion) GetRedisAcls(id string) ([]SRedisAcl, error)
- func (self *SRegion) GetRedisCache(id string) (*SRedisCache, error)
- func (self *SRegion) GetRedisCaches() ([]SRedisCache, error)
- func (self *SRegion) GetResourceGroupDetail(groupName string) (*SResourceGroup, error)
- func (self *SRegion) GetSQLServer(id string) (*SSQLServer, error)
- func (self *SRegion) GetSQLServerDatabases(id string) ([]SSQLServerDatabase, error)
- func (region *SRegion) GetSecurityGroupDetails(secgroupId string) (*SSecurityGroup, error)
- func (region *SRegion) GetSnapshot(snapshotId string) (*SSnapshot, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetStorageAccountDetail(accountId string) (*SStorageAccount, error)
- func (self *SRegion) GetStorageAccountKey(accountId string) (string, error)
- func (self *SRegion) GetStorageAccountSkus() ([]SStorageAccountSku, error)
- func (self *SRegion) GetUniqStorageAccountName() (string, error)
- func (region *SRegion) GetUsage(resourceType string) ([]SUsage, error)
- func (region *SRegion) GetVpc(vpcId string) (*SVpc, error)
- func (self *SRegion) GrantAccessSnapshot(snapshotId string) (string, error)
- func (region *SRegion) IBucketExist(name string) (bool, error)
- func (self *SRegion) IsEmulated() bool
- func (self *SRegion) ListAppGateways() ([]SApplicationGateway, error)
- func (self *SRegion) ListAppWafManagedRuleGroup() ([]SAppWafRuleGroup, error)
- func (self *SRegion) ListAppWafs() ([]SAppGatewayWaf, error)
- func (self *SRegion) ListClassicStorageAccounts() ([]SStorageAccount, error)
- func (self *SRegion) ListDBInstance(instanceType string) ([]SDBInstance, error)
- func (self *SRegion) ListDBInstanceConfiguration(Id string) ([]SDBInstanceConfiguration, error)
- func (self *SRegion) ListDBInstanceReplica(Id string) ([]SDBInstance, error)
- func (self *SRegion) ListDBInstanceVirtualNetworkRule(Id string) ([]SDBInstanceVirtualNetworkRule, error)
- func (self *SRegion) ListFrontDoorWafs(resGroup string) ([]SFrontDoorWaf, error)
- func (self *SRegion) ListManagedRuleGroups() ([]SManagedRuleGroup, error)
- func (self *SRegion) ListManagedSQLServer() ([]SManagedSQLServer, error)
- func (self *SRegion) ListSDBInstanceDatabase(Id string) ([]SDBInstanceDatabase, error)
- func (self *SRegion) ListSQLServer() ([]SSQLServer, error)
- func (self *SRegion) ListSQLServerBackups(id, location string) ([]SSQLServerBackup, error)
- func (region *SRegion) ListSecgroups() ([]SSecurityGroup, error)
- func (region *SRegion) ListSnapshots() ([]SSnapshot, error)
- func (self *SRegion) ListStorageAccounts() ([]SStorageAccount, error)
- func (self *SRegion) ListVmSizes() ([]SVMSize, error)
- func (self *SRegion) ListVpcs() ([]SVpc, error)
- func (self *SRegion) Refresh() error
- func (region *SRegion) ReplaceSystemDisk(instance *SInstance, cpu int, memoryMb int, imageId, passwd, publicKey string, ...) (string, error)
- func (self *SRegion) ResizeDisk(diskId string, sizeGb int32) error
- func (self *SRegion) SaveImage(osType, diskId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
- func (region *SRegion) SetSecurityGroup(instanceId, secgroupId string) error
- func (self *SRegion) Show(resource string) (jsonutils.JSONObject, error)
- func (self *SRegion) StartVM(instanceId string) error
- func (self *SRegion) StopVM(instanceId string, isForce bool) error
- func (self *SRegion) UpdateResourceGroup(groupName string, newName string) error
- type SRequestroutingrule
- type SResourceGroup
- type SResourceSku
- type SResourceSkuCapability
- type SResourceSkuCapacity
- type SResourceSkuLocationInfo
- type SResourceSkuRestrictionInfo
- type SResourceSkuRestrictions
- type SResourceSkusResult
- type SRoleProperties
- type SRuleGroup
- type SSHConfiguration
- type SSHPublicKey
- type SSLCertificate
- type SSLCertificateProperties
- type SSQLServer
- func (self *SSQLServer) GetCategory() string
- func (self *SSQLServer) GetConnectionStr() string
- func (self *SSQLServer) GetDTU() int
- func (self *SSQLServer) GetDiskSizeGB() int
- func (self *SSQLServer) GetEngine() string
- func (self *SSQLServer) GetEngineVersion() string
- func (self *SSQLServer) GetGlobalId() string
- func (self *SSQLServer) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (self *SSQLServer) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (self *SSQLServer) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (self *SSQLServer) GetIVpcId() string
- func (self *SSQLServer) GetId() string
- func (self *SSQLServer) GetInstanceType() string
- func (self *SSQLServer) GetMaintainTime() string
- func (self *SSQLServer) GetName() string
- func (self *SSQLServer) GetPort() int
- func (self *SSQLServer) GetProjectId() string
- func (self *SSQLServer) GetStatus() string
- func (self *SSQLServer) GetStorageType() string
- func (self *SSQLServer) GetSysTags() map[string]string
- func (self *SSQLServer) GetVcpuCount() int
- func (self *SSQLServer) GetVmemSizeMB() int
- func (self *SSQLServer) GetZone1Id() string
- func (self *SSQLServer) GetZone2Id() string
- func (self *SSQLServer) GetZone3Id() string
- type SSQLServerAccount
- type SSQLServerBackup
- func (self *SSQLServerBackup) GetBackupMethod() cloudprovider.TBackupMethod
- func (self *SSQLServerBackup) GetBackupMode() string
- func (self *SSQLServerBackup) GetBackupSizeMb() int
- func (self *SSQLServerBackup) GetDBInstanceId() string
- func (self *SSQLServerBackup) GetDBNames() string
- func (self *SSQLServerBackup) GetEndTime() time.Time
- func (self *SSQLServerBackup) GetEngine() string
- func (self *SSQLServerBackup) GetEngineVersion() string
- func (self *SSQLServerBackup) GetGlobalId() string
- func (self *SSQLServerBackup) GetId() string
- func (self *SSQLServerBackup) GetName() string
- func (self *SSQLServerBackup) GetStartTime() time.Time
- func (self *SSQLServerBackup) GetStatus() string
- type SSQLServerDatabase
- func (self *SSQLServerDatabase) GetCharacterSet() string
- func (self *SSQLServerDatabase) GetDTU() int
- func (self *SSQLServerDatabase) GetDiskSizeMb() int
- func (self *SSQLServerDatabase) GetGlobalId() string
- func (self *SSQLServerDatabase) GetId() string
- func (self *SSQLServerDatabase) GetName() string
- func (self *SSQLServerDatabase) GetStatus() string
- func (self *SSQLServerDatabase) GetVcpuCount() int
- func (self *SSQLServerDatabase) GetVmemSizeMb() int
- type SScaleAction
- type SScaleCapacity
- type SScaleRule
- type SScaleRuleMetricDimension
- type SScaleRuleMetricDimensionOperationType
- type SSecurityGroup
- func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetProjectId() string
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) Refresh() error
- type SServerFarmSku
- type SService
- type SServicePrincipal
- type SServices
- type SSiteConfig
- type SSku
- type SSkuCapacity
- type SSkuDescription
- type SSkuInfos
- type SSkuSpec
- type SSnapshot
- func (self *SSnapshot) Delete() error
- func (self *SSnapshot) GetDiskId() string
- func (self *SSnapshot) GetDiskType() string
- func (self *SSnapshot) GetGlobalId() string
- func (self *SSnapshot) GetId() string
- func (self *SSnapshot) GetName() string
- func (self *SSnapshot) GetProjectId() string
- func (self *SSnapshot) GetSizeMb() int32
- func (self *SSnapshot) GetStatus() string
- func (self *SSnapshot) Refresh() error
- type SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(diskId string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsEmulated() bool
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStorageAccount
- func (b *SStorageAccount) AbortMultipartUpload(ctx context.Context, key string, uploadId string) error
- func (b *SStorageAccount) CompleteMultipartUpload(ctx context.Context, key string, uploadId string, blockIds []string) error
- func (b *SStorageAccount) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, ...) error
- func (b *SStorageAccount) CopyPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- func (self *SStorageAccount) CreateContainer(containerName string) (*SContainer, error)
- func (bucket *SStorageAccount) DeleteCORS() error
- func (b *SStorageAccount) DeleteObject(ctx context.Context, key string) error
- func (b *SStorageAccount) GetAccessUrls() []cloudprovider.SBucketAccessUrl
- func (self *SStorageAccount) GetAccountKey() (accountKey string, err error)
- func (b *SStorageAccount) GetAcl() cloudprovider.TBucketACLType
- func (bucket *SStorageAccount) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (self *SStorageAccount) GetContainer(name string) (*SContainer, error)
- func (self *SStorageAccount) GetContainers() ([]SContainer, error)
- func (b *SStorageAccount) GetCreatedAt() time.Time
- func (b *SStorageAccount) GetGlobalId() string
- func (b *SStorageAccount) GetIRegion() cloudprovider.ICloudRegion
- func (b *SStorageAccount) GetLocation() string
- func (b *SStorageAccount) GetName() string
- func (b *SStorageAccount) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
- func (b *SStorageAccount) GetProjectId() string
- func (b *SStorageAccount) GetStats() cloudprovider.SBucketStats
- func (b *SStorageAccount) GetStorageClass() string
- func (b *SStorageAccount) GetTags() (map[string]string, error)
- func (b *SStorageAccount) GetTempUrl(method string, key string, expire time.Duration) (string, error)
- func (b *SStorageAccount) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
- func (b *SStorageAccount) MaxPartCount() int
- func (b *SStorageAccount) MaxPartSizeBytes() int64
- func (b *SStorageAccount) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, ...) (string, error)
- func (b *SStorageAccount) PutObject(ctx context.Context, key string, reader io.Reader, sizeBytes int64, ...) error
- func (b *SStorageAccount) SetAcl(aclStr cloudprovider.TBucketACLType) error
- func (bucket *SStorageAccount) SetCORS(rules []cloudprovider.SBucketCORSRule) error
- func (self *SStorageAccount) UploadFile(containerName string, filePath string, callback func(progress float32)) (string, error)
- func (b *SStorageAccount) UploadPart(ctx context.Context, key string, uploadId string, partIndex int, ...) (string, error)
- func (self *SStorageAccount) UploadStream(containerName string, key string, reader io.Reader, meta http.Header) error
- type SStorageAccountSku
- type SStorageEndpoints
- type SStoragecache
- func (self *SStoragecache) DownloadImage(imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) Refresh() error
- func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, ...) (string, error)
- type SStringDictionary
- type SSubscription
- type STimeWindow
- type SUsage
- type SVMAgent
- type SVMSize
- type SVirtualMachineExtension
- type SVpc
- func (self *SVpc) Delete() error
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetName() string
- func (self *SVpc) GetNetworks() []SNetwork
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetStatus() string
- func (self *SVpc) GetTags() (map[string]string, error)
- func (self *SVpc) IsEmulated() bool
- func (self *SVpc) Refresh() error
- type SWafRule
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
- func (self *SZone) IsEmulated() bool
- func (self *SZone) ListStorageTypes() []SStorage
- func (self *SZone) Refresh() error
- type SecurityGroupPropertiesFormat
- type SecurityRulePropertiesFormat
- type SecurityRules
- func (self *SecurityRules) Delete() error
- func (self *SecurityRules) GetAction() secrules.TSecurityRuleAction
- func (self *SecurityRules) GetCIDRs() []string
- func (self *SecurityRules) GetDescription() string
- func (self *SecurityRules) GetDirection() secrules.TSecurityRuleDirection
- func (self *SecurityRules) GetGlobalId() string
- func (self *SecurityRules) GetPorts() string
- func (self *SecurityRules) GetPriority() int
- func (self *SecurityRules) GetProtocol() string
- func (self *SecurityRules) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
- type Sku
- type SnapshotSku
- type Statuses
- type StorageProfile
- type SubResource
- type Subnet
- type SubnetPropertiesFormat
- type TAzureInt32
- type TAzureResource
- type TResourceSkuCapacityScaleType
- type TResourceSkuRestrictionsReasonCode
- type TResourceSkuRestrictionsType
- type TagParams
- type TagProperties
- type TimeSeriesElement
- type URLPathMap
- type URLPathMapProperties
- type UsageName
- type VaultCertificate
- type VaultSecretGroup
- type VirtualHardDisk
- type VirtualMachineExtensionProperties
- type VirtualMachineInstanceView
- type VirtualMachineProperties
- type VirtualNetworkPropertiesFormat
- type WebApplicationFirewallConfiguration
- type WorkspaceData
Constants ¶
const ( CLOUD_PROVIDER_AZURE = api.CLOUD_PROVIDER_AZURE CLOUD_PROVIDER_AZURE_CN = "微软" CLOUD_PROVIDER_AZURE_EN = "Azure" AZURE_API_VERSION = "2016-02-01" )
const ( RDS_TYPE_SERVERS = "servers" RDS_TYPE_FLEXIBLE_SERVERS = "flexibleServers" )
const ( ResourceSkuCapacityScaleTypeAutomatic = TResourceSkuCapacityScaleType("Automatic") ResourceSkuCapacityScaleTypeManual = TResourceSkuCapacityScaleType("Manual") ResourceSkuCapacityScaleTypeNone = TResourceSkuCapacityScaleType("None") )
const ( ResourceSkuRestrictionsTypeLocation = TResourceSkuRestrictionsType("Location") ResourceSkuRestrictionsTypeZone = TResourceSkuRestrictionsType("Zone") )
const ( ResourceSkuRestrictionsReasonCodeNotAvailable = TResourceSkuRestrictionsReasonCode("NotAvailableForSubscription") ResourceSkuRestrictionsReasonCodeQuotaId = TResourceSkuRestrictionsReasonCode("QuotaId") )
const ( STORAGE_STD_LRS = "Standard_LRS" STORAGE_PRE_LRS = "Premium_LRS" STORAGE_STD_SSD = "StandardSSD_LRS" )
const ( DefaultStorageAccount string = "image" DefaultContainer string = "image-cache" DefaultReadBlockSize int64 = 4 * 1024 * 1024 )
const (
DEFAULT_EXTENSION_NAME = "enablevmaccess"
)
Variables ¶
var ( GraphResource = TAzureResource("graph") DefaultResource = TAzureResource("default") LoganalyticsResource = TAzureResource("loganalytics") )
var AzureGeographicInfo = map[string]cloudprovider.SGeographicInfo{ "southafricanorth": api.RegionPretoria, "southafricawest": api.RegionCapeTown, "australiacentral2": api.RegionYarralumla, "koreasouth": api.RegionBusan, "canadacentral": api.RegionToronto, "northeurope": api.RegionDublin, "australiacentral": api.RegionYarralumla, "francecentral": api.RegionAllier, "westus": api.RegionSanFrancisco, "japanwest": api.RegionOsaka, "francesouth": api.RegionTarn, "eastus": api.RegionVirginia, "westindia": api.RegionMumbai, "westcentralus": api.RegionUtah, "southeastasia": api.RegionSingapore, "eastasia": api.RegionHongkong, "eastus2": api.RegionVirginia, "japaneast": api.RegionTokyo, "ukwest": api.RegionHalton, "australiasoutheast": api.RegionMelbourne, "uksouth": api.RegionSussex, "westus2": api.RegionWashington, "southcentralus": api.RegionTexas, "brazilsouth": api.RegionSaoPaulo, "koreacentral": api.RegionSeoul, "centralindia": api.RegionMaharashtra, "northcentralus": api.RegionChicago, "centralus": api.RegionIowa, "australiaeast": api.RegionSydney, "westeurope": api.RegionHolland, "canadaeast": api.RegionQuebec, "southindia": api.RegionKanchipuram, "uaenorth": api.RegionDubai, "uaecentral": api.RegionDubai, "switzerlandwest": api.RegionGeneva, "switzerlandnorth": api.RegionZurich, "norwaywest": api.RegionStavanger, "norwayeast": api.RegionOslo, "germanywestcentral": api.RegionFrankfurt, "germanynorth": api.RegionDelmenhorst, "westus3": api.RegionPhoenix, "brazilsoutheast": api.RegionRioDeJaneiro, "jioindiawest": api.RegionJioIndiaWest, "jioindiacentral": api.RegionJioIndiaCentral, "chinaeast": api.RegionShanghai, "chinaeast2": api.RegionShanghai, "chinanorth": api.RegionBeijing, "chinanorth2": api.RegionBeijing, "chinanorth3": api.RegionZhangjiakou, }
var STORAGETYPES = []string{STORAGE_STD_LRS, STORAGE_PRE_LRS, STORAGE_STD_SSD}
Functions ¶
func DetectEmptyRanges ¶
func DetectEmptyRanges(diskStream *diskstream.DiskStream, uploadableRanges []*common.IndexRange) ([]*common.IndexRange, error)
func GetDataWithRanges ¶
func GetDataWithRanges(stream *diskstream.DiskStream, ranges []*common.IndexRange) (<-chan *DataWithRange, <-chan error)
GetDataWithRanges with start reading and streaming the ranges from the disk identified by the parameter ranges. It returns two channels, a data channel to stream the disk ranges and a channel to send any error while reading the disk. On successful completion the data channel will be closed. the caller must not expect any more value in the data channel if the error channel is signaled.
func LocateNonEmptyRangeIndices ¶
func LocateNonEmptyRangeIndices(stream *diskstream.DiskStream, ranges []*common.IndexRange) (<-chan int32, <-chan error)
func LocateUploadableRanges ¶
func LocateUploadableRanges(stream *diskstream.DiskStream, rangesToSkip []*common.IndexRange, pageSizeInBytes int64) ([]*common.IndexRange, error)
func LogRequest ¶
func LogRequest() autorest.PrepareDecorator
func LogResponse ¶
func LogResponse() autorest.RespondDecorator
func Upload ¶
func Upload(cxt *DiskUploadContext, callback func(float32)) error
Upload uploads the disk ranges described by the parameter cxt, this parameter describes the disk stream to read from, the ranges of the stream to read, the destination blob and it's container, the client to communicate with Azure storage and the number of parallel go-routines to use for upload.
Types ¶
type AccessProperties ¶
type AccessProperties struct {
Output AccessURIOutput
}
type AccessURI ¶
type AccessURI struct { Name string Properties AccessProperties }
type AccessURIOutput ¶
type AccessURIOutput struct {
AccessSas string
}
type AccountKeys ¶
type AccountProperties ¶
type AccountProperties struct { //normal PrimaryEndpoints SStorageEndpoints `json:"primaryEndpoints,omitempty"` ProvisioningState string PrimaryLocation string SecondaryEndpoints SStorageEndpoints `json:"secondaryEndpoints,omitempty"` SecondaryLocation string //CreationTime time.Time AccessTier string `json:"accessTier,omitempty"` EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` IsHnsEnabled bool `json:"isHnsEnabled,omitempty"` AzureFilesAadIntegration bool `json:"azureFilesAadIntegration,omitempty"` }
type AddressSpace ¶
type AddressSpace struct {
AddressPrefixes []string `json:"addressPrefixes,omitempty"`
}
type AutoscaleConfiguration ¶
type AzureClientConfig ¶
type AzureClientConfig struct {
// contains filtered or unexported fields
}
func NewAzureClientConfig ¶
func NewAzureClientConfig(envName, tenantId, clientId, clientSecret string) *AzureClientConfig
func (*AzureClientConfig) CloudproviderConfig ¶
func (cfg *AzureClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *AzureClientConfig
func (*AzureClientConfig) Debug ¶
func (cfg *AzureClientConfig) Debug(debug bool) *AzureClientConfig
func (*AzureClientConfig) SubscriptionId ¶
func (cfg *AzureClientConfig) SubscriptionId(id string) *AzureClientConfig
type AzureError ¶
type AzureError struct { Code string `json:"code,omitempty"` Details []AzureErrorDetail `json:"details,omitempty"` Message string `json:"message,omitempty"` }
func (*AzureError) Error ¶
func (e *AzureError) Error() string
type AzureErrorDetail ¶
type AzureResponseError ¶
type AzureResponseError struct { OdataError sOdataError `json:"odata.error"` AzureError AzureError `json:"error"` Code string Message string }
func (AzureResponseError) Error ¶
func (ae AzureResponseError) Error() string
func (*AzureResponseError) ParseErrorFromJsonResponse ¶
func (ae *AzureResponseError) ParseErrorFromJsonResponse(statusCode int, status string, body jsonutils.JSONObject) error
type AzureTableMetricData ¶
type AzureTableMetricData struct {
Value []AzureTableMetricDataValue
}
type AzureTableMetricDataValue ¶
type AzureTableMetricDataValue struct { Timestamp time.Time Average float64 Count float64 CounterName string DeploymentId string Host string Total float64 Maximum float64 Minimum float64 }
func (AzureTableMetricDataValue) GetValue ¶
func (self AzureTableMetricDataValue) GetValue() float64
type AzureTags ¶
func (*AzureTags) GetSysTags ¶
type BackendAddress ¶
type BackendAddress struct {
IPAddress string `json:"ipAddress"`
}
type BackendAddressPool ¶
type BackendAddressPool struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties BackendAddressPoolProperties `json:"properties"` Type string `json:"type"` }
type BackendAddressPoolProperties ¶
type BackendAddressPoolProperties struct { ProvisioningState string `json:"provisioningState"` LoadBalancingRules []Subnet `json:"loadBalancingRules"` BackendIPConfigurations []BackendIPConfiguration `json:"backendIPConfigurations"` BackendAddresses []BackendAddress `json:"backendAddresses"` RequestRoutingRules []BackendIPConfiguration `json:"requestRoutingRules"` URLPathMaps []BackendIPConfiguration `json:"urlPathMaps"` PathRules []BackendIPConfiguration `json:"pathRules"` }
type BackendHTTPSettingsCollection ¶
type BackendHTTPSettingsCollection struct { Name string `json:"name"` ID string `json:"id"` Properties BackendHTTPSettingsCollectionProperties `json:"properties"` }
type BackendHTTPSettingsCollectionProperties ¶
type BackendHTTPSettingsCollectionProperties struct { Port int `json:"port"` Protocol string `json:"protocol"` Probe *ProbeId `json:"probe"` ConnectionDraining ConnectionDraining `json:"connectionDraining"` CookieBasedAffinity string `json:"cookieBasedAffinity"` AffinityCookieName string `json:"affinityCookieName"` HostName string `json:"hostName"` RequestTimeout int `json:"requestTimeout"` }
type BackendIPConfiguration ¶
type BackendIPConfiguration struct {
ID string `json:"id"`
}
type Capabilitie ¶
type ConnectionDraining ¶
type ContentProperties ¶
type ContentProperties struct { ProvisioningState string `json:"provisioningState"` ResourceGUID string `json:"resourceGuid"` IPConfigurations []NetworkInterfaceIPConfiguration `json:"ipConfigurations"` DNSSettings DNSSettings `json:"dnsSettings"` MACAddress string `json:"macAddress"` EnableAcceleratedNetworking bool `json:"enableAcceleratedNetworking"` EnableIPForwarding bool `json:"enableIPForwarding"` NetworkSecurityGroup NetworkSecurityGroup `json:"networkSecurityGroup"` Primary bool `json:"primary"` VirtualMachine NetworkSecurityGroup `json:"virtualMachine"` HostedWorkloads []interface{} `json:"hostedWorkloads"` TapConfigurations []interface{} `json:"tapConfigurations"` }
type CreationData ¶
type CreationData struct { CreateOption string `json:"createOption,omitempty"` StorageAccountID string // ImageReference *ImageDiskReference `json:"imageReference,omitempty"` ImageReference *ImageReference `json:"imageReference,omitempty"` SourceURI string `json:"sourceUri,omitempty"` SourceResourceID string `json:"sourceResourceId,omitempty"` }
type CustomRule ¶
type CustomRule struct { Name string `json:"name"` Priority int `json:"priority"` Ruletype string `json:"ruleType"` //RateLimitThreshold *int `json:"rateLimitThreshold"` Matchconditions []SMatchcondition `json:"matchConditions"` Action string `json:"action"` // contains filtered or unexported fields }
func (*CustomRule) Delete ¶
func (self *CustomRule) Delete() error
func (*CustomRule) GetAction ¶
func (self *CustomRule) GetAction() *cloudprovider.DefaultAction
func (*CustomRule) GetDesc ¶
func (self *CustomRule) GetDesc() string
func (*CustomRule) GetGlobalId ¶
func (self *CustomRule) GetGlobalId() string
func (*CustomRule) GetName ¶
func (self *CustomRule) GetName() string
func (*CustomRule) GetPriority ¶
func (self *CustomRule) GetPriority() int
func (*CustomRule) GetStatementCondition ¶
func (self *CustomRule) GetStatementCondition() cloudprovider.TWafStatementCondition
func (*CustomRule) GetStatements ¶
func (self *CustomRule) GetStatements() ([]cloudprovider.SWafStatement, error)
func (*CustomRule) Update ¶
func (self *CustomRule) Update(opts *cloudprovider.SWafRule) error
type DNSSettings ¶
type DNSSettings struct { DNSServers []interface{} `json:"dnsServers"` AppliedDNSServers []interface{} `json:"appliedDnsServers"` InternalDomainNameSuffix string `json:"internalDomainNameSuffix"` }
type DataWithRange ¶
type DataWithRange struct { Range *common.IndexRange Data []byte }
type DebugProfile ¶
type DiskProperties ¶
type DiskProperties struct { TimeCreated time.Time `json:"timeCreated,omitempty"` OsType string `json:"osType,omitempty"` CreationData CreationData `json:"creationData,omitempty"` DiskSizeGB TAzureInt32 `json:"diskSizeGB,omitempty"` ProvisioningState string `json:"provisioningState,omitempty"` DiskState string `json:"diskState,omitempty"` }
type DiskUploadContext ¶
type DiskUploadContext struct { VhdStream *diskstream.DiskStream // The stream whose ranges needs to be uploaded AlreadyProcessedBytes int64 // The size in bytes already uploaded UploadableRanges []*common.IndexRange // The subset of stream ranges to be uploaded BlobServiceClient storage.BlobStorageClient // The client to make Azure blob service API calls ContainerName string // The container in which page blob resides BlobName string // The destination page blob name Parallelism int // The number of concurrent goroutines to be used for upload Resume bool // Indicate whether this is a new or resuming upload MD5Hash []byte // MD5Hash to be set in the page blob properties once upload finishes }
type DomainName ¶
type FrontendIPConfiguration ¶
type FrontendIPConfigurationProperties ¶
type FrontendIPConfigurationProperties struct { ProvisioningState string `json:"provisioningState"` PrivateIPAddress string `json:"privateIPAddress"` PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` PrivateIPAllocationMethod string `json:"privateIPAllocationMethod"` PrivateIPAddressVersion string `json:"privateIPAddressVersion"` Subnet Subnet `json:"subnet"` LoadBalancingRules []Subnet `json:"loadBalancingRules"` InboundNatRules []Subnet `json:"inboundNatRules"` }
type FrontendPort ¶
type FrontendPort struct { Name string `json:"name"` ID string `json:"id"` Properties FrontendPortProperties `json:"properties"` }
type FrontendPortProperties ¶
type FrontendPortProperties struct {
Port int `json:"port"`
}
type GatewayIPConfiguration ¶
type GatewayIPConfiguration struct { Name string `json:"name"` ID string `json:"id"` Properties GatewayIPConfigurationProperties `json:"properties"` }
type GatewayIPConfigurationProperties ¶
type GatewayIPConfigurationProperties struct {
Subnet PublicIPAddress `json:"subnet"`
}
type GroupProperties ¶
type GroupProperties struct {
ProvisioningState string
}
type HTTPListener ¶
type HTTPListener struct { Name string `json:"name"` ID string `json:"id"` Properties HTTPListenerProperties `json:"properties"` }
type HTTPListenerProperties ¶
type HTTPListenerProperties struct { FrontendIPConfiguration PublicIPAddress `json:"frontendIPConfiguration"` FrontendPort PublicIPAddress `json:"frontendPort"` HostName string `json:"hostName"` Protocol string `json:"protocol"` SSLCertificate PublicIPAddress `json:"sslCertificate"` RequestRoutingRules []Subnet `json:"requestRoutingRules"` RequireServerNameIndication bool `json:"requireServerNameIndication"` }
type HardwareProfile ¶
type HardwareProfile struct {
VMSize string `json:"vmSize,omitempty"`
}
type IPConfiguration ¶
type IPConfigurationProperties ¶
type IPConfigurationProperties struct { ProvisioningState string `json:"provisioningState"` PrivateIPAddress string `json:"privateIPAddress"` PrivateIPAllocationMethod string `json:"privateIPAllocationMethod"` PublicIPAddress NetworkSecurityGroup `json:"publicIPAddress"` Subnet NetworkSecurityGroup `json:"subnet"` Primary bool `json:"primary"` PrivateIPAddressVersion string `json:"privateIPAddressVersion"` LoadBalancerBackendAddressPools []NetworkSecurityGroup `json:"loadBalancerBackendAddressPools"` LoadBalancerInboundNatRules []NetworkSecurityGroup `json:"loadBalancerInboundNatRules"` }
type IPConfigurationPropertiesFormat ¶
type IPConfigurationPropertiesFormat struct {
PrivateIPAddress string
}
type ImageDataDisk ¶
type ImageDataDisk struct { Lun int32 Snapshot SubResource ManagedDisk SubResource BlobURI string Caching string DiskSizeGB int32 `json:"diskSizeGB,omitzero"` StorageAccountType string }
type ImageDiskReference ¶
type ImageOSDisk ¶
type ImageOSDisk struct { OsType string `json:"osType,omitempty"` OsState string `json:"osState,omitempty"` Snapshot *SubResource `json:"snapshot,omitempty"` ManagedDisk *SubResource BlobURI string `json:"blobUri,omitempty"` Caching string `json:"caching,omitempty"` DiskSizeGB int32 `json:"diskSizeGB,omitzero"` StorageAccountType string `json:"storageAccountType,omitempty"` OperatingSystem string `json:"operatingSystem,omitempty"` }
type ImageProperties ¶
type ImageProperties struct { SourceVirtualMachine *SubResource StorageProfile ImageStorageProfile `json:"storageProfile,omitempty"` ProvisioningState ImageStatusType HyperVGeneration string `json:"hyperVGeneration,omitempty"` }
type ImageReference ¶
type ImageStatusType ¶
type ImageStatusType string
const ( ImageStatusCreating ImageStatusType = "Creating" ImageStatusAvailable ImageStatusType = "Succeeded" ImageStatusUnAvailable ImageStatusType = "UnAvailable" ImageStatusCreateFailed ImageStatusType = "CreateFailed" )
type ImageStorageProfile ¶
type ImageStorageProfile struct { OsDisk ImageOSDisk `json:"osDisk,omitempty"` DataDisks []ImageDataDisk `json:"dataDisks,omitempty"` ZoneResilient bool `json:"zoneResilient,omitfalse"` }
type InboundNatRule ¶
type InboundNatRule struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Properties InboundNatRuleProperties `json:"properties"` }
type InboundNatRuleProperties ¶
type InboundNatRuleProperties struct { ProvisioningState string `json:"provisioningState"` FrontendIPConfiguration Subnet `json:"frontendIPConfiguration"` FrontendPort int64 `json:"frontendPort"` BackendPort int64 `json:"backendPort"` EnableFloatingIP bool `json:"enableFloatingIP"` IdleTimeoutInMinutes int64 `json:"idleTimeoutInMinutes"` Protocol string `json:"protocol"` EnableTCPReset bool `json:"enableTcpReset"` }
type InterfaceIPConfiguration ¶
type InterfaceIPConfiguration struct { Properties InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` Name string ID string }
func (*InterfaceIPConfiguration) GetGlobalId ¶
func (self *InterfaceIPConfiguration) GetGlobalId() string
func (*InterfaceIPConfiguration) GetINetworkId ¶
func (self *InterfaceIPConfiguration) GetINetworkId() string
func (*InterfaceIPConfiguration) GetIP ¶
func (self *InterfaceIPConfiguration) GetIP() string
func (*InterfaceIPConfiguration) IsPrimary ¶
func (self *InterfaceIPConfiguration) IsPrimary() bool
type InterfaceIPConfigurationPropertiesFormat ¶
type InterfaceIPConfigurationPropertiesFormat struct { PrivateIPAddress string `json:"privateIPAddress,omitempty"` PrivateIPAddressVersion string `json:"privateIPAddressVersion,omitempty"` PrivateIPAllocationMethod string `json:"privateIPAllocationMethod,omitempty"` Subnet SNetwork `json:"subnet,omitempty"` Primary bool `json:"primary,omitempty"` PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` }
type InterfacePropertiesFormat ¶
type InterfacePropertiesFormat struct { NetworkSecurityGroup *SSecurityGroup `json:"networkSecurityGroup,omitempty"` IPConfigurations []InterfaceIPConfiguration `json:"ipConfigurations,omitempty"` MacAddress string `json:"macAddress,omitempty"` Primary bool `json:"primary,omitempty"` VirtualMachine SubResource `json:"virtualMachine,omitempty"` }
type LinuxConfiguration ¶
type LinuxConfiguration struct { DisablePasswordAuthentication bool `json:"disablePasswordAuthentication,omitempty"` SSH *SSHConfiguration `json:"ssh,omitempty"` }
type LoadBalancingRule ¶
type LoadBalancingRule struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Properties LoadBalancingRuleProperties `json:"properties"` }
type LoadBalancingRuleProperties ¶
type LoadBalancingRuleProperties struct { ProvisioningState string `json:"provisioningState"` FrontendIPConfiguration Subnet `json:"frontendIPConfiguration"` FrontendPort int `json:"frontendPort"` BackendPort int `json:"backendPort"` EnableFloatingIP bool `json:"enableFloatingIP"` IdleTimeoutInMinutes int `json:"idleTimeoutInMinutes"` Protocol string `json:"protocol"` EnableTCPReset bool `json:"enableTcpReset"` LoadDistribution string `json:"loadDistribution"` BackendAddressPool Subnet `json:"backendAddressPool"` Probe Subnet `json:"probe"` }
type LocalizableString ¶
type ManagedDiskParameters ¶
type ManagedRule ¶
type ManagedRules ¶
type ManagedRules struct { Managedrulesets []ManagedRule `json:"managedRuleSets"` // contains filtered or unexported fields }
func (*ManagedRules) Delete ¶
func (self *ManagedRules) Delete() error
func (*ManagedRules) GetAction ¶
func (self *ManagedRules) GetAction() *cloudprovider.DefaultAction
func (*ManagedRules) GetDesc ¶
func (self *ManagedRules) GetDesc() string
func (*ManagedRules) GetGlobalId ¶
func (self *ManagedRules) GetGlobalId() string
func (*ManagedRules) GetName ¶
func (self *ManagedRules) GetName() string
func (*ManagedRules) GetPriority ¶
func (self *ManagedRules) GetPriority() int
func (*ManagedRules) GetStatementCondition ¶
func (self *ManagedRules) GetStatementCondition() cloudprovider.TWafStatementCondition
func (*ManagedRules) GetStatements ¶
func (self *ManagedRules) GetStatements() ([]cloudprovider.SWafStatement, error)
func (*ManagedRules) Update ¶
func (self *ManagedRules) Update(opts *cloudprovider.SWafRule) error
type MetadataValue ¶
type MetadataValue struct { // Name - the name of the metadata. Name LocalizableString `json:"name,omitempty"` // Value - the value of the metadata. Value string `json:"value,omitempty"` }
type Metric ¶
type Metric struct { // ID - the metric Id. ID string `json:"id,omitempty"` // Type - the resource type of the metric resource. Type string `json:"type,omitempty"` // Name - the name and the display name of the metric, i.e. it is localizable string. Name LocalizableString `json:"name,omitempty"` // Unit - the unit of the metric. Possible values include: 'UnitCount', 'UnitBytes', 'UnitSeconds', 'UnitCountPerSecond', 'UnitBytesPerSecond', 'UnitPercent', 'UnitMilliSeconds', 'UnitByteSeconds', 'UnitUnspecified', 'UnitCores', 'UnitMilliCores', 'UnitNanoCores', 'UnitBitsPerSecond' Unit string `json:"unit,omitempty"` // Timeseries - the time series returned when a data query is performed. Timeseries []TimeSeriesElement `json:"timeseries,omitempty"` }
Metric the result data of a query.
type MetricValue ¶
type MetricValue struct { // TimeStamp - the timestamp for the metric value in ISO 8601 format. TimeStamp time.Time `json:"timeStamp,omitempty"` // Average - the average value in the time range. Average float64 `json:"average,omitempty"` // Minimum - the least value in the time range. Minimum float64 `json:"minimum,omitempty"` // Maximum - the greatest value in the time range. Maximum float64 `json:"maximum,omitempty"` // Total - the sum of all of the values in the time range. Total float64 `json:"total,omitempty"` // Count - the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. Count float64 `json:"count,omitempty"` }
func (MetricValue) GetValue ¶
func (self MetricValue) GetValue() float64
type MetrifDefinition ¶
type MetrifDefinition struct { Name struct { Value string LocalizedValue string } Category string Unit string PrimaryAggregationType string ResourceUri string ResourceId string MetricAvailabilities []struct { TimeGrain string Retention string Location struct { TableEndpoint string TableInfo []struct { TableName string StartTime time.Time EndTime time.Time SasToken string SasTokenExpirationTime string } PartitionKey string } } Id string }
type MetrifDefinitions ¶
type MetrifDefinitions struct { Id string Value []MetrifDefinition }
type NetworkInterfaceIPConfiguration ¶
type NetworkInterfaceIPConfiguration struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Properties IPConfigurationProperties `json:"properties"` }
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct {
ID string
}
type NetworkProfile ¶
type NetworkProfile struct {
NetworkInterfaces []NetworkInterfaceReference `json:"networkInterfaces,omitempty"`
}
type NetworkSecurityGroup ¶
type NetworkSecurityGroup struct {
ID string `json:"id"`
}
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
type OsProfile ¶
type OsProfile struct { ComputerName string `json:"computerName,omitempty"` AdminUsername string `json:"adminUsername,omitempty"` AdminPassword string `json:"adminPassword,omitempty"` CustomData string `json:"customData,omitempty"` LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` Secrets []VaultSecretGroup `json:"secrets,omitempty"` }
type PathRule ¶
type PathRule struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties PathRuleProperties `json:"properties"` Type string `json:"type"` }
type PathRuleProperties ¶
type PathRuleProperties struct { ProvisioningState string `json:"provisioningState"` Paths []string `json:"paths"` BackendAddressPool *PublicIPAddressElement `json:"backendAddressPool,omitempty"` BackendHTTPSettings *PublicIPAddressElement `json:"backendHttpSettings,omitempty"` RedirectConfiguration *PublicIPAddressElement `json:"redirectConfiguration,omitempty"` }
type PolicyAssignmentProperties ¶
type PolicyAssignmentProperties struct { DisplayName string Parameters map[string]PolicyAssignmentPropertiesParameter }
type PolicyAssignmentPropertiesParameter ¶
type PolicyAssignmentPropertiesParameter struct {
Value []string
}
type Probe ¶
type Probe struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Properties ProbeProperties `json:"properties"` // contains filtered or unexported fields }
type ProbeProperties ¶
type ProbeProperties struct { // tcp/udp/http/https ProvisioningState string `json:"provisioningState"` Protocol string `json:"protocol"` Port int `json:"port"` RequestPath string `json:"requestPath"` IntervalInSeconds int `json:"intervalInSeconds"` NumberOfProbes int `json:"numberOfProbes"` // http/ https only Host string `json:"host"` Path string `json:"path"` Interval int `json:"interval"` Timeout int `json:"timeout"` UnhealthyThreshold int `json:"unhealthyThreshold"` PickHostNameFromBackendHTTPSettings bool `json:"pickHostNameFromBackendHttpSettings"` MinServers int `json:"minServers"` Match Match `json:"match"` LoadBalancingRules []Subnet `json:"loadBalancingRules"` }
type PublicIPAddress ¶
type PublicIPAddress struct { ID string Name string Location string Properties PublicIPAddressPropertiesFormat }
type PublicIPAddressElement ¶
type PublicIPAddressElement struct {
ID string `json:"id"`
}
type PublicIPAddressPropertiesFormat ¶
type PublicIPAddressPropertiesFormat struct { PublicIPAddressVersion string `json:"publicIPAddressVersion,omitempty"` IPAddress string `json:"ipAddress,omitempty"` PublicIPAllocationMethod string `json:"publicIPAllocationMethod,omitempty"` ProvisioningState string `json:"provisioningState,omitempty"` IPConfiguration IPConfiguration `json:"ipConfiguration,omitempty"` }
type PublicIPAddressSku ¶
type PublicIPAddressSku struct {
Name string
}
type RedirectConfiguration ¶
type RedirectConfiguration struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties RedirectConfigurationProperties `json:"properties"` Type string `json:"type"` }
type RedirectConfigurationProperties ¶
type RedirectConfigurationProperties struct { ProvisioningState string `json:"provisioningState"` RedirectType string `json:"redirectType"` TargetUrl string `json:"targetUrl"` TargetListener PublicIPAddressElement `json:"targetListener"` IncludePath bool `json:"includePath"` IncludeQueryString bool `json:"includeQueryString"` URLPathMaps []PublicIPAddressElement `json:"urlPathMaps,omitempty"` PathRules []PublicIPAddressElement `json:"pathRules,omitempty"` }
type RequestRoutingRule ¶
type RequestRoutingRule struct { Name string `json:"name"` ID string `json:"id"` Properties RequestRoutingRuleProperties `json:"properties"` }
type RequestRoutingRuleProperties ¶
type RequestRoutingRuleProperties struct { RuleType string `json:"ruleType"` HTTPListener PublicIPAddress `json:"httpListener"` BackendAddressPool PublicIPAddress `json:"backendAddressPool"` BackendHTTPSettings PublicIPAddress `json:"backendHttpSettings"` }
type ResourceType ¶
type ResponseMetirc ¶
type ResponseMetirc struct { // Cost - The integer value representing the cost of the query, for data case. Cost float64 `json:"cost,omitempty"` // Timespan - The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. Timespan string `json:"timespan,omitempty"` // Interval - The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. Interval string `json:"interval,omitempty"` // Namespace - The namespace of the metrics been queried Namespace string `json:"namespace,omitempty"` // Resourceregion - The region of the resource been queried for metrics. Resourceregion string `json:"resourceregion,omitempty"` // Value - the value of the collection. Value []Metric `json:"value,omitempty"` }
type SAMLProvider ¶
type SAMLProvider struct { multicloud.SResourceBase AzureTags Name string Metadata samlutils.EntityDescriptor // contains filtered or unexported fields }
func (*SAMLProvider) Delete ¶
func (self *SAMLProvider) Delete() error
func (*SAMLProvider) GetAuthUrl ¶
func (self *SAMLProvider) GetAuthUrl(apiServer string) string
func (*SAMLProvider) GetGlobalId ¶
func (self *SAMLProvider) GetGlobalId() string
func (*SAMLProvider) GetId ¶
func (self *SAMLProvider) GetId() string
func (*SAMLProvider) GetMetadataDocument ¶
func (self *SAMLProvider) GetMetadataDocument() (*samlutils.EntityDescriptor, error)
func (*SAMLProvider) GetName ¶
func (self *SAMLProvider) GetName() string
func (*SAMLProvider) GetStatus ¶
func (self *SAMLProvider) GetStatus() string
func (*SAMLProvider) UpdateMetadata ¶
func (self *SAMLProvider) UpdateMetadata(metadata samlutils.EntityDescriptor) error
type SASPVnetProperties ¶
type SASPVnetProperties struct {
VnetResourceId string
}
type SApp ¶
type SApp struct {
SAppSite
}
func (*SApp) GetEnvironments ¶
func (a *SApp) GetEnvironments() ([]cloudprovider.ICloudAppEnvironment, error)
func (*SApp) GetOsType ¶
func (a *SApp) GetOsType() cloudprovider.TOsType
func (*SApp) GetTechStack ¶
type SAppEnvironment ¶
type SAppEnvironment struct { multicloud.SResourceBase AzureTags SAppSite }
func (*SAppEnvironment) GetInstanceNumber ¶
func (ae *SAppEnvironment) GetInstanceNumber() (int, error)
func (*SAppEnvironment) GetInstanceType ¶
func (ae *SAppEnvironment) GetInstanceType() (string, error)
type SAppGatewayWaf ¶
type SAppGatewayWaf struct { multicloud.SResourceBase AzureTags Name string `json:"name"` ID string `json:"id"` Type string `json:"type"` Location string `json:"location"` Properties struct { ApplicationGateways []SApplicationGateway HttpListeners []struct { Id string } PathBasedRules []struct { Id string } Resourcestate string `json:"resourceState"` Provisioningstate string `json:"provisioningState"` Policysettings struct { State string `json:"state"` Mode string `json:"mode"` Maxrequestbodysizeinkb int `json:"maxRequestBodySizeInKb"` Fileuploadlimitinmb int `json:"fileUploadLimitInMb"` Requestbodycheck bool `json:"requestBodyCheck"` } `json:"policySettings"` Customrules []CustomRule `json:"customRules"` Managedrules ManagedRules `json:"managedRules"` } `json:"properties"` // contains filtered or unexported fields }
func (*SAppGatewayWaf) AddRule ¶
func (self *SAppGatewayWaf) AddRule(opts *cloudprovider.SWafRule) (cloudprovider.ICloudWafRule, error)
func (*SAppGatewayWaf) Delete ¶
func (self *SAppGatewayWaf) Delete() error
func (*SAppGatewayWaf) GetCloudResources ¶
func (self *SAppGatewayWaf) GetCloudResources() ([]cloudprovider.SCloudResource, error)
func (*SAppGatewayWaf) GetDefaultAction ¶
func (self *SAppGatewayWaf) GetDefaultAction() *cloudprovider.DefaultAction
func (*SAppGatewayWaf) GetEnabled ¶
func (self *SAppGatewayWaf) GetEnabled() bool
func (*SAppGatewayWaf) GetGlobalId ¶
func (self *SAppGatewayWaf) GetGlobalId() string
func (*SAppGatewayWaf) GetId ¶
func (self *SAppGatewayWaf) GetId() string
func (*SAppGatewayWaf) GetName ¶
func (self *SAppGatewayWaf) GetName() string
func (*SAppGatewayWaf) GetRules ¶
func (self *SAppGatewayWaf) GetRules() ([]cloudprovider.ICloudWafRule, error)
func (*SAppGatewayWaf) GetStatus ¶
func (self *SAppGatewayWaf) GetStatus() string
func (*SAppGatewayWaf) GetWafType ¶
func (self *SAppGatewayWaf) GetWafType() cloudprovider.TWafType
func (*SAppGatewayWaf) Refresh ¶
func (self *SAppGatewayWaf) Refresh() error
type SAppServicePlan ¶
type SAppServicePlan struct { AzureTags Properties SAppServicePlanProperties ID string Kind string Location string Name string Type string Sku SSkuDescription // contains filtered or unexported fields }
func (*SAppServicePlan) GetNetworks ¶
func (asp *SAppServicePlan) GetNetworks() ([]SNetwork, error)
func (*SAppServicePlan) GetSkus ¶
func (asp *SAppServicePlan) GetSkus() ([]SServerFarmSku, error)
func (*SAppServicePlan) GetVnets ¶
func (asp *SAppServicePlan) GetVnets() ([]SAppServicePlanVnet, error)
type SAppServicePlanProperties ¶
type SAppServicePlanProperties struct { FreeOfferExpirationTime string GeoRegion string HostingEnvironmentProfile SHostingEnvironmentProfile HyperV bool IsSpot bool MaximumElasticWorkerCount int MaximumNumberOfWorkers int NumberOfSites int PerSiteScaling bool // 应用服务环境的预配状态 ProvisioningState string Reserved bool ResourceGroup string SpotExpirationTime string // Creating Pending Ready Status string Subscription string TargetWorkerCount int TargetWorkerSizeId int WorkerTierName string }
type SAppServicePlanVnet ¶
type SAppServicePlanVnet struct { Id string Name string Properties SASPVnetProperties }
type SAppSite ¶
type SAppSite struct { multicloud.SResourceBase AzureTags Properties SAppSiteProperties Id string Name string Kind string Location string Type string // contains filtered or unexported fields }
func (*SAppSite) GetAppServicePlan ¶
func (as *SAppSite) GetAppServicePlan() (*SAppServicePlan, error)
func (*SAppSite) GetDeployments ¶
func (as *SAppSite) GetDeployments() ([]SDeployment, error)
func (*SAppSite) GetGlobalId ¶
func (*SAppSite) GetProjectId ¶
type SAppSiteProperties ¶
type SAppWafRuleGroup ¶
type SAppWafRuleGroup struct { Name string `json:"name"` ID string `json:"id"` Type string `json:"type"` Properties struct { Provisioningstate string `json:"provisioningState"` Rulesettype string `json:"ruleSetType"` Rulesetversion string `json:"ruleSetVersion"` Rulegroups []struct { Rulegroupname string `json:"ruleGroupName"` Description string `json:"description"` Rules []struct { Ruleid int `json:"ruleId"` Description string `json:"description"` } `json:"rules"` } `json:"ruleGroups"` } `json:"properties"` }
type SApplicationGateway ¶
type SApplicationGateway struct { multicloud.SResourceBase AzureTags Name string `json:"name"` Id string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Location string `json:"location"` Properties SApplicationGatewayProperties `json:"properties"` // contains filtered or unexported fields }
func (*SApplicationGateway) GetGlobalId ¶
func (self *SApplicationGateway) GetGlobalId() string
func (*SApplicationGateway) GetId ¶
func (self *SApplicationGateway) GetId() string
func (*SApplicationGateway) GetName ¶
func (self *SApplicationGateway) GetName() string
type SApplicationGatewayProperties ¶
type SApplicationGatewayProperties struct { Provisioningstate string `json:"provisioningState"` Resourceguid string `json:"resourceGuid"` Sku struct { Name string `json:"name"` Tier string `json:"tier"` Capacity string `json:"capacity"` } `json:"sku"` Operationalstate string `json:"operationalState"` Gatewayipconfigurations []SGatewayipconfiguration `json:"gatewayIPConfigurations"` Sslcertificates []interface{} `json:"sslCertificates"` Authenticationcertificates []interface{} `json:"authenticationCertificates"` Frontendipconfigurations []SFrontendipconfiguration `json:"frontendIPConfigurations"` Frontendports []SFrontendport `json:"frontendPorts"` Backendaddresspools []SBackendaddresspool `json:"backendAddressPools"` Backendhttpsettingscollection []SBackendhttpsettingscollection `json:"backendHttpSettingsCollection"` Httplisteners []SHttplistener `json:"httpListeners"` Urlpathmaps []interface{} `json:"urlPathMaps"` Requestroutingrules []SRequestroutingrule `json:"requestRoutingRules"` Probes []interface{} `json:"probes"` Redirectconfigurations []interface{} `json:"redirectConfigurations"` Webapplicationfirewallconfiguration struct { Enabled bool `json:"enabled"` Firewallmode string `json:"firewallMode"` Rulesettype string `json:"ruleSetType"` Rulesetversion string `json:"ruleSetVersion"` Disabledrulegroups []interface{} `json:"disabledRuleGroups"` Requestbodycheck bool `json:"requestBodyCheck"` } `json:"webApplicationFirewallConfiguration"` Enablehttp2 bool `json:"enableHttp2"` }
type SAssignment ¶
type SAssignment struct { Id string Name string Type string Properties SAssignmentProperties }
type SAssignmentProperties ¶
type SAuthorization ¶
type SAutomaticOSUpgradeProperties ¶
type SAutomaticOSUpgradeProperties struct {
AutomaticOSUpgradeSupported bool
}
type SAutoscaleProfile ¶
type SAutoscaleProfile struct { Capacity SScaleCapacity FixedDate STimeWindow Name string Recurrence SRecurrence Rule []SScaleRule }
type SAutoscaleSettingProperties ¶
type SAutoscaleSettingProperties struct { Enabled bool Name string TargetResourceUri string Profiles []SAutoscaleProfile }
type SAzureClient ¶
type SAzureClient struct { *AzureClientConfig // contains filtered or unexported fields }
func NewAzureClient ¶
func NewAzureClient(cfg *AzureClientConfig) (*SAzureClient, error)
func (*SAzureClient) AddGroupUser ¶
func (self *SAzureClient) AddGroupUser(id, userName string) error
func (*SAzureClient) AssignPolicy ¶
func (cli *SAzureClient) AssignPolicy(objectId, roleName, subscriptionId string) error
func (*SAzureClient) CheckNameAvailability ¶
func (self *SAzureClient) CheckNameAvailability(resourceType, name string) (bool, error)
func (*SAzureClient) CreateClouduser ¶
func (self *SAzureClient) CreateClouduser(name, password string) (*SClouduser, error)
func (*SAzureClient) CreateGroup ¶
func (self *SAzureClient) CreateGroup(name, desc string) (*SCloudgroup, error)
func (*SAzureClient) CreateICloudgroup ¶
func (self *SAzureClient) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SAzureClient) CreateIClouduser ¶
func (self *SAzureClient) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SAzureClient) CreateIProject ¶
func (self *SAzureClient) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SAzureClient) CreateSAMLProvider ¶
func (self *SAzureClient) CreateSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (*SAMLProvider, error)
func (*SAzureClient) CreateSubscription ¶
func (cli *SAzureClient) CreateSubscription(name string, eaId string, offerType string) error
func (*SAzureClient) DeleteClouduser ¶
func (self *SAzureClient) DeleteClouduser(id string) error
func (*SAzureClient) DeleteGroup ¶
func (self *SAzureClient) DeleteGroup(id string) error
func (*SAzureClient) GDelete ¶
func (self *SAzureClient) GDelete(resourceId string) error
func (*SAzureClient) GetAccessEnv ¶
func (self *SAzureClient) GetAccessEnv() string
func (*SAzureClient) GetAccountId ¶
func (self *SAzureClient) GetAccountId() string
func (*SAzureClient) GetAppObjectId ¶
func (cli *SAzureClient) GetAppObjectId() (string, error)
func (*SAzureClient) GetAssignments ¶
func (cli *SAzureClient) GetAssignments(objectId string) ([]SAssignment, error)
func (*SAzureClient) GetCapabilities ¶
func (self *SAzureClient) GetCapabilities() []string
func (*SAzureClient) GetCloudgroups ¶
func (self *SAzureClient) GetCloudgroups(name string) ([]SCloudgroup, error)
func (*SAzureClient) GetCloudpolicies ¶
func (cli *SAzureClient) GetCloudpolicies(objectId string) ([]SCloudpolicy, error)
func (*SAzureClient) GetClouduser ¶
func (self *SAzureClient) GetClouduser(name string) (*SClouduser, error)
func (*SAzureClient) GetCloudusers ¶
func (self *SAzureClient) GetCloudusers() ([]SClouduser, error)
func (*SAzureClient) GetDefaultDomain ¶
func (self *SAzureClient) GetDefaultDomain() (string, error)
func (*SAzureClient) GetDomains ¶
func (self *SAzureClient) GetDomains() ([]SDomain, error)
func (*SAzureClient) GetEcsMetrics ¶
func (self *SAzureClient) GetEcsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureClient) GetEnrollmentAccounts ¶
func (cli *SAzureClient) GetEnrollmentAccounts() ([]cloudprovider.SEnrollmentAccount, error)
func (*SAzureClient) GetICloudgroupByName ¶
func (self *SAzureClient) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SAzureClient) GetICloudgroups ¶
func (self *SAzureClient) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SAzureClient) GetIClouduserByName ¶
func (self *SAzureClient) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SAzureClient) GetICloudusers ¶
func (self *SAzureClient) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SAzureClient) GetICustomCloudpolicies ¶
func (cli *SAzureClient) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAzureClient) GetIHostById ¶
func (self *SAzureClient) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SAzureClient) GetIProjects ¶
func (self *SAzureClient) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SAzureClient) GetIRegionById ¶
func (self *SAzureClient) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SAzureClient) GetIRegions ¶
func (self *SAzureClient) GetIRegions() []cloudprovider.ICloudRegion
func (*SAzureClient) GetIStorageById ¶
func (self *SAzureClient) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SAzureClient) GetISystemCloudpolicies ¶
func (cli *SAzureClient) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAzureClient) GetIVpcById ¶
func (self *SAzureClient) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SAzureClient) GetIamLoginUrl ¶
func (self *SAzureClient) GetIamLoginUrl() string
func (*SAzureClient) GetInstanceDiskUsage ¶
func (self *SAzureClient) GetInstanceDiskUsage(workspace string, instanceId string, start, end time.Time) ([]WorkspaceData, error)
func (*SAzureClient) GetK8sMetrics ¶
func (self *SAzureClient) GetK8sMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureClient) GetLbMetrics ¶
func (self *SAzureClient) GetLbMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureClient) GetLoganalyticsWorkspaces ¶
func (self *SAzureClient) GetLoganalyticsWorkspaces() ([]SLoganalyticsWorkspace, error)
func (*SAzureClient) GetMetrics ¶
func (self *SAzureClient) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported
func (*SAzureClient) GetPolicyAssignments ¶
func (client *SAzureClient) GetPolicyAssignments(defineId string) ([]SPolicyAssignment, error)
func (*SAzureClient) GetPolicyDefinition ¶
func (client *SAzureClient) GetPolicyDefinition(id string) (*SPolicyDefinition, error)
func (*SAzureClient) GetPolicyDefinitions ¶
func (client *SAzureClient) GetPolicyDefinitions() ([]SPolicyDefinition, error)
func (*SAzureClient) GetRdsMetrics ¶
func (self *SAzureClient) GetRdsMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureClient) GetRedisMetrics ¶
func (self *SAzureClient) GetRedisMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureClient) GetRegion ¶
func (self *SAzureClient) GetRegion(regionId string) *SRegion
func (*SAzureClient) GetRegions ¶
func (self *SAzureClient) GetRegions() []SRegion
func (*SAzureClient) GetRole ¶
func (cli *SAzureClient) GetRole(roleId string) (*SCloudpolicy, error)
func (*SAzureClient) GetRoles ¶
func (cli *SAzureClient) GetRoles(name, policyType string) ([]SCloudpolicy, error)
func (*SAzureClient) GetSercice ¶
func (self *SAzureClient) GetSercice(serviceType string) (*SService, error)
func (*SAzureClient) GetStorageClasses ¶
func (self *SAzureClient) GetStorageClasses(regionExtId string) ([]string, error)
func (*SAzureClient) GetSubAccounts ¶
func (self *SAzureClient) GetSubAccounts() (subAccounts []cloudprovider.SSubAccount, err error)
func (*SAzureClient) GetTags ¶
func (self *SAzureClient) GetTags(resourceId string) (map[string]string, error)
func (*SAzureClient) GetUserGroups ¶
func (self *SAzureClient) GetUserGroups(userId string) ([]SCloudgroup, error)
func (*SAzureClient) InviteUser ¶
func (self *SAzureClient) InviteUser(email string) (*SClouduser, error)
func (*SAzureClient) ListGraphUsers ¶
func (self *SAzureClient) ListGraphUsers() ([]SClouduser, error)
func (*SAzureClient) ListGroupMemebers ¶
func (self *SAzureClient) ListGroupMemebers(id string) ([]SClouduser, error)
func (*SAzureClient) ListRegions ¶
func (self *SAzureClient) ListRegions() ([]SRegion, error)
func (*SAzureClient) ListResourceGroups ¶
func (self *SAzureClient) ListResourceGroups() ([]SResourceGroup, error)
func (*SAzureClient) ListResourceSkus ¶
func (self *SAzureClient) ListResourceSkus() ([]SResourceSku, error)
func (*SAzureClient) ListSAMLProviders ¶
func (self *SAzureClient) ListSAMLProviders() ([]SAMLProvider, error)
func (*SAzureClient) ListServicePrincipal ¶
func (cli *SAzureClient) ListServicePrincipal(appId string) ([]SServicePrincipal, error)
func (*SAzureClient) ListServices ¶
func (self *SAzureClient) ListServices() ([]SService, error)
func (*SAzureClient) ListSubscriptions ¶
func (self *SAzureClient) ListSubscriptions() ([]SSubscription, error)
func (*SAzureClient) RemoveGroupUser ¶
func (self *SAzureClient) RemoveGroupUser(id, userName string) error
func (*SAzureClient) ResetClouduserPassword ¶
func (self *SAzureClient) ResetClouduserPassword(id, password string) error
func (*SAzureClient) ServiceRegister ¶
func (self *SAzureClient) ServiceRegister(serviceType string) error
func (*SAzureClient) ServiceUnRegister ¶
func (self *SAzureClient) ServiceUnRegister(serviceType string) error
func (*SAzureClient) SetTags ¶
func (self *SAzureClient) SetTags(resourceId string, tags map[string]string) (jsonutils.JSONObject, error)
type SAzureImageResource ¶
type SAzureImageResource struct { Id string Name string Location string Properties SAzureImageResourceProperties }
type SAzureImageResourceProperties ¶
type SAzureImageResourceProperties struct { ReplicaType string `json:"replicaType"` OsDiskImage SOsDiskImage `json:"osDiskImage"` HyperVGeneration string `json:"hyperVGeneration,omitempty"` }
type SBackendaddresspool ¶
type SBackendaddresspool struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties struct { Provisioningstate string `json:"provisioningState"` Backendaddresses []interface{} `json:"backendAddresses"` Requestroutingrules []struct { ID string `json:"id"` } `json:"requestRoutingRules"` } `json:"properties"` Type string `json:"type"` }
type SBackendhttpsettingscollection ¶
type SBackendhttpsettingscollection struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties struct { Provisioningstate string `json:"provisioningState"` Port int `json:"port"` Protocol string `json:"protocol"` Cookiebasedaffinity string `json:"cookieBasedAffinity"` Pickhostnamefrombackendaddress bool `json:"pickHostNameFromBackendAddress"` Requesttimeout int `json:"requestTimeout"` Requestroutingrules []struct { ID string `json:"id"` } `json:"requestRoutingRules"` } `json:"properties"` Type string `json:"type"` }
type SCapability ¶
type SCloudgroup ¶
type SCloudgroup struct { Id string DeletionTimestamp string Description string DirSyncEnabled string DisplayName string LastDirSyncTime string Mail string MailNickname string MailEnabled bool ProxyAddresses []string // contains filtered or unexported fields }
func (*SCloudgroup) AddUser ¶
func (group *SCloudgroup) AddUser(name string) error
func (*SCloudgroup) AttachCustomPolicy ¶
func (group *SCloudgroup) AttachCustomPolicy(policyId string) error
func (*SCloudgroup) AttachSystemPolicy ¶
func (group *SCloudgroup) AttachSystemPolicy(policyId string) error
func (*SCloudgroup) Delete ¶
func (group *SCloudgroup) Delete() error
func (*SCloudgroup) DetachCustomPolicy ¶
func (group *SCloudgroup) DetachCustomPolicy(policyId string) error
func (*SCloudgroup) DetachSystemPolicy ¶
func (group *SCloudgroup) DetachSystemPolicy(policyId string) error
func (*SCloudgroup) GetDescription ¶
func (group *SCloudgroup) GetDescription() string
func (*SCloudgroup) GetGlobalId ¶
func (group *SCloudgroup) GetGlobalId() string
func (*SCloudgroup) GetICloudusers ¶
func (group *SCloudgroup) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SCloudgroup) GetICustomCloudpolicies ¶
func (group *SCloudgroup) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SCloudgroup) GetISystemCloudpolicies ¶
func (group *SCloudgroup) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SCloudgroup) GetName ¶
func (group *SCloudgroup) GetName() string
func (*SCloudgroup) RemoveUser ¶
func (group *SCloudgroup) RemoveUser(name string) error
type SCloudpolicy ¶
type SCloudpolicy struct { Id string Type string Name string Properties SRoleProperties }
func (*SCloudpolicy) Delete ¶
func (role *SCloudpolicy) Delete() error
func (*SCloudpolicy) GetDescription ¶
func (role *SCloudpolicy) GetDescription() string
func (*SCloudpolicy) GetDocument ¶
func (role *SCloudpolicy) GetDocument() (*jsonutils.JSONDict, error)
func (*SCloudpolicy) GetGlobalId ¶
func (role *SCloudpolicy) GetGlobalId() string
func (*SCloudpolicy) GetName ¶
func (role *SCloudpolicy) GetName() string
func (*SCloudpolicy) UpdateDocument ¶
func (role *SCloudpolicy) UpdateDocument(document *jsonutils.JSONDict) error
type SClouduser ¶
type SClouduser struct { multicloud.SBaseClouduser OdataType string `json:"odata.type"` ObjectType string Id string DeletionTimestamp string AccountEnabled bool AgeGroup string City string CompanyName string ConsentProvidedForMinor string Country string CreatedDateTime time.Time CreationType string Department string DirSyncEnabled string DisplayName string EmployeeId string FacsimileTelephoneNumber string GivenName string ImmutableId string IsCompromised string JobTitle string LastDirSyncTime string LegalAgeGroupClassification string Mail string MailNickname string Mobile string OnPremisesDistinguishedName string OnPremisesSecurityIdentifier string PasswordPolicies string PasswordProfile SClouduserPasswordProfile PhysicalDeliveryOfficeName string PostalCode string PreferredLanguage string RefreshTokensValidFromDateTime time.Time ShowInAddressList string SipProxyAddress string State string StreetAddress string Surname string TelephoneNumber string ThumbnailPhotoOdataMediaEditLink string `json:"thumbnailPhoto@odata.mediaEditLink"` UsageLocation string UserPrincipalName string UserState string UserStateChangedOn string UserType string // contains filtered or unexported fields }
func (*SClouduser) AttachCustomPolicy ¶
func (user *SClouduser) AttachCustomPolicy(policyId string) error
func (*SClouduser) AttachSystemPolicy ¶
func (user *SClouduser) AttachSystemPolicy(policyId string) error
func (*SClouduser) DetachCustomPolicy ¶
func (user *SClouduser) DetachCustomPolicy(policyId string) error
func (*SClouduser) DetachSystemPolicy ¶
func (user *SClouduser) DetachSystemPolicy(policyId string) error
func (*SClouduser) GetEmailAddr ¶
func (user *SClouduser) GetEmailAddr() string
func (*SClouduser) GetGlobalId ¶
func (user *SClouduser) GetGlobalId() string
func (*SClouduser) GetICloudgroups ¶
func (user *SClouduser) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SClouduser) GetICustomCloudpolicies ¶
func (user *SClouduser) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SClouduser) GetISystemCloudpolicies ¶
func (user *SClouduser) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SClouduser) GetInviteUrl ¶
func (user *SClouduser) GetInviteUrl() string
func (*SClouduser) GetName ¶
func (user *SClouduser) GetName() string
func (*SClouduser) IsConsoleLogin ¶
func (user *SClouduser) IsConsoleLogin() bool
func (*SClouduser) ResetPassword ¶
func (user *SClouduser) ResetPassword(password string) error
type SClouduserPasswordProfile ¶
type SClouduserPasswordProfile struct { Password string // contains filtered or unexported fields }
type SContainer ¶
type SContainer struct { Name string // contains filtered or unexported fields }
func (*SContainer) CopySnapshot ¶
func (self *SContainer) CopySnapshot(snapshotId, fileName string) (*storage.Blob, error)
func (*SContainer) Delete ¶
func (self *SContainer) Delete(fileName string) error
func (*SContainer) ListAllFiles ¶
func (self *SContainer) ListAllFiles(include *storage.IncludeBlobDataset) ([]storage.Blob, error)
func (*SContainer) ListFiles ¶
func (self *SContainer) ListFiles(prefix string, marker string, delimiter string, maxCount int, include *storage.IncludeBlobDataset) (storage.BlobListResponse, error)
func (*SContainer) UploadFile ¶
func (self *SContainer) UploadFile(filePath string, callback func(progress float32)) (string, error)
func (*SContainer) UploadStream ¶
type SDBInstance ¶
type SDBInstance struct { multicloud.SDBInstanceBase AzureTags Sku SDBInstanceSku `json:"sku"` Properties SDBInstanceProperties `json:"properties"` Location string `json:"location"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` // contains filtered or unexported fields }
func (*SDBInstance) Delete ¶
func (rds *SDBInstance) Delete() error
func (*SDBInstance) GetCategory ¶
func (rds *SDBInstance) GetCategory() string
func (*SDBInstance) GetConnectionStr ¶
func (rds *SDBInstance) GetConnectionStr() string
func (*SDBInstance) GetDBNetworks ¶
func (rds *SDBInstance) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*SDBInstance) GetDiskSizeGB ¶
func (rds *SDBInstance) GetDiskSizeGB() int
func (*SDBInstance) GetEngine ¶
func (rds *SDBInstance) GetEngine() string
func (*SDBInstance) GetEngineVersion ¶
func (rds *SDBInstance) GetEngineVersion() string
func (*SDBInstance) GetExpiredAt ¶
func (rds *SDBInstance) GetExpiredAt() time.Time
func (*SDBInstance) GetGlobalId ¶
func (rds *SDBInstance) GetGlobalId() string
func (*SDBInstance) GetIDBInstanceAccounts ¶
func (rds *SDBInstance) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SDBInstance) GetIDBInstanceBackups ¶
func (rds *SDBInstance) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SDBInstance) GetIDBInstanceDatabases ¶
func (rds *SDBInstance) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SDBInstance) GetIDBInstanceParameters ¶
func (rds *SDBInstance) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*SDBInstance) GetIVpcId ¶
func (rds *SDBInstance) GetIVpcId() string
func (*SDBInstance) GetId ¶
func (rds *SDBInstance) GetId() string
func (*SDBInstance) GetInstanceType ¶
func (rds *SDBInstance) GetInstanceType() string
func (*SDBInstance) GetMaintainTime ¶
func (rds *SDBInstance) GetMaintainTime() string
func (*SDBInstance) GetMasterInstanceId ¶
func (rds *SDBInstance) GetMasterInstanceId() string
func (*SDBInstance) GetName ¶
func (rds *SDBInstance) GetName() string
func (*SDBInstance) GetPort ¶
func (rds *SDBInstance) GetPort() int
func (*SDBInstance) GetProjectId ¶
func (self *SDBInstance) GetProjectId() string
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) Refresh ¶
func (rds *SDBInstance) Refresh() error
type SDBInstanceAccount ¶
type SDBInstanceAccount struct { multicloud.SDBInstanceAccountBase AzureTags AccountName string // contains filtered or unexported fields }
func (*SDBInstanceAccount) GetName ¶
func (account *SDBInstanceAccount) GetName() string
type SDBInstanceConfiguration ¶
type SDBInstanceConfiguration struct { Properties SDBInstanceConfigurationProperties `json:"properties"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` }
func (*SDBInstanceConfiguration) GetDescription ¶
func (param *SDBInstanceConfiguration) GetDescription() string
func (*SDBInstanceConfiguration) GetGlobalId ¶
func (param *SDBInstanceConfiguration) GetGlobalId() string
func (*SDBInstanceConfiguration) GetKey ¶
func (param *SDBInstanceConfiguration) GetKey() string
func (*SDBInstanceConfiguration) GetValue ¶
func (param *SDBInstanceConfiguration) GetValue() string
type SDBInstanceDatabase ¶
type SDBInstanceDatabase struct { multicloud.SDBInstanceDatabaseBase AzureTags ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Properties SDBInstanceDatabaseProperties `json:"properties"` // contains filtered or unexported fields }
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
func (*SDBInstanceDatabase) IsEmulated ¶
func (database *SDBInstanceDatabase) IsEmulated() bool
func (*SDBInstanceDatabase) Refresh ¶
func (database *SDBInstanceDatabase) Refresh() error
type SDBInstanceDelegatedSubnetArguments ¶
type SDBInstanceDelegatedSubnetArguments struct {
SubnetArmResourceId string `json:"subnetArmResourceId"`
}
type SDBInstanceProperties ¶
type SDBInstanceProperties struct { AdministratorLogin string `json:"administratorLogin"` StorageProfile SDBInstanceStorageProfile `json:"storageProfile"` Version string `json:"version"` SslEnforcement string `json:"sslEnforcement"` UserVisibleState string `json:"userVisibleState"` FullyQualifiedDomainName string `json:"fullyQualifiedDomainName"` EarliestRestoreDate time.Time `json:"earliestRestoreDate"` ReplicationRole string `json:"replicationRole"` MasterServerId string `json:"masterServerId"` ReplicaCapacity int `json:"replicaCapacity"` DelegatedSubnetArguments SDBInstanceDelegatedSubnetArguments `json:"delegatedSubnetArguments"` }
type SDBInstanceSku ¶
type SDBInstanceVirtualNetworkRule ¶
type SDBInstanceVirtualNetworkRule struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Properties SDBInstanceVirtualNetworkRuleProperties `json:"properties"` }
type SDataDisk ¶
type SDataDisk struct { multicloud.SDisk AzureTags Lun int32 Name string `json:"name,omitempty"` DiskName string `json:"diskName,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` Caching string `json:"caching,omitempty"` DiskSizeGB TAzureInt32 `json:"diskSizeGB,omitempty"` IoType string `json:"ioType,omitempty"` CreateOption string `json:"createOption,omitempty"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` VhdUri string `json:"vhdUri,omitempty"` // contains filtered or unexported fields }
func (*SDataDisk) CreateISnapshot ¶
func (self *SDataDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDataDisk) GetAccessPath ¶
func (*SDataDisk) GetCacheMode ¶
func (*SDataDisk) GetDiskFormat ¶
func (*SDataDisk) GetDiskSizeMB ¶
func (*SDataDisk) GetDiskType ¶
func (*SDataDisk) GetFsFormat ¶
func (*SDataDisk) GetGlobalId ¶
func (*SDataDisk) GetISnapshots ¶
func (self *SDataDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDataDisk) GetIStorage ¶
func (self *SDataDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDataDisk) GetIsAutoDelete ¶
func (*SDataDisk) GetIsNonPersistent ¶
func (*SDataDisk) GetMountpoint ¶
func (*SDataDisk) GetProjectId ¶
func (*SDataDisk) GetTemplateId ¶
type SDeployment ¶
type SDeployment struct { ID string Name string Kind string Type string Properties SDeploymentProperties }
type SDeploymentProperties ¶
type SDisk ¶
type SDisk struct { multicloud.SDisk AzureTags ManagedBy string `json:"managedBy,omitempty"` Sku DiskSku `json:"sku,omitempty"` Zones []string `json:"zones,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Location string `json:"location,omitempty"` Properties DiskProperties `json:"properties,omitempty"` // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetAccessPath ¶
func (*SDisk) GetBillingType ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetCreatedAt ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetExpiredAt ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetProjectId ¶
func (*SDisk) GetTemplateId ¶
func (*SDisk) IsEmulated ¶
type SDomain ¶
type SDomain struct { Name string Id string AuthenticationType string AvailabilityStatus string IsAdminManaged bool IsDefault bool IsDefaultForCloudRedirections bool IsInitial bool IsRoot bool IsVerified bool ForceDeleteState string State string PasswordValidityPeriodInDays string PasswordNotificationWindowInDays string }
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase AzureTags ID string Name string Location string Properties PublicIPAddressPropertiesFormat `json:"properties,omitempty"` Type string Sku *PublicIPAddressSku // 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 SEnrollmentAccount ¶
type SEnrollmentAccount struct { Id string Name string Type string Properties SEnrollmentAccountProperties }
type SEnterpriseRedisCache ¶
type SEnterpriseRedisCache struct { multicloud.SElasticcacheBase AzureTags ID string `json:"id"` Location string `json:"location"` Name string `json:"name"` Type string `json:"type"` Sku struct { Name string `json:"name"` Capacity string `json:"capacity"` } `json:"sku"` Properties struct { Provisioningstate string `json:"provisioningState"` Redisversion string `json:"redisVersion"` Accesskeys interface{} `json:"accessKeys"` Hostname string `json:"hostName"` } `json:"properties"` // contains filtered or unexported fields }
func (*SEnterpriseRedisCache) AllocatePublicConnection ¶
func (self *SEnterpriseRedisCache) AllocatePublicConnection(port int) (string, error)
func (*SEnterpriseRedisCache) ChangeInstanceSpec ¶
func (self *SEnterpriseRedisCache) ChangeInstanceSpec(spec string) error
func (*SEnterpriseRedisCache) CreateAccount ¶
func (self *SEnterpriseRedisCache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SEnterpriseRedisCache) CreateAcl ¶
func (self *SEnterpriseRedisCache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SEnterpriseRedisCache) CreateBackup ¶
func (self *SEnterpriseRedisCache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SEnterpriseRedisCache) Delete ¶
func (self *SEnterpriseRedisCache) Delete() error
func (*SEnterpriseRedisCache) FlushInstance ¶
func (self *SEnterpriseRedisCache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SEnterpriseRedisCache) GetArchType ¶
func (self *SEnterpriseRedisCache) GetArchType() string
func (*SEnterpriseRedisCache) GetAuthMode ¶
func (self *SEnterpriseRedisCache) GetAuthMode() string
func (*SEnterpriseRedisCache) GetCapacityMB ¶
func (self *SEnterpriseRedisCache) GetCapacityMB() int
func (*SEnterpriseRedisCache) GetEngine ¶
func (self *SEnterpriseRedisCache) GetEngine() string
func (*SEnterpriseRedisCache) GetEngineVersion ¶
func (self *SEnterpriseRedisCache) GetEngineVersion() string
func (*SEnterpriseRedisCache) GetGlobalId ¶
func (self *SEnterpriseRedisCache) GetGlobalId() string
func (*SEnterpriseRedisCache) GetICloudElasticcacheAccount ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheAccounts ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheAcl ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheAcls ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheBackup ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheBackups ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SEnterpriseRedisCache) GetICloudElasticcacheParameters ¶
func (self *SEnterpriseRedisCache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SEnterpriseRedisCache) GetId ¶
func (self *SEnterpriseRedisCache) GetId() string
func (*SEnterpriseRedisCache) GetInstanceType ¶
func (self *SEnterpriseRedisCache) GetInstanceType() string
func (*SEnterpriseRedisCache) GetMaintainEndTime ¶
func (self *SEnterpriseRedisCache) GetMaintainEndTime() string
func (*SEnterpriseRedisCache) GetMaintainStartTime ¶
func (self *SEnterpriseRedisCache) GetMaintainStartTime() string
func (*SEnterpriseRedisCache) GetName ¶
func (self *SEnterpriseRedisCache) GetName() string
func (*SEnterpriseRedisCache) GetNetworkId ¶
func (self *SEnterpriseRedisCache) GetNetworkId() string
func (*SEnterpriseRedisCache) GetNetworkType ¶
func (self *SEnterpriseRedisCache) GetNetworkType() string
func (*SEnterpriseRedisCache) GetNodeType ¶
func (self *SEnterpriseRedisCache) GetNodeType() string
func (*SEnterpriseRedisCache) GetPrivateConnectPort ¶
func (self *SEnterpriseRedisCache) GetPrivateConnectPort() int
func (*SEnterpriseRedisCache) GetPrivateDNS ¶
func (self *SEnterpriseRedisCache) GetPrivateDNS() string
func (*SEnterpriseRedisCache) GetPrivateIpAddr ¶
func (self *SEnterpriseRedisCache) GetPrivateIpAddr() string
func (*SEnterpriseRedisCache) GetProjectId ¶
func (self *SEnterpriseRedisCache) GetProjectId() string
func (*SEnterpriseRedisCache) GetPublicConnectPort ¶
func (self *SEnterpriseRedisCache) GetPublicConnectPort() int
func (*SEnterpriseRedisCache) GetPublicDNS ¶
func (self *SEnterpriseRedisCache) GetPublicDNS() string
func (*SEnterpriseRedisCache) GetPublicIpAddr ¶
func (self *SEnterpriseRedisCache) GetPublicIpAddr() string
func (*SEnterpriseRedisCache) GetSecurityGroupIds ¶
func (self *SEnterpriseRedisCache) GetSecurityGroupIds() ([]string, error)
func (*SEnterpriseRedisCache) GetStatus ¶
func (self *SEnterpriseRedisCache) GetStatus() string
func (*SEnterpriseRedisCache) GetVpcId ¶
func (self *SEnterpriseRedisCache) GetVpcId() string
func (*SEnterpriseRedisCache) GetZoneId ¶
func (self *SEnterpriseRedisCache) GetZoneId() string
func (*SEnterpriseRedisCache) ReleasePublicConnection ¶
func (self *SEnterpriseRedisCache) ReleasePublicConnection() error
func (*SEnterpriseRedisCache) Restart ¶
func (self *SEnterpriseRedisCache) Restart() error
func (*SEnterpriseRedisCache) SetMaintainTime ¶
func (self *SEnterpriseRedisCache) SetMaintainTime(start, end string) error
func (*SEnterpriseRedisCache) UpdateAuthMode ¶
func (self *SEnterpriseRedisCache) UpdateAuthMode(noPasswordAccess bool, password string) error
func (*SEnterpriseRedisCache) UpdateBackupPolicy ¶
func (self *SEnterpriseRedisCache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SEnterpriseRedisCache) UpdateInstanceParameters ¶
func (self *SEnterpriseRedisCache) UpdateInstanceParameters(config jsonutils.JSONObject) error
func (*SEnterpriseRedisCache) UpdateSecurityGroups ¶
func (self *SEnterpriseRedisCache) UpdateSecurityGroups(secgroupIds []string) error
type SEvent ¶
type SEvent struct { Authorization SAuthorization Channels string Claims SClaims CorrelationId string Description string EventDataId string EventName SLocalized Category SLocalized Level string ResourceGroupName string ResourceProviderName SLocalized ResourceId string ResourceType SLocalized OperationId string OperationName SLocalized Properties string Status SLocalized SubStatus SLocalized Caller string EventTimestamp time.Time SubmissionTimestamp time.Time SubscriptionId string TenantId string ID string Name string // contains filtered or unexported fields }
func (*SEvent) GetAccount ¶
func (*SEvent) GetCreatedAt ¶
func (*SEvent) GetRequest ¶
func (event *SEvent) GetRequest() jsonutils.JSONObject
func (*SEvent) GetRequestId ¶
func (*SEvent) GetResourceType ¶
func (*SEvent) GetService ¶
type SExtension ¶
type SExtensionResource ¶
type SExtensionResource struct { Id string Name string Type string Location string Properties SExtensionResourceProperties }
type SFrontDoorProperties ¶
type SFrontDoorProperties struct { ResourceState string ProvisioningState string PolicySettings struct { EnabledState string Mode string RedirectUrl string CustomBlockResponseStatusCode int CustomBlockResponseBody string RequestBodyCheck string } CustomRules struct { Rules []struct{} } ManagedRules struct { ManagedRuleSets []struct { RuleSetType string RuleSetVersion string RuleSetAction string RuleGroupOverrides []struct { } Exclusions []struct{} } } FrontendEndpointLinks []struct{} RoutingRuleLinks []struct{} SecurityPolicyLinks []struct{} }
type SFrontDoorWaf ¶
type SFrontendipconfiguration ¶
type SFrontendipconfiguration struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Properties struct { Provisioningstate string `json:"provisioningState"` Privateipallocationmethod string `json:"privateIPAllocationMethod"` PublicIPAddress struct { ID string } PrivateIPAddress string Subnet struct { ID string `json:"id"` } `json:"subnet"` Httplisteners []struct { ID string `json:"id"` } `json:"httpListeners"` } `json:"properties"` }
type SFrontendport ¶
type SFrontendport struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties struct { Provisioningstate string `json:"provisioningState"` Port int `json:"port"` Httplisteners []struct { ID string `json:"id"` } `json:"httpListeners"` } `json:"properties"` Type string `json:"type"` }
type SGatewayipconfiguration ¶
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(instanceId string) (cloudprovider.ICloudVM, error)
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 SHostNameSslState ¶
type SHttplistener ¶
type SHttplistener struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties struct { Provisioningstate string `json:"provisioningState"` Frontendipconfiguration struct { ID string `json:"id"` } `json:"frontendIPConfiguration"` Frontendport struct { ID string `json:"id"` } `json:"frontendPort"` Protocol string `json:"protocol"` Requireservernameindication bool `json:"requireServerNameIndication"` Requestroutingrules []struct { ID string `json:"id"` } `json:"requestRoutingRules"` } `json:"properties"` Type string `json:"type"` }
type SImage ¶
type SImage struct { multicloud.SImageBase AzureTags Properties ImageProperties `json:"properties,omitempty"` ID string `json:"id,omitempty"` Name string Type string Location string Publisher string Offer string Sku string Version string ImageType cloudprovider.TImageType // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (i *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetBlobUri ¶
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) GetSysTags ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase AzureTags Properties VirtualMachineProperties ID string Name string Type string Location string Resources []SExtensionResource // contains filtered or unexported fields }
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) DeployVM ¶
func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (self *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetPowerStates ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetSysTags ¶
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
func (*SInstance) WaitEnableVMAccessReady ¶
func (*SInstance) WaitVMAgentReady ¶
type SInstanceNic ¶
type SInstanceNic struct { multicloud.SResourceBase AzureTags ID string Name string Type string Location string Properties InterfacePropertiesFormat `json:"properties,omitempty"` cloudprovider.DummyICloudNic // contains filtered or unexported fields }
func (*SInstanceNic) Delete ¶
func (self *SInstanceNic) Delete() error
func (*SInstanceNic) GetAssociateId ¶
func (self *SInstanceNic) GetAssociateId() string
func (*SInstanceNic) GetAssociateType ¶
func (self *SInstanceNic) GetAssociateType() string
func (*SInstanceNic) GetDriver ¶
func (self *SInstanceNic) GetDriver() string
func (*SInstanceNic) GetGlobalId ¶
func (self *SInstanceNic) GetGlobalId() string
func (*SInstanceNic) GetICloudInterfaceAddresses ¶
func (self *SInstanceNic) GetICloudInterfaceAddresses() ([]cloudprovider.ICloudInterfaceAddress, error)
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) GetMacAddress ¶
func (self *SInstanceNic) GetMacAddress() string
func (*SInstanceNic) GetName ¶
func (self *SInstanceNic) GetName() string
func (*SInstanceNic) GetStatus ¶
func (self *SInstanceNic) GetStatus() string
func (*SInstanceNic) InClassicNetwork ¶
func (self *SInstanceNic) InClassicNetwork() bool
type SKubeCluster ¶
type SKubeCluster struct { multicloud.SResourceBase AzureTags Id string `json:"id"` Location string `json:"location"` Name string `json:"name"` Type string `json:"type"` Properties struct { ProvisioningState string `json:"provisioningState"` PowerState struct { Code string `json:"code"` } `json:"powerState"` KubernetesVersion string `json:"kubernetesVersion"` DNSPrefix string `json:"dnsPrefix"` Fqdn string `json:"fqdn"` AzurePortalFQDN string `json:"azurePortalFQDN"` AgentPoolProfiles []SKubeNodePool `json:"agentPoolProfiles"` ServicePrincipalProfile struct { ClientId string `json:"clientId"` } `json:"servicePrincipalProfile"` AddonProfiles struct { Azurepolicy struct { Enabled bool `json:"enabled"` Config string `json:"config"` } `json:"azurepolicy"` HTTPApplicationRouting struct { Enabled bool `json:"enabled"` Config struct { HTTPApplicationRoutingZoneName string `json:"HTTPApplicationRoutingZoneName"` } `json:"config"` } `json:"httpApplicationRouting"` OmsAgent struct { Enabled bool `json:"enabled"` Config struct { LogAnalyticsWorkspaceResourceId string `json:"logAnalyticsWorkspaceResourceId"` } `json:"config"` Identity struct { ResourceId string `json:"resourceId"` ClientId string `json:"clientId"` ObjectId string `json:"objectId"` } `json:"identity"` } `json:"omsAgent"` } `json:"addonProfiles"` NodeResourceGroup string `json:"nodeResourceGroup"` EnableRBAC bool `json:"enableRBAC"` NetworkProfile struct { NetworkPlugin string `json:"networkPlugin"` LoadBalancerSku string `json:"loadBalancerSku"` LoadBalancerProfile struct { ManagedOutboundIPs struct { Count int `json:"count"` } `json:"managedOutboundIPs"` EffectiveOutboundIPs []struct { Id string `json:"id"` } `json:"effectiveOutboundIPs"` } `json:"loadBalancerProfile"` PodCidr string `json:"podCidr"` ServiceCidr string `json:"serviceCidr"` DNSServiceIP string `json:"dnsServiceIP"` DockerBridgeCidr string `json:"dockerBridgeCidr"` OutboundType string `json:"outboundType"` } `json:"networkProfile"` MaxAgentPools int `json:"maxAgentPools"` APIServerAccessProfile struct { EnablePrivateCluster bool `json:"enablePrivateCluster"` } `json:"apiServerAccessProfile"` IdentityProfile struct { Kubeletidentity struct { ResourceId string `json:"resourceId"` ClientId string `json:"clientId"` ObjectId string `json:"objectId"` } `json:"kubeletidentity"` } `json:"identityProfile"` } `json:"properties"` Identity struct { Type string `json:"type"` PrincipalId string `json:"principalId"` TenantId string `json:"tenantId"` } `json:"identity"` Sku struct { Name string `json:"name"` Tier string `json:"tier"` } `json:"sku"` // contains filtered or unexported fields }
func (*SKubeCluster) CreateIKubeNodePool ¶
func (self *SKubeCluster) CreateIKubeNodePool(opts *cloudprovider.KubeNodePoolCreateOptions) (cloudprovider.ICloudKubeNodePool, error)
func (*SKubeCluster) Delete ¶
func (self *SKubeCluster) Delete(isRetain bool) error
func (*SKubeCluster) GetEnabled ¶
func (self *SKubeCluster) GetEnabled() bool
func (*SKubeCluster) GetGlobalId ¶
func (self *SKubeCluster) GetGlobalId() string
func (*SKubeCluster) GetIKubeNodePools ¶
func (self *SKubeCluster) GetIKubeNodePools() ([]cloudprovider.ICloudKubeNodePool, error)
func (*SKubeCluster) GetIKubeNodes ¶
func (self *SKubeCluster) GetIKubeNodes() ([]cloudprovider.ICloudKubeNode, error)
func (*SKubeCluster) GetId ¶
func (self *SKubeCluster) GetId() string
func (*SKubeCluster) GetKubeConfig ¶
func (self *SKubeCluster) GetKubeConfig(private bool, expireMinute 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 SKubeNodePool ¶
type SKubeNodePool struct { multicloud.SResourceBase AzureTags Name string `json:"name"` Count int `json:"count"` VMSize string `json:"vmSize"` OsDiskSizeGB int `json:"osDiskSizeGB"` OsDiskType string `json:"osDiskType"` KubeletDiskType string `json:"kubeletDiskType"` MaxPods int `json:"maxPods"` Type string `json:"type"` EnableAutoScaling bool `json:"enableAutoScaling"` ProvisioningState string `json:"provisioningState"` PowerState struct { Code string `json:"code"` } `json:"powerState"` OrchestratorVersion string `json:"orchestratorVersion"` Mode string `json:"mode"` OsType string `json:"osType"` OsSKU string `json:"osSKU"` NodeImageVersion string `json:"nodeImageVersion"` EnableFIPS bool `json:"enableFIPS"` // contains filtered or unexported fields }
func (*SKubeNodePool) Delete ¶
func (self *SKubeNodePool) Delete() error
func (*SKubeNodePool) GetDesiredInstanceCount ¶
func (self *SKubeNodePool) GetDesiredInstanceCount() int
func (*SKubeNodePool) GetGlobalId ¶
func (self *SKubeNodePool) GetGlobalId() string
func (*SKubeNodePool) GetId ¶
func (self *SKubeNodePool) GetId() string
func (*SKubeNodePool) GetInstanceTypes ¶
func (self *SKubeNodePool) GetInstanceTypes() []string
func (*SKubeNodePool) GetMaxInstanceCount ¶
func (self *SKubeNodePool) GetMaxInstanceCount() int
func (*SKubeNodePool) GetMinInstanceCount ¶
func (self *SKubeNodePool) GetMinInstanceCount() int
func (*SKubeNodePool) GetName ¶
func (self *SKubeNodePool) GetName() string
func (*SKubeNodePool) GetNetworkIds ¶
func (self *SKubeNodePool) GetNetworkIds() []string
func (*SKubeNodePool) GetRootDiskSizeGb ¶
func (self *SKubeNodePool) GetRootDiskSizeGb() int
func (*SKubeNodePool) GetStatus ¶
func (self *SKubeNodePool) GetStatus() string
type SLoadBalancerListener ¶
type SLoadBalancerListener struct { multicloud.SResourceBase AzureTags multicloud.SLoadbalancerRedirectBase Name string ID string ProvisioningState string IPVersion string Protocol string // 监听协议 LoadDistribution string // 调度算法 FrontendPort int // 前端端口 BackendPort int // 后端端口 ClientIdleTimeout int // 客户端连接超时 EnableFloatingIP bool // 浮动 IP EnableTcpReset bool // contains filtered or unexported fields }
todo: 目前不支持 入站 NAT 规则 todo: HTTP 设置(端口+协议,其余信息丢弃) + 后端池 = onecloud 路径的路由 的 onecloud 后端服务器组
应用型LB: urlPathMaps(defaultBackendAddressPool+defaultBackendHttpSettings+requestRoutingRules+httpListeners)= Onecloud监听器 4层LB: loadBalancingRules(前端) = Onecloud监听器
func (*SLoadBalancerListener) ChangeCertificate ¶
func (listerner *SLoadBalancerListener) ChangeCertificate(ctx context.Context, opts *cloudprovider.ListenerCertificateOptions) error
func (*SLoadBalancerListener) ChangeScheduler ¶
func (self *SLoadBalancerListener) ChangeScheduler(ctx context.Context, opts *cloudprovider.ChangeListenerSchedulerOptions) error
func (*SLoadBalancerListener) CreateILoadBalancerListenerRule ¶
func (self *SLoadBalancerListener) CreateILoadBalancerListenerRule(rule *cloudprovider.SLoadbalancerListenerRule) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadBalancerListener) Delete ¶
func (self *SLoadBalancerListener) Delete(ctx context.Context) error
func (*SLoadBalancerListener) GetAclId ¶
func (self *SLoadBalancerListener) GetAclId() string
func (*SLoadBalancerListener) GetAclStatus ¶
func (self *SLoadBalancerListener) GetAclStatus() string
func (*SLoadBalancerListener) GetAclType ¶
func (self *SLoadBalancerListener) GetAclType() string
func (*SLoadBalancerListener) GetBackendConnectTimeout ¶
func (self *SLoadBalancerListener) GetBackendConnectTimeout() int
func (*SLoadBalancerListener) GetBackendGroupId ¶
func (self *SLoadBalancerListener) GetBackendGroupId() string
func (*SLoadBalancerListener) GetBackendServerPort ¶
func (self *SLoadBalancerListener) GetBackendServerPort() int
func (*SLoadBalancerListener) GetCertificateId ¶
func (self *SLoadBalancerListener) GetCertificateId() string
func (*SLoadBalancerListener) GetClientIdleTimeout ¶
func (self *SLoadBalancerListener) GetClientIdleTimeout() int
func (*SLoadBalancerListener) GetEgressMbps ¶
func (self *SLoadBalancerListener) GetEgressMbps() int
func (*SLoadBalancerListener) GetGlobalId ¶
func (self *SLoadBalancerListener) GetGlobalId() string
func (*SLoadBalancerListener) GetHealthCheck ¶
func (self *SLoadBalancerListener) GetHealthCheck() string
func (*SLoadBalancerListener) GetHealthCheckCode ¶
func (self *SLoadBalancerListener) GetHealthCheckCode() string
todo: 和onecloud code不兼容? 与此处输入的 HTTP 状态代码或代码范围相匹配的响应将被视为成功。请输入逗号分隔的代码列表(例如 200, 201)或者输入一个代码范围(例如 220-226)
func (*SLoadBalancerListener) GetHealthCheckDomain ¶
func (self *SLoadBalancerListener) GetHealthCheckDomain() string
func (*SLoadBalancerListener) GetHealthCheckExp ¶
func (self *SLoadBalancerListener) GetHealthCheckExp() string
func (*SLoadBalancerListener) GetHealthCheckFail ¶
func (self *SLoadBalancerListener) GetHealthCheckFail() int
func (*SLoadBalancerListener) GetHealthCheckInterval ¶
func (self *SLoadBalancerListener) GetHealthCheckInterval() int
func (*SLoadBalancerListener) GetHealthCheckReq ¶
func (self *SLoadBalancerListener) GetHealthCheckReq() string
func (*SLoadBalancerListener) GetHealthCheckRise ¶
func (self *SLoadBalancerListener) GetHealthCheckRise() int
func (*SLoadBalancerListener) GetHealthCheckTimeout ¶
func (self *SLoadBalancerListener) GetHealthCheckTimeout() int
func (*SLoadBalancerListener) GetHealthCheckType ¶
func (self *SLoadBalancerListener) GetHealthCheckType() string
func (*SLoadBalancerListener) GetHealthCheckURI ¶
func (self *SLoadBalancerListener) GetHealthCheckURI() string
func (*SLoadBalancerListener) GetILoadBalancerListenerRuleById ¶
func (self *SLoadBalancerListener) GetILoadBalancerListenerRuleById(ruleId string) (cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadBalancerListener) GetILoadbalancerListenerRules ¶
func (self *SLoadBalancerListener) GetILoadbalancerListenerRules() ([]cloudprovider.ICloudLoadbalancerListenerRule, error)
func (*SLoadBalancerListener) GetId ¶
func (self *SLoadBalancerListener) GetId() string
func (*SLoadBalancerListener) GetListenerPort ¶
func (self *SLoadBalancerListener) GetListenerPort() int
func (*SLoadBalancerListener) GetListenerType ¶
func (self *SLoadBalancerListener) GetListenerType() string
func (*SLoadBalancerListener) GetName ¶
func (self *SLoadBalancerListener) GetName() string
func (*SLoadBalancerListener) GetProjectId ¶
func (self *SLoadBalancerListener) GetProjectId() string
func (*SLoadBalancerListener) GetRedirect ¶
func (self *SLoadBalancerListener) GetRedirect() string
func (*SLoadBalancerListener) GetRedirectCode ¶
func (self *SLoadBalancerListener) GetRedirectCode() int64
func (*SLoadBalancerListener) GetRedirectHost ¶
func (self *SLoadBalancerListener) GetRedirectHost() string
func (*SLoadBalancerListener) GetRedirectPath ¶
func (self *SLoadBalancerListener) GetRedirectPath() string
func (*SLoadBalancerListener) GetRedirectScheme ¶
func (self *SLoadBalancerListener) GetRedirectScheme() string
func (*SLoadBalancerListener) GetScheduler ¶
func (self *SLoadBalancerListener) GetScheduler() string
func (*SLoadBalancerListener) GetStatus ¶
func (self *SLoadBalancerListener) GetStatus() string
func (*SLoadBalancerListener) GetStickySession ¶
func (self *SLoadBalancerListener) GetStickySession() string
func (*SLoadBalancerListener) GetStickySessionCookie ¶
func (self *SLoadBalancerListener) GetStickySessionCookie() string
func (*SLoadBalancerListener) GetStickySessionCookieTimeout ¶
func (self *SLoadBalancerListener) GetStickySessionCookieTimeout() int
func (*SLoadBalancerListener) GetStickySessionType ¶
func (self *SLoadBalancerListener) GetStickySessionType() string
func (*SLoadBalancerListener) GetTLSCipherPolicy ¶
func (self *SLoadBalancerListener) GetTLSCipherPolicy() string
func (*SLoadBalancerListener) GetTags ¶
func (self *SLoadBalancerListener) GetTags() (map[string]string, error)
func (*SLoadBalancerListener) GzipEnabled ¶
func (self *SLoadBalancerListener) GzipEnabled() bool
func (*SLoadBalancerListener) HTTP2Enabled ¶
func (self *SLoadBalancerListener) HTTP2Enabled() bool
func (*SLoadBalancerListener) Refresh ¶
func (self *SLoadBalancerListener) Refresh() error
func (*SLoadBalancerListener) SetAcl ¶
func (listerner *SLoadBalancerListener) SetAcl(ctx context.Context, opts *cloudprovider.ListenerAclOptions) error
func (*SLoadBalancerListener) SetHealthCheck ¶
func (self *SLoadBalancerListener) SetHealthCheck(ctx context.Context, opts *cloudprovider.ListenerHealthCheckOptions) error
func (*SLoadBalancerListener) SetTags ¶
func (self *SLoadBalancerListener) SetTags(tags map[string]string, replace bool) error
func (*SLoadBalancerListener) Start ¶
func (self *SLoadBalancerListener) Start() error
func (*SLoadBalancerListener) Stop ¶
func (self *SLoadBalancerListener) Stop() error
func (*SLoadBalancerListener) XForwardedForEnabled ¶
func (self *SLoadBalancerListener) XForwardedForEnabled() bool
type SLoadbalancer ¶
type SLoadbalancer struct { multicloud.SResourceBase AzureTags Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Type string `json:"type"` Location string `json:"location"` Properties SLoadbalancerProperties `json:"properties"` Sku Sku `json:"sku"` // contains filtered or unexported fields }
func (*SLoadbalancer) CreateILoadBalancerBackendGroup ¶
func (self *SLoadbalancer) CreateILoadBalancerBackendGroup(group *cloudprovider.SLoadbalancerBackendGroup) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) CreateILoadBalancerListener ¶
func (self *SLoadbalancer) CreateILoadBalancerListener(ctx context.Context, listener *cloudprovider.SLoadbalancerListenerCreateOptions) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetAddress ¶
func (self *SLoadbalancer) GetAddress() string
func (*SLoadbalancer) GetAddressType ¶
func (self *SLoadbalancer) GetAddressType() string
func (*SLoadbalancer) GetChargeType ¶
func (self *SLoadbalancer) GetChargeType() string
func (*SLoadbalancer) GetEgressMbps ¶
func (self *SLoadbalancer) GetEgressMbps() int
func (*SLoadbalancer) GetGlobalId ¶
func (self *SLoadbalancer) GetGlobalId() string
func (*SLoadbalancer) GetIEIP ¶
func (self *SLoadbalancer) GetIEIP() (cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetIEIPById ¶
func (self *SLoadbalancer) GetIEIPById(eipId string) (cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetIEIPS ¶
func (self *SLoadbalancer) GetIEIPS() ([]cloudprovider.ICloudEIP, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroupById ¶
func (self *SLoadbalancer) GetILoadBalancerBackendGroupById(groupId string) (cloudprovider.ICloudLoadbalancerBackendGroup, error)
func (*SLoadbalancer) GetILoadBalancerBackendGroups ¶
func (self *SLoadbalancer) GetILoadBalancerBackendGroups() ([]cloudprovider.ICloudLoadbalancerBackendGroup, error)
应用型LB: HTTP 设置 + 后端池 = onecloud 后端服务器组 4层LB: loadBalancingRules(backendPort)+ 后端池 = onecloud 后端服务器组
func (*SLoadbalancer) GetILoadBalancerCertificateById ¶
func (self *SLoadbalancer) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SLoadbalancer) GetILoadBalancerCertificates ¶
func (self *SLoadbalancer) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SLoadbalancer) GetILoadBalancerListenerById ¶
func (self *SLoadbalancer) GetILoadBalancerListenerById(listenerId string) (cloudprovider.ICloudLoadbalancerListener, error)
func (*SLoadbalancer) GetILoadBalancerListeners ¶
func (self *SLoadbalancer) GetILoadBalancerListeners() ([]cloudprovider.ICloudLoadbalancerListener, error)
应用型LB: urlPathMaps(defaultBackendAddressPool+defaultBackendHttpSettings+requestRoutingRules+httpListeners)= Onecloud监听器 4层LB: loadBalancingRules(前端) = Onecloud监听器
func (*SLoadbalancer) GetId ¶
func (self *SLoadbalancer) GetId() string
func (*SLoadbalancer) GetLoadbalancerSpec ¶
func (self *SLoadbalancer) GetLoadbalancerSpec() string
func (*SLoadbalancer) GetName ¶
func (self *SLoadbalancer) GetName() string
func (*SLoadbalancer) GetNetworkIds ¶
func (self *SLoadbalancer) GetNetworkIds() []string
func (*SLoadbalancer) GetNetworkType ¶
func (self *SLoadbalancer) GetNetworkType() string
func (*SLoadbalancer) GetProjectId ¶
func (self *SLoadbalancer) GetProjectId() string
func (*SLoadbalancer) GetStatus ¶
func (self *SLoadbalancer) GetStatus() string
func (*SLoadbalancer) GetSysTags ¶
func (self *SLoadbalancer) GetSysTags() map[string]string
func (*SLoadbalancer) GetVpcId ¶
func (self *SLoadbalancer) GetVpcId() string
func (*SLoadbalancer) GetZone1Id ¶
func (self *SLoadbalancer) GetZone1Id() string
func (*SLoadbalancer) GetZoneId ¶
func (self *SLoadbalancer) GetZoneId() string
func (*SLoadbalancer) IsEmulated ¶
func (self *SLoadbalancer) IsEmulated() bool
func (*SLoadbalancer) Refresh ¶
func (self *SLoadbalancer) Refresh() error
func (*SLoadbalancer) Start ¶
func (self *SLoadbalancer) Start() error
func (*SLoadbalancer) Stop ¶
func (self *SLoadbalancer) Stop() error
type SLoadbalancerBackend ¶
type SLoadbalancerBackend struct { multicloud.SResourceBase // networkInterfaces 通过接口地址反查虚拟机地址 Name string `json:"name"` ID string `json:"id"` Type string `json:"type"` BackendPort int BackendIP string // contains filtered or unexported fields }
func (*SLoadbalancerBackend) GetBackendId ¶
func (self *SLoadbalancerBackend) GetBackendId() string
func (*SLoadbalancerBackend) GetBackendRole ¶
func (self *SLoadbalancerBackend) GetBackendRole() string
func (*SLoadbalancerBackend) GetBackendType ¶
func (self *SLoadbalancerBackend) GetBackendType() string
func (*SLoadbalancerBackend) GetGlobalId ¶
func (self *SLoadbalancerBackend) GetGlobalId() string
func (*SLoadbalancerBackend) GetId ¶
func (self *SLoadbalancerBackend) GetId() string
func (*SLoadbalancerBackend) GetIpAddress ¶
func (self *SLoadbalancerBackend) GetIpAddress() string
func (*SLoadbalancerBackend) GetName ¶
func (self *SLoadbalancerBackend) GetName() string
func (*SLoadbalancerBackend) GetPort ¶
func (self *SLoadbalancerBackend) GetPort() int
func (*SLoadbalancerBackend) GetProjectId ¶
func (self *SLoadbalancerBackend) GetProjectId() string
func (*SLoadbalancerBackend) GetStatus ¶
func (self *SLoadbalancerBackend) GetStatus() string
func (*SLoadbalancerBackend) GetSysTags ¶
func (self *SLoadbalancerBackend) GetSysTags() map[string]string
func (*SLoadbalancerBackend) GetTags ¶
func (self *SLoadbalancerBackend) GetTags() (map[string]string, error)
func (*SLoadbalancerBackend) GetWeight ¶
func (self *SLoadbalancerBackend) GetWeight() int
type SLoadbalancerBackendGroup ¶
type SLoadbalancerBackendGroup struct { multicloud.SResourceBase Pool BackendAddressPool DefaultPort int HttpSettings *BackendHTTPSettingsCollection BackendIps []BackendIPConfiguration // contains filtered or unexported fields }
todo: 虚拟机规模集不支持 注: 因为与onecloud后端服务器组存在配置差异,不支持同步未关联的后端服务器组 应用型LB: HTTP 设置 + 后端池 = onecloud 后端服务器组 4层LB: loadBalancingRules(backendPort)+ 后端池 = onecloud 后端服务器组
func (*SLoadbalancerBackendGroup) AddBackendServer ¶
func (self *SLoadbalancerBackendGroup) AddBackendServer(serverId string, weight int, port int) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) Delete ¶
func (self *SLoadbalancerBackendGroup) Delete(ctx context.Context) error
func (*SLoadbalancerBackendGroup) GetGlobalId ¶
func (self *SLoadbalancerBackendGroup) GetGlobalId() string
func (*SLoadbalancerBackendGroup) GetHealthCheck ¶
func (self *SLoadbalancerBackendGroup) GetHealthCheck() (*cloudprovider.SLoadbalancerHealthCheck, error)
func (*SLoadbalancerBackendGroup) GetILoadbalancerBackendById ¶
func (self *SLoadbalancerBackendGroup) GetILoadbalancerBackendById(backendId string) (cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) GetILoadbalancerBackends ¶
func (self *SLoadbalancerBackendGroup) GetILoadbalancerBackends() ([]cloudprovider.ICloudLoadbalancerBackend, error)
func (*SLoadbalancerBackendGroup) GetId ¶
func (self *SLoadbalancerBackendGroup) GetId() string
func (*SLoadbalancerBackendGroup) GetLoadbalancerId ¶
func (self *SLoadbalancerBackendGroup) GetLoadbalancerId() string
func (*SLoadbalancerBackendGroup) GetName ¶
func (self *SLoadbalancerBackendGroup) GetName() string
func (*SLoadbalancerBackendGroup) GetProjectId ¶
func (self *SLoadbalancerBackendGroup) GetProjectId() string
func (*SLoadbalancerBackendGroup) GetProtocolType ¶
func (self *SLoadbalancerBackendGroup) GetProtocolType() string
func (*SLoadbalancerBackendGroup) GetScheduler ¶
func (self *SLoadbalancerBackendGroup) GetScheduler() string
func (*SLoadbalancerBackendGroup) GetStatus ¶
func (self *SLoadbalancerBackendGroup) GetStatus() string
func (*SLoadbalancerBackendGroup) GetStickySession ¶
func (self *SLoadbalancerBackendGroup) GetStickySession() (*cloudprovider.SLoadbalancerStickySession, error)
func (*SLoadbalancerBackendGroup) GetSysTags ¶
func (self *SLoadbalancerBackendGroup) GetSysTags() map[string]string
func (*SLoadbalancerBackendGroup) GetTags ¶
func (self *SLoadbalancerBackendGroup) GetTags() (map[string]string, error)
func (*SLoadbalancerBackendGroup) GetType ¶
func (self *SLoadbalancerBackendGroup) GetType() string
func (*SLoadbalancerBackendGroup) IsDefault ¶
func (self *SLoadbalancerBackendGroup) IsDefault() bool
func (*SLoadbalancerBackendGroup) IsEmulated ¶
func (self *SLoadbalancerBackendGroup) IsEmulated() bool
func (*SLoadbalancerBackendGroup) Refresh ¶
func (self *SLoadbalancerBackendGroup) Refresh() error
func (*SLoadbalancerBackendGroup) RemoveBackendServer ¶
func (self *SLoadbalancerBackendGroup) RemoveBackendServer(serverId string, weight int, port int) error
func (*SLoadbalancerBackendGroup) SetTags ¶
func (self *SLoadbalancerBackendGroup) SetTags(tags map[string]string, replace bool) error
func (*SLoadbalancerBackendGroup) Sync ¶
func (self *SLoadbalancerBackendGroup) Sync(ctx context.Context, group *cloudprovider.SLoadbalancerBackendGroup) error
type SLoadbalancerCert ¶
type SLoadbalancerCert struct { multicloud.SResourceBase Name string `json:"name"` ID string `json:"id"` PublicKey string `json:"public_key"` // contains filtered or unexported fields }
func (*SLoadbalancerCert) Delete ¶
func (self *SLoadbalancerCert) Delete() error
func (*SLoadbalancerCert) GetCommonName ¶
func (self *SLoadbalancerCert) GetCommonName() string
func (*SLoadbalancerCert) GetExpireTime ¶
func (self *SLoadbalancerCert) GetExpireTime() time.Time
func (*SLoadbalancerCert) GetFingerprint ¶
func (self *SLoadbalancerCert) GetFingerprint() string
func (*SLoadbalancerCert) GetGlobalId ¶
func (self *SLoadbalancerCert) GetGlobalId() string
func (*SLoadbalancerCert) GetId ¶
func (self *SLoadbalancerCert) GetId() string
func (*SLoadbalancerCert) GetName ¶
func (self *SLoadbalancerCert) GetName() string
func (*SLoadbalancerCert) GetPrivateKey ¶
func (self *SLoadbalancerCert) GetPrivateKey() string
func (*SLoadbalancerCert) GetProjectId ¶
func (self *SLoadbalancerCert) GetProjectId() string
func (*SLoadbalancerCert) GetPublickKey ¶
func (self *SLoadbalancerCert) GetPublickKey() string
func (*SLoadbalancerCert) GetStatus ¶
func (self *SLoadbalancerCert) GetStatus() string
func (*SLoadbalancerCert) GetSubjectAlternativeNames ¶
func (self *SLoadbalancerCert) GetSubjectAlternativeNames() string
func (*SLoadbalancerCert) GetSysTags ¶
func (self *SLoadbalancerCert) GetSysTags() map[string]string
func (*SLoadbalancerCert) GetTags ¶
func (self *SLoadbalancerCert) GetTags() (map[string]string, error)
func (*SLoadbalancerCert) IsEmulated ¶
func (self *SLoadbalancerCert) IsEmulated() bool
func (*SLoadbalancerCert) ParsePublicKey ¶
func (self *SLoadbalancerCert) ParsePublicKey() (*x509.Certificate, error)
func (*SLoadbalancerCert) Refresh ¶
func (self *SLoadbalancerCert) Refresh() error
func (*SLoadbalancerCert) SetTags ¶
func (self *SLoadbalancerCert) SetTags(tags map[string]string, replace bool) error
func (*SLoadbalancerCert) Sync ¶
func (self *SLoadbalancerCert) Sync(name, privateKey, publickKey string) error
type SLoadbalancerListenerRule ¶
type SLoadbalancerListenerRule struct { multicloud.SResourceBase multicloud.SLoadbalancerRedirectBase // urlPathMaps -> pathRules Name string `json:"name"` ID string `json:"id"` Domain string `json:"domain"` Properties PathRuleProperties `json:"properties"` // contains filtered or unexported fields }
func (*SLoadbalancerListenerRule) Delete ¶
func (self *SLoadbalancerListenerRule) Delete(ctx context.Context) error
func (*SLoadbalancerListenerRule) GetBackendGroupId ¶
func (self *SLoadbalancerListenerRule) GetBackendGroupId() string
func (*SLoadbalancerListenerRule) GetCondition ¶
func (self *SLoadbalancerListenerRule) GetCondition() string
func (*SLoadbalancerListenerRule) GetDomain ¶
func (self *SLoadbalancerListenerRule) GetDomain() string
func (*SLoadbalancerListenerRule) GetGlobalId ¶
func (self *SLoadbalancerListenerRule) GetGlobalId() string
func (*SLoadbalancerListenerRule) GetId ¶
func (self *SLoadbalancerListenerRule) GetId() string
func (*SLoadbalancerListenerRule) GetName ¶
func (self *SLoadbalancerListenerRule) GetName() string
func (*SLoadbalancerListenerRule) GetPath ¶
func (self *SLoadbalancerListenerRule) GetPath() string
func (*SLoadbalancerListenerRule) GetProjectId ¶
func (self *SLoadbalancerListenerRule) GetProjectId() string
func (*SLoadbalancerListenerRule) GetRedirect ¶
func (self *SLoadbalancerListenerRule) GetRedirect() string
func (*SLoadbalancerListenerRule) GetRedirectCode ¶
func (self *SLoadbalancerListenerRule) GetRedirectCode() int64
func (*SLoadbalancerListenerRule) GetRedirectHost ¶
func (self *SLoadbalancerListenerRule) GetRedirectHost() string
func (*SLoadbalancerListenerRule) GetRedirectPath ¶
func (self *SLoadbalancerListenerRule) GetRedirectPath() string
func (*SLoadbalancerListenerRule) GetRedirectScheme ¶
func (self *SLoadbalancerListenerRule) GetRedirectScheme() string
func (*SLoadbalancerListenerRule) GetStatus ¶
func (self *SLoadbalancerListenerRule) GetStatus() string
func (*SLoadbalancerListenerRule) GetSysTags ¶
func (self *SLoadbalancerListenerRule) GetSysTags() map[string]string
func (*SLoadbalancerListenerRule) GetTags ¶
func (self *SLoadbalancerListenerRule) GetTags() (map[string]string, error)
func (*SLoadbalancerListenerRule) IsDefault ¶
func (self *SLoadbalancerListenerRule) IsDefault() bool
type SLoadbalancerProperties ¶
type SLoadbalancerProperties struct { Sku Sku `json:"sku"` ProvisioningState string `json:"provisioningState"` OperationalState string `json:"operationalState"` ResourceGUID string `json:"resourceGuid"` GatewayIPConfigurations []GatewayIPConfiguration `json:"gatewayIPConfigurations"` SSLCertificates []SSLCertificate `json:"sslCertificates"` FrontendIPConfigurations []FrontendIPConfiguration `json:"frontendIPConfigurations"` FrontendPorts []FrontendPort `json:"frontendPorts"` BackendAddressPools []BackendAddressPool `json:"backendAddressPools"` BackendHTTPSettingsCollection []BackendHTTPSettingsCollection `json:"backendHttpSettingsCollection"` LoadBalancingRules []LoadBalancingRule `json:"loadBalancingRules"` Probes []Probe `json:"probes"` InboundNatRules []InboundNatRule `json:"inboundNatRules"` HTTPListeners []HTTPListener `json:"httpListeners"` URLPathMaps []URLPathMap `json:"urlPathMaps"` RequestRoutingRules []RequestRoutingRule `json:"requestRoutingRules"` RedirectConfigurations []RedirectConfiguration `json:"redirectConfigurations"` WebApplicationFirewallConfiguration WebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration"` AutoscaleConfiguration AutoscaleConfiguration `json:"autoscaleConfiguration"` EnableHttp2 bool `json:"enableHttp2"` }
type SLoadbalancerSku ¶
type SLoadbalancerSku struct {
Name string `json:"name"`
}
type SLocalized ¶
type SLoganalyticsWorkspace ¶
type SLoganalyticsWorkspace struct { Id string `json:"id"` Location string `json:"location"` Name string `json:"name"` SLoganalyticsWorkspaceProperties SLoganalyticsWorkspaceProperties `json:"properties"` Type string `json:"type"` }
type SLoganalyticsWorkspaceProperties ¶
type SLoganalyticsWorkspaceProperties struct { CreatedDate string `json:"createdDate"` CustomerId string `json:"customerId"` SLoganalyticsWorkspacePropertiesFeatures SLoganalyticsWorkspacePropertiesFeatures `json:"features"` ModifiedDate string `json:"modifiedDate"` ProvisioningState string `json:"provisioningState"` PublicNetworkAccessForIngestion string `json:"publicNetworkAccessForIngestion"` PublicNetworkAccessForQuery string `json:"publicNetworkAccessForQuery"` RetentionInDays int `json:"retentionInDays"` SLoganalyticsWorkspacePropertiesSku SLoganalyticsWorkspacePropertiesSku `json:"sku"` Source string `json:"source"` SLoganalyticsWorkspacePropertiesWorkspaceCapping SLoganalyticsWorkspacePropertiesWorkspaceCapping `json:"workspaceCapping"` }
type SManagedRuleGroup ¶
type SManagedRuleGroup struct { Name string Id string Type string Properties SManagedRuleGroupProperties }
type SManagedRuleGroupProperties ¶
type SManagedRuleGroupProperties struct { ProvisioningState string RuleSetId string RuleSetType string RuleSetVersion string RuleGroups []SRuleGroup }
type SManagedSQLServer ¶
type SManagedSQLServer struct { multicloud.SDBInstanceBase AzureTags Location string `json:"location"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Sku struct { Name string `json:"name"` Tier string `json:"tier"` Capacity int `json:"capacity"` Family string `json:"family"` } `json:"sku"` Properties struct { Fullyqualifieddomainname string `json:"fullyQualifiedDomainName"` Administratorlogin string `json:"administratorLogin"` Subnetid string `json:"subnetId"` State string `json:"state"` Provisioningstate string `json:"provisioningState"` Vcores int `json:"vCores"` Storagesizeingb int `json:"storageSizeInGB"` Licensetype string `json:"licenseType"` Collation string `json:"collation"` Publicdataendpointenabled bool `json:"publicDataEndpointEnabled"` Proxyoverride string `json:"proxyOverride"` Minimaltlsversion string `json:"minimalTlsVersion"` Dnszone string `json:"dnsZone"` Maintenanceconfigurationid string `json:"maintenanceConfigurationId"` Storageaccounttype string `json:"storageAccountType"` } `json:"properties"` // contains filtered or unexported fields }
func (*SManagedSQLServer) GetCategory ¶
func (self *SManagedSQLServer) GetCategory() string
func (*SManagedSQLServer) GetConnectionStr ¶
func (self *SManagedSQLServer) GetConnectionStr() string
func (*SManagedSQLServer) GetDiskSizeGB ¶
func (self *SManagedSQLServer) GetDiskSizeGB() int
func (*SManagedSQLServer) GetEngine ¶
func (self *SManagedSQLServer) GetEngine() string
func (*SManagedSQLServer) GetEngineVersion ¶
func (self *SManagedSQLServer) GetEngineVersion() string
func (*SManagedSQLServer) GetGlobalId ¶
func (self *SManagedSQLServer) GetGlobalId() string
func (*SManagedSQLServer) GetIDBInstanceAccounts ¶
func (self *SManagedSQLServer) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SManagedSQLServer) GetIDBInstanceDatabases ¶
func (self *SManagedSQLServer) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SManagedSQLServer) GetIVpcId ¶
func (self *SManagedSQLServer) GetIVpcId() string
func (*SManagedSQLServer) GetId ¶
func (self *SManagedSQLServer) GetId() string
func (*SManagedSQLServer) GetInstanceType ¶
func (self *SManagedSQLServer) GetInstanceType() string
func (*SManagedSQLServer) GetMaintainTime ¶
func (self *SManagedSQLServer) GetMaintainTime() string
func (*SManagedSQLServer) GetName ¶
func (self *SManagedSQLServer) GetName() string
func (*SManagedSQLServer) GetPort ¶
func (self *SManagedSQLServer) GetPort() int
func (*SManagedSQLServer) GetProjectId ¶
func (self *SManagedSQLServer) GetProjectId() string
func (*SManagedSQLServer) GetStatus ¶
func (self *SManagedSQLServer) GetStatus() string
func (*SManagedSQLServer) GetStorageType ¶
func (self *SManagedSQLServer) GetStorageType() string
func (*SManagedSQLServer) GetVcpuCount ¶
func (self *SManagedSQLServer) GetVcpuCount() int
func (*SManagedSQLServer) GetVmemSizeMB ¶
func (self *SManagedSQLServer) GetVmemSizeMB() int
func (*SManagedSQLServer) GetZone1Id ¶
func (self *SManagedSQLServer) GetZone1Id() string
func (*SManagedSQLServer) GetZone2Id ¶
func (self *SManagedSQLServer) GetZone2Id() string
func (*SManagedSQLServer) GetZone3Id ¶
func (self *SManagedSQLServer) GetZone3Id() string
type SManagedSQLServerAccount ¶
type SManagedSQLServerAccount struct { multicloud.SDBInstanceAccountBase Name string // contains filtered or unexported fields }
func (*SManagedSQLServerAccount) GetName ¶
func (self *SManagedSQLServerAccount) GetName() string
type SManagedSQLServerDatabase ¶
type SManagedSQLServerDatabase struct { multicloud.SDBInstanceDatabaseBase AzureTags ID string `json:"id"` Location string `json:"location"` Name string `json:"name"` Properties struct { Collation string `json:"collation"` Creationdate time.Time `json:"creationDate"` Defaultsecondarylocation string `json:"defaultSecondaryLocation"` Status string `json:"status"` } `json:"properties"` Type string `json:"type"` // contains filtered or unexported fields }
func (*SManagedSQLServerDatabase) GetCharacterSet ¶
func (self *SManagedSQLServerDatabase) GetCharacterSet() string
func (*SManagedSQLServerDatabase) GetGlobalId ¶
func (self *SManagedSQLServerDatabase) GetGlobalId() string
func (*SManagedSQLServerDatabase) GetId ¶
func (self *SManagedSQLServerDatabase) GetId() string
func (*SManagedSQLServerDatabase) GetName ¶
func (self *SManagedSQLServerDatabase) GetName() string
func (*SManagedSQLServerDatabase) GetStatus ¶
func (self *SManagedSQLServerDatabase) GetStatus() string
type SMatchcondition ¶
type SMatchcondition struct { Matchvariables []SMatchvariable `json:"matchVariables"` Operator string `json:"operator"` Negationconditon bool `json:"negationConditon"` Matchvalues []string `json:"matchValues"` Transforms []string `json:"transforms"` }
type SMatchvariable ¶
type SMetricTrigger ¶
type SMetricTrigger struct { // 维度条件的列表。 例如: [{"DimensionName": "AppName"、"Operator": "Equals"、"Values": ["App1"]}、{"DimensionName": "Deployment"、"Operator": "Equals"、"Values": ["default"]}]。 Dimensions []SScaleRuleMetricDimension // 一个值,该值指示度量值是否应除以每个实例。 DividePerInstance bool // 定义规则监视内容的指标的名称。 MetricName string // 定义规则监视内容的指标的命名空间。 MetricNamespace string // 规则监视的资源的资源标识符。 MetricResourceUri string // 用于比较指标数据和阈值的运算符。 // Equals GreaterThan GreaterThanOrEqual LessThan LessThanOrEqual NotEquals Operator string // 指标统计信息类型。 来自多个实例的指标进行组合的方式。 // Average Max Min Sum Statistic string // 触发缩放操作的度量值的阈值。 Threshold int // 时间聚合类型。 随着时间推移,收集的数据应如何组合。 默认值为 Average。 // Average Count Last Maximum Minimum Total TimeAggregation string //规则监视的度量值的粒度。 必须是从指标的指标定义返回的预定义值之一。 必须介于 12 小时和 1 分钟之间。 TimeGrain string //收集实例数据的时间范围。 此值必须大于指标集合中的延迟,可能会因资源而异。 必须介于 12 小时和 5 分钟之间。 TimeWindow string }
type SNetwork ¶
type SNetwork struct { multicloud.SResourceBase AzureTags //AvailableIpAddressCount int `json:"availableIpAddressCount,omitempty"` ID string Name string Properties SubnetPropertiesFormat AddressPrefix string `json:"addressPrefix,omitempty"` // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetGateway ¶
func (*SNetwork) GetGlobalId ¶
func (*SNetwork) GetIWire ¶
func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
func (*SNetwork) GetIpStart ¶
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq
func (*SNetwork) GetIsPublic ¶
func (*SNetwork) GetProjectId ¶
func (*SNetwork) GetPublicScope ¶
func (self *SNetwork) GetPublicScope() rbacscope.TRbacScope
func (*SNetwork) GetServerType ¶
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 SOsDisk ¶
type SOsDisk struct { multicloud.SDisk AzureTags OsType string `json:"osType,omitempty"` Caching string `json:"caching,omitempty"` Name string DiskSizeGB TAzureInt32 `json:"diskSizeGB,omitempty"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` CreateOption string `json:"createOption,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` // contains filtered or unexported fields }
func (*SOsDisk) CreateISnapshot ¶
func (self *SOsDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SOsDisk) GetAccessPath ¶
func (*SOsDisk) GetCacheMode ¶
func (*SOsDisk) GetDiskFormat ¶
func (*SOsDisk) GetDiskSizeMB ¶
func (*SOsDisk) GetDiskType ¶
func (*SOsDisk) GetFsFormat ¶
func (*SOsDisk) GetGlobalId ¶
func (*SOsDisk) GetISnapshots ¶
func (self *SOsDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SOsDisk) GetIStorage ¶
func (self *SOsDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SOsDisk) GetIsAutoDelete ¶
func (*SOsDisk) GetIsNonPersistent ¶
func (*SOsDisk) GetMountpoint ¶
func (*SOsDisk) GetProjectId ¶
func (*SOsDisk) GetTemplateId ¶
type SOsDiskImage ¶
type SPermission ¶
type SPolicyAssignment ¶
type SPolicyAssignment struct { Id string Properties PolicyAssignmentProperties // contains filtered or unexported fields }
func (*SPolicyAssignment) GetCategory ¶
func (assignment *SPolicyAssignment) GetCategory() string
func (*SPolicyAssignment) GetCondition ¶
func (assignment *SPolicyAssignment) GetCondition() string
func (*SPolicyAssignment) GetGlobalId ¶
func (assignment *SPolicyAssignment) GetGlobalId() string
func (*SPolicyAssignment) GetName ¶
func (assignment *SPolicyAssignment) GetName() string
func (*SPolicyAssignment) GetParameters ¶
func (assignment *SPolicyAssignment) GetParameters() *jsonutils.JSONDict
type SPolicyDefinition ¶
type SPolicyDefinition struct { Properties SPolicyDefinitonProperties Id string Name string Type string }
type SPolicyDefinitonPropertieParameter ¶
type SPolicyDefinitonPropertieParameter struct { Type string Metadata SPolicyDefinitonPropertieParameterMetadata AllowedValues []string DefaultValue []string }
type SPolicyDefinitonPropertieRule ¶
type SPolicyDefinitonPropertieRule struct { If jsonutils.JSONObject Then SPolicyDefinitonPropertieRuleThen }
type SPolicyDefinitonPropertieRuleThen ¶
type SPolicyDefinitonPropertieRuleThen struct {
Effect string
}
type SPolicyDefinitonProperties ¶
type SPolicyDefinitonProperties struct { DisplayName string PolicyType string Mode string Description string Metadata SPolicyDefinitonPropertieMetadata Parameters map[string]SPolicyDefinitonPropertieParameter PolicyRule SPolicyDefinitonPropertieRule }
type SPrivateendpointconnection ¶
type SPrivateendpointconnection struct { ID string `json:"id"` Properties struct { Provisioningstate string `json:"provisioningState"` Privateendpoint struct { ID string `json:"id"` } `json:"privateEndpoint"` Privatelinkserviceconnectionstate struct { Status string `json:"status"` Description string `json:"description"` Actionsrequired string `json:"actionsRequired"` } `json:"privateLinkServiceConnectionState"` } `json:"properties"` }
type SPublisherDriver ¶
type SPublisherDriver struct { OsType string GetOffers func() []string GetSkus func(offer string) []string GetOsDist func(offser, sku, version string) string GetOsVersion func(offser, sku, version string) string GetOsArch func(offser, sku, version string) string GetName func(offser, sku, version string) string }
type SRecurrence ¶
type SRecurrence struct { Frequency string Schedule SRecurrentSchedule }
type SRecurrentSchedule ¶
type SRedisAcl ¶
type SRedisAcl struct { multicloud.SResourceBase AzureTags ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Properties struct { Startip string `json:"startIP"` Endip string `json:"endIP"` } `json:"properties"` // contains filtered or unexported fields }
func (*SRedisAcl) GetGlobalId ¶
type SRedisCache ¶
type SRedisCache struct { multicloud.SElasticcacheBase AzureTags ID string `json:"id"` Location string `json:"location"` Name string `json:"name"` Type string `json:"type"` Properties struct { Provisioningstate string `json:"provisioningState"` Redisversion string `json:"redisVersion"` Sku struct { Name string `json:"name"` Family string `json:"family"` Capacity int `json:"capacity"` } `json:"sku"` Enablenonsslport bool `json:"enableNonSslPort"` Instances []struct { Sslport int `json:"sslPort"` Shardid int `json:"shardId"` Ismaster bool `json:"isMaster"` } `json:"instances"` Publicnetworkaccess string `json:"publicNetworkAccess"` Redisconfiguration struct { Maxclients string `json:"maxclients"` MaxmemoryReserved string `json:"maxmemory-reserved"` MaxfragmentationmemoryReserved string `json:"maxfragmentationmemory-reserved"` MaxmemoryDelta string `json:"maxmemory-delta"` } `json:"redisConfiguration"` Accesskeys interface{} `json:"accessKeys"` Hostname string `json:"hostName"` Port int `json:"port"` Sslport int `json:"sslPort"` Shardcount int `json:"shardCount"` SubnetId string `json:"subnetId"` StaticIP string `json:"staticIP"` Linkedservers []interface{} `json:"linkedServers"` } `json:"properties"` // contains filtered or unexported fields }
func (*SRedisCache) AllocatePublicConnection ¶
func (self *SRedisCache) AllocatePublicConnection(port int) (string, error)
func (*SRedisCache) ChangeInstanceSpec ¶
func (self *SRedisCache) ChangeInstanceSpec(spec string) error
func (*SRedisCache) CreateAccount ¶
func (self *SRedisCache) CreateAccount(account cloudprovider.SCloudElasticCacheAccountInput) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SRedisCache) CreateAcl ¶
func (self *SRedisCache) CreateAcl(aclName, securityIps string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SRedisCache) CreateBackup ¶
func (self *SRedisCache) CreateBackup(desc string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SRedisCache) Delete ¶
func (self *SRedisCache) Delete() error
func (*SRedisCache) FlushInstance ¶
func (self *SRedisCache) FlushInstance(input cloudprovider.SCloudElasticCacheFlushInstanceInput) error
func (*SRedisCache) GetArchType ¶
func (self *SRedisCache) GetArchType() string
func (*SRedisCache) GetAuthMode ¶
func (self *SRedisCache) GetAuthMode() string
func (*SRedisCache) GetCapacityMB ¶
func (self *SRedisCache) GetCapacityMB() int
func (*SRedisCache) GetEngine ¶
func (self *SRedisCache) GetEngine() string
func (*SRedisCache) GetEngineVersion ¶
func (self *SRedisCache) GetEngineVersion() string
func (*SRedisCache) GetGlobalId ¶
func (self *SRedisCache) GetGlobalId() string
func (*SRedisCache) GetICloudElasticcacheAccount ¶
func (self *SRedisCache) GetICloudElasticcacheAccount(accountId string) (cloudprovider.ICloudElasticcacheAccount, error)
func (*SRedisCache) GetICloudElasticcacheAccounts ¶
func (self *SRedisCache) GetICloudElasticcacheAccounts() ([]cloudprovider.ICloudElasticcacheAccount, error)
func (*SRedisCache) GetICloudElasticcacheAcl ¶
func (self *SRedisCache) GetICloudElasticcacheAcl(aclId string) (cloudprovider.ICloudElasticcacheAcl, error)
func (*SRedisCache) GetICloudElasticcacheAcls ¶
func (self *SRedisCache) GetICloudElasticcacheAcls() ([]cloudprovider.ICloudElasticcacheAcl, error)
func (*SRedisCache) GetICloudElasticcacheBackup ¶
func (self *SRedisCache) GetICloudElasticcacheBackup(backupId string) (cloudprovider.ICloudElasticcacheBackup, error)
func (*SRedisCache) GetICloudElasticcacheBackups ¶
func (self *SRedisCache) GetICloudElasticcacheBackups() ([]cloudprovider.ICloudElasticcacheBackup, error)
func (*SRedisCache) GetICloudElasticcacheParameters ¶
func (self *SRedisCache) GetICloudElasticcacheParameters() ([]cloudprovider.ICloudElasticcacheParameter, error)
func (*SRedisCache) GetId ¶
func (self *SRedisCache) GetId() string
func (*SRedisCache) GetInstanceType ¶
func (self *SRedisCache) GetInstanceType() string
func (*SRedisCache) GetMaintainEndTime ¶
func (self *SRedisCache) GetMaintainEndTime() string
func (*SRedisCache) GetMaintainStartTime ¶
func (self *SRedisCache) GetMaintainStartTime() string
func (*SRedisCache) GetName ¶
func (self *SRedisCache) GetName() string
func (*SRedisCache) GetNetworkId ¶
func (self *SRedisCache) GetNetworkId() string
func (*SRedisCache) GetNetworkType ¶
func (self *SRedisCache) GetNetworkType() string
func (*SRedisCache) GetNodeType ¶
func (self *SRedisCache) GetNodeType() string
func (*SRedisCache) GetPrivateConnectPort ¶
func (self *SRedisCache) GetPrivateConnectPort() int
func (*SRedisCache) GetPrivateDNS ¶
func (self *SRedisCache) GetPrivateDNS() string
func (*SRedisCache) GetPrivateIpAddr ¶
func (self *SRedisCache) GetPrivateIpAddr() string
func (*SRedisCache) GetProjectId ¶
func (self *SRedisCache) GetProjectId() string
func (*SRedisCache) GetPublicConnectPort ¶
func (self *SRedisCache) GetPublicConnectPort() int
func (*SRedisCache) GetPublicDNS ¶
func (self *SRedisCache) GetPublicDNS() string
func (*SRedisCache) GetPublicIpAddr ¶
func (self *SRedisCache) GetPublicIpAddr() string
func (*SRedisCache) GetSecurityGroupIds ¶
func (self *SRedisCache) GetSecurityGroupIds() ([]string, error)
func (*SRedisCache) GetStatus ¶
func (self *SRedisCache) GetStatus() string
func (*SRedisCache) GetVpcId ¶
func (self *SRedisCache) GetVpcId() string
func (*SRedisCache) GetZoneId ¶
func (self *SRedisCache) GetZoneId() string
func (*SRedisCache) ReleasePublicConnection ¶
func (self *SRedisCache) ReleasePublicConnection() error
func (*SRedisCache) Restart ¶
func (self *SRedisCache) Restart() error
func (*SRedisCache) SetMaintainTime ¶
func (self *SRedisCache) SetMaintainTime(start, end string) error
func (*SRedisCache) UpdateAuthMode ¶
func (self *SRedisCache) UpdateAuthMode(noPasswordAccess bool, password string) error
func (*SRedisCache) UpdateBackupPolicy ¶
func (self *SRedisCache) UpdateBackupPolicy(config cloudprovider.SCloudElasticCacheBackupPolicyUpdateInput) error
func (*SRedisCache) UpdateInstanceParameters ¶
func (self *SRedisCache) UpdateInstanceParameters(config jsonutils.JSONObject) error
func (*SRedisCache) UpdateSecurityGroups ¶
func (self *SRedisCache) UpdateSecurityGroups(secgroupIds []string) error
type SRegion ¶
type SRegion struct { multicloud.SRegion ID string Name string DisplayName string Latitude string Longitude string // contains filtered or unexported fields }
func (*SRegion) AllocateEIP ¶
func (self *SRegion) AllocateEIP(name, projectId string) (*SEipAddress, error)
func (*SRegion) AssociateEip ¶
func (*SRegion) AttachDisk ¶
func (*SRegion) AttachSecurityToInterfaces ¶
func (*SRegion) ChangeConfig ¶
func (*SRegion) ChangeVMConfig ¶
func (*SRegion) CreateAppWafInstance ¶
func (self *SRegion) CreateAppWafInstance(name string, action *cloudprovider.DefaultAction) (*SAppGatewayWaf, error)
func (*SRegion) CreateDisk ¶
func (*SRegion) CreateEIP ¶
func (region *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateIBucket ¶
func (*SRegion) CreateICloudWafInstance ¶
func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
func (*SRegion) CreateILoadBalancer ¶
func (region *SRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) CreateILoadBalancerAcl ¶
func (region *SRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) CreateILoadBalancerCertificate ¶
func (region *SRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) CreateISecurityGroup ¶
func (region *SRegion) CreateISecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateImage ¶
func (*SRegion) CreateImageByBlob ¶
func (*SRegion) CreateInstanceSimple ¶
func (*SRegion) CreateNetwork ¶
func (*SRegion) CreateNetworkInterface ¶
func (*SRegion) CreateResourceGroup ¶
func (self *SRegion) CreateResourceGroup(groupName string) (jsonutils.JSONObject, error)
func (*SRegion) CreateSecurityGroup ¶
func (region *SRegion) CreateSecurityGroup(opts *cloudprovider.SecurityGroupCreateInput) (*SSecurityGroup, error)
func (*SRegion) CreateSecurityGroupRule ¶
func (self *SRegion) CreateSecurityGroupRule(groupId string, opts *cloudprovider.SecurityGroupRuleCreateOptions) (*SecurityRules, error)
func (*SRegion) CreateSnapshot ¶
func (*SRegion) CreateStorageAccount ¶
func (self *SRegion) CreateStorageAccount(storageAccount string) (*SStorageAccount, error)
func (*SRegion) DeallocateEIP ¶
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteIBucket ¶
func (*SRegion) DeleteImage ¶
func (*SRegion) DeleteNetworkInterface ¶
func (*SRegion) DeleteResourceGroup ¶
func (*SRegion) DeleteSnapshot ¶
func (*SRegion) DeleteStorageAccount ¶
func (*SRegion) DeployVM ¶
func (region *SRegion) DeployVM(ctx context.Context, instanceId, osType string, opts *cloudprovider.SInstanceDeployOptions) error
func (*SRegion) DetachDisk ¶
func (*SRegion) DissociateEip ¶
func (*SRegion) GetAppGatewayWaf ¶
func (self *SRegion) GetAppGatewayWaf(id string) (*SAppGatewayWaf, error)
func (*SRegion) GetAppServicePlan ¶
func (r *SRegion) GetAppServicePlan(planId string) (*SAppServicePlan, error)
func (*SRegion) GetAppServicePlanWithCache ¶
func (r *SRegion) GetAppServicePlanWithCache(id string) (*SAppServicePlan, error)
func (*SRegion) GetAppServicePlans ¶
func (r *SRegion) GetAppServicePlans() ([]SAppServicePlan, error)
func (*SRegion) GetAppServiceSkus ¶
func (*SRegion) GetAppSites ¶
func (*SRegion) GetApplicationGateway ¶
func (self *SRegion) GetApplicationGateway(id string) (*SApplicationGateway, error)
func (*SRegion) GetAutoscaleSettingResources ¶
func (r *SRegion) GetAutoscaleSettingResources() ([]SAutoscaleSettingResource, error)
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetClassicStorageAccount ¶
func (self *SRegion) GetClassicStorageAccount(id string) (*SStorageAccount, error)
func (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SAzureClient
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetDBInstanceById ¶
func (self *SRegion) GetDBInstanceById(instanceId string) (*SDBInstance, error)
func (*SRegion) GetEips ¶
func (region *SRegion) GetEips() ([]SEipAddress, error)
func (*SRegion) GetEnterpriseRedisCache ¶
func (self *SRegion) GetEnterpriseRedisCache(id string) (*SEnterpriseRedisCache, error)
func (*SRegion) GetEnterpriseRedisCaches ¶
func (self *SRegion) GetEnterpriseRedisCaches() ([]SEnterpriseRedisCache, 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) GetICloudAppById ¶
func (r *SRegion) GetICloudAppById(id string) (cloudprovider.ICloudApp, error)
func (*SRegion) GetICloudApps ¶
func (r *SRegion) GetICloudApps() ([]cloudprovider.ICloudApp, error)
func (*SRegion) GetICloudEvents ¶
func (region *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) GetICloudQuotas ¶
func (region *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, 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) GetIDBInstanceById ¶
func (self *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDBInstances ¶
func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDiskById ¶
func (self *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SRegion) GetIEipById ¶
func (region *SRegion) GetIEipById(eipId string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIElasticcacheById ¶
func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIElasticcaches ¶
func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIHostById ¶
func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetILoadBalancerAclById ¶
func (region *SRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerAcls ¶
func (region *SRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegion) GetILoadBalancerById ¶
func (region *SRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetILoadBalancerCertificateById ¶
func (region *SRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancerCertificates ¶
func (region *SRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegion) GetILoadBalancers ¶
func (region *SRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
func (*SRegion) GetINetworkInterfaces ¶
func (self *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
func (*SRegion) GetISecurityGroupById ¶
func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISecurityGroups ¶
func (self *SRegion) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (self *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetISnapshots ¶
func (self *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetIStorageById ¶
func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (region *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStorages ¶
func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SRegion) GetIVMById ¶
func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SRegion) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetImagePublishers ¶
func (*SRegion) GetImageStatus ¶
func (self *SRegion) GetImageStatus(imageId string) (ImageStatusType, error)
func (*SRegion) GetImages ¶
func (self *SRegion) GetImages(imageType cloudprovider.TImageType) ([]SImage, error)
func (*SRegion) GetInstance ¶
func (*SRegion) GetInstanceScaleSets ¶
func (*SRegion) GetInstances ¶
func (*SRegion) GetKubeCluster ¶
func (self *SRegion) GetKubeCluster(id string) (*SKubeCluster, error)
func (*SRegion) GetKubeClusters ¶
func (self *SRegion) GetKubeClusters() ([]SKubeCluster, error)
func (*SRegion) GetKubeConfig ¶
func (self *SRegion) GetKubeConfig(id string) (*cloudprovider.SKubeconfig, error)
func (*SRegion) GetManagedSQLServer ¶
func (self *SRegion) GetManagedSQLServer(id string) (*SManagedSQLServer, error)
func (*SRegion) GetManagedSQLServerDatabases ¶
func (self *SRegion) GetManagedSQLServerDatabases(id string) ([]SManagedSQLServerDatabase, error)
func (*SRegion) GetNetworkInterface ¶
func (self *SRegion) GetNetworkInterface(interfaceId string) (*SInstanceNic, error)
func (*SRegion) GetNetworkInterfaces ¶
func (self *SRegion) GetNetworkInterfaces() ([]SInstanceNic, error)
func (*SRegion) GetOfferedImageIDs ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetRedisCache ¶
func (self *SRegion) GetRedisCache(id string) (*SRedisCache, error)
func (*SRegion) GetRedisCaches ¶
func (self *SRegion) GetRedisCaches() ([]SRedisCache, error)
func (*SRegion) GetResourceGroupDetail ¶
func (self *SRegion) GetResourceGroupDetail(groupName string) (*SResourceGroup, error)
func (*SRegion) GetSQLServer ¶
func (self *SRegion) GetSQLServer(id string) (*SSQLServer, error)
func (*SRegion) GetSQLServerDatabases ¶
func (self *SRegion) GetSQLServerDatabases(id string) ([]SSQLServerDatabase, error)
func (*SRegion) GetSecurityGroupDetails ¶
func (region *SRegion) GetSecurityGroupDetails(secgroupId string) (*SSecurityGroup, error)
func (*SRegion) GetSnapshot ¶
func (*SRegion) GetStorageAccountDetail ¶
func (self *SRegion) GetStorageAccountDetail(accountId string) (*SStorageAccount, error)
func (*SRegion) GetStorageAccountKey ¶
func (*SRegion) GetStorageAccountSkus ¶
func (self *SRegion) GetStorageAccountSkus() ([]SStorageAccountSku, error)
func (*SRegion) GetUniqStorageAccountName ¶
func (*SRegion) GrantAccessSnapshot ¶
func (*SRegion) IsEmulated ¶
func (*SRegion) ListAppGateways ¶
func (self *SRegion) ListAppGateways() ([]SApplicationGateway, error)
func (*SRegion) ListAppWafManagedRuleGroup ¶
func (self *SRegion) ListAppWafManagedRuleGroup() ([]SAppWafRuleGroup, error)
func (*SRegion) ListAppWafs ¶
func (self *SRegion) ListAppWafs() ([]SAppGatewayWaf, error)
func (*SRegion) ListClassicStorageAccounts ¶
func (self *SRegion) ListClassicStorageAccounts() ([]SStorageAccount, error)
func (*SRegion) ListDBInstance ¶
func (self *SRegion) ListDBInstance(instanceType string) ([]SDBInstance, error)
func (*SRegion) ListDBInstanceConfiguration ¶
func (self *SRegion) ListDBInstanceConfiguration(Id string) ([]SDBInstanceConfiguration, error)
func (*SRegion) ListDBInstanceReplica ¶
func (self *SRegion) ListDBInstanceReplica(Id string) ([]SDBInstance, error)
func (*SRegion) ListDBInstanceVirtualNetworkRule ¶
func (self *SRegion) ListDBInstanceVirtualNetworkRule(Id string) ([]SDBInstanceVirtualNetworkRule, error)
func (*SRegion) ListFrontDoorWafs ¶
func (self *SRegion) ListFrontDoorWafs(resGroup string) ([]SFrontDoorWaf, error)
func (*SRegion) ListManagedRuleGroups ¶
func (self *SRegion) ListManagedRuleGroups() ([]SManagedRuleGroup, error)
func (*SRegion) ListManagedSQLServer ¶
func (self *SRegion) ListManagedSQLServer() ([]SManagedSQLServer, error)
func (*SRegion) ListSDBInstanceDatabase ¶
func (self *SRegion) ListSDBInstanceDatabase(Id string) ([]SDBInstanceDatabase, error)
func (*SRegion) ListSQLServer ¶
func (self *SRegion) ListSQLServer() ([]SSQLServer, error)
func (*SRegion) ListSQLServerBackups ¶
func (self *SRegion) ListSQLServerBackups(id, location string) ([]SSQLServerBackup, error)
func (*SRegion) ListSecgroups ¶
func (region *SRegion) ListSecgroups() ([]SSecurityGroup, error)
func (*SRegion) ListSnapshots ¶
func (*SRegion) ListStorageAccounts ¶
func (self *SRegion) ListStorageAccounts() ([]SStorageAccount, error)
func (*SRegion) ListVmSizes ¶
func (*SRegion) Refresh ¶
///////////////////////////////////////////////////////////////////////////
func (*SRegion) ReplaceSystemDisk ¶
func (*SRegion) SaveImage ¶
func (self *SRegion) SaveImage(osType, diskId string, opts *cloudprovider.SaveImageOptions) (*SImage, error)
func (*SRegion) SetSecurityGroup ¶
type SRequestroutingrule ¶
type SRequestroutingrule struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties struct { Provisioningstate string `json:"provisioningState"` Ruletype string `json:"ruleType"` Httplistener struct { ID string `json:"id"` } `json:"httpListener"` Backendaddresspool struct { ID string `json:"id"` } `json:"backendAddressPool"` Backendhttpsettings struct { ID string `json:"id"` } `json:"backendHttpSettings"` } `json:"properties"` Type string `json:"type"` }
type SResourceGroup ¶
type SResourceGroup struct { multicloud.SProjectBase AzureTags ID string Name string Location string Properties GroupProperties ManagedBy string // contains filtered or unexported fields }
func (*SResourceGroup) GetAccountId ¶
func (self *SResourceGroup) GetAccountId() string
func (*SResourceGroup) GetGlobalId ¶
func (r *SResourceGroup) GetGlobalId() string
func (*SResourceGroup) GetId ¶
func (r *SResourceGroup) GetId() string
func (*SResourceGroup) GetName ¶
func (r *SResourceGroup) GetName() string
func (*SResourceGroup) GetStatus ¶
func (r *SResourceGroup) GetStatus() string
type SResourceSku ¶
type SResourceSku struct { Capabilities []SResourceSkuCapability Capacity *SResourceSkuCapacity Family string Kind string LocationInfo []SResourceSkuLocationInfo Locations []string Name string ResourceType string Restrictions []SResourceSkuRestrictions Size string Tier string }
type SResourceSkuCapability ¶
type SResourceSkuCapacity ¶
type SResourceSkuCapacity struct { Default int Maximum int Minimum int ScaleType TResourceSkuCapacityScaleType }
type SResourceSkuRestrictions ¶
type SResourceSkuRestrictions struct { ReasonCode TResourceSkuRestrictionsReasonCode RestrictionInfo SResourceSkuRestrictionInfo Type TResourceSkuRestrictionsType Values []string }
type SResourceSkusResult ¶
type SResourceSkusResult struct { NextLink string Value []SResourceSku }
type SRoleProperties ¶
type SRoleProperties struct { RoleName string Type string Description string AssignableScopes []string Permissions []SPermission }
type SRuleGroup ¶
type SRuleGroup struct { Rules []SWafRule // contains filtered or unexported fields }
type SSHConfiguration ¶
type SSHConfiguration struct {
PublicKeys []SSHPublicKey `json:"publicKeys,omitempty"`
}
type SSHPublicKey ¶
type SSLCertificate ¶
type SSLCertificate struct { Name string `json:"name"` ID string `json:"id"` Properties SSLCertificateProperties `json:"properties"` }
type SSQLServer ¶
type SSQLServer struct { multicloud.SDBInstanceBase AzureTags Kind string `json:"kind"` Properties struct { Administratorlogin string `json:"administratorLogin"` Version string `json:"version"` State string `json:"state"` Fullyqualifieddomainname string `json:"fullyQualifiedDomainName"` Privateendpointconnections []SPrivateendpointconnection `json:"privateEndpointConnections"` Publicnetworkaccess string `json:"publicNetworkAccess"` } `json:"properties"` Location string `json:"location"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` // contains filtered or unexported fields }
func (*SSQLServer) GetCategory ¶
func (self *SSQLServer) GetCategory() string
func (*SSQLServer) GetConnectionStr ¶
func (self *SSQLServer) GetConnectionStr() string
func (*SSQLServer) GetDTU ¶
func (self *SSQLServer) GetDTU() int
func (*SSQLServer) GetDiskSizeGB ¶
func (self *SSQLServer) GetDiskSizeGB() int
func (*SSQLServer) GetEngine ¶
func (self *SSQLServer) GetEngine() string
func (*SSQLServer) GetEngineVersion ¶
func (self *SSQLServer) GetEngineVersion() string
func (*SSQLServer) GetGlobalId ¶
func (self *SSQLServer) GetGlobalId() string
func (*SSQLServer) GetIDBInstanceAccounts ¶
func (self *SSQLServer) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SSQLServer) GetIDBInstanceBackups ¶
func (self *SSQLServer) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SSQLServer) GetIDBInstanceDatabases ¶
func (self *SSQLServer) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SSQLServer) GetIVpcId ¶
func (self *SSQLServer) GetIVpcId() string
func (*SSQLServer) GetId ¶
func (self *SSQLServer) GetId() string
func (*SSQLServer) GetInstanceType ¶
func (self *SSQLServer) GetInstanceType() string
func (*SSQLServer) GetMaintainTime ¶
func (self *SSQLServer) GetMaintainTime() string
func (*SSQLServer) GetName ¶
func (self *SSQLServer) GetName() string
func (*SSQLServer) GetPort ¶
func (self *SSQLServer) GetPort() int
func (*SSQLServer) GetProjectId ¶
func (self *SSQLServer) GetProjectId() string
func (*SSQLServer) GetStatus ¶
func (self *SSQLServer) GetStatus() string
func (*SSQLServer) GetStorageType ¶
func (self *SSQLServer) GetStorageType() string
func (*SSQLServer) GetSysTags ¶
func (self *SSQLServer) GetSysTags() map[string]string
func (*SSQLServer) GetVcpuCount ¶
func (self *SSQLServer) GetVcpuCount() int
func (*SSQLServer) GetVmemSizeMB ¶
func (self *SSQLServer) GetVmemSizeMB() int
func (*SSQLServer) GetZone1Id ¶
func (self *SSQLServer) GetZone1Id() string
func (*SSQLServer) GetZone2Id ¶
func (self *SSQLServer) GetZone2Id() string
func (*SSQLServer) GetZone3Id ¶
func (self *SSQLServer) GetZone3Id() string
type SSQLServerAccount ¶
type SSQLServerAccount struct { multicloud.SDBInstanceAccountBase Name string // contains filtered or unexported fields }
func (*SSQLServerAccount) GetName ¶
func (self *SSQLServerAccount) GetName() string
type SSQLServerBackup ¶
type SSQLServerBackup struct { multicloud.SDBInstanceBackupBase AzureTags ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Properties struct { Servername string `json:"serverName"` Servercreatetime time.Time `json:"serverCreateTime"` Databasename string `json:"databaseName"` Databasedeletiontime string `json:"databaseDeletionTime"` Backuptime time.Time `json:"backupTime"` Backupstorageredundancy string `json:"backupStorageRedundancy"` } `json:"properties"` // contains filtered or unexported fields }
func (*SSQLServerBackup) GetBackupMethod ¶
func (self *SSQLServerBackup) GetBackupMethod() cloudprovider.TBackupMethod
func (*SSQLServerBackup) GetBackupMode ¶
func (self *SSQLServerBackup) GetBackupMode() string
func (*SSQLServerBackup) GetBackupSizeMb ¶
func (self *SSQLServerBackup) GetBackupSizeMb() int
func (*SSQLServerBackup) GetDBInstanceId ¶
func (self *SSQLServerBackup) GetDBInstanceId() string
func (*SSQLServerBackup) GetDBNames ¶
func (self *SSQLServerBackup) GetDBNames() string
func (*SSQLServerBackup) GetEndTime ¶
func (self *SSQLServerBackup) GetEndTime() time.Time
func (*SSQLServerBackup) GetEngine ¶
func (self *SSQLServerBackup) GetEngine() string
func (*SSQLServerBackup) GetEngineVersion ¶
func (self *SSQLServerBackup) GetEngineVersion() string
func (*SSQLServerBackup) GetGlobalId ¶
func (self *SSQLServerBackup) GetGlobalId() string
func (*SSQLServerBackup) GetId ¶
func (self *SSQLServerBackup) GetId() string
func (*SSQLServerBackup) GetName ¶
func (self *SSQLServerBackup) GetName() string
func (*SSQLServerBackup) GetStartTime ¶
func (self *SSQLServerBackup) GetStartTime() time.Time
func (*SSQLServerBackup) GetStatus ¶
func (self *SSQLServerBackup) GetStatus() string
type SSQLServerDatabase ¶
type SSQLServerDatabase struct { multicloud.SDBInstanceDatabaseBase AzureTags Sku struct { Name string `json:"name"` Tier string `json:"tier"` Capacity int `json:"capacity"` } `json:"sku"` Kind string `json:"kind"` Properties struct { Collation string `json:"collation"` Maxsizebytes int64 `json:"maxSizeBytes"` Status string `json:"status"` Databaseid string `json:"databaseId"` Creationdate string `json:"creationDate"` Currentserviceobjectivename string `json:"currentServiceObjectiveName"` Requestedserviceobjectivename string `json:"requestedServiceObjectiveName"` Defaultsecondarylocation string `json:"defaultSecondaryLocation"` Catalogcollation string `json:"catalogCollation"` Licensetype string `json:"licenseType"` Maxlogsizebytes int `json:"maxLogSizeBytes"` Storageaccounttype string `json:"storageAccountType"` Zoneredundant bool `json:"zoneRedundant"` Readscale string `json:"readScale"` Earliestrestoredate time.Time `json:"earliestRestoreDate"` Currentsku struct { Name string `json:"name"` Tier string `json:"tier"` Capacity int `json:"capacity"` Family string `json:"family"` } `json:"currentSku"` } `json:"properties"` Location string `json:"location"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` // contains filtered or unexported fields }
func (*SSQLServerDatabase) GetCharacterSet ¶
func (self *SSQLServerDatabase) GetCharacterSet() string
func (*SSQLServerDatabase) GetDTU ¶
func (self *SSQLServerDatabase) GetDTU() int
func (*SSQLServerDatabase) GetDiskSizeMb ¶
func (self *SSQLServerDatabase) GetDiskSizeMb() int
func (*SSQLServerDatabase) GetGlobalId ¶
func (self *SSQLServerDatabase) GetGlobalId() string
func (*SSQLServerDatabase) GetId ¶
func (self *SSQLServerDatabase) GetId() string
func (*SSQLServerDatabase) GetName ¶
func (self *SSQLServerDatabase) GetName() string
func (*SSQLServerDatabase) GetStatus ¶
func (self *SSQLServerDatabase) GetStatus() string
func (*SSQLServerDatabase) GetVcpuCount ¶
func (self *SSQLServerDatabase) GetVcpuCount() int
func (*SSQLServerDatabase) GetVmemSizeMb ¶
func (self *SSQLServerDatabase) GetVmemSizeMb() int
type SScaleAction ¶
type SScaleCapacity ¶
可以在此配置文件期间使用的实例数。
type SScaleRule ¶
type SScaleRule struct { MetricTrigger SMetricTrigger ScaleAction SScaleAction }
为缩放操作提供触发器和参数的规则。
type SScaleRuleMetricDimensionOperationType ¶
维度运算符。 仅支持"Equals"和"NotEquals"。 "Equals"等于任何值。 "NotEquals"不等于所有值
type SSecurityGroup ¶
type SSecurityGroup struct { multicloud.SSecurityGroup AzureTags Properties *SecurityGroupPropertiesFormat `json:"properties,omitempty"` ID string Name string Location string Type string // contains filtered or unexported fields }
func (*SSecurityGroup) CreateRule ¶
func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetProjectId ¶
func (self *SSecurityGroup) GetProjectId() string
func (*SSecurityGroup) 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 SServerFarmSku ¶
type SServerFarmSku struct { ResourceType string Sku SSkuSpec Capacity SSkuCapacity }
type SService ¶
type SService struct { ID string `json:"id,omitempty"` Namespace string `json:"namespace,omitempty"` RegistrationState string `json:"registrationState,omitempty"` ResourceTypes []ResourceType `json:"resourceTypes,omitempty"` }
type SServicePrincipal ¶
type SSiteConfig ¶
type SSiteConfig struct { }
type SSkuCapacity ¶
type SSkuDescription ¶
type SSkuDescription struct { Capabilities []SCapability Capacity int Family string Name string Size string SkuCapacity SSkuCapacity Tier string // contains filtered or unexported fields }
type SSkuInfos ¶
type SSkuInfos struct { ResourceType string Skus []SResourceSku }
type SSnapshot ¶
type SSnapshot struct { multicloud.SResourceBase AzureTags ID string Name string Location string ManagedBy string Sku *SnapshotSku Properties DiskProperties Type string // contains filtered or unexported fields }
func (*SSnapshot) GetDiskType ¶
func (*SSnapshot) GetGlobalId ¶
func (*SSnapshot) GetProjectId ¶
type SStorage ¶
type SStorage struct { multicloud.SStorageBase AzureTags ResourceType string Tier string Kind string Locations []string Capabilities []Capabilitie // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(diskId 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 SStorageAccount ¶
type SStorageAccount struct { multicloud.SBaseBucket AzureTags Sku SSku `json:"sku,omitempty"` Kind string `json:"kind,omitempty"` Identity *Identity Location string `json:"location,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Properties AccountProperties `json:"properties"` // contains filtered or unexported fields }
func (*SStorageAccount) AbortMultipartUpload ¶
func (*SStorageAccount) CompleteMultipartUpload ¶
func (*SStorageAccount) CopyObject ¶
func (b *SStorageAccount) CopyObject(ctx context.Context, destKey string, srcBucket, srcKey string, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) error
func (*SStorageAccount) CreateContainer ¶
func (self *SStorageAccount) CreateContainer(containerName string) (*SContainer, error)
func (*SStorageAccount) DeleteCORS ¶
func (bucket *SStorageAccount) DeleteCORS() error
func (*SStorageAccount) DeleteObject ¶
func (b *SStorageAccount) DeleteObject(ctx context.Context, key string) error
func (*SStorageAccount) GetAccessUrls ¶
func (b *SStorageAccount) GetAccessUrls() []cloudprovider.SBucketAccessUrl
func (*SStorageAccount) GetAccountKey ¶
func (self *SStorageAccount) GetAccountKey() (accountKey string, err error)
func (*SStorageAccount) GetAcl ¶
func (b *SStorageAccount) GetAcl() cloudprovider.TBucketACLType
get the common ACL of all containers
func (*SStorageAccount) GetCORSRules ¶
func (bucket *SStorageAccount) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
func (*SStorageAccount) GetContainer ¶
func (self *SStorageAccount) GetContainer(name string) (*SContainer, error)
func (*SStorageAccount) GetContainers ¶
func (self *SStorageAccount) GetContainers() ([]SContainer, error)
func (*SStorageAccount) GetCreatedAt ¶
func (b *SStorageAccount) GetCreatedAt() time.Time
func (*SStorageAccount) GetGlobalId ¶
func (b *SStorageAccount) GetGlobalId() string
func (*SStorageAccount) GetIRegion ¶
func (b *SStorageAccount) GetIRegion() cloudprovider.ICloudRegion
func (*SStorageAccount) GetLocation ¶
func (b *SStorageAccount) GetLocation() string
func (*SStorageAccount) GetName ¶
func (b *SStorageAccount) GetName() string
func (*SStorageAccount) GetObject ¶
func (b *SStorageAccount) GetObject(ctx context.Context, key string, rangeOpt *cloudprovider.SGetObjectRange) (io.ReadCloser, error)
func (*SStorageAccount) GetProjectId ¶
func (b *SStorageAccount) GetProjectId() string
func (*SStorageAccount) GetStats ¶
func (b *SStorageAccount) GetStats() cloudprovider.SBucketStats
func (*SStorageAccount) GetStorageClass ¶
func (b *SStorageAccount) GetStorageClass() string
func (*SStorageAccount) GetTempUrl ¶
func (*SStorageAccount) ListObjects ¶
func (b *SStorageAccount) ListObjects(prefix string, marker string, delimiter string, maxCount int) (cloudprovider.SListObjectResult, error)
func (*SStorageAccount) MaxPartCount ¶
func (b *SStorageAccount) MaxPartCount() int
func (*SStorageAccount) MaxPartSizeBytes ¶
func (b *SStorageAccount) MaxPartSizeBytes() int64
func (*SStorageAccount) NewMultipartUpload ¶
func (b *SStorageAccount) NewMultipartUpload(ctx context.Context, key string, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) (string, error)
func (*SStorageAccount) PutObject ¶
func (b *SStorageAccount) PutObject(ctx context.Context, key string, reader io.Reader, sizeBytes int64, cannedAcl cloudprovider.TBucketACLType, storageClassStr string, meta http.Header) error
func (*SStorageAccount) SetAcl ¶
func (b *SStorageAccount) SetAcl(aclStr cloudprovider.TBucketACLType) error
func (*SStorageAccount) SetCORS ¶
func (bucket *SStorageAccount) SetCORS(rules []cloudprovider.SBucketCORSRule) error
func (*SStorageAccount) UploadFile ¶
func (*SStorageAccount) UploadPart ¶
func (*SStorageAccount) UploadStream ¶
type SStorageAccountSku ¶
type SStorageAccountSku struct { ResourceType string `json:"resourceType"` Name string `json:"name"` Tier string `json:"tier"` Kind string `json:"kind"` Locations []string `json:"locations"` Capabilities []struct { Name string `json:"name"` Value string `json:"value"` } `json:"capabilities"` Restrictions []struct { Type string `json:"type"` Values []string `json:"values"` ReasonCode string `json:"reasonCode"` } `json:"restrictions"` }
type SStorageEndpoints ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase AzureTags // contains filtered or unexported fields }
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) Refresh ¶
func (self *SStoragecache) Refresh() error
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type SStringDictionary ¶
type SSubscription ¶
type SSubscription struct { SubscriptionId string `json:"subscriptionId"` State string DisplayName string `json:"displayName"` }
func (*SSubscription) GetHealthStatus ¶
func (self *SSubscription) GetHealthStatus() string
type STimeWindow ¶
type SUsage ¶
{"value":[{"unit":"Count","currentValue":0,"limit":250,"name":{"value":"StorageAccounts","localizedValue":"Storage Accounts"}}]}
func (*SUsage) GetCurrentQuotaUsedCount ¶
func (*SUsage) GetGlobalId ¶
func (*SUsage) GetMaxQuotaCount ¶
func (*SUsage) GetQuotaType ¶
type SVMSize ¶
type SVMSize struct { //MaxDataDiskCount int32 `json:"maxDataDiskCount,omitempty"` //Unmarshal会出错 MemoryInMB int32 `json:"memoryInMB,omitempty"` NumberOfCores int `json:"numberOfCores,omitempty"` Name string OsDiskSizeInMB int32 `json:"osDiskSizeInMB,omitempty"` ResourceDiskSizeInMB int32 `json:"resourceDiskSizeInMB,omitempty"` }
type SVirtualMachineExtension ¶
type SVirtualMachineExtension struct { Location string `json:"location,omitempty"` Properties VirtualMachineExtensionProperties `json:"properties,omitempty"` }
type SVpc ¶
type SVpc struct { multicloud.SVpc AzureTags ID string Name string Etag string Type string Location string Properties VirtualNetworkPropertiesFormat `json:"properties,omitempty"` // contains filtered or unexported fields }
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetGlobalId ¶
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) GetNetworks ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
func (*SVpc) IsEmulated ¶
type SWire ¶
type SWire struct { multicloud.SResourceBase AzureTags // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.SResourceBase AzureTags Name string // contains filtered or unexported fields }
func (*SZone) GetGlobalId ¶
func (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SZone) GetIWires ¶
func (self *SZone) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SZone) IsEmulated ¶
func (*SZone) ListStorageTypes ¶
type SecurityGroupPropertiesFormat ¶
type SecurityGroupPropertiesFormat struct { SecurityRules []SecurityRules `json:"securityRules,omitempty"` DefaultSecurityRules []SecurityRules `json:"defaultSecurityRules,omitempty"` NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"` Subnets *[]SNetwork `json:"subnets,omitempty"` }
type SecurityRulePropertiesFormat ¶
type SecurityRulePropertiesFormat struct { Description string `json:"description,omitempty"` Protocol string `json:"protocol,omitempty"` SourcePortRange string `json:"sourcePortRange,omitempty"` DestinationPortRange string `json:"destinationPortRange,omitempty"` SourceAddressPrefix string `json:"sourceAddressPrefix,omitempty"` SourceAddressPrefixes []string `json:"sourceAddressPrefixes,omitempty"` DestinationAddressPrefix string `json:"destinationAddressPrefix,omitempty"` DestinationAddressPrefixes []string `json:"destinationAddressPrefixes,omitempty"` SourcePortRanges []string `json:"sourcePortRanges,omitempty"` DestinationPortRanges []string `json:"destinationPortRanges,omitempty"` Access string `json:"access,omitempty"` // Allow or Deny Priority int `json:"priority,omitempty"` Direction string `json:"direction,omitempty"` //Inbound or Outbound ProvisioningState string `json:"-"` }
type SecurityRules ¶
type SecurityRules struct { Properties SecurityRulePropertiesFormat Name string ID string // contains filtered or unexported fields }
func (*SecurityRules) Delete ¶
func (self *SecurityRules) Delete() error
func (*SecurityRules) GetAction ¶
func (self *SecurityRules) GetAction() secrules.TSecurityRuleAction
func (*SecurityRules) GetCIDRs ¶
func (self *SecurityRules) GetCIDRs() []string
func (*SecurityRules) GetDescription ¶
func (self *SecurityRules) GetDescription() string
func (*SecurityRules) GetDirection ¶
func (self *SecurityRules) GetDirection() secrules.TSecurityRuleDirection
func (*SecurityRules) GetGlobalId ¶
func (self *SecurityRules) GetGlobalId() string
func (*SecurityRules) GetPorts ¶
func (self *SecurityRules) GetPorts() string
func (*SecurityRules) GetPriority ¶
func (self *SecurityRules) GetPriority() int
func (*SecurityRules) GetProtocol ¶
func (self *SecurityRules) GetProtocol() string
func (*SecurityRules) Update ¶
func (self *SecurityRules) Update(opts *cloudprovider.SecurityGroupRuleUpdateOptions) error
type SnapshotSku ¶
type StorageProfile ¶
type StorageProfile struct { ImageReference ImageReference `json:"imageReference,omitempty"` OsDisk SOsDisk `json:"osDisk,omitempty"` DataDisks []SDataDisk `json:"dataDisks,allowempty"` }
type SubResource ¶
type SubnetPropertiesFormat ¶
type SubnetPropertiesFormat struct {
AddressPrefix string `json:"addressPrefix,omitempty"`
}
type TAzureInt32 ¶
type TAzureInt32 string
func (TAzureInt32) Int32 ¶
func (ai TAzureInt32) Int32() int32
type TAzureResource ¶
type TAzureResource string
type TResourceSkuCapacityScaleType ¶
type TResourceSkuCapacityScaleType string
type TResourceSkuRestrictionsReasonCode ¶
type TResourceSkuRestrictionsReasonCode string
type TResourceSkuRestrictionsType ¶
type TResourceSkuRestrictionsType string
type TagParams ¶
type TagParams struct { Properties TagProperties `json:"properties"` Operation string `json:"operation"` }
type TagProperties ¶
type TimeSeriesElement ¶
type TimeSeriesElement struct { // Metadatavalues - the metadata values returned if $filter was specified in the call. Metadatavalues []MetadataValue `json:"metadatavalues,omitempty"` // Data - An array of data points representing the metric values. This is only returned if a result type of data is specified. Data []MetricValue `json:"data,omitempty"` }
type URLPathMap ¶
type URLPathMap struct { Name string `json:"name"` ID string `json:"id"` Etag string `json:"etag"` Properties URLPathMapProperties `json:"properties"` Type string `json:"type"` }
type URLPathMapProperties ¶
type URLPathMapProperties struct { ProvisioningState string `json:"provisioningState"` DefaultBackendAddressPool *PublicIPAddressElement `json:"defaultBackendAddressPool,omitempty"` DefaultBackendHTTPSettings *PublicIPAddressElement `json:"defaultBackendHttpSettings,omitempty"` PathRules []PathRule `json:"pathRules"` RequestRoutingRules []PublicIPAddressElement `json:"requestRoutingRules"` DefaultRedirectConfiguration *PublicIPAddressElement `json:"defaultRedirectConfiguration,omitempty"` }
type VaultCertificate ¶
type VaultSecretGroup ¶
type VaultSecretGroup struct { SourceVault SubResource `json:"sourceVault,omitempty"` VaultCertificates []VaultCertificate `json:"vaultCertificates,omitempty"` }
type VirtualHardDisk ¶
type VirtualHardDisk struct {
Uri string `json:"uri,omitempty"`
}
type VirtualMachineExtensionProperties ¶
type VirtualMachineExtensionProperties struct { Publisher string `json:"publisher,omitempty"` Type string `json:"type,omitempty"` TypeHandlerVersion string `json:"typeHandlerVersion,omitempty"` ProtectedSettings interface{} `json:"protectedSettings,omitempty"` Settings interface{} `json:"settings,omitempty"` }
type VirtualMachineInstanceView ¶
type VirtualMachineInstanceView struct { Statuses []Statuses `json:"statuses,omitempty"` VMAgent SVMAgent `json:"vmAgent,omitempty"` Extensions []SExtension `json:"extensions,omitempty"` }
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { ProvisioningState string `json:"provisioningState,omitempty"` InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` DomainName *DomainName `json:"domainName,omitempty"` HardwareProfile HardwareProfile `json:"hardwareProfile,omitempty"` NetworkProfile NetworkProfile `json:"networkProfile,omitempty"` StorageProfile StorageProfile `json:"storageProfile,omitempty"` DebugProfile *DebugProfile `json:"debugProfile,omitempty"` OsProfile OsProfile `json:"osProfile,omitempty"` VmId string `json:"vmId,omitempty"` TimeCreated time.Time `json:"timeCreated,omitempty"` }
type VirtualNetworkPropertiesFormat ¶
type VirtualNetworkPropertiesFormat struct { ProvisioningState string Status string VirtualNetworkSiteName string AddressSpace AddressSpace `json:"addressSpace,omitempty"` Subnets []SNetwork `json:"subnets,omitempty"` }
Source Files ¶
- app_gateways.go
- app_service_plan.go
- autoscale_setting.go
- azure.go
- blobobject.go
- cloudgroup.go
- cloudpolicy.go
- clouduser.go
- data_disk.go
- dbinstance.go
- dbinstance_account.go
- dbinstance_configuration.go
- dbinstance_database.go
- debug.go
- disk.go
- doc.go
- eip.go
- enrollment_account.go
- enterprise_redis.go
- event.go
- geographicinfo.go
- host.go
- image.go
- instance.go
- instancenic.go
- kube_cluster.go
- kube_node_pools.go
- loadbalancer.go
- loadbalancer_props.go
- loadbalancerbackend.go
- loadbalancerbackendgroup.go
- loadbalancercert.go
- loadbalancerlistener.go
- loadbalancerlistenerrule.go
- loganalytics.go
- monitor.go
- network.go
- os_disk.go
- policy.go
- publisher.go
- rds_managed_sqlserver.go
- rds_managed_sqlserver_account.go
- rds_managed_sqlserver_database.go
- rds_sqlserver.go
- rds_sqlserver_account.go
- rds_sqlserver_backup.go
- rds_sqlserver_database.go
- redis.go
- redis_acl.go
- region.go
- resourcegroup.go
- resourcesku.go
- saml_provider.go
- secgrouprule.go
- securitygroup.go
- service.go
- snapshot.go
- storage.go
- storageaccount.go
- storagecache.go
- subscription.go
- tag_base.go
- upload.go
- usage.go
- vpc.go
- waf.go
- waf_front_doors.go
- waf_rule_groups.go
- web_app.go
- wire.go
- zone.go