Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) AddTags(ResourceId, ResourceType, Tag1Key, Tag1Value string, optional openapi.M) (*openapi.Response, error)
- func (api API) AllocateEipAddress(optional openapi.M) (*AllocateEipAddressResponse, error)
- func (api API) AllocatePublicIpAddress(InstanceId string, optional openapi.M) (*AllocatePublicIpAddressResponse, error)
- func (api API) AssociateEipAddress(AllocationId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) AssociateHaVip(HaVipId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) AttachDisk(DiskId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) AuthorizeSecurityGroup(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) AuthorizeSecurityGroupEgress(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) CancelCopyImage(ImageId string, optional openapi.M) (*openapi.Response, error)
- func (api API) CheckAutoSnapshotPolicy(optional openapi.M) (*CheckAutoSnapshotPolicyResponse, error)
- func (api API) CheckDiskEnableAutoSnapshotValidation(DiskIds string, optional openapi.M) (*CheckDiskEnableAutoSnapshotValidationResponse, error)
- func (api API) CopyImage(...) (*CopyImageResponse, error)
- func (api API) CreateDisk(ZoneId string, optional openapi.M) (*CreateDiskResponse, error)
- func (api API) CreateHaVip(VSwitchId string, optional openapi.M) (*CreateHaVipResponse, error)
- func (api API) CreateImage(SnapshotId string, optional openapi.M) (*CreateImageResponse, error)
- func (api API) CreateInstance(ImageId, InstanceType, SecurityGroupId string, optional openapi.M) (*CreateInstanceResponse, error)
- func (api API) CreateRouteEntry(DestinationCidrBlock, NextHopId, RouteTableId string, optional openapi.M) (*openapi.Response, error)
- func (api API) CreateSecurityGroup(optional openapi.M) (*CreateSecurityGroupResponse, error)
- func (api API) CreateSnapshot(DiskId string, optional openapi.M) (*CreateSnapshotResponse, error)
- func (api API) CreateVSwitch(CidrBlock, VpcId, ZoneId string, optional openapi.M) (*CreateVSwitchResponse, error)
- func (api API) CreateVpc(optional openapi.M) (*CreateVpcResponse, error)
- func (api API) DeleteDisk(DiskId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteHaVip(HaVipId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteImage(ImageId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteInstance(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteRouteEntry(DestinationCidrBlock, NextHopId, RouteTableId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteSecurityGroup(SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteSnapshot(SnapshotId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteVSwitch(VSwitchId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteVpc(VpcId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DescribeAutoSnapshotPolicy(optional openapi.M) (*DescribeAutoSnapshotPolicyResponse, error)
- func (api API) DescribeDiskMonitorData(DiskId, EndTime, StartTime string, optional openapi.M) (*DescribeDiskMonitorDataResponse, error)
- func (api API) DescribeDisks(optional openapi.M) (*DescribeDisksResponse, error)
- func (api API) DescribeEipAddresses(optional openapi.M) (*DescribeEipAddressesResponse, error)
- func (api API) DescribeEipMonitorData(AllocationId, EndTime, StartTime string, optional openapi.M) (*DescribeEipMonitorDataResponse, error)
- func (api API) DescribeHaVips(Filter string, optional openapi.M) (*DescribeHaVipsResponse, error)
- func (api API) DescribeImageSharePermission(ImageId string, optional openapi.M) (*DescribeImageSharePermissionResponse, error)
- func (api API) DescribeImages(optional openapi.M) (*DescribeImagesResponse, error)
- func (api API) DescribeInstanceAttribute(InstanceId string, optional openapi.M) (*DescribeInstanceAttributeResponse, error)
- func (api API) DescribeInstanceMonitorData(EndTime, InstanceId, StartTime string, optional openapi.M) (*DescribeInstanceMonitorDataResponse, error)
- func (api API) DescribeInstanceStatus(optional openapi.M) (*DescribeInstanceStatusResponse, error)
- func (api API) DescribeInstanceTypes(optional openapi.M) (*DescribeInstanceTypesResponse, error)
- func (api API) DescribeInstanceVncPasswd(InstanceId string, optional openapi.M) (*DescribeInstanceVncPasswdResponse, error)
- func (api API) DescribeInstanceVncUrl(InstanceId string, optional openapi.M) (*DescribeInstanceVncUrlResponse, error)
- func (api API) DescribeInstances(optional openapi.M) (*DescribeInstancesResponse, error)
- func (api API) DescribeLimitation(Limitation string, optional openapi.M) (*DescribeLimitationResponse, error)
- func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
- func (api API) DescribeResourceByTags(optional openapi.M) (*DescribeResourceByTagsResponse, error)
- func (api API) DescribeRouteTables(VRouterId string, optional openapi.M) (*DescribeRouteTablesResponse, error)
- func (api API) DescribeSecurityGroupAttribute(SecurityGroupId string, optional openapi.M) (*DescribeSecurityGroupAttributeResponse, error)
- func (api API) DescribeSecurityGroups(optional openapi.M) (*DescribeSecurityGroupsResponse, error)
- func (api API) DescribeSnapshots(optional openapi.M) (*DescribeSnapshotsResponse, error)
- func (api API) DescribeTagKeys(optional openapi.M) (*DescribeTagKeysResponse, error)
- func (api API) DescribeTags(optional openapi.M) (*DescribeTagsResponse, error)
- func (api API) DescribeVRouters(optional openapi.M) (*DescribeVRoutersResponse, error)
- func (api API) DescribeVSwitches(VpcId string, optional openapi.M) (*DescribeVSwitchesResponse, error)
- func (api API) DescribeVpcs(optional openapi.M) (*DescribeVpcsResponse, error)
- func (api API) DescribeZones(optional openapi.M) (*DescribeZonesResponse, error)
- func (api API) DetachDisk(DiskId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) JoinSecurityGroup(InstanceId, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) LeaveSecurityGroup(InstanceId, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyAutoSnapshotPolicy(optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyDiskAttribute(DiskId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyEipAddressAttribute(AllocationId, Bandwidth string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyHaVipAttribute(HaVipId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyImageAttribute(ImageId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyImageShareGroupPermission(ImageId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyImageSharePermission(ImageId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyInstanceAttribute(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyInstanceNetworkSpec(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyInstanceVncPasswd(InstanceId, VncPassword string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyInstanceVpcAttribute(InstanceId, VSwitchId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifySecurityGroupAttribute(SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifySnapshotAttribute(SnapshotId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyVRouterAttribute(VRouterId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyVSwitchAttribute(VSwitchId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ModifyVpcAttribute(VpcId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ReInitDisk(DiskId string, optional openapi.M) (*openapi.Response, error)
- func (api API) RebootInstance(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ReleaseEipAddress(AllocationId string, optional openapi.M) (*openapi.Response, error)
- func (api API) RemoveTags(optional openapi.M) (*openapi.Response, error)
- func (api API) RenewInstance(InstanceId string, Period int, optional openapi.M) (*openapi.Response, error)
- func (api API) ReplaceSystemDisk(ImageId, InstanceId string, optional openapi.M) (*ReplaceSystemDiskResponse, error)
- func (api API) ResetDisk(DiskId, SnapshotId string, optional openapi.M) (*openapi.Response, error)
- func (api API) ResizeDisk(DiskId string, NewSize int, optional openapi.M) (*openapi.Response, error)
- func (api API) RevokeSecurityGroup(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) RevokeSecurityGroupEgress(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
- func (api API) StartInstance(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) StopInstance(InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) UnassociateEipAddress(AllocationId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- func (api API) UnassociateHaVip(HaVipId, InstanceId string, optional openapi.M) (*openapi.Response, error)
- type AllocateEipAddressResponse
- type AllocatePublicIpAddressResponse
- type CheckAutoSnapshotPolicyResponse
- type CheckDiskEnableAutoSnapshotValidationResponse
- type CopyImageResponse
- type CreateDiskResponse
- type CreateHaVipResponse
- type CreateImageResponse
- type CreateInstanceResponse
- type CreateSecurityGroupResponse
- type CreateSnapshotResponse
- type CreateVSwitchResponse
- type CreateVpcResponse
- type DescribeAutoSnapshotPolicyResponse
- type DescribeDiskMonitorDataResponse
- type DescribeDisksResponse
- type DescribeEipAddressesResponse
- type DescribeEipMonitorDataResponse
- type DescribeHaVipsResponse
- type DescribeImageSharePermissionResponse
- type DescribeImagesResponse
- type DescribeInstanceAttributeResponse
- type DescribeInstanceMonitorDataResponse
- type DescribeInstanceStatusResponse
- type DescribeInstanceTypesResponse
- type DescribeInstanceVncPasswdResponse
- type DescribeInstanceVncUrlResponse
- type DescribeInstancesResponse
- type DescribeLimitationResponse
- type DescribeRegionsResponse
- type DescribeResourceByTagsResponse
- type DescribeRouteTablesResponse
- type DescribeSecurityGroupAttributeResponse
- type DescribeSecurityGroupsResponse
- type DescribeSnapshotsResponse
- type DescribeTagKeysResponse
- type DescribeTagsResponse
- type DescribeVRoutersResponse
- type DescribeVSwitchesResponse
- type DescribeVpcsResponse
- type DescribeZonesResponse
- type ReplaceSystemDiskResponse
Constants ¶
const ( Product = "Ecs" Style = "RPC" Version = "2014-05-26" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AddTags ¶
func (api API) AddTags(ResourceId, ResourceType, Tag1Key, Tag1Value string, optional openapi.M) (*openapi.Response, error)
AddTags version 2014-05-26
required parameters:
name: ResourceId, type: string name: ResourceType, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AllocateEipAddress ¶
func (api API) AllocateEipAddress(optional openapi.M) (*AllocateEipAddressResponse, error)
AllocateEipAddress version 2014-05-26
optional parameters:
name: Bandwidth, type: string name: InternetChargeType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AllocatePublicIpAddress ¶
func (api API) AllocatePublicIpAddress(InstanceId string, optional openapi.M) (*AllocatePublicIpAddressResponse, error)
AllocatePublicIpAddress version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: IpAddress, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VlanId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AssociateEipAddress ¶
func (api API) AssociateEipAddress(AllocationId, InstanceId string, optional openapi.M) (*openapi.Response, error)
AssociateEipAddress version 2014-05-26
required parameters:
name: AllocationId, type: string name: InstanceId, type: string
optional parameters:
name: InstanceType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AssociateHaVip ¶
func (api API) AssociateHaVip(HaVipId, InstanceId string, optional openapi.M) (*openapi.Response, error)
AssociateHaVip version 2014-05-26
required parameters:
name: HaVipId, type: string name: InstanceId, type: string
optional parameters:
name: ClientToken, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AttachDisk ¶
AttachDisk version 2014-05-26
required parameters:
name: DiskId, type: string name: InstanceId, type: string
optional parameters:
name: DeleteWithInstance, type: bool name: Device, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AuthorizeSecurityGroup ¶
func (api API) AuthorizeSecurityGroup(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
AuthorizeSecurityGroup version 2014-05-26
required parameters:
name: IpProtocol, type: string name: PortRange, type: string name: SecurityGroupId, type: string
optional parameters:
name: ClientToken, type: string name: NicType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Policy, type: string name: Priority, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SourceCidrIp, type: string name: SourceGroupId, type: string name: SourceGroupOwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) AuthorizeSecurityGroupEgress ¶
func (api API) AuthorizeSecurityGroupEgress(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
AuthorizeSecurityGroupEgress version 2014-05-26
required parameters:
name: IpProtocol, type: string name: PortRange, type: string name: SecurityGroupId, type: string
optional parameters:
name: ClientToken, type: string name: DestCidrIp, type: string name: DestGroupId, type: string name: DestGroupOwnerAccount, type: string name: NicType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Policy, type: string name: Priority, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CancelCopyImage ¶
CancelCopyImage version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CheckAutoSnapshotPolicy ¶
func (api API) CheckAutoSnapshotPolicy(optional openapi.M) (*CheckAutoSnapshotPolicyResponse, error)
CheckAutoSnapshotPolicy version 2014-05-26
optional parameters:
name: DataDiskPolicyEnabled, type: bool name: DataDiskPolicyRetentionDays, type: int, min value: 1, max value: 3 name: DataDiskPolicyRetentionLastWeek, type: bool name: DataDiskPolicyTimePeriod, type: int, min value: 1, max value: 4 name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SystemDiskPolicyEnabled, type: bool name: SystemDiskPolicyRetentionDays, type: int, min value: 1, max value: 3 name: SystemDiskPolicyRetentionLastWeek, type: bool name: SystemDiskPolicyTimePeriod, type: int, min value: 1, max value: 4 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CheckDiskEnableAutoSnapshotValidation ¶
func (api API) CheckDiskEnableAutoSnapshotValidation(DiskIds string, optional openapi.M) (*CheckDiskEnableAutoSnapshotValidationResponse, error)
CheckDiskEnableAutoSnapshotValidation version 2014-05-26
required parameters:
name: DiskIds, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CopyImage ¶
func (api API) CopyImage(DestinationDescription, DestinationImageName, DestinationRegionId, ImageId string, optional openapi.M) (*CopyImageResponse, error)
CopyImage version 2014-05-26
required parameters:
name: DestinationDescription, type: string name: DestinationImageName, type: string name: DestinationRegionId, type: string name: ImageId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateDisk ¶
func (api API) CreateDisk(ZoneId string, optional openapi.M) (*CreateDiskResponse, error)
CreateDisk version 2014-05-26
required parameters:
name: ZoneId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: DiskCategory, type: string name: DiskName, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Size, type: int, min value: 5, max value: 2048 name: SnapshotId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateHaVip ¶
func (api API) CreateHaVip(VSwitchId string, optional openapi.M) (*CreateHaVipResponse, error)
CreateHaVip version 2014-05-26
required parameters:
name: VSwitchId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: IpAddress, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateImage ¶
func (api API) CreateImage(SnapshotId string, optional openapi.M) (*CreateImageResponse, error)
CreateImage version 2014-05-26
required parameters:
name: SnapshotId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: ImageName, type: string name: ImageVersion, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateInstance ¶
func (api API) CreateInstance(ImageId, InstanceType, SecurityGroupId string, optional openapi.M) (*CreateInstanceResponse, error)
CreateInstance version 2014-05-26
required parameters:
name: ImageId, type: string name: InstanceType, type: string name: SecurityGroupId, type: string
optional parameters:
name: ClientToken, type: string name: ClusterId, type: string name: DataDisk.1.Category, type: string name: DataDisk.1.DeleteWithInstance, type: bool name: DataDisk.1.Description, type: string name: DataDisk.1.Device, type: string name: DataDisk.1.DiskName, type: string name: DataDisk.1.Size, type: int name: DataDisk.1.SnapshotId, type: string name: DataDisk.2.Category, type: string name: DataDisk.2.DeleteWithInstance, type: bool name: DataDisk.2.Description, type: string name: DataDisk.2.Device, type: string name: DataDisk.2.DiskName, type: string name: DataDisk.2.Size, type: int name: DataDisk.2.SnapshotId, type: string name: DataDisk.3.Category, type: string name: DataDisk.3.DeleteWithInstance, type: bool name: DataDisk.3.Description, type: string name: DataDisk.3.Device, type: string name: DataDisk.3.DiskName, type: string name: DataDisk.3.Size, type: int name: DataDisk.3.SnapshotId, type: string name: DataDisk.4.Category, type: string name: DataDisk.4.DeleteWithInstance, type: bool name: DataDisk.4.Description, type: string name: DataDisk.4.Device, type: string name: DataDisk.4.DiskName, type: string name: DataDisk.4.Size, type: int name: DataDisk.4.SnapshotId, type: string name: Description, type: string name: HostName, type: string name: InnerIpAddress, type: string name: InstanceChargeType, type: string name: InstanceName, type: string name: InternetChargeType, type: string name: InternetMaxBandwidthIn, type: int, min value: 1, max value: 200 name: InternetMaxBandwidthOut, type: int name: IoOptimized, type: string name: NodeControllerId, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Password, type: string name: Period, type: int name: PrivateIpAddress, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SystemDisk.Category, type: string name: SystemDisk.Description, type: string name: SystemDisk.DiskName, type: string name: UseAdditionalService, type: bool name: VSwitchId, type: string name: VlanId, type: string name: ZoneId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateRouteEntry ¶
func (api API) CreateRouteEntry(DestinationCidrBlock, NextHopId, RouteTableId string, optional openapi.M) (*openapi.Response, error)
CreateRouteEntry version 2014-05-26
required parameters:
name: DestinationCidrBlock, type: string name: NextHopId, type: string name: RouteTableId, type: string
optional parameters:
name: ClientToken, type: string name: NextHopType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateSecurityGroup ¶
func (api API) CreateSecurityGroup(optional openapi.M) (*CreateSecurityGroupResponse, error)
CreateSecurityGroup version 2014-05-26
optional parameters:
name: ClientToken, type: string name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityGroupName, type: string name: VpcId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateSnapshot ¶
func (api API) CreateSnapshot(DiskId string, optional openapi.M) (*CreateSnapshotResponse, error)
CreateSnapshot version 2014-05-26
required parameters:
name: DiskId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SnapshotName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateVSwitch ¶
func (api API) CreateVSwitch(CidrBlock, VpcId, ZoneId string, optional openapi.M) (*CreateVSwitchResponse, error)
CreateVSwitch version 2014-05-26
required parameters:
name: CidrBlock, type: string name: VpcId, type: string name: ZoneId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VSwitchName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateVpc ¶
func (api API) CreateVpc(optional openapi.M) (*CreateVpcResponse, error)
CreateVpc version 2014-05-26
optional parameters:
name: CidrBlock, type: string name: ClientToken, type: string name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: UserCidr, type: string name: VpcName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteDisk ¶
DeleteDisk version 2014-05-26
required parameters:
name: DiskId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteHaVip ¶
DeleteHaVip version 2014-05-26
required parameters:
name: HaVipId, type: string
optional parameters:
name: ClientToken, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteImage ¶
DeleteImage version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteInstance ¶
DeleteInstance version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteRouteEntry ¶
func (api API) DeleteRouteEntry(DestinationCidrBlock, NextHopId, RouteTableId string, optional openapi.M) (*openapi.Response, error)
DeleteRouteEntry version 2014-05-26
required parameters:
name: DestinationCidrBlock, type: string name: NextHopId, type: string name: RouteTableId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteSecurityGroup ¶
func (api API) DeleteSecurityGroup(SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
DeleteSecurityGroup version 2014-05-26
required parameters:
name: SecurityGroupId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteSnapshot ¶
DeleteSnapshot version 2014-05-26
required parameters:
name: SnapshotId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteVSwitch ¶
DeleteVSwitch version 2014-05-26
required parameters:
name: VSwitchId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteVpc ¶
DeleteVpc version 2014-05-26
required parameters:
name: VpcId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeAutoSnapshotPolicy ¶
func (api API) DescribeAutoSnapshotPolicy(optional openapi.M) (*DescribeAutoSnapshotPolicyResponse, error)
DescribeAutoSnapshotPolicy version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeDiskMonitorData ¶
func (api API) DescribeDiskMonitorData(DiskId, EndTime, StartTime string, optional openapi.M) (*DescribeDiskMonitorDataResponse, error)
DescribeDiskMonitorData version 2014-05-26
required parameters:
name: DiskId, type: string name: EndTime, type: string name: StartTime, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: Period, type: int name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeDisks ¶
func (api API) DescribeDisks(optional openapi.M) (*DescribeDisksResponse, error)
DescribeDisks version 2014-05-26
optional parameters:
name: Category, type: string name: DeleteAutoSnapshot, type: bool name: DeleteWithInstance, type: bool name: DiskChargeType, type: string name: DiskIds, type: string name: DiskName, type: string name: DiskType, type: string name: EnableAutoSnapshot, type: bool name: Filter.1.Key, type: string name: Filter.1.Value, type: string name: Filter.2.Key, type: string name: Filter.2.Value, type: string name: InstanceId, type: string name: LockReason, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 100 name: Portable, type: bool name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SnapshotId, type: string name: Status, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: ZoneId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeEipAddresses ¶
func (api API) DescribeEipAddresses(optional openapi.M) (*DescribeEipAddressesResponse, error)
DescribeEipAddresses version 2014-05-26
optional parameters:
name: AllocationId, type: string name: AssociatedInstanceId, type: string name: AssociatedInstanceType, type: string name: EipAddress, type: string name: Filter.1.Key, type: string name: Filter.1.Value, type: string name: Filter.2.Key, type: string name: Filter.2.Value, type: string name: LockReason, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, max value: 100 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Status, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeEipMonitorData ¶
func (api API) DescribeEipMonitorData(AllocationId, EndTime, StartTime string, optional openapi.M) (*DescribeEipMonitorDataResponse, error)
DescribeEipMonitorData version 2014-05-26
required parameters:
name: AllocationId, type: string name: EndTime, type: string name: StartTime, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: Period, type: int name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeHaVips ¶
func (api API) DescribeHaVips(Filter string, optional openapi.M) (*DescribeHaVipsResponse, error)
DescribeHaVips version 2014-05-26
required parameters:
name: Filter, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeImageSharePermission ¶
func (api API) DescribeImageSharePermission(ImageId string, optional openapi.M) (*DescribeImageSharePermissionResponse, error)
DescribeImageSharePermission version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int name: PageSize, type: int name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeImages ¶
func (api API) DescribeImages(optional openapi.M) (*DescribeImagesResponse, error)
DescribeImages version 2014-05-26
optional parameters:
name: Filter.1.Key, type: string name: Filter.1.Value, type: string name: Filter.2.Key, type: string name: Filter.2.Value, type: string name: ImageId, type: string name: ImageName, type: string name: ImageOwnerAlias, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 100 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ShowExpired, type: bool name: SnapshotId, type: string name: Status, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: Usage, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceAttribute ¶
func (api API) DescribeInstanceAttribute(InstanceId string, optional openapi.M) (*DescribeInstanceAttributeResponse, error)
DescribeInstanceAttribute version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceMonitorData ¶
func (api API) DescribeInstanceMonitorData(EndTime, InstanceId, StartTime string, optional openapi.M) (*DescribeInstanceMonitorDataResponse, error)
DescribeInstanceMonitorData version 2014-05-26
required parameters:
name: EndTime, type: string name: InstanceId, type: string name: StartTime, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: Period, type: int name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceStatus ¶
func (api API) DescribeInstanceStatus(optional openapi.M) (*DescribeInstanceStatusResponse, error)
DescribeInstanceStatus version 2014-05-26
optional parameters:
name: ClusterId, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ZoneId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceTypes ¶
func (api API) DescribeInstanceTypes(optional openapi.M) (*DescribeInstanceTypesResponse, error)
DescribeInstanceTypes version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceVncPasswd ¶
func (api API) DescribeInstanceVncPasswd(InstanceId string, optional openapi.M) (*DescribeInstanceVncPasswdResponse, error)
DescribeInstanceVncPasswd version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstanceVncUrl ¶
func (api API) DescribeInstanceVncUrl(InstanceId string, optional openapi.M) (*DescribeInstanceVncUrlResponse, error)
DescribeInstanceVncUrl version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeInstances ¶
func (api API) DescribeInstances(optional openapi.M) (*DescribeInstancesResponse, error)
DescribeInstances version 2014-05-26
optional parameters:
name: DeviceAvailable, type: bool name: Filter.1.Key, type: string name: Filter.1.Value, type: string name: Filter.2.Key, type: string name: Filter.2.Value, type: string name: Filter.3.Key, type: string name: Filter.3.Value, type: string name: Filter.4.Key, type: string name: Filter.4.Value, type: string name: ImageId, type: string name: InnerIpAddresses, type: string name: InstanceChargeType, type: string name: InstanceIds, type: string name: InstanceName, type: string name: InstanceNetworkType, type: string name: InternetChargeType, type: string name: IoOptimized, type: bool name: LockReason, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 100 name: PrivateIpAddresses, type: string name: PublicIpAddresses, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityGroupId, type: string name: Status, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: VSwitchId, type: string name: VpcId, type: string name: ZoneId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLimitation ¶
func (api API) DescribeLimitation(Limitation string, optional openapi.M) (*DescribeLimitationResponse, error)
DescribeLimitation version 2014-05-26
required parameters:
name: Limitation, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeRegions ¶
func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
DescribeRegions version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeResourceByTags ¶
func (api API) DescribeResourceByTags(optional openapi.M) (*DescribeResourceByTagsResponse, error)
DescribeResourceByTags version 2014-05-26
optional parameters:
name: OwnerId, type: int64 name: PageNumber, type: int, min value: 0 name: PageSize, type: int, min value: 0, max value: 100 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ResourceType, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeRouteTables ¶
func (api API) DescribeRouteTables(VRouterId string, optional openapi.M) (*DescribeRouteTablesResponse, error)
DescribeRouteTables version 2014-05-26
required parameters:
name: VRouterId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: RouteTableId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeSecurityGroupAttribute ¶
func (api API) DescribeSecurityGroupAttribute(SecurityGroupId string, optional openapi.M) (*DescribeSecurityGroupAttributeResponse, error)
DescribeSecurityGroupAttribute version 2014-05-26
required parameters:
name: SecurityGroupId, type: string
optional parameters:
name: Direction, type: string name: NicType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeSecurityGroups ¶
func (api API) DescribeSecurityGroups(optional openapi.M) (*DescribeSecurityGroupsResponse, error)
DescribeSecurityGroups version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 100 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityGroupIds, type: string name: VpcId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeSnapshots ¶
func (api API) DescribeSnapshots(optional openapi.M) (*DescribeSnapshotsResponse, error)
DescribeSnapshots version 2014-05-26
optional parameters:
name: DiskId, type: string name: Filter.1.Key, type: string name: Filter.1.Value, type: string name: Filter.2.Key, type: string name: Filter.2.Value, type: string name: InstanceId, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 100 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SnapshotIds, type: string name: SnapshotName, type: string name: SnapshotType, type: string name: SourceDiskType, type: string name: Status, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: Usage, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeTagKeys ¶
func (api API) DescribeTagKeys(optional openapi.M) (*DescribeTagKeysResponse, error)
DescribeTagKeys version 2014-05-26
optional parameters:
name: OwnerId, type: int64 name: PageNumber, type: int, min value: 0 name: PageSize, type: int, min value: 0, max value: 100 name: ResourceId, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ResourceType, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeTags ¶
func (api API) DescribeTags(optional openapi.M) (*DescribeTagsResponse, error)
DescribeTags version 2014-05-26
optional parameters:
name: OwnerId, type: int64 name: PageNumber, type: int, min value: 0 name: PageSize, type: int, min value: 0, max value: 100 name: ResourceId, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ResourceType, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeVRouters ¶
func (api API) DescribeVRouters(optional openapi.M) (*DescribeVRoutersResponse, error)
DescribeVRouters version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VRouterId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeVSwitches ¶
func (api API) DescribeVSwitches(VpcId string, optional openapi.M) (*DescribeVSwitchesResponse, error)
DescribeVSwitches version 2014-05-26
required parameters:
name: VpcId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VSwitchId, type: string name: ZoneId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeVpcs ¶
func (api API) DescribeVpcs(optional openapi.M) (*DescribeVpcsResponse, error)
DescribeVpcs version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PageNumber, type: int, min value: 1 name: PageSize, type: int, min value: 1, max value: 50 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VpcId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeZones ¶
func (api API) DescribeZones(optional openapi.M) (*DescribeZonesResponse, error)
DescribeZones version 2014-05-26
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DetachDisk ¶
DetachDisk version 2014-05-26
required parameters:
name: DiskId, type: string name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) JoinSecurityGroup ¶
func (api API) JoinSecurityGroup(InstanceId, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
JoinSecurityGroup version 2014-05-26
required parameters:
name: InstanceId, type: string name: SecurityGroupId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) LeaveSecurityGroup ¶
func (api API) LeaveSecurityGroup(InstanceId, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
LeaveSecurityGroup version 2014-05-26
required parameters:
name: InstanceId, type: string name: SecurityGroupId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyAutoSnapshotPolicy ¶
ModifyAutoSnapshotPolicy version 2014-05-26
optional parameters:
name: DataDiskPolicyEnabled, type: bool name: DataDiskPolicyRetentionDays, type: int, min value: 1, max value: 3 name: DataDiskPolicyRetentionLastWeek, type: bool name: DataDiskPolicyTimePeriod, type: int, min value: 1, max value: 4 name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SystemDiskPolicyEnabled, type: bool name: SystemDiskPolicyRetentionDays, type: int, min value: 1, max value: 3 name: SystemDiskPolicyRetentionLastWeek, type: bool name: SystemDiskPolicyTimePeriod, type: int, min value: 1, max value: 4 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyDiskAttribute ¶
ModifyDiskAttribute version 2014-05-26
required parameters:
name: DiskId, type: string
optional parameters:
name: DeleteAutoSnapshot, type: bool name: DeleteWithInstance, type: bool name: Description, type: string name: DiskName, type: string name: EnableAutoSnapshot, type: bool name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyEipAddressAttribute ¶
func (api API) ModifyEipAddressAttribute(AllocationId, Bandwidth string, optional openapi.M) (*openapi.Response, error)
ModifyEipAddressAttribute version 2014-05-26
required parameters:
name: AllocationId, type: string name: Bandwidth, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyHaVipAttribute ¶
ModifyHaVipAttribute version 2014-05-26
required parameters:
name: HaVipId, type: string
optional parameters:
name: ClientToken, type: string name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyImageAttribute ¶
ModifyImageAttribute version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: Description, type: string name: ImageName, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyImageShareGroupPermission ¶
func (api API) ModifyImageShareGroupPermission(ImageId string, optional openapi.M) (*openapi.Response, error)
ModifyImageShareGroupPermission version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: AddGroup.1, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: RemoveGroup.1, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyImageSharePermission ¶
func (api API) ModifyImageSharePermission(ImageId string, optional openapi.M) (*openapi.Response, error)
ModifyImageSharePermission version 2014-05-26
required parameters:
name: ImageId, type: string
optional parameters:
name: AddAccount.1, type: string name: AddAccount.10, type: string name: AddAccount.2, type: string name: AddAccount.3, type: string name: AddAccount.4, type: string name: AddAccount.5, type: string name: AddAccount.6, type: string name: AddAccount.7, type: string name: AddAccount.8, type: string name: AddAccount.9, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: RemoveAccount.1, type: string name: RemoveAccount.10, type: string name: RemoveAccount.2, type: string name: RemoveAccount.3, type: string name: RemoveAccount.4, type: string name: RemoveAccount.5, type: string name: RemoveAccount.6, type: string name: RemoveAccount.7, type: string name: RemoveAccount.8, type: string name: RemoveAccount.9, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyInstanceAttribute ¶
func (api API) ModifyInstanceAttribute(InstanceId string, optional openapi.M) (*openapi.Response, error)
ModifyInstanceAttribute version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: Description, type: string name: HostName, type: string name: InstanceName, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Password, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyInstanceNetworkSpec ¶
func (api API) ModifyInstanceNetworkSpec(InstanceId string, optional openapi.M) (*openapi.Response, error)
ModifyInstanceNetworkSpec version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: InternetMaxBandwidthIn, type: int name: InternetMaxBandwidthOut, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyInstanceVncPasswd ¶
func (api API) ModifyInstanceVncPasswd(InstanceId, VncPassword string, optional openapi.M) (*openapi.Response, error)
ModifyInstanceVncPasswd version 2014-05-26
required parameters:
name: InstanceId, type: string name: VncPassword, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyInstanceVpcAttribute ¶
func (api API) ModifyInstanceVpcAttribute(InstanceId, VSwitchId string, optional openapi.M) (*openapi.Response, error)
ModifyInstanceVpcAttribute version 2014-05-26
required parameters:
name: InstanceId, type: string name: VSwitchId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: PrivateIpAddress, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifySecurityGroupAttribute ¶
func (api API) ModifySecurityGroupAttribute(SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
ModifySecurityGroupAttribute version 2014-05-26
required parameters:
name: SecurityGroupId, type: string
optional parameters:
name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityGroupName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifySnapshotAttribute ¶
func (api API) ModifySnapshotAttribute(SnapshotId string, optional openapi.M) (*openapi.Response, error)
ModifySnapshotAttribute version 2014-05-26
required parameters:
name: SnapshotId, type: string
optional parameters:
name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SnapshotName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyVRouterAttribute ¶
func (api API) ModifyVRouterAttribute(VRouterId string, optional openapi.M) (*openapi.Response, error)
ModifyVRouterAttribute version 2014-05-26
required parameters:
name: VRouterId, type: string
optional parameters:
name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VRouterName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyVSwitchAttribute ¶
func (api API) ModifyVSwitchAttribute(VSwitchId string, optional openapi.M) (*openapi.Response, error)
ModifyVSwitchAttribute version 2014-05-26
required parameters:
name: VSwitchId, type: string
optional parameters:
name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: VSwitchName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyVpcAttribute ¶
ModifyVpcAttribute version 2014-05-26
required parameters:
name: VpcId, type: string
optional parameters:
name: Description, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: UserCidr, type: string name: VpcName, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ReInitDisk ¶
ReInitDisk version 2014-05-26
required parameters:
name: DiskId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RebootInstance ¶
RebootInstance version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: ForceStop, type: bool name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ReleaseEipAddress ¶
func (api API) ReleaseEipAddress(AllocationId string, optional openapi.M) (*openapi.Response, error)
ReleaseEipAddress version 2014-05-26
required parameters:
name: AllocationId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RemoveTags ¶
RemoveTags version 2014-05-26
optional parameters:
name: OwnerId, type: int64 name: ResourceId, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ResourceType, type: string name: Tag.1.Key, type: string name: Tag.1.Value, type: string name: Tag.2.Key, type: string name: Tag.2.Value, type: string name: Tag.3.Key, type: string name: Tag.3.Value, type: string name: Tag.4.Key, type: string name: Tag.4.Value, type: string name: Tag.5.Key, type: string name: Tag.5.Value, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RenewInstance ¶
func (api API) RenewInstance(InstanceId string, Period int, optional openapi.M) (*openapi.Response, error)
RenewInstance version 2014-05-26
required parameters:
name: InstanceId, type: string name: Period, type: int
optional parameters:
name: CovertDiskPortable.1.DiskId, type: string name: CovertDiskPortable.2.DiskId, type: string name: CovertDiskPortable.3.DiskId, type: string name: CovertDiskPortable.4.DiskId, type: string name: InstanceType, type: string name: InternetChargeType, type: string name: InternetMaxBandwidthOut, type: int, min value: 0, max value: 200 name: OwnerAccount, type: string name: OwnerId, type: int64 name: RebootTime, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ReplaceSystemDisk ¶
func (api API) ReplaceSystemDisk(ImageId, InstanceId string, optional openapi.M) (*ReplaceSystemDiskResponse, error)
ReplaceSystemDisk version 2014-05-26
required parameters:
name: ImageId, type: string name: InstanceId, type: string
optional parameters:
name: ClientToken, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: UseAdditionalService, type: bool name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ResetDisk ¶
ResetDisk version 2014-05-26
required parameters:
name: DiskId, type: string name: SnapshotId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ResizeDisk ¶
func (api API) ResizeDisk(DiskId string, NewSize int, optional openapi.M) (*openapi.Response, error)
ResizeDisk version 2014-05-26
required parameters:
name: DiskId, type: string name: NewSize, type: int, min value: 5, max value: 2048
optional parameters:
name: ClientToken, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RevokeSecurityGroup ¶
func (api API) RevokeSecurityGroup(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
RevokeSecurityGroup version 2014-05-26
required parameters:
name: IpProtocol, type: string name: PortRange, type: string name: SecurityGroupId, type: string
optional parameters:
name: NicType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Policy, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SourceCidrIp, type: string name: SourceGroupId, type: string name: SourceGroupOwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RevokeSecurityGroupEgress ¶
func (api API) RevokeSecurityGroupEgress(IpProtocol, PortRange, SecurityGroupId string, optional openapi.M) (*openapi.Response, error)
RevokeSecurityGroupEgress version 2014-05-26
required parameters:
name: IpProtocol, type: string name: PortRange, type: string name: SecurityGroupId, type: string
optional parameters:
name: DestCidrIp, type: string name: DestGroupId, type: string name: DestGroupOwnerAccount, type: string name: NicType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: Policy, type: string name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) StartInstance ¶
StartInstance version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) StopInstance ¶
StopInstance version 2014-05-26
required parameters:
name: InstanceId, type: string
optional parameters:
name: ForceStop, type: bool name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) UnassociateEipAddress ¶
func (api API) UnassociateEipAddress(AllocationId, InstanceId string, optional openapi.M) (*openapi.Response, error)
UnassociateEipAddress version 2014-05-26
required parameters:
name: AllocationId, type: string name: InstanceId, type: string
optional parameters:
name: InstanceType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) UnassociateHaVip ¶
func (api API) UnassociateHaVip(HaVipId, InstanceId string, optional openapi.M) (*openapi.Response, error)
UnassociateHaVip version 2014-05-26
required parameters:
name: HaVipId, type: string name: InstanceId, type: string
optional parameters:
name: ClientToken, type: string name: Force, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
type AllocateEipAddressResponse ¶
AllocateEipAddressResponse represents the response of the api AllocateEipAddress.
type AllocatePublicIpAddressResponse ¶
type AllocatePublicIpAddressResponse struct {
IpAddress string
}
AllocatePublicIpAddressResponse represents the response of the api AllocatePublicIpAddress.
type CheckAutoSnapshotPolicyResponse ¶
CheckAutoSnapshotPolicyResponse represents the response of the api CheckAutoSnapshotPolicy.
type CheckDiskEnableAutoSnapshotValidationResponse ¶
type CheckDiskEnableAutoSnapshotValidationResponse struct { AutoSnapshotOccupation int IsPermitted string }
CheckDiskEnableAutoSnapshotValidationResponse represents the response of the api CheckDiskEnableAutoSnapshotValidation.
type CopyImageResponse ¶
type CopyImageResponse struct {
ImageId string
}
CopyImageResponse represents the response of the api CopyImage.
type CreateDiskResponse ¶
type CreateDiskResponse struct {
DiskId string
}
CreateDiskResponse represents the response of the api CreateDisk.
type CreateHaVipResponse ¶
type CreateHaVipResponse struct {
HaVipId string
}
CreateHaVipResponse represents the response of the api CreateHaVip.
type CreateImageResponse ¶
type CreateImageResponse struct {
ImageId string
}
CreateImageResponse represents the response of the api CreateImage.
type CreateInstanceResponse ¶
type CreateInstanceResponse struct {
InstanceId string
}
CreateInstanceResponse represents the response of the api CreateInstance.
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct {
SecurityGroupId string
}
CreateSecurityGroupResponse represents the response of the api CreateSecurityGroup.
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
SnapshotId string
}
CreateSnapshotResponse represents the response of the api CreateSnapshot.
type CreateVSwitchResponse ¶
type CreateVSwitchResponse struct {
VSwitchId string
}
CreateVSwitchResponse represents the response of the api CreateVSwitch.
type CreateVpcResponse ¶
CreateVpcResponse represents the response of the api CreateVpc.
type DescribeAutoSnapshotPolicyResponse ¶
type DescribeAutoSnapshotPolicyResponse struct { AutoSnapshotExcutionStatus struct { DataDiskExcutionStatus string // optional values: Executed|Failed|Standby SystemDiskExcutionStatus string // optional values: Executed|Failed|Standby } AutoSnapshotOccupation int AutoSnapshotPolicy struct { DataDiskPolicyEnabled string DataDiskPolicyRetentionDays string DataDiskPolicyRetentionLastWeek string DataDiskPolicyTimePeriod string SystemDiskPolicyEnabled string SystemDiskPolicyRetentionDays string SystemDiskPolicyRetentionLastWeek string SystemDiskPolicyTimePeriod string } }
DescribeAutoSnapshotPolicyResponse represents the response of the api DescribeAutoSnapshotPolicy.
type DescribeDiskMonitorDataResponse ¶
type DescribeDiskMonitorDataResponse struct { MonitorData struct { DiskMonitorData []struct { BPSRead int BPSTotal int BPSWrite int DiskId string IOPSRead int IOPSTotal int IOPSWrite int TimeStamp string } } TotalCount int }
DescribeDiskMonitorDataResponse represents the response of the api DescribeDiskMonitorData.
type DescribeDisksResponse ¶
type DescribeDisksResponse struct { Disks struct { Disk []struct { AttachedTime string Category string // optional values: cloud|ephemeral|ephemeral_ssd CreationTime string DeleteAutoSnapshot bool DeleteWithInstance bool Description string DetachedTime string Device string DiskChargeType string DiskId string DiskName string EnableAutoSnapshot bool ExpiredTime string ImageId string InstanceId string OperationLocks struct { OperationLock []struct { LockReason string } } Portable bool ProductCode string RegionId string Size int SourceSnapshotId string Status string Tags struct { Tag []struct { TagKey string TagValue string } } Type string // optional values: data|system ZoneId string } } PageNumber int PageSize int TotalCount int }
DescribeDisksResponse represents the response of the api DescribeDisks.
type DescribeEipAddressesResponse ¶
type DescribeEipAddressesResponse struct { EipAddresses struct { EipAddress []struct { AllocationId string AllocationTime string Bandwidth string InstanceId string InstanceType string InternetChargeType string IpAddress string OperationLocks struct { LockReason []struct { LockReason string } } RegionId string Status string } } PageNumber int PageSize int TotalCount int }
DescribeEipAddressesResponse represents the response of the api DescribeEipAddresses.
type DescribeEipMonitorDataResponse ¶
type DescribeEipMonitorDataResponse struct { EipMonitorDatas struct { EipMonitorData []struct { EipBandwidth int EipFlow int EipPackets int EipRX int EipTX int TimeStamp string } } }
DescribeEipMonitorDataResponse represents the response of the api DescribeEipMonitorData.
type DescribeHaVipsResponse ¶
type DescribeHaVipsResponse struct { HaVips struct { HaVip []struct { CreateTime string Description string HaVipId string IpAddress string MasterInstanceId string RegionId string Status string VSwitchId string VpcId string } } PageNumber int PageSize int TotalCount int }
DescribeHaVipsResponse represents the response of the api DescribeHaVips.
type DescribeImageSharePermissionResponse ¶
type DescribeImageSharePermissionResponse struct { string } } ShareGroup []struct { Group string } } }Account []struct { AliyunId
DescribeImageSharePermissionResponse represents the response of the api DescribeImageSharePermission.
type DescribeImagesResponse ¶
type DescribeImagesResponse struct { Images struct { Image []struct { Architecture string // optional values: i386|x86_64 CreationTime string Description string DiskDeviceMappings struct { DiskDeviceMapping []struct { Device string Size string SnapshotId string } } ImageId string ImageName string ImageOwnerAlias string ImageVersion string IsCopied bool IsSelfShared string IsSubscribed bool OSName string OSType string Platform string ProductCode string Progress string Size int Status string Tags struct { Tag []struct { TagKey string TagValue string } } Usage string } } PageNumber int PageSize int RegionId string TotalCount int }
DescribeImagesResponse represents the response of the api DescribeImages.
type DescribeInstanceAttributeResponse ¶
type DescribeInstanceAttributeResponse struct { ClusterId string CreationTime string Description string EipAddress struct { AllocationId string Bandwidth int InternetChargeType string IpAddress string } ExpiredTime string HostName string ImageId string InstanceChargeType string InstanceId string InstanceName string InstanceNetworkType string InstanceType string InternetChargeType string InternetMaxBandwidthIn int InternetMaxBandwidthOut int IoOptimized string OperationLocks struct { LockReason []struct { LockReason string } } RegionId string SerialNumber string Status string // optional values: Deleted|Resetting|Running|Starting|Stopped|Stopping|Transferring VlanId string VpcAttributes struct { NatIpAddress string VSwitchId string VpcId string } ZoneId string }
DescribeInstanceAttributeResponse represents the response of the api DescribeInstanceAttribute.
type DescribeInstanceMonitorDataResponse ¶
type DescribeInstanceMonitorDataResponse struct { MonitorData struct { InstanceMonitorData []struct { BPSRead int BPSWrite int CPU int IOPSRead int IOPSWrite int InstanceId string InternetBandwidth int InternetRX int InternetTX int IntranetBandwidth int IntranetRX int IntranetTX int TimeStamp string } } }
DescribeInstanceMonitorDataResponse represents the response of the api DescribeInstanceMonitorData.
type DescribeInstanceStatusResponse ¶
type DescribeInstanceStatusResponse struct { InstanceStatuses struct { InstanceStatus []struct { InstanceId string Status string // optional values: Deleted|Resetting|Running|Starting|Stopped|Stopping|Transferring } } PageNumber int PageSize int TotalCount int }
DescribeInstanceStatusResponse represents the response of the api DescribeInstanceStatus.
type DescribeInstanceTypesResponse ¶
type DescribeInstanceTypesResponse struct { InstanceTypes struct { InstanceType []struct { CpuCoreCount int InstanceTypeId string MemorySize float32 } } }
DescribeInstanceTypesResponse represents the response of the api DescribeInstanceTypes.
type DescribeInstanceVncPasswdResponse ¶
type DescribeInstanceVncPasswdResponse struct {
VncPasswd string
}
DescribeInstanceVncPasswdResponse represents the response of the api DescribeInstanceVncPasswd.
type DescribeInstanceVncUrlResponse ¶
type DescribeInstanceVncUrlResponse struct {
VncUrl string
}
DescribeInstanceVncUrlResponse represents the response of the api DescribeInstanceVncUrl.
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { Instances struct { Instance []struct { ClusterId string CreationTime string Description string DeviceAvailable bool EipAddress struct { AllocationId string Bandwidth int InternetChargeType string IpAddress string } ExpiredTime string HostName string ImageId string InstanceChargeType string InstanceId string InstanceName string InstanceNetworkType string InstanceType string InternetChargeType string InternetMaxBandwidthIn int InternetMaxBandwidthOut int IoOptimized bool OperationLocks struct { LockReason []struct { LockReason string } } RegionId string SerialNumber string Status string // optional values: Deleted|Resetting|Running|Starting|Stopped|Stopping|Transferring Tags struct { Tag []struct { TagKey string TagValue string } } VlanId string VpcAttributes struct { NatIpAddress string VSwitchId string VpcId string } ZoneId string } } PageNumber int PageSize int TotalCount int }
DescribeInstancesResponse represents the response of the api DescribeInstances.
type DescribeLimitationResponse ¶
DescribeLimitationResponse represents the response of the api DescribeLimitation.
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { Regions struct { Region []struct { LocalName string RegionId string } } }
DescribeRegionsResponse represents the response of the api DescribeRegions.
type DescribeResourceByTagsResponse ¶
type DescribeResourceByTagsResponse struct { PageNumber int PageSize int Resources struct { Resource []struct { RegionId string ResourceId string ResourceType string } } TotalCount int }
DescribeResourceByTagsResponse represents the response of the api DescribeResourceByTags.
type DescribeRouteTablesResponse ¶
type DescribeRouteTablesResponse struct { PageNumber int PageSize int RouteTables struct { RouteTable []struct { CreationTime string RouteEntrys struct { RouteEntry []struct { DestinationCidrBlock string InstanceId string NextHopType string RouteTableId string Status string Type string } } RouteTableId string RouteTableType string VRouterId string } } TotalCount int }
DescribeRouteTablesResponse represents the response of the api DescribeRouteTables.
type DescribeSecurityGroupAttributeResponse ¶
type DescribeSecurityGroupAttributeResponse struct { Description string Permissions struct { Permission []struct { DestCidrIp string DestGroupId string DestGroupOwnerAccount string Direction string IpProtocol string NicType string Policy string PortRange string Priority string SourceCidrIp string SourceGroupId string SourceGroupOwnerAccount string } } RegionId string SecurityGroupId string SecurityGroupName string VpcId string }
DescribeSecurityGroupAttributeResponse represents the response of the api DescribeSecurityGroupAttribute.
type DescribeSecurityGroupsResponse ¶
type DescribeSecurityGroupsResponse struct { PageNumber int PageSize int RegionId string SecurityGroups struct { SecurityGroup []struct { CreationTime string Description string SecurityGroupId string SecurityGroupName string VpcId string } } TotalCount int }
DescribeSecurityGroupsResponse represents the response of the api DescribeSecurityGroups.
type DescribeSnapshotsResponse ¶
type DescribeSnapshotsResponse struct { PageNumber int PageSize int Snapshots struct { Snapshot []struct { CreationTime string Description string ProductCode string Progress string SnapshotId string SnapshotName string SourceDiskId string SourceDiskSize string SourceDiskType string // optional values: data|system Status string Tags struct { Tag []struct { TagKey string TagValue string } } Usage string } } TotalCount int }
DescribeSnapshotsResponse represents the response of the api DescribeSnapshots.
type DescribeTagKeysResponse ¶
DescribeTagKeysResponse represents the response of the api DescribeTagKeys.
type DescribeTagsResponse ¶
type DescribeTagsResponse struct { PageNumber int PageSize int Tags struct { Tag []struct { TagKey string TagValue string } } TotalCount int }
DescribeTagsResponse represents the response of the api DescribeTags.
type DescribeVRoutersResponse ¶
type DescribeVRoutersResponse struct { PageNumber int PageSize int TotalCount int VRouters struct { VRouter []struct { CreationTime string Description string RegionId string VRouterId string VRouterName string VpcId string } } }
DescribeVRoutersResponse represents the response of the api DescribeVRouters.
type DescribeVSwitchesResponse ¶
type DescribeVSwitchesResponse struct { PageNumber int PageSize int TotalCount int VSwitches struct { VSwitch []struct { AvailableIpAddressCount int64 CidrBlock string CreationTime string Description string Status string VSwitchId string VSwitchName string VpcId string ZoneId string } } }
DescribeVSwitchesResponse represents the response of the api DescribeVSwitches.
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct { PageNumber int PageSize int TotalCount int Vpcs struct { Vpc []struct { CidrBlock string CreationTime string Description string RegionId string Status string VRouterId string VpcId string VpcName string } } }
DescribeVpcsResponse represents the response of the api DescribeVpcs.
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { Zones struct { Zone []struct { LocalName string ZoneId string } } }
DescribeZonesResponse represents the response of the api DescribeZones.
type ReplaceSystemDiskResponse ¶
type ReplaceSystemDiskResponse struct {
DiskId string
}
ReplaceSystemDiskResponse represents the response of the api ReplaceSystemDisk.