Documentation
¶
Index ¶
- Constants
- type ApplyAutoSnapshotPolicyRequest
- type ApplyAutoSnapshotPolicyResponse
- type ApplySnapshotRequest
- type ApplySnapshotResponse
- type AssignBorderGatewayRequest
- type AssignBorderGatewayResponse
- type AssignBorderGatewayRouteRequest
- type AssignBorderGatewayRouteResponse
- type AssignNicIpv4Request
- type AssignNicIpv4Response
- type AssignNicIpv6Request
- type AssignNicIpv6Response
- type AssignSecurityGroupVpcRequest
- type AssignSecurityGroupVpcResponse
- type AssociateEipAddressRequest
- type AssociateEipAddressResponse
- type AssociateEipAddressResponseParams
- type AttachDisksRequest
- type AttachDisksResponse
- type AttachNicRequest
- type AttachNicResponse
- type AutoSnapshotPolicy
- type AvailableLanIpRequest
- type AvailableLanIpResponse
- type AvailableLanIpResponseParams
- type BandwidthClusterInfo
- type BatchAssignNetworkInterfaceIpv4ResponseParams
- type BatchAssignNicIpv4Request
- type BatchAssignNicIpv4Response
- type BatchAttachEipLanIpRequest
- type BatchAttachEipLanIpResponse
- type CancelAutoSnapshotPolicyRequest
- type CancelAutoSnapshotPolicyResponse
- type ChangeDisksAttachRequest
- type ChangeDisksAttachResponse
- type ChangeEipBindTypeRequest
- type ChangeEipBindTypeResponse
- type ChangeEipInternetChargeTypeRequest
- type ChangeEipInternetChargeTypeResponse
- type ChangeEipInternetChargeTypeResponseParams
- type ChangeNicNetworkTypeRequest
- type ChangeNicNetworkTypeResponse
- type ChargePrepaid
- type CidrInfo
- type Clientdeprecated
- func (c *Client) ApplyAutoSnapshotPolicy(request *ApplyAutoSnapshotPolicyRequest) (response *ApplyAutoSnapshotPolicyResponse, err error)
- func (c *Client) ApplySnapshot(request *ApplySnapshotRequest) (response *ApplySnapshotResponse, err error)
- func (c *Client) AssignBorderGateway(request *AssignBorderGatewayRequest) (response *AssignBorderGatewayResponse, err error)
- func (c *Client) AssignBorderGatewayRoute(request *AssignBorderGatewayRouteRequest) (response *AssignBorderGatewayRouteResponse, err error)
- func (c *Client) AssignNetworkInterfaceIpv4(request *AssignNicIpv4Request) (response *AssignNicIpv4Response, err error)
- func (c *Client) AssignNetworkInterfaceIpv6(request *AssignNicIpv6Request) (response *AssignNicIpv6Response, err error)
- func (c *Client) AssignSecurityGroupVpc(request *AssignSecurityGroupVpcRequest) (response *AssignSecurityGroupVpcResponse, err error)
- func (c *Client) AssociateEipAddress(request *AssociateEipAddressRequest) (response *AssociateEipAddressResponse, err error)
- func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) AttachNetworkInterface(request *AttachNicRequest) (response *AttachNicResponse, err error)
- func (c *Client) AvailableLanIp(request *AvailableLanIpRequest) (response *AvailableLanIpResponse, err error)
- func (c *Client) BatchAssignNetworkInterfaceIpv4(request *BatchAssignNicIpv4Request) (response *BatchAssignNicIpv4Response, err error)
- func (c *Client) BatchAttachEipLanIp(request *BatchAttachEipLanIpRequest) (response *BatchAttachEipLanIpResponse, err error)
- func (c *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, err error)
- func (c *Client) ChangeDisksAttach(request *ChangeDisksAttachRequest) (response *ChangeDisksAttachResponse, err error)
- func (c *Client) ChangeEipBindType(request *ChangeEipBindTypeRequest) (response *ChangeEipBindTypeResponse, err error)
- func (c *Client) ChangeEipInternetChargeType(request *ChangeEipInternetChargeTypeRequest) (response *ChangeEipInternetChargeTypeResponse, err error)
- func (c *Client) ChangeNicNetworkType(request *ChangeNicNetworkTypeRequest) (response *ChangeNicNetworkTypeResponse, err error)
- func (c *Client) ConfigEipEgressIp(request *ConfigEipEgressIpRequest) (response *ConfigEipEgressIpResponse, err error)
- func (c *Client) ConfigureSecurityGroupRules(request *ConfigureSecurityGroupRulesRequest) (response *ConfigureSecurityGroupRulesResponse, err error)
- func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateBorderGateway(request *CreateBorderGatewayRequest) (response *CreateBorderGatewayResponse, err error)
- func (c *Client) CreateCidr(request *CreateCidrRequest) (response *CreateCidrResponse, err error)
- func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
- func (c *Client) CreateDnatEntry(request *CreateDnatEntryRequest) (response *CreateDnatEntryResponse, err error)
- func (c *Client) CreateEips(request *CreateEipsRequest) (response *CreateEipsResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
- func (c *Client) CreateNetworkInterface(request *CreateNicRequest) (response *CreateNicResponse, err error)
- func (c *Client) CreateRoute(request *CreateRouteRequest) (response *CreateRouteResponse, err error)
- func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
- func (c *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
- func (c *Client) CreateSnatEntry(request *CreateSnatEntryRequest) (response *CreateSnatEntryResponse, err error)
- func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
- func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
- func (c *Client) CreateZecInstances(request *CreateZecInstancesRequest) (response *CreateZecInstancesResponse, err error)
- func (c *Client) DeleteAutoSnapshotPolicies(request *DeleteAutoSnapshotPoliciesRequest) (response *DeleteAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DeleteBorderGateway(request *DeleteBorderGatewayRequest) (response *DeleteBorderGatewayResponse, err error)
- func (c *Client) DeleteCidr(request *DeleteCidrRequest) (response *DeleteCidrResponse, err error)
- func (c *Client) DeleteDnatEntry(request *DeleteDnatEntryRequest) (response *DeleteDnatEntryResponse, err error)
- func (c *Client) DeleteEip(request *DeleteEipRequest) (response *DeleteEipResponse, err error)
- func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
- func (c *Client) DeleteNetworkInterface(request *DeleteNicRequest) (response *DeleteNicResponse, err error)
- func (c *Client) DeleteRoute(request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
- func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
- func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteSnatEntry(request *DeleteSnatEntryRequest) (response *DeleteSnatEntryResponse, err error)
- func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
- func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
- func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DescribeAvailableBorderGateway(request *DescribeAvailableBorderGatewayRequest) (response *DescribeAvailableBorderGatewayResponse, err error)
- func (c *Client) DescribeAvailableNats(request *DescribeAvailableNatsRequest) (response *DescribeAvailableNatsResponse, err error)
- func (c *Client) DescribeBorderGateways(request *DescribeBorderGatewaysRequest) (response *DescribeBorderGatewaysResponse, err error)
- func (c *Client) DescribeCidrPrice(request *DescribeCidrPriceRequest) (response *DescribeCidrPriceResponse, err error)
- func (c *Client) DescribeCidrRegions(request *DescribeCidrRegionsRequest) (response *DescribeCidrRegionsResponse, err error)
- func (c *Client) DescribeCidrs(request *DescribeCidrsRequest) (response *DescribeCidrsResponse, err error)
- func (c *Client) DescribeDiskCategory(request *DescribeDiskCategoryRequest) (response *DescribeDiskCategoryResponse, err error)
- func (c *Client) DescribeDiskRegions(request *DescribeDiskRegionsRequest) (response *DescribeDiskRegionsResponse, err error)
- func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
- func (c *Client) DescribeEipInternetChargeTypes(request *DescribeEipInternetChargeTypesRequest) (response *DescribeEipInternetChargeTypesResponse, err error)
- func (c *Client) DescribeEipMonitorData(request *DescribeEipMonitorDataRequest) (response *DescribeEipMonitorDataResponse, err error)
- func (c *Client) DescribeEipPrice(request *DescribeEipPriceRequest) (response *DescribeEipPriceResponse, err error)
- func (c *Client) DescribeEipRegions(request *DescribeEipRegionsRequest) (response *DescribeEipRegionsResponse, err error)
- func (c *Client) DescribeEipRemoteRegions(request *DescribeEipRemoteRegionsRequest) (response *DescribeEipRemoteRegionsResponse, err error)
- func (c *Client) DescribeEipTraffic(request *DescribeEipTrafficRequest) (response *DescribeEipTrafficResponse, err error)
- func (c *Client) DescribeEips(request *DescribeEipsRequest) (response *DescribeEipsResponse, err error)
- func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
- func (c *Client) DescribeInstanceMonitorData(request *DescribeInstanceMonitorDataRequest) (response *DescribeInstanceMonitorDataResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesStatus(request *DescribeInstancesStatusRequest) (response *DescribeInstancesStatusResponse, err error)
- func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
- func (c *Client) DescribeNatGatewayDetail(request *DescribeNatGatewayDetailRequest) (response *DescribeNatGatewayDetailResponse, err error)
- func (c *Client) DescribeNatGatewayRegions(request *DescribeNatGatewayRegionsRequest) (response *DescribeNatGatewayRegionsResponse, err error)
- func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)
- func (c *Client) DescribeNetworkInterfaceRegions(request *DescribeNicRegionsRequest) (response *DescribeNicRegionsResponse, err error)
- func (c *Client) DescribeNetworkInterfaces(request *DescribeNicsRequest) (response *DescribeNicsResponse, err error)
- func (c *Client) DescribePools(request *DescribePoolsRequest) (response *DescribePoolsResponse, err error)
- func (c *Client) DescribeRoutes(request *DescribeRoutesRequest) (response *DescribeRoutesResponse, err error)
- func (c *Client) DescribeSecurityGroupRule(request *DescribeSecurityGroupRuleRequest) (response *DescribeSecurityGroupRuleResponse, err error)
- func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
- func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeSubnetRegions(request *DescribeSubnetRegionsRequest) (response *DescribeSubnetRegionsResponse, err error)
- func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
- func (c *Client) DescribeTimeZones(request *DescribeTimeZonesRequest) (response *DescribeTimeZonesResponse, err error)
- func (c *Client) DescribeVncUrl(request *DescribeVncUrlRequest) (response *DescribeVncUrlResponse, err error)
- func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
- func (c *Client) DescribeZoneInstanceConfigInfos(request *DescribeZoneInstanceConfigInfosRequest) (response *DescribeZoneInstanceConfigInfosResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
- func (c *Client) DetachEipLanIp(request *DetachEipLanIpRequest) (response *DetachEipLanIpResponse, err error)
- func (c *Client) DetachNetworkInterface(request *DetachNicRequest) (response *DetachNicResponse, err error)
- func (c *Client) InquiryPriceCreateDisks(request *InquiryPriceCreateDisksRequest) (response *InquiryPriceCreateDisksResponse, err error)
- func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceCreateNatGateway(request *InquiryPriceCreateNatGatewayRequest) (response *InquiryPriceCreateNatGatewayResponse, err error)
- func (c *Client) InquiryPricePublicIpv6(request *InquiryPricePublicIpv6Request) (response *InquiryPricePublicIpv6Response, err error)
- func (c *Client) ModifyAutoSnapshotPolicy(request *ModifyAutoSnapshotPolicyRequest) (response *ModifyAutoSnapshotPolicyResponse, err error)
- func (c *Client) ModifyBorderGatewayAsn(request *ModifyBorderGatewayAsnRequest) (response *ModifyBorderGatewayAsnResponse, err error)
- func (c *Client) ModifyBorderGatewaysAttribute(request *ModifyBorderGatewaysAttributeRequest) (response *ModifyBorderGatewaysAttributeResponse, err error)
- func (c *Client) ModifyDisksAttributes(request *ModifyDisksAttributesRequest) (response *ModifyDisksAttributesResponse, err error)
- func (c *Client) ModifyDisksResourceGroup(request *ModifyDisksResourceGroupRequest) (response *ModifyDisksResourceGroupResponse, err error)
- func (c *Client) ModifyDnatEntry(request *ModifyDnatEntryRequest) (response *ModifyDnatEntryResponse, err error)
- func (c *Client) ModifyEipAttribute(request *ModifyEipAttributeRequest) (response *ModifyEipAttributeResponse, err error)
- func (c *Client) ModifyEipBandwidth(request *ModifyEipBandwidthRequest) (response *ModifyEipBandwidthResponse, err error)
- func (c *Client) ModifyInstanceType(request *ModifyInstanceTypeRequest) (response *ModifyInstanceTypeResponse, err error)
- func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyInstancesResourceGroup(request *ModifyInstancesResourceGroupRequest) (response *ModifyInstancesResourceGroupResponse, err error)
- func (c *Client) ModifyNatGateway(request *ModifyNatGatewayRequest) (response *ModifyNatGatewayResponse, err error)
- func (c *Client) ModifyNatGatewaysAttribute(request *ModifyNatGatewaysAttributeRequest) (response *ModifyNatGatewaysAttributeResponse, err error)
- func (c *Client) ModifyNetworkInterfacesAttribute(request *ModifyNicsAttributeRequest) (response *ModifyNicsAttributeResponse, err error)
- func (c *Client) ModifyRouteAttribute(request *ModifyRouteAttributeRequest) (response *ModifyRouteAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupsAttribute(request *ModifySecurityGroupsAttributeRequest) (response *ModifySecurityGroupsAttributeResponse, err error)
- func (c *Client) ModifySnapshotsAttribute(request *ModifySnapshotsAttributeRequest) (response *ModifySnapshotsAttributeResponse, err error)
- func (c *Client) ModifySnatEntry(request *ModifySnatEntryRequest) (response *ModifySnatEntryResponse, err error)
- func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
- func (c *Client) ModifySubnetStackType(request *ModifySubnetStackTypeRequest) (response *ModifySubnetStackTypeResponse, err error)
- func (c *Client) ModifySubnetsAttribute(request *ModifySubnetsAttributeRequest) (response *ModifySubnetsAttributeResponse, err error)
- func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
- func (c *Client) ModifyVpcsAttribute(request *ModifyVpcsAttributeRequest) (response *ModifyVpcsAttributeResponse, err error)
- func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) ReleaseDisk(request *ReleaseDiskRequest) (response *ReleaseDiskResponse, err error)
- func (c *Client) ReleaseInstances(request *ReleaseInstancesRequest) (response *ReleaseInstancesResponse, err error)
- func (c *Client) RenewCidr(request *RenewCidrRequest) (response *RenewCidrResponse, err error)
- func (c *Client) RenewDisk(request *RenewDiskRequest) (response *RenewDiskResponse, err error)
- func (c *Client) RenewEip(request *RenewEipRequest) (response *RenewEipResponse, err error)
- func (c *Client) RenewNatGateway(request *RenewNatGatewayRequest) (response *RenewNatGatewayResponse, err error)
- func (c *Client) ReplaceEipAddress(request *ReplaceEipAddressRequest) (response *ReplaceEipAddressResponse, err error)
- func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
- func (c *Client) ResetInstancePassword(request *ResetInstancePasswordRequest) (response *ResetInstancePasswordResponse, err error)
- func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
- func (c *Client) StartAgentMonitor(request *StartAgentMonitorRequest) (response *StartAgentMonitorResponse, err error)
- func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StartIpForward(request *StartIpForwardRequest) (response *StartIpForwardResponse, err error)
- func (c *Client) StopAgentMonitor(request *StopAgentMonitorRequest) (response *StopAgentMonitorResponse, err error)
- func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) StopIpForward(request *StopIpForwardRequest) (response *StopIpForwardResponse, err error)
- func (c *Client) UnAssignSecurityGroupVpc(request *UnAssignSecurityGroupVpcRequest) (response *UnAssignSecurityGroupVpcResponse, err error)
- func (c *Client) UnassignBorderGateway(request *UnassignBorderGatewayRequest) (response *UnassignBorderGatewayResponse, err error)
- func (c *Client) UnassignBorderGatewayRoute(request *UnassignBorderGatewayRouteRequest) (response *UnassignBorderGatewayRouteResponse, err error)
- func (c *Client) UnassignNetworkInterfaceIpv4(request *UnAssignNicIpv4Request) (response *UnAssignNicIpv4Response, err error)
- func (c *Client) UnassociateEipAddress(request *UnassociateEipAddressRequest) (response *UnassociateEipAddressResponse, err error)
- type ConfigEipEgressIpRequest
- type ConfigEipEgressIpResponse
- type ConfigureSecurityGroupRulesRequest
- type ConfigureSecurityGroupRulesResponse
- type CreateAutoSnapshotPolicyRequest
- type CreateAutoSnapshotPolicyResponse
- type CreateAutoSnapshotPolicyResponseParams
- type CreateBorderGatewayRequest
- type CreateBorderGatewayResponse
- type CreateBorderGatewayResponseParams
- type CreateCidrRequest
- type CreateCidrResponse
- type CreateCidrResponseParams
- type CreateDisksRequest
- type CreateDisksResponse
- type CreateDisksResponseParams
- type CreateDnatEntryRequest
- type CreateDnatEntryResponse
- type CreateDnatEntryResponseParams
- type CreateEipsRequest
- type CreateEipsResponse
- type CreateEipsResponseParams
- type CreateInstancesRequest
- type CreateInstancesResponse
- type CreateInstancesResponseParams
- type CreateNatGatewayRequest
- type CreateNatGatewayResponse
- type CreateNatGatewayResponseParams
- type CreateNicRequest
- type CreateNicResponse
- type CreateNicResponseParams
- type CreateRouteRequest
- type CreateRouteResponse
- type CreateRouteResponseParams
- type CreateSecurityGroupRequest
- type CreateSecurityGroupResponse
- type CreateSecurityGroupResponseParams
- type CreateSnapshotRequest
- type CreateSnapshotResponse
- type CreateSnapshotResponseParams
- type CreateSnatEntryRequest
- type CreateSnatEntryResponse
- type CreateSnatEntryResponseParams
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateSubnetResponseParams
- type CreateVpcRequest
- type CreateVpcResponse
- type CreateVpcResponseParams
- type CreateZecInstancesRequest
- type CreateZecInstancesResponse
- type CreateZecInstancesResponseParams
- type DataDisk
- type DeleteAutoSnapshotPoliciesRequest
- type DeleteAutoSnapshotPoliciesResponse
- type DeleteBorderGatewayRequest
- type DeleteBorderGatewayResponse
- type DeleteCidrRequest
- type DeleteCidrResponse
- type DeleteDnatEntryRequest
- type DeleteDnatEntryResponse
- type DeleteEipRequest
- type DeleteEipResponse
- type DeleteNatGatewayRequest
- type DeleteNatGatewayResponse
- type DeleteNicRequest
- type DeleteNicResponse
- type DeleteRouteRequest
- type DeleteRouteResponse
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupResponse
- type DeleteSnapshotsRequest
- type DeleteSnapshotsResponse
- type DeleteSnapshotsResponseParams
- type DeleteSnatEntryRequest
- type DeleteSnatEntryResponse
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DescribeAutoSnapshotPoliciesRequest
- type DescribeAutoSnapshotPoliciesResponse
- type DescribeAutoSnapshotPoliciesResponseParams
- type DescribeAvailableBorderGatewayRequest
- type DescribeAvailableBorderGatewayResponse
- type DescribeAvailableBorderGatewayResponseParams
- type DescribeAvailableNatsRequest
- type DescribeAvailableNatsResponse
- type DescribeAvailableNatsResponseParams
- type DescribeBorderGatewaysRequest
- type DescribeBorderGatewaysResponse
- type DescribeBorderGatewaysResponseParams
- type DescribeCidrPriceRequest
- type DescribeCidrPriceResponse
- type DescribeCidrPriceResponseParams
- type DescribeCidrRegionsRequest
- type DescribeCidrRegionsResponse
- type DescribeCidrRegionsResponseParams
- type DescribeCidrsRequest
- type DescribeCidrsResponse
- type DescribeCidrsResponseParams
- type DescribeDiskCategoryRequest
- type DescribeDiskCategoryResponse
- type DescribeDiskCategoryResponseParams
- type DescribeDiskRegionsRequest
- type DescribeDiskRegionsResponse
- type DescribeDiskRegionsResponseParams
- type DescribeDisksRequest
- type DescribeDisksResponse
- type DescribeDisksResponseParams
- type DescribeEipInternetChargeTypesRequest
- type DescribeEipInternetChargeTypesResponse
- type DescribeEipInternetChargeTypesResponseParams
- type DescribeEipMonitorDataRequest
- type DescribeEipMonitorDataResponse
- type DescribeEipMonitorDataResponseParams
- type DescribeEipPriceRequest
- type DescribeEipPriceResponse
- type DescribeEipPriceResponseParams
- type DescribeEipRegionsRequest
- type DescribeEipRegionsResponse
- type DescribeEipRegionsResponseParams
- type DescribeEipRemoteRegionsRequest
- type DescribeEipRemoteRegionsResponse
- type DescribeEipRemoteRegionsResponseParams
- type DescribeEipTrafficRequest
- type DescribeEipTrafficResponse
- type DescribeEipsRequest
- type DescribeEipsResponse
- type DescribeEipsResponseParams
- type DescribeImagesRequest
- type DescribeImagesResponse
- type DescribeImagesResponseParams
- type DescribeInstanceMonitorDataRequest
- type DescribeInstanceMonitorDataResponse
- type DescribeInstanceMonitorDataResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeInstancesStatusRequest
- type DescribeInstancesStatusResponse
- type DescribeInstancesStatusResponseParams
- type DescribeKeyPairsRequest
- type DescribeKeyPairsResponse
- type DescribeKeyPairsResponseParams
- type DescribeNatGatewayDetailRequest
- type DescribeNatGatewayDetailResponse
- type DescribeNatGatewayDetailResponseParams
- type DescribeNatGatewayRegionsRequest
- type DescribeNatGatewayRegionsResponse
- type DescribeNatGatewayRegionsResponseParams
- type DescribeNatGatewaysRequest
- type DescribeNatGatewaysResponse
- type DescribeNatGatewaysResponseParams
- type DescribeNicRegionsRequest
- type DescribeNicRegionsResponse
- type DescribeNicRegionsResponseParams
- type DescribeNicsRequest
- type DescribeNicsResponse
- type DescribeNicsResponseParams
- type DescribePoolsRequest
- type DescribePoolsResponse
- type DescribePoolsResponseParams
- type DescribeRoutesRequest
- type DescribeRoutesResponse
- type DescribeRoutesResponseParams
- type DescribeSecurityGroupRuleRequest
- type DescribeSecurityGroupRuleResponse
- type DescribeSecurityGroupRuleResponseParams
- type DescribeSecurityGroupsRequest
- type DescribeSecurityGroupsResponse
- type DescribeSecurityGroupsResponseParams
- type DescribeSnapshotsRequest
- type DescribeSnapshotsResponse
- type DescribeSnapshotsResponseParams
- type DescribeSubnetRegionsRequest
- type DescribeSubnetRegionsResponse
- type DescribeSubnetRegionsResponseParams
- type DescribeSubnetsRequest
- type DescribeSubnetsResponse
- type DescribeSubnetsResponseParams
- type DescribeTimeZonesRequest
- type DescribeTimeZonesResponse
- type DescribeTimeZonesResponseParams
- type DescribeVncUrlRequest
- type DescribeVncUrlResponse
- type DescribeVncUrlResponseParams
- type DescribeVpcsRequest
- type DescribeVpcsResponse
- type DescribeVpcsResponseParams
- type DescribeZoneInstanceConfigInfosRequest
- type DescribeZoneInstanceConfigInfosResponse
- type DescribeZoneInstanceConfigInfosResponseParams
- type DescribeZonesRequest
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetachDisksRequest
- type DetachDisksResponse
- type DetachEipLanIpRequest
- type DetachEipLanIpResponse
- type DetachNicRequest
- type DetachNicResponse
- type DiskCategory
- type DiskInfo
- type DiskWithInstance
- type DnatEntry
- type EipGeoRef
- type EipInfo
- type EipMetricValue
- type EipTrafficData
- type EipTrafficDataResponse
- type ImageInfo
- type InquiryPriceCreateDisksRequest
- type InquiryPriceCreateDisksResponse
- type InquiryPriceCreateDisksResponseParams
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceCreateInstanceResponseParams
- type InquiryPriceCreateNatGatewayRequest
- type InquiryPriceCreateNatGatewayResponse
- type InquiryPriceCreateNatGatewayResponseParams
- type InquiryPricePublicIpv6Request
- type InquiryPricePublicIpv6Response
- type InquiryPricePublicIpv6ResponseParams
- type InstanceInfo
- type InstanceStatus
- type InstanceTypeQuotaItem
- type KeyPair
- type MarketingInfo
- type MetricValue
- type ModifyAutoSnapshotPolicyRequest
- type ModifyAutoSnapshotPolicyResponse
- type ModifyBorderGatewayAsnRequest
- type ModifyBorderGatewayAsnResponse
- type ModifyBorderGatewaysAttributeRequest
- type ModifyBorderGatewaysAttributeResponse
- type ModifyDisksAttributesRequest
- type ModifyDisksAttributesResponse
- type ModifyDisksResourceGroupRequest
- type ModifyDisksResourceGroupResponse
- type ModifyDnatEntryRequest
- type ModifyDnatEntryResponse
- type ModifyEipAttributeRequest
- type ModifyEipAttributeResponse
- type ModifyEipBandwidthRequest
- type ModifyEipBandwidthResponse
- type ModifyEipBandwidthResponseParams
- type ModifyInstanceTypeRequest
- type ModifyInstanceTypeResponse
- type ModifyInstanceTypeResponseParams
- type ModifyInstancesAttributeRequest
- type ModifyInstancesAttributeResponse
- type ModifyInstancesResourceGroupRequest
- type ModifyInstancesResourceGroupResponse
- type ModifyNatGatewayRequest
- type ModifyNatGatewayResponse
- type ModifyNatGatewaysAttributeRequest
- type ModifyNatGatewaysAttributeResponse
- type ModifyNicsAttributeRequest
- type ModifyNicsAttributeResponse
- type ModifyRouteAttributeRequest
- type ModifyRouteAttributeResponse
- type ModifySecurityGroupsAttributeRequest
- type ModifySecurityGroupsAttributeResponse
- type ModifySnapshotsAttributeRequest
- type ModifySnapshotsAttributeResponse
- type ModifySnatEntryRequest
- type ModifySnatEntryResponse
- type ModifySubnetAttributeRequest
- type ModifySubnetAttributeResponse
- type ModifySubnetStackTypeRequest
- type ModifySubnetStackTypeResponse
- type ModifySubnetStackTypeResponseParams
- type ModifySubnetsAttributeRequest
- type ModifySubnetsAttributeResponse
- type ModifyVpcAttributeRequest
- type ModifyVpcAttributeResponse
- type ModifyVpcsAttributeRequest
- type ModifyVpcsAttributeResponse
- type NatGateway
- type NetmaskInfo
- type NicInfo
- type PoolInfo
- type Price
- type PriceItem
- type PrivateIpInfo
- type RebootInstancesRequest
- type RebootInstancesResponse
- type RebootInstancesResponseParams
- type RegionInfo
- type ReleaseDiskRequest
- type ReleaseDiskResponse
- type ReleaseInstancesRequest
- type ReleaseInstancesResponse
- type ReleaseInstancesResponseParams
- type RenewCidrRequest
- type RenewCidrResponse
- type RenewDiskRequest
- type RenewDiskResponse
- type RenewEipRequest
- type RenewEipResponse
- type RenewNatGatewayRequest
- type RenewNatGatewayResponse
- type ReplaceEipAddressRequest
- type ReplaceEipAddressResponse
- type ReplaceEipAddressResponseParams
- type ReplaceIp
- type ResetInstancePasswordRequest
- type ResetInstancePasswordResponse
- type ResetInstanceRequest
- type ResetInstanceResponse
- type ResizeDiskRequest
- type ResizeDiskResponse
- type ResourceGroupInfo
- type RouteInfo
- type RuleInfo
- type SecurityGroupInfo
- type SnapshotInfo
- type SnatEntry
- type SnatSubnetRef
- type StartAgentMonitorRequest
- type StartAgentMonitorResponse
- type StartInstancesRequest
- type StartInstancesResponse
- type StartInstancesResponseParams
- type StartIpForwardRequest
- type StartIpForwardResponse
- type StepPrice
- type StopAgentMonitorRequest
- type StopAgentMonitorResponse
- type StopInstancesRequest
- type StopInstancesResponse
- type StopInstancesResponseParams
- type StopIpForwardRequest
- type StopIpForwardResponse
- type SubnetInfo
- type SystemDisk
- type UnAssignNicIpv4Request
- type UnAssignNicIpv4Response
- type UnAssignSecurityGroupVpcRequest
- type UnAssignSecurityGroupVpcResponse
- type UnassignBorderGatewayRequest
- type UnassignBorderGatewayResponse
- type UnassignBorderGatewayRouteRequest
- type UnassignBorderGatewayRouteResponse
- type UnassociateEipAddressRequest
- type UnassociateEipAddressResponse
- type UnassociateEipAddressResponseParams
- type VpcInfo
- type ZbgInfo
- type ZoneInfo
Constants ¶
const ( APIVersion = "2024-04-01" SERVICE = "zec" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyAutoSnapshotPolicyRequest ¶ added in v0.2.0
type ApplyAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyId 自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// DiskIds 要添加的磁盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
}
func NewApplyAutoSnapshotPolicyRequest ¶ added in v0.2.0
func NewApplyAutoSnapshotPolicyRequest() (request *ApplyAutoSnapshotPolicyRequest)
type ApplyAutoSnapshotPolicyResponse ¶ added in v0.2.0
type ApplyAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewApplyAutoSnapshotPolicyResponse ¶ added in v0.2.0
func NewApplyAutoSnapshotPolicyResponse() (response *ApplyAutoSnapshotPolicyResponse)
type ApplySnapshotRequest ¶ added in v0.1.32
type ApplySnapshotRequest struct {
*common.BaseRequest
// SnapshotId 快照唯一ID。
SnapshotId *string `json:"snapshotId,omitempty"`
// DiskId 云硬盘ID。
DiskId *string `json:"diskId,omitempty"`
}
func NewApplySnapshotRequest ¶ added in v0.1.32
func NewApplySnapshotRequest() (request *ApplySnapshotRequest)
type ApplySnapshotResponse ¶ added in v0.1.32
type ApplySnapshotResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewApplySnapshotResponse ¶ added in v0.1.32
func NewApplySnapshotResponse() (response *ApplySnapshotResponse)
type AssignBorderGatewayRequest ¶ added in v0.1.26
type AssignBorderGatewayRequest struct {
*common.BaseRequest
ZbgId *string `json:"zbgId,omitempty"`
NatId *string `json:"natId,omitempty"`
}
func NewAssignBorderGatewayRequest ¶ added in v0.1.26
func NewAssignBorderGatewayRequest() (request *AssignBorderGatewayRequest)
type AssignBorderGatewayResponse ¶ added in v0.1.26
type AssignBorderGatewayResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssignBorderGatewayResponse ¶ added in v0.1.26
func NewAssignBorderGatewayResponse() (response *AssignBorderGatewayResponse)
type AssignBorderGatewayRouteRequest ¶ added in v0.1.32
type AssignBorderGatewayRouteRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
func NewAssignBorderGatewayRouteRequest ¶ added in v0.1.32
func NewAssignBorderGatewayRouteRequest() (request *AssignBorderGatewayRouteRequest)
type AssignBorderGatewayRouteResponse ¶ added in v0.1.32
type AssignBorderGatewayRouteResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssignBorderGatewayRouteResponse ¶ added in v0.1.32
func NewAssignBorderGatewayRouteResponse() (response *AssignBorderGatewayRouteResponse)
type AssignNicIpv4Request ¶ added in v0.1.18
type AssignNicIpv4Request struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
IpAddress string `json:"ipAddress,omitempty"`
}
func NewAssignNetworkInterfaceIpv4Request ¶ added in v0.1.18
func NewAssignNetworkInterfaceIpv4Request() (request *AssignNicIpv4Request)
type AssignNicIpv4Response ¶ added in v0.1.18
type AssignNicIpv4Response struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssignNetworkInterfaceIpv4Response ¶ added in v0.1.18
func NewAssignNetworkInterfaceIpv4Response() (response *AssignNicIpv4Response)
type AssignNicIpv6Request ¶ added in v0.1.18
type AssignNicIpv6Request struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
PackageSize float64 `json:"packageSize"`
Bandwidth int `json:"bandwidth"`
ClusterId string `json:"clusterId"`
}
func NewAssignNetworkInterfaceIpv6Request ¶ added in v0.1.18
func NewAssignNetworkInterfaceIpv6Request() (request *AssignNicIpv6Request)
type AssignNicIpv6Response ¶ added in v0.1.18
type AssignNicIpv6Response struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssignNetworkInterfaceIpv6Response ¶ added in v0.1.18
func NewAssignNetworkInterfaceIpv6Response() (response *AssignNicIpv6Response)
type AssignSecurityGroupVpcRequest ¶ added in v0.1.18
type AssignSecurityGroupVpcRequest struct {
*common.BaseRequest
SecurityGroupId string `json:"securityGroupId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
}
func NewAssignSecurityGroupVpcRequest ¶ added in v0.1.18
func NewAssignSecurityGroupVpcRequest() (request *AssignSecurityGroupVpcRequest)
type AssignSecurityGroupVpcResponse ¶ added in v0.1.18
type AssignSecurityGroupVpcResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssignSecurityGroupVpcResponse ¶ added in v0.1.18
func NewAssignSecurityGroupVpcResponse() (response *AssignSecurityGroupVpcResponse)
type AssociateEipAddressRequest ¶ added in v0.1.24
type AssociateEipAddressRequest struct {
*common.BaseRequest
// LoadBalancerId 负载均衡实例的ID。
LoadBalancerId *string `json:"loadBalancerId,omitempty"`
// NicId 虚拟网卡的ID。
NicId *string `json:"nicId,omitempty"`
// LanIp 要绑定的网卡上的内网IP地址。当IP绑定的是网卡, 则该字段不能为空。
LanIp *string `json:"lanIp,omitempty"`
// NatId NAT网关的ID。
NatId *string `json:"natId,omitempty"`
// EipIds 要绑定的EIP的ID。EIP 必须是未绑定状态。
EipIds []string `json:"eipIds,omitempty"`
// BindType 绑定类型。当绑定的是网卡时生效。默认为普通NATm模式。
BindType *string `json:"bindType,omitempty"`
}
func NewAssociateEipAddressRequest ¶ added in v0.1.24
func NewAssociateEipAddressRequest() (request *AssociateEipAddressRequest)
type AssociateEipAddressResponse ¶ added in v0.1.24
type AssociateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *AssociateEipAddressResponseParams `json:"response"`
}
func NewAssociateEipAddressResponse ¶ added in v0.1.24
func NewAssociateEipAddressResponse() (response *AssociateEipAddressResponse)
type AssociateEipAddressResponseParams ¶ added in v0.1.24
type AttachDisksRequest ¶ added in v0.1.18
type AttachDisksRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewAttachDisksRequest ¶ added in v0.1.18
func NewAttachDisksRequest() (request *AttachDisksRequest)
type AttachDisksResponse ¶ added in v0.1.18
type AttachDisksResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAttachDisksResponse ¶ added in v0.1.18
func NewAttachDisksResponse() (response *AttachDisksResponse)
type AttachNicRequest ¶ added in v0.1.18
type AttachNicRequest struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewAttachNetworkInterfaceRequest ¶ added in v0.1.18
func NewAttachNetworkInterfaceRequest() (request *AttachNicRequest)
type AttachNicResponse ¶ added in v0.1.18
type AttachNicResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAttachNetworkInterfaceResponse ¶ added in v0.1.18
func NewAttachNetworkInterfaceResponse() (response *AttachNicResponse)
type AutoSnapshotPolicy ¶ added in v0.2.0
type AutoSnapshotPolicy struct {
// AutoSnapshotPolicyId 自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// AutoSnapshotPolicyName 自动快照策略的名称。
AutoSnapshotPolicyName *string `json:"autoSnapshotPolicyName,omitempty"`
// RepeatWeekDays 自动快照的重复日期。单位为天,周期为星期,例如 1 表示周一。
RepeatWeekDays []int `json:"repeatWeekDays,omitempty"`
// Hours 指定定期快照策略的触发时间。使用 UTC 时间,单位为小时。00:00 ~ 23:00 共 24 个时间点可选,1表示 01:00,依此类推。
Hours []int `json:"hours,omitempty"`
// RetentionDays 自动快照的保留时间,单位为天。如果该值设置-1,则代表永久保留。
RetentionDays *int `json:"retentionDays,omitempty"`
// DiskNum 关联的云盘数量。
DiskNum *int `json:"diskNum,omitempty"`
// CreateTime 策略创建时间。
CreateTime *string `json:"createTime,omitempty"`
// ResourceGroup 资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
// DiskIdSet 关联的云盘ID。
DiskIdSet []string `json:"diskIdSet,omitempty"`
}
AutoSnapshotPolicy 描述自动快照策略的相关信息。
type AvailableLanIpRequest ¶ added in v0.1.18
type AvailableLanIpRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewAvailableLanIpRequest ¶ added in v0.1.18
func NewAvailableLanIpRequest() (request *AvailableLanIpRequest)
type AvailableLanIpResponse ¶ added in v0.1.18
type AvailableLanIpResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *AvailableLanIpResponseParams `json:"response"`
}
func NewAvailableLanIpResponse ¶ added in v0.1.18
func NewAvailableLanIpResponse() (response *AvailableLanIpResponse)
type AvailableLanIpResponseParams ¶ added in v0.1.18
type AvailableLanIpResponseParams struct {
RequestId string `json:"requestId,omitempty"`
LanIps []*PrivateIpInfo `json:"lanIps,omitempty"`
}
type BandwidthClusterInfo ¶ added in v0.1.32
type BatchAssignNetworkInterfaceIpv4ResponseParams ¶ added in v0.1.28
type BatchAssignNicIpv4Request ¶ added in v0.1.18
type BatchAssignNicIpv4Request struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
IpAddresses []string `json:"ipAddresses,omitempty"`
// IpAddressCount 指定额外绑定的内网IP数量。 该字段和`ipAddresses`必须指定其一,如果都指定,则会以 `ipAddresses` 有效。
IpAddressCount *int `json:"ipAddressCount,omitempty"`
}
func NewBatchAssignNetworkInterfaceIpv4Request ¶ added in v0.1.18
func NewBatchAssignNetworkInterfaceIpv4Request() (request *BatchAssignNicIpv4Request)
type BatchAssignNicIpv4Response ¶ added in v0.1.18
type BatchAssignNicIpv4Response struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *BatchAssignNetworkInterfaceIpv4ResponseParams `json:"response,omitempty"`
}
func NewBatchAssignNetworkInterfaceIpv4Response ¶ added in v0.1.18
func NewBatchAssignNetworkInterfaceIpv4Response() (response *BatchAssignNicIpv4Response)
type BatchAttachEipLanIpRequest ¶ added in v0.1.19
type BatchAttachEipLanIpRequest struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
LanIp string `json:"lanIp,omitempty"`
EipIds []string `json:"eipIds,omitempty"`
// BindType 绑定类型。当绑定的是网卡时生效。默认为普通NATm模式。
BindType *string `json:"bindType,omitempty"`
}
func NewBatchAttachEipLanIpRequest ¶ added in v0.1.19
func NewBatchAttachEipLanIpRequest() (request *BatchAttachEipLanIpRequest)
type BatchAttachEipLanIpResponse ¶ added in v0.1.19
type BatchAttachEipLanIpResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewBatchAttachEipLanIpResponse ¶ added in v0.1.19
func NewBatchAttachEipLanIpResponse() (response *BatchAttachEipLanIpResponse)
type CancelAutoSnapshotPolicyRequest ¶ added in v0.2.0
type CancelAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyId 自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// DiskIds 要移除的磁盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
}
func NewCancelAutoSnapshotPolicyRequest ¶ added in v0.2.0
func NewCancelAutoSnapshotPolicyRequest() (request *CancelAutoSnapshotPolicyRequest)
type CancelAutoSnapshotPolicyResponse ¶ added in v0.2.0
type CancelAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewCancelAutoSnapshotPolicyResponse ¶ added in v0.2.0
func NewCancelAutoSnapshotPolicyResponse() (response *CancelAutoSnapshotPolicyResponse)
type ChangeDisksAttachRequest ¶ added in v0.1.18
type ChangeDisksAttachRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewChangeDisksAttachRequest ¶ added in v0.1.18
func NewChangeDisksAttachRequest() (request *ChangeDisksAttachRequest)
type ChangeDisksAttachResponse ¶ added in v0.1.18
type ChangeDisksAttachResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewChangeDisksAttachResponse ¶ added in v0.1.18
func NewChangeDisksAttachResponse() (response *ChangeDisksAttachResponse)
type ChangeEipBindTypeRequest ¶ added in v0.1.32
type ChangeEipBindTypeRequest struct {
*common.BaseRequest
// EipId
EipId *string `json:"eipId,omitempty"`
// BindType 绑定类型。当绑定的是网卡时生效。默认为普通NAT模式。
BindType *string `json:"bindType,omitempty"`
}
ChangeEipBindTypeRequest EIP更换的请求信息。
func NewChangeEipBindTypeRequest ¶ added in v0.1.32
func NewChangeEipBindTypeRequest() (request *ChangeEipBindTypeRequest)
type ChangeEipBindTypeResponse ¶ added in v0.1.32
type ChangeEipBindTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewChangeEipBindTypeResponse ¶ added in v0.1.32
func NewChangeEipBindTypeResponse() (response *ChangeEipBindTypeResponse)
type ChangeEipInternetChargeTypeRequest ¶ added in v0.1.19
type ChangeEipInternetChargeTypeRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
}
func NewChangeEipInternetChargeTypeRequest ¶ added in v0.1.19
func NewChangeEipInternetChargeTypeRequest() (request *ChangeEipInternetChargeTypeRequest)
type ChangeEipInternetChargeTypeResponse ¶ added in v0.1.19
type ChangeEipInternetChargeTypeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *ChangeEipInternetChargeTypeResponseParams `json:"response"`
}
func NewChangeEipInternetChargeTypeResponse ¶ added in v0.1.19
func NewChangeEipInternetChargeTypeResponse() (response *ChangeEipInternetChargeTypeResponse)
type ChangeEipInternetChargeTypeResponseParams ¶ added in v0.1.19
type ChangeNicNetworkTypeRequest ¶ added in v0.1.19
type ChangeNicNetworkTypeRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
NicNetworkType string `json:"nicNetworkType,omitempty"`
}
func NewChangeNicNetworkTypeRequest ¶ added in v0.1.19
func NewChangeNicNetworkTypeRequest() (request *ChangeNicNetworkTypeRequest)
type ChangeNicNetworkTypeResponse ¶ added in v0.1.19
type ChangeNicNetworkTypeResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewChangeNicNetworkTypeResponse ¶ added in v0.1.19
func NewChangeNicNetworkTypeResponse() (response *ChangeNicNetworkTypeResponse)
type ChargePrepaid ¶ added in v0.1.18
type ChargePrepaid struct {
// Period of subscription.
// Unit: month.
Period int `json:"period,omitempty"`
}
type CidrInfo ¶ added in v0.1.18
type CidrInfo struct {
CidrId string `json:"cidrId,omitempty"`
RegionId string `json:"regionId,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
UsedCount int `json:"usedCount,omitempty"`
Source string `json:"source,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
Netmask int `json:"netmask,omitempty"`
PoolId string `json:"poolId,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
}
type Client
deprecated
Deprecated: For maintaining enhanced SDK consistency. This client is no longer in use, please use zenlayercloud.zec20250901.Client
func NewClientWithSecretKey ¶
func (*Client) ApplyAutoSnapshotPolicy ¶ added in v0.2.0
func (c *Client) ApplyAutoSnapshotPolicy(request *ApplyAutoSnapshotPolicyRequest) (response *ApplyAutoSnapshotPolicyResponse, err error)
ApplyAutoSnapshotPolicy 云硬盘添加到指定的自动快照策略。
func (*Client) ApplySnapshot ¶ added in v0.1.32
func (c *Client) ApplySnapshot(request *ApplySnapshotRequest) (response *ApplySnapshotResponse, err error)
ApplySnapshot 用于回滚快照到原云盘。
func (*Client) AssignBorderGateway ¶ added in v0.1.26
func (c *Client) AssignBorderGateway(request *AssignBorderGatewayRequest) (response *AssignBorderGatewayResponse, err error)
AssignBorderGateway
func (*Client) AssignBorderGatewayRoute ¶ added in v0.1.32
func (c *Client) AssignBorderGatewayRoute(request *AssignBorderGatewayRouteRequest) (response *AssignBorderGatewayRouteResponse, err error)
AssignBorderGatewayRoute
func (*Client) AssignNetworkInterfaceIpv4 ¶ added in v0.1.18
func (c *Client) AssignNetworkInterfaceIpv4(request *AssignNicIpv4Request) (response *AssignNicIpv4Response, err error)
func (*Client) AssignNetworkInterfaceIpv6 ¶ added in v0.1.18
func (c *Client) AssignNetworkInterfaceIpv6(request *AssignNicIpv6Request) (response *AssignNicIpv6Response, err error)
func (*Client) AssignSecurityGroupVpc ¶ added in v0.1.18
func (c *Client) AssignSecurityGroupVpc(request *AssignSecurityGroupVpcRequest) (response *AssignSecurityGroupVpcResponse, err error)
func (*Client) AssociateEipAddress ¶ added in v0.1.24
func (c *Client) AssociateEipAddress(request *AssociateEipAddressRequest) (response *AssociateEipAddressResponse, err error)
func (*Client) AttachDisks ¶ added in v0.1.18
func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
func (*Client) AttachNetworkInterface ¶ added in v0.1.18
func (c *Client) AttachNetworkInterface(request *AttachNicRequest) (response *AttachNicResponse, err error)
func (*Client) AvailableLanIp ¶ added in v0.1.18
func (c *Client) AvailableLanIp(request *AvailableLanIpRequest) (response *AvailableLanIpResponse, err error)
func (*Client) BatchAssignNetworkInterfaceIpv4 ¶ added in v0.1.18
func (c *Client) BatchAssignNetworkInterfaceIpv4(request *BatchAssignNicIpv4Request) (response *BatchAssignNicIpv4Response, err error)
func (*Client) BatchAttachEipLanIp ¶ added in v0.1.19
func (c *Client) BatchAttachEipLanIp(request *BatchAttachEipLanIpRequest) (response *BatchAttachEipLanIpResponse, err error)
func (*Client) CancelAutoSnapshotPolicy ¶ added in v0.2.0
func (c *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, err error)
CancelAutoSnapshotPolicy 云硬盘从指定的自动快照策略中移除。
func (*Client) ChangeDisksAttach ¶ added in v0.1.18
func (c *Client) ChangeDisksAttach(request *ChangeDisksAttachRequest) (response *ChangeDisksAttachResponse, err error)
func (*Client) ChangeEipBindType ¶ added in v0.1.32
func (c *Client) ChangeEipBindType(request *ChangeEipBindTypeRequest) (response *ChangeEipBindTypeResponse, err error)
ChangeEipBindType 弹性公网IP(EIP)更换绑定模式。
func (*Client) ChangeEipInternetChargeType ¶ added in v0.1.19
func (c *Client) ChangeEipInternetChargeType(request *ChangeEipInternetChargeTypeRequest) (response *ChangeEipInternetChargeTypeResponse, err error)
func (*Client) ChangeNicNetworkType ¶ added in v0.1.19
func (c *Client) ChangeNicNetworkType(request *ChangeNicNetworkTypeRequest) (response *ChangeNicNetworkTypeResponse, err error)
func (*Client) ConfigEipEgressIp ¶ added in v0.1.19
func (c *Client) ConfigEipEgressIp(request *ConfigEipEgressIpRequest) (response *ConfigEipEgressIpResponse, err error)
func (*Client) ConfigureSecurityGroupRules ¶ added in v0.1.18
func (c *Client) ConfigureSecurityGroupRules(request *ConfigureSecurityGroupRulesRequest) (response *ConfigureSecurityGroupRulesResponse, err error)
func (*Client) CreateAutoSnapshotPolicy ¶ added in v0.2.0
func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy 创建一个自动快照策略。
func (*Client) CreateBorderGateway ¶ added in v0.1.19
func (c *Client) CreateBorderGateway(request *CreateBorderGatewayRequest) (response *CreateBorderGatewayResponse, err error)
CreateBorderGateway
func (*Client) CreateCidr ¶ added in v0.1.18
func (c *Client) CreateCidr(request *CreateCidrRequest) (response *CreateCidrResponse, err error)
func (*Client) CreateDisks ¶ added in v0.1.18
func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
func (*Client) CreateDnatEntry ¶ added in v0.1.26
func (c *Client) CreateDnatEntry(request *CreateDnatEntryRequest) (response *CreateDnatEntryResponse, err error)
CreateDnatEntry 创建DNAT规则。
func (*Client) CreateEips ¶ added in v0.1.19
func (c *Client) CreateEips(request *CreateEipsRequest) (response *CreateEipsResponse, err error)
func (*Client) CreateInstances ¶ added in v0.1.18
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
func (*Client) CreateNatGateway ¶ added in v0.1.26
func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
CreateNatGateway 创建NAT网关。
func (*Client) CreateNetworkInterface ¶ added in v0.1.18
func (c *Client) CreateNetworkInterface(request *CreateNicRequest) (response *CreateNicResponse, err error)
func (*Client) CreateRoute ¶ added in v0.1.18
func (c *Client) CreateRoute(request *CreateRouteRequest) (response *CreateRouteResponse, err error)
func (*Client) CreateSecurityGroup ¶ added in v0.1.18
func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
func (*Client) CreateSnapshot ¶ added in v0.1.32
func (c *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
CreateSnapshot 用于对指定云盘创建快照。
func (*Client) CreateSnatEntry ¶ added in v0.1.26
func (c *Client) CreateSnatEntry(request *CreateSnatEntryRequest) (response *CreateSnatEntryResponse, err error)
CreateSnatEntry 创建SNAT规则。
func (*Client) CreateSubnet ¶ added in v0.1.18
func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
func (*Client) CreateVpc ¶ added in v0.1.18
func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
func (*Client) CreateZecInstances ¶ added in v0.1.18
func (c *Client) CreateZecInstances(request *CreateZecInstancesRequest) (response *CreateZecInstancesResponse, err error)
func (*Client) DeleteAutoSnapshotPolicies ¶ added in v0.2.0
func (c *Client) DeleteAutoSnapshotPolicies(request *DeleteAutoSnapshotPoliciesRequest) (response *DeleteAutoSnapshotPoliciesResponse, err error)
DeleteAutoSnapshotPolicies 删除指定的自动快照策略。
func (*Client) DeleteBorderGateway ¶ added in v0.1.19
func (c *Client) DeleteBorderGateway(request *DeleteBorderGatewayRequest) (response *DeleteBorderGatewayResponse, err error)
DeleteBorderGateway
func (*Client) DeleteCidr ¶ added in v0.1.18
func (c *Client) DeleteCidr(request *DeleteCidrRequest) (response *DeleteCidrResponse, err error)
func (*Client) DeleteDnatEntry ¶ added in v0.1.26
func (c *Client) DeleteDnatEntry(request *DeleteDnatEntryRequest) (response *DeleteDnatEntryResponse, err error)
DeleteDnatEntry 删除DNAT规则。
func (*Client) DeleteEip ¶ added in v0.1.19
func (c *Client) DeleteEip(request *DeleteEipRequest) (response *DeleteEipResponse, err error)
func (*Client) DeleteNatGateway ¶ added in v0.1.26
func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
DeleteNatGateway 删除一个指定的NAT网关。
func (*Client) DeleteNetworkInterface ¶ added in v0.1.18
func (c *Client) DeleteNetworkInterface(request *DeleteNicRequest) (response *DeleteNicResponse, err error)
func (*Client) DeleteRoute ¶ added in v0.1.18
func (c *Client) DeleteRoute(request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
func (*Client) DeleteSecurityGroup ¶ added in v0.1.18
func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
func (*Client) DeleteSnapshots ¶ added in v0.1.32
func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 用于删除指定快照集合。
func (*Client) DeleteSnatEntry ¶ added in v0.1.26
func (c *Client) DeleteSnatEntry(request *DeleteSnatEntryRequest) (response *DeleteSnatEntryResponse, err error)
DeleteSnatEntry 删除SNAT规则。
func (*Client) DeleteSubnet ¶ added in v0.1.18
func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
func (*Client) DeleteVpc ¶ added in v0.1.18
func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
func (*Client) DescribeAutoSnapshotPolicies ¶ added in v0.2.0
func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies 查询自动快照策略的列表数据。
func (*Client) DescribeAvailableBorderGateway ¶ added in v0.1.28
func (c *Client) DescribeAvailableBorderGateway(request *DescribeAvailableBorderGatewayRequest) (response *DescribeAvailableBorderGatewayResponse, err error)
DescribeAvailableBorderGateway 获取可绑定NAT的边界网关。
func (*Client) DescribeAvailableNats ¶ added in v0.1.26
func (c *Client) DescribeAvailableNats(request *DescribeAvailableNatsRequest) (response *DescribeAvailableNatsResponse, err error)
DescribeAvailableNats
func (*Client) DescribeBorderGateways ¶ added in v0.1.19
func (c *Client) DescribeBorderGateways(request *DescribeBorderGatewaysRequest) (response *DescribeBorderGatewaysResponse, err error)
DescribeBorderGateways
func (*Client) DescribeCidrPrice ¶ added in v0.1.18
func (c *Client) DescribeCidrPrice(request *DescribeCidrPriceRequest) (response *DescribeCidrPriceResponse, err error)
func (*Client) DescribeCidrRegions ¶ added in v0.1.18
func (c *Client) DescribeCidrRegions(request *DescribeCidrRegionsRequest) (response *DescribeCidrRegionsResponse, err error)
func (*Client) DescribeCidrs ¶ added in v0.1.18
func (c *Client) DescribeCidrs(request *DescribeCidrsRequest) (response *DescribeCidrsResponse, err error)
func (*Client) DescribeDiskCategory ¶ added in v0.1.18
func (c *Client) DescribeDiskCategory(request *DescribeDiskCategoryRequest) (response *DescribeDiskCategoryResponse, err error)
func (*Client) DescribeDiskRegions ¶ added in v0.1.18
func (c *Client) DescribeDiskRegions(request *DescribeDiskRegionsRequest) (response *DescribeDiskRegionsResponse, err error)
func (*Client) DescribeDisks ¶ added in v0.1.18
func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
func (*Client) DescribeEipInternetChargeTypes ¶ added in v0.1.19
func (c *Client) DescribeEipInternetChargeTypes(request *DescribeEipInternetChargeTypesRequest) (response *DescribeEipInternetChargeTypesResponse, err error)
func (*Client) DescribeEipMonitorData ¶ added in v0.1.26
func (c *Client) DescribeEipMonitorData(request *DescribeEipMonitorDataRequest) (response *DescribeEipMonitorDataResponse, err error)
DescribeEipMonitorData 查询弹性公网IP监控指标。
func (*Client) DescribeEipPrice ¶ added in v0.1.19
func (c *Client) DescribeEipPrice(request *DescribeEipPriceRequest) (response *DescribeEipPriceResponse, err error)
func (*Client) DescribeEipRegions ¶ added in v0.1.19
func (c *Client) DescribeEipRegions(request *DescribeEipRegionsRequest) (response *DescribeEipRegionsResponse, err error)
func (*Client) DescribeEipRemoteRegions ¶ added in v0.1.19
func (c *Client) DescribeEipRemoteRegions(request *DescribeEipRemoteRegionsRequest) (response *DescribeEipRemoteRegionsResponse, err error)
func (*Client) DescribeEipTraffic ¶ added in v0.1.19
func (c *Client) DescribeEipTraffic(request *DescribeEipTrafficRequest) (response *DescribeEipTrafficResponse, err error)
DescribeEipTraffic
func (*Client) DescribeEips ¶ added in v0.1.19
func (c *Client) DescribeEips(request *DescribeEipsRequest) (response *DescribeEipsResponse, err error)
func (*Client) DescribeImages ¶ added in v0.1.18
func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
func (*Client) DescribeInstanceMonitorData ¶
func (c *Client) DescribeInstanceMonitorData(request *DescribeInstanceMonitorDataRequest) (response *DescribeInstanceMonitorDataResponse, err error)
DescribeInstanceMonitorData 查询实例监控指标。
func (*Client) DescribeInstances ¶ added in v0.1.18
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
func (*Client) DescribeInstancesStatus ¶ added in v0.1.18
func (c *Client) DescribeInstancesStatus(request *DescribeInstancesStatusRequest) (response *DescribeInstancesStatusResponse, err error)
func (*Client) DescribeKeyPairs ¶ added in v0.1.18
func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
func (*Client) DescribeNatGatewayDetail ¶ added in v0.1.26
func (c *Client) DescribeNatGatewayDetail(request *DescribeNatGatewayDetailRequest) (response *DescribeNatGatewayDetailResponse, err error)
DescribeNatGatewayDetail 查询NAT网关详情规则表。
func (*Client) DescribeNatGatewayRegions ¶ added in v0.1.26
func (c *Client) DescribeNatGatewayRegions(request *DescribeNatGatewayRegionsRequest) (response *DescribeNatGatewayRegionsResponse, err error)
func (*Client) DescribeNatGateways ¶ added in v0.1.26
func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)
DescribeNatGateways 查询NAT网关列表。
func (*Client) DescribeNetworkInterfaceRegions ¶ added in v0.1.18
func (c *Client) DescribeNetworkInterfaceRegions(request *DescribeNicRegionsRequest) (response *DescribeNicRegionsResponse, err error)
func (*Client) DescribeNetworkInterfaces ¶ added in v0.1.18
func (c *Client) DescribeNetworkInterfaces(request *DescribeNicsRequest) (response *DescribeNicsResponse, err error)
func (*Client) DescribePools ¶ added in v0.1.19
func (c *Client) DescribePools(request *DescribePoolsRequest) (response *DescribePoolsResponse, err error)
func (*Client) DescribeRoutes ¶ added in v0.1.18
func (c *Client) DescribeRoutes(request *DescribeRoutesRequest) (response *DescribeRoutesResponse, err error)
func (*Client) DescribeSecurityGroupRule ¶ added in v0.1.18
func (c *Client) DescribeSecurityGroupRule(request *DescribeSecurityGroupRuleRequest) (response *DescribeSecurityGroupRuleResponse, err error)
func (*Client) DescribeSecurityGroups ¶ added in v0.1.18
func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
func (*Client) DescribeSnapshots ¶ added in v0.1.32
func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 用于查询快照的详细信息。
func (*Client) DescribeSubnetRegions ¶ added in v0.1.18
func (c *Client) DescribeSubnetRegions(request *DescribeSubnetRegionsRequest) (response *DescribeSubnetRegionsResponse, err error)
func (*Client) DescribeSubnets ¶ added in v0.1.18
func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
func (*Client) DescribeTimeZones ¶ added in v0.1.19
func (c *Client) DescribeTimeZones(request *DescribeTimeZonesRequest) (response *DescribeTimeZonesResponse, err error)
func (*Client) DescribeVncUrl ¶ added in v0.1.19
func (c *Client) DescribeVncUrl(request *DescribeVncUrlRequest) (response *DescribeVncUrlResponse, err error)
func (*Client) DescribeVpcs ¶ added in v0.1.18
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
func (*Client) DescribeZoneInstanceConfigInfos ¶ added in v0.1.18
func (c *Client) DescribeZoneInstanceConfigInfos(request *DescribeZoneInstanceConfigInfosRequest) (response *DescribeZoneInstanceConfigInfosResponse, err error)
func (*Client) DescribeZones ¶ added in v0.1.18
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
func (*Client) DetachDisks ¶ added in v0.1.18
func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
func (*Client) DetachEipLanIp ¶ added in v0.1.19
func (c *Client) DetachEipLanIp(request *DetachEipLanIpRequest) (response *DetachEipLanIpResponse, err error)
func (*Client) DetachNetworkInterface ¶ added in v0.1.18
func (c *Client) DetachNetworkInterface(request *DetachNicRequest) (response *DetachNicResponse, err error)
func (*Client) InquiryPriceCreateDisks ¶ added in v0.1.18
func (c *Client) InquiryPriceCreateDisks(request *InquiryPriceCreateDisksRequest) (response *InquiryPriceCreateDisksResponse, err error)
func (*Client) InquiryPriceCreateInstance ¶ added in v0.1.19
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
func (*Client) InquiryPriceCreateNatGateway ¶ added in v0.1.26
func (c *Client) InquiryPriceCreateNatGateway(request *InquiryPriceCreateNatGatewayRequest) (response *InquiryPriceCreateNatGatewayResponse, err error)
InquiryPriceCreateNatGateway 查询创建NAT网关的价格。
func (*Client) InquiryPricePublicIpv6 ¶ added in v0.1.18
func (c *Client) InquiryPricePublicIpv6(request *InquiryPricePublicIpv6Request) (response *InquiryPricePublicIpv6Response, err error)
func (*Client) ModifyAutoSnapshotPolicy ¶ added in v0.2.0
func (c *Client) ModifyAutoSnapshotPolicy(request *ModifyAutoSnapshotPolicyRequest) (response *ModifyAutoSnapshotPolicyResponse, err error)
ModifyAutoSnapshotPolicy 修改自动快照策略的基本信息。
func (*Client) ModifyBorderGatewayAsn ¶ added in v0.1.19
func (c *Client) ModifyBorderGatewayAsn(request *ModifyBorderGatewayAsnRequest) (response *ModifyBorderGatewayAsnResponse, err error)
ModifyBorderGatewayAsn
func (*Client) ModifyBorderGatewaysAttribute ¶ added in v0.1.19
func (c *Client) ModifyBorderGatewaysAttribute(request *ModifyBorderGatewaysAttributeRequest) (response *ModifyBorderGatewaysAttributeResponse, err error)
ModifyBorderGatewaysAttribute
func (*Client) ModifyDisksAttributes ¶ added in v0.1.18
func (c *Client) ModifyDisksAttributes(request *ModifyDisksAttributesRequest) (response *ModifyDisksAttributesResponse, err error)
func (*Client) ModifyDisksResourceGroup ¶ added in v0.1.18
func (c *Client) ModifyDisksResourceGroup(request *ModifyDisksResourceGroupRequest) (response *ModifyDisksResourceGroupResponse, err error)
func (*Client) ModifyDnatEntry ¶ added in v0.1.26
func (c *Client) ModifyDnatEntry(request *ModifyDnatEntryRequest) (response *ModifyDnatEntryResponse, err error)
ModifyDnatEntry 修改DNAT规则。
func (*Client) ModifyEipAttribute ¶ added in v0.1.32
func (c *Client) ModifyEipAttribute(request *ModifyEipAttributeRequest) (response *ModifyEipAttributeResponse, err error)
ModifyEipAttribute 修改弹性公网IP属性。
func (*Client) ModifyEipBandwidth ¶ added in v0.1.26
func (c *Client) ModifyEipBandwidth(request *ModifyEipBandwidthRequest) (response *ModifyEipBandwidthResponse, err error)
ModifyEipBandwidth 调整弹性公网IP的带宽限速。
func (*Client) ModifyInstanceType ¶ added in v0.1.19
func (c *Client) ModifyInstanceType(request *ModifyInstanceTypeRequest) (response *ModifyInstanceTypeResponse, err error)
func (*Client) ModifyInstancesAttribute ¶ added in v0.1.18
func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
func (*Client) ModifyInstancesResourceGroup ¶ added in v0.1.18
func (c *Client) ModifyInstancesResourceGroup(request *ModifyInstancesResourceGroupRequest) (response *ModifyInstancesResourceGroupResponse, err error)
func (*Client) ModifyNatGateway ¶ added in v0.1.32
func (c *Client) ModifyNatGateway(request *ModifyNatGatewayRequest) (response *ModifyNatGatewayResponse, err error)
ModifyNatGateway 修改NAT网关。
func (*Client) ModifyNatGatewaysAttribute ¶ added in v0.1.32
func (c *Client) ModifyNatGatewaysAttribute(request *ModifyNatGatewaysAttributeRequest) (response *ModifyNatGatewaysAttributeResponse, err error)
ModifyNatGatewaysAttribute 修改NAT网关属性。
func (*Client) ModifyNetworkInterfacesAttribute ¶ added in v0.1.18
func (c *Client) ModifyNetworkInterfacesAttribute(request *ModifyNicsAttributeRequest) (response *ModifyNicsAttributeResponse, err error)
func (*Client) ModifyRouteAttribute ¶ added in v0.2.0
func (c *Client) ModifyRouteAttribute(request *ModifyRouteAttributeRequest) (response *ModifyRouteAttributeResponse, err error)
ModifyRouteAttribute 修改路由的基本信息,目前只允许修改路由的名称。
func (*Client) ModifySecurityGroupsAttribute ¶ added in v0.1.18
func (c *Client) ModifySecurityGroupsAttribute(request *ModifySecurityGroupsAttributeRequest) (response *ModifySecurityGroupsAttributeResponse, err error)
func (*Client) ModifySnapshotsAttribute ¶ added in v0.1.32
func (c *Client) ModifySnapshotsAttribute(request *ModifySnapshotsAttributeRequest) (response *ModifySnapshotsAttributeResponse, err error)
ModifySnapshotsAttribute 用于修改指定快照的属性。
func (*Client) ModifySnatEntry ¶ added in v0.1.26
func (c *Client) ModifySnatEntry(request *ModifySnatEntryRequest) (response *ModifySnatEntryResponse, err error)
ModifySnatEntry 修改SNAT规则。
func (*Client) ModifySubnetAttribute ¶ added in v0.1.32
func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
ModifySubnetAttribute 修改子网属性。包括名称,CIDR等。
func (*Client) ModifySubnetStackType ¶ added in v0.1.18
func (c *Client) ModifySubnetStackType(request *ModifySubnetStackTypeRequest) (response *ModifySubnetStackTypeResponse, err error)
func (*Client) ModifySubnetsAttribute ¶ added in v0.1.18
func (c *Client) ModifySubnetsAttribute(request *ModifySubnetsAttributeRequest) (response *ModifySubnetsAttributeResponse, err error)
func (*Client) ModifyVpcAttribute ¶ added in v0.1.31
func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
ModifyVpcAttribute 修改私有网络(VPC)的相关属性。
func (*Client) ModifyVpcsAttribute ¶ added in v0.1.18
func (c *Client) ModifyVpcsAttribute(request *ModifyVpcsAttributeRequest) (response *ModifyVpcsAttributeResponse, err error)
func (*Client) RebootInstances ¶ added in v0.1.18
func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
func (*Client) ReleaseDisk ¶ added in v0.1.18
func (c *Client) ReleaseDisk(request *ReleaseDiskRequest) (response *ReleaseDiskResponse, err error)
func (*Client) ReleaseInstances ¶ added in v0.1.19
func (c *Client) ReleaseInstances(request *ReleaseInstancesRequest) (response *ReleaseInstancesResponse, err error)
func (*Client) RenewCidr ¶ added in v0.1.18
func (c *Client) RenewCidr(request *RenewCidrRequest) (response *RenewCidrResponse, err error)
func (*Client) RenewDisk ¶ added in v0.1.18
func (c *Client) RenewDisk(request *RenewDiskRequest) (response *RenewDiskResponse, err error)
func (*Client) RenewEip ¶ added in v0.1.19
func (c *Client) RenewEip(request *RenewEipRequest) (response *RenewEipResponse, err error)
func (*Client) RenewNatGateway ¶ added in v0.1.26
func (c *Client) RenewNatGateway(request *RenewNatGatewayRequest) (response *RenewNatGatewayResponse, err error)
RenewNatGateway 续费一个指定的NAT网关。
func (*Client) ReplaceEipAddress ¶ added in v0.1.26
func (c *Client) ReplaceEipAddress(request *ReplaceEipAddressRequest) (response *ReplaceEipAddressResponse, err error)
func (*Client) ResetInstance ¶ added in v0.1.18
func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
func (*Client) ResetInstancePassword ¶ added in v0.1.19
func (c *Client) ResetInstancePassword(request *ResetInstancePasswordRequest) (response *ResetInstancePasswordResponse, err error)
func (*Client) ResizeDisk ¶ added in v0.1.25
func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk 将一个云硬盘扩容到指定大小。
func (*Client) StartAgentMonitor ¶ added in v0.1.19
func (c *Client) StartAgentMonitor(request *StartAgentMonitorRequest) (response *StartAgentMonitorResponse, err error)
func (*Client) StartInstances ¶ added in v0.1.18
func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
func (*Client) StartIpForward ¶ added in v0.1.19
func (c *Client) StartIpForward(request *StartIpForwardRequest) (response *StartIpForwardResponse, err error)
func (*Client) StopAgentMonitor ¶ added in v0.1.19
func (c *Client) StopAgentMonitor(request *StopAgentMonitorRequest) (response *StopAgentMonitorResponse, err error)
func (*Client) StopInstances ¶ added in v0.1.18
func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
func (*Client) StopIpForward ¶ added in v0.1.19
func (c *Client) StopIpForward(request *StopIpForwardRequest) (response *StopIpForwardResponse, err error)
func (*Client) UnAssignSecurityGroupVpc ¶ added in v0.1.18
func (c *Client) UnAssignSecurityGroupVpc(request *UnAssignSecurityGroupVpcRequest) (response *UnAssignSecurityGroupVpcResponse, err error)
func (*Client) UnassignBorderGateway ¶ added in v0.1.26
func (c *Client) UnassignBorderGateway(request *UnassignBorderGatewayRequest) (response *UnassignBorderGatewayResponse, err error)
UnassignBorderGateway
func (*Client) UnassignBorderGatewayRoute ¶ added in v0.1.32
func (c *Client) UnassignBorderGatewayRoute(request *UnassignBorderGatewayRouteRequest) (response *UnassignBorderGatewayRouteResponse, err error)
UnassignBorderGatewayRoute
func (*Client) UnassignNetworkInterfaceIpv4 ¶ added in v0.1.18
func (c *Client) UnassignNetworkInterfaceIpv4(request *UnAssignNicIpv4Request) (response *UnAssignNicIpv4Response, err error)
func (*Client) UnassociateEipAddress ¶ added in v0.1.24
func (c *Client) UnassociateEipAddress(request *UnassociateEipAddressRequest) (response *UnassociateEipAddressResponse, err error)
type ConfigEipEgressIpRequest ¶ added in v0.1.19
type ConfigEipEgressIpRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewConfigEipEgressIpRequest ¶ added in v0.1.19
func NewConfigEipEgressIpRequest() (request *ConfigEipEgressIpRequest)
type ConfigEipEgressIpResponse ¶ added in v0.1.19
type ConfigEipEgressIpResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewConfigEipEgressIpResponse ¶ added in v0.1.19
func NewConfigEipEgressIpResponse() (response *ConfigEipEgressIpResponse)
type ConfigureSecurityGroupRulesRequest ¶ added in v0.1.18
type ConfigureSecurityGroupRulesRequest struct {
*common.BaseRequest
SecurityGroupId string `json:"securityGroupId,omitempty"`
RuleInfos []RuleInfo `json:"ruleInfos,omitempty"`
}
func NewConfigureSecurityGroupRulesRequest ¶ added in v0.1.18
func NewConfigureSecurityGroupRulesRequest() (request *ConfigureSecurityGroupRulesRequest)
type ConfigureSecurityGroupRulesResponse ¶ added in v0.1.18
type ConfigureSecurityGroupRulesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewConfigureSecurityGroupRulesResponse ¶ added in v0.1.18
func NewConfigureSecurityGroupRulesResponse() (response *ConfigureSecurityGroupRulesResponse)
type CreateAutoSnapshotPolicyRequest ¶ added in v0.2.0
type CreateAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// AutoSnapshotPolicyName 自动快照策略的名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
AutoSnapshotPolicyName *string `json:"autoSnapshotPolicyName,omitempty"`
// RepeatWeekDays 自动快照的重复日期。单位为天,周期为星期,例如 1 表示周一。
RepeatWeekDays []int `json:"repeatWeekDays,omitempty"`
// Hours 指定定期快照策略的触发时间。使用 UTC 时间,单位为小时。00:00 ~ 23:00 共 24 个时间点可选,1表示 01:00,依此类推。
Hours []int `json:"hours,omitempty"`
// RetentionDays 自动快照的保留时间,单位为天。如果该值设置-1,则代表永久保留。
RetentionDays *int `json:"retentionDays,omitempty"`
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
CreateAutoSnapshotPolicyRequest
func NewCreateAutoSnapshotPolicyRequest ¶ added in v0.2.0
func NewCreateAutoSnapshotPolicyRequest() (request *CreateAutoSnapshotPolicyRequest)
type CreateAutoSnapshotPolicyResponse ¶ added in v0.2.0
type CreateAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateAutoSnapshotPolicyResponseParams `json:"response,omitempty"`
}
func NewCreateAutoSnapshotPolicyResponse ¶ added in v0.2.0
func NewCreateAutoSnapshotPolicyResponse() (response *CreateAutoSnapshotPolicyResponse)
type CreateAutoSnapshotPolicyResponseParams ¶ added in v0.2.0
type CreateAutoSnapshotPolicyResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// AutoSnapshotPolicyId 自动快照策略的ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
}
CreateAutoSnapshotPolicyResponseParams 创建自动快照策略的响应信息。
type CreateBorderGatewayRequest ¶ added in v0.1.19
type CreateBorderGatewayRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
Label string `json:"label,omitempty"`
Asn int `json:"asn,omitempty"`
AdvertisedSubnet string `json:"advertisedSubnet,omitempty"`
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
func NewCreateBorderGatewayRequest ¶ added in v0.1.19
func NewCreateBorderGatewayRequest() (request *CreateBorderGatewayRequest)
type CreateBorderGatewayResponse ¶ added in v0.1.19
type CreateBorderGatewayResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response *CreateBorderGatewayResponseParams `json:"response"`
}
func NewCreateBorderGatewayResponse ¶ added in v0.1.19
func NewCreateBorderGatewayResponse() (response *CreateBorderGatewayResponse)
type CreateBorderGatewayResponseParams ¶ added in v0.1.19
type CreateCidrRequest ¶ added in v0.1.18
type CreateCidrRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
Netmask *NetmaskInfo `json:"netmask,omitempty"`
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
}
func NewCreateCidrRequest ¶ added in v0.1.18
func NewCreateCidrRequest() (request *CreateCidrRequest)
type CreateCidrResponse ¶ added in v0.1.18
type CreateCidrResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateCidrResponseParams `json:"response"`
}
func NewCreateCidrResponse ¶ added in v0.1.18
func NewCreateCidrResponse() (response *CreateCidrResponse)
type CreateCidrResponseParams ¶ added in v0.1.18
type CreateDisksRequest ¶ added in v0.1.18
type CreateDisksRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
DiskName string `json:"diskName,omitempty"`
DiskSize int `json:"diskSize,omitempty"`
DiskAmount int `json:"diskAmount,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
DiskCategory string `json:"diskCategory,omitempty"`
SnapshotId *string `json:"snapshotId,omitempty"`
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
}
func NewCreateDisksRequest ¶ added in v0.1.18
func NewCreateDisksRequest() (request *CreateDisksRequest)
type CreateDisksResponse ¶ added in v0.1.18
type CreateDisksResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateDisksResponseParams `json:"response"`
}
func NewCreateDisksResponse ¶ added in v0.1.18
func NewCreateDisksResponse() (response *CreateDisksResponse)
type CreateDisksResponseParams ¶ added in v0.1.18
type CreateDnatEntryRequest ¶ added in v0.1.26
type CreateDnatEntryRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// EipId
EipId *string `json:"eipId,omitempty"`
// PrivateIp DNAT规则的内网IP地址。
PrivateIp *string `json:"privateIp,omitempty"`
// Protocol DNAT规则的协议类型。
Protocol *string `json:"protocol,omitempty"`
// ListenerPort DNAT规则端口转发的外部端口或端口段,取值范围1-65535。
ListenerPort *string `json:"listenerPort,omitempty"`
// InternalPort DNAT规则端口转发的内部端口或端口段,取值范围1-65535。
InternalPort *string `json:"internalPort,omitempty"`
}
func NewCreateDnatEntryRequest ¶ added in v0.1.26
func NewCreateDnatEntryRequest() (request *CreateDnatEntryRequest)
type CreateDnatEntryResponse ¶ added in v0.1.26
type CreateDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateDnatEntryResponseParams `json:"response,omitempty"`
}
func NewCreateDnatEntryResponse ¶ added in v0.1.26
func NewCreateDnatEntryResponse() (response *CreateDnatEntryResponse)
type CreateDnatEntryResponseParams ¶ added in v0.1.26
type CreateEipsRequest ¶ added in v0.1.19
type CreateEipsRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
Amount int `json:"amount,omitempty"`
Name string `json:"name,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
PrimaryIsp string `json:"primaryIsp,omitempty"`
Bandwidth int `json:"bandwidth,omitempty"`
FlowPackage float64 `json:"flowPackage,omitempty"`
CidrId string `json:"cidrId,omitempty"`
PublicIp string `json:"publicIp,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
PeerRegionId string `json:"peerRegionId,omitempty"`
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
}
func NewCreateEipsRequest ¶ added in v0.1.19
func NewCreateEipsRequest() (request *CreateEipsRequest)
type CreateEipsResponse ¶ added in v0.1.19
type CreateEipsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateEipsResponseParams `json:"response"`
}
func NewCreateEipsResponse ¶ added in v0.1.19
func NewCreateEipsResponse() (response *CreateEipsResponse)
type CreateEipsResponseParams ¶ added in v0.1.19
type CreateInstancesRequest ¶ added in v0.1.18
type CreateInstancesRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
ImageId string `json:"imageId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
InstanceCount int `json:"instanceCount,omitempty"`
Password string `json:"password,omitempty"`
KeyId string `json:"keyId,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
Bandwidth float64 `json:"bandwidth,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
DataDisks []*DataDisk `json:"dataDisks,omitempty"`
TimeZone string `json:"timeZone,omitempty"`
EnableAgent bool `json:"enableAgent"`
EnableIpForward bool `json:"enableIpForward"`
EipV4Type string `json:"eipV4Type,omitempty"`
}
func NewCreateInstancesRequest ¶ added in v0.1.18
func NewCreateInstancesRequest() (request *CreateInstancesRequest)
type CreateInstancesResponse ¶ added in v0.1.18
type CreateInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateInstancesResponseParams `json:"response"`
}
func NewCreateInstancesResponse ¶ added in v0.1.18
func NewCreateInstancesResponse() (response *CreateInstancesResponse)
type CreateInstancesResponseParams ¶ added in v0.1.18
type CreateInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
InstanceIdSet []*string `json:"instanceIdSet,omitempty"`
OrderNumber *string `json:"orderNumber,omitempty"`
Instances []*DiskWithInstance `json:"instances,omitempty"`
}
type CreateNatGatewayRequest ¶ added in v0.1.26
type CreateNatGatewayRequest struct {
*common.BaseRequest
// RegionId 区域节点ID。
RegionId *string `json:"regionId,omitempty"`
// VpcId NAT网关所属的VPC网络ID。
VpcId *string `json:"vpcId,omitempty"`
// Name NAT网关的名称。长度为2~63个字符。
Name *string `json:"name,omitempty"`
// SubnetIds NAT网关所属的Subnet子网ID集合。
SubnetIds []string `json:"subnetIds,omitempty"`
// ResourceGroupId 资源组ID。如果不指定,则会创建在默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
func NewCreateNatGatewayRequest ¶ added in v0.1.26
func NewCreateNatGatewayRequest() (request *CreateNatGatewayRequest)
type CreateNatGatewayResponse ¶ added in v0.1.26
type CreateNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateNatGatewayResponseParams `json:"response,omitempty"`
}
func NewCreateNatGatewayResponse ¶ added in v0.1.26
func NewCreateNatGatewayResponse() (response *CreateNatGatewayResponse)
type CreateNatGatewayResponseParams ¶ added in v0.1.26
type CreateNicRequest ¶ added in v0.1.18
type CreateNicRequest struct {
*common.BaseRequest
Name string `json:"name,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
// StackType 子网的IP堆栈类型。
StackType *string `json:"stackType,omitempty"`
PackageSize float64 `json:"packageSize"`
Bandwidth int `json:"bandwidth,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
}
func NewCreateNetworkInterfaceRequest ¶ added in v0.1.18
func NewCreateNetworkInterfaceRequest() (request *CreateNicRequest)
type CreateNicResponse ¶ added in v0.1.18
type CreateNicResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateNicResponseParams `json:"response"`
}
func NewCreateNetworkInterfaceResponse ¶ added in v0.1.18
func NewCreateNetworkInterfaceResponse() (response *CreateNicResponse)
type CreateNicResponseParams ¶ added in v0.1.24
type CreateRouteRequest ¶ added in v0.1.18
type CreateRouteRequest struct {
*common.BaseRequest
// VpcId VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// IpVersion IP类型。支持`IPv4`和`IPv6`两种类型。
IpVersion *string `json:"ipVersion,omitempty"`
// RouteType 路由类型。
RouteType *string `json:"routeType,omitempty"`
// SourceIp 源IP地址。`路由类型`配置`RouteTypePolicy(策略路由)`时需指定。
SourceIp *string `json:"sourceIp,omitempty"`
// DestinationCidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
// Priority 路由优先级。数值越小,优先级越高。
Priority *int `json:"priority,omitempty"`
// NextHopId 下一跳资源ID。目前只支持网卡ID。
NextHopId *string `json:"nextHopId,omitempty"`
// Name 路由名称。名称长度为 2 到 63 个字符,仅支持字母、数字、连字符 (-) 、下划线(_) 、斜杠(/) 、和句点 (.),且开头和结尾必须是字母或数字。
Name *string `json:"name,omitempty"`
}
func NewCreateRouteRequest ¶ added in v0.1.18
func NewCreateRouteRequest() (request *CreateRouteRequest)
type CreateRouteResponse ¶ added in v0.1.18
type CreateRouteResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateRouteResponseParams `json:"response"`
}
func NewCreateRouteResponse ¶ added in v0.1.18
func NewCreateRouteResponse() (response *CreateRouteResponse)
type CreateRouteResponseParams ¶ added in v0.1.18
type CreateSecurityGroupRequest ¶ added in v0.1.18
type CreateSecurityGroupRequest struct {
*common.BaseRequest
SecurityGroupName string `json:"securityGroupName,omitempty"`
RuleInfos []RuleInfo `json:"ruleInfos,omitempty"`
}
func NewCreateSecurityGroupRequest ¶ added in v0.1.18
func NewCreateSecurityGroupRequest() (request *CreateSecurityGroupRequest)
type CreateSecurityGroupResponse ¶ added in v0.1.18
type CreateSecurityGroupResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateSecurityGroupResponseParams `json:"response"`
}
func NewCreateSecurityGroupResponse ¶ added in v0.1.18
func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse)
type CreateSecurityGroupResponseParams ¶ added in v0.1.18
type CreateSnapshotRequest ¶ added in v0.1.32
type CreateSnapshotRequest struct {
*common.BaseRequest
// DiskId 云硬盘ID。
DiskId *string `json:"diskId,omitempty"`
// SnapshotName 快照名称。
SnapshotName *string `json:"snapshotName,omitempty"`
// RetentionTime 保留的到期时间。格式为:yyyy-MM-ddTHH:mm:ssZ如果不传,则代表永久保留。指定时间必须在当前时间24小时后。
RetentionTime *string `json:"retentionTime,omitempty"`
}
CreateSnapshotRequest
func NewCreateSnapshotRequest ¶ added in v0.1.32
func NewCreateSnapshotRequest() (request *CreateSnapshotRequest)
type CreateSnapshotResponse ¶ added in v0.1.32
type CreateSnapshotResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSnapshotResponseParams `json:"response,omitempty"`
}
func NewCreateSnapshotResponse ¶ added in v0.1.32
func NewCreateSnapshotResponse() (response *CreateSnapshotResponse)
type CreateSnapshotResponseParams ¶ added in v0.1.32
type CreateSnatEntryRequest ¶ added in v0.1.26
type CreateSnatEntryRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// Cidr CIDR网段,不传默认是0.0.0.0/0。
Cidr string `json:"cidr,omitempty"`
// EipIds
EipIds []string `json:"eipIds,omitempty"`
// SubnetIds by Subnet的情况, subnet的id集合。
SubnetIds []string `json:"subnetIds,omitempty"`
}
func NewCreateSnatEntryRequest ¶ added in v0.1.26
func NewCreateSnatEntryRequest() (request *CreateSnatEntryRequest)
type CreateSnatEntryResponse ¶ added in v0.1.26
type CreateSnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSnatEntryResponseParams `json:"response,omitempty"`
}
func NewCreateSnatEntryResponse ¶ added in v0.1.26
func NewCreateSnatEntryResponse() (response *CreateSnatEntryResponse)
type CreateSnatEntryResponseParams ¶ added in v0.1.26
type CreateSubnetRequest ¶ added in v0.1.18
type CreateSubnetRequest struct {
*common.BaseRequest
VpcId string `json:"vpcId,omitempty"`
RegionId string `json:"regionId,omitempty"`
StackType string `json:"stackType,omitempty"`
Ipv6Type string `json:"ipv6Type,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
}
func NewCreateSubnetRequest ¶ added in v0.1.18
func NewCreateSubnetRequest() (request *CreateSubnetRequest)
type CreateSubnetResponse ¶ added in v0.1.18
type CreateSubnetResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateSubnetResponseParams `json:"response"`
}
func NewCreateSubnetResponse ¶ added in v0.1.18
func NewCreateSubnetResponse() (response *CreateSubnetResponse)
type CreateSubnetResponseParams ¶ added in v0.1.18
type CreateVpcRequest ¶ added in v0.1.18
type CreateVpcRequest struct {
*common.BaseRequest
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
Mtu int `json:"mtu,omitempty"`
EnablePriIpv6 bool `json:"enablePriIpv6,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewCreateVpcRequest ¶ added in v0.1.18
func NewCreateVpcRequest() (request *CreateVpcRequest)
type CreateVpcResponse ¶ added in v0.1.18
type CreateVpcResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateVpcResponseParams `json:"response"`
}
func NewCreateVpcResponse ¶ added in v0.1.18
func NewCreateVpcResponse() (response *CreateVpcResponse)
type CreateVpcResponseParams ¶ added in v0.1.18
type CreateZecInstancesRequest ¶ added in v0.1.18
type CreateZecInstancesRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
ImageId string `json:"imageId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
InstanceCount int `json:"instanceCount,omitempty"`
Password string `json:"password,omitempty"`
KeyId string `json:"keyId,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
Bandwidth int `json:"bandwidth,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
LanIp string `json:"lanIp,omitempty"`
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
DataDisks []*DataDisk `json:"dataDisks,omitempty"`
TimeZone string `json:"timeZone,omitempty"`
EnableAgent bool `json:"enableAgent"`
EnableIpForward bool `json:"enableIpForward"`
EipV4Type string `json:"eipV4Type,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
EipBindType *string `json:"eipBindType,omitempty"`
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
}
func NewCreateZecInstancesRequest ¶ added in v0.1.18
func NewCreateZecInstancesRequest() (request *CreateZecInstancesRequest)
type CreateZecInstancesResponse ¶ added in v0.1.18
type CreateZecInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *CreateZecInstancesResponseParams `json:"response"`
}
func NewCreateZecInstancesResponse ¶ added in v0.1.18
func NewCreateZecInstancesResponse() (response *CreateZecInstancesResponse)
type CreateZecInstancesResponseParams ¶ added in v0.1.18
type CreateZecInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
InstanceIdSet []*string `json:"instanceIdSet,omitempty"`
OrderNumber *string `json:"orderNumber,omitempty"`
Instances []*DiskWithInstance `json:"instances,omitempty"`
}
type DeleteAutoSnapshotPoliciesRequest ¶ added in v0.2.0
type DeleteAutoSnapshotPoliciesRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyIds 要删除的自动快照策略ID列表。
AutoSnapshotPolicyIds []string `json:"autoSnapshotPolicyIds,omitempty"`
}
func NewDeleteAutoSnapshotPoliciesRequest ¶ added in v0.2.0
func NewDeleteAutoSnapshotPoliciesRequest() (request *DeleteAutoSnapshotPoliciesRequest)
type DeleteAutoSnapshotPoliciesResponse ¶ added in v0.2.0
type DeleteAutoSnapshotPoliciesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteAutoSnapshotPoliciesResponse ¶ added in v0.2.0
func NewDeleteAutoSnapshotPoliciesResponse() (response *DeleteAutoSnapshotPoliciesResponse)
type DeleteBorderGatewayRequest ¶ added in v0.1.19
type DeleteBorderGatewayRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
Asn int `json:"asn,omitempty"`
}
func NewDeleteBorderGatewayRequest ¶ added in v0.1.19
func NewDeleteBorderGatewayRequest() (request *DeleteBorderGatewayRequest)
type DeleteBorderGatewayResponse ¶ added in v0.1.19
type DeleteBorderGatewayResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteBorderGatewayResponse ¶ added in v0.1.19
func NewDeleteBorderGatewayResponse() (response *DeleteBorderGatewayResponse)
type DeleteCidrRequest ¶ added in v0.1.18
type DeleteCidrRequest struct {
*common.BaseRequest
CidrId string `json:"cidrId,omitempty"`
}
func NewDeleteCidrRequest ¶ added in v0.1.18
func NewDeleteCidrRequest() (request *DeleteCidrRequest)
type DeleteCidrResponse ¶ added in v0.1.18
type DeleteCidrResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteCidrResponse ¶ added in v0.1.18
func NewDeleteCidrResponse() (response *DeleteCidrResponse)
type DeleteDnatEntryRequest ¶ added in v0.1.26
type DeleteDnatEntryRequest struct {
*common.BaseRequest
// DnatEntryId DNAT规则 ID。
DnatEntryId *string `json:"dnatEntryId,omitempty"`
}
func NewDeleteDnatEntryRequest ¶ added in v0.1.26
func NewDeleteDnatEntryRequest() (request *DeleteDnatEntryRequest)
type DeleteDnatEntryResponse ¶ added in v0.1.26
type DeleteDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteDnatEntryResponse ¶ added in v0.1.26
func NewDeleteDnatEntryResponse() (response *DeleteDnatEntryResponse)
type DeleteEipRequest ¶ added in v0.1.19
type DeleteEipRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewDeleteEipRequest ¶ added in v0.1.19
func NewDeleteEipRequest() (request *DeleteEipRequest)
type DeleteEipResponse ¶ added in v0.1.19
type DeleteEipResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteEipResponse ¶ added in v0.1.19
func NewDeleteEipResponse() (response *DeleteEipResponse)
type DeleteNatGatewayRequest ¶ added in v0.1.26
type DeleteNatGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewDeleteNatGatewayRequest ¶ added in v0.1.26
func NewDeleteNatGatewayRequest() (request *DeleteNatGatewayRequest)
type DeleteNatGatewayResponse ¶ added in v0.1.26
type DeleteNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteNatGatewayResponse ¶ added in v0.1.26
func NewDeleteNatGatewayResponse() (response *DeleteNatGatewayResponse)
type DeleteNicRequest ¶ added in v0.1.18
type DeleteNicRequest struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
}
func NewDeleteNetworkInterfaceRequest ¶ added in v0.1.18
func NewDeleteNetworkInterfaceRequest() (request *DeleteNicRequest)
type DeleteNicResponse ¶ added in v0.1.18
type DeleteNicResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteNetworkInterfaceResponse ¶ added in v0.1.18
func NewDeleteNetworkInterfaceResponse() (response *DeleteNicResponse)
type DeleteRouteRequest ¶ added in v0.1.18
type DeleteRouteRequest struct {
*common.BaseRequest
RouteId string `json:"routeId,omitempty"`
}
func NewDeleteRouteRequest ¶ added in v0.1.18
func NewDeleteRouteRequest() (request *DeleteRouteRequest)
type DeleteRouteResponse ¶ added in v0.1.18
type DeleteRouteResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteRouteResponse ¶ added in v0.1.18
func NewDeleteRouteResponse() (response *DeleteRouteResponse)
type DeleteSecurityGroupRequest ¶ added in v0.1.18
type DeleteSecurityGroupRequest struct {
*common.BaseRequest
SecurityGroupId string `json:"securityGroupId,omitempty"`
}
func NewDeleteSecurityGroupRequest ¶ added in v0.1.18
func NewDeleteSecurityGroupRequest() (request *DeleteSecurityGroupRequest)
type DeleteSecurityGroupResponse ¶ added in v0.1.18
type DeleteSecurityGroupResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteSecurityGroupResponse ¶ added in v0.1.18
func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse)
type DeleteSnapshotsRequest ¶ added in v0.1.32
type DeleteSnapshotsRequest struct {
*common.BaseRequest
// SnapshotIds 快照ID列表。
SnapshotIds []string `json:"snapshotIds,omitempty"`
}
func NewDeleteSnapshotsRequest ¶ added in v0.1.32
func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)
type DeleteSnapshotsResponse ¶ added in v0.1.32
type DeleteSnapshotsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DeleteSnapshotsResponseParams `json:"response,omitempty"`
}
func NewDeleteSnapshotsResponse ¶ added in v0.1.32
func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)
type DeleteSnapshotsResponseParams ¶ added in v0.1.32
type DeleteSnatEntryRequest ¶ added in v0.1.26
type DeleteSnatEntryRequest struct {
*common.BaseRequest
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
}
func NewDeleteSnatEntryRequest ¶ added in v0.1.26
func NewDeleteSnatEntryRequest() (request *DeleteSnatEntryRequest)
type DeleteSnatEntryResponse ¶ added in v0.1.26
type DeleteSnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteSnatEntryResponse ¶ added in v0.1.26
func NewDeleteSnatEntryResponse() (response *DeleteSnatEntryResponse)
type DeleteSubnetRequest ¶ added in v0.1.18
type DeleteSubnetRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
}
func NewDeleteSubnetRequest ¶ added in v0.1.18
func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)
type DeleteSubnetResponse ¶ added in v0.1.18
type DeleteSubnetResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteSubnetResponse ¶ added in v0.1.18
func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)
type DeleteVpcRequest ¶ added in v0.1.18
type DeleteVpcRequest struct {
*common.BaseRequest
VpcId string `json:"vpcId,omitempty"`
}
func NewDeleteVpcRequest ¶ added in v0.1.18
func NewDeleteVpcRequest() (request *DeleteVpcRequest)
type DeleteVpcResponse ¶ added in v0.1.18
type DeleteVpcResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDeleteVpcResponse ¶ added in v0.1.18
func NewDeleteVpcResponse() (response *DeleteVpcResponse)
type DescribeAutoSnapshotPoliciesRequest ¶ added in v0.2.0
type DescribeAutoSnapshotPoliciesRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyIds 根据自动快照策略的ID进行过滤。
AutoSnapshotPolicyIds []string `json:"autoSnapshotPolicyIds,omitempty"`
// ZoneIds 根据自动快照策略的可用区ID进行过滤。
ZoneIds []string `json:"zoneIds,omitempty"`
// AutoSnapshotPolicyName 根据自动快照策略的名称进行过滤。该字段支持模糊搜索。
AutoSnapshotPolicyName *string `json:"autoSnapshotPolicyName,omitempty"`
// ResourceGroupId 根据资源组ID进行过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
}
DescribeAutoSnapshotPoliciesRequest 自动快照策略列表的请求参数。
func NewDescribeAutoSnapshotPoliciesRequest ¶ added in v0.2.0
func NewDescribeAutoSnapshotPoliciesRequest() (request *DescribeAutoSnapshotPoliciesRequest)
type DescribeAutoSnapshotPoliciesResponse ¶ added in v0.2.0
type DescribeAutoSnapshotPoliciesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeAutoSnapshotPoliciesResponseParams `json:"response,omitempty"`
}
func NewDescribeAutoSnapshotPoliciesResponse ¶ added in v0.2.0
func NewDescribeAutoSnapshotPoliciesResponse() (response *DescribeAutoSnapshotPoliciesResponse)
type DescribeAutoSnapshotPoliciesResponseParams ¶ added in v0.2.0
type DescribeAutoSnapshotPoliciesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// DataSet 查询的自动快照策略数据结果。
DataSet []*AutoSnapshotPolicy `json:"dataSet,omitempty"`
// TotalCount 符合匹配的总数量。
TotalCount *int `json:"totalCount,omitempty"`
}
DescribeAutoSnapshotPoliciesResponseParams 查询自动快照策略的响应值。
type DescribeAvailableBorderGatewayRequest ¶ added in v0.1.28
type DescribeAvailableBorderGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewDescribeAvailableBorderGatewayRequest ¶ added in v0.1.28
func NewDescribeAvailableBorderGatewayRequest() (request *DescribeAvailableBorderGatewayRequest)
type DescribeAvailableBorderGatewayResponse ¶ added in v0.1.28
type DescribeAvailableBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeAvailableBorderGatewayResponseParams `json:"response,omitempty"`
}
func NewDescribeAvailableBorderGatewayResponse ¶ added in v0.1.28
func NewDescribeAvailableBorderGatewayResponse() (response *DescribeAvailableBorderGatewayResponse)
type DescribeAvailableBorderGatewayResponseParams ¶ added in v0.1.28
type DescribeAvailableNatsRequest ¶ added in v0.1.26
type DescribeAvailableNatsRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
}
func NewDescribeAvailableNatsRequest ¶ added in v0.1.26
func NewDescribeAvailableNatsRequest() (request *DescribeAvailableNatsRequest)
type DescribeAvailableNatsResponse ¶ added in v0.1.26
type DescribeAvailableNatsResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response *DescribeAvailableNatsResponseParams `json:"response,omitempty"`
}
func NewDescribeAvailableNatsResponse ¶ added in v0.1.26
func NewDescribeAvailableNatsResponse() (response *DescribeAvailableNatsResponse)
type DescribeAvailableNatsResponseParams ¶ added in v0.1.26
type DescribeBorderGatewaysRequest ¶ added in v0.1.19
type DescribeBorderGatewaysRequest struct {
*common.BaseRequest
ZbgIds []string `json:"zbgIds,omitempty"`
Name string `json:"name,omitempty"`
VpcId string `json:"vpcId,omitempty"`
RegionId string `json:"regionId,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeBorderGatewaysRequest ¶ added in v0.1.19
func NewDescribeBorderGatewaysRequest() (request *DescribeBorderGatewaysRequest)
type DescribeBorderGatewaysResponse ¶ added in v0.1.19
type DescribeBorderGatewaysResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response *DescribeBorderGatewaysResponseParams `json:"response"`
}
func NewDescribeBorderGatewaysResponse ¶ added in v0.1.19
func NewDescribeBorderGatewaysResponse() (response *DescribeBorderGatewaysResponse)
type DescribeBorderGatewaysResponseParams ¶ added in v0.1.19
type DescribeCidrPriceRequest ¶ added in v0.1.18
type DescribeCidrPriceRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
Netmask *NetmaskInfo `json:"netmask,omitempty"`
}
func NewDescribeCidrPriceRequest ¶ added in v0.1.18
func NewDescribeCidrPriceRequest() (request *DescribeCidrPriceRequest)
type DescribeCidrPriceResponse ¶ added in v0.1.18
type DescribeCidrPriceResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeCidrPriceResponseParams `json:"response"`
}
func NewDescribeCidrPriceResponse ¶ added in v0.1.18
func NewDescribeCidrPriceResponse() (response *DescribeCidrPriceResponse)
type DescribeCidrPriceResponseParams ¶ added in v0.1.18
type DescribeCidrRegionsRequest ¶ added in v0.1.18
type DescribeCidrRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeCidrRegionsRequest ¶ added in v0.1.18
func NewDescribeCidrRegionsRequest() (request *DescribeCidrRegionsRequest)
type DescribeCidrRegionsResponse ¶ added in v0.1.18
type DescribeCidrRegionsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeCidrRegionsResponseParams `json:"response"`
}
func NewDescribeCidrRegionsResponse ¶ added in v0.1.18
func NewDescribeCidrRegionsResponse() (response *DescribeCidrRegionsResponse)
type DescribeCidrRegionsResponseParams ¶ added in v0.1.18
type DescribeCidrsRequest ¶ added in v0.1.18
type DescribeCidrsRequest struct {
*common.BaseRequest
CidrIds []string `json:"cidrIds,omitempty"`
RegionId string `json:"regionId,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
Source string `json:"source,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeCidrsRequest ¶ added in v0.1.18
func NewDescribeCidrsRequest() (request *DescribeCidrsRequest)
type DescribeCidrsResponse ¶ added in v0.1.18
type DescribeCidrsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeCidrsResponseParams `json:"response"`
}
func NewDescribeCidrsResponse ¶ added in v0.1.18
func NewDescribeCidrsResponse() (response *DescribeCidrsResponse)
type DescribeCidrsResponseParams ¶ added in v0.1.18
type DescribeDiskCategoryRequest ¶ added in v0.1.18
type DescribeDiskCategoryRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
DiskCategory string `json:"diskCategory,omitempty"`
}
func NewDescribeDiskCategoryRequest ¶ added in v0.1.18
func NewDescribeDiskCategoryRequest() (request *DescribeDiskCategoryRequest)
type DescribeDiskCategoryResponse ¶ added in v0.1.18
type DescribeDiskCategoryResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeDiskCategoryResponseParams `json:"response"`
}
func NewDescribeDiskCategoryResponse ¶ added in v0.1.18
func NewDescribeDiskCategoryResponse() (response *DescribeDiskCategoryResponse)
type DescribeDiskCategoryResponseParams ¶ added in v0.1.18
type DescribeDiskCategoryResponseParams struct {
RequestId string `json:"requestId,omitempty"`
CategoryZoneSet []*DiskCategory `json:"categoryZoneSet,omitempty"`
}
type DescribeDiskRegionsRequest ¶ added in v0.1.18
type DescribeDiskRegionsRequest struct {
*common.BaseRequest
ChargeType string `json:"chargeType,omitempty"`
}
func NewDescribeDiskRegionsRequest ¶ added in v0.1.18
func NewDescribeDiskRegionsRequest() (request *DescribeDiskRegionsRequest)
type DescribeDiskRegionsResponse ¶ added in v0.1.18
type DescribeDiskRegionsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeDiskRegionsResponseParams `json:"response"`
}
func NewDescribeDiskRegionsResponse ¶ added in v0.1.18
func NewDescribeDiskRegionsResponse() (response *DescribeDiskRegionsResponse)
type DescribeDiskRegionsResponseParams ¶ added in v0.1.18
type DescribeDisksRequest ¶ added in v0.1.18
type DescribeDisksRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
DiskName string `json:"diskName,omitempty"`
DiskStatus string `json:"diskStatus,omitempty"`
DiskType string `json:"diskType,omitempty"`
DiskCategory string `json:"diskCategory,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
SnapshotAbility *bool `json:"snapshotAbility,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeDisksRequest ¶ added in v0.1.18
func NewDescribeDisksRequest() (request *DescribeDisksRequest)
type DescribeDisksResponse ¶ added in v0.1.18
type DescribeDisksResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeDisksResponseParams `json:"response"`
}
func NewDescribeDisksResponse ¶ added in v0.1.18
func NewDescribeDisksResponse() (response *DescribeDisksResponse)
type DescribeDisksResponseParams ¶ added in v0.1.18
type DescribeEipInternetChargeTypesRequest ¶ added in v0.1.19
type DescribeEipInternetChargeTypesRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
}
func NewDescribeEipInternetChargeTypesRequest ¶ added in v0.1.19
func NewDescribeEipInternetChargeTypesRequest() (request *DescribeEipInternetChargeTypesRequest)
type DescribeEipInternetChargeTypesResponse ¶ added in v0.1.19
type DescribeEipInternetChargeTypesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipInternetChargeTypesResponseParams `json:"response"`
}
func NewDescribeEipInternetChargeTypesResponse ¶ added in v0.1.19
func NewDescribeEipInternetChargeTypesResponse() (response *DescribeEipInternetChargeTypesResponse)
type DescribeEipInternetChargeTypesResponseParams ¶ added in v0.1.19
type DescribeEipMonitorDataRequest ¶ added in v0.1.26
type DescribeEipMonitorDataRequest struct {
*common.BaseRequest
// EipId EIP唯一标识ID。
EipId *string `json:"eipId,omitempty"`
// MetricType EIP监控指标类型。
MetricType *string `json:"metricType,omitempty"`
// StartTime 查询开始时间。时间格式:yyyy-MM-ddTHH:mm:ssZ。
StartTime *string `json:"startTime,omitempty"`
// EndTime 查询结束时间。时间格式:yyyy-MM-ddTHH:mm:ssZ。
EndTime *string `json:"endTime,omitempty"`
}
DescribeEipMonitorDataRequest 查询弹性公网IP监控指标请求。
func NewDescribeEipMonitorDataRequest ¶ added in v0.1.26
func NewDescribeEipMonitorDataRequest() (request *DescribeEipMonitorDataRequest)
type DescribeEipMonitorDataResponse ¶ added in v0.1.26
type DescribeEipMonitorDataResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipMonitorDataResponseParams `json:"response,omitempty"`
}
func NewDescribeEipMonitorDataResponse ¶ added in v0.1.26
func NewDescribeEipMonitorDataResponse() (response *DescribeEipMonitorDataResponse)
type DescribeEipMonitorDataResponseParams ¶ added in v0.1.26
type DescribeEipMonitorDataResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InMaxValue 入方向最大值。
InMaxValue *float64 `json:"inMaxValue,omitempty"`
// InAvgValue 入方向平均值。
InAvgValue *float64 `json:"inAvgValue,omitempty"`
// InMinValue 入方向最小值。
InMinValue *float64 `json:"inMinValue,omitempty"`
// InTotalValue 入方向总和值。
InTotalValue *float64 `json:"inTotalValue,omitempty"`
// OutMaxValue 出方向最大值。
OutMaxValue *float64 `json:"outMaxValue,omitempty"`
// OutAvgValue 出方向平均值。
OutAvgValue *float64 `json:"outAvgValue,omitempty"`
// OutMinValue 出方向最小值。
OutMinValue *float64 `json:"outMinValue,omitempty"`
// OutTotalValue 出方向总和值。
OutTotalValue *float64 `json:"outTotalValue,omitempty"`
// LoseOutMaxValue 丢失出方向最大值。
LoseOutMaxValue *float64 `json:"loseOutMaxValue,omitempty"`
// LoseOutMinValue 丢失出方向最小值。
LoseOutMinValue *float64 `json:"loseOutMinValue,omitempty"`
// LoseOutTotalValue 丢失出方向总和值。
LoseOutTotalValue *float64 `json:"loseOutTotalValue,omitempty"`
// LoseInMaxValue 丢失入方向最大值。
LoseInMaxValue *float64 `json:"loseInMaxValue,omitempty"`
// LoseInMinValue 丢失入方向最小值。
LoseInMinValue *float64 `json:"loseInMinValue,omitempty"`
// LoseInTotalValue 丢失入方向总和值。
LoseInTotalValue *float64 `json:"loseInTotalValue,omitempty"`
// DataList 监控数据集合。
DataList []*EipMetricValue `json:"dataList,omitempty"`
}
DescribeEipMonitorDataResponseParams 查询弹性IP监控数据的响应信息。
type DescribeEipPriceRequest ¶ added in v0.1.19
type DescribeEipPriceRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
Amount int `json:"amount,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
Bandwidth int `json:"bandwidth,omitempty"`
FlowPackage float64 `json:"flowPackage,omitempty"`
CidrId string `json:"cidrId,omitempty"`
ClusterId string `json:"clusterId,omitempty"`
PeerRegionId string `json:"peerRegionId,omitempty"`
}
func NewDescribeEipPriceRequest ¶ added in v0.1.19
func NewDescribeEipPriceRequest() (request *DescribeEipPriceRequest)
type DescribeEipPriceResponse ¶ added in v0.1.19
type DescribeEipPriceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipPriceResponseParams `json:"response"`
}
func NewDescribeEipPriceResponse ¶ added in v0.1.19
func NewDescribeEipPriceResponse() (response *DescribeEipPriceResponse)
type DescribeEipPriceResponseParams ¶ added in v0.1.19
type DescribeEipRegionsRequest ¶ added in v0.1.19
type DescribeEipRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeEipRegionsRequest ¶ added in v0.1.19
func NewDescribeEipRegionsRequest() (request *DescribeEipRegionsRequest)
type DescribeEipRegionsResponse ¶ added in v0.1.19
type DescribeEipRegionsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipRegionsResponseParams `json:"response"`
}
func NewDescribeEipRegionsResponse ¶ added in v0.1.19
func NewDescribeEipRegionsResponse() (response *DescribeEipRegionsResponse)
type DescribeEipRegionsResponseParams ¶ added in v0.1.19
type DescribeEipRemoteRegionsRequest ¶ added in v0.1.19
type DescribeEipRemoteRegionsRequest struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
}
func NewDescribeEipRemoteRegionsRequest ¶ added in v0.1.19
func NewDescribeEipRemoteRegionsRequest() (request *DescribeEipRemoteRegionsRequest)
type DescribeEipRemoteRegionsResponse ¶ added in v0.1.19
type DescribeEipRemoteRegionsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipRemoteRegionsResponseParams `json:"response"`
}
func NewDescribeEipRemoteRegionsResponse ¶ added in v0.1.19
func NewDescribeEipRemoteRegionsResponse() (response *DescribeEipRemoteRegionsResponse)
type DescribeEipRemoteRegionsResponseParams ¶ added in v0.1.19
type DescribeEipTrafficRequest ¶ added in v0.1.19
type DescribeEipTrafficRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
StartTime string `json:"startTime,omitempty"`
EndTime string `json:"endTime,omitempty"`
Step int `json:"step,omitempty"`
WanIp string `json:"wanIp,omitempty"`
}
func NewDescribeEipTrafficRequest ¶ added in v0.1.19
func NewDescribeEipTrafficRequest() (request *DescribeEipTrafficRequest)
type DescribeEipTrafficResponse ¶ added in v0.1.19
type DescribeEipTrafficResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response *EipTrafficDataResponse `json:"response"`
}
func NewDescribeEipTrafficResponse ¶ added in v0.1.19
func NewDescribeEipTrafficResponse() (response *DescribeEipTrafficResponse)
type DescribeEipsRequest ¶ added in v0.1.19
type DescribeEipsRequest struct {
*common.BaseRequest
EipIds []string `json:"eipIds,omitempty"`
RegionId string `json:"regionId,omitempty"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
// PrivateIpAddress 按照 EIP 绑定的内网 IP 过滤。
PrivateIpAddress *string `json:"privateIpAddress,omitempty"`
// IpAddress 按照 EIP 的 IP 过滤。
// Deprecated: 请使用 IpAddresses 代替
IpAddress *string `json:"ipAddress,omitempty"`
// IpAddresses 按照 EIP 的 IP列表过滤。
IpAddresses []string `json:"ipAddresses,omitempty"`
// InstanceId 按照 EIP 绑定的实例 ID 过滤。该字段过滤出该实例所绑定的网卡上的 EIP。
InstanceId *string `json:"instanceId,omitempty"`
// AssociatedId 按照 EIP 绑定的资源 ID 过滤。
AssociatedId *string `json:"associatedId,omitempty"`
// CidrIds 按照 EIP 所属的CIDR ID列表 过滤。
CidrIds []string `json:"cidrIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeEipsRequest ¶ added in v0.1.19
func NewDescribeEipsRequest() (request *DescribeEipsRequest)
type DescribeEipsResponse ¶ added in v0.1.19
type DescribeEipsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipsResponseParams `json:"response"`
}
func NewDescribeEipsResponse ¶ added in v0.1.19
func NewDescribeEipsResponse() (response *DescribeEipsResponse)
type DescribeEipsResponseParams ¶ added in v0.1.19
type DescribeImagesRequest ¶ added in v0.1.18
type DescribeImagesRequest struct {
*common.BaseRequest
ImageIds []string `json:"imageIds,omitempty"`
ImageName string `json:"imageName,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
Category string `json:"category,omitempty"`
ImageType string `json:"imageType,omitempty"`
OsType string `json:"osType,omitempty"`
ImageStatus string `json:"imageStatus,omitempty"`
PageNum int `json:"pageNum,omitempty"`
PageSize int `json:"pageSize,omitempty"`
}
func NewDescribeImagesRequest ¶ added in v0.1.18
func NewDescribeImagesRequest() (request *DescribeImagesRequest)
type DescribeImagesResponse ¶ added in v0.1.18
type DescribeImagesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeImagesResponseParams `json:"response"`
}
func NewDescribeImagesResponse ¶ added in v0.1.18
func NewDescribeImagesResponse() (response *DescribeImagesResponse)
type DescribeImagesResponseParams ¶ added in v0.1.18
type DescribeImagesResponseParams struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
// Information on an image.
DataSet []*ImageInfo `json:"dataSet,omitempty"`
// Number of images meeting the filtering conditions.
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeInstanceMonitorDataRequest ¶
type DescribeInstanceMonitorDataRequest struct {
*common.BaseRequest
// InstanceId 实例唯一标识ID。
InstanceId *string `json:"instanceId,omitempty"`
// MetricType 实例监控指标类型。
MetricType *string `json:"metricType,omitempty"`
// StartTime 查询开始时间。时间格式:yyyy-MM-ddTHH:mm:ssZ。
StartTime *string `json:"startTime,omitempty"`
// EndTime 查询结束时间。时间格式:yyyy-MM-ddTHH:mm:ssZ。
EndTime *string `json:"endTime,omitempty"`
}
DescribeInstanceMonitorDataRequest 查询实例监控指标请求。
func NewDescribeInstanceMonitorDataRequest ¶
func NewDescribeInstanceMonitorDataRequest() (request *DescribeInstanceMonitorDataRequest)
type DescribeInstanceMonitorDataResponse ¶
type DescribeInstanceMonitorDataResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeInstanceMonitorDataResponseParams `json:"response,omitempty"`
}
func NewDescribeInstanceMonitorDataResponse ¶
func NewDescribeInstanceMonitorDataResponse() (response *DescribeInstanceMonitorDataResponse)
type DescribeInstanceMonitorDataResponseParams ¶ added in v0.1.26
type DescribeInstanceMonitorDataResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// MaxValue 数据点的最大值。
MaxValue *float64 `json:"maxValue,omitempty"`
// MinValue 数据点的最小值。
MinValue *float64 `json:"minValue,omitempty"`
// AvgValue 数据点的平均值。
AvgValue *float64 `json:"avgValue,omitempty"`
// Metrics 监控数据集合。
Metrics []*MetricValue `json:"metrics,omitempty"`
}
DescribeInstanceMonitorDataResponseParams 查询实例监控数据的响应信息。
type DescribeInstancesRequest ¶ added in v0.1.18
type DescribeInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ImageId string `json:"imageId,omitempty"`
Status string `json:"status,omitempty"`
Name string `json:"name,omitempty"`
Ipv4Address string `json:"ipv4Address,omitempty"`
Ipv6Address string `json:"ipv6Address,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeInstancesRequest ¶ added in v0.1.18
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
type DescribeInstancesResponse ¶ added in v0.1.18
type DescribeInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstancesResponseParams `json:"response"`
}
func NewDescribeInstancesResponse ¶ added in v0.1.18
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
type DescribeInstancesResponseParams ¶ added in v0.1.18
type DescribeInstancesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*InstanceInfo `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeInstancesStatusRequest ¶ added in v0.1.18
type DescribeInstancesStatusRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeInstancesStatusRequest ¶ added in v0.1.18
func NewDescribeInstancesStatusRequest() (request *DescribeInstancesStatusRequest)
type DescribeInstancesStatusResponse ¶ added in v0.1.18
type DescribeInstancesStatusResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstancesStatusResponseParams `json:"response"`
}
func NewDescribeInstancesStatusResponse ¶ added in v0.1.18
func NewDescribeInstancesStatusResponse() (response *DescribeInstancesStatusResponse)
type DescribeInstancesStatusResponseParams ¶ added in v0.1.18
type DescribeInstancesStatusResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*InstanceStatus `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeKeyPairsRequest ¶ added in v0.1.18
type DescribeKeyPairsRequest struct {
*common.BaseRequest
KeyIds []string `json:"keyIds,omitempty"`
KeyName string `json:"keyName,omitempty"`
PageNum int `json:"pageNum,omitempty"`
PageSize int `json:"pageSize,omitempty"`
}
func NewDescribeKeyPairsRequest ¶ added in v0.1.18
func NewDescribeKeyPairsRequest() (request *DescribeKeyPairsRequest)
type DescribeKeyPairsResponse ¶ added in v0.1.18
type DescribeKeyPairsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeKeyPairsResponseParams `json:"response"`
}
func NewDescribeKeyPairsResponse ¶ added in v0.1.18
func NewDescribeKeyPairsResponse() (response *DescribeKeyPairsResponse)
type DescribeKeyPairsResponseParams ¶ added in v0.1.18
type DescribeNatGatewayDetailRequest ¶ added in v0.1.26
type DescribeNatGatewayDetailRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewDescribeNatGatewayDetailRequest ¶ added in v0.1.26
func NewDescribeNatGatewayDetailRequest() (request *DescribeNatGatewayDetailRequest)
type DescribeNatGatewayDetailResponse ¶ added in v0.1.26
type DescribeNatGatewayDetailResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNatGatewayDetailResponseParams `json:"response,omitempty"`
}
func NewDescribeNatGatewayDetailResponse ¶ added in v0.1.26
func NewDescribeNatGatewayDetailResponse() (response *DescribeNatGatewayDetailResponse)
type DescribeNatGatewayDetailResponseParams ¶ added in v0.1.26
type DescribeNatGatewayDetailResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// NatGatewayId NAT网关唯一ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// Name NAT网关名称。
Name *string `json:"name,omitempty"`
// Snats SNAT网关规则集合。
Snats []*SnatEntry `json:"snats,omitempty"`
// Dnats DNAT网关规则集合。
Dnats []*DnatEntry `json:"dnats,omitempty"`
}
type DescribeNatGatewayRegionsRequest ¶ added in v0.1.26
type DescribeNatGatewayRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeNatGatewayRegionsRequest ¶ added in v0.1.26
func NewDescribeNatGatewayRegionsRequest() (request *DescribeNatGatewayRegionsRequest)
type DescribeNatGatewayRegionsResponse ¶ added in v0.1.26
type DescribeNatGatewayRegionsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeNatGatewayRegionsResponseParams `json:"response"`
}
func NewDescribeNatGatewayRegionsResponse ¶ added in v0.1.26
func NewDescribeNatGatewayRegionsResponse() (response *DescribeNatGatewayRegionsResponse)
type DescribeNatGatewayRegionsResponseParams ¶ added in v0.1.26
type DescribeNatGatewaysRequest ¶ added in v0.1.26
type DescribeNatGatewaysRequest struct {
*common.BaseRequest
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// VpcId 根据NAT网关所属的VPC网络 ID过滤。
VpcId *string `json:"vpcId,omitempty"`
// NatGatewayIds NAT网关ID集合。实例ID数量上限为100个。
NatGatewayIds []string `json:"natGatewayIds,omitempty"`
// Name NAT网关名称。可以在末尾加入*以支持模糊匹配。
Name *string `json:"name,omitempty"`
// Status NAT网关状态。
Status *string `json:"status,omitempty"`
// PageSize 返回的分页大小。默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页页码。默认为1。
PageNum *int `json:"pageNum,omitempty"`
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
func NewDescribeNatGatewaysRequest ¶ added in v0.1.26
func NewDescribeNatGatewaysRequest() (request *DescribeNatGatewaysRequest)
type DescribeNatGatewaysResponse ¶ added in v0.1.26
type DescribeNatGatewaysResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNatGatewaysResponseParams `json:"response,omitempty"`
}
func NewDescribeNatGatewaysResponse ¶ added in v0.1.26
func NewDescribeNatGatewaysResponse() (response *DescribeNatGatewaysResponse)
type DescribeNatGatewaysResponseParams ¶ added in v0.1.26
type DescribeNatGatewaysResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 满足过滤条件的NAT网关总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 返回的NAT网关列表。
DataSet []*NatGateway `json:"dataSet,omitempty"`
}
type DescribeNicRegionsRequest ¶ added in v0.1.18
type DescribeNicRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeNetworkInterfaceRegionsRequest ¶ added in v0.1.18
func NewDescribeNetworkInterfaceRegionsRequest() (request *DescribeNicRegionsRequest)
type DescribeNicRegionsResponse ¶ added in v0.1.18
type DescribeNicRegionsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeNicRegionsResponseParams `json:"response"`
}
func NewDescribeNetworkInterfaceRegionsResponse ¶ added in v0.1.18
func NewDescribeNetworkInterfaceRegionsResponse() (response *DescribeNicRegionsResponse)
type DescribeNicRegionsResponseParams ¶ added in v0.1.18
type DescribeNicsRequest ¶ added in v0.1.18
type DescribeNicsRequest struct {
*common.BaseRequest
NicIds []string `json:"nicIds,omitempty"`
Name string `json:"name,omitempty"`
RegionId string `json:"regionId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
// 根据网卡关联的实例ID过滤。
InstanceId string `json:"instanceId,omitempty"`
// NicType 根据网卡的类型筛选过滤。
NicType string `json:"nicType,omitempty"`
Status string `json:"status,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeNetworkInterfacesRequest ¶ added in v0.1.18
func NewDescribeNetworkInterfacesRequest() (request *DescribeNicsRequest)
type DescribeNicsResponse ¶ added in v0.1.18
type DescribeNicsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeNicsResponseParams `json:"response"`
}
func NewDescribeNetworkInterfacesResponse ¶ added in v0.1.18
func NewDescribeNetworkInterfacesResponse() (response *DescribeNicsResponse)
type DescribeNicsResponseParams ¶ added in v0.1.18
type DescribePoolsRequest ¶ added in v0.1.19
type DescribePoolsRequest struct {
*common.BaseRequest
PoolIds []string `json:"poolIds,omitempty"`
RegionId string `json:"regionId,omitempty"`
Name string `json:"name,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribePoolsRequest ¶ added in v0.1.19
func NewDescribePoolsRequest() (request *DescribePoolsRequest)
type DescribePoolsResponse ¶ added in v0.1.19
type DescribePoolsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribePoolsResponseParams `json:"response"`
}
func NewDescribePoolsResponse ¶ added in v0.1.19
func NewDescribePoolsResponse() (response *DescribePoolsResponse)
type DescribePoolsResponseParams ¶ added in v0.1.19
type DescribeRoutesRequest ¶ added in v0.1.18
type DescribeRoutesRequest struct {
*common.BaseRequest
RouteIds []string `json:"routeIds,omitempty"`
IpVersion string `json:"ipVersion,omitempty"`
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeRoutesRequest ¶ added in v0.1.18
func NewDescribeRoutesRequest() (request *DescribeRoutesRequest)
type DescribeRoutesResponse ¶ added in v0.1.18
type DescribeRoutesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeRoutesResponseParams `json:"response"`
}
func NewDescribeRoutesResponse ¶ added in v0.1.18
func NewDescribeRoutesResponse() (response *DescribeRoutesResponse)
type DescribeRoutesResponseParams ¶ added in v0.1.18
type DescribeSecurityGroupRuleRequest ¶ added in v0.1.18
type DescribeSecurityGroupRuleRequest struct {
*common.BaseRequest
SecurityGroupId string `json:"securityGroupId,omitempty"`
}
func NewDescribeSecurityGroupRuleRequest ¶ added in v0.1.18
func NewDescribeSecurityGroupRuleRequest() (request *DescribeSecurityGroupRuleRequest)
type DescribeSecurityGroupRuleResponse ¶ added in v0.1.18
type DescribeSecurityGroupRuleResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeSecurityGroupRuleResponseParams `json:"response"`
}
func NewDescribeSecurityGroupRuleResponse ¶ added in v0.1.18
func NewDescribeSecurityGroupRuleResponse() (response *DescribeSecurityGroupRuleResponse)
type DescribeSecurityGroupRuleResponseParams ¶ added in v0.1.18
type DescribeSecurityGroupsRequest ¶ added in v0.1.18
type DescribeSecurityGroupsRequest struct {
*common.BaseRequest
SecurityGroupIds []string `json:"securityGroupIds,omitempty"`
SecurityGroupName string `json:"securityGroupName,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeSecurityGroupsRequest ¶ added in v0.1.18
func NewDescribeSecurityGroupsRequest() (request *DescribeSecurityGroupsRequest)
type DescribeSecurityGroupsResponse ¶ added in v0.1.18
type DescribeSecurityGroupsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeSecurityGroupsResponseParams `json:"response"`
}
func NewDescribeSecurityGroupsResponse ¶ added in v0.1.18
func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsResponse)
type DescribeSecurityGroupsResponseParams ¶ added in v0.1.18
type DescribeSecurityGroupsResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*SecurityGroupInfo `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeSnapshotsRequest ¶ added in v0.1.32
type DescribeSnapshotsRequest struct {
*common.BaseRequest
// SnapshotIds
SnapshotIds []string `json:"snapshotIds,omitempty"`
// ZoneId 快照所属的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// Status 根据快照的状态过滤。
Status *string `json:"status,omitempty"`
// DiskIds 按照快照所属的Disk ID列表 过滤。
DiskIds []string `json:"diskIds,omitempty"`
// DiskType 根据快照的云盘类型过滤。
DiskType *string `json:"diskType,omitempty"`
// SnapshotType 根据快照类型过滤。
SnapshotType *string `json:"snapshotType,omitempty"`
// SnapshotName 根据快照显示名称过滤。该字段支持模糊搜索。
SnapshotName *string `json:"snapshotName,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
// ResourceGroupId 根据资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
func NewDescribeSnapshotsRequest ¶ added in v0.1.32
func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)
type DescribeSnapshotsResponse ¶ added in v0.1.32
type DescribeSnapshotsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSnapshotsResponseParams `json:"response,omitempty"`
}
func NewDescribeSnapshotsResponse ¶ added in v0.1.32
func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)
type DescribeSnapshotsResponseParams ¶ added in v0.1.32
type DescribeSnapshotsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
TotalCount *int `json:"totalCount,omitempty"`
DataSet []*SnapshotInfo `json:"dataSet,omitempty"`
}
type DescribeSubnetRegionsRequest ¶ added in v0.1.18
type DescribeSubnetRegionsRequest struct {
*common.BaseRequest
RegionIds []string `json:"regionIds,omitempty"`
}
func NewDescribeSubnetRegionsRequest ¶ added in v0.1.18
func NewDescribeSubnetRegionsRequest() (request *DescribeSubnetRegionsRequest)
type DescribeSubnetRegionsResponse ¶ added in v0.1.18
type DescribeSubnetRegionsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeSubnetRegionsResponseParams `json:"response"`
}
func NewDescribeSubnetRegionsResponse ¶ added in v0.1.18
func NewDescribeSubnetRegionsResponse() (response *DescribeSubnetRegionsResponse)
type DescribeSubnetRegionsResponseParams ¶ added in v0.1.18
type DescribeSubnetRegionsResponseParams struct {
RequestId string `json:"requestId,omitempty"`
RegionSet []*RegionInfo `json:"regionSet,omitempty"`
}
type DescribeSubnetsRequest ¶ added in v0.1.18
type DescribeSubnetsRequest struct {
*common.BaseRequest
SubnetIds []string `json:"subnetIds,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
RegionId string `json:"regionId,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeSubnetsRequest ¶ added in v0.1.18
func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)
type DescribeSubnetsResponse ¶ added in v0.1.18
type DescribeSubnetsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeSubnetsResponseParams `json:"response"`
}
func NewDescribeSubnetsResponse ¶ added in v0.1.18
func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)
type DescribeSubnetsResponseParams ¶ added in v0.1.18
type DescribeSubnetsResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*SubnetInfo `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeTimeZonesRequest ¶ added in v0.1.19
type DescribeTimeZonesRequest struct {
*common.BaseRequest
}
func NewDescribeTimeZonesRequest ¶ added in v0.1.19
func NewDescribeTimeZonesRequest() (request *DescribeTimeZonesRequest)
type DescribeTimeZonesResponse ¶ added in v0.1.19
type DescribeTimeZonesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeTimeZonesResponseParams `json:"response"`
}
func NewDescribeTimeZonesResponse ¶ added in v0.1.19
func NewDescribeTimeZonesResponse() (response *DescribeTimeZonesResponse)
type DescribeTimeZonesResponseParams ¶ added in v0.1.19
type DescribeVncUrlRequest ¶ added in v0.1.19
type DescribeVncUrlRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewDescribeVncUrlRequest ¶ added in v0.1.19
func NewDescribeVncUrlRequest() (request *DescribeVncUrlRequest)
type DescribeVncUrlResponse ¶ added in v0.1.19
type DescribeVncUrlResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeVncUrlResponseParams `json:"response"`
}
func NewDescribeVncUrlResponse ¶ added in v0.1.19
func NewDescribeVncUrlResponse() (response *DescribeVncUrlResponse)
type DescribeVncUrlResponseParams ¶ added in v0.1.19
type DescribeVpcsRequest ¶ added in v0.1.18
type DescribeVpcsRequest struct {
*common.BaseRequest
VpcIds []string `json:"vpcIds,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewDescribeVpcsRequest ¶ added in v0.1.18
func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)
type DescribeVpcsResponse ¶ added in v0.1.18
type DescribeVpcsResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeVpcsResponseParams `json:"response"`
}
func NewDescribeVpcsResponse ¶ added in v0.1.18
func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)
type DescribeVpcsResponseParams ¶ added in v0.1.18
type DescribeZoneInstanceConfigInfosRequest ¶ added in v0.1.18
type DescribeZoneInstanceConfigInfosRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
}
func NewDescribeZoneInstanceConfigInfosRequest ¶ added in v0.1.18
func NewDescribeZoneInstanceConfigInfosRequest() (request *DescribeZoneInstanceConfigInfosRequest)
type DescribeZoneInstanceConfigInfosResponse ¶ added in v0.1.18
type DescribeZoneInstanceConfigInfosResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeZoneInstanceConfigInfosResponseParams `json:"response"`
}
func NewDescribeZoneInstanceConfigInfosResponse ¶ added in v0.1.18
func NewDescribeZoneInstanceConfigInfosResponse() (response *DescribeZoneInstanceConfigInfosResponse)
type DescribeZoneInstanceConfigInfosResponseParams ¶ added in v0.1.18
type DescribeZoneInstanceConfigInfosResponseParams struct {
RequestId string `json:"requestId,omitempty"`
InstanceTypeQuotaSet []*InstanceTypeQuotaItem `json:"instanceTypeQuotaSet,omitempty"`
}
type DescribeZonesRequest ¶ added in v0.1.18
type DescribeZonesRequest struct {
*common.BaseRequest
ZoneIds []string `json:"zoneIds,omitempty"`
}
func NewDescribeZonesRequest ¶ added in v0.1.18
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
type DescribeZonesResponse ¶ added in v0.1.18
type DescribeZonesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *DescribeZonesResponseParams `json:"response"`
}
func NewDescribeZonesResponse ¶ added in v0.1.18
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
type DescribeZonesResponseParams ¶ added in v0.1.18
type DetachDisksRequest ¶ added in v0.1.18
type DetachDisksRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
InstanceCheckFlag *bool `json:"instanceCheckFlag,omitempty"`
}
func NewDetachDisksRequest ¶ added in v0.1.18
func NewDetachDisksRequest() (request *DetachDisksRequest)
type DetachDisksResponse ¶ added in v0.1.18
type DetachDisksResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDetachDisksResponse ¶ added in v0.1.18
func NewDetachDisksResponse() (response *DetachDisksResponse)
type DetachEipLanIpRequest ¶ added in v0.1.19
type DetachEipLanIpRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewDetachEipLanIpRequest ¶ added in v0.1.19
func NewDetachEipLanIpRequest() (request *DetachEipLanIpRequest)
type DetachEipLanIpResponse ¶ added in v0.1.19
type DetachEipLanIpResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDetachEipLanIpResponse ¶ added in v0.1.19
func NewDetachEipLanIpResponse() (response *DetachEipLanIpResponse)
type DetachNicRequest ¶ added in v0.1.18
type DetachNicRequest struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
}
func NewDetachNetworkInterfaceRequest ¶ added in v0.1.18
func NewDetachNetworkInterfaceRequest() (request *DetachNicRequest)
type DetachNicResponse ¶ added in v0.1.18
type DetachNicResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewDetachNetworkInterfaceResponse ¶ added in v0.1.18
func NewDetachNetworkInterfaceResponse() (response *DetachNicResponse)
type DiskCategory ¶ added in v0.1.18
type DiskInfo ¶ added in v0.1.18
type DiskInfo struct {
DiskId string `json:"diskId,omitempty"`
DiskName string `json:"diskName,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
DiskType string `json:"diskType,omitempty"`
Portable bool `json:"portable,omitempty"`
DiskCategory string `json:"diskCategory,omitempty"`
DiskSize int `json:"diskSize,omitempty"`
DiskStatus string `json:"diskStatus,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
ChargeType string `json:"chargeType,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
Period int `json:"period,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
Serial string `json:"serial,omitempty"`
SnapshotAbility *bool `json:"snapshotAbility,omitempty"`
// AutoSnapshotPolicyId 云盘关联的自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
}
type DiskWithInstance ¶ added in v0.1.18
type DnatEntry ¶ added in v0.1.26
type DnatEntry struct {
// DnatEntryId DNAT规则 ID。
DnatEntryId *string `json:"dnatEntryId,omitempty"`
// Status DNAT规则状态。
Status *string `json:"status,omitempty"`
// PrivateIp DNAT规则的内网IP地址。
PrivateIp *string `json:"privateIp,omitempty"`
// EipId DNAT规则添加的eip ID。
EipId *string `json:"eipId,omitempty"`
// Protocol DNAT规则的协议类型。
Protocol *string `json:"protocol,omitempty"`
// ListenerPort DNAT规则端口转发的外部端口或端口段,取值范围1-65535。
ListenerPort *string `json:"listenerPort,omitempty"`
// InternalPort DNAT规则端口转发的内部端口或端口段,取值范围1-65535。
InternalPort *string `json:"internalPort,omitempty"`
}
DnatEntry 描述DNAT规则的信息。
type EipInfo ¶ added in v0.1.19
type EipInfo struct {
EipId string `json:"eipId,omitempty"`
Name string `json:"name,omitempty"`
RegionId string `json:"regionId,omitempty"`
PeerRegionId string `json:"peerRegionId,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
Status string `json:"status,omitempty"`
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
// PrivateIpAddress EIP 绑定的内网IP地址。
PrivateIpAddress *string `json:"privateIpAddress,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
CidrId string `json:"cidrId,omitempty"`
NicId string `json:"nicId,omitempty"`
// AssociatedId EIP 绑定的资源ID。可能为实例ID、网卡ID或者NAT网关ID。
AssociatedId *string `json:"associatedId,omitempty"`
// AssociatedType EIP 资源类型。可能为实例ID、网卡ID或者NAT网关ID。
AssociatedType *string `json:"associatedType,omitempty"`
// BindType EIP 绑定类型。
BindType *string `json:"bindType,omitempty"`
FlowPackage float64 `json:"flowPackage,omitempty"`
Bandwidth int `json:"bandwidth,omitempty"`
EipGeoRefs []*EipGeoRef `json:"eipGeoRefs,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
BandwidthCluster *BandwidthClusterInfo `json:"bandwidthCluster,omitempty"`
}
type EipMetricValue ¶ added in v0.1.26
type EipMetricValue struct {
// Time 数据点时间。
Time *string `json:"time,omitempty"`
// In 入方向值。
In *float64 `json:"in,omitempty"`
// Out 入方向值。
Out *float64 `json:"out,omitempty"`
// LoseIn 丢失入方向值。
LoseIn *float64 `json:"loseIn,omitempty"`
// LoseOut 丢失出方向值。
LoseOut *float64 `json:"loseOut,omitempty"`
}
EipMetricValue 描述EIP的监控指标数据。
type EipTrafficData ¶ added in v0.1.19
type EipTrafficDataResponse ¶ added in v0.1.19
type EipTrafficDataResponse struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
DataList []*EipTrafficData `json:"dataList,omitempty"`
In95 int64 `json:"in95,omitempty"`
InAvg int64 `json:"inAvg,omitempty"`
InMax int64 `json:"inMax,omitempty"`
InMin int64 `json:"inMin,omitempty"`
InTotal int64 `json:"inTotal,omitempty"`
Out95 int64 `json:"out95,omitempty"`
OutAvg int64 `json:"outAvg,omitempty"`
OutMax int64 `json:"outMax,omitempty"`
OutMin int64 `json:"outMin,omitempty"`
OutTotal int64 `json:"outTotal,omitempty"`
}
type ImageInfo ¶ added in v0.1.18
type ImageInfo struct {
ImageId string `json:"imageId,omitempty"`
ImageName string `json:"imageName,omitempty"`
ImageType string `json:"imageType,omitempty"`
ImageSize string `json:"imageSize,omitempty"`
ImageDescription string `json:"imageDescription,omitempty"`
ImageVersion string `json:"imageVersion,omitempty"`
ImageStatus string `json:"imageStatus,omitempty"`
NicNetworkType []string `json:"nicNetworkType,omitempty"`
Category string `json:"category,omitempty"`
OsType string `json:"osType,omitempty"`
}
type InquiryPriceCreateDisksRequest ¶ added in v0.1.18
type InquiryPriceCreateDisksRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
DiskSize int `json:"diskSize,omitempty"`
DiskAmount int `json:"diskAmount,omitempty"`
DiskCategory string `json:"diskCategory,omitempty"`
}
func NewInquiryPriceCreateDisksRequest ¶ added in v0.1.18
func NewInquiryPriceCreateDisksRequest() (request *InquiryPriceCreateDisksRequest)
type InquiryPriceCreateDisksResponse ¶ added in v0.1.18
type InquiryPriceCreateDisksResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateDisksResponseParams `json:"response"`
}
func NewInquiryPriceCreateDisksResponse ¶ added in v0.1.18
func NewInquiryPriceCreateDisksResponse() (response *InquiryPriceCreateDisksResponse)
type InquiryPriceCreateDisksResponseParams ¶ added in v0.1.18
type InquiryPriceCreateInstanceRequest ¶ added in v0.1.19
type InquiryPriceCreateInstanceRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
EipV4Type string `json:"eipV4Type,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
Bandwidth int `json:"bandwidth,omitempty"`
InstanceCount int `json:"instanceCount,omitempty"`
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
DataDisk *DataDisk `json:"dataDisk,omitempty"`
}
func NewInquiryPriceCreateInstanceRequest ¶ added in v0.1.19
func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)
type InquiryPriceCreateInstanceResponse ¶ added in v0.1.19
type InquiryPriceCreateInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateInstanceResponseParams `json:"response"`
}
func NewInquiryPriceCreateInstanceResponse ¶ added in v0.1.19
func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)
type InquiryPriceCreateInstanceResponseParams ¶ added in v0.1.19
type InquiryPriceCreateInstanceResponseParams struct {
RequestId string `json:"requestId,omitempty"`
SpecPrice *Price `json:"specPrice,omitempty"`
GpuPrice *Price `json:"gpuPrice,omitempty"`
Ipv4Price *Price `json:"ipv4Price,omitempty"`
Ipv6Price *Price `json:"ipv6Price,omitempty"`
Ipv4BandwidthPrice *Price `json:"ipv4BandwidthPrice,omitempty"`
Ipv6BandwidthPrice *Price `json:"ipv6BandwidthPrice,omitempty"`
SystemDiskPrice *Price `json:"systemDiskPrice,omitempty"`
DataDiskPrice *Price `json:"dataDiskPrice,omitempty"`
}
type InquiryPriceCreateNatGatewayRequest ¶ added in v0.1.26
type InquiryPriceCreateNatGatewayRequest struct {
*common.BaseRequest
// RegionId 区域节点ID。
RegionId *string `json:"regionId,omitempty"`
}
func NewInquiryPriceCreateNatGatewayRequest ¶ added in v0.1.26
func NewInquiryPriceCreateNatGatewayRequest() (request *InquiryPriceCreateNatGatewayRequest)
type InquiryPriceCreateNatGatewayResponse ¶ added in v0.1.26
type InquiryPriceCreateNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *InquiryPriceCreateNatGatewayResponseParams `json:"response,omitempty"`
}
func NewInquiryPriceCreateNatGatewayResponse ¶ added in v0.1.26
func NewInquiryPriceCreateNatGatewayResponse() (response *InquiryPriceCreateNatGatewayResponse)
type InquiryPriceCreateNatGatewayResponseParams ¶ added in v0.1.26
type InquiryPriceCreateNatGatewayResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// NatGatewayPrice NAT网关的价格。
NatGatewayPrice *PriceItem `json:"natGatewayPrice,omitempty"`
// CuPrice NAT网关CU的价格。
CuPrice *PriceItem `json:"cuPrice,omitempty"`
}
InquiryPriceCreateNatGatewayResponseParams 描述创建NAT网关的响应。
type InquiryPricePublicIpv6Request ¶ added in v0.1.18
type InquiryPricePublicIpv6Request struct {
*common.BaseRequest
RegionId string `json:"regionId,omitempty"`
PackageSize float64 `json:"packageSize"`
Bandwidth int `json:"bandwidth"`
}
func NewInquiryPricePublicIpv6Request ¶ added in v0.1.18
func NewInquiryPricePublicIpv6Request() (request *InquiryPricePublicIpv6Request)
type InquiryPricePublicIpv6Response ¶ added in v0.1.18
type InquiryPricePublicIpv6Response struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *InquiryPricePublicIpv6ResponseParams `json:"response"`
}
func NewInquiryPricePublicIpv6Response ¶ added in v0.1.18
func NewInquiryPricePublicIpv6Response() (response *InquiryPricePublicIpv6Response)
type InquiryPricePublicIpv6ResponseParams ¶ added in v0.1.18
type InstanceInfo ¶ added in v0.1.18
type InstanceInfo struct {
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
Cpu int `json:"cpu,omitempty"`
Memory int `json:"memory,omitempty"`
ImageId string `json:"imageId,omitempty"`
ImageName string `json:"imageName,omitempty"`
// TimeZone 设置的系统时区信息。
TimeZone *string `json:"timeZone,omitempty"`
NicNetworkType string `json:"nicNetworkType,omitempty"`
InstanceType *string `json:"instanceType,omitempty"`
Status string `json:"status,omitempty"`
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
DataDisks []*DataDisk `json:"dataDisks,omitempty"`
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
PrivateIpAddresses []string `json:"privateIpAddresses,omitempty"`
KeyId string `json:"keyId,omitempty"`
// SubnetId 实例主网卡关联的子网ID。
SubnetId *string `json:"subnetId,omitempty"`
// EnableAgent 是否开启QGA Agent。
EnableAgent *bool `json:"enableAgent,omitempty"`
// EnableAgentMonitor 是否开启QGA 监控采集。
EnableAgentMonitor *bool `json:"enableAgentMonitor,omitempty"`
// EnableIpForward 是否开启IP转发。
EnableIpForward *bool `json:"enableIpForward,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
Nics []*NicInfo `json:"nics,omitempty"`
}
type InstanceStatus ¶ added in v0.1.18
type InstanceTypeQuotaItem ¶ added in v0.1.18
type InstanceTypeQuotaItem struct {
ZoneId string `json:"zoneId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
CpuCount int `json:"cpuCount,omitempty"`
Memory int `json:"memory,omitempty"`
WithStock bool `json:"withStock,omitempty"`
Frequency string `json:"frequency,omitempty"`
InternetMaxBandwidthOutLimit int `json:"internetMaxBandwidthOutLimit,omitempty"`
InstanceTypeName string `json:"instanceTypeName,omitempty"`
InternetChargeTypes []string `json:"internetChargeTypes,omitempty"`
}
type KeyPair ¶ added in v0.1.18
type KeyPair struct {
// 密钥对ID。
KeyId string `json:"keyId,omitempty"`
// 密钥对名称。
KeyName string `json:"keyName,omitempty"`
// 密钥对的公钥内容。
PublicKey string `json:"publicKey,omitempty"`
// 密钥对描述信息。
KeyDescription string `json:"keyDescription,omitempty"`
// 创建时间。
CreateTime string `json:"createTime,omitempty"`
}
type MarketingInfo ¶ added in v0.1.32
type MetricValue ¶
type MetricValue struct {
// Time 数据点时间。
Time *string `json:"time,omitempty"`
// Value 数据点的值。
Value *float64 `json:"value,omitempty"`
}
MetricValue 描述实例监控指标的数据值。
type ModifyAutoSnapshotPolicyRequest ¶ added in v0.2.0
type ModifyAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyId 自动快照策略的ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// AutoSnapshotPolicyName 自动快照策略的名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
AutoSnapshotPolicyName *string `json:"autoSnapshotPolicyName,omitempty"`
// RepeatWeekDays 自动快照的重复日期。单位为天,周期为星期,例如 1 表示周一。
RepeatWeekDays []int `json:"repeatWeekDays,omitempty"`
// Hours 指定定期快照策略的触发时间。使用 UTC 时间,单位为小时。00:00 ~ 23:00 共 24 个时间点可选,1表示 01:00,依此类推。
Hours []int `json:"hours,omitempty"`
// RetentionDays 自动快照的保留时间,单位为天。如果该值设置-1,则代表永久保留。
RetentionDays *int `json:"retentionDays,omitempty"`
}
func NewModifyAutoSnapshotPolicyRequest ¶ added in v0.2.0
func NewModifyAutoSnapshotPolicyRequest() (request *ModifyAutoSnapshotPolicyRequest)
type ModifyAutoSnapshotPolicyResponse ¶ added in v0.2.0
type ModifyAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyAutoSnapshotPolicyResponse ¶ added in v0.2.0
func NewModifyAutoSnapshotPolicyResponse() (response *ModifyAutoSnapshotPolicyResponse)
type ModifyBorderGatewayAsnRequest ¶ added in v0.1.19
type ModifyBorderGatewayAsnRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
Asn int `json:"asn,omitempty"`
}
func NewModifyBorderGatewayAsnRequest ¶ added in v0.1.19
func NewModifyBorderGatewayAsnRequest() (request *ModifyBorderGatewayAsnRequest)
type ModifyBorderGatewayAsnResponse ¶ added in v0.1.19
type ModifyBorderGatewayAsnResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyBorderGatewayAsnResponse ¶ added in v0.1.19
func NewModifyBorderGatewayAsnResponse() (response *ModifyBorderGatewayAsnResponse)
type ModifyBorderGatewaysAttributeRequest ¶ added in v0.1.19
type ModifyBorderGatewaysAttributeRequest struct {
*common.BaseRequest
ZbgIds []string `json:"zbgIds,omitempty"`
Name string `json:"name,omitempty"`
AdvertisedSubnet string `json:"advertisedSubnet,omitempty"`
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
Asn int `json:"asn,omitempty"`
}
func NewModifyBorderGatewaysAttributeRequest ¶ added in v0.1.19
func NewModifyBorderGatewaysAttributeRequest() (request *ModifyBorderGatewaysAttributeRequest)
type ModifyBorderGatewaysAttributeResponse ¶ added in v0.1.19
type ModifyBorderGatewaysAttributeResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyBorderGatewaysAttributeResponse ¶ added in v0.1.19
func NewModifyBorderGatewaysAttributeResponse() (response *ModifyBorderGatewaysAttributeResponse)
type ModifyDisksAttributesRequest ¶ added in v0.1.18
type ModifyDisksAttributesRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
DiskName string `json:"diskName,omitempty"`
}
func NewModifyDisksAttributesRequest ¶ added in v0.1.18
func NewModifyDisksAttributesRequest() (request *ModifyDisksAttributesRequest)
type ModifyDisksAttributesResponse ¶ added in v0.1.18
type ModifyDisksAttributesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyDisksAttributesResponse ¶ added in v0.1.18
func NewModifyDisksAttributesResponse() (response *ModifyDisksAttributesResponse)
type ModifyDisksResourceGroupRequest ¶ added in v0.1.18
type ModifyDisksResourceGroupRequest struct {
*common.BaseRequest
DiskIds []string `json:"diskIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyDisksResourceGroupRequest ¶ added in v0.1.18
func NewModifyDisksResourceGroupRequest() (request *ModifyDisksResourceGroupRequest)
type ModifyDisksResourceGroupResponse ¶ added in v0.1.18
type ModifyDisksResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyDisksResourceGroupResponse ¶ added in v0.1.18
func NewModifyDisksResourceGroupResponse() (response *ModifyDisksResourceGroupResponse)
type ModifyDnatEntryRequest ¶ added in v0.1.26
type ModifyDnatEntryRequest struct {
*common.BaseRequest
// DnatEntryId DNAT规则 ID。
DnatEntryId *string `json:"dnatEntryId,omitempty"`
// EipId
EipId *string `json:"eipId,omitempty"`
// PrivateIp DNAT规则的内网IP地址。
PrivateIp *string `json:"privateIp,omitempty"`
// Protocol DNAT规则的协议类型。
Protocol *string `json:"protocol,omitempty"`
// ListenerPort DNAT规则端口转发的外部端口或端口段,取值范围1-65535。
ListenerPort *string `json:"listenerPort,omitempty"`
// InternalPort DNAT规则端口转发的内部端口或端口段,取值范围1-65535。
InternalPort *string `json:"internalPort,omitempty"`
}
func NewModifyDnatEntryRequest ¶ added in v0.1.26
func NewModifyDnatEntryRequest() (request *ModifyDnatEntryRequest)
type ModifyDnatEntryResponse ¶ added in v0.1.26
type ModifyDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyDnatEntryResponse ¶ added in v0.1.26
func NewModifyDnatEntryResponse() (response *ModifyDnatEntryResponse)
type ModifyEipAttributeRequest ¶ added in v0.1.32
type ModifyEipAttributeRequest struct {
*common.BaseRequest
// EipId 公网弹性IP的ID。
EipId *string `json:"eipId,omitempty"`
// Name 公网弹性IP的名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
}
ModifyEipAttributeRequest 修改EIP属性的请求
func NewModifyEipAttributeRequest ¶ added in v0.1.32
func NewModifyEipAttributeRequest() (request *ModifyEipAttributeRequest)
type ModifyEipAttributeResponse ¶ added in v0.1.32
type ModifyEipAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyEipAttributeResponse ¶ added in v0.1.32
func NewModifyEipAttributeResponse() (response *ModifyEipAttributeResponse)
type ModifyEipBandwidthRequest ¶ added in v0.1.26
type ModifyEipBandwidthRequest struct {
*common.BaseRequest
// EipId EIP唯一标识ID。
EipId *string `json:"eipId,omitempty"`
// Bandwidth 调整带宽限速的目标值,有且仅当为95计费时, 需要指定。单位Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// CommitBandwidth 保底带宽。单位Mbps。
CommitBandwidth *int `json:"commitBandwidth,omitempty"`
}
ModifyEipBandwidthRequest 修改带宽限速请求。
func NewModifyEipBandwidthRequest ¶ added in v0.1.26
func NewModifyEipBandwidthRequest() (request *ModifyEipBandwidthRequest)
type ModifyEipBandwidthResponse ¶ added in v0.1.26
type ModifyEipBandwidthResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ModifyEipBandwidthResponseParams `json:"response,omitempty"`
}
func NewModifyEipBandwidthResponse ¶ added in v0.1.26
func NewModifyEipBandwidthResponse() (response *ModifyEipBandwidthResponse)
type ModifyEipBandwidthResponseParams ¶ added in v0.1.26
type ModifyEipBandwidthResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
}
type ModifyInstanceTypeRequest ¶ added in v0.1.19
type ModifyInstanceTypeRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
}
func NewModifyInstanceTypeRequest ¶ added in v0.1.19
func NewModifyInstanceTypeRequest() (request *ModifyInstanceTypeRequest)
type ModifyInstanceTypeResponse ¶ added in v0.1.19
type ModifyInstanceTypeResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *ModifyInstanceTypeResponseParams `json:"response"`
}
func NewModifyInstanceTypeResponse ¶ added in v0.1.19
func NewModifyInstanceTypeResponse() (response *ModifyInstanceTypeResponse)
type ModifyInstanceTypeResponseParams ¶ added in v0.1.19
type ModifyInstancesAttributeRequest ¶ added in v0.1.18
type ModifyInstancesAttributeRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
}
func NewModifyInstancesAttributeRequest ¶ added in v0.1.18
func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)
type ModifyInstancesAttributeResponse ¶ added in v0.1.18
type ModifyInstancesAttributeResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyInstancesAttributeResponse ¶ added in v0.1.18
func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)
type ModifyInstancesResourceGroupRequest ¶ added in v0.1.18
type ModifyInstancesResourceGroupRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyInstancesResourceGroupRequest ¶ added in v0.1.18
func NewModifyInstancesResourceGroupRequest() (request *ModifyInstancesResourceGroupRequest)
type ModifyInstancesResourceGroupResponse ¶ added in v0.1.18
type ModifyInstancesResourceGroupResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyInstancesResourceGroupResponse ¶ added in v0.1.18
func NewModifyInstancesResourceGroupResponse() (response *ModifyInstancesResourceGroupResponse)
type ModifyNatGatewayRequest ¶ added in v0.1.32
type ModifyNatGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// SubnetIds NAT网关的subnet ID 不传为all。
SubnetIds []string `json:"subnetIds,omitempty"`
// 是否开启ICMP代回。
IcmpReplyEnabled *bool `json:"icmpReplyEnabled,omitempty"`
}
func NewModifyNatGatewayRequest ¶ added in v0.1.32
func NewModifyNatGatewayRequest() (request *ModifyNatGatewayRequest)
type ModifyNatGatewayResponse ¶ added in v0.1.32
type ModifyNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyNatGatewayResponse ¶ added in v0.1.32
func NewModifyNatGatewayResponse() (response *ModifyNatGatewayResponse)
type ModifyNatGatewaysAttributeRequest ¶ added in v0.1.32
type ModifyNatGatewaysAttributeRequest struct {
*common.BaseRequest
// NatIds
NatIds []string `json:"natIds,omitempty"`
// Name
Name *string `json:"name,omitempty"`
}
func NewModifyNatGatewaysAttributeRequest ¶ added in v0.1.32
func NewModifyNatGatewaysAttributeRequest() (request *ModifyNatGatewaysAttributeRequest)
type ModifyNatGatewaysAttributeResponse ¶ added in v0.1.32
type ModifyNatGatewaysAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyNatGatewaysAttributeResponse ¶ added in v0.1.32
func NewModifyNatGatewaysAttributeResponse() (response *ModifyNatGatewaysAttributeResponse)
type ModifyNicsAttributeRequest ¶ added in v0.1.18
type ModifyNicsAttributeRequest struct {
*common.BaseRequest
NicIds []string `json:"nicIds,omitempty"`
Name string `json:"name,omitempty"`
}
func NewModifyNetworkInterfacesAttributeRequest ¶ added in v0.1.18
func NewModifyNetworkInterfacesAttributeRequest() (request *ModifyNicsAttributeRequest)
type ModifyNicsAttributeResponse ¶ added in v0.1.18
type ModifyNicsAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyNetworkInterfacesAttributeResponse ¶ added in v0.1.18
func NewModifyNetworkInterfacesAttributeResponse() (response *ModifyNicsAttributeResponse)
type ModifyRouteAttributeRequest ¶ added in v0.2.0
type ModifyRouteAttributeRequest struct {
*common.BaseRequest
// RouteId 路由ID。
RouteId *string `json:"routeId,omitempty"`
// Name 路由名称。名称长度为 2 到 63 个字符,仅支持字母、数字、连字符 (-) 、下划线(_) 、斜杠(/) 、和句点 (.),且开头和结尾必须是字母或数字。
Name *string `json:"name,omitempty"`
}
ModifyRouteAttributeRequest 修改路由信息的请求信息。
func NewModifyRouteAttributeRequest ¶ added in v0.2.0
func NewModifyRouteAttributeRequest() (request *ModifyRouteAttributeRequest)
type ModifyRouteAttributeResponse ¶ added in v0.2.0
type ModifyRouteAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyRouteAttributeResponse ¶ added in v0.2.0
func NewModifyRouteAttributeResponse() (response *ModifyRouteAttributeResponse)
type ModifySecurityGroupsAttributeRequest ¶ added in v0.1.18
type ModifySecurityGroupsAttributeRequest struct {
*common.BaseRequest
SecurityGroupIds []string `json:"securityGroupIds,omitempty"`
SecurityGroupName string `json:"securityGroupName,omitempty"`
}
func NewModifySecurityGroupsAttributeRequest ¶ added in v0.1.18
func NewModifySecurityGroupsAttributeRequest() (request *ModifySecurityGroupsAttributeRequest)
type ModifySecurityGroupsAttributeResponse ¶ added in v0.1.18
type ModifySecurityGroupsAttributeResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifySecurityGroupsAttributeResponse ¶ added in v0.1.18
func NewModifySecurityGroupsAttributeResponse() (response *ModifySecurityGroupsAttributeResponse)
type ModifySnapshotsAttributeRequest ¶ added in v0.1.32
type ModifySnapshotsAttributeRequest struct {
*common.BaseRequest
// SnapshotIds 快照ID列表。
SnapshotIds []string `json:"snapshotIds,omitempty"`
// SnapshotName 快照名称。
SnapshotName *string `json:"snapshotName,omitempty"`
// RetentionTime 快照过期时间。格式为:yyyy-MM-ddTHH:mm:ssZ。如果改成永久保留,请设置`isPermanent`=`true`,如果设置该时间必须设置为当前时间后24小时。
RetentionTime *string `json:"retentionTime,omitempty"`
// IsPermanent 该定期快照策略创建的快照是否永久保留。
IsPermanent *bool `json:"isPermanent,omitempty"`
}
func NewModifySnapshotsAttributeRequest ¶ added in v0.1.32
func NewModifySnapshotsAttributeRequest() (request *ModifySnapshotsAttributeRequest)
type ModifySnapshotsAttributeResponse ¶ added in v0.1.32
type ModifySnapshotsAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySnapshotsAttributeResponse ¶ added in v0.1.32
func NewModifySnapshotsAttributeResponse() (response *ModifySnapshotsAttributeResponse)
type ModifySnatEntryRequest ¶ added in v0.1.26
type ModifySnatEntryRequest struct {
*common.BaseRequest
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
// Cidr CIDR网段,不传默认是0.0.0.0/0。
Cidr string `json:"cidr,omitempty"`
// EipIds SNAT规则添加的eip ID集合。
EipIds []string `json:"eipIds,omitempty"`
// SubnetIds by Subnet的情况,subnet的id集合。
SubnetIds []string `json:"subnetIds,omitempty"`
}
func NewModifySnatEntryRequest ¶ added in v0.1.26
func NewModifySnatEntryRequest() (request *ModifySnatEntryRequest)
type ModifySnatEntryResponse ¶ added in v0.1.26
type ModifySnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySnatEntryResponse ¶ added in v0.1.26
func NewModifySnatEntryResponse() (response *ModifySnatEntryResponse)
type ModifySubnetAttributeRequest ¶ added in v0.1.32
type ModifySubnetAttributeRequest struct {
*common.BaseRequest
// SubnetId 子网的ID。
SubnetId *string `json:"subnetId,omitempty"`
// SubnetName 子网的名称。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。
SubnetName *string `json:"subnetName,omitempty"`
// CidrBlock 需要修改的IPv4 CIDR Block。仅支持有IPv4堆栈类型的子网。
CidrBlock *string `json:"cidrBlock,omitempty"`
}
func NewModifySubnetAttributeRequest ¶ added in v0.1.32
func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)
type ModifySubnetAttributeResponse ¶ added in v0.1.32
type ModifySubnetAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySubnetAttributeResponse ¶ added in v0.1.32
func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)
type ModifySubnetStackTypeRequest ¶ added in v0.1.18
type ModifySubnetStackTypeRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
StackType string `json:"stackType,omitempty"`
Ipv6Type string `json:"ipv6Type,omitempty"`
}
func NewModifySubnetStackTypeRequest ¶ added in v0.1.18
func NewModifySubnetStackTypeRequest() (request *ModifySubnetStackTypeRequest)
type ModifySubnetStackTypeResponse ¶ added in v0.1.18
type ModifySubnetStackTypeResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *ModifySubnetStackTypeResponseParams `json:"response"`
}
func NewModifySubnetStackTypeResponse ¶ added in v0.1.18
func NewModifySubnetStackTypeResponse() (response *ModifySubnetStackTypeResponse)
type ModifySubnetStackTypeResponseParams ¶ added in v0.1.18
type ModifySubnetsAttributeRequest ¶ added in v0.1.18
type ModifySubnetsAttributeRequest struct {
*common.BaseRequest
SubnetIds []string `json:"subnetIds,omitempty"`
Name string `json:"name,omitempty"`
}
func NewModifySubnetsAttributeRequest ¶ added in v0.1.18
func NewModifySubnetsAttributeRequest() (request *ModifySubnetsAttributeRequest)
type ModifySubnetsAttributeResponse ¶ added in v0.1.18
type ModifySubnetsAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifySubnetsAttributeResponse ¶ added in v0.1.18
func NewModifySubnetsAttributeResponse() (response *ModifySubnetsAttributeResponse)
type ModifyVpcAttributeRequest ¶ added in v0.1.31
type ModifyVpcAttributeRequest struct {
*common.BaseRequest
// VpcId VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// VpcName VPC的名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。
VpcName *string `json:"vpcName,omitempty"`
// CidrBlock 需要修改的IPv4 CIDR。需要满足属于(10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16)范围内。如果VPC存在子网,则修改的CIDR范围必须包含原VPC CIDR。默认VPC不支持修改。
CidrBlock *string `json:"cidrBlock,omitempty"`
// EnableIPv6 是否开启IPv6内网CIDR。当前仅允许打开(`true`),一旦设置IPv6, 将无法关闭。
EnableIPv6 *bool `json:"enableIPv6,omitempty"`
}
ModifyVpcAttributeRequest 修改VPC的属性请求参数。
func NewModifyVpcAttributeRequest ¶ added in v0.1.31
func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)
type ModifyVpcAttributeResponse ¶ added in v0.1.31
type ModifyVpcAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyVpcAttributeResponse ¶ added in v0.1.31
func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)
type ModifyVpcsAttributeRequest ¶ added in v0.1.18
type ModifyVpcsAttributeRequest struct {
*common.BaseRequest
VpcIds []string `json:"vpcIds,omitempty"`
Name string `json:"name,omitempty"`
}
func NewModifyVpcsAttributeRequest ¶ added in v0.1.18
func NewModifyVpcsAttributeRequest() (request *ModifyVpcsAttributeRequest)
type ModifyVpcsAttributeResponse ¶ added in v0.1.18
type ModifyVpcsAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyVpcsAttributeResponse ¶ added in v0.1.18
func NewModifyVpcsAttributeResponse() (response *ModifyVpcsAttributeResponse)
type NatGateway ¶ added in v0.1.26
type NatGateway struct {
// NatGatewayId NAT网关唯一ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// VpcId NAT网关所属的VPC网络ID。
VpcId *string `json:"vpcId,omitempty"`
// RegionId 区域节点ID。
RegionId *string `json:"regionId,omitempty"`
// Status NAT网关的状态。
Status *string `json:"status,omitempty"`
// Name NAT网关的名称。
Name *string `json:"name,omitempty"`
// SubnetIds NAT网关所属的Subnet子网ID集合。
SubnetIds []string `json:"subnetIds,omitempty"`
// IsAllSubnets 是否节点内所有子网关联了NAT网关。
IsAllSubnets *bool `json:"isAllSubnets,omitempty"`
// EipIds NAT网关所关联的EIP ID集合。
EipIds []string `json:"eipIds,omitempty"`
// ZbgId 边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// 是否开启ICMP代回。
IcmpReplyEnabled bool `json:"icmpReplyEnabled,omitempty"`
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
// CreateTime 创建时间。按照ISO8601标准表示,并且使用UTC时间, 格式为:YYYY-MM-DDThh:mm:ssZ。
CreateTime *string `json:"createTime,omitempty"`
// ExpiredTime 到期时间。按照ISO8601标准表示,并且使用UTC时间, 格式为:YYYY-MM-DDThh:mm:ssZ。
ExpiredTime *string `json:"expiredTime,omitempty"`
}
NatGateway 描述NAT网关的信息。
type NetmaskInfo ¶ added in v0.1.18
type NicInfo ¶ added in v0.1.18
type NicInfo struct {
NicId string `json:"nicId,omitempty"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
NicType string `json:"nicType,omitempty"`
RegionId string `json:"regionId,omitempty"`
NicSubnetType string `json:"nicSubnetType,omitempty"`
PublicIpList []string `json:"publicIpList,omitempty"`
PrivateIpList []string `json:"privateIpList,omitempty"`
// PrimaryIpv4 主的内网IPv4地址。
PrimaryIpv4 string `json:"primaryIpv4,omitempty"`
// PrimaryIpv6 网卡上的主IPv6地址。如果堆栈类型是V4,该值取值为空。
PrimaryIpv6 string `json:"primaryIpv6,omitempty"`
// Ipv6Cidr 网卡上的IPv6地址。如果堆栈类型是V4,该值取值为空。
Ipv6Cidr string `json:"ipv6Cidr,omitempty"`
// SecondaryIpv4s 网卡上的辅助 IPv4 地址。
SecondaryIpv4s []string `json:"secondaryIpv4s,omitempty"`
// MacAddress 网卡的MAC地址。
MacAddress string `json:"macAddress,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
CreateTime string `json:"createTime,omitempty"`
// UpdateTime 网卡的更新时间。
UpdateTime string `json:"updateTime,omitempty"`
// ResourceGroup 网卡所属的资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
}
type Price ¶ added in v0.1.18
type Price struct {
// Discount.
// For example, 80.0 means 20% off.
Discount *float64 `json:"discount,omitempty"`
// Discount price of prepaid resources.
// Only used in subscription model. For pay-as-you-go model, the value is empty.
DiscountPrice *float64 `json:"discountPrice,omitempty"`
// Original price of prepaid resources.
// Only used in subscription model. For pay-as-you-go model, the value is empty.
OriginalPrice *float64 `json:"originalPrice,omitempty"`
// Original unit price of postpaid resources.
// Only used in pay-as-you-go model. For tiered billing, the value is empty.
UnitPrice *float64 `json:"unitPrice,omitempty"`
// Discount unit price of postpaid resources.
// Only used in pay-as-you-go model. For tiered billing, the value is empty.
DiscountUnitPrice *float64 `json:"discountUnitPrice,omitempty"`
// Unit of postpaid billing.
// Only used in pay-as-you-go model.
// Value range:
// HOUR: you will be billed by hour.
// DAY: you will be billed by day.
// MONTH: you will be billed by month. For example, the burstable 95th pricing model.
ChargeUnit *string `json:"chargeUnit,omitempty"`
ExcessUnitPrice *float64 `json:"excessUnitPrice,omitempty"`
ExcessDiscountUnitPrice *float64 `json:"excessDiscountUnitPrice,omitempty"`
ExcessAmountUnit *string `json:"excessAmountUnit,omitempty"`
// Tiered price of postpaid billing.
// Only used in pay-as-you-go model. If it is not tiered price, the value is empty.
StepPrices []*StepPrice `json:"stepPrices,omitempty"`
}
type PriceItem ¶ added in v0.1.26
type PriceItem struct {
// Discount 折扣大小。如80.0代表8折。
Discount *float64 `json:"discount,omitempty"`
// DiscountPrice 后付费的单元折后价格。后付费模式使用,如果价格为阶梯价格,该项为null。
DiscountPrice *float64 `json:"discountPrice,omitempty"`
// OriginalPrice 预付费的原价。预付费模式使用,后付费该值为 null。
OriginalPrice *float64 `json:"originalPrice,omitempty"`
// UnitPrice 后付费的单元原始价格。后付费模式使用,如果价格为阶梯价格,该项为null。
UnitPrice *float64 `json:"unitPrice,omitempty"`
// DiscountUnitPrice 后付费的单元折后价格。后付费模式使用,如果价格为阶梯价格,该项为null。
DiscountUnitPrice *float64 `json:"discountUnitPrice,omitempty"`
// ChargeUnit 后付费计价单元。后付费模式使用,可取值范围:<br/>HOUR: 表示计价单元是按每小时来计算。DAY: 表示计价单元是按天来计算。MONTH: 表示计价单元是按月来计算,95计费则是这种。
ChargeUnit *string `json:"chargeUnit,omitempty"`
// StepPrices 后付费阶梯价格。后付费模式使用,如果非阶梯价格,该项为null。
StepPrices []*StepPrice `json:"stepPrices,omitempty"`
// AmountUnit 用量单位。比如Mbps, LCU等。如果为null, 代表取不到值。
AmountUnit *string `json:"amountUnit,omitempty"`
// ExcessUnitPrice 超量原始价格。
ExcessUnitPrice *float64 `json:"excessUnitPrice,omitempty"`
// ExcessDiscountUnitPrice 超量折扣后价格。
ExcessDiscountUnitPrice *float64 `json:"excessDiscountUnitPrice,omitempty"`
// ExcessAmountUnit 超量用量单位。如果为null, 代表取不到值。
ExcessAmountUnit *string `json:"excessAmountUnit,omitempty"`
}
PriceItem 描述价格的信息。
type PrivateIpInfo ¶ added in v0.1.18
type RebootInstancesRequest ¶ added in v0.1.18
type RebootInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewRebootInstancesRequest ¶ added in v0.1.18
func NewRebootInstancesRequest() (request *RebootInstancesRequest)
type RebootInstancesResponse ¶ added in v0.1.18
type RebootInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *RebootInstancesResponseParams `json:"response"`
}
func NewRebootInstancesResponse ¶ added in v0.1.18
func NewRebootInstancesResponse() (response *RebootInstancesResponse)
type RebootInstancesResponseParams ¶ added in v0.1.19
type RegionInfo ¶ added in v0.1.18
type ReleaseDiskRequest ¶ added in v0.1.18
type ReleaseDiskRequest struct {
*common.BaseRequest
DiskId string `json:"diskId,omitempty"`
}
func NewReleaseDiskRequest ¶ added in v0.1.18
func NewReleaseDiskRequest() (request *ReleaseDiskRequest)
type ReleaseDiskResponse ¶ added in v0.1.18
type ReleaseDiskResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReleaseDiskResponse ¶ added in v0.1.18
func NewReleaseDiskResponse() (response *ReleaseDiskResponse)
type ReleaseInstancesRequest ¶ added in v0.1.19
type ReleaseInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewReleaseInstancesRequest ¶ added in v0.1.19
func NewReleaseInstancesRequest() (request *ReleaseInstancesRequest)
type ReleaseInstancesResponse ¶ added in v0.1.19
type ReleaseInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *ReleaseInstancesResponseParams `json:"response"`
}
func NewReleaseInstancesResponse ¶ added in v0.1.19
func NewReleaseInstancesResponse() (response *ReleaseInstancesResponse)
type ReleaseInstancesResponseParams ¶ added in v0.1.19
type RenewCidrRequest ¶ added in v0.1.18
type RenewCidrRequest struct {
*common.BaseRequest
CidrId string `json:"cidrId,omitempty"`
}
func NewRenewCidrRequest ¶ added in v0.1.18
func NewRenewCidrRequest() (request *RenewCidrRequest)
type RenewCidrResponse ¶ added in v0.1.18
type RenewCidrResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewCidrResponse ¶ added in v0.1.18
func NewRenewCidrResponse() (response *RenewCidrResponse)
type RenewDiskRequest ¶ added in v0.1.18
type RenewDiskRequest struct {
*common.BaseRequest
DiskId string `json:"diskId,omitempty"`
}
func NewRenewDiskRequest ¶ added in v0.1.18
func NewRenewDiskRequest() (request *RenewDiskRequest)
type RenewDiskResponse ¶ added in v0.1.18
type RenewDiskResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewDiskResponse ¶ added in v0.1.18
func NewRenewDiskResponse() (response *RenewDiskResponse)
type RenewEipRequest ¶ added in v0.1.19
type RenewEipRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewRenewEipRequest ¶ added in v0.1.19
func NewRenewEipRequest() (request *RenewEipRequest)
type RenewEipResponse ¶ added in v0.1.19
type RenewEipResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewEipResponse ¶ added in v0.1.19
func NewRenewEipResponse() (response *RenewEipResponse)
type RenewNatGatewayRequest ¶ added in v0.1.26
type RenewNatGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewRenewNatGatewayRequest ¶ added in v0.1.26
func NewRenewNatGatewayRequest() (request *RenewNatGatewayRequest)
type RenewNatGatewayResponse ¶ added in v0.1.26
type RenewNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewNatGatewayResponse ¶ added in v0.1.26
func NewRenewNatGatewayResponse() (response *RenewNatGatewayResponse)
type ReplaceEipAddressRequest ¶ added in v0.1.26
type ReplaceEipAddressRequest struct {
*common.BaseRequest
ReplaceIps []*ReplaceIp `json:"replaceIps,omitempty"`
}
func NewReplaceEipAddressRequest ¶ added in v0.1.26
func NewReplaceEipAddressRequest() (request *ReplaceEipAddressRequest)
type ReplaceEipAddressResponse ¶ added in v0.1.26
type ReplaceEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *ReplaceEipAddressResponseParams `json:"response"`
}
func NewReplaceEipAddressResponse ¶ added in v0.1.26
func NewReplaceEipAddressResponse() (response *ReplaceEipAddressResponse)
type ReplaceEipAddressResponseParams ¶ added in v0.1.26
type ResetInstancePasswordRequest ¶ added in v0.1.19
type ResetInstancePasswordRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
Password string `json:"password,omitempty"`
}
func NewResetInstancePasswordRequest ¶ added in v0.1.19
func NewResetInstancePasswordRequest() (request *ResetInstancePasswordRequest)
type ResetInstancePasswordResponse ¶ added in v0.1.19
type ResetInstancePasswordResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewResetInstancePasswordResponse ¶ added in v0.1.19
func NewResetInstancePasswordResponse() (response *ResetInstancePasswordResponse)
type ResetInstanceRequest ¶ added in v0.1.18
type ResetInstanceRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
ImageId string `json:"imageId,omitempty"`
Password string `json:"password,omitempty"`
KeyId string `json:"keyId,omitempty"`
Timezone string `json:"timezone,omitempty"`
EnableAgent bool `json:"enableAgent,omitempty"`
}
func NewResetInstanceRequest ¶ added in v0.1.18
func NewResetInstanceRequest() (request *ResetInstanceRequest)
type ResetInstanceResponse ¶ added in v0.1.18
type ResetInstanceResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewResetInstanceResponse ¶ added in v0.1.18
func NewResetInstanceResponse() (response *ResetInstanceResponse)
type ResizeDiskRequest ¶ added in v0.1.25
type ResizeDiskRequest struct {
*common.BaseRequest
// DiskId 云硬盘ID。通过DescribeDisks接口查询。
DiskId *string `json:"diskId,omitempty"`
// DiskSize 云硬盘扩容后的大小。单位GB。必须大于当前云硬盘大小。云盘最大限制为32768GB。
DiskSize *int `json:"diskSize,omitempty"`
}
func NewResizeDiskRequest ¶ added in v0.1.25
func NewResizeDiskRequest() (request *ResizeDiskRequest)
type ResizeDiskResponse ¶ added in v0.1.25
type ResizeDiskResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewResizeDiskResponse ¶ added in v0.1.25
func NewResizeDiskResponse() (response *ResizeDiskResponse)
type ResourceGroupInfo ¶ added in v0.1.31
type ResourceGroupInfo struct {
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
}
ResourceGroupInfo 描述资源所在资源组的相关信息,包括资源组名称和ID。
type RouteInfo ¶ added in v0.1.18
type RouteInfo struct {
// RouteId 路由ID。
RouteId *string `json:"routeId,omitempty"`
// Name 路由的名称。
Name *string `json:"name,omitempty"`
// VpcId 路由关联的VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// VpcName 路由关联的VPC的名称。
VpcName *string `json:"vpcName,omitempty"`
// IpVersion IP类型。支持`IPv4`和`IPv6`两种类型。
IpVersion *string `json:"ipVersion,omitempty"`
// Type 路由类型。
Type *string `json:"type,omitempty"`
// SourceIp 源IP地址。当`路由类型`是`RouteTypePolicy(策略路由)`时可取值。
SourceIp *string `json:"sourceIp,omitempty"`
// DestinationCidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
// Priority 路由优先级。
Priority *int `json:"priority,omitempty"`
// NextHopId 下一跳资源ID。
NextHopId *string `json:"nextHopId,omitempty"`
// NextHopName 下一跳资源名称。
NextHopName *string `json:"nextHopName,omitempty"`
// NextHopType 下一跳的类型。
NextHopType *string `json:"nextHopType,omitempty"`
// CreateTime 路由的创建时间。
CreateTime *string `json:"createTime,omitempty"`
}
RouteInfo 描述路由的相关信息。
type RuleInfo ¶ added in v0.1.18
type RuleInfo struct {
Direction string `json:"direction,omitempty"`
Policy string `json:"policy,omitempty"`
Priority int `json:"priority,omitempty"`
IpProtocol string `json:"ipProtocol,omitempty"`
PortRange string `json:"portRange,omitempty"`
CidrIp string `json:"cidrIp,omitempty"`
Desc string `json:"desc,omitempty"`
}
type SecurityGroupInfo ¶ added in v0.1.18
type SecurityGroupInfo struct {
SecurityGroupId string `json:"securityGroupId,omitempty"`
SecurityGroupName string `json:"securityGroupName,omitempty"`
Scope string `json:"scope,omitempty"`
CreateTime string `json:"createTime,omitempty"`
VpcIds []string `json:"vpcIds,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
}
type SnapshotInfo ¶ added in v0.1.32
type SnapshotInfo struct {
// SnapshotId 快照唯一ID。
SnapshotId *string `json:"snapshotId,omitempty"`
// SnapshotName 快照显示名称。
SnapshotName *string `json:"snapshotName,omitempty"`
// ZoneId 快照所属的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// Status 快照的状态。
Status *string `json:"status,omitempty"`
// SnapshotType 快照的类型。
SnapshotType *string `json:"snapshotType,omitempty"`
// RetentionTime 快照的保留到期时间。如果取不到值,说明快照为永久保留。
RetentionTime *string `json:"retentionTime,omitempty"`
// DiskId 云盘ID。
DiskId *string `json:"diskId,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// DiskAbility 是否具备创建disk的能力。
DiskAbility *bool `json:"diskAbility,omitempty"`
// ResourceGroup 所属的资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
}
SnapshotInfo 描述快照的信息。
type SnatEntry ¶ added in v0.1.26
type SnatEntry struct {
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
// Cidrs CIDR网段,不传默认是0.0.0.0/0。
Cidrs []string `json:"cidrs,omitempty"`
// EipIds SNAT规则添加的eip ID集合。
EipIds []string `json:"eipIds,omitempty"`
// SnatSubnets SNAT规则添加的eip ID集合。
SnatSubnets []*SnatSubnetRef `json:"snatSubnets,omitempty"`
}
SnatEntry 描述SNAT规则的信息。
type SnatSubnetRef ¶ added in v0.1.32
type StartAgentMonitorRequest ¶ added in v0.1.19
type StartAgentMonitorRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewStartAgentMonitorRequest ¶ added in v0.1.19
func NewStartAgentMonitorRequest() (request *StartAgentMonitorRequest)
type StartAgentMonitorResponse ¶ added in v0.1.19
type StartAgentMonitorResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStartAgentMonitorResponse ¶ added in v0.1.19
func NewStartAgentMonitorResponse() (response *StartAgentMonitorResponse)
type StartInstancesRequest ¶ added in v0.1.18
type StartInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewStartInstancesRequest ¶ added in v0.1.18
func NewStartInstancesRequest() (request *StartInstancesRequest)
type StartInstancesResponse ¶ added in v0.1.18
type StartInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *StartInstancesResponseParams `json:"response"`
}
func NewStartInstancesResponse ¶ added in v0.1.18
func NewStartInstancesResponse() (response *StartInstancesResponse)
type StartInstancesResponseParams ¶ added in v0.1.19
type StartIpForwardRequest ¶ added in v0.1.19
type StartIpForwardRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewStartIpForwardRequest ¶ added in v0.1.19
func NewStartIpForwardRequest() (request *StartIpForwardRequest)
type StartIpForwardResponse ¶ added in v0.1.19
type StartIpForwardResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStartIpForwardResponse ¶ added in v0.1.19
func NewStartIpForwardResponse() (response *StartIpForwardResponse)
type StepPrice ¶ added in v0.1.18
type StepPrice struct {
// First price range of a tiered price.
StepStart *float64 `json:"stepStart,omitempty"`
// Last price range of a tiered price.
StepEnd *float64 `json:"stepEnd,omitempty"`
// Original unit price of current price range.
// Only used in pay-as-you-go model.
UnitPrice *float64 `json:"unitPrice,omitempty"`
// Discount unit price of current price range.
// Only used in pay-as-you-go model.
DiscountUnitPrice *float64 `json:"discountUnitPrice,omitempty"`
}
type StopAgentMonitorRequest ¶ added in v0.1.19
type StopAgentMonitorRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewStopAgentMonitorRequest ¶ added in v0.1.19
func NewStopAgentMonitorRequest() (request *StopAgentMonitorRequest)
type StopAgentMonitorResponse ¶ added in v0.1.19
type StopAgentMonitorResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStopAgentMonitorResponse ¶ added in v0.1.19
func NewStopAgentMonitorResponse() (response *StopAgentMonitorResponse)
type StopInstancesRequest ¶ added in v0.1.18
type StopInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
ForceShutdown bool `json:"forceShutdown,omitempty"`
}
func NewStopInstancesRequest ¶ added in v0.1.18
func NewStopInstancesRequest() (request *StopInstancesRequest)
type StopInstancesResponse ¶ added in v0.1.18
type StopInstancesResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response *StopInstancesResponseParams `json:"response"`
}
func NewStopInstancesResponse ¶ added in v0.1.18
func NewStopInstancesResponse() (response *StopInstancesResponse)
type StopInstancesResponseParams ¶ added in v0.1.19
type StopIpForwardRequest ¶ added in v0.1.19
type StopIpForwardRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewStopIpForwardRequest ¶ added in v0.1.19
func NewStopIpForwardRequest() (request *StopIpForwardRequest)
type StopIpForwardResponse ¶ added in v0.1.19
type StopIpForwardResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStopIpForwardResponse ¶ added in v0.1.19
func NewStopIpForwardResponse() (response *StopIpForwardResponse)
type SubnetInfo ¶ added in v0.1.18
type SubnetInfo struct {
SubnetId string `json:"subnetId,omitempty"`
RegionId string `json:"regionId,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
Ipv6CidrBlock string `json:"ipv6CidrBlock,omitempty"`
StackType string `json:"stackType,omitempty"`
Ipv6Type string `json:"ipv6Type,omitempty"`
VpcId string `json:"vpcId,omitempty"`
VpcName string `json:"vpcName,omitempty"`
UsageIpv4Count int `json:"usageIpv4Count,omitempty"`
UsageIpv6Count int `json:"usageIpv6Count,omitempty"`
CreateTime string `json:"createTime,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
}
type SystemDisk ¶ added in v0.1.18
type UnAssignNicIpv4Request ¶ added in v0.1.18
type UnAssignNicIpv4Request struct {
*common.BaseRequest
NicId string `json:"nicId,omitempty"`
// Deprecated: 请使用 ipAddresses 替代
IpAddress string `json:"ipAddress,omitempty"`
// IpAddresses 需要解绑的内网IPv4地址。
IpAddresses []string `json:"ipAddresses,omitempty"`
}
func NewUnassignNetworkInterfaceIpv4Request ¶ added in v0.1.18
func NewUnassignNetworkInterfaceIpv4Request() (request *UnAssignNicIpv4Request)
type UnAssignNicIpv4Response ¶ added in v0.1.18
type UnAssignNicIpv4Response struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnassignNetworkInterfaceIpv4Response ¶ added in v0.1.18
func NewUnassignNetworkInterfaceIpv4Response() (response *UnAssignNicIpv4Response)
type UnAssignSecurityGroupVpcRequest ¶ added in v0.1.18
type UnAssignSecurityGroupVpcRequest struct {
*common.BaseRequest
SecurityGroupId string `json:"securityGroupId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
}
func NewUnAssignSecurityGroupVpcRequest ¶ added in v0.1.18
func NewUnAssignSecurityGroupVpcRequest() (request *UnAssignSecurityGroupVpcRequest)
type UnAssignSecurityGroupVpcResponse ¶ added in v0.1.18
type UnAssignSecurityGroupVpcResponse struct {
*common.BaseResponse
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 requestId。
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnAssignSecurityGroupVpcResponse ¶ added in v0.1.18
func NewUnAssignSecurityGroupVpcResponse() (response *UnAssignSecurityGroupVpcResponse)
type UnassignBorderGatewayRequest ¶ added in v0.1.26
type UnassignBorderGatewayRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
}
func NewUnassignBorderGatewayRequest ¶ added in v0.1.26
func NewUnassignBorderGatewayRequest() (request *UnassignBorderGatewayRequest)
type UnassignBorderGatewayResponse ¶ added in v0.1.26
type UnassignBorderGatewayResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnassignBorderGatewayResponse ¶ added in v0.1.26
func NewUnassignBorderGatewayResponse() (response *UnassignBorderGatewayResponse)
type UnassignBorderGatewayRouteRequest ¶ added in v0.1.32
type UnassignBorderGatewayRouteRequest struct {
*common.BaseRequest
ZbgId string `json:"zbgId,omitempty"`
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
func NewUnassignBorderGatewayRouteRequest ¶ added in v0.1.32
func NewUnassignBorderGatewayRouteRequest() (request *UnassignBorderGatewayRouteRequest)
type UnassignBorderGatewayRouteResponse ¶ added in v0.1.32
type UnassignBorderGatewayRouteResponse struct {
*common.BaseResponse
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnassignBorderGatewayRouteResponse ¶ added in v0.1.32
func NewUnassignBorderGatewayRouteResponse() (response *UnassignBorderGatewayRouteResponse)
type UnassociateEipAddressRequest ¶ added in v0.1.24
type UnassociateEipAddressRequest struct {
*common.BaseRequest
EipIds []string `json:"eipIds,omitempty"` // 需要解绑的EIP ID列表
}
func NewUnassociateEipAddressRequest ¶ added in v0.1.24
func NewUnassociateEipAddressRequest() (request *UnassociateEipAddressRequest)
type UnassociateEipAddressResponse ¶ added in v0.1.24
type UnassociateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *UnassociateEipAddressResponseParams `json:"response"`
}
func NewUnassociateEipAddressResponse ¶ added in v0.1.24
func NewUnassociateEipAddressResponse() (response *UnassociateEipAddressResponse)
type UnassociateEipAddressResponseParams ¶ added in v0.1.24
type VpcInfo ¶ added in v0.1.18
type VpcInfo struct {
VpcId string `json:"vpcId,omitempty"`
Name string `json:"name,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
Ipv6CidrBlock string `json:"ipv6CidrBlock,omitempty"`
Mtu int `json:"mtu,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
CreateTime string `json:"createTime,omitempty"`
UsageIpv4Count int `json:"usageIpv4Count,omitempty"`
UsageIpv6Count int `json:"usageIpv6Count,omitempty"`
SecurityGroupId string `json:"securityGroupId,omitempty"`
// ResourceGroup VPC关联的资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
}
type ZbgInfo ¶ added in v0.1.19
type ZbgInfo struct {
ZbgId string `json:"zbgId,omitempty"`
Name string `json:"name,omitempty"`
VpcId string `json:"vpcId,omitempty"`
RegionId string `json:"regionId,omitempty"`
Asn int `json:"asn,omitempty"`
InterConnectCidr string `json:"interConnectCidr,omitempty"`
CreateTime string `json:"createTime,omitempty"`
CloudRouterIds []string `json:"cloudRouterIds,omitempty"`
AdvertisedSubnet string `json:"advertisedSubnet,omitempty"`
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
NatId string `json:"natId,omitempty"`
}