Documentation
¶
Overview ¶
Package service provides QingCloud Service API (API Version 2013-08-30)
Index ¶
- func Bool(v bool) *bool
- func BoolMap(src map[string]bool) map[string]*bool
- func BoolSlice(src []bool) []*bool
- func BoolValue(v *bool) bool
- func BoolValueMap(src map[string]*bool) map[string]bool
- func BoolValueSlice(src []*bool) []bool
- func Int(v int) *int
- func IntMap(src map[string]int) map[string]*int
- func IntSlice(src []int) []*int
- func IntValue(v *int) int
- func IntValueMap(src map[string]*int) map[string]int
- func IntValueSlice(src []*int) []int
- func String(v string) *string
- func StringMap(src map[string]string) map[string]*string
- func StringSlice(src []string) []*string
- func StringValue(v *string) string
- func StringValueMap(src map[string]*string) map[string]string
- func StringValueSlice(src []*string) []string
- func Time(v time.Time) *time.Time
- func TimeMap(src map[string]time.Time) map[string]*time.Time
- func TimeSlice(src []time.Time) []*time.Time
- func TimeUnixMilli(t time.Time) int64
- func TimeValue(v *time.Time) time.Time
- func TimeValueMap(src map[string]*time.Time) map[string]time.Time
- func TimeValueSlice(src []*time.Time) []time.Time
- type AddCacheNodesInput
- type AddCacheNodesOutput
- type AddClusterNodesInput
- type AddClusterNodesOutput
- type AddLoadBalancerBackendsInput
- type AddLoadBalancerBackendsOutput
- type AddLoadBalancerListenersInput
- type AddLoadBalancerListenersOutput
- type AddLoadBalancerPolicyRulesInput
- type AddLoadBalancerPolicyRulesOutput
- type AddMongoInstancesInput
- type AddMongoInstancesOutput
- type AddRouterStaticEntriesInput
- type AddRouterStaticEntriesOutput
- type AddRouterStaticsInput
- type AddRouterStaticsOutput
- type AddSecurityGroupRulesInput
- type AddSecurityGroupRulesOutput
- type AllocateEIPsInput
- type AllocateEIPsOutput
- type ApplyCacheParameterGroupInput
- type ApplyCacheParameterGroupOutput
- type ApplyLoadBalancerPolicyInput
- type ApplyLoadBalancerPolicyOutput
- type ApplyRDBParameterGroupInput
- type ApplyRDBParameterGroupOutput
- type ApplySecurityGroupInput
- type ApplySecurityGroupOutput
- type ApplySnapshotsInput
- type ApplySnapshotsOutput
- type AssociateDNSAliasInput
- type AssociateDNSAliasOutput
- type AssociateEIPInput
- type AssociateEIPOutput
- type AssociateEIPToClusterNodeInput
- type AssociateEIPToClusterNodeOutput
- type AssociateEIPsToLoadBalancerInput
- type AssociateEIPsToLoadBalancerOutput
- type AttachKeyPairsInput
- type AttachKeyPairsOutput
- type AttachNicsInput
- type AttachNicsOutput
- type AttachTagsInput
- type AttachTagsOutput
- type AttachToS2SharedTargetInput
- type AttachToS2SharedTargetOutput
- type AttachVolumesInput
- type AttachVolumesOutput
- type Cache
- type CacheNode
- type CacheParameter
- type CacheParameterGroup
- type CachePrivateIP
- type CacheService
- func (s *CacheService) AddCacheNodes(i *AddCacheNodesInput) (*AddCacheNodesOutput, error)
- func (s *CacheService) ApplyCacheParameterGroup(i *ApplyCacheParameterGroupInput) (*ApplyCacheParameterGroupOutput, error)
- func (s *CacheService) ChangeCacheVxNet(i *ChangeCacheVxNetInput) (*ChangeCacheVxNetOutput, error)
- func (s *CacheService) CreateCache(i *CreateCacheInput) (*CreateCacheOutput, error)
- func (s *CacheService) CreateCacheFromSnapshot(i *CreateCacheFromSnapshotInput) (*CreateCacheFromSnapshotOutput, error)
- func (s *CacheService) CreateCacheParameterGroup(i *CreateCacheParameterGroupInput) (*CreateCacheParameterGroupOutput, error)
- func (s *CacheService) DeleteCacheNodes(i *DeleteCacheNodesInput) (*DeleteCacheNodesOutput, error)
- func (s *CacheService) DeleteCacheParameterGroups(i *DeleteCacheParameterGroupsInput) (*DeleteCacheParameterGroupsOutput, error)
- func (s *CacheService) DeleteCaches(i *DeleteCachesInput) (*DeleteCachesOutput, error)
- func (s *CacheService) DescribeCacheNodes(i *DescribeCacheNodesInput) (*DescribeCacheNodesOutput, error)
- func (s *CacheService) DescribeCacheParameterGroups(i *DescribeCacheParameterGroupsInput) (*DescribeCacheParameterGroupsOutput, error)
- func (s *CacheService) DescribeCacheParameters(i *DescribeCacheParametersInput) (*DescribeCacheParametersOutput, error)
- func (s *CacheService) DescribeCaches(i *DescribeCachesInput) (*DescribeCachesOutput, error)
- func (s *CacheService) GetCacheMonitor(i *GetCacheMonitorInput) (*GetCacheMonitorOutput, error)
- func (s *CacheService) ModifyCacheAttributes(i *ModifyCacheAttributesInput) (*ModifyCacheAttributesOutput, error)
- func (s *CacheService) ModifyCacheNodeAttributes(i *ModifyCacheNodeAttributesInput) (*ModifyCacheNodeAttributesOutput, error)
- func (s *CacheService) ModifyCacheParameterGroupAttributes(i *ModifyCacheParameterGroupAttributesInput) (*ModifyCacheParameterGroupAttributesOutput, error)
- func (s *CacheService) ResetCacheParameters(i *ResetCacheParametersInput) (*ResetCacheParametersOutput, error)
- func (s *CacheService) ResizeCaches(i *ResizeCachesInput) (*ResizeCachesOutput, error)
- func (s *CacheService) RestartCacheNodes(i *RestartCacheNodesInput) (*RestartCacheNodesOutput, error)
- func (s *CacheService) RestartCaches(i *RestartCachesInput) (*RestartCachesOutput, error)
- func (s *CacheService) StartCaches(i *StartCachesInput) (*StartCachesOutput, error)
- func (s *CacheService) StopCaches(i *StopCachesInput) (*StopCachesOutput, error)
- func (s *CacheService) UpdateCache(i *UpdateCacheInput) (*UpdateCacheOutput, error)
- func (s *CacheService) UpdateCacheParameters(i *UpdateCacheParametersInput) (*UpdateCacheParametersOutput, error)
- type CacheServiceProperties
- type CaptureInstanceFromSnapshotInput
- type CaptureInstanceFromSnapshotOutput
- type CaptureInstanceInput
- type CaptureInstanceOutput
- type CeaseClustersInput
- type CeaseClustersOutput
- type CeaseRDBInstanceInput
- type CeaseRDBInstanceOutput
- type ChangeCacheVxNetInput
- type ChangeCacheVxNetOutput
- type ChangeClusterVxNetInput
- type ChangeClusterVxNetOutput
- type ChangeEIPsBandwidthInput
- type ChangeEIPsBandwidthOutput
- type ChangeEIPsBillingModeInput
- type ChangeEIPsBillingModeOutput
- type ChangeMongoVxNetInput
- type ChangeMongoVxNetOutput
- type ChangeS2ServerVxNetInput
- type ChangeS2ServerVxNetOutput
- type Cluster
- type ClusterNode
- type ClusterService
- func (s *ClusterService) AddClusterNodes(i *AddClusterNodesInput) (*AddClusterNodesOutput, error)
- func (s *ClusterService) AssociateEIPToClusterNode(i *AssociateEIPToClusterNodeInput) (*AssociateEIPToClusterNodeOutput, error)
- func (s *ClusterService) CeaseClusters(i *CeaseClustersInput) (*CeaseClustersOutput, error)
- func (s *ClusterService) ChangeClusterVxNet(i *ChangeClusterVxNetInput) (*ChangeClusterVxNetOutput, error)
- func (s *ClusterService) CreateCluster(i *CreateClusterInput) (*CreateClusterOutput, error)
- func (s *ClusterService) CreateClusterFromSnapshot(i *CreateClusterFromSnapshotInput) (*CreateClusterFromSnapshotOutput, error)
- func (s *ClusterService) DeleteClusterNodes(i *DeleteClusterNodesInput) (*DeleteClusterNodesOutput, error)
- func (s *ClusterService) DeleteClusters(i *DeleteClustersInput) (*DeleteClustersOutput, error)
- func (s *ClusterService) DescribeClusterDisplayTabs(i *DescribeClusterDisplayTabsInput) (*DescribeClusterDisplayTabsOutput, error)
- func (s *ClusterService) DescribeClusterNodes(i *DescribeClusterNodesInput) (*DescribeClusterNodesOutput, error)
- func (s *ClusterService) DescribeClusterUsers(i *DescribeClusterUsersInput) (*DescribeClusterUsersOutput, error)
- func (s *ClusterService) DescribeClusters(i *DescribeClustersInput) (*DescribeClustersOutput, error)
- func (s *ClusterService) DissociateEIPFromClusterNode(i *DissociateEIPFromClusterNodeInput) (*DissociateEIPFromClusterNodeOutput, error)
- func (s *ClusterService) ModifyClusterAttributes(i *ModifyClusterAttributesInput) (*ModifyClusterAttributesOutput, error)
- func (s *ClusterService) ModifyClusterNodeAttributes(i *ModifyClusterNodeAttributesInput) (*ModifyClusterNodeAttributesOutput, error)
- func (s *ClusterService) RecoverClusters(i *RecoverClustersInput) (*RecoverClustersOutput, error)
- func (s *ClusterService) ResizeCluster(i *ResizeClusterInput) (*ResizeClusterOutput, error)
- func (s *ClusterService) RestartClusterService(i *RestartClusterServiceInput) (*RestartClusterServiceOutput, error)
- func (s *ClusterService) RestoreClusterFromSnapshot(i *RestoreClusterFromSnapshotInput) (*RestoreClusterFromSnapshotOutput, error)
- func (s *ClusterService) RunClusterCustomService(i *RunClusterCustomServiceInput) (*RunClusterCustomServiceOutput, error)
- func (s *ClusterService) StartClusters(i *StartClustersInput) (*StartClustersOutput, error)
- func (s *ClusterService) StopClusters(i *StopClustersInput) (*StopClustersOutput, error)
- func (s *ClusterService) UpdateClusterEnvironment(i *UpdateClusterEnvironmentInput) (*UpdateClusterEnvironmentOutput, error)
- func (s *ClusterService) UpgradeClusters(i *UpgradeClustersInput) (*UpgradeClustersOutput, error)
- type ClusterServiceProperties
- type CopyRDBInstanceFilesToFTPInput
- type CopyRDBInstanceFilesToFTPOutput
- type CreateCacheFromSnapshotInput
- type CreateCacheFromSnapshotOutput
- type CreateCacheInput
- type CreateCacheOutput
- type CreateCacheParameterGroupInput
- type CreateCacheParameterGroupOutput
- type CreateClusterFromSnapshotInput
- type CreateClusterFromSnapshotOutput
- type CreateClusterInput
- type CreateClusterOutput
- type CreateKeyPairInput
- type CreateKeyPairOutput
- type CreateLoadBalancerInput
- type CreateLoadBalancerOutput
- type CreateLoadBalancerPolicyInput
- type CreateLoadBalancerPolicyOutput
- type CreateMongoFromSnapshotInput
- type CreateMongoFromSnapshotOutput
- type CreateMongoInput
- type CreateMongoOutput
- type CreateNicsInput
- type CreateNicsOutput
- type CreateRDBFromSnapshotInput
- type CreateRDBFromSnapshotOutput
- type CreateRDBInput
- type CreateRDBOutput
- type CreateRoutersInput
- type CreateRoutersOutput
- type CreateS2ServerInput
- type CreateS2ServerOutput
- type CreateS2SharedTargetInput
- type CreateS2SharedTargetOutput
- type CreateSecurityGroupIPSetInput
- type CreateSecurityGroupIPSetOutput
- type CreateSecurityGroupInput
- type CreateSecurityGroupOutput
- type CreateSecurityGroupSnapshotInput
- type CreateSecurityGroupSnapshotOutput
- type CreateServerCertificateInput
- type CreateServerCertificateOutput
- type CreateSnapshotsInput
- type CreateSnapshotsOutput
- type CreateTagInput
- type CreateTagOutput
- type CreateTempRDBInstanceFromSnapshotInput
- type CreateTempRDBInstanceFromSnapshotOutput
- type CreateVolumeFromSnapshotInput
- type CreateVolumeFromSnapshotOutput
- type CreateVolumesInput
- type CreateVolumesOutput
- type CreateVxNetsInput
- type CreateVxNetsOutput
- type DHCPOption
- type DNSAlias
- type DNSAliasService
- func (s *DNSAliasService) AssociateDNSAlias(i *AssociateDNSAliasInput) (*AssociateDNSAliasOutput, error)
- func (s *DNSAliasService) DescribeDNSAliases(i *DescribeDNSAliasesInput) (*DescribeDNSAliasesOutput, error)
- func (s *DNSAliasService) DissociateDNSAliases(i *DissociateDNSAliasesInput) (*DissociateDNSAliasesOutput, error)
- func (s *DNSAliasService) GetDNSLabel(i *GetDNSLabelInput) (*GetDNSLabelOutput, error)
- type DNSAliasServiceProperties
- type Data
- type DeleteCacheNodesInput
- type DeleteCacheNodesOutput
- type DeleteCacheParameterGroupsInput
- type DeleteCacheParameterGroupsOutput
- type DeleteCachesInput
- type DeleteCachesOutput
- type DeleteClusterNodesInput
- type DeleteClusterNodesOutput
- type DeleteClustersInput
- type DeleteClustersOutput
- type DeleteImagesInput
- type DeleteImagesOutput
- type DeleteKeyPairsInput
- type DeleteKeyPairsOutput
- type DeleteLoadBalancerBackendsInput
- type DeleteLoadBalancerBackendsOutput
- type DeleteLoadBalancerListenersInput
- type DeleteLoadBalancerListenersOutput
- type DeleteLoadBalancerPoliciesInput
- type DeleteLoadBalancerPoliciesOutput
- type DeleteLoadBalancerPolicyRulesInput
- type DeleteLoadBalancerPolicyRulesOutput
- type DeleteLoadBalancersInput
- type DeleteLoadBalancersOutput
- type DeleteMongosInput
- type DeleteMongosOutput
- type DeleteNicsInput
- type DeleteNicsOutput
- type DeleteRDBsInput
- type DeleteRDBsOutput
- type DeleteRouterStaticEntriesInput
- type DeleteRouterStaticEntriesOutput
- type DeleteRouterStaticsInput
- type DeleteRouterStaticsOutput
- type DeleteRoutersInput
- type DeleteRoutersOutput
- type DeleteS2ServersInput
- type DeleteS2ServersOutput
- type DeleteS2SharedTargetsInput
- type DeleteS2SharedTargetsOutput
- type DeleteSecurityGroupIPSetsInput
- type DeleteSecurityGroupIPSetsOutput
- type DeleteSecurityGroupRulesInput
- type DeleteSecurityGroupRulesOutput
- type DeleteSecurityGroupSnapshotsInput
- type DeleteSecurityGroupSnapshotsOutput
- type DeleteSecurityGroupsInput
- type DeleteSecurityGroupsOutput
- type DeleteServerCertificatesInput
- type DeleteServerCertificatesOutput
- type DeleteSnapshotsInput
- type DeleteSnapshotsOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DeleteVolumesInput
- type DeleteVolumesOutput
- type DeleteVxNetsInput
- type DeleteVxNetsOutput
- type DescribeCacheNodesInput
- type DescribeCacheNodesOutput
- type DescribeCacheParameterGroupsInput
- type DescribeCacheParameterGroupsOutput
- type DescribeCacheParametersInput
- type DescribeCacheParametersOutput
- type DescribeCachesInput
- type DescribeCachesOutput
- type DescribeClusterDisplayTabsInput
- type DescribeClusterDisplayTabsOutput
- type DescribeClusterNodesInput
- type DescribeClusterNodesOutput
- type DescribeClusterUsersInput
- type DescribeClusterUsersOutput
- type DescribeClustersInput
- type DescribeClustersOutput
- type DescribeDNSAliasesInput
- type DescribeDNSAliasesOutput
- type DescribeEIPsInput
- type DescribeEIPsOutput
- type DescribeImageUsersInput
- type DescribeImageUsersOutput
- type DescribeImagesInput
- type DescribeImagesOutput
- type DescribeInstanceTypesInput
- type DescribeInstanceTypesOutput
- type DescribeInstancesInput
- type DescribeInstancesOutput
- type DescribeJobsInput
- type DescribeJobsOutput
- type DescribeKeyPairsInput
- type DescribeKeyPairsOutput
- type DescribeLoadBalancerBackendsInput
- type DescribeLoadBalancerBackendsOutput
- type DescribeLoadBalancerListenersInput
- type DescribeLoadBalancerListenersOutput
- type DescribeLoadBalancerPoliciesInput
- type DescribeLoadBalancerPoliciesOutput
- type DescribeLoadBalancerPolicyRulesInput
- type DescribeLoadBalancerPolicyRulesOutput
- type DescribeLoadBalancersInput
- type DescribeLoadBalancersOutput
- type DescribeMongoNodesInput
- type DescribeMongoNodesOutput
- type DescribeMongoParametersInput
- type DescribeMongoParametersOutput
- type DescribeMongosInput
- type DescribeMongosOutput
- type DescribeNicsInput
- type DescribeNicsOutput
- type DescribeRDBParametersInput
- type DescribeRDBParametersOutput
- type DescribeRDBsInput
- type DescribeRDBsOutput
- type DescribeRouterStaticEntriesInput
- type DescribeRouterStaticEntriesOutput
- type DescribeRouterStaticsInput
- type DescribeRouterStaticsOutput
- type DescribeRouterVxNetsInput
- type DescribeRouterVxNetsOutput
- type DescribeRoutersInput
- type DescribeRoutersOutput
- type DescribeS2DefaultParametersInput
- type DescribeS2DefaultParametersOutput
- type DescribeS2ServersInput
- type DescribeS2ServersOutput
- type DescribeS2SharedTargetsInput
- type DescribeS2SharedTargetsOutput
- type DescribeSecurityGroupIPSetsInput
- type DescribeSecurityGroupIPSetsOutput
- type DescribeSecurityGroupRulesInput
- type DescribeSecurityGroupRulesOutput
- type DescribeSecurityGroupSnapshotsInput
- type DescribeSecurityGroupSnapshotsOutput
- type DescribeSecurityGroupsInput
- type DescribeSecurityGroupsOutput
- type DescribeServerCertificatesInput
- type DescribeServerCertificatesOutput
- type DescribeSnapshotsInput
- type DescribeSnapshotsOutput
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeVolumesInput
- type DescribeVolumesOutput
- type DescribeVxNetInstancesInput
- type DescribeVxNetInstancesOutput
- type DescribeVxNetsInput
- type DescribeVxNetsOutput
- type DescribeZonesInput
- type DescribeZonesOutput
- type DetachFromS2SharedTargetInput
- type DetachFromS2SharedTargetOutput
- type DetachKeyPairsInput
- type DetachKeyPairsOutput
- type DetachNicsInput
- type DetachNicsOutput
- type DetachTagsInput
- type DetachTagsOutput
- type DetachVolumesInput
- type DetachVolumesOutput
- type DisableS2SharedTargetsInput
- type DisableS2SharedTargetsOutput
- type DissociateDNSAliasesInput
- type DissociateDNSAliasesOutput
- type DissociateEIPFromClusterNodeInput
- type DissociateEIPFromClusterNodeOutput
- type DissociateEIPsFromLoadBalancerInput
- type DissociateEIPsFromLoadBalancerOutput
- type DissociateEIPsInput
- type DissociateEIPsOutput
- type EIP
- type EIPGroup
- type EIPResource
- type EIPService
- func (s *EIPService) AllocateEIPs(i *AllocateEIPsInput) (*AllocateEIPsOutput, error)
- func (s *EIPService) AssociateEIP(i *AssociateEIPInput) (*AssociateEIPOutput, error)
- func (s *EIPService) ChangeEIPsBandwidth(i *ChangeEIPsBandwidthInput) (*ChangeEIPsBandwidthOutput, error)
- func (s *EIPService) ChangeEIPsBillingMode(i *ChangeEIPsBillingModeInput) (*ChangeEIPsBillingModeOutput, error)
- func (s *EIPService) DescribeEIPs(i *DescribeEIPsInput) (*DescribeEIPsOutput, error)
- func (s *EIPService) DissociateEIPs(i *DissociateEIPsInput) (*DissociateEIPsOutput, error)
- func (s *EIPService) GetEIPMonitor(i *GetEIPMonitorInput) (*GetEIPMonitorOutput, error)
- func (s *EIPService) ModifyEIPAttributes(i *ModifyEIPAttributesInput) (*ModifyEIPAttributesOutput, error)
- func (s *EIPService) ReleaseEIPs(i *ReleaseEIPsInput) (*ReleaseEIPsOutput, error)
- type EIPServiceProperties
- type EnableS2SharedTargetsInput
- type EnableS2SharedTargetsOutput
- type Extra
- type File
- type GetCacheMonitorInput
- type GetCacheMonitorOutput
- type GetDNSLabelInput
- type GetDNSLabelOutput
- type GetEIPMonitorInput
- type GetEIPMonitorOutput
- type GetInstanceMonitorInput
- type GetInstanceMonitorOutput
- type GetLoadBalancerMonitorInput
- type GetLoadBalancerMonitorOutput
- type GetMongoMonitorInput
- type GetMongoMonitorOutput
- type GetRDBInstanceFilesInput
- type GetRDBInstanceFilesOutput
- type GetRDBMonitorInput
- type GetRDBMonitorOutput
- type GetRouterMonitorInput
- type GetRouterMonitorOutput
- type GrantImageToUsersInput
- type GrantImageToUsersOutput
- type Image
- type ImageService
- func (s *ImageService) CaptureInstance(i *CaptureInstanceInput) (*CaptureInstanceOutput, error)
- func (s *ImageService) DeleteImages(i *DeleteImagesInput) (*DeleteImagesOutput, error)
- func (s *ImageService) DescribeImageUsers(i *DescribeImageUsersInput) (*DescribeImageUsersOutput, error)
- func (s *ImageService) DescribeImages(i *DescribeImagesInput) (*DescribeImagesOutput, error)
- func (s *ImageService) GrantImageToUsers(i *GrantImageToUsersInput) (*GrantImageToUsersOutput, error)
- func (s *ImageService) ModifyImageAttributes(i *ModifyImageAttributesInput) (*ModifyImageAttributesOutput, error)
- func (s *ImageService) RevokeImageFromUsers(i *RevokeImageFromUsersInput) (*RevokeImageFromUsersOutput, error)
- type ImageServiceProperties
- type ImageUser
- type Instance
- type InstanceService
- func (s *InstanceService) DescribeInstanceTypes(i *DescribeInstanceTypesInput) (*DescribeInstanceTypesOutput, error)
- func (s *InstanceService) DescribeInstances(i *DescribeInstancesInput) (*DescribeInstancesOutput, error)
- func (s *InstanceService) GetInstanceMonitor(i *GetInstanceMonitorInput) (*GetInstanceMonitorOutput, error)
- func (s *InstanceService) ModifyInstanceAttributes(i *ModifyInstanceAttributesInput) (*ModifyInstanceAttributesOutput, error)
- func (s *InstanceService) ResetInstances(i *ResetInstancesInput) (*ResetInstancesOutput, error)
- func (s *InstanceService) ResizeInstances(i *ResizeInstancesInput) (*ResizeInstancesOutput, error)
- func (s *InstanceService) RestartInstances(i *RestartInstancesInput) (*RestartInstancesOutput, error)
- func (s *InstanceService) RunInstances(i *RunInstancesInput) (*RunInstancesOutput, error)
- func (s *InstanceService) StartInstances(i *StartInstancesInput) (*StartInstancesOutput, error)
- func (s *InstanceService) StopInstances(i *StopInstancesInput) (*StopInstancesOutput, error)
- func (s *InstanceService) TerminateInstances(i *TerminateInstancesInput) (*TerminateInstancesOutput, error)
- type InstanceServiceProperties
- type InstanceType
- type InstanceVxNet
- type Job
- type JobService
- type JobServiceProperties
- type JoinRouterInput
- type JoinRouterOutput
- type JoinVxNetInput
- type JoinVxNetOutput
- type KeyPair
- type KeyPairService
- func (s *KeyPairService) AttachKeyPairs(i *AttachKeyPairsInput) (*AttachKeyPairsOutput, error)
- func (s *KeyPairService) CreateKeyPair(i *CreateKeyPairInput) (*CreateKeyPairOutput, error)
- func (s *KeyPairService) DeleteKeyPairs(i *DeleteKeyPairsInput) (*DeleteKeyPairsOutput, error)
- func (s *KeyPairService) DescribeKeyPairs(i *DescribeKeyPairsInput) (*DescribeKeyPairsOutput, error)
- func (s *KeyPairService) DetachKeyPairs(i *DetachKeyPairsInput) (*DetachKeyPairsOutput, error)
- func (s *KeyPairService) ModifyKeyPairAttributes(i *ModifyKeyPairAttributesInput) (*ModifyKeyPairAttributesOutput, error)
- type KeyPairServiceProperties
- type LeaveRouterInput
- type LeaveRouterOutput
- type LeaveVxNetInput
- type LeaveVxNetOutput
- type LoadBalancer
- type LoadBalancerBackend
- type LoadBalancerListener
- type LoadBalancerPolicy
- type LoadBalancerPolicyRule
- type LoadBalancerService
- func (s *LoadBalancerService) AddLoadBalancerBackends(i *AddLoadBalancerBackendsInput) (*AddLoadBalancerBackendsOutput, error)
- func (s *LoadBalancerService) AddLoadBalancerListeners(i *AddLoadBalancerListenersInput) (*AddLoadBalancerListenersOutput, error)
- func (s *LoadBalancerService) AddLoadBalancerPolicyRules(i *AddLoadBalancerPolicyRulesInput) (*AddLoadBalancerPolicyRulesOutput, error)
- func (s *LoadBalancerService) ApplyLoadBalancerPolicy(i *ApplyLoadBalancerPolicyInput) (*ApplyLoadBalancerPolicyOutput, error)
- func (s *LoadBalancerService) AssociateEIPsToLoadBalancer(i *AssociateEIPsToLoadBalancerInput) (*AssociateEIPsToLoadBalancerOutput, error)
- func (s *LoadBalancerService) CreateLoadBalancer(i *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)
- func (s *LoadBalancerService) CreateLoadBalancerPolicy(i *CreateLoadBalancerPolicyInput) (*CreateLoadBalancerPolicyOutput, error)
- func (s *LoadBalancerService) CreateServerCertificate(i *CreateServerCertificateInput) (*CreateServerCertificateOutput, error)
- func (s *LoadBalancerService) DeleteLoadBalancerBackends(i *DeleteLoadBalancerBackendsInput) (*DeleteLoadBalancerBackendsOutput, error)
- func (s *LoadBalancerService) DeleteLoadBalancerListeners(i *DeleteLoadBalancerListenersInput) (*DeleteLoadBalancerListenersOutput, error)
- func (s *LoadBalancerService) DeleteLoadBalancerPolicies(i *DeleteLoadBalancerPoliciesInput) (*DeleteLoadBalancerPoliciesOutput, error)
- func (s *LoadBalancerService) DeleteLoadBalancerPolicyRules(i *DeleteLoadBalancerPolicyRulesInput) (*DeleteLoadBalancerPolicyRulesOutput, error)
- func (s *LoadBalancerService) DeleteLoadBalancers(i *DeleteLoadBalancersInput) (*DeleteLoadBalancersOutput, error)
- func (s *LoadBalancerService) DeleteServerCertificates(i *DeleteServerCertificatesInput) (*DeleteServerCertificatesOutput, error)
- func (s *LoadBalancerService) DescribeLoadBalancerBackends(i *DescribeLoadBalancerBackendsInput) (*DescribeLoadBalancerBackendsOutput, error)
- func (s *LoadBalancerService) DescribeLoadBalancerListeners(i *DescribeLoadBalancerListenersInput) (*DescribeLoadBalancerListenersOutput, error)
- func (s *LoadBalancerService) DescribeLoadBalancerPolicies(i *DescribeLoadBalancerPoliciesInput) (*DescribeLoadBalancerPoliciesOutput, error)
- func (s *LoadBalancerService) DescribeLoadBalancerPolicyRules(i *DescribeLoadBalancerPolicyRulesInput) (*DescribeLoadBalancerPolicyRulesOutput, error)
- func (s *LoadBalancerService) DescribeLoadBalancers(i *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error)
- func (s *LoadBalancerService) DescribeServerCertificates(i *DescribeServerCertificatesInput) (*DescribeServerCertificatesOutput, error)
- func (s *LoadBalancerService) DissociateEIPsFromLoadBalancer(i *DissociateEIPsFromLoadBalancerInput) (*DissociateEIPsFromLoadBalancerOutput, error)
- func (s *LoadBalancerService) GetLoadBalancerMonitor(i *GetLoadBalancerMonitorInput) (*GetLoadBalancerMonitorOutput, error)
- func (s *LoadBalancerService) ModifyLoadBalancerAttributes(i *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error)
- func (s *LoadBalancerService) ModifyLoadBalancerBackendAttributes(i *ModifyLoadBalancerBackendAttributesInput) (*ModifyLoadBalancerBackendAttributesOutput, error)
- func (s *LoadBalancerService) ModifyLoadBalancerListenerAttributes(i *ModifyLoadBalancerListenerAttributesInput) (*ModifyLoadBalancerListenerAttributesOutput, error)
- func (s *LoadBalancerService) ModifyLoadBalancerPolicyAttributes(i *ModifyLoadBalancerPolicyAttributesInput) (*ModifyLoadBalancerPolicyAttributesOutput, error)
- func (s *LoadBalancerService) ModifyLoadBalancerPolicyRuleAttributes(i *ModifyLoadBalancerPolicyRuleAttributesInput) (*ModifyLoadBalancerPolicyRuleAttributesOutput, error)
- func (s *LoadBalancerService) ModifyServerCertificateAttributes(i *ModifyServerCertificateAttributesInput) (*ModifyServerCertificateAttributesOutput, error)
- func (s *LoadBalancerService) ResizeLoadBalancers(i *ResizeLoadBalancersInput) (*ResizeLoadBalancersOutput, error)
- func (s *LoadBalancerService) StartLoadBalancers(i *StartLoadBalancersInput) (*StartLoadBalancersOutput, error)
- func (s *LoadBalancerService) StopLoadBalancers(i *StopLoadBalancersInput) (*StopLoadBalancersOutput, error)
- func (s *LoadBalancerService) UpdateLoadBalancers(i *UpdateLoadBalancersInput) (*UpdateLoadBalancersOutput, error)
- type LoadBalancerServiceProperties
- type Meter
- type ModifyCacheAttributesInput
- type ModifyCacheAttributesOutput
- type ModifyCacheNodeAttributesInput
- type ModifyCacheNodeAttributesOutput
- type ModifyCacheParameterGroupAttributesInput
- type ModifyCacheParameterGroupAttributesOutput
- type ModifyClusterAttributesInput
- type ModifyClusterAttributesOutput
- type ModifyClusterNodeAttributesInput
- type ModifyClusterNodeAttributesOutput
- type ModifyEIPAttributesInput
- type ModifyEIPAttributesOutput
- type ModifyImageAttributesInput
- type ModifyImageAttributesOutput
- type ModifyInstanceAttributesInput
- type ModifyInstanceAttributesOutput
- type ModifyKeyPairAttributesInput
- type ModifyKeyPairAttributesOutput
- type ModifyLoadBalancerAttributesInput
- type ModifyLoadBalancerAttributesOutput
- type ModifyLoadBalancerBackendAttributesInput
- type ModifyLoadBalancerBackendAttributesOutput
- type ModifyLoadBalancerListenerAttributesInput
- type ModifyLoadBalancerListenerAttributesOutput
- type ModifyLoadBalancerPolicyAttributesInput
- type ModifyLoadBalancerPolicyAttributesOutput
- type ModifyLoadBalancerPolicyRuleAttributesInput
- type ModifyLoadBalancerPolicyRuleAttributesOutput
- type ModifyMongoAttributesInput
- type ModifyMongoAttributesOutput
- type ModifyMongoInstancesInput
- type ModifyMongoInstancesOutput
- type ModifyNicAttributesInput
- type ModifyNicAttributesOutput
- type ModifyRDBParametersInput
- type ModifyRDBParametersOutput
- type ModifyRouterAttributesInput
- type ModifyRouterAttributesOutput
- type ModifyRouterStaticAttributesInput
- type ModifyRouterStaticAttributesOutput
- type ModifyRouterStaticEntryAttributesInput
- type ModifyRouterStaticEntryAttributesOutput
- type ModifyS2ServerInput
- type ModifyS2ServerOutput
- type ModifyS2SharedTargetsInput
- type ModifyS2SharedTargetsOutput
- type ModifySecurityGroupAttributesInput
- type ModifySecurityGroupAttributesOutput
- type ModifySecurityGroupIPSetAttributesInput
- type ModifySecurityGroupIPSetAttributesOutput
- type ModifySecurityGroupRuleAttributesInput
- type ModifySecurityGroupRuleAttributesOutput
- type ModifyServerCertificateAttributesInput
- type ModifyServerCertificateAttributesOutput
- type ModifySnapshotAttributesInput
- type ModifySnapshotAttributesOutput
- type ModifyTagAttributesInput
- type ModifyTagAttributesOutput
- type ModifyVolumeAttributesInput
- type ModifyVolumeAttributesOutput
- type ModifyVxNetAttributesInput
- type ModifyVxNetAttributesOutput
- type Mongo
- type MongoNode
- type MongoParameter
- type MongoPrivateIP
- type MongoService
- func (s *MongoService) AddMongoInstances(i *AddMongoInstancesInput) (*AddMongoInstancesOutput, error)
- func (s *MongoService) ChangeMongoVxNet(i *ChangeMongoVxNetInput) (*ChangeMongoVxNetOutput, error)
- func (s *MongoService) CreateMongo(i *CreateMongoInput) (*CreateMongoOutput, error)
- func (s *MongoService) CreateMongoFromSnapshot(i *CreateMongoFromSnapshotInput) (*CreateMongoFromSnapshotOutput, error)
- func (s *MongoService) DeleteMongos(i *DeleteMongosInput) (*DeleteMongosOutput, error)
- func (s *MongoService) DescribeMongoNodes(i *DescribeMongoNodesInput) (*DescribeMongoNodesOutput, error)
- func (s *MongoService) DescribeMongoParameters(i *DescribeMongoParametersInput) (*DescribeMongoParametersOutput, error)
- func (s *MongoService) DescribeMongos(i *DescribeMongosInput) (*DescribeMongosOutput, error)
- func (s *MongoService) GetMongoMonitor(i *GetMongoMonitorInput) (*GetMongoMonitorOutput, error)
- func (s *MongoService) ModifyMongoAttributes(i *ModifyMongoAttributesInput) (*ModifyMongoAttributesOutput, error)
- func (s *MongoService) ModifyMongoInstances(i *ModifyMongoInstancesInput) (*ModifyMongoInstancesOutput, error)
- func (s *MongoService) RemoveMongoInstances(i *RemoveMongoInstancesInput) (*RemoveMongoInstancesOutput, error)
- func (s *MongoService) ResizeMongos(i *ResizeMongosInput) (*ResizeMongosOutput, error)
- func (s *MongoService) StartMongos(i *StartMongosInput) (*StartMongosOutput, error)
- func (s *MongoService) StopMongos(i *StopMongosInput) (*StopMongosOutput, error)
- type MongoServiceProperties
- type NIC
- type NICIP
- type NicService
- func (s *NicService) AttachNics(i *AttachNicsInput) (*AttachNicsOutput, error)
- func (s *NicService) CreateNics(i *CreateNicsInput) (*CreateNicsOutput, error)
- func (s *NicService) DeleteNics(i *DeleteNicsInput) (*DeleteNicsOutput, error)
- func (s *NicService) DescribeNics(i *DescribeNicsInput) (*DescribeNicsOutput, error)
- func (s *NicService) DetachNics(i *DetachNicsInput) (*DetachNicsOutput, error)
- func (s *NicService) ModifyNicAttributes(i *ModifyNicAttributesInput) (*ModifyNicAttributesOutput, error)
- type NicServiceProperties
- type PowerOffRoutersInput
- type PowerOffRoutersOutput
- type PowerOffS2ServersInput
- type PowerOffS2ServersOutput
- type PowerOnRoutersInput
- type PowerOnRoutersOutput
- type PowerOnS2ServersInput
- type PowerOnS2ServersOutput
- type QingCloudService
- func (s *QingCloudService) Cache(zone string) (*CacheService, error)
- func (s *QingCloudService) Cluster(zone string) (*ClusterService, error)
- func (s *QingCloudService) DNSAlias(zone string) (*DNSAliasService, error)
- func (s *QingCloudService) DescribeZones(i *DescribeZonesInput) (*DescribeZonesOutput, error)
- func (s *QingCloudService) EIP(zone string) (*EIPService, error)
- func (s *QingCloudService) Image(zone string) (*ImageService, error)
- func (s *QingCloudService) Instance(zone string) (*InstanceService, error)
- func (s *QingCloudService) Job(zone string) (*JobService, error)
- func (s *QingCloudService) KeyPair(zone string) (*KeyPairService, error)
- func (s *QingCloudService) LoadBalancer(zone string) (*LoadBalancerService, error)
- func (s *QingCloudService) Mongo(zone string) (*MongoService, error)
- func (s *QingCloudService) Nic(zone string) (*NicService, error)
- func (s *QingCloudService) RDB(zone string) (*RDBService, error)
- func (s *QingCloudService) Router(zone string) (*RouterService, error)
- func (s *QingCloudService) SecurityGroup(zone string) (*SecurityGroupService, error)
- func (s *QingCloudService) SharedStorage(zone string) (*SharedStorageService, error)
- func (s *QingCloudService) Snapshot(zone string) (*SnapshotService, error)
- func (s *QingCloudService) Tag(zone string) (*TagService, error)
- func (s *QingCloudService) UserData(zone string) (*UserDataService, error)
- func (s *QingCloudService) Volume(zone string) (*VolumeService, error)
- func (s *QingCloudService) VxNet(zone string) (*VxNetService, error)
- type QingCloudServiceProperties
- type RDB
- type RDBFile
- type RDBParameter
- type RDBParameters
- type RDBPrivateIP
- type RDBService
- func (s *RDBService) ApplyRDBParameterGroup(i *ApplyRDBParameterGroupInput) (*ApplyRDBParameterGroupOutput, error)
- func (s *RDBService) CeaseRDBInstance(i *CeaseRDBInstanceInput) (*CeaseRDBInstanceOutput, error)
- func (s *RDBService) CopyRDBInstanceFilesToFTP(i *CopyRDBInstanceFilesToFTPInput) (*CopyRDBInstanceFilesToFTPOutput, error)
- func (s *RDBService) CreateRDB(i *CreateRDBInput) (*CreateRDBOutput, error)
- func (s *RDBService) CreateRDBFromSnapshot(i *CreateRDBFromSnapshotInput) (*CreateRDBFromSnapshotOutput, error)
- func (s *RDBService) CreateTempRDBInstanceFromSnapshot(i *CreateTempRDBInstanceFromSnapshotInput) (*CreateTempRDBInstanceFromSnapshotOutput, error)
- func (s *RDBService) DeleteRDBs(i *DeleteRDBsInput) (*DeleteRDBsOutput, error)
- func (s *RDBService) DescribeRDBParameters(i *DescribeRDBParametersInput) (*DescribeRDBParametersOutput, error)
- func (s *RDBService) DescribeRDBs(i *DescribeRDBsInput) (*DescribeRDBsOutput, error)
- func (s *RDBService) GetRDBInstanceFiles(i *GetRDBInstanceFilesInput) (*GetRDBInstanceFilesOutput, error)
- func (s *RDBService) GetRDBMonitor(i *GetRDBMonitorInput) (*GetRDBMonitorOutput, error)
- func (s *RDBService) ModifyRDBParameters(i *ModifyRDBParametersInput) (*ModifyRDBParametersOutput, error)
- func (s *RDBService) RDBsJoinVxNet(i *RDBsJoinVxNetInput) (*RDBsJoinVxNetOutput, error)
- func (s *RDBService) RDBsLeaveVxNet(i *RDBsLeaveVxNetInput) (*RDBsLeaveVxNetOutput, error)
- func (s *RDBService) ResizeRDBs(i *ResizeRDBsInput) (*ResizeRDBsOutput, error)
- func (s *RDBService) StartRDBs(i *StartRDBsInput) (*StartRDBsOutput, error)
- func (s *RDBService) StopRDBs(i *StopRDBsInput) (*StopRDBsOutput, error)
- type RDBServiceProperties
- type RDBsJoinVxNetInput
- type RDBsJoinVxNetOutput
- type RDBsLeaveVxNetInput
- type RDBsLeaveVxNetOutput
- type RecoverClustersInput
- type RecoverClustersOutput
- type ReleaseEIPsInput
- type ReleaseEIPsOutput
- type RemoveMongoInstancesInput
- type RemoveMongoInstancesOutput
- type ResetCacheParametersInput
- type ResetCacheParametersOutput
- type ResetInstancesInput
- type ResetInstancesOutput
- type ResizeCachesInput
- type ResizeCachesOutput
- type ResizeClusterInput
- type ResizeClusterOutput
- type ResizeInstancesInput
- type ResizeInstancesOutput
- type ResizeLoadBalancersInput
- type ResizeLoadBalancersOutput
- type ResizeMongosInput
- type ResizeMongosOutput
- type ResizeRDBsInput
- type ResizeRDBsOutput
- type ResizeS2ServersInput
- type ResizeS2ServersOutput
- type ResizeVolumesInput
- type ResizeVolumesOutput
- type Resource
- type ResourceTagPair
- type ResourceTypeCount
- type RestartCacheNodesInput
- type RestartCacheNodesOutput
- type RestartCachesInput
- type RestartCachesOutput
- type RestartClusterServiceInput
- type RestartClusterServiceOutput
- type RestartInstancesInput
- type RestartInstancesOutput
- type RestoreClusterFromSnapshotInput
- type RestoreClusterFromSnapshotOutput
- type RevokeImageFromUsersInput
- type RevokeImageFromUsersOutput
- type RollbackSecurityGroupInput
- type RollbackSecurityGroupOutput
- type Router
- type RouterService
- func (s *RouterService) AddRouterStaticEntries(i *AddRouterStaticEntriesInput) (*AddRouterStaticEntriesOutput, error)
- func (s *RouterService) AddRouterStatics(i *AddRouterStaticsInput) (*AddRouterStaticsOutput, error)
- func (s *RouterService) CreateRouters(i *CreateRoutersInput) (*CreateRoutersOutput, error)
- func (s *RouterService) DeleteRouterStaticEntries(i *DeleteRouterStaticEntriesInput) (*DeleteRouterStaticEntriesOutput, error)
- func (s *RouterService) DeleteRouterStatics(i *DeleteRouterStaticsInput) (*DeleteRouterStaticsOutput, error)
- func (s *RouterService) DeleteRouters(i *DeleteRoutersInput) (*DeleteRoutersOutput, error)
- func (s *RouterService) DescribeRouterStaticEntries(i *DescribeRouterStaticEntriesInput) (*DescribeRouterStaticEntriesOutput, error)
- func (s *RouterService) DescribeRouterStatics(i *DescribeRouterStaticsInput) (*DescribeRouterStaticsOutput, error)
- func (s *RouterService) DescribeRouterVxNets(i *DescribeRouterVxNetsInput) (*DescribeRouterVxNetsOutput, error)
- func (s *RouterService) DescribeRouters(i *DescribeRoutersInput) (*DescribeRoutersOutput, error)
- func (s *RouterService) GetRouterMonitor(i *GetRouterMonitorInput) (*GetRouterMonitorOutput, error)
- func (s *RouterService) JoinRouter(i *JoinRouterInput) (*JoinRouterOutput, error)
- func (s *RouterService) LeaveRouter(i *LeaveRouterInput) (*LeaveRouterOutput, error)
- func (s *RouterService) ModifyRouterAttributes(i *ModifyRouterAttributesInput) (*ModifyRouterAttributesOutput, error)
- func (s *RouterService) ModifyRouterStaticAttributes(i *ModifyRouterStaticAttributesInput) (*ModifyRouterStaticAttributesOutput, error)
- func (s *RouterService) ModifyRouterStaticEntryAttributes(i *ModifyRouterStaticEntryAttributesInput) (*ModifyRouterStaticEntryAttributesOutput, error)
- func (s *RouterService) PowerOffRouters(i *PowerOffRoutersInput) (*PowerOffRoutersOutput, error)
- func (s *RouterService) PowerOnRouters(i *PowerOnRoutersInput) (*PowerOnRoutersOutput, error)
- func (s *RouterService) UpdateRouters(i *UpdateRoutersInput) (*UpdateRoutersOutput, error)
- type RouterServiceProperties
- type RouterStatic
- type RouterStaticEntry
- type RouterVxNet
- type RunClusterCustomServiceInput
- type RunClusterCustomServiceOutput
- type RunInstancesInput
- type RunInstancesOutput
- type S2DefaultParameters
- type S2Server
- type S2SharedTarget
- type SecurityGroup
- type SecurityGroupIPSet
- type SecurityGroupRule
- type SecurityGroupService
- func (s *SecurityGroupService) AddSecurityGroupRules(i *AddSecurityGroupRulesInput) (*AddSecurityGroupRulesOutput, error)
- func (s *SecurityGroupService) ApplySecurityGroup(i *ApplySecurityGroupInput) (*ApplySecurityGroupOutput, error)
- func (s *SecurityGroupService) CreateSecurityGroup(i *CreateSecurityGroupInput) (*CreateSecurityGroupOutput, error)
- func (s *SecurityGroupService) CreateSecurityGroupIPSet(i *CreateSecurityGroupIPSetInput) (*CreateSecurityGroupIPSetOutput, error)
- func (s *SecurityGroupService) CreateSecurityGroupSnapshot(i *CreateSecurityGroupSnapshotInput) (*CreateSecurityGroupSnapshotOutput, error)
- func (s *SecurityGroupService) DeleteSecurityGroupIPSets(i *DeleteSecurityGroupIPSetsInput) (*DeleteSecurityGroupIPSetsOutput, error)
- func (s *SecurityGroupService) DeleteSecurityGroupRules(i *DeleteSecurityGroupRulesInput) (*DeleteSecurityGroupRulesOutput, error)
- func (s *SecurityGroupService) DeleteSecurityGroupSnapshots(i *DeleteSecurityGroupSnapshotsInput) (*DeleteSecurityGroupSnapshotsOutput, error)
- func (s *SecurityGroupService) DeleteSecurityGroups(i *DeleteSecurityGroupsInput) (*DeleteSecurityGroupsOutput, error)
- func (s *SecurityGroupService) DescribeSecurityGroupIPSets(i *DescribeSecurityGroupIPSetsInput) (*DescribeSecurityGroupIPSetsOutput, error)
- func (s *SecurityGroupService) DescribeSecurityGroupRules(i *DescribeSecurityGroupRulesInput) (*DescribeSecurityGroupRulesOutput, error)
- func (s *SecurityGroupService) DescribeSecurityGroupSnapshots(i *DescribeSecurityGroupSnapshotsInput) (*DescribeSecurityGroupSnapshotsOutput, error)
- func (s *SecurityGroupService) DescribeSecurityGroups(i *DescribeSecurityGroupsInput) (*DescribeSecurityGroupsOutput, error)
- func (s *SecurityGroupService) ModifySecurityGroupAttributes(i *ModifySecurityGroupAttributesInput) (*ModifySecurityGroupAttributesOutput, error)
- func (s *SecurityGroupService) ModifySecurityGroupIPSetAttributes(i *ModifySecurityGroupIPSetAttributesInput) (*ModifySecurityGroupIPSetAttributesOutput, error)
- func (s *SecurityGroupService) ModifySecurityGroupRuleAttributes(i *ModifySecurityGroupRuleAttributesInput) (*ModifySecurityGroupRuleAttributesOutput, error)
- func (s *SecurityGroupService) RollbackSecurityGroup(i *RollbackSecurityGroupInput) (*RollbackSecurityGroupOutput, error)
- type SecurityGroupServiceProperties
- type SecurityGroupSnapshot
- type ServerCertificate
- type SharedStorageService
- func (s *SharedStorageService) AttachToS2SharedTarget(i *AttachToS2SharedTargetInput) (*AttachToS2SharedTargetOutput, error)
- func (s *SharedStorageService) ChangeS2ServerVxNet(i *ChangeS2ServerVxNetInput) (*ChangeS2ServerVxNetOutput, error)
- func (s *SharedStorageService) CreateS2Server(i *CreateS2ServerInput) (*CreateS2ServerOutput, error)
- func (s *SharedStorageService) CreateS2SharedTarget(i *CreateS2SharedTargetInput) (*CreateS2SharedTargetOutput, error)
- func (s *SharedStorageService) DeleteS2Servers(i *DeleteS2ServersInput) (*DeleteS2ServersOutput, error)
- func (s *SharedStorageService) DeleteS2SharedTargets(i *DeleteS2SharedTargetsInput) (*DeleteS2SharedTargetsOutput, error)
- func (s *SharedStorageService) DescribeS2DefaultParameters(i *DescribeS2DefaultParametersInput) (*DescribeS2DefaultParametersOutput, error)
- func (s *SharedStorageService) DescribeS2Servers(i *DescribeS2ServersInput) (*DescribeS2ServersOutput, error)
- func (s *SharedStorageService) DescribeS2SharedTargets(i *DescribeS2SharedTargetsInput) (*DescribeS2SharedTargetsOutput, error)
- func (s *SharedStorageService) DetachFromS2SharedTarget(i *DetachFromS2SharedTargetInput) (*DetachFromS2SharedTargetOutput, error)
- func (s *SharedStorageService) DisableS2SharedTargets(i *DisableS2SharedTargetsInput) (*DisableS2SharedTargetsOutput, error)
- func (s *SharedStorageService) EnableS2SharedTargets(i *EnableS2SharedTargetsInput) (*EnableS2SharedTargetsOutput, error)
- func (s *SharedStorageService) ModifyS2Server(i *ModifyS2ServerInput) (*ModifyS2ServerOutput, error)
- func (s *SharedStorageService) ModifyS2SharedTargets(i *ModifyS2SharedTargetsInput) (*ModifyS2SharedTargetsOutput, error)
- func (s *SharedStorageService) PowerOffS2Servers(i *PowerOffS2ServersInput) (*PowerOffS2ServersOutput, error)
- func (s *SharedStorageService) PowerOnS2Servers(i *PowerOnS2ServersInput) (*PowerOnS2ServersOutput, error)
- func (s *SharedStorageService) ResizeS2Servers(i *ResizeS2ServersInput) (*ResizeS2ServersOutput, error)
- func (s *SharedStorageService) UpdateS2Servers(i *UpdateS2ServersInput) (*UpdateS2ServersOutput, error)
- type SharedStorageServiceProperties
- type Snapshot
- type SnapshotResource
- type SnapshotService
- func (s *SnapshotService) ApplySnapshots(i *ApplySnapshotsInput) (*ApplySnapshotsOutput, error)
- func (s *SnapshotService) CaptureInstanceFromSnapshot(i *CaptureInstanceFromSnapshotInput) (*CaptureInstanceFromSnapshotOutput, error)
- func (s *SnapshotService) CreateSnapshots(i *CreateSnapshotsInput) (*CreateSnapshotsOutput, error)
- func (s *SnapshotService) CreateVolumeFromSnapshot(i *CreateVolumeFromSnapshotInput) (*CreateVolumeFromSnapshotOutput, error)
- func (s *SnapshotService) DeleteSnapshots(i *DeleteSnapshotsInput) (*DeleteSnapshotsOutput, error)
- func (s *SnapshotService) DescribeSnapshots(i *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error)
- func (s *SnapshotService) ModifySnapshotAttributes(i *ModifySnapshotAttributesInput) (*ModifySnapshotAttributesOutput, error)
- type SnapshotServiceProperties
- type StartCachesInput
- type StartCachesOutput
- type StartClustersInput
- type StartClustersOutput
- type StartInstancesInput
- type StartInstancesOutput
- type StartLoadBalancersInput
- type StartLoadBalancersOutput
- type StartMongosInput
- type StartMongosOutput
- type StartRDBsInput
- type StartRDBsOutput
- type StopCachesInput
- type StopCachesOutput
- type StopClustersInput
- type StopClustersOutput
- type StopInstancesInput
- type StopInstancesOutput
- type StopLoadBalancersInput
- type StopLoadBalancersOutput
- type StopMongosInput
- type StopMongosOutput
- type StopRDBsInput
- type StopRDBsOutput
- type Tag
- type TagService
- func (s *TagService) AttachTags(i *AttachTagsInput) (*AttachTagsOutput, error)
- func (s *TagService) CreateTag(i *CreateTagInput) (*CreateTagOutput, error)
- func (s *TagService) DeleteTags(i *DeleteTagsInput) (*DeleteTagsOutput, error)
- func (s *TagService) DescribeTags(i *DescribeTagsInput) (*DescribeTagsOutput, error)
- func (s *TagService) DetachTags(i *DetachTagsInput) (*DetachTagsOutput, error)
- func (s *TagService) ModifyTagAttributes(i *ModifyTagAttributesInput) (*ModifyTagAttributesOutput, error)
- type TagServiceProperties
- type TerminateInstancesInput
- type TerminateInstancesOutput
- type UpdateCacheInput
- type UpdateCacheOutput
- type UpdateCacheParametersInput
- type UpdateCacheParametersOutput
- type UpdateClusterEnvironmentInput
- type UpdateClusterEnvironmentOutput
- type UpdateLoadBalancersInput
- type UpdateLoadBalancersOutput
- type UpdateRoutersInput
- type UpdateRoutersOutput
- type UpdateS2ServersInput
- type UpdateS2ServersOutput
- type UpgradeClustersInput
- type UpgradeClustersOutput
- type UploadUserDataAttachmentInput
- type UploadUserDataAttachmentOutput
- type User
- type UserDataService
- type UserDataServiceProperties
- type Volume
- type VolumeService
- func (s *VolumeService) AttachVolumes(i *AttachVolumesInput) (*AttachVolumesOutput, error)
- func (s *VolumeService) CreateVolumes(i *CreateVolumesInput) (*CreateVolumesOutput, error)
- func (s *VolumeService) DeleteVolumes(i *DeleteVolumesInput) (*DeleteVolumesOutput, error)
- func (s *VolumeService) DescribeVolumes(i *DescribeVolumesInput) (*DescribeVolumesOutput, error)
- func (s *VolumeService) DetachVolumes(i *DetachVolumesInput) (*DetachVolumesOutput, error)
- func (s *VolumeService) ModifyVolumeAttributes(i *ModifyVolumeAttributesInput) (*ModifyVolumeAttributesOutput, error)
- func (s *VolumeService) ResizeVolumes(i *ResizeVolumesInput) (*ResizeVolumesOutput, error)
- type VolumeServiceProperties
- type VxNet
- type VxNetService
- func (s *VxNetService) CreateVxNets(i *CreateVxNetsInput) (*CreateVxNetsOutput, error)
- func (s *VxNetService) DeleteVxNets(i *DeleteVxNetsInput) (*DeleteVxNetsOutput, error)
- func (s *VxNetService) DescribeVxNetInstances(i *DescribeVxNetInstancesInput) (*DescribeVxNetInstancesOutput, error)
- func (s *VxNetService) DescribeVxNets(i *DescribeVxNetsInput) (*DescribeVxNetsOutput, error)
- func (s *VxNetService) JoinVxNet(i *JoinVxNetInput) (*JoinVxNetOutput, error)
- func (s *VxNetService) LeaveVxNet(i *LeaveVxNetInput) (*LeaveVxNetOutput, error)
- func (s *VxNetService) ModifyVxNetAttributes(i *ModifyVxNetAttributesInput) (*ModifyVxNetAttributesOutput, error)
- type VxNetServiceProperties
- type Zone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValue ¶
BoolValue returns the value of the given bool pointer or false if the pointer is nil.
func BoolValueMap ¶
BoolValueMap converts a string map of bool pointers into a string map of bool values
func BoolValueSlice ¶
BoolValueSlice converts a slice of bool pointers into a slice of bool values
func IntValueMap ¶
IntValueMap converts a string map of int pointers into a string map of int values
func IntValueSlice ¶
IntValueSlice converts a slice of int pointers into a slice of int values
func StringMap ¶
StringMap converts a string map of string values into a string map of string pointers
func StringSlice ¶
StringSlice converts a slice of string values into a slice of string pointers
func StringValue ¶
StringValue returns the value of the given string pointer or "" if the pointer is nil.
func StringValueMap ¶
StringValueMap converts a string map of string pointers into a string map of string values
func StringValueSlice ¶
StringValueSlice converts a slice of string pointers into a slice of string values
func TimeMap ¶
TimeMap converts a string map of time.Time values into a string map of time.Time pointers
func TimeUnixMilli ¶
TimeUnixMilli returns a Unix timestamp in milliseconds from "January 1, 1970 UTC". The result is undefined if the Unix time cannot be represented by an int64. Which includes calling TimeUnixMilli on a zero Time is undefined.
See Go stdlib https://golang.org/pkg/time/#Time.UnixNano for more information.
func TimeValue ¶
TimeValue returns the value of the given time.Time pointer or time.Time{} if the pointer is nil.
func TimeValueMap ¶
TimeValueMap converts a string map of time.Time pointers into a string map of time.Time values
Types ¶
type AddCacheNodesInput ¶
type AddCacheNodesInput struct { Cache *string `json:"cache" name:"cache" location:"params"` // Required NodeCount *int `json:"node_count" name:"node_count" location:"params"` // Required PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"` }
func (*AddCacheNodesInput) Validate ¶
func (v *AddCacheNodesInput) Validate() error
type AddCacheNodesOutput ¶
type AddCacheNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddClusterNodesInput ¶
type AddClusterNodesInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required NodeCount *int `json:"node_count" name:"node_count" location:"params"` // Required NodeName *string `json:"node_name" name:"node_name" location:"params"` NodeRole *string `json:"node_role" name:"node_role" location:"params"` PrivateIPs []*string `json:"private_ips" name:"private_ips" location:"params"` ResourceConf *string `json:"resource_conf" name:"resource_conf" location:"params"` }
func (*AddClusterNodesInput) Validate ¶
func (v *AddClusterNodesInput) Validate() error
type AddClusterNodesOutput ¶
type AddClusterNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` NewNodeIDs []*string `json:"new_node_ids" name:"new_node_ids" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddLoadBalancerBackendsInput ¶
type AddLoadBalancerBackendsInput struct { Backends []*LoadBalancerBackend `json:"backends" name:"backends" location:"params"` // Required LoadBalancerListener *string `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"` // Required }
func (*AddLoadBalancerBackendsInput) Validate ¶
func (v *AddLoadBalancerBackendsInput) Validate() error
type AddLoadBalancerBackendsOutput ¶
type AddLoadBalancerBackendsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddLoadBalancerListenersInput ¶
type AddLoadBalancerListenersInput struct { Listeners []*LoadBalancerListener `json:"listeners" name:"listeners" location:"params"` LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` }
func (*AddLoadBalancerListenersInput) Validate ¶
func (v *AddLoadBalancerListenersInput) Validate() error
type AddLoadBalancerListenersOutput ¶
type AddLoadBalancerListenersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddLoadBalancerPolicyRulesInput ¶
type AddLoadBalancerPolicyRulesInput struct { LoadBalancerPolicy *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` Rules []*LoadBalancerPolicyRule `json:"rules" name:"rules" location:"params"` }
func (*AddLoadBalancerPolicyRulesInput) Validate ¶
func (v *AddLoadBalancerPolicyRulesInput) Validate() error
type AddLoadBalancerPolicyRulesOutput ¶
type AddLoadBalancerPolicyRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddMongoInstancesInput ¶
type AddMongoInstancesInput struct { Mongo *string `json:"mongo" name:"mongo" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"` }
func (*AddMongoInstancesInput) Validate ¶
func (v *AddMongoInstancesInput) Validate() error
type AddMongoInstancesOutput ¶
type AddMongoInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` MongoNode []*string `json:"mongo_node" name:"mongo_node" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AddRouterStaticEntriesInput ¶
type AddRouterStaticEntriesInput struct { Entries []*RouterStaticEntry `json:"entries" name:"entries" location:"params"` RouterStatic *string `json:"router_static" name:"router_static" location:"params"` // Required }
func (*AddRouterStaticEntriesInput) Validate ¶
func (v *AddRouterStaticEntriesInput) Validate() error
type AddRouterStaticEntriesOutput ¶
type AddRouterStaticEntriesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"elements"` }
type AddRouterStaticsInput ¶
type AddRouterStaticsInput struct { Router *string `json:"router" name:"router" location:"params"` // Required Statics []*RouterStatic `json:"statics" name:"statics" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*AddRouterStaticsInput) Validate ¶
func (v *AddRouterStaticsInput) Validate() error
type AddRouterStaticsOutput ¶
type AddRouterStaticsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStatics []*string `json:"router_statics" name:"router_statics" location:"elements"` }
type AddSecurityGroupRulesInput ¶
type AddSecurityGroupRulesInput struct { Rules []*SecurityGroupRule `json:"rules" name:"rules" location:"params"` // Required SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required }
func (*AddSecurityGroupRulesInput) Validate ¶
func (v *AddSecurityGroupRulesInput) Validate() error
type AddSecurityGroupRulesOutput ¶
type AddSecurityGroupRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"elements"` }
type AllocateEIPsInput ¶
type AllocateEIPsInput struct { Bandwidth *int `json:"bandwidth" name:"bandwidth" location:"params"` // Required // BillingMode's available values: bandwidth, traffic BillingMode *string `json:"billing_mode" name:"billing_mode" default:"bandwidth" location:"params"` Count *int `json:"count" name:"count" default:"1" location:"params"` EIPName *string `json:"eip_name" name:"eip_name" location:"params"` // NeedICP's available values: 0, 1 NeedICP *int `json:"need_icp" name:"need_icp" default:"0" location:"params"` }
func (*AllocateEIPsInput) Validate ¶
func (v *AllocateEIPsInput) Validate() error
type AllocateEIPsOutput ¶
type ApplyCacheParameterGroupInput ¶
type ApplyCacheParameterGroupInput struct { CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required Caches []*string `json:"caches" name:"caches" location:"params"` }
func (*ApplyCacheParameterGroupInput) Validate ¶
func (v *ApplyCacheParameterGroupInput) Validate() error
type ApplyLoadBalancerPolicyInput ¶
type ApplyLoadBalancerPolicyInput struct {
LoadBalancerPolicy *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` // Required
}
func (*ApplyLoadBalancerPolicyInput) Validate ¶
func (v *ApplyLoadBalancerPolicyInput) Validate() error
type ApplyRDBParameterGroupInput ¶
type ApplyRDBParameterGroupInput struct {
RDB *string `json:"rdb" name:"rdb" location:"params"` // Required
}
func (*ApplyRDBParameterGroupInput) Validate ¶
func (v *ApplyRDBParameterGroupInput) Validate() error
type ApplyRDBParameterGroupOutput ¶
type ApplyRDBParameterGroupOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDB *string `json:"rdb" name:"rdb" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ApplySecurityGroupInput ¶
type ApplySecurityGroupInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required }
func (*ApplySecurityGroupInput) Validate ¶
func (v *ApplySecurityGroupInput) Validate() error
type ApplySnapshotsInput ¶
type ApplySnapshotsInput struct {
Snapshots []*string `json:"snapshots" name:"snapshots" location:"params"` // Required
}
func (*ApplySnapshotsInput) Validate ¶
func (v *ApplySnapshotsInput) Validate() error
type ApplySnapshotsOutput ¶
type AssociateDNSAliasInput ¶
type AssociateDNSAliasInput struct { Prefix *string `json:"prefix" name:"prefix" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required }
func (*AssociateDNSAliasInput) Validate ¶
func (v *AssociateDNSAliasInput) Validate() error
type AssociateDNSAliasOutput ¶
type AssociateDNSAliasOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` DNSAliasID *string `json:"dns_alias_id" name:"dns_alias_id" location:"elements"` DomainName *string `json:"domain_name" name:"domain_name" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type AssociateEIPInput ¶
type AssociateEIPInput struct { EIP *string `json:"eip" name:"eip" location:"params"` // Required Instance *string `json:"instance" name:"instance" location:"params"` // Required }
func (*AssociateEIPInput) Validate ¶
func (v *AssociateEIPInput) Validate() error
type AssociateEIPOutput ¶
type AssociateEIPToClusterNodeInput ¶
type AssociateEIPToClusterNodeInput struct { ClusterNode *string `json:"cluster_node" name:"cluster_node" location:"params"` // Required EIP *string `json:"eip" name:"eip" location:"params"` // Required NIC *string `json:"nic" name:"nic" location:"params"` }
func (*AssociateEIPToClusterNodeInput) Validate ¶
func (v *AssociateEIPToClusterNodeInput) Validate() error
type AssociateEIPsToLoadBalancerInput ¶
type AssociateEIPsToLoadBalancerInput struct { EIPs []*string `json:"eips" name:"eips" location:"params"` // Required LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required }
func (*AssociateEIPsToLoadBalancerInput) Validate ¶
func (v *AssociateEIPsToLoadBalancerInput) Validate() error
type AttachKeyPairsInput ¶
type AttachKeyPairsInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` // Required KeyPairs []*string `json:"keypairs" name:"keypairs" location:"params"` // Required }
func (*AttachKeyPairsInput) Validate ¶
func (v *AttachKeyPairsInput) Validate() error
type AttachKeyPairsOutput ¶
type AttachNicsInput ¶
type AttachNicsInput struct { Instance *string `json:"instance" name:"instance" location:"params"` // Required Nics []*string `json:"nics" name:"nics" location:"params"` // Required }
func (*AttachNicsInput) Validate ¶
func (v *AttachNicsInput) Validate() error
type AttachNicsOutput ¶
type AttachTagsInput ¶
type AttachTagsInput struct {
ResourceTagPairs []*ResourceTagPair `json:"resource_tag_pairs" name:"resource_tag_pairs" location:"params"` // Required
}
func (*AttachTagsInput) Validate ¶
func (v *AttachTagsInput) Validate() error
type AttachTagsOutput ¶
type AttachToS2SharedTargetInput ¶
type AttachToS2SharedTargetInput struct {}
func (*AttachToS2SharedTargetInput) Validate ¶
func (v *AttachToS2SharedTargetInput) Validate() error
type AttachToS2SharedTargetOutput ¶
type AttachToS2SharedTargetOutput struct {}
type AttachVolumesInput ¶
type AttachVolumesInput struct { Instance *string `json:"instance" name:"instance" location:"params"` // Required Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required }
func (*AttachVolumesInput) Validate ¶
func (v *AttachVolumesInput) Validate() error
type AttachVolumesOutput ¶
type Cache ¶
type Cache struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time"` // CacheClass's available values: 0, 1 CacheClass *int `json:"cache_class" name:"cache_class"` CacheID *string `json:"cache_id" name:"cache_id"` CacheName *string `json:"cache_name" name:"cache_name"` CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id"` CachePort *int `json:"cache_port" name:"cache_port"` CacheSize *int `json:"cache_size" name:"cache_size"` // CacheType's available values: Redis2.8.17, Memcached1.4.13 CacheType *string `json:"cache_type" name:"cache_type"` CacheVersion *string `json:"cache_version" name:"cache_version"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` MasterCount *int `json:"master_count" name:"master_count"` MaxMemory *int `json:"max_memory" name:"max_memory"` NodeCount *int `json:"node_count" name:"node_count"` Nodes []*CacheNode `json:"nodes" name:"nodes"` ReplicateCount *int `json:"replicate_count" name:"replicate_count"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` // Status's available values: pending, active, stopped, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNet *VxNet `json:"vxnet" name:"vxnet"` }
type CacheNode ¶
type CacheNode struct { AlarmStatus *string `json:"alarm_status" name:"alarm_status"` CacheID *string `json:"cache_id" name:"cache_id"` CacheNodeID *string `json:"cache_node_id" name:"cache_node_id"` CacheNodeName *string `json:"cache_node_name" name:"cache_node_name"` // CacheRole's available values: master, slave CacheRole *string `json:"cache_role" name:"cache_role"` CacheType *string `json:"cache_type" name:"cache_type"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` PrivateIP *string `json:"private_ip" name:"private_ip"` Slaveof *string `json:"slaveof" name:"slaveof"` // Status's available values: pending, active, down, suspended Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` // TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting TransitionStatus *string `json:"transition_status" name:"transition_status"` }
type CacheParameter ¶
type CacheParameter struct { CacheParameterName *string `json:"cache_parameter_name" name:"cache_parameter_name"` // Required CacheParameterType *string `json:"cache_parameter_type" name:"cache_parameter_type"` CacheParameterValue *string `json:"cache_parameter_value" name:"cache_parameter_value"` // Required CacheType *string `json:"cache_type" name:"cache_type"` // IsReadonly's available values: 0, 1 IsReadonly *int `json:"is_readonly" name:"is_readonly"` IsStatic *int `json:"is_static" name:"is_static"` OPTName *string `json:"opt_name" name:"opt_name"` ParameterType *string `json:"parameter_type" name:"parameter_type"` ResourceVersion *string `json:"resource_version" name:"resource_version"` ValueRange *string `json:"value_range" name:"value_range"` }
func (*CacheParameter) Validate ¶
func (v *CacheParameter) Validate() error
type CacheParameterGroup ¶
type CacheParameterGroup struct { CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id"` CacheParameterGroupName *string `json:"cache_parameter_group_name" name:"cache_parameter_group_name"` CacheType *string `json:"cache_type" name:"cache_type"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` IsDefault *int `json:"is_default" name:"is_default"` Resources []*Resource `json:"resources" name:"resources"` }
func (*CacheParameterGroup) Validate ¶
func (v *CacheParameterGroup) Validate() error
type CachePrivateIP ¶
type CachePrivateIP struct { CacheNodeID *string `json:"cache_node_id" name:"cache_node_id"` // CacheRole's available values: master, slave CacheRole *string `json:"cache_role" name:"cache_role"` PrivateIPs *string `json:"private_ips" name:"private_ips"` }
func (*CachePrivateIP) Validate ¶
func (v *CachePrivateIP) Validate() error
type CacheService ¶
type CacheService struct { Config *config.Config Properties *CacheServiceProperties }
func (*CacheService) AddCacheNodes ¶
func (s *CacheService) AddCacheNodes(i *AddCacheNodesInput) (*AddCacheNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/add_cache_nodes.html
func (*CacheService) ApplyCacheParameterGroup ¶
func (s *CacheService) ApplyCacheParameterGroup(i *ApplyCacheParameterGroupInput) (*ApplyCacheParameterGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/apply_cache_parameter_group.html
func (*CacheService) ChangeCacheVxNet ¶
func (s *CacheService) ChangeCacheVxNet(i *ChangeCacheVxNetInput) (*ChangeCacheVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/change_cache_vxnet.html
func (*CacheService) CreateCache ¶
func (s *CacheService) CreateCache(i *CreateCacheInput) (*CreateCacheOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/create_cache.html
func (*CacheService) CreateCacheFromSnapshot ¶
func (s *CacheService) CreateCacheFromSnapshot(i *CreateCacheFromSnapshotInput) (*CreateCacheFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/create_cache_from_snapshot.html
func (*CacheService) CreateCacheParameterGroup ¶
func (s *CacheService) CreateCacheParameterGroup(i *CreateCacheParameterGroupInput) (*CreateCacheParameterGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/create_cache_parameter_group.html
func (*CacheService) DeleteCacheNodes ¶
func (s *CacheService) DeleteCacheNodes(i *DeleteCacheNodesInput) (*DeleteCacheNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/delete_cache_nodes.html
func (*CacheService) DeleteCacheParameterGroups ¶
func (s *CacheService) DeleteCacheParameterGroups(i *DeleteCacheParameterGroupsInput) (*DeleteCacheParameterGroupsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/delete_cache_parameter_groups.html
func (*CacheService) DeleteCaches ¶
func (s *CacheService) DeleteCaches(i *DeleteCachesInput) (*DeleteCachesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/delete_caches.html
func (*CacheService) DescribeCacheNodes ¶
func (s *CacheService) DescribeCacheNodes(i *DescribeCacheNodesInput) (*DescribeCacheNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/describe_cache_nodes.html
func (*CacheService) DescribeCacheParameterGroups ¶
func (s *CacheService) DescribeCacheParameterGroups(i *DescribeCacheParameterGroupsInput) (*DescribeCacheParameterGroupsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/describe_cache_parameter_groups.html
func (*CacheService) DescribeCacheParameters ¶
func (s *CacheService) DescribeCacheParameters(i *DescribeCacheParametersInput) (*DescribeCacheParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/describe_cache_parameters.html
func (*CacheService) DescribeCaches ¶
func (s *CacheService) DescribeCaches(i *DescribeCachesInput) (*DescribeCachesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/describe_caches.html
func (*CacheService) GetCacheMonitor ¶
func (s *CacheService) GetCacheMonitor(i *GetCacheMonitorInput) (*GetCacheMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_cache_monitor.html
func (*CacheService) ModifyCacheAttributes ¶
func (s *CacheService) ModifyCacheAttributes(i *ModifyCacheAttributesInput) (*ModifyCacheAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/modify_cache_attributes.html
func (*CacheService) ModifyCacheNodeAttributes ¶
func (s *CacheService) ModifyCacheNodeAttributes(i *ModifyCacheNodeAttributesInput) (*ModifyCacheNodeAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/modify_cache_node_attributes.html
func (*CacheService) ModifyCacheParameterGroupAttributes ¶
func (s *CacheService) ModifyCacheParameterGroupAttributes(i *ModifyCacheParameterGroupAttributesInput) (*ModifyCacheParameterGroupAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/modify_cache_parameter_group_attributes.html
func (*CacheService) ResetCacheParameters ¶
func (s *CacheService) ResetCacheParameters(i *ResetCacheParametersInput) (*ResetCacheParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/reset_cache_parameters.html
func (*CacheService) ResizeCaches ¶
func (s *CacheService) ResizeCaches(i *ResizeCachesInput) (*ResizeCachesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/resize_cache.html
func (*CacheService) RestartCacheNodes ¶
func (s *CacheService) RestartCacheNodes(i *RestartCacheNodesInput) (*RestartCacheNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/restart_cache_nodes.html
func (*CacheService) RestartCaches ¶
func (s *CacheService) RestartCaches(i *RestartCachesInput) (*RestartCachesOutput, error)
RestartCaches: Only available for memcached. Documentation URL: https://docs.qingcloud.com/api/cache/restart_caches.html
func (*CacheService) StartCaches ¶
func (s *CacheService) StartCaches(i *StartCachesInput) (*StartCachesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/start_caches.html
func (*CacheService) StopCaches ¶
func (s *CacheService) StopCaches(i *StopCachesInput) (*StopCachesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/stop_caches.html
func (*CacheService) UpdateCache ¶
func (s *CacheService) UpdateCache(i *UpdateCacheInput) (*UpdateCacheOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/update_cache.html
func (*CacheService) UpdateCacheParameters ¶
func (s *CacheService) UpdateCacheParameters(i *UpdateCacheParametersInput) (*UpdateCacheParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cache/update_cache_parameters.html
type CacheServiceProperties ¶
type CacheServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type CaptureInstanceFromSnapshotInput ¶
type CaptureInstanceFromSnapshotInput struct { ImageName *string `json:"image_name" name:"image_name" location:"params"` Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required }
func (*CaptureInstanceFromSnapshotInput) Validate ¶
func (v *CaptureInstanceFromSnapshotInput) Validate() error
type CaptureInstanceFromSnapshotOutput ¶
type CaptureInstanceFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ImageID *string `json:"image_id" name:"image_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CaptureInstanceInput ¶
type CaptureInstanceInput struct { ImageName *string `json:"image_name" name:"image_name" location:"params"` Instance *string `json:"instance" name:"instance" location:"params"` // Required }
func (*CaptureInstanceInput) Validate ¶
func (v *CaptureInstanceInput) Validate() error
type CaptureInstanceOutput ¶
type CaptureInstanceOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ImageID *string `json:"image_id" name:"image_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CeaseClustersInput ¶
type CeaseClustersInput struct {
Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
}
func (*CeaseClustersInput) Validate ¶
func (v *CeaseClustersInput) Validate() error
type CeaseClustersOutput ¶
type CeaseRDBInstanceInput ¶
type CeaseRDBInstanceInput struct { RDB *string `json:"rdb" name:"rdb" location:"params"` // Required RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required }
func (*CeaseRDBInstanceInput) Validate ¶
func (v *CeaseRDBInstanceInput) Validate() error
type CeaseRDBInstanceOutput ¶
type ChangeCacheVxNetInput ¶
type ChangeCacheVxNetInput struct { Cache *string `json:"cache" name:"cache" location:"params"` // Required PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*ChangeCacheVxNetInput) Validate ¶
func (v *ChangeCacheVxNetInput) Validate() error
type ChangeCacheVxNetOutput ¶
type ChangeCacheVxNetOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheID *string `json:"cache_id" name:"cache_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"` }
type ChangeClusterVxNetInput ¶
type ChangeClusterVxNetInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required PrivateIPs interface{} `json:"private_ips" name:"private_ips" location:"params"` Roles []*string `json:"roles" name:"roles" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*ChangeClusterVxNetInput) Validate ¶
func (v *ChangeClusterVxNetInput) Validate() error
type ChangeClusterVxNetOutput ¶
type ChangeClusterVxNetOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"` }
type ChangeEIPsBandwidthInput ¶
type ChangeEIPsBandwidthInput struct { Bandwidth *int `json:"bandwidth" name:"bandwidth" location:"params"` // Required EIPs []*string `json:"eips" name:"eips" location:"params"` // Required }
func (*ChangeEIPsBandwidthInput) Validate ¶
func (v *ChangeEIPsBandwidthInput) Validate() error
type ChangeEIPsBillingModeInput ¶
type ChangeEIPsBillingModeInput struct { // BillingMode's available values: bandwidth, traffic BillingMode *string `json:"billing_mode" name:"billing_mode" default:"bandwidth" location:"params"` // Required EIPGroup *string `json:"eip_group" name:"eip_group" location:"params"` EIPs []*string `json:"eips" name:"eips" location:"params"` // Required }
func (*ChangeEIPsBillingModeInput) Validate ¶
func (v *ChangeEIPsBillingModeInput) Validate() error
type ChangeMongoVxNetInput ¶
type ChangeMongoVxNetInput struct { Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*ChangeMongoVxNetInput) Validate ¶
func (v *ChangeMongoVxNetInput) Validate() error
type ChangeMongoVxNetOutput ¶
type ChangeMongoVxNetOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ChangeS2ServerVxNetInput ¶
type ChangeS2ServerVxNetInput struct { PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"` S2Server *string `json:"s2_server" name:"s2_server" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*ChangeS2ServerVxNetInput) Validate ¶
func (v *ChangeS2ServerVxNetInput) Validate() error
type Cluster ¶
type Cluster struct { AdvancedActions map[string]*string `json:"advanced_actions" name:"advanced_actions"` AppID *string `json:"app_id" name:"app_id"` AppInfo interface{} `json:"app_info" name:"app_info"` AppVersion *string `json:"app_version" name:"app_version"` AppVersionInfo interface{} `json:"app_version_info" name:"app_version_info"` AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time"` Backup map[string]*bool `json:"backup" name:"backup"` BackupPolicy *string `json:"backup_policy" name:"backup_policy"` BackupService interface{} `json:"backup_service" name:"backup_service"` CfgmgmtID *string `json:"cfgmgmt_id" name:"cfgmgmt_id"` ClusterID *string `json:"cluster_id" name:"cluster_id"` ClusterType *int `json:"cluster_type" name:"cluster_type"` ConsoleID *string `json:"console_id" name:"console_id"` Controller *string `json:"controller" name:"controller"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` CustomService interface{} `json:"custom_service" name:"custom_service"` Debug *bool `json:"debug" name:"debug"` Description *string `json:"description" name:"description"` DisplayTabs interface{} `json:"display_tabs" name:"display_tabs"` Endpoints interface{} `json:"endpoints" name:"endpoints"` GlobalUUID *string `json:"global_uuid" name:"global_uuid"` HealthCheckEnablement map[string]*bool `json:"health_check_enablement" name:"health_check_enablement"` IncrementalBackupSupported *bool `json:"incremental_backup_supported" name:"incremental_backup_supported"` LatestSnapshotTime *string `json:"latest_snapshot_time" name:"latest_snapshot_time"` Links map[string]*string `json:"links" name:"links"` MetadataRootAccess *int `json:"metadata_root_access" name:"metadata_root_access"` Name *string `json:"name" name:"name"` NodeCount *int `json:"node_count" name:"node_count"` Nodes []*ClusterNode `json:"nodes" name:"nodes"` Owner *string `json:"owner" name:"owner"` PartnerAccess *bool `json:"partner_access" name:"partner_access"` RestoreService interface{} `json:"restore_service" name:"restore_service"` ReuseHyper *int `json:"reuse_hyper" name:"reuse_hyper"` RoleCount map[string]*int `json:"role_count" name:"role_count"` Roles []*string `json:"roles" name:"roles"` RootUserID *string `json:"root_user_id" name:"root_user_id"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` TransitionStatus *string `json:"transition_status" name:"transition_status"` UpgradePolicy []*string `json:"upgrade_policy" name:"upgrade_policy"` UpgradeStatus *string `json:"upgrade_status" name:"upgrade_status"` UpgradeTime *time.Time `json:"upgrade_time" name:"upgrade_time" format:"ISO 8601"` VxNet *VxNet `json:"vxnet" name:"vxnet"` }
type ClusterNode ¶
type ClusterNode struct { AdvancedActions *string `json:"advanced_actions" name:"advanced_actions"` AgentInstalled *bool `json:"agent_installed" name:"agent_installed"` AlarmStatus *string `json:"alarm_status" name:"alarm_status"` AppID *string `json:"app_id" name:"app_id"` AppVersion *string `json:"app_version" name:"app_version"` AutoBackup *int `json:"auto_backup" name:"auto_backup"` BackupPolicy *string `json:"backup_policy" name:"backup_policy"` BackupService interface{} `json:"backup_service" name:"backup_service"` ClusterID *string `json:"cluster_id" name:"cluster_id"` ConsoleID *string `json:"console_id" name:"console_id"` Controller *string `json:"controller" name:"controller"` CPU *int `json:"cpu" name:"cpu"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` CustomMetadataScript interface{} `json:"custom_metadata_script" name:"custom_metadata_script"` CustomService interface{} `json:"custom_service" name:"custom_service"` Debug *bool `json:"debug" name:"debug"` DestroyService interface{} `json:"destroy_service" name:"destroy_service"` DisplayTabs interface{} `json:"display_tabs" name:"display_tabs"` EIP *string `json:"eip" name:"eip"` Env *string `json:"env" name:"env"` GlobalServerID *int `json:"global_server_id" name:"global_server_id"` Gpu *int `json:"gpu" name:"gpu"` GpuClass *int `json:"gpu_class" name:"gpu_class"` GroupID *int `json:"group_id" name:"group_id"` HealthCheck interface{} `json:"health_check" name:"health_check"` HealthStatus *string `json:"health_status" name:"health_status"` Hypervisor *string `json:"hypervisor" name:"hypervisor"` ImageID *string `json:"image_id" name:"image_id"` IncrementalBackupSupported *bool `json:"incremental_backup_supported" name:"incremental_backup_supported"` InitService interface{} `json:"init_service" name:"init_service"` InstanceID *string `json:"instance_id" name:"instance_id"` IsBackup *int `json:"is_backup" name:"is_backup"` Memory *int `json:"memory" name:"memory"` Monitor interface{} `json:"monitor" name:"monitor"` Name *string `json:"name" name:"name"` NodeID *string `json:"node_id" name:"node_id"` Owner *string `json:"owner" name:"owner"` Passphraseless *string `json:"passphraseless" name:"passphraseless"` PrivateIP *string `json:"private_ip" name:"private_ip"` Repl *string `json:"repl" name:"repl"` ResourceClass *int `json:"resource_class" name:"resource_class"` RestartService interface{} `json:"restart_service" name:"restart_service"` RestoreService interface{} `json:"restore_service" name:"restore_service"` Role *string `json:"role" name:"role"` RootUserID *string `json:"root_user_id" name:"root_user_id"` ScaleInService interface{} `json:"scale_in_service" name:"scale_in_service"` ScaleOutService interface{} `json:"scale_out_service" name:"scale_out_service"` SecurityGroup *string `json:"security_group" name:"security_group"` ServerID *int `json:"server_id" name:"server_id"` ServerIDUpperBound *int `json:"server_id_upper_bound" name:"server_id_upper_bound"` SingleNodeRepl *string `json:"single_node_repl" name:"single_node_repl"` StartService interface{} `json:"start_service" name:"start_service"` Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` StopService interface{} `json:"stop_service" name:"stop_service"` StorageSize *int `json:"storage_size" name:"storage_size"` TransitionStatus *string `json:"transition_status" name:"transition_status"` UserAccess *int `json:"user_access" name:"user_access"` VerticalScalingPolicy *string `json:"vertical_scaling_policy" name:"vertical_scaling_policy"` VolumeIDs *string `json:"volume_ids" name:"volume_ids"` VolumeType *int `json:"volume_type" name:"volume_type"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
func (*ClusterNode) Validate ¶
func (v *ClusterNode) Validate() error
type ClusterService ¶
type ClusterService struct { Config *config.Config Properties *ClusterServiceProperties }
func (*ClusterService) AddClusterNodes ¶
func (s *ClusterService) AddClusterNodes(i *AddClusterNodesInput) (*AddClusterNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/add_cluster_nodes.html
func (*ClusterService) AssociateEIPToClusterNode ¶
func (s *ClusterService) AssociateEIPToClusterNode(i *AssociateEIPToClusterNodeInput) (*AssociateEIPToClusterNodeOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/associate_eip_to_cluster_node.html
func (*ClusterService) CeaseClusters ¶
func (s *ClusterService) CeaseClusters(i *CeaseClustersInput) (*CeaseClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/cease_clusters.html
func (*ClusterService) ChangeClusterVxNet ¶
func (s *ClusterService) ChangeClusterVxNet(i *ChangeClusterVxNetInput) (*ChangeClusterVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/change_cluster_vxnet.html
func (*ClusterService) CreateCluster ¶
func (s *ClusterService) CreateCluster(i *CreateClusterInput) (*CreateClusterOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/create_cluster.html
func (*ClusterService) CreateClusterFromSnapshot ¶
func (s *ClusterService) CreateClusterFromSnapshot(i *CreateClusterFromSnapshotInput) (*CreateClusterFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/create_cluster_from_snapshot.html
func (*ClusterService) DeleteClusterNodes ¶
func (s *ClusterService) DeleteClusterNodes(i *DeleteClusterNodesInput) (*DeleteClusterNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/delete_cluster_nodes.html
func (*ClusterService) DeleteClusters ¶
func (s *ClusterService) DeleteClusters(i *DeleteClustersInput) (*DeleteClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/delete_clusters.html
func (*ClusterService) DescribeClusterDisplayTabs ¶
func (s *ClusterService) DescribeClusterDisplayTabs(i *DescribeClusterDisplayTabsInput) (*DescribeClusterDisplayTabsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/describe_cluster_display_tabs.html
func (*ClusterService) DescribeClusterNodes ¶
func (s *ClusterService) DescribeClusterNodes(i *DescribeClusterNodesInput) (*DescribeClusterNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/describe_cluster_nodes.html
func (*ClusterService) DescribeClusterUsers ¶
func (s *ClusterService) DescribeClusterUsers(i *DescribeClusterUsersInput) (*DescribeClusterUsersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/describe_cluster_users.html
func (*ClusterService) DescribeClusters ¶
func (s *ClusterService) DescribeClusters(i *DescribeClustersInput) (*DescribeClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/describe_clusters.html
func (*ClusterService) DissociateEIPFromClusterNode ¶
func (s *ClusterService) DissociateEIPFromClusterNode(i *DissociateEIPFromClusterNodeInput) (*DissociateEIPFromClusterNodeOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/dissociate_eip_from_cluster_node.html
func (*ClusterService) ModifyClusterAttributes ¶
func (s *ClusterService) ModifyClusterAttributes(i *ModifyClusterAttributesInput) (*ModifyClusterAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/modify_cluster_attributes.html
func (*ClusterService) ModifyClusterNodeAttributes ¶
func (s *ClusterService) ModifyClusterNodeAttributes(i *ModifyClusterNodeAttributesInput) (*ModifyClusterNodeAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/modify_cluster_node_attributes.html
func (*ClusterService) RecoverClusters ¶
func (s *ClusterService) RecoverClusters(i *RecoverClustersInput) (*RecoverClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/recover_clusters.html
func (*ClusterService) ResizeCluster ¶
func (s *ClusterService) ResizeCluster(i *ResizeClusterInput) (*ResizeClusterOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/resize_cluster.html
func (*ClusterService) RestartClusterService ¶
func (s *ClusterService) RestartClusterService(i *RestartClusterServiceInput) (*RestartClusterServiceOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/restart_cluster_service.html
func (*ClusterService) RestoreClusterFromSnapshot ¶
func (s *ClusterService) RestoreClusterFromSnapshot(i *RestoreClusterFromSnapshotInput) (*RestoreClusterFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/restore_cluster_from_snapshot.html
func (*ClusterService) RunClusterCustomService ¶
func (s *ClusterService) RunClusterCustomService(i *RunClusterCustomServiceInput) (*RunClusterCustomServiceOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/run_cluster_custom_service.html
func (*ClusterService) StartClusters ¶
func (s *ClusterService) StartClusters(i *StartClustersInput) (*StartClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/start_clusters.html
func (*ClusterService) StopClusters ¶
func (s *ClusterService) StopClusters(i *StopClustersInput) (*StopClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/stop_clusters.html
func (*ClusterService) UpdateClusterEnvironment ¶
func (s *ClusterService) UpdateClusterEnvironment(i *UpdateClusterEnvironmentInput) (*UpdateClusterEnvironmentOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/update_cluster_environment.html
func (*ClusterService) UpgradeClusters ¶
func (s *ClusterService) UpgradeClusters(i *UpgradeClustersInput) (*UpgradeClustersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/cluster/upgrade_clusters.html
type ClusterServiceProperties ¶
type ClusterServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type CopyRDBInstanceFilesToFTPInput ¶
type CopyRDBInstanceFilesToFTPInput struct { Files []*string `json:"files" name:"files" location:"params"` // Required RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required }
func (*CopyRDBInstanceFilesToFTPInput) Validate ¶
func (v *CopyRDBInstanceFilesToFTPInput) Validate() error
type CopyRDBInstanceFilesToFTPOutput ¶
type CopyRDBInstanceFilesToFTPOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateCacheFromSnapshotInput ¶
type CreateCacheFromSnapshotInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` // CacheClass's available values: 0, 1 CacheClass *int `json:"cache_class" name:"cache_class" location:"params"` CacheName *string `json:"cache_name" name:"cache_name" location:"params"` CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` CacheSize *int `json:"cache_size" name:"cache_size" location:"params"` CacheType *string `json:"cache_type" name:"cache_type" location:"params"` NetworkType *int `json:"network_type" name:"network_type" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"` Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateCacheFromSnapshotInput) Validate ¶
func (v *CreateCacheFromSnapshotInput) Validate() error
type CreateCacheFromSnapshotOutput ¶
type CreateCacheFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheID *string `json:"cache_id" name:"cache_id" location:"elements"` CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateCacheInput ¶
type CreateCacheInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" default:"-1" location:"params"` // CacheClass's available values: 0, 1 CacheClass *int `json:"cache_class" name:"cache_class" location:"params"` CacheName *string `json:"cache_name" name:"cache_name" location:"params"` CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` CacheSize *int `json:"cache_size" name:"cache_size" location:"params"` // Required CacheType *string `json:"cache_type" name:"cache_type" location:"params"` // Required MasterCount *int `json:"master_count" name:"master_count" location:"params"` NetworkType *int `json:"network_type" name:"network_type" location:"params"` NodeCount *int `json:"node_count" name:"node_count" default:"1" location:"params"` PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"` ReplicateCount *int `json:"replicate_count" name:"replicate_count" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateCacheInput) Validate ¶
func (v *CreateCacheInput) Validate() error
type CreateCacheOutput ¶
type CreateCacheOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheID *string `json:"cache_id" name:"cache_id" location:"elements"` CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateCacheParameterGroupInput ¶
type CreateCacheParameterGroupInput struct { CacheParameterGroupName *string `json:"cache_parameter_group_name" name:"cache_parameter_group_name" location:"params"` // CacheType's available values: redis2.8.17, memcached1.4.13 CacheType *string `json:"cache_type" name:"cache_type" location:"params"` // Required }
func (*CreateCacheParameterGroupInput) Validate ¶
func (v *CreateCacheParameterGroupInput) Validate() error
type CreateCacheParameterGroupOutput ¶
type CreateCacheParameterGroupOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateClusterFromSnapshotInput ¶
type CreateClusterFromSnapshotInput struct { Conf *string `json:"conf" name:"conf" location:"params"` // Required SnapshotID *string `json:"snapshot_id" name:"snapshot_id" location:"params"` // Required }
func (*CreateClusterFromSnapshotInput) Validate ¶
func (v *CreateClusterFromSnapshotInput) Validate() error
type CreateClusterFromSnapshotOutput ¶
type CreateClusterFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` AppID *string `json:"app_id" name:"app_id" location:"elements"` AppVersion *string `json:"app_version" name:"app_version" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` ClusterName *string `json:"cluster_name" name:"cluster_name" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` NodeIDs []*string `json:"node_ids" name:"node_ids" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"` }
type CreateClusterInput ¶
type CreateClusterInput struct {
Conf *string `json:"conf" name:"conf" location:"params"` // Required
}
func (*CreateClusterInput) Validate ¶
func (v *CreateClusterInput) Validate() error
type CreateClusterOutput ¶
type CreateClusterOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` AppID *string `json:"app_id" name:"app_id" location:"elements"` AppVersion *string `json:"app_version" name:"app_version" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` ClusterName *string `json:"cluster_name" name:"cluster_name" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` NodeIDs []*string `json:"node_ids" name:"node_ids" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"` }
type CreateKeyPairInput ¶
type CreateKeyPairInput struct { // EncryptMethod's available values: ssh-rsa, ssh-dss EncryptMethod *string `json:"encrypt_method" name:"encrypt_method" default:"ssh-rsa" location:"params"` KeyPairName *string `json:"keypair_name" name:"keypair_name" location:"params"` // Mode's available values: system, user Mode *string `json:"mode" name:"mode" default:"system" location:"params"` PublicKey *string `json:"public_key" name:"public_key" location:"params"` }
func (*CreateKeyPairInput) Validate ¶
func (v *CreateKeyPairInput) Validate() error
type CreateKeyPairOutput ¶
type CreateKeyPairOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` KeyPairID *string `json:"keypair_id" name:"keypair_id" location:"elements"` PrivateKey *string `json:"private_key" name:"private_key" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateLoadBalancerInput ¶
type CreateLoadBalancerInput struct { EIPs []*string `json:"eips" name:"eips" location:"params"` HTTPHeaderSize *int `json:"http_header_size" name:"http_header_size" location:"params"` LoadBalancerName *string `json:"loadbalancer_name" name:"loadbalancer_name" location:"params"` // LoadBalancerType's available values: 0, 1, 2, 3, 4, 5 LoadBalancerType *int `json:"loadbalancer_type" name:"loadbalancer_type" default:"0" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*CreateLoadBalancerInput) Validate ¶
func (v *CreateLoadBalancerInput) Validate() error
type CreateLoadBalancerOutput ¶
type CreateLoadBalancerOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` LoadBalancerID *string `json:"loadbalancer_id" name:"loadbalancer_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateLoadBalancerPolicyInput ¶
type CreateLoadBalancerPolicyInput struct { LoadBalancerPolicyName *string `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name" location:"params"` // Required // Operator's available values: or, and Operator *string `json:"operator" name:"operator" default:"or" location:"params"` }
func (*CreateLoadBalancerPolicyInput) Validate ¶
func (v *CreateLoadBalancerPolicyInput) Validate() error
type CreateLoadBalancerPolicyOutput ¶
type CreateLoadBalancerPolicyOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateMongoFromSnapshotInput ¶
type CreateMongoFromSnapshotInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` MongoName *string `json:"mongo_name" name:"mongo_name" location:"params"` MongoType *int `json:"mongo_type" name:"mongo_type" location:"params"` MongoVersion *int `json:"mongo_version" name:"mongo_version" location:"params"` ResourceClass *int `json:"resource_class" name:"resource_class" location:"params"` Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*CreateMongoFromSnapshotInput) Validate ¶
func (v *CreateMongoFromSnapshotInput) Validate() error
type CreateMongoFromSnapshotOutput ¶
type CreateMongoFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateMongoInput ¶
type CreateMongoInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` Description *string `json:"description" name:"description" location:"params"` MongoName *string `json:"mongo_name" name:"mongo_name" location:"params"` MongoPassword *string `json:"mongo_password" name:"mongo_password" location:"params"` MongoType *int `json:"mongo_type" name:"mongo_type" location:"params"` // Required MongoUsername *string `json:"mongo_username" name:"mongo_username" location:"params"` MongoVersion *string `json:"mongo_version" name:"mongo_version" location:"params"` PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"` ResourceClass *int `json:"resource_class" name:"resource_class" location:"params"` StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateMongoInput) Validate ¶
func (v *CreateMongoInput) Validate() error
type CreateMongoOutput ¶
type CreateMongoOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateNicsInput ¶
type CreateNicsInput struct { Count *int `json:"count" name:"count" default:"1" location:"params"` NICName *string `json:"nic_name" name:"nic_name" location:"params"` PrivateIPs []*string `json:"private_ips" name:"private_ips" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateNicsInput) Validate ¶
func (v *CreateNicsInput) Validate() error
type CreateNicsOutput ¶
type CreateRDBFromSnapshotInput ¶
type CreateRDBFromSnapshotInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` Description *string `json:"description" name:"description" location:"params"` // EngineVersion's available values: mysql,5.5, mysql,5.6, mysql,5.7, psql,9.3, psql,9.4 EngineVersion *string `json:"engine_version" name:"engine_version" default:"mysql,5.7" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIPs []*RDBPrivateIP `json:"private_ips" name:"private_ips" location:"params"` ProxyCount *int `json:"proxy_count" name:"proxy_count" location:"params"` // RDBEngine's available values: mysql, psql RDBEngine *string `json:"rdb_engine" name:"rdb_engine" default:"mysql" location:"params"` RDBName *string `json:"rdb_name" name:"rdb_name" location:"params"` // RDBType's available values: 1, 2, 4, 8, 16, 32 RDBType *int `json:"rdb_type" name:"rdb_type" location:"params"` // Required Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateRDBFromSnapshotInput) Validate ¶
func (v *CreateRDBFromSnapshotInput) Validate() error
type CreateRDBFromSnapshotOutput ¶
type CreateRDBFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDB *string `json:"rdb" name:"rdb" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateRDBInput ¶
type CreateRDBInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` Description *string `json:"description" name:"description" location:"params"` // EngineVersion's available values: mysql,5.5, mysql,5.6, mysql,5.7, psql,9.3, psql,9.4 EngineVersion *string `json:"engine_version" name:"engine_version" default:"mysql,5.7" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIPs []*RDBPrivateIP `json:"private_ips" name:"private_ips" location:"params"` ProxyCount *int `json:"proxy_count" name:"proxy_count" location:"params"` RDBClass *int `json:"rdb_class" name:"rdb_class" location:"params"` // RDBEngine's available values: mysql, psql RDBEngine *string `json:"rdb_engine" name:"rdb_engine" default:"mysql" location:"params"` RDBName *string `json:"rdb_name" name:"rdb_name" location:"params"` RDBPassword *string `json:"rdb_password" name:"rdb_password" location:"params"` // Required // RDBType's available values: 1, 2, 4, 8, 16, 32 RDBType *int `json:"rdb_type" name:"rdb_type" location:"params"` // Required RDBUsername *string `json:"rdb_username" name:"rdb_username" location:"params"` // Required StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*CreateRDBInput) Validate ¶
func (v *CreateRDBInput) Validate() error
type CreateRDBOutput ¶
type CreateRDBOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDB *string `json:"rdb" name:"rdb" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateRoutersInput ¶
type CreateRoutersInput struct { Count *int `json:"count" name:"count" default:"1" location:"params"` RouterName *string `json:"router_name" name:"router_name" location:"params"` // RouterType's available values: 0, 1, 2, 3 RouterType *int `json:"router_type" name:"router_type" default:"1" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` VpcNetwork *string `json:"vpc_network" name:"vpc_network" location:"params"` }
func (*CreateRoutersInput) Validate ¶
func (v *CreateRoutersInput) Validate() error
type CreateRoutersOutput ¶
type CreateRoutersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Routers []*string `json:"routers" name:"routers" location:"elements"` }
type CreateS2ServerInput ¶
type CreateS2ServerInput struct { Description *string `json:"description" name:"description" location:"params"` PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"` // S2Class's available values: 0, 1 S2Class *int `json:"s2_class" name:"s2_class" location:"params"` S2ServerName *string `json:"s2_server_name" name:"s2_server_name" location:"params"` ServiceType *string `json:"service_type" name:"service_type" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*CreateS2ServerInput) Validate ¶
func (v *CreateS2ServerInput) Validate() error
type CreateS2ServerOutput ¶
type CreateS2ServerOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` S2Server *string `json:"s2_server" name:"s2_server" location:"elements"` }
type CreateS2SharedTargetInput ¶
type CreateS2SharedTargetInput struct { // TargetType's available values: ISCSI, NFS }
func (*CreateS2SharedTargetInput) Validate ¶
func (v *CreateS2SharedTargetInput) Validate() error
type CreateS2SharedTargetOutput ¶
type CreateS2SharedTargetOutput struct {}
type CreateSecurityGroupIPSetInput ¶
type CreateSecurityGroupIPSetInput struct { // IPSetType's available values: 0, 1 IPSetType *int `json:"ipset_type" name:"ipset_type" location:"params"` // Required SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"` Val *string `json:"val" name:"val" location:"params"` // Required }
func (*CreateSecurityGroupIPSetInput) Validate ¶
func (v *CreateSecurityGroupIPSetInput) Validate() error
type CreateSecurityGroupIPSetOutput ¶
type CreateSecurityGroupIPSetOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupIPSetID *string `json:"security_group_ipset_id" name:"security_group_ipset_id" location:"elements"` }
type CreateSecurityGroupInput ¶
type CreateSecurityGroupInput struct {
SecurityGroupName *string `json:"security_group_name" name:"security_group_name" location:"params"`
}
func (*CreateSecurityGroupInput) Validate ¶
func (v *CreateSecurityGroupInput) Validate() error
type CreateSecurityGroupOutput ¶
type CreateSecurityGroupOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"` }
type CreateSecurityGroupSnapshotInput ¶
type CreateSecurityGroupSnapshotInput struct { Name *string `json:"name" name:"name" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required }
func (*CreateSecurityGroupSnapshotInput) Validate ¶
func (v *CreateSecurityGroupSnapshotInput) Validate() error
type CreateSecurityGroupSnapshotOutput ¶
type CreateSecurityGroupSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"` SecurityGroupSnapshotID *string `json:"security_group_snapshot_id" name:"security_group_snapshot_id" location:"elements"` }
type CreateServerCertificateInput ¶
type CreateServerCertificateInput struct { CertificateContent *string `json:"certificate_content" name:"certificate_content" location:"params"` // Required PrivateKey *string `json:"private_key" name:"private_key" location:"params"` // Required ServerCertificateName *string `json:"server_certificate_name" name:"server_certificate_name" location:"params"` }
func (*CreateServerCertificateInput) Validate ¶
func (v *CreateServerCertificateInput) Validate() error
type CreateServerCertificateOutput ¶
type CreateServerCertificateOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` ServerCertificateID *string `json:"server_certificate_id" name:"server_certificate_id" location:"elements"` }
type CreateSnapshotsInput ¶
type CreateSnapshotsInput struct { // IsFull's available values: 0, 1 IsFull *int `json:"is_full" name:"is_full" location:"params"` Resources []*string `json:"resources" name:"resources" location:"params"` // Required ServiceParams *string `json:"service_params" name:"service_params" location:"params"` SnapshotName *string `json:"snapshot_name" name:"snapshot_name" location:"params"` }
func (*CreateSnapshotsInput) Validate ¶
func (v *CreateSnapshotsInput) Validate() error
type CreateSnapshotsOutput ¶
type CreateSnapshotsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Snapshots []*string `json:"snapshots" name:"snapshots" location:"elements"` }
type CreateTagInput ¶
type CreateTagInput struct { Color *string `json:"color" name:"color" location:"params"` TagName *string `json:"tag_name" name:"tag_name" location:"params"` }
func (*CreateTagInput) Validate ¶
func (v *CreateTagInput) Validate() error
type CreateTagOutput ¶
type CreateTempRDBInstanceFromSnapshotInput ¶
type CreateTempRDBInstanceFromSnapshotInput struct { RDB *string `json:"rdb" name:"rdb" location:"params"` // Required Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required }
func (*CreateTempRDBInstanceFromSnapshotInput) Validate ¶
func (v *CreateTempRDBInstanceFromSnapshotInput) Validate() error
type CreateTempRDBInstanceFromSnapshotOutput ¶
type CreateTempRDBInstanceFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDB *string `json:"rdb" name:"rdb" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type CreateVolumeFromSnapshotInput ¶
type CreateVolumeFromSnapshotInput struct { Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required VolumeName *string `json:"volume_name" name:"volume_name" location:"params"` }
func (*CreateVolumeFromSnapshotInput) Validate ¶
func (v *CreateVolumeFromSnapshotInput) Validate() error
type CreateVolumeFromSnapshotOutput ¶
type CreateVolumeFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VolumeID *string `json:"volume_id" name:"volume_id" location:"elements"` }
type CreateVolumesInput ¶
type CreateVolumesInput struct { Count *int `json:"count" name:"count" default:"1" location:"params"` Size *int `json:"size" name:"size" location:"params"` // Required VolumeName *string `json:"volume_name" name:"volume_name" location:"params"` // VolumeType's available values: 0, 1, 2, 3 VolumeType *int `json:"volume_type" name:"volume_type" default:"0" location:"params"` }
func (*CreateVolumesInput) Validate ¶
func (v *CreateVolumesInput) Validate() error
type CreateVolumesOutput ¶
type CreateVolumesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Volumes []*string `json:"volumes" name:"volumes" location:"elements"` }
type CreateVxNetsInput ¶
type CreateVxNetsInput struct { Count *int `json:"count" name:"count" default:"1" location:"params"` VxNetName *string `json:"vxnet_name" name:"vxnet_name" location:"params"` // VxNetType's available values: 0, 1 VxNetType *int `json:"vxnet_type" name:"vxnet_type" location:"params"` // Required }
func (*CreateVxNetsInput) Validate ¶
func (v *CreateVxNetsInput) Validate() error
type CreateVxNetsOutput ¶
type DHCPOption ¶
type DHCPOption struct { RouterStaticID *string `json:"router_static_id" name:"router_static_id"` Val2 *string `json:"val2" name:"val2"` }
func (*DHCPOption) Validate ¶
func (v *DHCPOption) Validate() error
type DNSAlias ¶
type DNSAlias struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` DNSAliasID *string `json:"dns_alias_id" name:"dns_alias_id"` DNSAliasName *string `json:"dns_alias_name" name:"dns_alias_name"` DomainName *string `json:"domain_name" name:"domain_name"` ResourceID *string `json:"resource_id" name:"resource_id"` Status *string `json:"status" name:"status"` }
type DNSAliasService ¶
type DNSAliasService struct { Config *config.Config Properties *DNSAliasServiceProperties }
func (*DNSAliasService) AssociateDNSAlias ¶
func (s *DNSAliasService) AssociateDNSAlias(i *AssociateDNSAliasInput) (*AssociateDNSAliasOutput, error)
Documentation URL: https://docs.qingcloud.com/api/dns_alias/associate_dns_alias.html
func (*DNSAliasService) DescribeDNSAliases ¶
func (s *DNSAliasService) DescribeDNSAliases(i *DescribeDNSAliasesInput) (*DescribeDNSAliasesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/dns_alias/describe_dns_aliases.html
func (*DNSAliasService) DissociateDNSAliases ¶
func (s *DNSAliasService) DissociateDNSAliases(i *DissociateDNSAliasesInput) (*DissociateDNSAliasesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/dns_alias/dissociate_dns_aliases.html
func (*DNSAliasService) GetDNSLabel ¶
func (s *DNSAliasService) GetDNSLabel(i *GetDNSLabelInput) (*GetDNSLabelOutput, error)
Documentation URL: https://docs.qingcloud.com/api/dns_alias/get_dns_label.html
type DNSAliasServiceProperties ¶
type DNSAliasServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type Data ¶
type DeleteCacheNodesInput ¶
type DeleteCacheNodesInput struct { Cache *string `json:"cache" name:"cache" location:"params"` // Required CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"` // Required }
func (*DeleteCacheNodesInput) Validate ¶
func (v *DeleteCacheNodesInput) Validate() error
type DeleteCacheNodesOutput ¶
type DeleteCacheNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteCacheParameterGroupsInput ¶
type DeleteCacheParameterGroupsInput struct {
CacheParameterGroups []*string `json:"cache_parameter_groups" name:"cache_parameter_groups" location:"params"` // Required
}
func (*DeleteCacheParameterGroupsInput) Validate ¶
func (v *DeleteCacheParameterGroupsInput) Validate() error
type DeleteCacheParameterGroupsOutput ¶
type DeleteCacheParameterGroupsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ParameterGroups []*string `json:"parameter_groups" name:"parameter_groups" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteCachesInput ¶
type DeleteCachesInput struct {
Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}
func (*DeleteCachesInput) Validate ¶
func (v *DeleteCachesInput) Validate() error
type DeleteCachesOutput ¶
type DeleteCachesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteClusterNodesInput ¶
type DeleteClusterNodesInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required Force *int `json:"force" name:"force" location:"params"` Nodes []*string `json:"nodes" name:"nodes" location:"params"` // Required }
func (*DeleteClusterNodesInput) Validate ¶
func (v *DeleteClusterNodesInput) Validate() error
type DeleteClusterNodesOutput ¶
type DeleteClusterNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` DeletedNodeIDs []*string `json:"deleted_node_ids" name:"deleted_node_ids" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteClustersInput ¶
type DeleteClustersInput struct { Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required Force *int `json:"force" name:"force" location:"params"` }
func (*DeleteClustersInput) Validate ¶
func (v *DeleteClustersInput) Validate() error
type DeleteClustersOutput ¶
type DeleteImagesInput ¶
type DeleteImagesInput struct {
Images []*string `json:"images" name:"images" location:"params"` // Required
}
func (*DeleteImagesInput) Validate ¶
func (v *DeleteImagesInput) Validate() error
type DeleteImagesOutput ¶
type DeleteKeyPairsInput ¶
type DeleteKeyPairsInput struct {
KeyPairs []*string `json:"keypairs" name:"keypairs" location:"params"` // Required
}
func (*DeleteKeyPairsInput) Validate ¶
func (v *DeleteKeyPairsInput) Validate() error
type DeleteKeyPairsOutput ¶
type DeleteLoadBalancerBackendsInput ¶
type DeleteLoadBalancerBackendsInput struct {
LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"params"` // Required
}
func (*DeleteLoadBalancerBackendsInput) Validate ¶
func (v *DeleteLoadBalancerBackendsInput) Validate() error
type DeleteLoadBalancerBackendsOutput ¶
type DeleteLoadBalancerBackendsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerBackends []*string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteLoadBalancerListenersInput ¶
type DeleteLoadBalancerListenersInput struct {
LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"params"` // Required
}
func (*DeleteLoadBalancerListenersInput) Validate ¶
func (v *DeleteLoadBalancerListenersInput) Validate() error
type DeleteLoadBalancerListenersOutput ¶
type DeleteLoadBalancerListenersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteLoadBalancerPoliciesInput ¶
type DeleteLoadBalancerPoliciesInput struct {
LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"params"` // Required
}
func (*DeleteLoadBalancerPoliciesInput) Validate ¶
func (v *DeleteLoadBalancerPoliciesInput) Validate() error
type DeleteLoadBalancerPoliciesOutput ¶
type DeleteLoadBalancerPoliciesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteLoadBalancerPolicyRulesInput ¶
type DeleteLoadBalancerPolicyRulesInput struct {
LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"params"` // Required
}
func (*DeleteLoadBalancerPolicyRulesInput) Validate ¶
func (v *DeleteLoadBalancerPolicyRulesInput) Validate() error
type DeleteLoadBalancerPolicyRulesOutput ¶
type DeleteLoadBalancerPolicyRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteLoadBalancersInput ¶
type DeleteLoadBalancersInput struct {
LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}
func (*DeleteLoadBalancersInput) Validate ¶
func (v *DeleteLoadBalancersInput) Validate() error
type DeleteLoadBalancersOutput ¶
type DeleteLoadBalancersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteMongosInput ¶
type DeleteMongosInput struct {
Mongos []*string `json:"mongos" name:"mongos" location:"params"` // Required
}
func (*DeleteMongosInput) Validate ¶
func (v *DeleteMongosInput) Validate() error
type DeleteMongosOutput ¶
type DeleteMongosOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongos []*string `json:"mongos" name:"mongos" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteNicsInput ¶
type DeleteNicsInput struct {
Nics []*string `json:"nics" name:"nics" location:"params"` // Required
}
func (*DeleteNicsInput) Validate ¶
func (v *DeleteNicsInput) Validate() error
type DeleteNicsOutput ¶
type DeleteRDBsInput ¶
type DeleteRDBsInput struct {
RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}
func (*DeleteRDBsInput) Validate ¶
func (v *DeleteRDBsInput) Validate() error
type DeleteRDBsOutput ¶
type DeleteRDBsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBs []*string `json:"rdbs" name:"rdbs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DeleteRouterStaticEntriesInput ¶
type DeleteRouterStaticEntriesInput struct {
RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"params"` // Required
}
func (*DeleteRouterStaticEntriesInput) Validate ¶
func (v *DeleteRouterStaticEntriesInput) Validate() error
type DeleteRouterStaticEntriesOutput ¶
type DeleteRouterStaticEntriesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticEntries []*string `json:"router_static_entries" name:"router_static_entries" location:"elements"` }
type DeleteRouterStaticsInput ¶
type DeleteRouterStaticsInput struct {
RouterStatics []*string `json:"router_statics" name:"router_statics" location:"params"` // Required
}
func (*DeleteRouterStaticsInput) Validate ¶
func (v *DeleteRouterStaticsInput) Validate() error
type DeleteRouterStaticsOutput ¶
type DeleteRouterStaticsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStatics []*string `json:"router_statics" name:"router_statics" location:"elements"` }
type DeleteRoutersInput ¶
type DeleteRoutersInput struct {
Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}
func (*DeleteRoutersInput) Validate ¶
func (v *DeleteRoutersInput) Validate() error
type DeleteRoutersOutput ¶
type DeleteRoutersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Routers []*string `json:"routers" name:"routers" location:"elements"` }
type DeleteS2ServersInput ¶
type DeleteS2ServersInput struct {
S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}
func (*DeleteS2ServersInput) Validate ¶
func (v *DeleteS2ServersInput) Validate() error
type DeleteS2ServersOutput ¶
type DeleteS2ServersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"elements"` }
type DeleteS2SharedTargetsInput ¶
type DeleteS2SharedTargetsInput struct {
}func (*DeleteS2SharedTargetsInput) Validate ¶
func (v *DeleteS2SharedTargetsInput) Validate() error
type DeleteS2SharedTargetsOutput ¶
type DeleteS2SharedTargetsOutput struct {}
type DeleteSecurityGroupIPSetsInput ¶
type DeleteSecurityGroupIPSetsInput struct {
SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"params"` // Required
}
func (*DeleteSecurityGroupIPSetsInput) Validate ¶
func (v *DeleteSecurityGroupIPSetsInput) Validate() error
type DeleteSecurityGroupIPSetsOutput ¶
type DeleteSecurityGroupIPSetsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"elements"` }
type DeleteSecurityGroupRulesInput ¶
type DeleteSecurityGroupRulesInput struct {
SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"params"` // Required
}
func (*DeleteSecurityGroupRulesInput) Validate ¶
func (v *DeleteSecurityGroupRulesInput) Validate() error
type DeleteSecurityGroupRulesOutput ¶
type DeleteSecurityGroupRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"elements"` }
type DeleteSecurityGroupSnapshotsInput ¶
type DeleteSecurityGroupSnapshotsInput struct {
SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"params"` // Required
}
func (*DeleteSecurityGroupSnapshotsInput) Validate ¶
func (v *DeleteSecurityGroupSnapshotsInput) Validate() error
type DeleteSecurityGroupSnapshotsOutput ¶
type DeleteSecurityGroupSnapshotsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"elements"` }
type DeleteSecurityGroupsInput ¶
type DeleteSecurityGroupsInput struct {
SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"params"` // Required
}
func (*DeleteSecurityGroupsInput) Validate ¶
func (v *DeleteSecurityGroupsInput) Validate() error
type DeleteSecurityGroupsOutput ¶
type DeleteSecurityGroupsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"elements"` }
type DeleteServerCertificatesInput ¶
type DeleteServerCertificatesInput struct {
ServerCertificates []*string `json:"server_certificates" name:"server_certificates" location:"params"` // Required
}
func (*DeleteServerCertificatesInput) Validate ¶
func (v *DeleteServerCertificatesInput) Validate() error
type DeleteServerCertificatesOutput ¶
type DeleteServerCertificatesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` ServerCertificates []*string `json:"server_certificates" name:"server_certificates" location:"elements"` }
type DeleteSnapshotsInput ¶
type DeleteSnapshotsInput struct {
Snapshots []*string `json:"snapshots" name:"snapshots" location:"params"` // Required
}
func (*DeleteSnapshotsInput) Validate ¶
func (v *DeleteSnapshotsInput) Validate() error
type DeleteSnapshotsOutput ¶
type DeleteTagsInput ¶
type DeleteTagsInput struct {
Tags []*string `json:"tags" name:"tags" location:"params"` // Required
}
func (*DeleteTagsInput) Validate ¶
func (v *DeleteTagsInput) Validate() error
type DeleteTagsOutput ¶
type DeleteVolumesInput ¶
type DeleteVolumesInput struct {
Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required
}
func (*DeleteVolumesInput) Validate ¶
func (v *DeleteVolumesInput) Validate() error
type DeleteVolumesOutput ¶
type DeleteVxNetsInput ¶
type DeleteVxNetsInput struct {
VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` // Required
}
func (*DeleteVxNetsInput) Validate ¶
func (v *DeleteVxNetsInput) Validate() error
type DeleteVxNetsOutput ¶
type DescribeCacheNodesInput ¶
type DescribeCacheNodesInput struct { Cache *string `json:"cache" name:"cache" location:"params"` CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeCacheNodesInput) Validate ¶
func (v *DescribeCacheNodesInput) Validate() error
type DescribeCacheNodesOutput ¶
type DescribeCacheNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheNodeSet []*CacheNode `json:"cache_node_set" name:"cache_node_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeCacheParameterGroupsInput ¶
type DescribeCacheParameterGroupsInput struct { CacheParameterGroups []*string `json:"cache_parameter_groups" name:"cache_parameter_groups" location:"params"` CacheType *string `json:"cache_type" name:"cache_type" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeCacheParameterGroupsInput) Validate ¶
func (v *DescribeCacheParameterGroupsInput) Validate() error
type DescribeCacheParameterGroupsOutput ¶
type DescribeCacheParameterGroupsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheParameterGroupSet []*CacheParameterGroup `json:"cache_parameter_group_set" name:"cache_parameter_group_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeCacheParametersInput ¶
type DescribeCacheParametersInput struct { CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeCacheParametersInput) Validate ¶
func (v *DescribeCacheParametersInput) Validate() error
type DescribeCacheParametersOutput ¶
type DescribeCacheParametersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheParameterSet []*CacheParameter `json:"cache_parameter_set" name:"cache_parameter_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeCachesInput ¶
type DescribeCachesInput struct { CacheType []*string `json:"cache_type" name:"cache_type" location:"params"` Caches []*string `json:"caches" name:"caches" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeCachesInput) Validate ¶
func (v *DescribeCachesInput) Validate() error
type DescribeCachesOutput ¶
type DescribeCachesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheSet []*Cache `json:"cache_set" name:"cache_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeClusterDisplayTabsInput ¶
type DescribeClusterDisplayTabsInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required DisplayTabs *string `json:"display_tabs" name:"display_tabs" location:"params"` // Required Role *string `json:"role" name:"role" location:"params"` }
func (*DescribeClusterDisplayTabsInput) Validate ¶
func (v *DescribeClusterDisplayTabsInput) Validate() error
type DescribeClusterDisplayTabsOutput ¶
type DescribeClusterDisplayTabsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` DisplayTabs map[string]*string `json:"display_tabs" name:"display_tabs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DescribeClusterNodesInput ¶
type DescribeClusterNodesInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` Console *string `json:"console" name:"console" location:"params"` Limit *int `json:"limit" name:"limit" location:"params"` Nodes []*string `json:"nodes" name:"nodes" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` Owner *string `json:"owner" name:"owner" location:"params"` Reverse *int `json:"reverse" name:"reverse" location:"params"` Role *string `json:"role" name:"role" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` SortKey *string `json:"sort_key" name:"sort_key" location:"params"` Status *string `json:"status" name:"status" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeClusterNodesInput) Validate ¶
func (v *DescribeClusterNodesInput) Validate() error
type DescribeClusterNodesOutput ¶
type DescribeClusterNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` NodeSet []*ClusterNode `json:"node_set" name:"node_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeClusterUsersInput ¶
type DescribeClusterUsersInput struct { AppVersions []*string `json:"app_versions" name:"app_versions" location:"params"` Apps []*string `json:"apps" name:"apps" location:"params"` // Required ClusterStatus []*string `json:"cluster_status" name:"cluster_status" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Users []*string `json:"users" name:"users" location:"params"` Zones []*string `json:"zones" name:"zones" location:"params"` // Required }
func (*DescribeClusterUsersInput) Validate ¶
func (v *DescribeClusterUsersInput) Validate() error
type DescribeClusterUsersOutput ¶
type DescribeClusterUsersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` Apps []*string `json:"apps" name:"apps" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Users map[string]*string `json:"users" name:"users" location:"elements"` }
type DescribeClustersInput ¶
type DescribeClustersInput struct { AppVersions []*string `json:"app_versions" name:"app_versions" location:"params"` Apps []*string `json:"apps" name:"apps" location:"params"` CfgmgmtID *string `json:"cfgmgmt_id" name:"cfgmgmt_id" location:"params"` Clusters []*string `json:"clusters" name:"clusters" location:"params"` Console *string `json:"console" name:"console" location:"params"` ExternalClusterID *string `json:"external_cluster_id" name:"external_cluster_id" location:"params"` Limit *int `json:"limit" name:"limit" location:"params"` Link *string `json:"link" name:"link" location:"params"` Name *string `json:"name" name:"name" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` Owner *string `json:"owner" name:"owner" location:"params"` Reverse *int `json:"reverse" name:"reverse" location:"params"` Role *string `json:"role" name:"role" location:"params"` // Scope's available values: all, cfgmgmt Scope *string `json:"scope" name:"scope" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` SortKey *string `json:"sort_key" name:"sort_key" location:"params"` Status *string `json:"status" name:"status" location:"params"` TransitionStatus *string `json:"transition_status" name:"transition_status" location:"params"` Users []*string `json:"users" name:"users" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*DescribeClustersInput) Validate ¶
func (v *DescribeClustersInput) Validate() error
type DescribeClustersOutput ¶
type DescribeClustersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterSet []*Cluster `json:"cluster_set" name:"cluster_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeDNSAliasesInput ¶
type DescribeDNSAliasesInput struct { DNSAliases []*string `json:"dns_aliases" name:"dns_aliases" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` ResourceID *string `json:"resource_id" name:"resource_id" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` }
func (*DescribeDNSAliasesInput) Validate ¶
func (v *DescribeDNSAliasesInput) Validate() error
type DescribeDNSAliasesOutput ¶
type DescribeDNSAliasesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` DNSAliasSet []*DNSAlias `json:"dns_alias_set" name:"dns_alias_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeEIPsInput ¶
type DescribeEIPsInput struct { EIPs []*string `json:"eips" name:"eips" location:"params"` InstanceID *string `json:"instance_id" name:"instance_id" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeEIPsInput) Validate ¶
func (v *DescribeEIPsInput) Validate() error
type DescribeEIPsOutput ¶
type DescribeEIPsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` EIPSet []*EIP `json:"eip_set" name:"eip_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeImageUsersInput ¶
type DescribeImageUsersInput struct { ImageID *string `json:"image_id" name:"image_id" location:"params"` // Required Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` }
func (*DescribeImageUsersInput) Validate ¶
func (v *DescribeImageUsersInput) Validate() error
type DescribeImageUsersOutput ¶
type DescribeImageUsersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ImageUserSet []*ImageUser `json:"image_user_set" name:"image_user_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeImagesInput ¶
type DescribeImagesInput struct { Images []*string `json:"images" name:"images" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` OSFamily *string `json:"os_family" name:"os_family" location:"params"` // ProcessorType's available values: 64bit, 32bit ProcessorType *string `json:"processor_type" name:"processor_type" location:"params"` // Provider's available values: system, self Provider *string `json:"provider" name:"provider" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` // Verbose's available values: 0 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` // Visibility's available values: public, private Visibility *string `json:"visibility" name:"visibility" location:"params"` }
func (*DescribeImagesInput) Validate ¶
func (v *DescribeImagesInput) Validate() error
type DescribeImagesOutput ¶
type DescribeImagesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ImageSet []*Image `json:"image_set" name:"image_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeInstanceTypesInput ¶
type DescribeInstanceTypesInput struct {
InstanceTypes []*string `json:"instance_types" name:"instance_types" location:"params"`
}
func (*DescribeInstanceTypesInput) Validate ¶
func (v *DescribeInstanceTypesInput) Validate() error
type DescribeInstanceTypesOutput ¶
type DescribeInstanceTypesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` InstanceTypeSet []*InstanceType `json:"instance_type_set" name:"instance_type_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeInstancesInput ¶
type DescribeInstancesInput struct { ImageID []*string `json:"image_id" name:"image_id" location:"params"` // InstanceClass's available values: 0, 1 InstanceClass *int `json:"instance_class" name:"instance_class" location:"params"` InstanceType []*string `json:"instance_type" name:"instance_type" location:"params"` Instances []*string `json:"instances" name:"instances" location:"params"` IsClusterNode *int `json:"is_cluster_node" name:"is_cluster_node" default:"0" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeInstancesInput) Validate ¶
func (v *DescribeInstancesInput) Validate() error
type DescribeInstancesOutput ¶
type DescribeInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` InstanceSet []*Instance `json:"instance_set" name:"instance_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeJobsInput ¶
type DescribeJobsInput struct { Jobs []*string `json:"jobs" name:"jobs" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Status []*string `json:"status" name:"status" location:"params"` // Verbose's available values: 0 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeJobsInput) Validate ¶
func (v *DescribeJobsInput) Validate() error
type DescribeJobsOutput ¶
type DescribeJobsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobSet []*Job `json:"job_set" name:"job_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeKeyPairsInput ¶
type DescribeKeyPairsInput struct { // EncryptMethod's available values: ssh-rsa, ssh-dss EncryptMethod *string `json:"encrypt_method" name:"encrypt_method" location:"params"` InstanceID *string `json:"instance_id" name:"instance_id" location:"params"` KeyPairs []*string `json:"keypairs" name:"keypairs" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeKeyPairsInput) Validate ¶
func (v *DescribeKeyPairsInput) Validate() error
type DescribeKeyPairsOutput ¶
type DescribeKeyPairsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` KeyPairSet []*KeyPair `json:"keypair_set" name:"keypair_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeLoadBalancerBackendsInput ¶
type DescribeLoadBalancerBackendsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` LoadBalancerBackends *string `json:"loadbalancer_backends" name:"loadbalancer_backends" location:"params"` LoadBalancerListener *string `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeLoadBalancerBackendsInput) Validate ¶
func (v *DescribeLoadBalancerBackendsInput) Validate() error
type DescribeLoadBalancerBackendsOutput ¶
type DescribeLoadBalancerBackendsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerBackendSet []*LoadBalancerBackend `json:"loadbalancer_backend_set" name:"loadbalancer_backend_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DescribeLoadBalancerListenersInput ¶
type DescribeLoadBalancerListenersInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` LoadBalancerListeners []*string `json:"loadbalancer_listeners" name:"loadbalancer_listeners" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeLoadBalancerListenersInput) Validate ¶
func (v *DescribeLoadBalancerListenersInput) Validate() error
type DescribeLoadBalancerListenersOutput ¶
type DescribeLoadBalancerListenersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerListenerSet []*LoadBalancerListener `json:"loadbalancer_listener_set" name:"loadbalancer_listener_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeLoadBalancerPoliciesInput ¶
type DescribeLoadBalancerPoliciesInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` LoadBalancerPolicies []*string `json:"loadbalancer_policies" name:"loadbalancer_policies" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeLoadBalancerPoliciesInput) Validate ¶
func (v *DescribeLoadBalancerPoliciesInput) Validate() error
type DescribeLoadBalancerPoliciesOutput ¶
type DescribeLoadBalancerPoliciesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicySet []*LoadBalancerPolicy `json:"loadbalancer_policy_set" name:"loadbalancer_policy_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeLoadBalancerPolicyRulesInput ¶
type DescribeLoadBalancerPolicyRulesInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` LoadBalancerPolicy *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` LoadBalancerPolicyRules []*string `json:"loadbalancer_policy_rules" name:"loadbalancer_policy_rules" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` }
func (*DescribeLoadBalancerPolicyRulesInput) Validate ¶
func (v *DescribeLoadBalancerPolicyRulesInput) Validate() error
type DescribeLoadBalancerPolicyRulesOutput ¶
type DescribeLoadBalancerPolicyRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyRuleSet []*LoadBalancerPolicyRule `json:"loadbalancer_policy_rule_set" name:"loadbalancer_policy_rule_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeLoadBalancersInput ¶
type DescribeLoadBalancersInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeLoadBalancersInput) Validate ¶
func (v *DescribeLoadBalancersInput) Validate() error
type DescribeLoadBalancersOutput ¶
type DescribeLoadBalancersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerSet []*LoadBalancer `json:"loadbalancer_set" name:"loadbalancer_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type DescribeMongoNodesInput ¶
type DescribeMongoNodesInput struct { Limit *int `json:"limit" name:"limit" location:"params"` Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required Offset *int `json:"offset" name:"offset" location:"params"` Status []*string `json:"status" name:"status" location:"params"` }
func (*DescribeMongoNodesInput) Validate ¶
func (v *DescribeMongoNodesInput) Validate() error
type DescribeMongoNodesOutput ¶
type DescribeMongoNodesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MongoNodeSet []*MongoNode `json:"mongo_node_set" name:"mongo_node_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeMongoParametersInput ¶
type DescribeMongoParametersInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required Offset *int `json:"offset" name:"offset" default:"0" location:"params"` }
func (*DescribeMongoParametersInput) Validate ¶
func (v *DescribeMongoParametersInput) Validate() error
type DescribeMongoParametersOutput ¶
type DescribeMongoParametersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ParameterSet []*MongoParameter `json:"parameter_set" name:"parameter_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeMongosInput ¶
type DescribeMongosInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` MongoName *string `json:"mongo_name" name:"mongo_name" location:"params"` Mongos []*string `json:"mongos" name:"mongos" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeMongosInput) Validate ¶
func (v *DescribeMongosInput) Validate() error
type DescribeMongosOutput ¶
type DescribeMongosOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MongoSet []*Mongo `json:"mongo_set" name:"mongo_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeNicsInput ¶
type DescribeNicsInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` NICName *string `json:"nic_name" name:"nic_name" location:"params"` Nics []*string `json:"nics" name:"nics" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` // Status's available values: available, in-use Status *string `json:"status" name:"status" location:"params"` // VxNetType's available values: 0, 1 VxNetType *int `json:"vxnet_type" name:"vxnet_type" location:"params"` VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` }
func (*DescribeNicsInput) Validate ¶
func (v *DescribeNicsInput) Validate() error
type DescribeNicsOutput ¶
type DescribeNicsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` NICSet []*NIC `json:"nic_set" name:"nic_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRDBParametersInput ¶
type DescribeRDBParametersInput struct { Limit *int `json:"limit" name:"limit" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` ParameterGroup *string `json:"parameter_group" name:"parameter_group" location:"params"` RDB *string `json:"rdb" name:"rdb" location:"params"` // Required }
func (*DescribeRDBParametersInput) Validate ¶
func (v *DescribeRDBParametersInput) Validate() error
type DescribeRDBParametersOutput ¶
type DescribeRDBParametersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ParameterSet []*RDBParameter `json:"parameter_set" name:"parameter_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRDBsInput ¶
type DescribeRDBsInput struct { Limit *int `json:"limit" name:"limit" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` RDBEngine *string `json:"rdb_engine" name:"rdb_engine" location:"params"` RDBName *string `json:"rdb_name" name:"rdb_name" location:"params"` RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeRDBsInput) Validate ¶
func (v *DescribeRDBsInput) Validate() error
type DescribeRDBsOutput ¶
type DescribeRDBsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RDBSet []*RDB `json:"rdb_set" name:"rdb_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRouterStaticEntriesInput ¶
type DescribeRouterStaticEntriesInput struct { Limit *int `json:"limit" name:"limit" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` RouterStatic *string `json:"router_static" name:"router_static" location:"params"` RouterStaticEntryID *string `json:"router_static_entry_id" name:"router_static_entry_id" location:"params"` }
func (*DescribeRouterStaticEntriesInput) Validate ¶
func (v *DescribeRouterStaticEntriesInput) Validate() error
type DescribeRouterStaticEntriesOutput ¶
type DescribeRouterStaticEntriesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticEntrySet []*RouterStaticEntry `json:"router_static_entry_set" name:"router_static_entry_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRouterStaticsInput ¶
type DescribeRouterStaticsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Router *string `json:"router" name:"router" location:"params"` // Required RouterStatics []*string `json:"router_statics" name:"router_statics" location:"params"` // StaticType's available values: 1, 2, 3, 4, 5, 6, 7, 8 StaticType *int `json:"static_type" name:"static_type" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*DescribeRouterStaticsInput) Validate ¶
func (v *DescribeRouterStaticsInput) Validate() error
type DescribeRouterStaticsOutput ¶
type DescribeRouterStaticsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticSet []*RouterStatic `json:"router_static_set" name:"router_static_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRouterVxNetsInput ¶
type DescribeRouterVxNetsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Router *string `json:"router" name:"router" location:"params"` // Required // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*DescribeRouterVxNetsInput) Validate ¶
func (v *DescribeRouterVxNetsInput) Validate() error
type DescribeRouterVxNetsOutput ¶
type DescribeRouterVxNetsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterVxNetSet []*RouterVxNet `json:"router_vxnet_set" name:"router_vxnet_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeRoutersInput ¶
type DescribeRoutersInput struct { Limit *int `json:"limit" name:"limit" location:"params"` Offset *int `json:"offset" name:"offset" location:"params"` Routers []*string `json:"routers" name:"routers" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*DescribeRoutersInput) Validate ¶
func (v *DescribeRoutersInput) Validate() error
type DescribeRoutersOutput ¶
type DescribeRoutersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterSet []*Router `json:"router_set" name:"router_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeS2DefaultParametersInput ¶
type DescribeS2DefaultParametersInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` // ServiceType's available values: vsan ServiceType *string `json:"service_type" name:"service_type" location:"params"` // TargetType's available values: ISCSI TargetType *string `json:"target_type" name:"target_type" location:"params"` }
func (*DescribeS2DefaultParametersInput) Validate ¶
func (v *DescribeS2DefaultParametersInput) Validate() error
type DescribeS2DefaultParametersOutput ¶
type DescribeS2DefaultParametersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` S2DefaultParametersSet []*S2DefaultParameters `json:"s2_default_parameters_set" name:"s2_default_parameters_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeS2ServersInput ¶
type DescribeS2ServersInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" location:"params"` }
func (*DescribeS2ServersInput) Validate ¶
func (v *DescribeS2ServersInput) Validate() error
type DescribeS2ServersOutput ¶
type DescribeS2ServersOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` S2ServerSet []*S2Server `json:"s2_server_set" name:"s2_server_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeS2SharedTargetsInput ¶
type DescribeS2SharedTargetsInput struct {}
func (*DescribeS2SharedTargetsInput) Validate ¶
func (v *DescribeS2SharedTargetsInput) Validate() error
type DescribeS2SharedTargetsOutput ¶
type DescribeS2SharedTargetsOutput struct {}
type DescribeSecurityGroupIPSetsInput ¶
type DescribeSecurityGroupIPSetsInput struct { // IPSetType's available values: 0, 1 IPSetType *int `json:"ipset_type" name:"ipset_type" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"` SecurityGroupIPSets []*string `json:"security_group_ipsets" name:"security_group_ipsets" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeSecurityGroupIPSetsInput) Validate ¶
func (v *DescribeSecurityGroupIPSetsInput) Validate() error
type DescribeSecurityGroupIPSetsOutput ¶
type DescribeSecurityGroupIPSetsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupIPSetSet []*SecurityGroupIPSet `json:"security_group_ipset_set" name:"security_group_ipset_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeSecurityGroupRulesInput ¶
type DescribeSecurityGroupRulesInput struct { // Direction's available values: 0, 1 Direction *int `json:"direction" name:"direction" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` SecurityGroupRules []*string `json:"security_group_rules" name:"security_group_rules" location:"params"` }
func (*DescribeSecurityGroupRulesInput) Validate ¶
func (v *DescribeSecurityGroupRulesInput) Validate() error
type DescribeSecurityGroupRulesOutput ¶
type DescribeSecurityGroupRulesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupRuleSet []*SecurityGroupRule `json:"security_group_rule_set" name:"security_group_rule_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeSecurityGroupSnapshotsInput ¶
type DescribeSecurityGroupSnapshotsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Reverse *int `json:"reverse" name:"reverse" default:"1" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required SecurityGroupSnapshots []*string `json:"security_group_snapshots" name:"security_group_snapshots" location:"params"` }
func (*DescribeSecurityGroupSnapshotsInput) Validate ¶
func (v *DescribeSecurityGroupSnapshotsInput) Validate() error
type DescribeSecurityGroupSnapshotsOutput ¶
type DescribeSecurityGroupSnapshotsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupSnapshotSet []*SecurityGroupSnapshot `json:"security_group_snapshot_set" name:"security_group_snapshot_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeSecurityGroupsInput ¶
type DescribeSecurityGroupsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` SecurityGroups []*string `json:"security_groups" name:"security_groups" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeSecurityGroupsInput) Validate ¶
func (v *DescribeSecurityGroupsInput) Validate() error
type DescribeSecurityGroupsOutput ¶
type DescribeSecurityGroupsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupSet []*SecurityGroup `json:"security_group_set" name:"security_group_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeServerCertificatesInput ¶
type DescribeServerCertificatesInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` ServerCertificates *string `json:"server_certificates" name:"server_certificates" location:"params"` Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeServerCertificatesInput) Validate ¶
func (v *DescribeServerCertificatesInput) Validate() error
type DescribeServerCertificatesOutput ¶
type DescribeServerCertificatesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` ServerCertificateSet []*ServerCertificate `json:"server_certificate_set" name:"server_certificate_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeSnapshotsInput ¶
type DescribeSnapshotsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` ResourceID *string `json:"resource_id" name:"resource_id" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` // SnapshotType's available values: 0, 1 SnapshotType *int `json:"snapshot_type" name:"snapshot_type" location:"params"` Snapshots []*string `json:"snapshots" name:"snapshots" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeSnapshotsInput) Validate ¶
func (v *DescribeSnapshotsInput) Validate() error
type DescribeSnapshotsOutput ¶
type DescribeSnapshotsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SnapshotSet []*Snapshot `json:"snapshot_set" name:"snapshot_set" location:"elements"` }
type DescribeTagsInput ¶
type DescribeTagsInput struct { Limit *int `json:"limit" name:"limit" default:"0" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` }
func (*DescribeTagsInput) Validate ¶
func (v *DescribeTagsInput) Validate() error
type DescribeTagsOutput ¶
type DescribeTagsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TagSet []*Tag `json:"tag_set" name:"tag_set" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeVolumesInput ¶
type DescribeVolumesInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Status []*string `json:"status" name:"status" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` // VolumeType's available values: 0, 1, 2, 3 VolumeType *int `json:"volume_type" name:"volume_type" location:"params"` Volumes []*string `json:"volumes" name:"volumes" location:"params"` }
func (*DescribeVolumesInput) Validate ¶
func (v *DescribeVolumesInput) Validate() error
type DescribeVolumesOutput ¶
type DescribeVolumesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` VolumeSet []*Volume `json:"volume_set" name:"volume_set" location:"elements"` }
type DescribeVxNetInstancesInput ¶
type DescribeVxNetInstancesInput struct { Image *string `json:"image" name:"image" location:"params"` InstanceType *string `json:"instance_type" name:"instance_type" location:"params"` Instances []*string `json:"instances" name:"instances" location:"params"` Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` Status *string `json:"status" name:"status" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*DescribeVxNetInstancesInput) Validate ¶
func (v *DescribeVxNetInstancesInput) Validate() error
type DescribeVxNetInstancesOutput ¶
type DescribeVxNetInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` InstanceSet []*Instance `json:"instance_set" name:"instance_set" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` }
type DescribeVxNetsInput ¶
type DescribeVxNetsInput struct { Limit *int `json:"limit" name:"limit" default:"20" location:"params"` Offset *int `json:"offset" name:"offset" default:"0" location:"params"` SearchWord *string `json:"search_word" name:"search_word" location:"params"` Tags []*string `json:"tags" name:"tags" location:"params"` // Verbose's available values: 0, 1 Verbose *int `json:"verbose" name:"verbose" default:"0" location:"params"` // VxNetType's available values: 0, 1 VxNetType *int `json:"vxnet_type" name:"vxnet_type" location:"params"` VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` }
func (*DescribeVxNetsInput) Validate ¶
func (v *DescribeVxNetsInput) Validate() error
type DescribeVxNetsOutput ¶
type DescribeVxNetsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` VxNetSet []*VxNet `json:"vxnet_set" name:"vxnet_set" location:"elements"` }
type DescribeZonesInput ¶
type DescribeZonesInput struct { Status []*string `json:"status" name:"status" location:"params"` Zones []*string `json:"zones" name:"zones" location:"params"` }
func (*DescribeZonesInput) Validate ¶
func (v *DescribeZonesInput) Validate() error
type DescribeZonesOutput ¶
type DescribeZonesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` TotalCount *int `json:"total_count" name:"total_count" location:"elements"` ZoneSet []*Zone `json:"zone_set" name:"zone_set" location:"elements"` }
type DetachFromS2SharedTargetInput ¶
type DetachFromS2SharedTargetInput struct {}
func (*DetachFromS2SharedTargetInput) Validate ¶
func (v *DetachFromS2SharedTargetInput) Validate() error
type DetachFromS2SharedTargetOutput ¶
type DetachFromS2SharedTargetOutput struct {}
type DetachKeyPairsInput ¶
type DetachKeyPairsInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` // Required KeyPairs []*string `json:"keypairs" name:"keypairs" location:"params"` // Required }
func (*DetachKeyPairsInput) Validate ¶
func (v *DetachKeyPairsInput) Validate() error
type DetachKeyPairsOutput ¶
type DetachNicsInput ¶
type DetachNicsInput struct {
Nics []*string `json:"nics" name:"nics" location:"params"` // Required
}
func (*DetachNicsInput) Validate ¶
func (v *DetachNicsInput) Validate() error
type DetachNicsOutput ¶
type DetachTagsInput ¶
type DetachTagsInput struct {
ResourceTagPairs []*ResourceTagPair `json:"resource_tag_pairs" name:"resource_tag_pairs" location:"params"` // Required
}
func (*DetachTagsInput) Validate ¶
func (v *DetachTagsInput) Validate() error
type DetachTagsOutput ¶
type DetachVolumesInput ¶
type DetachVolumesInput struct { Instance *string `json:"instance" name:"instance" location:"params"` // Required Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required }
func (*DetachVolumesInput) Validate ¶
func (v *DetachVolumesInput) Validate() error
type DetachVolumesOutput ¶
type DisableS2SharedTargetsInput ¶
type DisableS2SharedTargetsInput struct {
}func (*DisableS2SharedTargetsInput) Validate ¶
func (v *DisableS2SharedTargetsInput) Validate() error
type DisableS2SharedTargetsOutput ¶
type DisableS2SharedTargetsOutput struct {}
type DissociateDNSAliasesInput ¶
type DissociateDNSAliasesInput struct {
DNSAliases []*string `json:"dns_aliases" name:"dns_aliases" location:"params"` // Required
}
func (*DissociateDNSAliasesInput) Validate ¶
func (v *DissociateDNSAliasesInput) Validate() error
type DissociateEIPFromClusterNodeInput ¶
type DissociateEIPFromClusterNodeInput struct {
EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}
func (*DissociateEIPFromClusterNodeInput) Validate ¶
func (v *DissociateEIPFromClusterNodeInput) Validate() error
type DissociateEIPsFromLoadBalancerInput ¶
type DissociateEIPsFromLoadBalancerInput struct { EIPs []*string `json:"eips" name:"eips" location:"params"` // Required LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required }
func (*DissociateEIPsFromLoadBalancerInput) Validate ¶
func (v *DissociateEIPsFromLoadBalancerInput) Validate() error
type DissociateEIPsInput ¶
type DissociateEIPsInput struct {
EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}
func (*DissociateEIPsInput) Validate ¶
func (v *DissociateEIPsInput) Validate() error
type DissociateEIPsOutput ¶
type EIP ¶
type EIP struct { AlarmStatus *string `json:"alarm_status" name:"alarm_status"` AssociateMode *int `json:"associate_mode" name:"associate_mode"` Bandwidth *int `json:"bandwidth" name:"bandwidth"` // BillingMode's available values: bandwidth, traffic BillingMode *string `json:"billing_mode" name:"billing_mode"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` EIPAddr *string `json:"eip_addr" name:"eip_addr"` EIPGroup *EIPGroup `json:"eip_group" name:"eip_group"` EIPID *string `json:"eip_id" name:"eip_id"` EIPName *string `json:"eip_name" name:"eip_name"` ICPCodes *string `json:"icp_codes" name:"icp_codes"` NeedICP *int `json:"need_icp" name:"need_icp"` Resource *EIPResource `json:"resource" name:"resource"` // Status's available values: pending, available, associated, suspended, released, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: associating, dissociating, suspending, resuming, releasing TransitionStatus *string `json:"transition_status" name:"transition_status"` }
type EIPGroup ¶
type EIPResource ¶
type EIPResource struct { ResourceID *string `json:"resource_id" name:"resource_id"` ResourceName *string `json:"resource_name" name:"resource_name"` ResourceType *string `json:"resource_type" name:"resource_type"` }
func (*EIPResource) Validate ¶
func (v *EIPResource) Validate() error
type EIPService ¶
type EIPService struct { Config *config.Config Properties *EIPServiceProperties }
func (*EIPService) AllocateEIPs ¶
func (s *EIPService) AllocateEIPs(i *AllocateEIPsInput) (*AllocateEIPsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/allocate_eips.html
func (*EIPService) AssociateEIP ¶
func (s *EIPService) AssociateEIP(i *AssociateEIPInput) (*AssociateEIPOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/associate_eip.html
func (*EIPService) ChangeEIPsBandwidth ¶
func (s *EIPService) ChangeEIPsBandwidth(i *ChangeEIPsBandwidthInput) (*ChangeEIPsBandwidthOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/dissociate_eips.html
func (*EIPService) ChangeEIPsBillingMode ¶
func (s *EIPService) ChangeEIPsBillingMode(i *ChangeEIPsBillingModeInput) (*ChangeEIPsBillingModeOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/change_eips_billing_mode.html
func (*EIPService) DescribeEIPs ¶
func (s *EIPService) DescribeEIPs(i *DescribeEIPsInput) (*DescribeEIPsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/describe_eips.html
func (*EIPService) DissociateEIPs ¶
func (s *EIPService) DissociateEIPs(i *DissociateEIPsInput) (*DissociateEIPsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/dissociate_eips.html
func (*EIPService) GetEIPMonitor ¶
func (s *EIPService) GetEIPMonitor(i *GetEIPMonitorInput) (*GetEIPMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_monitor.html
func (*EIPService) ModifyEIPAttributes ¶
func (s *EIPService) ModifyEIPAttributes(i *ModifyEIPAttributesInput) (*ModifyEIPAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/modify_eip_attributes.html
func (*EIPService) ReleaseEIPs ¶
func (s *EIPService) ReleaseEIPs(i *ReleaseEIPsInput) (*ReleaseEIPsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/eip/release_eips.html
type EIPServiceProperties ¶
type EIPServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type EnableS2SharedTargetsInput ¶
type EnableS2SharedTargetsInput struct {
}func (*EnableS2SharedTargetsInput) Validate ¶
func (v *EnableS2SharedTargetsInput) Validate() error
type EnableS2SharedTargetsOutput ¶
type EnableS2SharedTargetsOutput struct {}
type Extra ¶
type Extra struct { BlockBus *string `json:"block_bus" name:"block_bus"` BootDev *string `json:"boot_dev" name:"boot_dev"` CPUMax *int `json:"cpu_max" name:"cpu_max"` CPUModel *string `json:"cpu_model" name:"cpu_model"` Features *int `json:"features" name:"features"` Hypervisor *string `json:"hypervisor" name:"hypervisor"` MemMax *int `json:"mem_max" name:"mem_max"` NICMqueue *int `json:"nic_mqueue" name:"nic_mqueue"` NoLimit *int `json:"no_limit" name:"no_limit"` NoRestrict *int `json:"no_restrict" name:"no_restrict"` OSDiskSize *int `json:"os_disk_size" name:"os_disk_size"` USB *int `json:"usb" name:"usb"` }
type File ¶
type GetCacheMonitorInput ¶
type GetCacheMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetCacheMonitorInput) Validate ¶
func (v *GetCacheMonitorInput) Validate() error
type GetCacheMonitorOutput ¶
type GetCacheMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetDNSLabelInput ¶
type GetDNSLabelInput struct { }
func (*GetDNSLabelInput) Validate ¶
func (v *GetDNSLabelInput) Validate() error
type GetDNSLabelOutput ¶
type GetDNSLabelOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` DNSLabel *string `json:"dns_label" name:"dns_label" location:"elements"` DomainName *string `json:"domain_name" name:"domain_name" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetEIPMonitorInput ¶
type GetEIPMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetEIPMonitorInput) Validate ¶
func (v *GetEIPMonitorInput) Validate() error
type GetEIPMonitorOutput ¶
type GetEIPMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetInstanceMonitorInput ¶
type GetInstanceMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetInstanceMonitorInput) Validate ¶
func (v *GetInstanceMonitorInput) Validate() error
type GetInstanceMonitorOutput ¶
type GetInstanceMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetLoadBalancerMonitorInput ¶
type GetLoadBalancerMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required ResourceType *string `json:"resource_type" name:"resource_type" default:"loadbalancer" location:"params"` StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetLoadBalancerMonitorInput) Validate ¶
func (v *GetLoadBalancerMonitorInput) Validate() error
type GetLoadBalancerMonitorOutput ¶
type GetLoadBalancerMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetMongoMonitorInput ¶
type GetMongoMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetMongoMonitorInput) Validate ¶
func (v *GetMongoMonitorInput) Validate() error
type GetMongoMonitorOutput ¶
type GetMongoMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetRDBInstanceFilesInput ¶
type GetRDBInstanceFilesInput struct {
RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` // Required
}
func (*GetRDBInstanceFilesInput) Validate ¶
func (v *GetRDBInstanceFilesInput) Validate() error
type GetRDBInstanceFilesOutput ¶
type GetRDBInstanceFilesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` Files *RDBFile `json:"files" name:"files" location:"elements"` RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetRDBMonitorInput ¶
type GetRDBMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required RDBEngine *string `json:"rdb_engine" name:"rdb_engine" location:"params"` // Required RDBInstance *string `json:"rdb_instance" name:"rdb_instance" location:"params"` Resource *string `json:"resource" name:"resource" location:"params"` // Required Role *string `json:"role" name:"role" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetRDBMonitorInput) Validate ¶
func (v *GetRDBMonitorInput) Validate() error
type GetRDBMonitorOutput ¶
type GetRDBMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GetRouterMonitorInput ¶
type GetRouterMonitorInput struct { EndTime *time.Time `json:"end_time" name:"end_time" format:"ISO 8601" location:"params"` // Required Meters []*string `json:"meters" name:"meters" location:"params"` // Required Resource *string `json:"resource" name:"resource" location:"params"` // Required StartTime *time.Time `json:"start_time" name:"start_time" format:"ISO 8601" location:"params"` // Required // Step's available values: 5m, 15m, 2h, 1d Step *string `json:"step" name:"step" location:"params"` // Required }
func (*GetRouterMonitorInput) Validate ¶
func (v *GetRouterMonitorInput) Validate() error
type GetRouterMonitorOutput ¶
type GetRouterMonitorOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` MeterSet []*Meter `json:"meter_set" name:"meter_set" location:"elements"` ResourceID *string `json:"resource_id" name:"resource_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type GrantImageToUsersInput ¶
type GrantImageToUsersInput struct { Image *string `json:"image" name:"image" location:"params"` // Required Users []*string `json:"users" name:"users" location:"params"` // Required }
func (*GrantImageToUsersInput) Validate ¶
func (v *GrantImageToUsersInput) Validate() error
type GrantImageToUsersOutput ¶
type Image ¶
type Image struct { AppBillingID *string `json:"app_billing_id" name:"app_billing_id"` Architecture *string `json:"architecture" name:"architecture"` BillingID *string `json:"billing_id" name:"billing_id"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` DefaultPasswd *string `json:"default_passwd" name:"default_passwd"` DefaultUser *string `json:"default_user" name:"default_user"` Description *string `json:"description" name:"description"` FResetpwd *int `json:"f_resetpwd" name:"f_resetpwd"` Feature *int `json:"feature" name:"feature"` Features *int `json:"features" name:"features"` Hypervisor *string `json:"hypervisor" name:"hypervisor"` ImageID *string `json:"image_id" name:"image_id"` ImageName *string `json:"image_name" name:"image_name"` InstanceIDs []*string `json:"instance_ids" name:"instance_ids"` OSFamily *string `json:"os_family" name:"os_family"` Owner *string `json:"owner" name:"owner"` // Platform's available values: linux, windows Platform *string `json:"platform" name:"platform"` // ProcessorType's available values: 64bit, 32bit ProcessorType *string `json:"processor_type" name:"processor_type"` // Provider's available values: system, self Provider *string `json:"provider" name:"provider"` RecommendedType *string `json:"recommended_type" name:"recommended_type"` RootID *string `json:"root_id" name:"root_id"` Size *int `json:"size" name:"size"` // Status's available values: pending, available, deprecated, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` // TransitionStatus's available values: creating, suspending, resuming, deleting, recovering TransitionStatus *string `json:"transition_status" name:"transition_status"` UIType *string `json:"ui_type" name:"ui_type"` // Visibility's available values: public, private Visibility *string `json:"visibility" name:"visibility"` }
type ImageService ¶
type ImageService struct { Config *config.Config Properties *ImageServiceProperties }
func (*ImageService) CaptureInstance ¶
func (s *ImageService) CaptureInstance(i *CaptureInstanceInput) (*CaptureInstanceOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/capture_instance.html
func (*ImageService) DeleteImages ¶
func (s *ImageService) DeleteImages(i *DeleteImagesInput) (*DeleteImagesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/delete_images.html
func (*ImageService) DescribeImageUsers ¶
func (s *ImageService) DescribeImageUsers(i *DescribeImageUsersInput) (*DescribeImageUsersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/describe-image-users.html
func (*ImageService) DescribeImages ¶
func (s *ImageService) DescribeImages(i *DescribeImagesInput) (*DescribeImagesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/describe_images.html
func (*ImageService) GrantImageToUsers ¶
func (s *ImageService) GrantImageToUsers(i *GrantImageToUsersInput) (*GrantImageToUsersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/grant-image-to-users.html
func (*ImageService) ModifyImageAttributes ¶
func (s *ImageService) ModifyImageAttributes(i *ModifyImageAttributesInput) (*ModifyImageAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/modify_image_attributes.html
func (*ImageService) RevokeImageFromUsers ¶
func (s *ImageService) RevokeImageFromUsers(i *RevokeImageFromUsersInput) (*RevokeImageFromUsersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/image/revoke-image-from-users.html
type ImageServiceProperties ¶
type ImageServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type ImageUser ¶
type Instance ¶
type Instance struct { AlarmStatus *string `json:"alarm_status" name:"alarm_status"` CPUTopology *string `json:"cpu_topology" name:"cpu_topology"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` Device *string `json:"device" name:"device"` DHCPOptions *DHCPOption `json:"dhcp_options" name:"dhcp_options"` DNSAliases []*DNSAlias `json:"dns_aliases" name:"dns_aliases"` EIP *EIP `json:"eip" name:"eip"` Extra *Extra `json:"extra" name:"extra"` GraphicsPasswd *string `json:"graphics_passwd" name:"graphics_passwd"` GraphicsProtocol *string `json:"graphics_protocol" name:"graphics_protocol"` Image *Image `json:"image" name:"image"` ImageID *string `json:"image_id" name:"image_id"` InstanceClass *int `json:"instance_class" name:"instance_class"` InstanceID *string `json:"instance_id" name:"instance_id"` InstanceName *string `json:"instance_name" name:"instance_name"` InstanceType *string `json:"instance_type" name:"instance_type"` KeyPairIDs []*string `json:"keypair_ids" name:"keypair_ids"` MemoryCurrent *int `json:"memory_current" name:"memory_current"` PrivateIP *string `json:"private_ip" name:"private_ip"` SecurityGroup *SecurityGroup `json:"security_group" name:"security_group"` // Status's available values: pending, running, stopped, suspended, terminated, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, starting, stopping, restarting, suspending, resuming, terminating, recovering, resetting TransitionStatus *string `json:"transition_status" name:"transition_status"` VCPUsCurrent *int `json:"vcpus_current" name:"vcpus_current"` VolumeIDs []*string `json:"volume_ids" name:"volume_ids"` Volumes []*Volume `json:"volumes" name:"volumes"` VxNets []*InstanceVxNet `json:"vxnets" name:"vxnets"` }
type InstanceService ¶
type InstanceService struct { Config *config.Config Properties *InstanceServiceProperties }
func (*InstanceService) DescribeInstanceTypes ¶
func (s *InstanceService) DescribeInstanceTypes(i *DescribeInstanceTypesInput) (*DescribeInstanceTypesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/describe_instance_types.html
func (*InstanceService) DescribeInstances ¶
func (s *InstanceService) DescribeInstances(i *DescribeInstancesInput) (*DescribeInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/describe_instances.html
func (*InstanceService) GetInstanceMonitor ¶
func (s *InstanceService) GetInstanceMonitor(i *GetInstanceMonitorInput) (*GetInstanceMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_monitor.html
func (*InstanceService) ModifyInstanceAttributes ¶
func (s *InstanceService) ModifyInstanceAttributes(i *ModifyInstanceAttributesInput) (*ModifyInstanceAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/modify_instance_attributes.html
func (*InstanceService) ResetInstances ¶
func (s *InstanceService) ResetInstances(i *ResetInstancesInput) (*ResetInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/reset_instances.html
func (*InstanceService) ResizeInstances ¶
func (s *InstanceService) ResizeInstances(i *ResizeInstancesInput) (*ResizeInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/resize_instances.html
func (*InstanceService) RestartInstances ¶
func (s *InstanceService) RestartInstances(i *RestartInstancesInput) (*RestartInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/restart_instances.html
func (*InstanceService) RunInstances ¶
func (s *InstanceService) RunInstances(i *RunInstancesInput) (*RunInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/run_instances.html
func (*InstanceService) StartInstances ¶
func (s *InstanceService) StartInstances(i *StartInstancesInput) (*StartInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/start_instances.html
func (*InstanceService) StopInstances ¶
func (s *InstanceService) StopInstances(i *StopInstancesInput) (*StopInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/stop_instances.html
func (*InstanceService) TerminateInstances ¶
func (s *InstanceService) TerminateInstances(i *TerminateInstancesInput) (*TerminateInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/instance/terminate_instances.html
type InstanceServiceProperties ¶
type InstanceServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type InstanceType ¶
type InstanceType struct { Description *string `json:"description" name:"description"` InstanceTypeID *string `json:"instance_type_id" name:"instance_type_id"` InstanceTypeName *string `json:"instance_type_name" name:"instance_type_name"` MemoryCurrent *int `json:"memory_current" name:"memory_current"` // Status's available values: available, deprecated Status *string `json:"status" name:"status"` VCPUsCurrent *int `json:"vcpus_current" name:"vcpus_current"` ZoneID *string `json:"zone_id" name:"zone_id"` }
func (*InstanceType) Validate ¶
func (v *InstanceType) Validate() error
type InstanceVxNet ¶
type InstanceVxNet struct { NICID *string `json:"nic_id" name:"nic_id"` PrivateIP *string `json:"private_ip" name:"private_ip"` Role *int `json:"role" name:"role"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` VxNetName *string `json:"vxnet_name" name:"vxnet_name"` // VxNetType's available values: 0, 1 VxNetType *int `json:"vxnet_type" name:"vxnet_type"` }
func (*InstanceVxNet) Validate ¶
func (v *InstanceVxNet) Validate() error
type Job ¶
type Job struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` JobAction *string `json:"job_action" name:"job_action"` JobID *string `json:"job_id" name:"job_id"` Owner *string `json:"owner" name:"owner"` ResourceIDs *string `json:"resource_ids" name:"resource_ids"` // Status's available values: pending, working, failed, successful, done with failure Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` }
type JobService ¶
type JobService struct { Config *config.Config Properties *JobServiceProperties }
func (*JobService) DescribeJobs ¶
func (s *JobService) DescribeJobs(i *DescribeJobsInput) (*DescribeJobsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/job/describe_jobs.html
type JobServiceProperties ¶
type JobServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type JoinRouterInput ¶
type JoinRouterInput struct { DYNIPEnd *string `json:"dyn_ip_end" name:"dyn_ip_end" location:"params"` DYNIPStart *string `json:"dyn_ip_start" name:"dyn_ip_start" location:"params"` // Features's available values: 1 Features *int `json:"features" name:"features" default:"1" location:"params"` IPNetwork *string `json:"ip_network" name:"ip_network" location:"params"` // Required ManagerIP *string `json:"manager_ip" name:"manager_ip" location:"params"` Router *string `json:"router" name:"router" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*JoinRouterInput) Validate ¶
func (v *JoinRouterInput) Validate() error
type JoinRouterOutput ¶
type JoinRouterOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterID *string `json:"router_id" name:"router_id" location:"elements"` VxNetID *string `json:"vxnet_id" name:"vxnet_id" location:"elements"` }
type JoinVxNetInput ¶
type JoinVxNetInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*JoinVxNetInput) Validate ¶
func (v *JoinVxNetInput) Validate() error
type JoinVxNetOutput ¶
type KeyPair ¶
type KeyPair struct { Description *string `json:"description" name:"description"` // EncryptMethod's available values: ssh-rsa, ssh-dss EncryptMethod *string `json:"encrypt_method" name:"encrypt_method"` InstanceIDs []*string `json:"instance_ids" name:"instance_ids"` KeyPairID *string `json:"keypair_id" name:"keypair_id"` KeyPairName *string `json:"keypair_name" name:"keypair_name"` PubKey *string `json:"pub_key" name:"pub_key"` Tags []*Tag `json:"tags" name:"tags"` }
type KeyPairService ¶
type KeyPairService struct { Config *config.Config Properties *KeyPairServiceProperties }
func (*KeyPairService) AttachKeyPairs ¶
func (s *KeyPairService) AttachKeyPairs(i *AttachKeyPairsInput) (*AttachKeyPairsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/attach_key_pairs.html
func (*KeyPairService) CreateKeyPair ¶
func (s *KeyPairService) CreateKeyPair(i *CreateKeyPairInput) (*CreateKeyPairOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/create_key_pairs.html
func (*KeyPairService) DeleteKeyPairs ¶
func (s *KeyPairService) DeleteKeyPairs(i *DeleteKeyPairsInput) (*DeleteKeyPairsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/delete_key_pairs.html
func (*KeyPairService) DescribeKeyPairs ¶
func (s *KeyPairService) DescribeKeyPairs(i *DescribeKeyPairsInput) (*DescribeKeyPairsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/describe_key_pairs.html
func (*KeyPairService) DetachKeyPairs ¶
func (s *KeyPairService) DetachKeyPairs(i *DetachKeyPairsInput) (*DetachKeyPairsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/detach_key_pairs.html
func (*KeyPairService) ModifyKeyPairAttributes ¶
func (s *KeyPairService) ModifyKeyPairAttributes(i *ModifyKeyPairAttributesInput) (*ModifyKeyPairAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/keypair/modify_key_pair_attributes.html
type KeyPairServiceProperties ¶
type KeyPairServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type LeaveRouterInput ¶
type LeaveRouterInput struct { Router *string `json:"router" name:"router" location:"params"` // Required VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` // Required }
func (*LeaveRouterInput) Validate ¶
func (v *LeaveRouterInput) Validate() error
type LeaveRouterOutput ¶
type LeaveRouterOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterID *string `json:"router_id" name:"router_id" location:"elements"` VxNets []*string `json:"vxnets" name:"vxnets" location:"elements"` }
type LeaveVxNetInput ¶
type LeaveVxNetInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*LeaveVxNetInput) Validate ¶
func (v *LeaveVxNetInput) Validate() error
type LeaveVxNetOutput ¶
type LoadBalancer ¶
type LoadBalancer struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` EIPs []*EIP `json:"eips" name:"eips"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` Listeners []*LoadBalancerListener `json:"listeners" name:"listeners"` LoadBalancerID *string `json:"loadbalancer_id" name:"loadbalancer_id"` LoadBalancerName *string `json:"loadbalancer_name" name:"loadbalancer_name"` // LoadBalancerType's available values: 0, 1, 2, 3, 4, 5 LoadBalancerType *int `json:"loadbalancer_type" name:"loadbalancer_type"` NodeCount *int `json:"node_count" name:"node_count"` PrivateIPs []*string `json:"private_ips" name:"private_ips"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` // Status's available values: pending, active, stopped, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, starting, stopping, updating, suspending, resuming, deleting TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
func (*LoadBalancer) Validate ¶
func (v *LoadBalancer) Validate() error
type LoadBalancerBackend ¶
type LoadBalancerBackend struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` LoadBalancerBackendID *string `json:"loadbalancer_backend_id" name:"loadbalancer_backend_id"` LoadBalancerBackendName *string `json:"loadbalancer_backend_name" name:"loadbalancer_backend_name"` LoadBalancerID *string `json:"loadbalancer_id" name:"loadbalancer_id"` LoadBalancerListenerID *string `json:"loadbalancer_listener_id" name:"loadbalancer_listener_id"` LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id"` Port *int `json:"port" name:"port"` ResourceID *string `json:"resource_id" name:"resource_id"` Status *string `json:"status" name:"status"` Weight *int `json:"weight" name:"weight"` }
func (*LoadBalancerBackend) Validate ¶
func (v *LoadBalancerBackend) Validate() error
type LoadBalancerListener ¶
type LoadBalancerListener struct { BackendProtocol *string `json:"backend_protocol" name:"backend_protocol"` Backends []*LoadBalancerBackend `json:"backends" name:"backends"` // BalanceMode's available values: roundrobin, leastconn, source BalanceMode *string `json:"balance_mode" name:"balance_mode"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Forwardfor *int `json:"forwardfor" name:"forwardfor"` HealthyCheckMethod *string `json:"healthy_check_method" name:"healthy_check_method"` HealthyCheckOption *string `json:"healthy_check_option" name:"healthy_check_option" default:"10|5|2|5"` ListenerOption *int `json:"listener_option" name:"listener_option"` ListenerPort *int `json:"listener_port" name:"listener_port"` ListenerProtocol *string `json:"listener_protocol" name:"listener_protocol"` LoadBalancerID *string `json:"loadbalancer_id" name:"loadbalancer_id"` LoadBalancerListenerID *string `json:"loadbalancer_listener_id" name:"loadbalancer_listener_id"` LoadBalancerListenerName *string `json:"loadbalancer_listener_name" name:"loadbalancer_listener_name"` ServerCertificateID *string `json:"server_certificate_id" name:"server_certificate_id"` SessionSticky *string `json:"session_sticky" name:"session_sticky"` }
func (*LoadBalancerListener) Validate ¶
func (v *LoadBalancerListener) Validate() error
type LoadBalancerPolicy ¶
type LoadBalancerPolicy struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` LoadBalancerIDs []*string `json:"loadbalancer_ids" name:"loadbalancer_ids"` LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id"` LoadBalancerPolicyName *string `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name"` }
func (*LoadBalancerPolicy) Validate ¶
func (v *LoadBalancerPolicy) Validate() error
type LoadBalancerPolicyRule ¶
type LoadBalancerPolicyRule struct { LoadBalancerPolicyRuleID *string `json:"loadbalancer_policy_rule_id" name:"loadbalancer_policy_rule_id"` LoadBalancerPolicyRuleName *string `json:"loadbalancer_policy_rule_name" name:"loadbalancer_policy_rule_name"` RuleType *string `json:"rule_type" name:"rule_type"` Val *string `json:"val" name:"val"` }
func (*LoadBalancerPolicyRule) Validate ¶
func (v *LoadBalancerPolicyRule) Validate() error
type LoadBalancerService ¶
type LoadBalancerService struct { Config *config.Config Properties *LoadBalancerServiceProperties }
func (*LoadBalancerService) AddLoadBalancerBackends ¶
func (s *LoadBalancerService) AddLoadBalancerBackends(i *AddLoadBalancerBackendsInput) (*AddLoadBalancerBackendsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/add_loadbalancer_backends.html
func (*LoadBalancerService) AddLoadBalancerListeners ¶
func (s *LoadBalancerService) AddLoadBalancerListeners(i *AddLoadBalancerListenersInput) (*AddLoadBalancerListenersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/add_loadbalancer_listeners.html
func (*LoadBalancerService) AddLoadBalancerPolicyRules ¶
func (s *LoadBalancerService) AddLoadBalancerPolicyRules(i *AddLoadBalancerPolicyRulesInput) (*AddLoadBalancerPolicyRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/add_loadbalancer_policy_rules.html
func (*LoadBalancerService) ApplyLoadBalancerPolicy ¶
func (s *LoadBalancerService) ApplyLoadBalancerPolicy(i *ApplyLoadBalancerPolicyInput) (*ApplyLoadBalancerPolicyOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/apply_loadbalancer_policy.html
func (*LoadBalancerService) AssociateEIPsToLoadBalancer ¶
func (s *LoadBalancerService) AssociateEIPsToLoadBalancer(i *AssociateEIPsToLoadBalancerInput) (*AssociateEIPsToLoadBalancerOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/associate_eips_to_loadbalancer.html
func (*LoadBalancerService) CreateLoadBalancer ¶
func (s *LoadBalancerService) CreateLoadBalancer(i *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/create_loadbalancer.html
func (*LoadBalancerService) CreateLoadBalancerPolicy ¶
func (s *LoadBalancerService) CreateLoadBalancerPolicy(i *CreateLoadBalancerPolicyInput) (*CreateLoadBalancerPolicyOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/create_loadbalancer_policy.html
func (*LoadBalancerService) CreateServerCertificate ¶
func (s *LoadBalancerService) CreateServerCertificate(i *CreateServerCertificateInput) (*CreateServerCertificateOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/create_server_certificate.html
func (*LoadBalancerService) DeleteLoadBalancerBackends ¶
func (s *LoadBalancerService) DeleteLoadBalancerBackends(i *DeleteLoadBalancerBackendsInput) (*DeleteLoadBalancerBackendsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_loadbalancer_backends.html
func (*LoadBalancerService) DeleteLoadBalancerListeners ¶
func (s *LoadBalancerService) DeleteLoadBalancerListeners(i *DeleteLoadBalancerListenersInput) (*DeleteLoadBalancerListenersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_loadbalancer_listeners.html
func (*LoadBalancerService) DeleteLoadBalancerPolicies ¶
func (s *LoadBalancerService) DeleteLoadBalancerPolicies(i *DeleteLoadBalancerPoliciesInput) (*DeleteLoadBalancerPoliciesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_loadbalancer_policies.html
func (*LoadBalancerService) DeleteLoadBalancerPolicyRules ¶
func (s *LoadBalancerService) DeleteLoadBalancerPolicyRules(i *DeleteLoadBalancerPolicyRulesInput) (*DeleteLoadBalancerPolicyRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_loadbalancer_policy_rules.html
func (*LoadBalancerService) DeleteLoadBalancers ¶
func (s *LoadBalancerService) DeleteLoadBalancers(i *DeleteLoadBalancersInput) (*DeleteLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_loadbalancers.html
func (*LoadBalancerService) DeleteServerCertificates ¶
func (s *LoadBalancerService) DeleteServerCertificates(i *DeleteServerCertificatesInput) (*DeleteServerCertificatesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/delete_server_certificates.html
func (*LoadBalancerService) DescribeLoadBalancerBackends ¶
func (s *LoadBalancerService) DescribeLoadBalancerBackends(i *DescribeLoadBalancerBackendsInput) (*DescribeLoadBalancerBackendsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_loadbalancer_backends.html
func (*LoadBalancerService) DescribeLoadBalancerListeners ¶
func (s *LoadBalancerService) DescribeLoadBalancerListeners(i *DescribeLoadBalancerListenersInput) (*DescribeLoadBalancerListenersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_loadbalancer_listeners.html
func (*LoadBalancerService) DescribeLoadBalancerPolicies ¶
func (s *LoadBalancerService) DescribeLoadBalancerPolicies(i *DescribeLoadBalancerPoliciesInput) (*DescribeLoadBalancerPoliciesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_loadbalancer_policies.html
func (*LoadBalancerService) DescribeLoadBalancerPolicyRules ¶
func (s *LoadBalancerService) DescribeLoadBalancerPolicyRules(i *DescribeLoadBalancerPolicyRulesInput) (*DescribeLoadBalancerPolicyRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_loadbalancer_policy_rules.html
func (*LoadBalancerService) DescribeLoadBalancers ¶
func (s *LoadBalancerService) DescribeLoadBalancers(i *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_loadbalancers.html
func (*LoadBalancerService) DescribeServerCertificates ¶
func (s *LoadBalancerService) DescribeServerCertificates(i *DescribeServerCertificatesInput) (*DescribeServerCertificatesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/describe_server_certificates.html
func (*LoadBalancerService) DissociateEIPsFromLoadBalancer ¶
func (s *LoadBalancerService) DissociateEIPsFromLoadBalancer(i *DissociateEIPsFromLoadBalancerInput) (*DissociateEIPsFromLoadBalancerOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/dissociate_eips_from_loadbalancer.html
func (*LoadBalancerService) GetLoadBalancerMonitor ¶
func (s *LoadBalancerService) GetLoadBalancerMonitor(i *GetLoadBalancerMonitorInput) (*GetLoadBalancerMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_loadbalancer_monitor.html
func (*LoadBalancerService) ModifyLoadBalancerAttributes ¶
func (s *LoadBalancerService) ModifyLoadBalancerAttributes(i *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_loadbalancer_attributes.html
func (*LoadBalancerService) ModifyLoadBalancerBackendAttributes ¶
func (s *LoadBalancerService) ModifyLoadBalancerBackendAttributes(i *ModifyLoadBalancerBackendAttributesInput) (*ModifyLoadBalancerBackendAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_loadbalancer_backend_attributes.html
func (*LoadBalancerService) ModifyLoadBalancerListenerAttributes ¶
func (s *LoadBalancerService) ModifyLoadBalancerListenerAttributes(i *ModifyLoadBalancerListenerAttributesInput) (*ModifyLoadBalancerListenerAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_loadbalancer_listener_attributes.html
func (*LoadBalancerService) ModifyLoadBalancerPolicyAttributes ¶
func (s *LoadBalancerService) ModifyLoadBalancerPolicyAttributes(i *ModifyLoadBalancerPolicyAttributesInput) (*ModifyLoadBalancerPolicyAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_loadbalancer_policy_attributes.html
func (*LoadBalancerService) ModifyLoadBalancerPolicyRuleAttributes ¶
func (s *LoadBalancerService) ModifyLoadBalancerPolicyRuleAttributes(i *ModifyLoadBalancerPolicyRuleAttributesInput) (*ModifyLoadBalancerPolicyRuleAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_loadbalancer_policy_rule_attributes.html
func (*LoadBalancerService) ModifyServerCertificateAttributes ¶
func (s *LoadBalancerService) ModifyServerCertificateAttributes(i *ModifyServerCertificateAttributesInput) (*ModifyServerCertificateAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/modify_server_certificate_attributes.html
func (*LoadBalancerService) ResizeLoadBalancers ¶
func (s *LoadBalancerService) ResizeLoadBalancers(i *ResizeLoadBalancersInput) (*ResizeLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/resize_loadbalancers.html
func (*LoadBalancerService) StartLoadBalancers ¶
func (s *LoadBalancerService) StartLoadBalancers(i *StartLoadBalancersInput) (*StartLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/start_loadbalancers.html
func (*LoadBalancerService) StopLoadBalancers ¶
func (s *LoadBalancerService) StopLoadBalancers(i *StopLoadBalancersInput) (*StopLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/stop_loadbalancers.html
func (*LoadBalancerService) UpdateLoadBalancers ¶
func (s *LoadBalancerService) UpdateLoadBalancers(i *UpdateLoadBalancersInput) (*UpdateLoadBalancersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/lb/update_loadbalancers.html
type LoadBalancerServiceProperties ¶
type LoadBalancerServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type Meter ¶
type ModifyCacheAttributesInput ¶
type ModifyCacheAttributesInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" default:"99" location:"params"` Cache *string `json:"cache" name:"cache" location:"params"` // Required CacheName *string `json:"cache_name" name:"cache_name" location:"params"` Description *string `json:"description" name:"description" location:"params"` }
func (*ModifyCacheAttributesInput) Validate ¶
func (v *ModifyCacheAttributesInput) Validate() error
type ModifyCacheNodeAttributesInput ¶
type ModifyCacheNodeAttributesInput struct { CacheNode *string `json:"cache_node" name:"cache_node" location:"params"` // Required CacheNodeName *string `json:"cache_node_name" name:"cache_node_name" location:"params"` }
func (*ModifyCacheNodeAttributesInput) Validate ¶
func (v *ModifyCacheNodeAttributesInput) Validate() error
type ModifyCacheParameterGroupAttributesInput ¶
type ModifyCacheParameterGroupAttributesInput struct { CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required CacheParameterGroupName *string `json:"cache_parameter_group_name" name:"cache_parameter_group_name" location:"params"` Description *string `json:"description" name:"description" location:"params"` }
func (*ModifyCacheParameterGroupAttributesInput) Validate ¶
func (v *ModifyCacheParameterGroupAttributesInput) Validate() error
type ModifyCacheParameterGroupAttributesOutput ¶
type ModifyCacheParameterGroupAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheParameterGroupID *string `json:"cache_parameter_group_id" name:"cache_parameter_group_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ModifyClusterAttributesInput ¶
type ModifyClusterAttributesInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required Description *string `json:"description" name:"description" location:"params"` Name *string `json:"name" name:"name" location:"params"` }
func (*ModifyClusterAttributesInput) Validate ¶
func (v *ModifyClusterAttributesInput) Validate() error
type ModifyClusterNodeAttributesInput ¶
type ModifyClusterNodeAttributesInput struct { ClusterNode *string `json:"cluster_node" name:"cluster_node" location:"params"` // Required Name *string `json:"name" name:"name" location:"params"` }
func (*ModifyClusterNodeAttributesInput) Validate ¶
func (v *ModifyClusterNodeAttributesInput) Validate() error
type ModifyEIPAttributesInput ¶
type ModifyEIPAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` EIP *string `json:"eip" name:"eip" location:"params"` // Required EIPName *string `json:"eip_name" name:"eip_name" location:"params"` }
func (*ModifyEIPAttributesInput) Validate ¶
func (v *ModifyEIPAttributesInput) Validate() error
type ModifyImageAttributesInput ¶
type ModifyImageAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` Image *string `json:"image" name:"image" location:"params"` // Required ImageName *string `json:"image_name" name:"image_name" location:"params"` }
func (*ModifyImageAttributesInput) Validate ¶
func (v *ModifyImageAttributesInput) Validate() error
type ModifyInstanceAttributesInput ¶
type ModifyInstanceAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` Instance *string `json:"instance" name:"instance" location:"params"` // Required InstanceName *string `json:"instance_name" name:"instance_name" location:"params"` }
func (*ModifyInstanceAttributesInput) Validate ¶
func (v *ModifyInstanceAttributesInput) Validate() error
type ModifyKeyPairAttributesInput ¶
type ModifyKeyPairAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` KeyPair *string `json:"keypair" name:"keypair" location:"params"` // Required KeyPairName *string `json:"keypair_name" name:"keypair_name" location:"params"` }
func (*ModifyKeyPairAttributesInput) Validate ¶
func (v *ModifyKeyPairAttributesInput) Validate() error
type ModifyLoadBalancerAttributesInput ¶
type ModifyLoadBalancerAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` HTTPHeaderSize *int `json:"http_header_size" name:"http_header_size" location:"params"` LoadBalancer *string `json:"loadbalancer" name:"loadbalancer" location:"params"` // Required LoadBalancerName *string `json:"loadbalancer_name" name:"loadbalancer_name" location:"params"` NodeCount *int `json:"node_count" name:"node_count" location:"params"` PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` }
func (*ModifyLoadBalancerAttributesInput) Validate ¶
func (v *ModifyLoadBalancerAttributesInput) Validate() error
type ModifyLoadBalancerBackendAttributesInput ¶
type ModifyLoadBalancerBackendAttributesInput struct { // Disabled's available values: 0, 1 Disabled *int `json:"disabled" name:"disabled" location:"params"` LoadBalancerBackend *string `json:"loadbalancer_backend" name:"loadbalancer_backend" location:"params"` LoadBalancerBackendName *string `json:"loadbalancer_backend_name" name:"loadbalancer_backend_name" location:"params"` LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"params"` Port *string `json:"port" name:"port" location:"params"` Weight *string `json:"weight" name:"weight" location:"params"` }
func (*ModifyLoadBalancerBackendAttributesInput) Validate ¶
func (v *ModifyLoadBalancerBackendAttributesInput) Validate() error
type ModifyLoadBalancerListenerAttributesInput ¶
type ModifyLoadBalancerListenerAttributesInput struct { BalanceMode *string `json:"balance_mode" name:"balance_mode" location:"params"` Forwardfor *int `json:"forwardfor" name:"forwardfor" location:"params"` HealthyCheckMethod *string `json:"healthy_check_method" name:"healthy_check_method" location:"params"` HealthyCheckOption *string `json:"healthy_check_option" name:"healthy_check_option" location:"params"` LoadBalancerListener *string `json:"loadbalancer_listener" name:"loadbalancer_listener" location:"params"` // Required LoadBalancerListenerName *string `json:"loadbalancer_listener_name" name:"loadbalancer_listener_name" location:"params"` ServerCertificateID *string `json:"server_certificate_id" name:"server_certificate_id" location:"params"` SessionSticky *string `json:"session_sticky" name:"session_sticky" location:"params"` }
func (*ModifyLoadBalancerListenerAttributesInput) Validate ¶
func (v *ModifyLoadBalancerListenerAttributesInput) Validate() error
type ModifyLoadBalancerPolicyAttributesInput ¶
type ModifyLoadBalancerPolicyAttributesInput struct { LoadBalancerPolicy *string `json:"loadbalancer_policy" name:"loadbalancer_policy" location:"params"` // Required LoadBalancerPolicyName *string `json:"loadbalancer_policy_name" name:"loadbalancer_policy_name" location:"params"` Operator *string `json:"operator" name:"operator" location:"params"` }
func (*ModifyLoadBalancerPolicyAttributesInput) Validate ¶
func (v *ModifyLoadBalancerPolicyAttributesInput) Validate() error
type ModifyLoadBalancerPolicyAttributesOutput ¶
type ModifyLoadBalancerPolicyAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyID *string `json:"loadbalancer_policy_id" name:"loadbalancer_policy_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ModifyLoadBalancerPolicyRuleAttributesInput ¶
type ModifyLoadBalancerPolicyRuleAttributesInput struct { LoadBalancerPolicyRule *string `json:"loadbalancer_policy_rule" name:"loadbalancer_policy_rule" location:"params"` // Required LoadBalancerPolicyRuleName *string `json:"loadbalancer_policy_rule_name" name:"loadbalancer_policy_rule_name" location:"params"` Val *string `json:"val" name:"val" location:"params"` }
func (*ModifyLoadBalancerPolicyRuleAttributesInput) Validate ¶
func (v *ModifyLoadBalancerPolicyRuleAttributesInput) Validate() error
type ModifyLoadBalancerPolicyRuleAttributesOutput ¶
type ModifyLoadBalancerPolicyRuleAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` LoadBalancerPolicyRuleID *string `json:"loadbalancer_policy_rule_id" name:"loadbalancer_policy_rule_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ModifyMongoAttributesInput ¶
type ModifyMongoAttributesInput struct { AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time" location:"params"` Description *string `json:"description" name:"description" location:"params"` Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required MongoName *string `json:"mongo_name" name:"mongo_name" location:"params"` }
func (*ModifyMongoAttributesInput) Validate ¶
func (v *ModifyMongoAttributesInput) Validate() error
type ModifyMongoInstancesInput ¶
type ModifyMongoInstancesInput struct { Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required PrivateIPs []*MongoPrivateIP `json:"private_ips" name:"private_ips" location:"params"` }
func (*ModifyMongoInstancesInput) Validate ¶
func (v *ModifyMongoInstancesInput) Validate() error
type ModifyMongoInstancesOutput ¶
type ModifyMongoInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ModifyNicAttributesInput ¶
type ModifyNicAttributesInput struct { NICID *string `json:"nic_id" name:"nic_id" location:"params"` // Required NICName *string `json:"nic_name" name:"nic_name" location:"params"` PrivateIP *string `json:"private_ip" name:"private_ip" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*ModifyNicAttributesInput) Validate ¶
func (v *ModifyNicAttributesInput) Validate() error
type ModifyRDBParametersInput ¶
type ModifyRDBParametersInput struct { Parameters []*RDBParameters `json:"parameters" name:"parameters" location:"params"` RDB *string `json:"rdb" name:"rdb" location:"params"` // Required }
func (*ModifyRDBParametersInput) Validate ¶
func (v *ModifyRDBParametersInput) Validate() error
type ModifyRouterAttributesInput ¶
type ModifyRouterAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` DYNIPEnd *string `json:"dyn_ip_end" name:"dyn_ip_end" location:"params"` DYNIPStart *string `json:"dyn_ip_start" name:"dyn_ip_start" location:"params"` EIP *string `json:"eip" name:"eip" location:"params"` // Features's available values: 1, 2 Features *int `json:"features" name:"features" location:"params"` Router *string `json:"router" name:"router" location:"params"` // Required RouterName *string `json:"router_name" name:"router_name" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` }
func (*ModifyRouterAttributesInput) Validate ¶
func (v *ModifyRouterAttributesInput) Validate() error
type ModifyRouterStaticAttributesInput ¶
type ModifyRouterStaticAttributesInput struct { RouterStatic *string `json:"router_static" name:"router_static" location:"params"` // Required RouterStaticName *string `json:"router_static_name" name:"router_static_name" location:"params"` Val1 *string `json:"val1" name:"val1" location:"params"` Val2 *string `json:"val2" name:"val2" location:"params"` Val3 *string `json:"val3" name:"val3" location:"params"` Val4 *string `json:"val4" name:"val4" location:"params"` Val5 *string `json:"val5" name:"val5" location:"params"` Val6 *string `json:"val6" name:"val6" location:"params"` }
func (*ModifyRouterStaticAttributesInput) Validate ¶
func (v *ModifyRouterStaticAttributesInput) Validate() error
type ModifyRouterStaticAttributesOutput ¶
type ModifyRouterStaticAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticID *string `json:"router_static_id" name:"router_static_id" location:"elements"` }
type ModifyRouterStaticEntryAttributesInput ¶
type ModifyRouterStaticEntryAttributesInput struct { RouterStaticEntry *string `json:"router_static_entry" name:"router_static_entry" location:"params"` // Required RouterStaticEntryName *string `json:"router_static_entry_name" name:"router_static_entry_name" location:"params"` Val1 *string `json:"val1" name:"val1" location:"params"` Val2 *string `json:"val2" name:"val2" location:"params"` }
func (*ModifyRouterStaticEntryAttributesInput) Validate ¶
func (v *ModifyRouterStaticEntryAttributesInput) Validate() error
type ModifyRouterStaticEntryAttributesOutput ¶
type ModifyRouterStaticEntryAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` RouterStaticEntry *string `json:"router_static_entry" name:"router_static_entry" location:"elements"` }
type ModifyS2ServerInput ¶
type ModifyS2ServerInput struct { Description *string `json:"description" name:"description" location:"params"` S2Server *string `json:"s2_server" name:"s2_server" location:"params"` // Required S2ServerName *string `json:"s2_server_name" name:"s2_server_name" location:"params"` }
func (*ModifyS2ServerInput) Validate ¶
func (v *ModifyS2ServerInput) Validate() error
type ModifyS2ServerOutput ¶
type ModifyS2SharedTargetsInput ¶
type ModifyS2SharedTargetsInput struct {}
func (*ModifyS2SharedTargetsInput) Validate ¶
func (v *ModifyS2SharedTargetsInput) Validate() error
type ModifyS2SharedTargetsOutput ¶
type ModifyS2SharedTargetsOutput struct {}
type ModifySecurityGroupAttributesInput ¶
type ModifySecurityGroupAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required SecurityGroupName *string `json:"security_group_name" name:"security_group_name" location:"params"` }
func (*ModifySecurityGroupAttributesInput) Validate ¶
func (v *ModifySecurityGroupAttributesInput) Validate() error
type ModifySecurityGroupAttributesOutput ¶
type ModifySecurityGroupAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"` }
type ModifySecurityGroupIPSetAttributesInput ¶
type ModifySecurityGroupIPSetAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` SecurityGroupIPSet *string `json:"security_group_ipset" name:"security_group_ipset" location:"params"` // Required SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name" location:"params"` Val *string `json:"val" name:"val" location:"params"` }
func (*ModifySecurityGroupIPSetAttributesInput) Validate ¶
func (v *ModifySecurityGroupIPSetAttributesInput) Validate() error
type ModifySecurityGroupIPSetAttributesOutput ¶
type ModifySecurityGroupIPSetAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupIPSetID *string `json:"security_group_ipset_id" name:"security_group_ipset_id" location:"elements"` }
type ModifySecurityGroupRuleAttributesInput ¶
type ModifySecurityGroupRuleAttributesInput struct { // Direction's available values: 0, 1 Direction *int `json:"direction" name:"direction" location:"params"` Priority *int `json:"priority" name:"priority" location:"params"` Protocol *string `json:"protocol" name:"protocol" location:"params"` // RuleAction's available values: accept, drop RuleAction *string `json:"rule_action" name:"rule_action" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` SecurityGroupRule *string `json:"security_group_rule" name:"security_group_rule" location:"params"` // Required SecurityGroupRuleName *string `json:"security_group_rule_name" name:"security_group_rule_name" location:"params"` Val1 *string `json:"val1" name:"val1" location:"params"` Val2 *string `json:"val2" name:"val2" location:"params"` Val3 *string `json:"val3" name:"val3" location:"params"` }
func (*ModifySecurityGroupRuleAttributesInput) Validate ¶
func (v *ModifySecurityGroupRuleAttributesInput) Validate() error
type ModifySecurityGroupRuleAttributesOutput ¶
type ModifySecurityGroupRuleAttributesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupRuleID *string `json:"security_group_rule_id" name:"security_group_rule_id" location:"elements"` }
type ModifyServerCertificateAttributesInput ¶
type ModifyServerCertificateAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` ServerCertificate *string `json:"server_certificate" name:"server_certificate" location:"params"` // Required ServerCertificateName *string `json:"server_certificate_name" name:"server_certificate_name" location:"params"` }
func (*ModifyServerCertificateAttributesInput) Validate ¶
func (v *ModifyServerCertificateAttributesInput) Validate() error
type ModifySnapshotAttributesInput ¶
type ModifySnapshotAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required SnapshotName *string `json:"snapshot_name" name:"snapshot_name" location:"params"` }
func (*ModifySnapshotAttributesInput) Validate ¶
func (v *ModifySnapshotAttributesInput) Validate() error
type ModifyTagAttributesInput ¶
type ModifyTagAttributesInput struct { Color *string `json:"color" name:"color" location:"params"` Description *string `json:"description" name:"description" location:"params"` Tag *string `json:"tag" name:"tag" location:"params"` // Required TagName *string `json:"tag_name" name:"tag_name" location:"params"` }
func (*ModifyTagAttributesInput) Validate ¶
func (v *ModifyTagAttributesInput) Validate() error
type ModifyVolumeAttributesInput ¶
type ModifyVolumeAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` Volume *string `json:"volume" name:"volume" location:"params"` // Required VolumeName *string `json:"volume_name" name:"volume_name" location:"params"` }
func (*ModifyVolumeAttributesInput) Validate ¶
func (v *ModifyVolumeAttributesInput) Validate() error
type ModifyVxNetAttributesInput ¶
type ModifyVxNetAttributesInput struct { Description *string `json:"description" name:"description" location:"params"` VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required VxNetName *string `json:"vxnet_name" name:"vxnet_name" location:"params"` }
func (*ModifyVxNetAttributesInput) Validate ¶
func (v *ModifyVxNetAttributesInput) Validate() error
type Mongo ¶
type Mongo struct { // AlarmStatus's available values: ok, alarm, insufficient AlarmStatus *string `json:"alarm_status" name:"alarm_status"` AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time"` AutoMinorVerUpgrade *int `json:"auto_minor_ver_upgrade" name:"auto_minor_ver_upgrade"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` LatestSnapshotTime *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"` MongoID *string `json:"mongo_id" name:"mongo_id"` MongoName *string `json:"mongo_name" name:"mongo_name"` MongoType *int `json:"mongo_type" name:"mongo_type"` MongoVersion *string `json:"mongo_version" name:"mongo_version"` // Status's available values: pending, active, stopped, deleted, suspended, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` StorageSize *int `json:"storage_size" name:"storage_size"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, stopping, starting, deleting, resizing, suspending, vxnet-changing, snapshot-creating, instances-adding, instances-removing, pg-applying TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNet *VxNet `json:"vxnet" name:"vxnet"` }
type MongoNode ¶
type MongoNode struct { IP *string `json:"ip" name:"ip"` MongoID *string `json:"mongo_id" name:"mongo_id"` MongoNodeID *string `json:"mongo_node_id" name:"mongo_node_id"` Primary *int `json:"primary" name:"primary"` Status *string `json:"status" name:"status"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
type MongoParameter ¶
type MongoParameter struct { // IsReadonly's available values: 0, 1 IsReadonly *int `json:"is_readonly" name:"is_readonly"` // IsStatic's available values: 0, 1 IsStatic *int `json:"is_static" name:"is_static"` OPTName *string `json:"opt_name" name:"opt_name"` ParameterName *string `json:"parameter_name" name:"parameter_name"` // ParameterType's available values: string, int, bool ParameterType *string `json:"parameter_type" name:"parameter_type"` ParameterValue *string `json:"parameter_value" name:"parameter_value"` ResourceType *string `json:"resource_type" name:"resource_type"` }
func (*MongoParameter) Validate ¶
func (v *MongoParameter) Validate() error
type MongoPrivateIP ¶
type MongoPrivateIP struct { Priority0 *string `json:"priority0" name:"priority0"` Replica *string `json:"replica" name:"replica"` }
func (*MongoPrivateIP) Validate ¶
func (v *MongoPrivateIP) Validate() error
type MongoService ¶
type MongoService struct { Config *config.Config Properties *MongoServiceProperties }
func (*MongoService) AddMongoInstances ¶
func (s *MongoService) AddMongoInstances(i *AddMongoInstancesInput) (*AddMongoInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/add_mongo_instances.html
func (*MongoService) ChangeMongoVxNet ¶
func (s *MongoService) ChangeMongoVxNet(i *ChangeMongoVxNetInput) (*ChangeMongoVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/change_mongo_vxnet.html
func (*MongoService) CreateMongo ¶
func (s *MongoService) CreateMongo(i *CreateMongoInput) (*CreateMongoOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/create_mongo.html
func (*MongoService) CreateMongoFromSnapshot ¶
func (s *MongoService) CreateMongoFromSnapshot(i *CreateMongoFromSnapshotInput) (*CreateMongoFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/create_mongo_from_snapshot.html
func (*MongoService) DeleteMongos ¶
func (s *MongoService) DeleteMongos(i *DeleteMongosInput) (*DeleteMongosOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/delete_mongos.html
func (*MongoService) DescribeMongoNodes ¶
func (s *MongoService) DescribeMongoNodes(i *DescribeMongoNodesInput) (*DescribeMongoNodesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/describe_mongo_nodes.html
func (*MongoService) DescribeMongoParameters ¶
func (s *MongoService) DescribeMongoParameters(i *DescribeMongoParametersInput) (*DescribeMongoParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/describe_mongo_parameters.html
func (*MongoService) DescribeMongos ¶
func (s *MongoService) DescribeMongos(i *DescribeMongosInput) (*DescribeMongosOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/describe_mongos.html
func (*MongoService) GetMongoMonitor ¶
func (s *MongoService) GetMongoMonitor(i *GetMongoMonitorInput) (*GetMongoMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_mongo_monitor.html
func (*MongoService) ModifyMongoAttributes ¶
func (s *MongoService) ModifyMongoAttributes(i *ModifyMongoAttributesInput) (*ModifyMongoAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/modify_mongo_attributes.html
func (*MongoService) ModifyMongoInstances ¶
func (s *MongoService) ModifyMongoInstances(i *ModifyMongoInstancesInput) (*ModifyMongoInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/modify_mongo_instances.html
func (*MongoService) RemoveMongoInstances ¶
func (s *MongoService) RemoveMongoInstances(i *RemoveMongoInstancesInput) (*RemoveMongoInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/remove_mongo_instances.html
func (*MongoService) ResizeMongos ¶
func (s *MongoService) ResizeMongos(i *ResizeMongosInput) (*ResizeMongosOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/resize_mongos.html
func (*MongoService) StartMongos ¶
func (s *MongoService) StartMongos(i *StartMongosInput) (*StartMongosOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/start_mongos.html
func (*MongoService) StopMongos ¶
func (s *MongoService) StopMongos(i *StopMongosInput) (*StopMongosOutput, error)
Documentation URL: https://docs.qingcloud.com/api/mongo/stop_mongos.html
type MongoServiceProperties ¶
type MongoServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type NIC ¶
type NIC struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` InstanceID *string `json:"instance_id" name:"instance_id"` NICID *string `json:"nic_id" name:"nic_id"` NICName *string `json:"nic_name" name:"nic_name"` Owner *string `json:"owner" name:"owner"` PrivateIP *string `json:"private_ip" name:"private_ip"` Role *int `json:"role" name:"role"` RootUserID *string `json:"root_user_id" name:"root_user_id"` SecurityGroup *string `json:"security_group" name:"security_group"` Sequence *int `json:"sequence" name:"sequence"` // Status's available values: available, in-use Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` Tags []*Tag `json:"tags" name:"tags"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
type NICIP ¶
type NicService ¶
type NicService struct { Config *config.Config Properties *NicServiceProperties }
func (*NicService) AttachNics ¶
func (s *NicService) AttachNics(i *AttachNicsInput) (*AttachNicsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/attach_nics.html
func (*NicService) CreateNics ¶
func (s *NicService) CreateNics(i *CreateNicsInput) (*CreateNicsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/create_nics.html
func (*NicService) DeleteNics ¶
func (s *NicService) DeleteNics(i *DeleteNicsInput) (*DeleteNicsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/delete_nics.html
func (*NicService) DescribeNics ¶
func (s *NicService) DescribeNics(i *DescribeNicsInput) (*DescribeNicsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/describe_nics.html
func (*NicService) DetachNics ¶
func (s *NicService) DetachNics(i *DetachNicsInput) (*DetachNicsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/detach_nics.html
func (*NicService) ModifyNicAttributes ¶
func (s *NicService) ModifyNicAttributes(i *ModifyNicAttributesInput) (*ModifyNicAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/nic/modify-nic-attributes.html
type NicServiceProperties ¶
type NicServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type PowerOffRoutersInput ¶
type PowerOffRoutersInput struct {
Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}
func (*PowerOffRoutersInput) Validate ¶
func (v *PowerOffRoutersInput) Validate() error
type PowerOffRoutersOutput ¶
type PowerOffS2ServersInput ¶
type PowerOffS2ServersInput struct {
S2Servers *string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}
func (*PowerOffS2ServersInput) Validate ¶
func (v *PowerOffS2ServersInput) Validate() error
type PowerOffS2ServersOutput ¶
type PowerOnRoutersInput ¶
type PowerOnRoutersInput struct {
Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}
func (*PowerOnRoutersInput) Validate ¶
func (v *PowerOnRoutersInput) Validate() error
type PowerOnRoutersOutput ¶
type PowerOnS2ServersInput ¶
type PowerOnS2ServersInput struct {
S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}
func (*PowerOnS2ServersInput) Validate ¶
func (v *PowerOnS2ServersInput) Validate() error
type PowerOnS2ServersOutput ¶
type QingCloudService ¶
type QingCloudService struct { Config *config.Config Properties *QingCloudServiceProperties }
QingCloudService: QingCloud provides a platform which can make the delivery of computing resources more simple, efficient and reliable, even more environmental.
func (*QingCloudService) Cache ¶
func (s *QingCloudService) Cache(zone string) (*CacheService, error)
func (*QingCloudService) Cluster ¶
func (s *QingCloudService) Cluster(zone string) (*ClusterService, error)
func (*QingCloudService) DNSAlias ¶
func (s *QingCloudService) DNSAlias(zone string) (*DNSAliasService, error)
func (*QingCloudService) DescribeZones ¶
func (s *QingCloudService) DescribeZones(i *DescribeZonesInput) (*DescribeZonesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/zone/describe_zones.html
func (*QingCloudService) EIP ¶
func (s *QingCloudService) EIP(zone string) (*EIPService, error)
func (*QingCloudService) Image ¶
func (s *QingCloudService) Image(zone string) (*ImageService, error)
func (*QingCloudService) Instance ¶
func (s *QingCloudService) Instance(zone string) (*InstanceService, error)
func (*QingCloudService) Job ¶
func (s *QingCloudService) Job(zone string) (*JobService, error)
func (*QingCloudService) KeyPair ¶
func (s *QingCloudService) KeyPair(zone string) (*KeyPairService, error)
func (*QingCloudService) LoadBalancer ¶
func (s *QingCloudService) LoadBalancer(zone string) (*LoadBalancerService, error)
func (*QingCloudService) Mongo ¶
func (s *QingCloudService) Mongo(zone string) (*MongoService, error)
func (*QingCloudService) Nic ¶
func (s *QingCloudService) Nic(zone string) (*NicService, error)
func (*QingCloudService) RDB ¶
func (s *QingCloudService) RDB(zone string) (*RDBService, error)
func (*QingCloudService) Router ¶
func (s *QingCloudService) Router(zone string) (*RouterService, error)
func (*QingCloudService) SecurityGroup ¶
func (s *QingCloudService) SecurityGroup(zone string) (*SecurityGroupService, error)
func (*QingCloudService) SharedStorage ¶
func (s *QingCloudService) SharedStorage(zone string) (*SharedStorageService, error)
func (*QingCloudService) Snapshot ¶
func (s *QingCloudService) Snapshot(zone string) (*SnapshotService, error)
func (*QingCloudService) Tag ¶
func (s *QingCloudService) Tag(zone string) (*TagService, error)
func (*QingCloudService) UserData ¶
func (s *QingCloudService) UserData(zone string) (*UserDataService, error)
func (*QingCloudService) Volume ¶
func (s *QingCloudService) Volume(zone string) (*VolumeService, error)
func (*QingCloudService) VxNet ¶
func (s *QingCloudService) VxNet(zone string) (*VxNetService, error)
type QingCloudServiceProperties ¶
type QingCloudServiceProperties struct { }
type RDB ¶
type RDB struct { // AlarmStatus's available values: ok, alarm, insufficient AlarmStatus *string `json:"alarm_status" name:"alarm_status"` AutoBackupTime *int `json:"auto_backup_time" name:"auto_backup_time"` AutoMinorVerUpgrade *int `json:"auto_minor_ver_upgrade" name:"auto_minor_ver_upgrade"` CreateTime *string `json:"create_time" name:"create_time"` Description *string `json:"description" name:"description"` EngineVersion *string `json:"engine_version" name:"engine_version"` LatestSnapshotTime *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"` MasterIP *string `json:"master_ip" name:"master_ip"` RDBEngine *string `json:"rdb_engine" name:"rdb_engine"` RDBID *string `json:"rdb_id" name:"rdb_id"` RDBName *string `json:"rdb_name" name:"rdb_name"` RDBType *int `json:"rdb_type" name:"rdb_type"` // Status's available values: pending, active, stopped, deleted, suspended, ceased Status *string `json:"status" name:"status"` StatusTime *string `json:"status_time" name:"status_time"` StorageSize *int `json:"storage_size" name:"storage_size"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, stopping, starting, deleting, backup-creating, temp-creating, configuring, switching, invalid-tackling, resizing, suspending, ceasing, instance-ceasing, vxnet-leaving, vxnet-joining TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNet *VxNet `json:"vxnet" name:"vxnet"` }
type RDBFile ¶
type RDBParameter ¶
type RDBParameter struct { Family *string `json:"family" name:"family"` // IsReadonly's available values: 0, 1 IsReadonly *int `json:"is_readonly" name:"is_readonly"` // IsStatic's available values: 0, 1 IsStatic *int `json:"is_static" name:"is_static"` MaxValue *int `json:"max_value" name:"max_value"` MinValue *int `json:"min_value" name:"min_value"` OPTName *string `json:"opt_name" name:"opt_name"` SectionName *string `json:"section_name" name:"section_name"` VarName *string `json:"var_name" name:"var_name"` VarType *string `json:"var_type" name:"var_type"` VarValue *string `json:"var_value" name:"var_value"` }
func (*RDBParameter) Validate ¶
func (v *RDBParameter) Validate() error
type RDBParameters ¶
type RDBParameters struct { BindAddress *string `json:"bind_address" name:"bind_address"` BinlogFormat *string `json:"binlog_format" name:"binlog_format"` CharacterSetServer *string `json:"character_set_server" name:"character_set_server"` DataDir *string `json:"datadir" name:"datadir"` DefaultStorageEngine *string `json:"default_storage_engine" name:"default_storage_engine"` ExpireLogsDays *int `json:"expire_logs_days" name:"expire_logs_days"` InnoDB *string `json:"innodb" name:"innodb"` InnoDBBufferPoolInstances *int `json:"innodb_buffer_pool_instances" name:"innodb_buffer_pool_instances"` InnoDBBufferPoolSize *string `json:"innodb_buffer_pool_size" name:"innodb_buffer_pool_size"` InnoDBFilePerTable *int `json:"innodb_file_per_table" name:"innodb_file_per_table"` InnoDBFlushLogAtTRXCommit *int `json:"innodb_flush_log_at_trx_commit" name:"innodb_flush_log_at_trx_commit"` InnoDBFlushMethod *string `json:"innodb_flush_method" name:"innodb_flush_method"` InnoDBIOCapacity *int `json:"innodb_io_capacity" name:"innodb_io_capacity"` InnoDBLogBufferSize *string `json:"innodb_log_buffer_size" name:"innodb_log_buffer_size"` InnoDBLogFileSize *string `json:"innodb_log_file_size" name:"innodb_log_file_size"` InnoDBLogFilesInGroup *int `json:"innodb_log_files_in_group" name:"innodb_log_files_in_group"` InnoDBMaxDirtyPagesPct *int `json:"innodb_max_dirty_pages_pct" name:"innodb_max_dirty_pages_pct"` InnoDBReadIOThreads *int `json:"innodb_read_io_threads" name:"innodb_read_io_threads"` InnoDBWriteIOThreads *int `json:"innodb_write_io_threads" name:"innodb_write_io_threads"` InteractiveTimeout *int `json:"interactive_timeout" name:"interactive_timeout"` KeyBufferSize *string `json:"key_buffer_size" name:"key_buffer_size"` LogBinIndex *string `json:"log-bin-index" name:"log-bin-index"` LogBin *string `json:"log_bin" name:"log_bin"` LogError *string `json:"log_error" name:"log_error"` LogQueriesNotUsingIndexes *string `json:"log_queries_not_using_indexes" name:"log_queries_not_using_indexes"` LogSlaveUpdates *int `json:"log_slave_updates" name:"log_slave_updates"` LongQueryTime *int `json:"long_query_time" name:"long_query_time"` LowerCaseTableNames *int `json:"lower_case_table_names" name:"lower_case_table_names"` MaxAllowedPacket *string `json:"max_allowed_packet" name:"max_allowed_packet"` MaxConnectErrors *int `json:"max_connect_errors" name:"max_connect_errors"` MaxConnections *int `json:"max_connections" name:"max_connections"` MaxHeapTableSize *string `json:"max_heap_table_size" name:"max_heap_table_size"` OpenFilesLimit *int `json:"open_files_limit" name:"open_files_limit"` Port *int `json:"port" name:"port"` QueryCacheSize *int `json:"query_cache_size" name:"query_cache_size"` QueryCacheType *int `json:"query_cache_type" name:"query_cache_type"` RelayLog *string `json:"relay_log" name:"relay_log"` RelayLogIndex *string `json:"relay_log_index" name:"relay_log_index"` SkipSlaveStart *int `json:"skip-slave-start" name:"skip-slave-start"` SkipNameResolve *int `json:"skip_name_resolve" name:"skip_name_resolve"` SlaveExecMode *string `json:"slave_exec_mode" name:"slave_exec_mode"` SlaveNetTimeout *int `json:"slave_net_timeout" name:"slave_net_timeout"` SlowQueryLog *int `json:"slow_query_log" name:"slow_query_log"` SlowQueryLogFile *string `json:"slow_query_log_file" name:"slow_query_log_file"` SQLMode *string `json:"sql_mode" name:"sql_mode"` SyncBinlog *int `json:"sync_binlog" name:"sync_binlog"` SyncMasterInfo *int `json:"sync_master_info" name:"sync_master_info"` SyncRelayLog *int `json:"sync_relay_log" name:"sync_relay_log"` SyncRelayLogInfo *int `json:"sync_relay_log_info" name:"sync_relay_log_info"` TableOpenCache *int `json:"table_open_cache" name:"table_open_cache"` ThreadCacheSize *int `json:"thread_cache_size" name:"thread_cache_size"` TMPTableSize *string `json:"tmp_table_size" name:"tmp_table_size"` TMPDir *string `json:"tmpdir" name:"tmpdir"` User *string `json:"user" name:"user"` WaitTimeout *int `json:"wait_timeout" name:"wait_timeout"` }
func (*RDBParameters) Validate ¶
func (v *RDBParameters) Validate() error
type RDBPrivateIP ¶
type RDBPrivateIP struct { Master *string `json:"master" name:"master"` TopSlave *string `json:"topslave" name:"topslave"` }
func (*RDBPrivateIP) Validate ¶
func (v *RDBPrivateIP) Validate() error
type RDBService ¶
type RDBService struct { Config *config.Config Properties *RDBServiceProperties }
func (*RDBService) ApplyRDBParameterGroup ¶
func (s *RDBService) ApplyRDBParameterGroup(i *ApplyRDBParameterGroupInput) (*ApplyRDBParameterGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/apply_rdb_parameter_group.html
func (*RDBService) CeaseRDBInstance ¶
func (s *RDBService) CeaseRDBInstance(i *CeaseRDBInstanceInput) (*CeaseRDBInstanceOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/cease_rdb_instance.html
func (*RDBService) CopyRDBInstanceFilesToFTP ¶
func (s *RDBService) CopyRDBInstanceFilesToFTP(i *CopyRDBInstanceFilesToFTPInput) (*CopyRDBInstanceFilesToFTPOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/copy_rdb_instance_files_to_ftp.html
func (*RDBService) CreateRDB ¶
func (s *RDBService) CreateRDB(i *CreateRDBInput) (*CreateRDBOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/create_rdb.html
func (*RDBService) CreateRDBFromSnapshot ¶
func (s *RDBService) CreateRDBFromSnapshot(i *CreateRDBFromSnapshotInput) (*CreateRDBFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/create_rdb_from_snapshot.html
func (*RDBService) CreateTempRDBInstanceFromSnapshot ¶
func (s *RDBService) CreateTempRDBInstanceFromSnapshot(i *CreateTempRDBInstanceFromSnapshotInput) (*CreateTempRDBInstanceFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/create_temp_rdb_instance_from_snapshot.html
func (*RDBService) DeleteRDBs ¶
func (s *RDBService) DeleteRDBs(i *DeleteRDBsInput) (*DeleteRDBsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/delete_rdbs.html
func (*RDBService) DescribeRDBParameters ¶
func (s *RDBService) DescribeRDBParameters(i *DescribeRDBParametersInput) (*DescribeRDBParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/describe_rdb_parameters.html
func (*RDBService) DescribeRDBs ¶
func (s *RDBService) DescribeRDBs(i *DescribeRDBsInput) (*DescribeRDBsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/describe_rdbs.html
func (*RDBService) GetRDBInstanceFiles ¶
func (s *RDBService) GetRDBInstanceFiles(i *GetRDBInstanceFilesInput) (*GetRDBInstanceFilesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/get_rdb_instance_files.html
func (*RDBService) GetRDBMonitor ¶
func (s *RDBService) GetRDBMonitor(i *GetRDBMonitorInput) (*GetRDBMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_rdb_monitor.html
func (*RDBService) ModifyRDBParameters ¶
func (s *RDBService) ModifyRDBParameters(i *ModifyRDBParametersInput) (*ModifyRDBParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/modify_rdb_parameters.html
func (*RDBService) RDBsJoinVxNet ¶
func (s *RDBService) RDBsJoinVxNet(i *RDBsJoinVxNetInput) (*RDBsJoinVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/rdbs_join_vxnet.html
func (*RDBService) RDBsLeaveVxNet ¶
func (s *RDBService) RDBsLeaveVxNet(i *RDBsLeaveVxNetInput) (*RDBsLeaveVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/rdbs_leave_vxnet.html
func (*RDBService) ResizeRDBs ¶
func (s *RDBService) ResizeRDBs(i *ResizeRDBsInput) (*ResizeRDBsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/resize_rdbs.html
func (*RDBService) StartRDBs ¶
func (s *RDBService) StartRDBs(i *StartRDBsInput) (*StartRDBsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/start_rdbs.html
func (*RDBService) StopRDBs ¶
func (s *RDBService) StopRDBs(i *StopRDBsInput) (*StopRDBsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/rdb/stop_rdbs.html
type RDBServiceProperties ¶
type RDBServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type RDBsJoinVxNetInput ¶
type RDBsJoinVxNetInput struct { RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*RDBsJoinVxNetInput) Validate ¶
func (v *RDBsJoinVxNetInput) Validate() error
type RDBsJoinVxNetOutput ¶
type RDBsJoinVxNetOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBs []*string `json:"rdbs" name:"rdbs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` VxNet *string `json:"vxnet" name:"vxnet" location:"elements"` }
type RDBsLeaveVxNetInput ¶
type RDBsLeaveVxNetInput struct { RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required VxNet *string `json:"vxnet" name:"vxnet" location:"params"` // Required }
func (*RDBsLeaveVxNetInput) Validate ¶
func (v *RDBsLeaveVxNetInput) Validate() error
type RDBsLeaveVxNetOutput ¶
type RecoverClustersInput ¶
type RecoverClustersInput struct {
Resources []*string `json:"resources" name:"resources" location:"params"`
}
func (*RecoverClustersInput) Validate ¶
func (v *RecoverClustersInput) Validate() error
type RecoverClustersOutput ¶
type ReleaseEIPsInput ¶
type ReleaseEIPsInput struct {
EIPs []*string `json:"eips" name:"eips" location:"params"` // Required
}
func (*ReleaseEIPsInput) Validate ¶
func (v *ReleaseEIPsInput) Validate() error
type ReleaseEIPsOutput ¶
type RemoveMongoInstancesInput ¶
type RemoveMongoInstancesInput struct { Mongo *string `json:"mongo" name:"mongo" location:"params"` // Required MongoInstances []*string `json:"mongo_instances" name:"mongo_instances" location:"params"` // Required }
func (*RemoveMongoInstancesInput) Validate ¶
func (v *RemoveMongoInstancesInput) Validate() error
type RemoveMongoInstancesOutput ¶
type RemoveMongoInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongo *string `json:"mongo" name:"mongo" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ResetCacheParametersInput ¶
type ResetCacheParametersInput struct { CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required CacheParameterNames []*string `json:"cache_parameter_names" name:"cache_parameter_names" location:"params"` }
func (*ResetCacheParametersInput) Validate ¶
func (v *ResetCacheParametersInput) Validate() error
type ResetInstancesInput ¶
type ResetInstancesInput struct { Instances []*string `json:"instances" name:"instances" location:"params"` // Required LoginKeyPair *string `json:"login_keypair" name:"login_keypair" location:"params"` // LoginMode's available values: keypair, passwd LoginMode *string `json:"login_mode" name:"login_mode" location:"params"` // Required LoginPasswd *string `json:"login_passwd" name:"login_passwd" location:"params"` // NeedNewSID's available values: 0, 1 NeedNewSID *int `json:"need_newsid" name:"need_newsid" default:"0" location:"params"` }
func (*ResetInstancesInput) Validate ¶
func (v *ResetInstancesInput) Validate() error
type ResetInstancesOutput ¶
type ResizeCachesInput ¶
type ResizeCachesInput struct { CacheSize *int `json:"cache_size" name:"cache_size" location:"params"` // Required Caches []*string `json:"caches" name:"caches" location:"params"` // Required }
func (*ResizeCachesInput) Validate ¶
func (v *ResizeCachesInput) Validate() error
type ResizeCachesOutput ¶
type ResizeClusterInput ¶
type ResizeClusterInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required CPU *int `json:"cpu" name:"cpu" location:"params"` Gpu *int `json:"gpu" name:"gpu" location:"params"` Memory *int `json:"memory" name:"memory" location:"params"` NodeRole *string `json:"node_role" name:"node_role" location:"params"` StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` }
func (*ResizeClusterInput) Validate ¶
func (v *ResizeClusterInput) Validate() error
type ResizeClusterOutput ¶
type ResizeClusterOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` CPU *int `json:"cpu" name:"cpu" location:"elements"` Gpu *int `json:"gpu" name:"gpu" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Memory *int `json:"memory" name:"memory" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Role *string `json:"role" name:"role" location:"elements"` StorageSize *int `json:"storage_size" name:"storage_size" location:"elements"` }
type ResizeInstancesInput ¶
type ResizeInstancesInput struct { // CPU's available values: 1, 2, 4, 8, 16 CPU *int `json:"cpu" name:"cpu" location:"params"` InstanceType *string `json:"instance_type" name:"instance_type" location:"params"` Instances []*string `json:"instances" name:"instances" location:"params"` // Required // Memory's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768 Memory *int `json:"memory" name:"memory" location:"params"` }
func (*ResizeInstancesInput) Validate ¶
func (v *ResizeInstancesInput) Validate() error
type ResizeInstancesOutput ¶
type ResizeLoadBalancersInput ¶
type ResizeLoadBalancersInput struct { // LoadBalancerType's available values: 0, 1, 2, 3, 4, 5 LoadBalancerType *int `json:"loadbalancer_type" name:"loadbalancer_type" location:"params"` LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` }
func (*ResizeLoadBalancersInput) Validate ¶
func (v *ResizeLoadBalancersInput) Validate() error
type ResizeMongosInput ¶
type ResizeMongosInput struct { MongoType *int `json:"mongo_type" name:"mongo_type" location:"params"` Mongos []*string `json:"mongos" name:"mongos" location:"params"` // Required StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` }
func (*ResizeMongosInput) Validate ¶
func (v *ResizeMongosInput) Validate() error
type ResizeMongosOutput ¶
type ResizeMongosOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` Mongos []*string `json:"mongos" name:"mongos" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ResizeRDBsInput ¶
type ResizeRDBsInput struct { // RDBType's available values: 1, 2, 4, 8, 16, 32 RDBType *int `json:"rdb_type" name:"rdb_type" location:"params"` RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required StorageSize *int `json:"storage_size" name:"storage_size" location:"params"` }
func (*ResizeRDBsInput) Validate ¶
func (v *ResizeRDBsInput) Validate() error
type ResizeRDBsOutput ¶
type ResizeRDBsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBs []*string `json:"rdbs" name:"rdbs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type ResizeS2ServersInput ¶
type ResizeS2ServersInput struct { S2Server *string `json:"s2_server" name:"s2_server" location:"params"` // Required S2ServerType *int `json:"s2_server_type" name:"s2_server_type" location:"params"` // Required }
func (*ResizeS2ServersInput) Validate ¶
func (v *ResizeS2ServersInput) Validate() error
type ResizeS2ServersOutput ¶
type ResizeVolumesInput ¶
type ResizeVolumesInput struct { Size *int `json:"size" name:"size" location:"params"` // Required Volumes []*string `json:"volumes" name:"volumes" location:"params"` // Required }
func (*ResizeVolumesInput) Validate ¶
func (v *ResizeVolumesInput) Validate() error
type ResizeVolumesOutput ¶
type Resource ¶
type ResourceTagPair ¶
type ResourceTagPair struct { ResourceID *string `json:"resource_id" name:"resource_id"` ResourceType *string `json:"resource_type" name:"resource_type"` Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` TagID *string `json:"tag_id" name:"tag_id"` }
func (*ResourceTagPair) Validate ¶
func (v *ResourceTagPair) Validate() error
type ResourceTypeCount ¶
type ResourceTypeCount struct { Count *int `json:"count" name:"count"` ResourceType *string `json:"resource_type" name:"resource_type"` }
func (*ResourceTypeCount) Validate ¶
func (v *ResourceTypeCount) Validate() error
type RestartCacheNodesInput ¶
type RestartCacheNodesInput struct { Cache *string `json:"cache" name:"cache" location:"params"` // Required CacheNodes []*string `json:"cache_nodes" name:"cache_nodes" location:"params"` // Required }
func (*RestartCacheNodesInput) Validate ¶
func (v *RestartCacheNodesInput) Validate() error
type RestartCacheNodesOutput ¶
type RestartCachesInput ¶
type RestartCachesInput struct {
Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}
func (*RestartCachesInput) Validate ¶
func (v *RestartCachesInput) Validate() error
type RestartCachesOutput ¶
type RestartClusterServiceInput ¶
type RestartClusterServiceInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` Role *string `json:"role" name:"role" location:"params"` }
func (*RestartClusterServiceInput) Validate ¶
func (v *RestartClusterServiceInput) Validate() error
type RestartClusterServiceOutput ¶
type RestartClusterServiceOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Role *string `json:"role" name:"role" location:"elements"` }
type RestartInstancesInput ¶
type RestartInstancesInput struct {
Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}
func (*RestartInstancesInput) Validate ¶
func (v *RestartInstancesInput) Validate() error
type RestartInstancesOutput ¶
type RestoreClusterFromSnapshotInput ¶
type RestoreClusterFromSnapshotInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required ServiceParams *string `json:"service_params" name:"service_params" location:"params"` Snapshot *string `json:"snapshot" name:"snapshot" location:"params"` // Required }
func (*RestoreClusterFromSnapshotInput) Validate ¶
func (v *RestoreClusterFromSnapshotInput) Validate() error
type RestoreClusterFromSnapshotOutput ¶
type RestoreClusterFromSnapshotOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` ServiceParams *string `json:"service_params" name:"service_params" location:"elements"` SnapshotID *string `json:"snapshot_id" name:"snapshot_id" location:"elements"` }
type RevokeImageFromUsersInput ¶
type RevokeImageFromUsersInput struct { Image *string `json:"image" name:"image" location:"params"` // Required Users []*string `json:"users" name:"users" location:"params"` // Required }
func (*RevokeImageFromUsersInput) Validate ¶
func (v *RevokeImageFromUsersInput) Validate() error
type RollbackSecurityGroupInput ¶
type RollbackSecurityGroupInput struct { SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` // Required SecurityGroupSnapshot *string `json:"security_group_snapshot" name:"security_group_snapshot" location:"params"` // Required }
func (*RollbackSecurityGroupInput) Validate ¶
func (v *RollbackSecurityGroupInput) Validate() error
type RollbackSecurityGroupOutput ¶
type RollbackSecurityGroupOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id" location:"elements"` SecurityGroupSnapshotID *string `json:"security_group_snapshot_id" name:"security_group_snapshot_id" location:"elements"` }
type Router ¶
type Router struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` DYNIPEnd *string `json:"dyn_ip_end" name:"dyn_ip_end"` DYNIPStart *string `json:"dyn_ip_start" name:"dyn_ip_start"` EIP *EIP `json:"eip" name:"eip"` IPNetwork *string `json:"ip_network" name:"ip_network"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` ManagerIP *string `json:"manager_ip" name:"manager_ip"` Mode *int `json:"mode" name:"mode"` PrivateIP *string `json:"private_ip" name:"private_ip"` RouterID *string `json:"router_id" name:"router_id"` RouterName *string `json:"router_name" name:"router_name"` // RouterType's available values: 1 RouterType *int `json:"router_type" name:"router_type"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` // Status's available values: pending, active, poweroffed, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, updating, suspending, resuming, poweroffing, poweroning, deleting TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNets []*VxNet `json:"vxnets" name:"vxnets"` }
type RouterService ¶
type RouterService struct { Config *config.Config Properties *RouterServiceProperties }
func (*RouterService) AddRouterStaticEntries ¶
func (s *RouterService) AddRouterStaticEntries(i *AddRouterStaticEntriesInput) (*AddRouterStaticEntriesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/add_router_static_entries.html
func (*RouterService) AddRouterStatics ¶
func (s *RouterService) AddRouterStatics(i *AddRouterStaticsInput) (*AddRouterStaticsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/add_router_statics.html
func (*RouterService) CreateRouters ¶
func (s *RouterService) CreateRouters(i *CreateRoutersInput) (*CreateRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/create_routers.html
func (*RouterService) DeleteRouterStaticEntries ¶
func (s *RouterService) DeleteRouterStaticEntries(i *DeleteRouterStaticEntriesInput) (*DeleteRouterStaticEntriesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/delete_router_static_entries.html
func (*RouterService) DeleteRouterStatics ¶
func (s *RouterService) DeleteRouterStatics(i *DeleteRouterStaticsInput) (*DeleteRouterStaticsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/delete_router_statics.html
func (*RouterService) DeleteRouters ¶
func (s *RouterService) DeleteRouters(i *DeleteRoutersInput) (*DeleteRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/delete_routers.html
func (*RouterService) DescribeRouterStaticEntries ¶
func (s *RouterService) DescribeRouterStaticEntries(i *DescribeRouterStaticEntriesInput) (*DescribeRouterStaticEntriesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/describe_router_static_entries.html
func (*RouterService) DescribeRouterStatics ¶
func (s *RouterService) DescribeRouterStatics(i *DescribeRouterStaticsInput) (*DescribeRouterStaticsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/describe_router_statics.html
func (*RouterService) DescribeRouterVxNets ¶
func (s *RouterService) DescribeRouterVxNets(i *DescribeRouterVxNetsInput) (*DescribeRouterVxNetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/describe_router_vxnets.html
func (*RouterService) DescribeRouters ¶
func (s *RouterService) DescribeRouters(i *DescribeRoutersInput) (*DescribeRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/describe_routers.html
func (*RouterService) GetRouterMonitor ¶
func (s *RouterService) GetRouterMonitor(i *GetRouterMonitorInput) (*GetRouterMonitorOutput, error)
Documentation URL: https://docs.qingcloud.com/api/monitor/get_monitor.html
func (*RouterService) JoinRouter ¶
func (s *RouterService) JoinRouter(i *JoinRouterInput) (*JoinRouterOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/join_router.html
func (*RouterService) LeaveRouter ¶
func (s *RouterService) LeaveRouter(i *LeaveRouterInput) (*LeaveRouterOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/leave_router.html
func (*RouterService) ModifyRouterAttributes ¶
func (s *RouterService) ModifyRouterAttributes(i *ModifyRouterAttributesInput) (*ModifyRouterAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/modify_router_attributes.html
func (*RouterService) ModifyRouterStaticAttributes ¶
func (s *RouterService) ModifyRouterStaticAttributes(i *ModifyRouterStaticAttributesInput) (*ModifyRouterStaticAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/modify_router_static_attributes.html
func (*RouterService) ModifyRouterStaticEntryAttributes ¶
func (s *RouterService) ModifyRouterStaticEntryAttributes(i *ModifyRouterStaticEntryAttributesInput) (*ModifyRouterStaticEntryAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/modify_router_static_entry_attributes.html
func (*RouterService) PowerOffRouters ¶
func (s *RouterService) PowerOffRouters(i *PowerOffRoutersInput) (*PowerOffRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/poweroff_routers.html
func (*RouterService) PowerOnRouters ¶
func (s *RouterService) PowerOnRouters(i *PowerOnRoutersInput) (*PowerOnRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/poweron_routers.html
func (*RouterService) UpdateRouters ¶
func (s *RouterService) UpdateRouters(i *UpdateRoutersInput) (*UpdateRoutersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/router/update_routers.html
type RouterServiceProperties ¶
type RouterServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type RouterStatic ¶
type RouterStatic struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` RouterID *string `json:"router_id" name:"router_id"` RouterStaticID *string `json:"router_static_id" name:"router_static_id"` RouterStaticName *string `json:"router_static_name" name:"router_static_name"` // StaticType's available values: 1, 2, 3, 4, 5, 6, 7, 8 StaticType *int `json:"static_type" name:"static_type"` Val1 *string `json:"val1" name:"val1"` Val2 *string `json:"val2" name:"val2"` Val3 *string `json:"val3" name:"val3"` Val4 *string `json:"val4" name:"val4"` Val5 *string `json:"val5" name:"val5"` Val6 *string `json:"val6" name:"val6"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
func (*RouterStatic) Validate ¶
func (v *RouterStatic) Validate() error
type RouterStaticEntry ¶
type RouterStaticEntry struct { RouterID *string `json:"router_id" name:"router_id"` RouterStaticEntryID *string `json:"router_static_entry_id" name:"router_static_entry_id"` RouterStaticEntryName *string `json:"router_static_entry_name" name:"router_static_entry_name"` Val1 *string `json:"val1" name:"val1"` Val2 *string `json:"val2" name:"val2"` }
func (*RouterStaticEntry) Validate ¶
func (v *RouterStaticEntry) Validate() error
type RouterVxNet ¶
type RouterVxNet struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` DYNIPEnd *string `json:"dyn_ip_end" name:"dyn_ip_end"` DYNIPStart *string `json:"dyn_ip_start" name:"dyn_ip_start"` Features *int `json:"features" name:"features"` IPNetwork *string `json:"ip_network" name:"ip_network"` ManagerIP *string `json:"manager_ip" name:"manager_ip"` RouterID *string `json:"router_id" name:"router_id"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` }
func (*RouterVxNet) Validate ¶
func (v *RouterVxNet) Validate() error
type RunClusterCustomServiceInput ¶
type RunClusterCustomServiceInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` // Required Role *string `json:"role" name:"role" location:"params"` Service *string `json:"service" name:"service" location:"params"` // Required ServiceParams *string `json:"service_params" name:"service_params" location:"params"` }
func (*RunClusterCustomServiceInput) Validate ¶
func (v *RunClusterCustomServiceInput) Validate() error
type RunClusterCustomServiceOutput ¶
type RunClusterCustomServiceOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` ClusterID *string `json:"cluster_id" name:"cluster_id" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` Role *string `json:"role" name:"role" location:"elements"` Service *string `json:"service" name:"service" location:"elements"` }
type RunInstancesInput ¶
type RunInstancesInput struct { BillingID *string `json:"billing_id" name:"billing_id" location:"params"` Count *int `json:"count" name:"count" default:"1" location:"params"` // CPU's available values: 1, 2, 4, 8, 16 CPU *int `json:"cpu" name:"cpu" default:"1" location:"params"` // CPUMax's available values: 1, 2, 4, 8, 16 CPUMax *int `json:"cpu_max" name:"cpu_max" location:"params"` Hostname *string `json:"hostname" name:"hostname" location:"params"` ImageID *string `json:"image_id" name:"image_id" location:"params"` // Required // InstanceClass's available values: 0, 1 InstanceClass *int `json:"instance_class" name:"instance_class" location:"params"` InstanceName *string `json:"instance_name" name:"instance_name" location:"params"` InstanceType *string `json:"instance_type" name:"instance_type" location:"params"` LoginKeyPair *string `json:"login_keypair" name:"login_keypair" location:"params"` // LoginMode's available values: keypair, passwd LoginMode *string `json:"login_mode" name:"login_mode" location:"params"` // Required LoginPasswd *string `json:"login_passwd" name:"login_passwd" location:"params"` // MemMax's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768 MemMax *int `json:"mem_max" name:"mem_max" location:"params"` // Memory's available values: 1024, 2048, 4096, 6144, 8192, 12288, 16384, 24576, 32768 Memory *int `json:"memory" name:"memory" default:"1024" location:"params"` // NeedNewSID's available values: 0, 1 NeedNewSID *int `json:"need_newsid" name:"need_newsid" default:"0" location:"params"` // NeedUserdata's available values: 0, 1 NeedUserdata *int `json:"need_userdata" name:"need_userdata" default:"0" location:"params"` SecurityGroup *string `json:"security_group" name:"security_group" location:"params"` UIType *string `json:"ui_type" name:"ui_type" location:"params"` UserdataFile *string `json:"userdata_file" name:"userdata_file" default:"/etc/rc.local" location:"params"` UserdataPath *string `json:"userdata_path" name:"userdata_path" default:"/etc/qingcloud/userdata" location:"params"` // UserdataType's available values: plain, exec, tar UserdataType *string `json:"userdata_type" name:"userdata_type" location:"params"` UserdataValue *string `json:"userdata_value" name:"userdata_value" location:"params"` Volumes []*string `json:"volumes" name:"volumes" location:"params"` VxNets []*string `json:"vxnets" name:"vxnets" location:"params"` }
func (*RunInstancesInput) Validate ¶
func (v *RunInstancesInput) Validate() error
type RunInstancesOutput ¶
type RunInstancesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` Instances []*string `json:"instances" name:"instances" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type S2DefaultParameters ¶
type S2DefaultParameters struct { DefaultValue *string `json:"default_value" name:"default_value"` Description *string `json:"description" name:"description"` ParamName *string `json:"param_name" name:"param_name"` ServiceType *string `json:"service_type" name:"service_type"` TargetType *string `json:"target_type" name:"target_type"` }
func (*S2DefaultParameters) Validate ¶
func (v *S2DefaultParameters) Validate() error
type S2Server ¶
type S2Server struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` // IsApplied's available values: 0, 1 IsApplied *int `json:"is_applied" name:"is_applied"` Name *string `json:"name" name:"name"` PrivateIP *string `json:"private_ip" name:"private_ip"` S2ServerID *string `json:"s2_server_id" name:"s2_server_id"` // S2ServerType's available values: 0, 1, 2, 3 S2ServerType *int `json:"s2_server_type" name:"s2_server_type"` // ServiceType's available values: vsan ServiceType *string `json:"service_type" name:"service_type"` // Status's available values: pending, active, poweroffed, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, updating, suspending, resuming, poweroffing TransitionStatus *string `json:"transition_status" name:"transition_status"` VxNet *VxNet `json:"vxnet" name:"vxnet"` }
type S2SharedTarget ¶
type S2SharedTarget struct { string `json:"target_type" name:"target_type"` }TargetType *
func (*S2SharedTarget) Validate ¶
func (v *S2SharedTarget) Validate() error
type SecurityGroup ¶
type SecurityGroup struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` IsApplied *int `json:"is_applied" name:"is_applied"` IsDefault *int `json:"is_default" name:"is_default"` Resources []*Resource `json:"resources" name:"resources"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` SecurityGroupName *string `json:"security_group_name" name:"security_group_name"` Tags []*Tag `json:"tags" name:"tags"` }
func (*SecurityGroup) Validate ¶
func (v *SecurityGroup) Validate() error
type SecurityGroupIPSet ¶
type SecurityGroupIPSet struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` // IPSetType's available values: 0, 1 IPSetType *int `json:"ipset_type" name:"ipset_type"` SecurityGroupIPSetID *string `json:"security_group_ipset_id" name:"security_group_ipset_id"` SecurityGroupIPSetName *string `json:"security_group_ipset_name" name:"security_group_ipset_name"` Val *string `json:"val" name:"val"` }
func (*SecurityGroupIPSet) Validate ¶
func (v *SecurityGroupIPSet) Validate() error
type SecurityGroupRule ¶
type SecurityGroupRule struct { // Action's available values: accept, drop Action *string `json:"action" name:"action"` // Direction's available values: 0, 1 Direction *int `json:"direction" name:"direction"` Priority *int `json:"priority" name:"priority"` Protocol *string `json:"protocol" name:"protocol"` SecurityGroupID *string `json:"security_group_id" name:"security_group_id"` SecurityGroupRuleID *string `json:"security_group_rule_id" name:"security_group_rule_id"` SecurityGroupRuleName *string `json:"security_group_rule_name" name:"security_group_rule_name"` Val1 *string `json:"val1" name:"val1"` Val2 *string `json:"val2" name:"val2"` Val3 *string `json:"val3" name:"val3"` }
func (*SecurityGroupRule) Validate ¶
func (v *SecurityGroupRule) Validate() error
type SecurityGroupService ¶
type SecurityGroupService struct { Config *config.Config Properties *SecurityGroupServiceProperties }
func (*SecurityGroupService) AddSecurityGroupRules ¶
func (s *SecurityGroupService) AddSecurityGroupRules(i *AddSecurityGroupRulesInput) (*AddSecurityGroupRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/add_security_group_rules.html
func (*SecurityGroupService) ApplySecurityGroup ¶
func (s *SecurityGroupService) ApplySecurityGroup(i *ApplySecurityGroupInput) (*ApplySecurityGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/apply_security_group.html
func (*SecurityGroupService) CreateSecurityGroup ¶
func (s *SecurityGroupService) CreateSecurityGroup(i *CreateSecurityGroupInput) (*CreateSecurityGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/create_security_group.html
func (*SecurityGroupService) CreateSecurityGroupIPSet ¶
func (s *SecurityGroupService) CreateSecurityGroupIPSet(i *CreateSecurityGroupIPSetInput) (*CreateSecurityGroupIPSetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/create_security_group_ipset.html
func (*SecurityGroupService) CreateSecurityGroupSnapshot ¶
func (s *SecurityGroupService) CreateSecurityGroupSnapshot(i *CreateSecurityGroupSnapshotInput) (*CreateSecurityGroupSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/create_security_group_snapshot.html
func (*SecurityGroupService) DeleteSecurityGroupIPSets ¶
func (s *SecurityGroupService) DeleteSecurityGroupIPSets(i *DeleteSecurityGroupIPSetsInput) (*DeleteSecurityGroupIPSetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/delete_security_group_ipsets.html
func (*SecurityGroupService) DeleteSecurityGroupRules ¶
func (s *SecurityGroupService) DeleteSecurityGroupRules(i *DeleteSecurityGroupRulesInput) (*DeleteSecurityGroupRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/delete_security_group_rules.html
func (*SecurityGroupService) DeleteSecurityGroupSnapshots ¶
func (s *SecurityGroupService) DeleteSecurityGroupSnapshots(i *DeleteSecurityGroupSnapshotsInput) (*DeleteSecurityGroupSnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/delete_security_group_snapshots.html
func (*SecurityGroupService) DeleteSecurityGroups ¶
func (s *SecurityGroupService) DeleteSecurityGroups(i *DeleteSecurityGroupsInput) (*DeleteSecurityGroupsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/delete_security_groups.html
func (*SecurityGroupService) DescribeSecurityGroupIPSets ¶
func (s *SecurityGroupService) DescribeSecurityGroupIPSets(i *DescribeSecurityGroupIPSetsInput) (*DescribeSecurityGroupIPSetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/describe_security_group_ipsets.html
func (*SecurityGroupService) DescribeSecurityGroupRules ¶
func (s *SecurityGroupService) DescribeSecurityGroupRules(i *DescribeSecurityGroupRulesInput) (*DescribeSecurityGroupRulesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/describe_security_group_rules.html
func (*SecurityGroupService) DescribeSecurityGroupSnapshots ¶
func (s *SecurityGroupService) DescribeSecurityGroupSnapshots(i *DescribeSecurityGroupSnapshotsInput) (*DescribeSecurityGroupSnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/describe_security_group_snapshots.html
func (*SecurityGroupService) DescribeSecurityGroups ¶
func (s *SecurityGroupService) DescribeSecurityGroups(i *DescribeSecurityGroupsInput) (*DescribeSecurityGroupsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/describe_security_groups.html
func (*SecurityGroupService) ModifySecurityGroupAttributes ¶
func (s *SecurityGroupService) ModifySecurityGroupAttributes(i *ModifySecurityGroupAttributesInput) (*ModifySecurityGroupAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/modify_security_group_attributes.html
func (*SecurityGroupService) ModifySecurityGroupIPSetAttributes ¶
func (s *SecurityGroupService) ModifySecurityGroupIPSetAttributes(i *ModifySecurityGroupIPSetAttributesInput) (*ModifySecurityGroupIPSetAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/modify_security_group_ipset_attributes.html
func (*SecurityGroupService) ModifySecurityGroupRuleAttributes ¶
func (s *SecurityGroupService) ModifySecurityGroupRuleAttributes(i *ModifySecurityGroupRuleAttributesInput) (*ModifySecurityGroupRuleAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/modify_security_group_rule_attributes.html
func (*SecurityGroupService) RollbackSecurityGroup ¶
func (s *SecurityGroupService) RollbackSecurityGroup(i *RollbackSecurityGroupInput) (*RollbackSecurityGroupOutput, error)
Documentation URL: https://docs.qingcloud.com/api/sg/rollback_security_group.html
type SecurityGroupServiceProperties ¶
type SecurityGroupServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type SecurityGroupSnapshot ¶
type SecurityGroupSnapshot struct { GroupID *string `json:"group_id" name:"group_id"` Rules []*SecurityGroupRule `json:"rules" name:"rules"` SecurityGroupSnapshotID *string `json:"security_group_snapshot_id" name:"security_group_snapshot_id"` }
func (*SecurityGroupSnapshot) Validate ¶
func (v *SecurityGroupSnapshot) Validate() error
type ServerCertificate ¶
type ServerCertificate struct { CertificateContent *string `json:"certificate_content" name:"certificate_content"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` PrivateKey *string `json:"private_key" name:"private_key"` ServerCertificateID *string `json:"server_certificate_id" name:"server_certificate_id"` ServerCertificateName *string `json:"server_certificate_name" name:"server_certificate_name"` }
func (*ServerCertificate) Validate ¶
func (v *ServerCertificate) Validate() error
type SharedStorageService ¶
type SharedStorageService struct {}
func (*SharedStorageService) AttachToS2SharedTarget ¶
func (s *SharedStorageService) AttachToS2SharedTarget(i *AttachToS2SharedTargetInput) (*AttachToS2SharedTargetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/attach_to_s2_shared_target.html
func (*SharedStorageService) ChangeS2ServerVxNet ¶
func (s *SharedStorageService) ChangeS2ServerVxNet(i *ChangeS2ServerVxNetInput) (*ChangeS2ServerVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/change_s2_server_vxnet.html
func (*SharedStorageService) CreateS2Server ¶
func (s *SharedStorageService) CreateS2Server(i *CreateS2ServerInput) (*CreateS2ServerOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/create_s2_server.html
func (*SharedStorageService) CreateS2SharedTarget ¶
func (s *SharedStorageService) CreateS2SharedTarget(i *CreateS2SharedTargetInput) (*CreateS2SharedTargetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/create_s2_shared_target.html
func (*SharedStorageService) DeleteS2Servers ¶
func (s *SharedStorageService) DeleteS2Servers(i *DeleteS2ServersInput) (*DeleteS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/delete_s2_servers.html
func (*SharedStorageService) DeleteS2SharedTargets ¶
func (s *SharedStorageService) DeleteS2SharedTargets(i *DeleteS2SharedTargetsInput) (*DeleteS2SharedTargetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/delete_s2_shared_targets.html
func (*SharedStorageService) DescribeS2DefaultParameters ¶
func (s *SharedStorageService) DescribeS2DefaultParameters(i *DescribeS2DefaultParametersInput) (*DescribeS2DefaultParametersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/describle_s2_default_parameters.html
func (*SharedStorageService) DescribeS2Servers ¶
func (s *SharedStorageService) DescribeS2Servers(i *DescribeS2ServersInput) (*DescribeS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/describe_s2_servers.html
func (*SharedStorageService) DescribeS2SharedTargets ¶
func (s *SharedStorageService) DescribeS2SharedTargets(i *DescribeS2SharedTargetsInput) (*DescribeS2SharedTargetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/describe_s2_shared_targets.html
func (*SharedStorageService) DetachFromS2SharedTarget ¶
func (s *SharedStorageService) DetachFromS2SharedTarget(i *DetachFromS2SharedTargetInput) (*DetachFromS2SharedTargetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/detach_from_s2_shared_target.html
func (*SharedStorageService) DisableS2SharedTargets ¶
func (s *SharedStorageService) DisableS2SharedTargets(i *DisableS2SharedTargetsInput) (*DisableS2SharedTargetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/disable_s2_shared_targets.html
func (*SharedStorageService) EnableS2SharedTargets ¶
func (s *SharedStorageService) EnableS2SharedTargets(i *EnableS2SharedTargetsInput) (*EnableS2SharedTargetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/enable_s2_shared_targets.html
func (*SharedStorageService) ModifyS2Server ¶
func (s *SharedStorageService) ModifyS2Server(i *ModifyS2ServerInput) (*ModifyS2ServerOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/modify_s2_server.html
func (*SharedStorageService) ModifyS2SharedTargets ¶
func (s *SharedStorageService) ModifyS2SharedTargets(i *ModifyS2SharedTargetsInput) (*ModifyS2SharedTargetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/modify_s2_shared_target.html
func (*SharedStorageService) PowerOffS2Servers ¶
func (s *SharedStorageService) PowerOffS2Servers(i *PowerOffS2ServersInput) (*PowerOffS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/poweroff_s2_servers.html
func (*SharedStorageService) PowerOnS2Servers ¶
func (s *SharedStorageService) PowerOnS2Servers(i *PowerOnS2ServersInput) (*PowerOnS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/poweron_s2_servers.html
func (*SharedStorageService) ResizeS2Servers ¶
func (s *SharedStorageService) ResizeS2Servers(i *ResizeS2ServersInput) (*ResizeS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/resize_s2_servers.html
func (*SharedStorageService) UpdateS2Servers ¶
func (s *SharedStorageService) UpdateS2Servers(i *UpdateS2ServersInput) (*UpdateS2ServersOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vsan/update_s2_servers.html
type SharedStorageServiceProperties ¶
type SharedStorageServiceProperties struct { string `json:"zone" name:"zone"` // Required }Zone *
type Snapshot ¶
type Snapshot struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` HeadChain *string `json:"head_chain" name:"head_chain"` // IsHead's available values: 0, 1 IsHead *int `json:"is_head" name:"is_head"` // IsTaken's available values: 0, 1 IsTaken *int `json:"is_taken" name:"is_taken"` LatestSnapshotTime *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"` ParentID *string `json:"parent_id" name:"parent_id"` Provider *string `json:"provider" name:"provider"` Resource *Resource `json:"resource" name:"resource"` RootID *string `json:"root_id" name:"root_id"` Size *int `json:"size" name:"size"` SnapshotID *string `json:"snapshot_id" name:"snapshot_id"` SnapshotName *string `json:"snapshot_name" name:"snapshot_name"` SnapshotResource *SnapshotResource `json:"snapshot_resource" name:"snapshot_resource"` SnapshotTime *time.Time `json:"snapshot_time" name:"snapshot_time" format:"ISO 8601"` // SnapshotType's available values: 0, 1 SnapshotType *string `json:"snapshot_type" name:"snapshot_type"` // Status's available values: pending, available, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` Tags []*Tag `json:"tags" name:"tags"` TotalCount *int `json:"total_count" name:"total_count"` TotalSize *int `json:"total_size" name:"total_size"` // TransitionStatus's available values: creating, suspending, resuming, deleting, recovering TransitionStatus *string `json:"transition_status" name:"transition_status"` VirtualSize *int `json:"virtual_size" name:"virtual_size"` Visibility *string `json:"visibility" name:"visibility"` }
type SnapshotResource ¶
type SnapshotResource struct { OSFamily *string `json:"os_family" name:"os_family"` Platform *string `json:"platform" name:"platform"` }
func (*SnapshotResource) Validate ¶
func (v *SnapshotResource) Validate() error
type SnapshotService ¶
type SnapshotService struct { Config *config.Config Properties *SnapshotServiceProperties }
func (*SnapshotService) ApplySnapshots ¶
func (s *SnapshotService) ApplySnapshots(i *ApplySnapshotsInput) (*ApplySnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/apply_snapshots.html
func (*SnapshotService) CaptureInstanceFromSnapshot ¶
func (s *SnapshotService) CaptureInstanceFromSnapshot(i *CaptureInstanceFromSnapshotInput) (*CaptureInstanceFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/capture_instance_from_snapshot.html
func (*SnapshotService) CreateSnapshots ¶
func (s *SnapshotService) CreateSnapshots(i *CreateSnapshotsInput) (*CreateSnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/create_snapshots.html
func (*SnapshotService) CreateVolumeFromSnapshot ¶
func (s *SnapshotService) CreateVolumeFromSnapshot(i *CreateVolumeFromSnapshotInput) (*CreateVolumeFromSnapshotOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/create_volume_from_snapshot.html
func (*SnapshotService) DeleteSnapshots ¶
func (s *SnapshotService) DeleteSnapshots(i *DeleteSnapshotsInput) (*DeleteSnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/delete_snapshots.html
func (*SnapshotService) DescribeSnapshots ¶
func (s *SnapshotService) DescribeSnapshots(i *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/describe_snapshots.html
func (*SnapshotService) ModifySnapshotAttributes ¶
func (s *SnapshotService) ModifySnapshotAttributes(i *ModifySnapshotAttributesInput) (*ModifySnapshotAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/snapshot/modify_snapshot_attributes.html
type SnapshotServiceProperties ¶
type SnapshotServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type StartCachesInput ¶
type StartCachesInput struct {
Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}
func (*StartCachesInput) Validate ¶
func (v *StartCachesInput) Validate() error
type StartCachesOutput ¶
type StartCachesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type StartClustersInput ¶
type StartClustersInput struct {
Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required
}
func (*StartClustersInput) Validate ¶
func (v *StartClustersInput) Validate() error
type StartClustersOutput ¶
type StartInstancesInput ¶
type StartInstancesInput struct {
Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}
func (*StartInstancesInput) Validate ¶
func (v *StartInstancesInput) Validate() error
type StartInstancesOutput ¶
type StartLoadBalancersInput ¶
type StartLoadBalancersInput struct {
LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}
func (*StartLoadBalancersInput) Validate ¶
func (v *StartLoadBalancersInput) Validate() error
type StartMongosInput ¶
type StartMongosInput struct {
Mongos *string `json:"mongos" name:"mongos" location:"params"` // Required
}
func (*StartMongosInput) Validate ¶
func (v *StartMongosInput) Validate() error
type StartMongosOutput ¶
type StartRDBsInput ¶
type StartRDBsInput struct {
RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}
func (*StartRDBsInput) Validate ¶
func (v *StartRDBsInput) Validate() error
type StartRDBsOutput ¶
type StartRDBsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBs []*string `json:"rdbs" name:"rdbs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type StopCachesInput ¶
type StopCachesInput struct {
Caches []*string `json:"caches" name:"caches" location:"params"` // Required
}
func (*StopCachesInput) Validate ¶
func (v *StopCachesInput) Validate() error
type StopCachesOutput ¶
type StopCachesOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` CacheIDs []*string `json:"cache_ids" name:"cache_ids" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type StopClustersInput ¶
type StopClustersInput struct { Clusters []*string `json:"clusters" name:"clusters" location:"params"` // Required Force *int `json:"force" name:"force" location:"params"` }
func (*StopClustersInput) Validate ¶
func (v *StopClustersInput) Validate() error
type StopClustersOutput ¶
type StopInstancesInput ¶
type StopInstancesInput struct { // Force's available values: 0, 1 Force *int `json:"force" name:"force" default:"0" location:"params"` Instances []*string `json:"instances" name:"instances" location:"params"` // Required }
func (*StopInstancesInput) Validate ¶
func (v *StopInstancesInput) Validate() error
type StopInstancesOutput ¶
type StopLoadBalancersInput ¶
type StopLoadBalancersInput struct {
LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}
func (*StopLoadBalancersInput) Validate ¶
func (v *StopLoadBalancersInput) Validate() error
type StopLoadBalancersOutput ¶
type StopMongosInput ¶
type StopMongosInput struct {
Mongos []*string `json:"mongos" name:"mongos" location:"params"` // Required
}
func (*StopMongosInput) Validate ¶
func (v *StopMongosInput) Validate() error
type StopMongosOutput ¶
type StopRDBsInput ¶
type StopRDBsInput struct {
RDBs []*string `json:"rdbs" name:"rdbs" location:"params"` // Required
}
func (*StopRDBsInput) Validate ¶
func (v *StopRDBsInput) Validate() error
type StopRDBsOutput ¶
type StopRDBsOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` JobID *string `json:"job_id" name:"job_id" location:"elements"` RDBs []*string `json:"rdbs" name:"rdbs" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type Tag ¶
type Tag struct { Color *string `json:"color" name:"color"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` Owner *string `json:"owner" name:"owner"` ResourceCount *int `json:"resource_count" name:"resource_count"` ResourceTagPairs []*ResourceTagPair `json:"resource_tag_pairs" name:"resource_tag_pairs"` ResourceTypeCount []*ResourceTypeCount `json:"resource_type_count" name:"resource_type_count"` TagID *string `json:"tag_id" name:"tag_id"` TagKey *string `json:"tag_key" name:"tag_key"` TagName *string `json:"tag_name" name:"tag_name"` }
type TagService ¶
type TagService struct { Config *config.Config Properties *TagServiceProperties }
func (*TagService) AttachTags ¶
func (s *TagService) AttachTags(i *AttachTagsInput) (*AttachTagsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/attach_tags.html
func (*TagService) CreateTag ¶
func (s *TagService) CreateTag(i *CreateTagInput) (*CreateTagOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/create_tag.html
func (*TagService) DeleteTags ¶
func (s *TagService) DeleteTags(i *DeleteTagsInput) (*DeleteTagsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/delete_tags.html
func (*TagService) DescribeTags ¶
func (s *TagService) DescribeTags(i *DescribeTagsInput) (*DescribeTagsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/describe_tags.html
func (*TagService) DetachTags ¶
func (s *TagService) DetachTags(i *DetachTagsInput) (*DetachTagsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/detach_tags.html
func (*TagService) ModifyTagAttributes ¶
func (s *TagService) ModifyTagAttributes(i *ModifyTagAttributesInput) (*ModifyTagAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/tag/modify_tag_attributes.html
type TagServiceProperties ¶
type TagServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type TerminateInstancesInput ¶
type TerminateInstancesInput struct {
Instances []*string `json:"instances" name:"instances" location:"params"` // Required
}
func (*TerminateInstancesInput) Validate ¶
func (v *TerminateInstancesInput) Validate() error
type UpdateCacheInput ¶
type UpdateCacheInput struct { Cache *string `json:"cache" name:"cache" location:"params"` // Required PrivateIPs []*CachePrivateIP `json:"private_ips" name:"private_ips" location:"params"` }
func (*UpdateCacheInput) Validate ¶
func (v *UpdateCacheInput) Validate() error
type UpdateCacheOutput ¶
type UpdateCacheParametersInput ¶
type UpdateCacheParametersInput struct { CacheParameterGroup *string `json:"cache_parameter_group" name:"cache_parameter_group" location:"params"` // Required Parameters *CacheParameter `json:"parameters" name:"parameters" location:"params"` // Required }
func (*UpdateCacheParametersInput) Validate ¶
func (v *UpdateCacheParametersInput) Validate() error
type UpdateClusterEnvironmentInput ¶
type UpdateClusterEnvironmentInput struct { Cluster *string `json:"cluster" name:"cluster" location:"params"` Env interface{} `json:"env" name:"env" location:"params"` Roles []*string `json:"roles" name:"roles" location:"params"` }
func (*UpdateClusterEnvironmentInput) Validate ¶
func (v *UpdateClusterEnvironmentInput) Validate() error
type UpdateLoadBalancersInput ¶
type UpdateLoadBalancersInput struct {
LoadBalancers []*string `json:"loadbalancers" name:"loadbalancers" location:"params"` // Required
}
func (*UpdateLoadBalancersInput) Validate ¶
func (v *UpdateLoadBalancersInput) Validate() error
type UpdateRoutersInput ¶
type UpdateRoutersInput struct {
Routers []*string `json:"routers" name:"routers" location:"params"` // Required
}
func (*UpdateRoutersInput) Validate ¶
func (v *UpdateRoutersInput) Validate() error
type UpdateRoutersOutput ¶
type UpdateS2ServersInput ¶
type UpdateS2ServersInput struct {
S2Servers []*string `json:"s2_servers" name:"s2_servers" location:"params"` // Required
}
func (*UpdateS2ServersInput) Validate ¶
func (v *UpdateS2ServersInput) Validate() error
type UpdateS2ServersOutput ¶
type UpgradeClustersInput ¶
type UpgradeClustersInput struct { AppVersion *string `json:"app_version" name:"app_version" location:"params"` Clusters []*string `json:"clusters" name:"clusters" location:"params"` ServiceParams *string `json:"service_params" name:"service_params" location:"params"` }
func (*UpgradeClustersInput) Validate ¶
func (v *UpgradeClustersInput) Validate() error
type UpgradeClustersOutput ¶
type UploadUserDataAttachmentInput ¶
type UploadUserDataAttachmentInput struct { AttachmentContent *string `json:"attachment_content" name:"attachment_content" location:"params"` // Required AttachmentName *string `json:"attachment_name" name:"attachment_name" location:"params"` }
func (*UploadUserDataAttachmentInput) Validate ¶
func (v *UploadUserDataAttachmentInput) Validate() error
type UploadUserDataAttachmentOutput ¶
type UploadUserDataAttachmentOutput struct { Message *string `json:"message" name:"message"` Action *string `json:"action" name:"action" location:"elements"` AttachmentID *string `json:"attachment_id" name:"attachment_id" location:"elements"` RetCode *int `json:"ret_code" name:"ret_code" location:"elements"` }
type User ¶
type UserDataService ¶
type UserDataService struct { Config *config.Config Properties *UserDataServiceProperties }
func (*UserDataService) UploadUserDataAttachment ¶
func (s *UserDataService) UploadUserDataAttachment(i *UploadUserDataAttachmentInput) (*UploadUserDataAttachmentOutput, error)
Documentation URL: https://docs.qingcloud.com/api/userdata/upload_userdata_attachment.html
type UserDataServiceProperties ¶
type UserDataServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type Volume ¶
type Volume struct { CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` Device *string `json:"device" name:"device"` Instance *Instance `json:"instance" name:"instance"` Instances []*Instance `json:"instances" name:"instances"` LatestSnapshotTime *time.Time `json:"latest_snapshot_time" name:"latest_snapshot_time" format:"ISO 8601"` Owner *string `json:"owner" name:"owner"` PlaceGroupID *string `json:"place_group_id" name:"place_group_id"` Size *int `json:"size" name:"size"` // Status's available values: pending, available, in-use, suspended, deleted, ceased Status *string `json:"status" name:"status"` StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` SubCode *int `json:"sub_code" name:"sub_code"` Tags []*Tag `json:"tags" name:"tags"` // TransitionStatus's available values: creating, attaching, detaching, suspending, resuming, deleting, recovering TransitionStatus *string `json:"transition_status" name:"transition_status"` VolumeID *string `json:"volume_id" name:"volume_id"` VolumeName *string `json:"volume_name" name:"volume_name"` // VolumeType's available values: 0, 1, 2, 3 VolumeType *int `json:"volume_type" name:"volume_type"` }
type VolumeService ¶
type VolumeService struct { Config *config.Config Properties *VolumeServiceProperties }
func (*VolumeService) AttachVolumes ¶
func (s *VolumeService) AttachVolumes(i *AttachVolumesInput) (*AttachVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/attach_volumes.html
func (*VolumeService) CreateVolumes ¶
func (s *VolumeService) CreateVolumes(i *CreateVolumesInput) (*CreateVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/create_volumes.html
func (*VolumeService) DeleteVolumes ¶
func (s *VolumeService) DeleteVolumes(i *DeleteVolumesInput) (*DeleteVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/delete_volumes.html
func (*VolumeService) DescribeVolumes ¶
func (s *VolumeService) DescribeVolumes(i *DescribeVolumesInput) (*DescribeVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/describe_volumes.html
func (*VolumeService) DetachVolumes ¶
func (s *VolumeService) DetachVolumes(i *DetachVolumesInput) (*DetachVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/detach_volumes.html
func (*VolumeService) ModifyVolumeAttributes ¶
func (s *VolumeService) ModifyVolumeAttributes(i *ModifyVolumeAttributesInput) (*ModifyVolumeAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/modify_volume_attributes.html
func (*VolumeService) ResizeVolumes ¶
func (s *VolumeService) ResizeVolumes(i *ResizeVolumesInput) (*ResizeVolumesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/volume/resize_volumes.html
type VolumeServiceProperties ¶
type VolumeServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }
type VxNet ¶
type VxNet struct { AvailableIPCount *int `json:"available_ip_count" name:"available_ip_count"` CreateTime *time.Time `json:"create_time" name:"create_time" format:"ISO 8601"` Description *string `json:"description" name:"description"` InstanceIDs []*string `json:"instance_ids" name:"instance_ids"` Owner *string `json:"owner" name:"owner"` Router *Router `json:"router" name:"router"` Tags []*Tag `json:"tags" name:"tags"` VpcRouterID *string `json:"vpc_router_id" name:"vpc_router_id"` VxNetID *string `json:"vxnet_id" name:"vxnet_id"` VxNetName *string `json:"vxnet_name" name:"vxnet_name"` // VxNetType's available values: 0, 1 VxNetType *int `json:"vxnet_type" name:"vxnet_type"` }
type VxNetService ¶
type VxNetService struct { Config *config.Config Properties *VxNetServiceProperties }
func (*VxNetService) CreateVxNets ¶
func (s *VxNetService) CreateVxNets(i *CreateVxNetsInput) (*CreateVxNetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/create_vxnets.html
func (*VxNetService) DeleteVxNets ¶
func (s *VxNetService) DeleteVxNets(i *DeleteVxNetsInput) (*DeleteVxNetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/delete_vxnets.html
func (*VxNetService) DescribeVxNetInstances ¶
func (s *VxNetService) DescribeVxNetInstances(i *DescribeVxNetInstancesInput) (*DescribeVxNetInstancesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/describe_vxnet_instances.html
func (*VxNetService) DescribeVxNets ¶
func (s *VxNetService) DescribeVxNets(i *DescribeVxNetsInput) (*DescribeVxNetsOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/describe_vxnets.html
func (*VxNetService) JoinVxNet ¶
func (s *VxNetService) JoinVxNet(i *JoinVxNetInput) (*JoinVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/join_vxnet.html
func (*VxNetService) LeaveVxNet ¶
func (s *VxNetService) LeaveVxNet(i *LeaveVxNetInput) (*LeaveVxNetOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/leave_vxnet.html
func (*VxNetService) ModifyVxNetAttributes ¶
func (s *VxNetService) ModifyVxNetAttributes(i *ModifyVxNetAttributesInput) (*ModifyVxNetAttributesOutput, error)
Documentation URL: https://docs.qingcloud.com/api/vxnet/modify_vxnet_attributes.html
type VxNetServiceProperties ¶
type VxNetServiceProperties struct { // QingCloud Zone ID Zone *string `json:"zone" name:"zone"` // Required }