Documentation
¶
Overview ¶
* Zenlayer.com Inc. * Copyright (c) 2014-2022 All Rights Reserved.
Index ¶
- Constants
- type ApplyAutoSnapshotPolicyRequest
- type ApplyAutoSnapshotPolicyResponse
- type ApplySnapshotRequest
- type ApplySnapshotResponse
- type AssignBorderGatewayRequest
- type AssignBorderGatewayResponse
- type AssignBorderGatewayRouteRequest
- type AssignBorderGatewayRouteResponse
- type AssignNetworkInterfaceIpv4Request
- type AssignNetworkInterfaceIpv4Response
- type AssignNetworkInterfaceIpv6Request
- type AssignNetworkInterfaceIpv6Response
- type AssignSecurityGroupVpcRequest
- type AssignSecurityGroupVpcResponse
- type AssociateEipAddressRequest
- type AssociateEipAddressResponse
- type AssociateEipAddressResponseParams
- type AttachDisksRequest
- type AttachDisksResponse
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceResponse
- type AutoSnapshotPolicy
- type AvailableLanIpRequest
- type AvailableLanIpResponse
- type AvailableLanIpResponseParams
- type BandwidthClusterInfo
- type BatchAssignNetworkInterfaceIpv4Request
- type BatchAssignNetworkInterfaceIpv4Response
- type BatchAssignNetworkInterfaceIpv4ResponseParams
- type BlockInfo
- type CancelAutoSnapshotPolicyRequest
- type CancelAutoSnapshotPolicyResponse
- type ChangeEipBindTypeRequest
- type ChangeEipBindTypeResponse
- type ChangeEipInternetChargeTypeRequest
- type ChangeEipInternetChargeTypeResponse
- type ChangeEipInternetChargeTypeResponseParams
- type ChangeNicNetworkTypeRequest
- type ChangeNicNetworkTypeResponse
- type CidrInfo
- type Client
- 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 *AssignNetworkInterfaceIpv4Request) (response *AssignNetworkInterfaceIpv4Response, err error)
- func (c *Client) AssignNetworkInterfaceIpv6(request *AssignNetworkInterfaceIpv6Request) (response *AssignNetworkInterfaceIpv6Response, 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 *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
- func (c *Client) AvailableLanIp(request *AvailableLanIpRequest) (response *AvailableLanIpResponse, err error)
- func (c *Client) BatchAssignNetworkInterfaceIpv4(request *BatchAssignNetworkInterfaceIpv4Request) (response *BatchAssignNetworkInterfaceIpv4Response, err error)
- func (c *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, 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) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error)
- func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
- func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, 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) DeleteImages(request *DeleteImagesRequest) (response *DeleteImagesResponse, err error)
- func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
- func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, 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) 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) DescribeNetworkInterfacePublicIPv6(request *DescribeNetworkInterfacePublicIPv6Request) (response *DescribeNetworkInterfacePublicIPv6Response, err error)
- func (c *Client) DescribeNetworkInterfaceRegions(request *DescribeNetworkInterfaceRegionsRequest) (response *DescribeNetworkInterfaceRegionsResponse, err error)
- func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, 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) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, 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) ModifyCidrAttribute(request *ModifyCidrAttributeRequest) (response *ModifyCidrAttributeResponse, 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) ModifyImagesAttributes(request *ModifyImagesAttributesRequest) (response *ModifyImagesAttributesResponse, 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) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error)
- func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error)
- func (c *Client) ModifyNetworkInterfacesAttribute(request *ModifyNetworkInterfacesAttributeRequest) (response *ModifyNetworkInterfacesAttributeResponse, 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 *UnassignNetworkInterfaceIpv4Request) (response *UnassignNetworkInterfaceIpv4Response, 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 CreateImageRequest
- type CreateImageResponse
- type CreateImageResponseParams
- type CreateNatGatewayRequest
- type CreateNatGatewayResponse
- type CreateNatGatewayResponseParams
- type CreateNetworkInterfaceRequest
- type CreateNetworkInterfaceResponse
- type CreateNetworkInterfaceResponseParams
- 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 DeleteImagesRequest
- type DeleteImagesResponse
- type DeleteImagesResponseParams
- type DeleteNatGatewayRequest
- type DeleteNatGatewayResponse
- type DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- 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 DescribeDiskCategoryItem
- 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 DescribeEipTrafficResponseParams
- 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 DescribeNatGatewayDetailRequest
- type DescribeNatGatewayDetailResponse
- type DescribeNatGatewayDetailResponseParams
- type DescribeNatGatewayRegionsRequest
- type DescribeNatGatewayRegionsResponse
- type DescribeNatGatewayRegionsResponseParams
- type DescribeNatGatewaysRequest
- type DescribeNatGatewaysResponse
- type DescribeNatGatewaysResponseParams
- type DescribeNetworkInterfacePublicIPv6Request
- type DescribeNetworkInterfacePublicIPv6Response
- type DescribeNetworkInterfacePublicIPv6ResponseParams
- type DescribeNetworkInterfaceRegionsRequest
- type DescribeNetworkInterfaceRegionsResponse
- type DescribeNetworkInterfaceRegionsResponseParams
- type DescribeNetworkInterfacesRequest
- type DescribeNetworkInterfacesResponse
- type DescribeNetworkInterfacesResponseParams
- 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 DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceResponse
- type DiskInfo
- type DiskWithInstance
- type DnatEntry
- type EipGeoInfo
- type EipInfo
- type EipMetricValue
- type EipTrafficData
- type Image
- 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 MarketingInfo
- type MetricValue
- type ModifyAutoSnapshotPolicyRequest
- type ModifyAutoSnapshotPolicyResponse
- type ModifyBorderGatewayAsnRequest
- type ModifyBorderGatewayAsnResponse
- type ModifyBorderGatewaysAttributeRequest
- type ModifyBorderGatewaysAttributeResponse
- type ModifyCidrAttributeRequest
- type ModifyCidrAttributeResponse
- type ModifyDisksAttributesRequest
- type ModifyDisksAttributesResponse
- type ModifyDisksResourceGroupRequest
- type ModifyDisksResourceGroupResponse
- type ModifyDnatEntryRequest
- type ModifyDnatEntryResponse
- type ModifyEipAttributeRequest
- type ModifyEipAttributeResponse
- type ModifyEipBandwidthRequest
- type ModifyEipBandwidthResponse
- type ModifyImagesAttributesRequest
- type ModifyImagesAttributesResponse
- type ModifyInstanceTypeRequest
- type ModifyInstanceTypeResponse
- type ModifyInstanceTypeResponseParams
- type ModifyInstancesAttributeRequest
- type ModifyInstancesAttributeResponse
- type ModifyNatGatewayAttributeRequest
- type ModifyNatGatewayAttributeResponse
- type ModifyNetworkInterfaceAttributeRequest
- type ModifyNetworkInterfaceAttributeResponse
- type ModifyNetworkInterfacesAttributeRequest
- type ModifyNetworkInterfacesAttributeResponse
- 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 PriceItem
- type PrivateIpInfo
- type PublicIpv6CidrAddress
- 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 SecurityGroupInfo
- type SecurityGroupRuleInfo
- type SnapshotInfo
- type SnatEntry
- type SnatSubnet
- 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 Tag
- type TagAssociation
- type Tags
- type UnAssignSecurityGroupVpcRequest
- type UnAssignSecurityGroupVpcResponse
- type UnassignBorderGatewayRequest
- type UnassignBorderGatewayResponse
- type UnassignBorderGatewayRouteRequest
- type UnassignBorderGatewayRouteResponse
- type UnassignNetworkInterfaceIpv4Request
- type UnassignNetworkInterfaceIpv4Response
- type UnassociateEipAddressRequest
- type UnassociateEipAddressResponse
- type UnassociateEipAddressResponseParams
- type VpcInfo
- type ZbgInfo
- type ZoneInfo
Constants ¶
const ( APIVersion = "2025-09-01" SERVICE = "zec" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyAutoSnapshotPolicyRequest ¶
type ApplyAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyId 自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// DiskIds 要添加的磁盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
}
func NewApplyAutoSnapshotPolicyRequest ¶
func NewApplyAutoSnapshotPolicyRequest() (request *ApplyAutoSnapshotPolicyRequest)
type ApplyAutoSnapshotPolicyResponse ¶
type ApplyAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewApplyAutoSnapshotPolicyResponse ¶
func NewApplyAutoSnapshotPolicyResponse() (response *ApplyAutoSnapshotPolicyResponse)
type ApplySnapshotRequest ¶
type ApplySnapshotRequest struct {
*common.BaseRequest
// SnapshotId 快照唯一ID。
SnapshotId *string `json:"snapshotId,omitempty"`
// DiskId 云硬盘ID。
DiskId *string `json:"diskId,omitempty"`
}
func NewApplySnapshotRequest ¶
func NewApplySnapshotRequest() (request *ApplySnapshotRequest)
type ApplySnapshotResponse ¶
type ApplySnapshotResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewApplySnapshotResponse ¶
func NewApplySnapshotResponse() (response *ApplySnapshotResponse)
type AssignBorderGatewayRequest ¶
type AssignBorderGatewayRequest struct {
*common.BaseRequest
// ZbgId 边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// NatId NAT网关ID。
NatId *string `json:"natId,omitempty"`
}
AssignBorderGatewayRequest 边界网关绑定NAT网关的请求信息。
func NewAssignBorderGatewayRequest ¶
func NewAssignBorderGatewayRequest() (request *AssignBorderGatewayRequest)
type AssignBorderGatewayResponse ¶
type AssignBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAssignBorderGatewayResponse ¶
func NewAssignBorderGatewayResponse() (response *AssignBorderGatewayResponse)
type AssignBorderGatewayRouteRequest ¶
type AssignBorderGatewayRouteRequest struct {
*common.BaseRequest
// ZbgId 边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// AdvertisedRouteIds 自定义路由ID集合。
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
func NewAssignBorderGatewayRouteRequest ¶
func NewAssignBorderGatewayRouteRequest() (request *AssignBorderGatewayRouteRequest)
type AssignBorderGatewayRouteResponse ¶
type AssignBorderGatewayRouteResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAssignBorderGatewayRouteResponse ¶
func NewAssignBorderGatewayRouteResponse() (response *AssignBorderGatewayRouteResponse)
type AssignNetworkInterfaceIpv4Request ¶
type AssignNetworkInterfaceIpv4Request struct {
*common.BaseRequest
// NicId 需要绑定的网卡ID。
NicId *string `json:"nicId,omitempty"`
// IpAddress 绑定的内网IP地址。该地址必须属于子网的CIDR内,且未被使用。
IpAddress *string `json:"ipAddress,omitempty"`
}
AssignNetworkInterfaceIpv4Request 网卡绑定内网IPv4的请求参数。
func NewAssignNetworkInterfaceIpv4Request ¶
func NewAssignNetworkInterfaceIpv4Request() (request *AssignNetworkInterfaceIpv4Request)
type AssignNetworkInterfaceIpv4Response ¶
type AssignNetworkInterfaceIpv4Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAssignNetworkInterfaceIpv4Response ¶
func NewAssignNetworkInterfaceIpv4Response() (response *AssignNetworkInterfaceIpv4Response)
type AssignNetworkInterfaceIpv6Request ¶
type AssignNetworkInterfaceIpv6Request struct {
*common.BaseRequest
// NicId 要添加IPv6的网卡ID。
NicId *string `json:"nicId,omitempty"`
// InternetChargeType 公网IPv6的网络计费方式。当子网的堆栈类型包括V6且为公网时,需要指定。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// Bandwidth 公网IPv6的带宽限速。单位Mbps。当子网的堆栈类型包括V6且为公网时,需要指定。
Bandwidth *int `json:"bandwidth,omitempty"`
// PackageSize 公网IPv6的流量包大小。单位为TB。值要求为0或0.1的倍数。当子网的堆栈类型包括V6且为公网时,且网络计费方式是流量计费(`ByTrafficPackage`)需要指定。
PackageSize *float64 `json:"packageSize,omitempty"`
// ClusterId 公网IPv6所指定的共享带宽包ID。当子网的堆栈类型包括V6且为公网时,且网络计费方式是共享带宽包计费(`BandwidthCluster`)需要指定。
ClusterId *string `json:"clusterId,omitempty"`
}
AssignNetworkInterfaceIpv6Request 网卡添加IPv6的请求信息。
func NewAssignNetworkInterfaceIpv6Request ¶
func NewAssignNetworkInterfaceIpv6Request() (request *AssignNetworkInterfaceIpv6Request)
type AssignNetworkInterfaceIpv6Response ¶
type AssignNetworkInterfaceIpv6Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAssignNetworkInterfaceIpv6Response ¶
func NewAssignNetworkInterfaceIpv6Response() (response *AssignNetworkInterfaceIpv6Response)
type AssignSecurityGroupVpcRequest ¶
type AssignSecurityGroupVpcRequest struct {
*common.BaseRequest
// VpcId 要操作的VPC ID。
VpcId *string `json:"vpcId,omitempty"`
// SecurityGroupId 要更换的目标安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
func NewAssignSecurityGroupVpcRequest ¶
func NewAssignSecurityGroupVpcRequest() (request *AssignSecurityGroupVpcRequest)
type AssignSecurityGroupVpcResponse ¶
type AssignSecurityGroupVpcResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAssignSecurityGroupVpcResponse ¶
func NewAssignSecurityGroupVpcResponse() (response *AssignSecurityGroupVpcResponse)
type AssociateEipAddressRequest ¶
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 绑定类型。当绑定的是网卡时生效。默认为普通NAT模式。
BindType *string `json:"bindType,omitempty"`
}
AssociateEipAddressRequest EIP绑定的请求信息。
func NewAssociateEipAddressRequest ¶
func NewAssociateEipAddressRequest() (request *AssociateEipAddressRequest)
type AssociateEipAddressResponse ¶
type AssociateEipAddressResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *AssociateEipAddressResponseParams `json:"response,omitempty"`
}
func NewAssociateEipAddressResponse ¶
func NewAssociateEipAddressResponse() (response *AssociateEipAddressResponse)
type AssociateEipAddressResponseParams ¶
type AssociateEipAddressResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// FailedEipIds 绑定失败的IP。
FailedEipIds []string `json:"failedEipIds,omitempty"`
}
AssociateEipAddressResponseParams EIP绑定云产品的响应信息。
type AttachDisksRequest ¶
type AttachDisksRequest struct {
*common.BaseRequest
// DiskIds 需要挂载的云硬盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
// InstanceId 被挂载的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
AttachDisksRequest 云硬盘挂在到实例的请求信息。
func NewAttachDisksRequest ¶
func NewAttachDisksRequest() (request *AttachDisksRequest)
type AttachDisksResponse ¶
type AttachDisksResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAttachDisksResponse ¶
func NewAttachDisksResponse() (response *AttachDisksResponse)
type AttachNetworkInterfaceRequest ¶
type AttachNetworkInterfaceRequest struct {
*common.BaseRequest
// NicId 需要操作的网卡ID。
NicId *string `json:"nicId,omitempty"`
// InstanceId 需要绑定的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
AttachNetworkInterfaceRequest 网卡绑定实例的请求参数。
func NewAttachNetworkInterfaceRequest ¶
func NewAttachNetworkInterfaceRequest() (request *AttachNetworkInterfaceRequest)
type AttachNetworkInterfaceResponse ¶
type AttachNetworkInterfaceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewAttachNetworkInterfaceResponse ¶
func NewAttachNetworkInterfaceResponse() (response *AttachNetworkInterfaceResponse)
type AutoSnapshotPolicy ¶
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,则代表永久保留。取值范围:-1或[1,65535]。
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"`
Tags *Tags `json:"tags,omitempty"`
}
AutoSnapshotPolicy 描述自动快照策略的相关信息。
type AvailableLanIpRequest ¶
type AvailableLanIpRequest struct {
*common.BaseRequest
// EipId 要查询的公网弹性IP ID。
EipId *string `json:"eipId,omitempty"`
}
AvailableLanIpRequest 查询可供弹性公网IP绑定的网卡及内网IP信息的请求参数。
func NewAvailableLanIpRequest ¶
func NewAvailableLanIpRequest() (request *AvailableLanIpRequest)
type AvailableLanIpResponse ¶
type AvailableLanIpResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *AvailableLanIpResponseParams `json:"response,omitempty"`
}
func NewAvailableLanIpResponse ¶
func NewAvailableLanIpResponse() (response *AvailableLanIpResponse)
type AvailableLanIpResponseParams ¶
type AvailableLanIpResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// LanIps 可以绑定的网卡及内网信息。
LanIps []*PrivateIpInfo `json:"lanIps,omitempty"`
}
AvailableLanIpResponseParams 查询可供弹性公网IP绑定的网卡及内网IP信息。
type BandwidthClusterInfo ¶
type BandwidthClusterInfo struct {
// BandwidthClusterId 共享带宽包ID。
BandwidthClusterId *string `json:"bandwidthClusterId,omitempty"`
// BandwidthClusterName 共享带宽包名称。
BandwidthClusterName *string `json:"bandwidthClusterName,omitempty"`
}
BandwidthClusterInfo 描述带宽组的基本信息。
type BatchAssignNetworkInterfaceIpv4Request ¶
type BatchAssignNetworkInterfaceIpv4Request struct {
*common.BaseRequest
// NicId 要操作的网卡ID。
NicId *string `json:"nicId,omitempty"`
// IpAddresses 内网IP地址列表。IP地址必须在网卡所属子网CIDR范围内,且不能是网关/广播/网络地址。
IpAddresses []string `json:"ipAddresses,omitempty"`
// IpAddressCount 指定额外绑定的内网IP数量。 该字段和`ipAddresses`必须指定其一,如果都指定,则会以 `ipAddresses` 有效。
IpAddressCount *int `json:"ipAddressCount,omitempty"`
}
func NewBatchAssignNetworkInterfaceIpv4Request ¶
func NewBatchAssignNetworkInterfaceIpv4Request() (request *BatchAssignNetworkInterfaceIpv4Request)
type BatchAssignNetworkInterfaceIpv4Response ¶
type BatchAssignNetworkInterfaceIpv4Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *BatchAssignNetworkInterfaceIpv4ResponseParams `json:"response,omitempty"`
}
func NewBatchAssignNetworkInterfaceIpv4Response ¶
func NewBatchAssignNetworkInterfaceIpv4Response() (response *BatchAssignNetworkInterfaceIpv4Response)
type BlockInfo ¶ added in v0.2.1
type BlockInfo struct {
// Ip ip。
Ip *string `json:"ip,omitempty"`
// Bps 单位bps。
Bps *int64 `json:"bps,omitempty"`
// Pps 单位pps。
Pps *int64 `json:"pps,omitempty"`
// InCps 单位个。
InCps *int64 `json:"inCps,omitempty"`
// OutCps 单位个。
OutCps *int64 `json:"outCps,omitempty"`
}
BlockInfo ip封堵信息详情
type CancelAutoSnapshotPolicyRequest ¶
type CancelAutoSnapshotPolicyRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyId 自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// DiskIds 要移除的磁盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
}
func NewCancelAutoSnapshotPolicyRequest ¶
func NewCancelAutoSnapshotPolicyRequest() (request *CancelAutoSnapshotPolicyRequest)
type CancelAutoSnapshotPolicyResponse ¶
type CancelAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewCancelAutoSnapshotPolicyResponse ¶
func NewCancelAutoSnapshotPolicyResponse() (response *CancelAutoSnapshotPolicyResponse)
type ChangeEipBindTypeRequest ¶
type ChangeEipBindTypeRequest struct {
*common.BaseRequest
// EipId 要更换绑定模式的EIP ID。
EipId *string `json:"eipId,omitempty"`
// BindType 绑定类型。当绑定的是网卡时生效。默认为普通NAT模式。
BindType *string `json:"bindType,omitempty"`
}
ChangeEipBindTypeRequest 更换弹性公网IP绑定模式请求信息。
func NewChangeEipBindTypeRequest ¶
func NewChangeEipBindTypeRequest() (request *ChangeEipBindTypeRequest)
type ChangeEipBindTypeResponse ¶
type ChangeEipBindTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewChangeEipBindTypeResponse ¶
func NewChangeEipBindTypeResponse() (response *ChangeEipBindTypeResponse)
type ChangeEipInternetChargeTypeRequest ¶
type ChangeEipInternetChargeTypeRequest struct {
*common.BaseRequest
// EipId 要操作的公网弹性IP。
EipId *string `json:"eipId,omitempty"`
// InternetChargeType 要变更的目标网络计费类型。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// ClusterId 共享带宽包ID。如果要变更为共享带宽包计费,则需要指定。
ClusterId *string `json:"clusterId,omitempty"`
}
ChangeEipInternetChargeTypeRequest 变更弹性公网IP更网络计费模式的请求参数。
func NewChangeEipInternetChargeTypeRequest ¶
func NewChangeEipInternetChargeTypeRequest() (request *ChangeEipInternetChargeTypeRequest)
type ChangeEipInternetChargeTypeResponse ¶
type ChangeEipInternetChargeTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ChangeEipInternetChargeTypeResponseParams `json:"response,omitempty"`
}
func NewChangeEipInternetChargeTypeResponse ¶
func NewChangeEipInternetChargeTypeResponse() (response *ChangeEipInternetChargeTypeResponse)
type ChangeEipInternetChargeTypeResponseParams ¶
type ChangeEipInternetChargeTypeResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// OrderNumber 变更可能产生的订单号。
OrderNumber *string `json:"orderNumber,omitempty"`
}
ChangeEipInternetChargeTypeResponseParams 变更弹性公网IP更网络计费模式
type ChangeNicNetworkTypeRequest ¶
type ChangeNicNetworkTypeRequest struct {
*common.BaseRequest
// InstanceId 待操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// NicNetworkType 要更改的网卡模式。
NicNetworkType *string `json:"nicNetworkType,omitempty"`
}
ChangeNicNetworkTypeRequest 更改网卡模式的请求参数。
func NewChangeNicNetworkTypeRequest ¶
func NewChangeNicNetworkTypeRequest() (request *ChangeNicNetworkTypeRequest)
type ChangeNicNetworkTypeResponse ¶
type ChangeNicNetworkTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewChangeNicNetworkTypeResponse ¶
func NewChangeNicNetworkTypeResponse() (response *ChangeNicNetworkTypeResponse)
type CidrInfo ¶
type CidrInfo struct {
// CidrId CIDR ID。
CidrId *string `json:"cidrId,omitempty"`
// RegionId CIDR所属的区域节点ID。
RegionId *string `json:"regionId,omitempty"`
// Name CIDR的名称。
Name *string `json:"name,omitempty"`
// CidrBlock CIDR地址块,例如:10.0.0.0/16。
CidrBlock *string `json:"cidrBlock,omitempty"`
// TotalCount CIDR中IP地址的总数量。
TotalCount *int `json:"totalCount,omitempty"`
// UsedCount CIDR中已被使用的IP地址数量。
UsedCount *int `json:"usedCount,omitempty"`
// Source CIDR的来源。如CONSOLE(属于zenlayer)或 BYOIP(客户自带IP)。
Source *string `json:"source,omitempty"`
// EipV4Type EIP网络类型。表示该CIDR支持的公网IP线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// Netmask 子网掩码。表示CIDR的网络位长度。
Netmask *int `json:"netmask,omitempty"`
// PoolId Pool的ID。表示该CIDR所属的公网IP池。
PoolId *string `json:"poolId,omitempty"`
// CreateTime CIDR的创建时间。
CreateTime *string `json:"createTime,omitempty"`
// ExpiredTime CIDR的到期时间。
ExpiredTime *string `json:"expiredTime,omitempty"`
// ResourceGroupId 该CIDR所属的资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 该CIDR所属资源组的名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
// Status CIDR的状态。
Status *string `json:"status,omitempty"`
// Tags 该CIDR地址段关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
CidrInfo CIDR信息详情。
type Client ¶
func NewClientWithSecretKey ¶
func (*Client) ApplyAutoSnapshotPolicy ¶
func (c *Client) ApplyAutoSnapshotPolicy(request *ApplyAutoSnapshotPolicyRequest) (response *ApplyAutoSnapshotPolicyResponse, err error)
ApplyAutoSnapshotPolicy 云硬盘添加到指定的自动快照策略。
func (*Client) ApplySnapshot ¶
func (c *Client) ApplySnapshot(request *ApplySnapshotRequest) (response *ApplySnapshotResponse, err error)
ApplySnapshot 回滚快照到原云盘。
func (*Client) AssignBorderGateway ¶
func (c *Client) AssignBorderGateway(request *AssignBorderGatewayRequest) (response *AssignBorderGatewayResponse, err error)
AssignBorderGateway 边界网关绑定NAT网关。
func (*Client) AssignBorderGatewayRoute ¶
func (c *Client) AssignBorderGatewayRoute(request *AssignBorderGatewayRouteRequest) (response *AssignBorderGatewayRouteResponse, err error)
AssignBorderGatewayRoute 边界网关绑定自定义路由。即自定义路由发布到zbg网关。
func (*Client) AssignNetworkInterfaceIpv4 ¶
func (c *Client) AssignNetworkInterfaceIpv4(request *AssignNetworkInterfaceIpv4Request) (response *AssignNetworkInterfaceIpv4Response, err error)
AssignNetworkInterfaceIpv4 网卡绑定内网IPv4
func (*Client) AssignNetworkInterfaceIpv6 ¶
func (c *Client) AssignNetworkInterfaceIpv6(request *AssignNetworkInterfaceIpv6Request) (response *AssignNetworkInterfaceIpv6Response, err error)
AssignNetworkInterfaceIpv6 给网卡添加IPv6。
func (*Client) AssignSecurityGroupVpc ¶
func (c *Client) AssignSecurityGroupVpc(request *AssignSecurityGroupVpcRequest) (response *AssignSecurityGroupVpcResponse, err error)
AssignSecurityGroupVpc VPC更换绑定安全组。
func (*Client) AssociateEipAddress ¶
func (c *Client) AssociateEipAddress(request *AssociateEipAddressRequest) (response *AssociateEipAddressResponse, err error)
AssociateEipAddress 批量将弹性公网IP(EIP)绑定到同地域的云产品实例上。
func (*Client) AttachDisks ¶
func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks 云硬盘挂在到实例上。
func (*Client) AttachNetworkInterface ¶
func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
AttachNetworkInterface 网卡绑定实例。
func (*Client) AvailableLanIp ¶
func (c *Client) AvailableLanIp(request *AvailableLanIpRequest) (response *AvailableLanIpResponse, err error)
AvailableLanIp 查询可供弹性公网IP绑定的网卡及内网IP信息。
func (*Client) BatchAssignNetworkInterfaceIpv4 ¶
func (c *Client) BatchAssignNetworkInterfaceIpv4(request *BatchAssignNetworkInterfaceIpv4Request) (response *BatchAssignNetworkInterfaceIpv4Response, err error)
BatchAssignNetworkInterfaceIpv4 将一张网卡额外添加内网IPv4地址。
func (*Client) CancelAutoSnapshotPolicy ¶
func (c *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, err error)
CancelAutoSnapshotPolicy 云硬盘从指定的自动快照策略中移除。
func (*Client) ChangeEipBindType ¶
func (c *Client) ChangeEipBindType(request *ChangeEipBindTypeRequest) (response *ChangeEipBindTypeResponse, err error)
ChangeEipBindType 弹性公网IP(EIP)更换绑定模式。
func (*Client) ChangeEipInternetChargeType ¶
func (c *Client) ChangeEipInternetChargeType(request *ChangeEipInternetChargeTypeRequest) (response *ChangeEipInternetChargeTypeResponse, err error)
ChangeEipInternetChargeType 变更弹性公网IP更网络计费模式。
func (*Client) ChangeNicNetworkType ¶
func (c *Client) ChangeNicNetworkType(request *ChangeNicNetworkTypeRequest) (response *ChangeNicNetworkTypeResponse, err error)
ChangeNicNetworkType 更改实例的网卡模式。
func (*Client) ConfigEipEgressIp ¶
func (c *Client) ConfigEipEgressIp(request *ConfigEipEgressIpRequest) (response *ConfigEipEgressIpResponse, err error)
ConfigEipEgressIp 指定IP作为出口IP。
func (*Client) ConfigureSecurityGroupRules ¶
func (c *Client) ConfigureSecurityGroupRules(request *ConfigureSecurityGroupRulesRequest) (response *ConfigureSecurityGroupRulesResponse, err error)
ConfigureSecurityGroupRules 配置安全组规则。
func (*Client) CreateAutoSnapshotPolicy ¶
func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy 创建一个自动快照策略。
func (*Client) CreateBorderGateway ¶
func (c *Client) CreateBorderGateway(request *CreateBorderGatewayRequest) (response *CreateBorderGatewayResponse, err error)
CreateBorderGateway 在某节点为VPC创建一个边界网关。
func (*Client) CreateCidr ¶
func (c *Client) CreateCidr(request *CreateCidrRequest) (response *CreateCidrResponse, err error)
CreateCidr 创建CIDR地址段。
func (*Client) CreateDisks ¶
func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
CreateDisks 创建一个或多个云硬盘。
func (*Client) CreateDnatEntry ¶
func (c *Client) CreateDnatEntry(request *CreateDnatEntryRequest) (response *CreateDnatEntryResponse, err error)
CreateDnatEntry 创建DNAT规则。
func (*Client) CreateEips ¶
func (c *Client) CreateEips(request *CreateEipsRequest) (response *CreateEipsResponse, err error)
CreateEips 创建弹性公网IP。
func (*Client) CreateImage ¶ added in v0.2.2
func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error)
CreateImage 用实例创建自定义镜像。
func (*Client) CreateNatGateway ¶
func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
CreateNatGateway 创建NAT网关。
func (*Client) CreateNetworkInterface ¶
func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
CreateNetworkInterface 创建一张辅助网卡。
func (*Client) CreateRoute ¶
func (c *Client) CreateRoute(request *CreateRouteRequest) (response *CreateRouteResponse, err error)
CreateRoute 创建一个自定义路由。
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
CreateSecurityGroup 创建一个安全组。
func (*Client) CreateSnapshot ¶
func (c *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
CreateSnapshot 对指定云盘创建快照。
func (*Client) CreateSnatEntry ¶
func (c *Client) CreateSnatEntry(request *CreateSnatEntryRequest) (response *CreateSnatEntryResponse, err error)
CreateSnatEntry 创建SNAT规则。
func (*Client) CreateSubnet ¶
func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
CreateSubnet 创建子网。
func (*Client) CreateVpc ¶
func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
CreateVpc 创建全球VPC。
func (*Client) CreateZecInstances ¶
func (c *Client) CreateZecInstances(request *CreateZecInstancesRequest) (response *CreateZecInstancesResponse, err error)
CreateZecInstances 创建一台或多台虚拟机实例。
func (*Client) DeleteAutoSnapshotPolicies ¶
func (c *Client) DeleteAutoSnapshotPolicies(request *DeleteAutoSnapshotPoliciesRequest) (response *DeleteAutoSnapshotPoliciesResponse, err error)
DeleteAutoSnapshotPolicies 删除指定的自动快照策略。
func (*Client) DeleteBorderGateway ¶
func (c *Client) DeleteBorderGateway(request *DeleteBorderGatewayRequest) (response *DeleteBorderGatewayResponse, err error)
DeleteBorderGateway 删除一个指定的边界网关。
func (*Client) DeleteCidr ¶
func (c *Client) DeleteCidr(request *DeleteCidrRequest) (response *DeleteCidrResponse, err error)
DeleteCidr 删除CIDR地址段。
func (*Client) DeleteDnatEntry ¶
func (c *Client) DeleteDnatEntry(request *DeleteDnatEntryRequest) (response *DeleteDnatEntryResponse, err error)
DeleteDnatEntry 删除DNAT规则。
func (*Client) DeleteEip ¶
func (c *Client) DeleteEip(request *DeleteEipRequest) (response *DeleteEipResponse, err error)
DeleteEip 删除指定的弹性公网IP。
func (*Client) DeleteImages ¶ added in v0.2.2
func (c *Client) DeleteImages(request *DeleteImagesRequest) (response *DeleteImagesResponse, err error)
DeleteImages 删除一个或多个镜像。
func (*Client) DeleteNatGateway ¶
func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
DeleteNatGateway 删除一个指定的NAT网关。
func (*Client) DeleteNetworkInterface ¶
func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
DeleteNetworkInterface 删除一张辅助网卡。
func (*Client) DeleteRoute ¶
func (c *Client) DeleteRoute(request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
DeleteRoute 删除一条自定义路由。
func (*Client) DeleteSecurityGroup ¶
func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
DeleteSecurityGroup 删除一个安全组。
func (*Client) DeleteSnapshots ¶
func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 删除指定快照集合。
func (*Client) DeleteSnatEntry ¶
func (c *Client) DeleteSnatEntry(request *DeleteSnatEntryRequest) (response *DeleteSnatEntryResponse, err error)
DeleteSnatEntry 删除SNAT规则。
func (*Client) DeleteSubnet ¶
func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
DeleteSubnet 删除一个子网。
func (*Client) DeleteVpc ¶
func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
DeleteVpc 删除VPC
func (*Client) DescribeAutoSnapshotPolicies ¶
func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies 查询自动快照策略的列表数据。
func (*Client) DescribeAvailableBorderGateway ¶
func (c *Client) DescribeAvailableBorderGateway(request *DescribeAvailableBorderGatewayRequest) (response *DescribeAvailableBorderGatewayResponse, err error)
DescribeAvailableBorderGateway 获取可绑定NAT的边界网关。
func (*Client) DescribeAvailableNats ¶
func (c *Client) DescribeAvailableNats(request *DescribeAvailableNatsRequest) (response *DescribeAvailableNatsResponse, err error)
DescribeAvailableNats 获取可绑定边界网关的NAT网关列表。
func (*Client) DescribeBorderGateways ¶
func (c *Client) DescribeBorderGateways(request *DescribeBorderGatewaysRequest) (response *DescribeBorderGatewaysResponse, err error)
DescribeBorderGateways 查询边界网关列表。
func (*Client) DescribeCidrPrice ¶
func (c *Client) DescribeCidrPrice(request *DescribeCidrPriceRequest) (response *DescribeCidrPriceResponse, err error)
DescribeCidrPrice 查询CIDR地址块售卖价格。
func (*Client) DescribeCidrRegions ¶
func (c *Client) DescribeCidrRegions(request *DescribeCidrRegionsRequest) (response *DescribeCidrRegionsResponse, err error)
DescribeCidrRegions 支持售卖CIDR的节点信息。
func (*Client) DescribeCidrs ¶
func (c *Client) DescribeCidrs(request *DescribeCidrsRequest) (response *DescribeCidrsResponse, err error)
DescribeCidrs 查询CIDR地址块列表
func (*Client) DescribeDiskCategory ¶
func (c *Client) DescribeDiskCategory(request *DescribeDiskCategoryRequest) (response *DescribeDiskCategoryResponse, err error)
DescribeDiskCategory 获取某个区域支持的云盘类型。
func (*Client) DescribeDiskRegions ¶
func (c *Client) DescribeDiskRegions(request *DescribeDiskRegionsRequest) (response *DescribeDiskRegionsResponse, err error)
DescribeDiskRegions 支持售卖云硬盘的节点。
func (*Client) DescribeDisks ¶
func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
DescribeDisks 查询云盘的列表信息。
func (*Client) DescribeEipInternetChargeTypes ¶
func (c *Client) DescribeEipInternetChargeTypes(request *DescribeEipInternetChargeTypesRequest) (response *DescribeEipInternetChargeTypesResponse, err error)
DescribeEipInternetChargeTypes 查询EIP支持的网络计费模式。
func (*Client) DescribeEipMonitorData ¶
func (c *Client) DescribeEipMonitorData(request *DescribeEipMonitorDataRequest) (response *DescribeEipMonitorDataResponse, err error)
DescribeEipMonitorData 查询一段时间的弹性公网IP监控指标数据。
func (*Client) DescribeEipPrice ¶
func (c *Client) DescribeEipPrice(request *DescribeEipPriceRequest) (response *DescribeEipPriceResponse, err error)
DescribeEipPrice 创建公网弹性IP询价。
func (*Client) DescribeEipRegions ¶
func (c *Client) DescribeEipRegions(request *DescribeEipRegionsRequest) (response *DescribeEipRegionsResponse, err error)
DescribeEipRegions 查询支持售卖EIP的区域信息。
func (*Client) DescribeEipRemoteRegions ¶
func (c *Client) DescribeEipRemoteRegions(request *DescribeEipRemoteRegionsRequest) (response *DescribeEipRemoteRegionsResponse, err error)
DescribeEipRemoteRegions 查询EIP支持的远程指向的节点信息。
func (*Client) DescribeEipTraffic ¶
func (c *Client) DescribeEipTraffic(request *DescribeEipTrafficRequest) (response *DescribeEipTrafficResponse, err error)
DescribeEipTraffic 查询弹性公网IP指定时间段内的流量信息。
func (*Client) DescribeEips ¶
func (c *Client) DescribeEips(request *DescribeEipsRequest) (response *DescribeEipsResponse, err error)
DescribeEips 指定条件查询已创建的弹性IPv4的信息。用户可以根据ID、名称等信息来搜索。
func (*Client) DescribeImages ¶
func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
DescribeImages 查询某节点支持的镜像列表。
func (*Client) DescribeInstanceMonitorData ¶
func (c *Client) DescribeInstanceMonitorData(request *DescribeInstanceMonitorDataRequest) (response *DescribeInstanceMonitorDataResponse, err error)
DescribeInstanceMonitorData 查询一段时间的实例的监控指标数据。包括CPU,内存等相关指标数据。
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 查询一台或多台虚拟机实例的信息。用户可以根据实例ID、实例名称等条件来查询实例的详细信息。
func (*Client) DescribeInstancesStatus ¶
func (c *Client) DescribeInstancesStatus(request *DescribeInstancesStatusRequest) (response *DescribeInstancesStatusResponse, err error)
DescribeInstancesStatus 查询实例的状态。
func (*Client) DescribeNatGatewayDetail ¶
func (c *Client) DescribeNatGatewayDetail(request *DescribeNatGatewayDetailRequest) (response *DescribeNatGatewayDetailResponse, err error)
DescribeNatGatewayDetail 查询NAT网关详情规则表。
func (*Client) DescribeNatGatewayRegions ¶
func (c *Client) DescribeNatGatewayRegions(request *DescribeNatGatewayRegionsRequest) (response *DescribeNatGatewayRegionsResponse, err error)
DescribeNatGatewayRegions 支持售卖NAT网关的区域信息。
func (*Client) DescribeNatGateways ¶
func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)
DescribeNatGateways 查询NAT网关列表。
func (*Client) DescribeNetworkInterfacePublicIPv6 ¶
func (c *Client) DescribeNetworkInterfacePublicIPv6(request *DescribeNetworkInterfacePublicIPv6Request) (response *DescribeNetworkInterfacePublicIPv6Response, err error)
DescribeNetworkInterfacePublicIPv6 网卡的公网IPv6信息。
func (*Client) DescribeNetworkInterfaceRegions ¶
func (c *Client) DescribeNetworkInterfaceRegions(request *DescribeNetworkInterfaceRegionsRequest) (response *DescribeNetworkInterfaceRegionsResponse, err error)
DescribeNetworkInterfaceRegions 支持售卖网卡的区域信息
func (*Client) DescribeNetworkInterfaces ¶
func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
DescribeNetworkInterfaces 查询一个或多个指定网卡的信息。用户可以根据 网卡ID、网卡名称等信息来搜索网卡信息。
func (*Client) DescribePools ¶
func (c *Client) DescribePools(request *DescribePoolsRequest) (response *DescribePoolsResponse, err error)
DescribePools 查询公网IP池列表。
func (*Client) DescribeRoutes ¶
func (c *Client) DescribeRoutes(request *DescribeRoutesRequest) (response *DescribeRoutesResponse, err error)
DescribeRoutes 查询路由列表。用户可以根据ID、名称等信息来搜索Route信息。路由列表包括系统生成的以及用户创建的路由。
func (*Client) DescribeSecurityGroupRule ¶
func (c *Client) DescribeSecurityGroupRule(request *DescribeSecurityGroupRuleRequest) (response *DescribeSecurityGroupRuleResponse, err error)
DescribeSecurityGroupRule 查询指定安全组内的规则。
func (*Client) DescribeSecurityGroups ¶
func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
DescribeSecurityGroups 查询安全组列表。
func (*Client) DescribeSnapshots ¶
func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 查询快照的详细信息。
func (*Client) DescribeSubnetRegions ¶
func (c *Client) DescribeSubnetRegions(request *DescribeSubnetRegionsRequest) (response *DescribeSubnetRegionsResponse, err error)
DescribeSubnetRegions 查询支持创建子网区域以及是否IPv6。
func (*Client) DescribeSubnets ¶
func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
DescribeSubnets 查询子网列表信息。可以根据子网ID, 名称等信息筛选查询子网。
func (*Client) DescribeTimeZones ¶
func (c *Client) DescribeTimeZones(request *DescribeTimeZonesRequest) (response *DescribeTimeZonesResponse, err error)
DescribeTimeZones 查询时区信息
func (*Client) DescribeVncUrl ¶
func (c *Client) DescribeVncUrl(request *DescribeVncUrlRequest) (response *DescribeVncUrlResponse, err error)
DescribeVncUrl 获取实例VNC地址。
func (*Client) DescribeVpcs ¶
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
DescribeVpcs 查询私有网络(VPC)列表,用户可以根据 VPC ID、VPC 名称等信息来筛选过滤VPC信息。
func (*Client) DescribeZoneInstanceConfigInfos ¶
func (c *Client) DescribeZoneInstanceConfigInfos(request *DescribeZoneInstanceConfigInfosRequest) (response *DescribeZoneInstanceConfigInfosResponse, err error)
DescribeZoneInstanceConfigInfos 查询可用区售卖的机型信息
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 查询可用区信息。包括名称,所属的节点等。
func (*Client) DetachDisks ¶
func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
DetachDisks 将云硬盘从主机实例上卸载。
func (*Client) DetachNetworkInterface ¶
func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
DetachNetworkInterface 将一张网卡从实例上解绑。
func (*Client) InquiryPriceCreateDisks ¶
func (c *Client) InquiryPriceCreateDisks(request *InquiryPriceCreateDisksRequest) (response *InquiryPriceCreateDisksResponse, err error)
InquiryPriceCreateDisks 创建一块或多块云硬盘的询价。
func (*Client) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance 创建虚拟机实例询价。
func (*Client) InquiryPriceCreateNatGateway ¶
func (c *Client) InquiryPriceCreateNatGateway(request *InquiryPriceCreateNatGatewayRequest) (response *InquiryPriceCreateNatGatewayResponse, err error)
InquiryPriceCreateNatGateway 查询创建NAT网关的价格。
func (*Client) InquiryPricePublicIpv6 ¶
func (c *Client) InquiryPricePublicIpv6(request *InquiryPricePublicIpv6Request) (response *InquiryPricePublicIpv6Response, err error)
InquiryPricePublicIpv6 公网Ipv6流量包或固定带宽询价。
func (*Client) ModifyAutoSnapshotPolicy ¶
func (c *Client) ModifyAutoSnapshotPolicy(request *ModifyAutoSnapshotPolicyRequest) (response *ModifyAutoSnapshotPolicyResponse, err error)
ModifyAutoSnapshotPolicy 修改自动快照策略的基本信息。
func (*Client) ModifyBorderGatewayAsn ¶
func (c *Client) ModifyBorderGatewayAsn(request *ModifyBorderGatewayAsnRequest) (response *ModifyBorderGatewayAsnResponse, err error)
ModifyBorderGatewayAsn 修改边界网关的ASN。
func (*Client) ModifyBorderGatewaysAttribute ¶
func (c *Client) ModifyBorderGatewaysAttribute(request *ModifyBorderGatewaysAttributeRequest) (response *ModifyBorderGatewaysAttributeResponse, err error)
ModifyBorderGatewaysAttribute 修改边界网关的属性,包括名称,路由级别,子网宣告控制等。
func (*Client) ModifyCidrAttribute ¶ added in v0.2.1
func (c *Client) ModifyCidrAttribute(request *ModifyCidrAttributeRequest) (response *ModifyCidrAttributeResponse, err error)
ModifyCidrAttribute 修改CIDR地址段的属性。 目前只能修改名称。
func (*Client) ModifyDisksAttributes ¶
func (c *Client) ModifyDisksAttributes(request *ModifyDisksAttributesRequest) (response *ModifyDisksAttributesResponse, err error)
ModifyDisksAttributes 修改一块或多块云硬盘属性。当前接口只支持修改名称。
func (*Client) ModifyDisksResourceGroup ¶
func (c *Client) ModifyDisksResourceGroup(request *ModifyDisksResourceGroupRequest) (response *ModifyDisksResourceGroupResponse, err error)
ModifyDisksResourceGroup 修改云硬盘所属的资源组。
func (*Client) ModifyDnatEntry ¶
func (c *Client) ModifyDnatEntry(request *ModifyDnatEntryRequest) (response *ModifyDnatEntryResponse, err error)
ModifyDnatEntry 修改DNAT规则。
func (*Client) ModifyEipAttribute ¶
func (c *Client) ModifyEipAttribute(request *ModifyEipAttributeRequest) (response *ModifyEipAttributeResponse, err error)
ModifyEipAttribute 修改弹性公网IP属性。
func (*Client) ModifyEipBandwidth ¶
func (c *Client) ModifyEipBandwidth(request *ModifyEipBandwidthRequest) (response *ModifyEipBandwidthResponse, err error)
ModifyEipBandwidth 调整弹性公网IP的带宽限速。
func (*Client) ModifyImagesAttributes ¶ added in v0.2.2
func (c *Client) ModifyImagesAttributes(request *ModifyImagesAttributesRequest) (response *ModifyImagesAttributesResponse, err error)
ModifyImagesAttributes 修改自定义镜像属性。
func (*Client) ModifyInstanceType ¶
func (c *Client) ModifyInstanceType(request *ModifyInstanceTypeRequest) (response *ModifyInstanceTypeResponse, err error)
ModifyInstanceType 变更实例的规格
func (*Client) ModifyInstancesAttribute ¶
func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute 修改实例属性(名称)。
func (*Client) ModifyNatGatewayAttribute ¶ added in v0.2.1
func (c *Client) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error)
ModifyNatGatewayAttribute 修改NAT网关的属性。
func (*Client) ModifyNetworkInterfaceAttribute ¶
func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error)
ModifyNetworkInterfaceAttribute 修改一张网卡的属性。
func (*Client) ModifyNetworkInterfacesAttribute ¶
func (c *Client) ModifyNetworkInterfacesAttribute(request *ModifyNetworkInterfacesAttributeRequest) (response *ModifyNetworkInterfacesAttributeResponse, err error)
ModifyNetworkInterfacesAttribute 修改网卡的属性,目前只支持修改网卡的名称。
func (*Client) ModifyRouteAttribute ¶
func (c *Client) ModifyRouteAttribute(request *ModifyRouteAttributeRequest) (response *ModifyRouteAttributeResponse, err error)
ModifyRouteAttribute 修改路由的基本信息,目前只允许修改路由的名称。
func (*Client) ModifySecurityGroupsAttribute ¶
func (c *Client) ModifySecurityGroupsAttribute(request *ModifySecurityGroupsAttributeRequest) (response *ModifySecurityGroupsAttributeResponse, err error)
ModifySecurityGroupsAttribute 修改安全组的属性(目前只支持修改安全组的名称)。
func (*Client) ModifySnapshotsAttribute ¶
func (c *Client) ModifySnapshotsAttribute(request *ModifySnapshotsAttributeRequest) (response *ModifySnapshotsAttributeResponse, err error)
ModifySnapshotsAttribute 修改指定快照的属性。
func (*Client) ModifySnatEntry ¶
func (c *Client) ModifySnatEntry(request *ModifySnatEntryRequest) (response *ModifySnatEntryResponse, err error)
ModifySnatEntry 修改SNAT规则。
func (*Client) ModifySubnetAttribute ¶
func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
ModifySubnetAttribute 修改子网属性。包括名称,CIDR等。
func (*Client) ModifySubnetStackType ¶
func (c *Client) ModifySubnetStackType(request *ModifySubnetStackTypeRequest) (response *ModifySubnetStackTypeResponse, err error)
ModifySubnetStackType 修改子网堆栈类型
func (*Client) ModifySubnetsAttribute ¶
func (c *Client) ModifySubnetsAttribute(request *ModifySubnetsAttributeRequest) (response *ModifySubnetsAttributeResponse, err error)
ModifySubnetsAttribute 批量修改子网的属性。
func (*Client) ModifyVpcAttribute ¶
func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
ModifyVpcAttribute 修改私有网络(VPC)的相关属性。
func (*Client) ModifyVpcsAttribute ¶
func (c *Client) ModifyVpcsAttribute(request *ModifyVpcsAttributeRequest) (response *ModifyVpcsAttributeResponse, err error)
ModifyVpcsAttribute 修改一个或多个VPC的属性。该接口只支持修改VPC的名称。
func (*Client) RebootInstances ¶
func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances 重启虚拟机实例。
func (*Client) ReleaseDisk ¶
func (c *Client) ReleaseDisk(request *ReleaseDiskRequest) (response *ReleaseDiskResponse, err error)
ReleaseDisk 删除释放一块云硬盘。
func (*Client) ReleaseInstances ¶
func (c *Client) ReleaseInstances(request *ReleaseInstancesRequest) (response *ReleaseInstancesResponse, err error)
ReleaseInstances 销毁一台或多台虚拟机实例。
func (*Client) RenewCidr ¶
func (c *Client) RenewCidr(request *RenewCidrRequest) (response *RenewCidrResponse, err error)
RenewCidr 将一个处于回收站的CIDR地址段恢复回正常。
func (*Client) RenewDisk ¶
func (c *Client) RenewDisk(request *RenewDiskRequest) (response *RenewDiskResponse, err error)
RenewDisk 恢复云硬盘
func (*Client) RenewEip ¶
func (c *Client) RenewEip(request *RenewEipRequest) (response *RenewEipResponse, err error)
RenewEip 恢复弹性公网IP
func (*Client) RenewNatGateway ¶
func (c *Client) RenewNatGateway(request *RenewNatGatewayRequest) (response *RenewNatGatewayResponse, err error)
RenewNatGateway 续费一个指定的NAT网关。
func (*Client) ReplaceEipAddress ¶
func (c *Client) ReplaceEipAddress(request *ReplaceEipAddressRequest) (response *ReplaceEipAddressResponse, err error)
ReplaceEipAddress 替换一个或者多个弹性公网IP地址。
func (*Client) ResetInstance ¶
func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
ResetInstance 重装一台虚拟机实例操作系统。
func (*Client) ResetInstancePassword ¶
func (c *Client) ResetInstancePassword(request *ResetInstancePasswordRequest) (response *ResetInstancePasswordResponse, err error)
ResetInstancePassword 重置一台虚拟机实例密码。
func (*Client) ResizeDisk ¶
func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk 将一个云硬盘扩容到指定大小。
func (*Client) StartAgentMonitor ¶
func (c *Client) StartAgentMonitor(request *StartAgentMonitorRequest) (response *StartAgentMonitorResponse, err error)
StartAgentMonitor 开启Agent监控采集。
func (*Client) StartInstances ¶
func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances 启动一台或多台虚拟机实例。
func (*Client) StartIpForward ¶
func (c *Client) StartIpForward(request *StartIpForwardRequest) (response *StartIpForwardResponse, err error)
StartIpForward 开启IP转发
func (*Client) StopAgentMonitor ¶
func (c *Client) StopAgentMonitor(request *StopAgentMonitorRequest) (response *StopAgentMonitorResponse, err error)
StopAgentMonitor 关闭Agent监控采集。
func (*Client) StopInstances ¶
func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances 关闭一台或多台虚拟机实例。
func (*Client) StopIpForward ¶
func (c *Client) StopIpForward(request *StopIpForwardRequest) (response *StopIpForwardResponse, err error)
StopIpForward 关闭IP转发
func (*Client) UnAssignSecurityGroupVpc ¶
func (c *Client) UnAssignSecurityGroupVpc(request *UnAssignSecurityGroupVpcRequest) (response *UnAssignSecurityGroupVpcResponse, err error)
UnAssignSecurityGroupVpc VPC解绑安全组。
func (*Client) UnassignBorderGateway ¶
func (c *Client) UnassignBorderGateway(request *UnassignBorderGatewayRequest) (response *UnassignBorderGatewayResponse, err error)
UnassignBorderGateway 解绑边界网关
func (*Client) UnassignBorderGatewayRoute ¶
func (c *Client) UnassignBorderGatewayRoute(request *UnassignBorderGatewayRouteRequest) (response *UnassignBorderGatewayRouteResponse, err error)
UnassignBorderGatewayRoute 边界网关路由宣告中移除指定的自定义路由。
func (*Client) UnassignNetworkInterfaceIpv4 ¶
func (c *Client) UnassignNetworkInterfaceIpv4(request *UnassignNetworkInterfaceIpv4Request) (response *UnassignNetworkInterfaceIpv4Response, err error)
UnassignNetworkInterfaceIpv4 将网卡上的内网IPv4地址解绑。
func (*Client) UnassociateEipAddress ¶
func (c *Client) UnassociateEipAddress(request *UnassociateEipAddressRequest) (response *UnassociateEipAddressResponse, err error)
UnassociateEipAddress 将弹性公网IP(EIP)从绑定的云产品上解绑。
type ConfigEipEgressIpRequest ¶
type ConfigEipEgressIpRequest struct {
*common.BaseRequest
// EipId 要作为出口的公网弹性IP。
EipId *string `json:"eipId,omitempty"`
}
ConfigEipEgressIpRequest 指定IP作为出口IP的请求参数。
func NewConfigEipEgressIpRequest ¶
func NewConfigEipEgressIpRequest() (request *ConfigEipEgressIpRequest)
type ConfigEipEgressIpResponse ¶
type ConfigEipEgressIpResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewConfigEipEgressIpResponse ¶
func NewConfigEipEgressIpResponse() (response *ConfigEipEgressIpResponse)
type ConfigureSecurityGroupRulesRequest ¶
type ConfigureSecurityGroupRulesRequest struct {
*common.BaseRequest
// SecurityGroupId 要配置的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// RuleInfos 需要配置的安全组规则列表。注意:配置为全量覆盖。
RuleInfos []*SecurityGroupRuleInfo `json:"ruleInfos,omitempty"`
}
ConfigureSecurityGroupRulesRequest 配置安全组规则的请求参数。
func NewConfigureSecurityGroupRulesRequest ¶
func NewConfigureSecurityGroupRulesRequest() (request *ConfigureSecurityGroupRulesRequest)
type ConfigureSecurityGroupRulesResponse ¶
type ConfigureSecurityGroupRulesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewConfigureSecurityGroupRulesResponse ¶
func NewConfigureSecurityGroupRulesResponse() (response *ConfigureSecurityGroupRulesResponse)
type CreateAutoSnapshotPolicyRequest ¶
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,则代表永久保留。默认为永久保存。取值范围:-1或[1,65535]。
RetentionDays *int `json:"retentionDays,omitempty"`
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// Tags 创建自动快照时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateAutoSnapshotPolicyRequest 描述创建自动快照策略的请求信息。
func NewCreateAutoSnapshotPolicyRequest ¶
func NewCreateAutoSnapshotPolicyRequest() (request *CreateAutoSnapshotPolicyRequest)
type CreateAutoSnapshotPolicyResponse ¶
type CreateAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateAutoSnapshotPolicyResponseParams `json:"response,omitempty"`
}
func NewCreateAutoSnapshotPolicyResponse ¶
func NewCreateAutoSnapshotPolicyResponse() (response *CreateAutoSnapshotPolicyResponse)
type CreateAutoSnapshotPolicyResponseParams ¶
type CreateAutoSnapshotPolicyResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// AutoSnapshotPolicyId 自动快照策略的ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
}
CreateAutoSnapshotPolicyResponseParams 创建自动快照策略的响应信息。
type CreateBorderGatewayRequest ¶
type CreateBorderGatewayRequest struct {
*common.BaseRequest
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// VpcId VPC ID。
VpcId *string `json:"vpcId,omitempty"`
// Label 名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Label *string `json:"label,omitempty"`
// Asn ASN号。
Asn *int `json:"asn,omitempty"`
// RoutingMode 路由级别。
RoutingMode *string `json:"routingMode,omitempty"`
// AdvertisedSubnet 子网宣告控制。
AdvertisedSubnet *string `json:"advertisedSubnet,omitempty"`
// AdvertisedCidrs IPv4 Cidr集合。
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
// AdvertisedRouteIds 自定义路由ID集合。
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
CreateBorderGatewayRequest 创建边界网关的请求参数。
func NewCreateBorderGatewayRequest ¶
func NewCreateBorderGatewayRequest() (request *CreateBorderGatewayRequest)
type CreateBorderGatewayResponse ¶
type CreateBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateBorderGatewayResponseParams `json:"response,omitempty"`
}
func NewCreateBorderGatewayResponse ¶
func NewCreateBorderGatewayResponse() (response *CreateBorderGatewayResponse)
type CreateBorderGatewayResponseParams ¶
type CreateBorderGatewayResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// ZbgId 边界网关的ID。
ZbgId *string `json:"zbgId,omitempty"`
}
CreateBorderGatewayResponseParams 创建边界网关的响应值。
type CreateCidrRequest ¶
type CreateCidrRequest struct {
*common.BaseRequest
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// EipV4Type 公网IPv4的网络类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// Netmask CIDR掩码、数量。
Netmask *NetmaskInfo `json:"netmask,omitempty"`
// Name CIDR名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。默认会将分配的CIDR地址作为名称。
Name *string `json:"name,omitempty"`
// ResourceGroupId 资源组ID。如果不指定,则会加入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// MarketingOptions 市场营销相关的选项。
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
// Tags 创建CIDR时关联的标签。注意:关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateCidrRequest 创建CIDR请求参数
func NewCreateCidrRequest ¶
func NewCreateCidrRequest() (request *CreateCidrRequest)
type CreateCidrResponse ¶
type CreateCidrResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateCidrResponseParams `json:"response,omitempty"`
}
func NewCreateCidrResponse ¶
func NewCreateCidrResponse() (response *CreateCidrResponse)
type CreateCidrResponseParams ¶
type CreateCidrResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// CidrIds 创建的CIDR地址段ID列表。
CidrIds []string `json:"cidrIds,omitempty"`
}
CreateCidrResponseParams 描述创建CIDR的响应信息。
type CreateDisksRequest ¶
type CreateDisksRequest struct {
*common.BaseRequest
// ZoneId 云硬盘所属的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// DiskName 云盘名称。范围1到64个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
DiskName *string `json:"diskName,omitempty"`
// DiskSize 云硬盘大小,单位GiB。
DiskSize *int `json:"diskSize,omitempty"`
// DiskAmount 需要创建的云硬盘的数量。
DiskAmount *int `json:"diskAmount,omitempty"`
// InstanceId 云硬盘挂在的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// ResourceGroupId 云硬盘所在的资源组ID。如不指定则放入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// DiskCategory 云硬盘种类。Basic NVMe SSD: 经济型 NVMe SSD。Standard NVMe SSD: 标准型 NVMe SSD。默认为Standard NVMe SSD。
DiskCategory *string `json:"diskCategory,omitempty"`
// SnapshotId 使用快照ID进行创建。如果传入则根据此快照创建云硬盘,快照的云盘类型必须为数据盘快照。
SnapshotId *string `json:"snapshotId,omitempty"`
// MarketingOptions 市场营销的相关选项。
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
// Tags 创建云硬盘时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateDisksRequest 创建云硬盘的请求信息。
func NewCreateDisksRequest ¶
func NewCreateDisksRequest() (request *CreateDisksRequest)
type CreateDisksResponse ¶
type CreateDisksResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateDisksResponseParams `json:"response,omitempty"`
}
func NewCreateDisksResponse ¶
func NewCreateDisksResponse() (response *CreateDisksResponse)
type CreateDisksResponseParams ¶
type CreateDisksResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// DiskIds 创建的云硬盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
// OrderNumber 本次创建对应的订单编号。
OrderNumber *string `json:"orderNumber,omitempty"`
}
CreateDisksResponseParams 创建云硬盘的响应信息。
type CreateDnatEntryRequest ¶
type CreateDnatEntryRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// EipId DNAT规则添加的弹性公网ID。
EipId *string `json:"eipId,omitempty"`
// PrivateIp DNAT规则的内网IP地址。
PrivateIp *string `json:"privateIp,omitempty"`
// Protocol DNAT规则的协议类型。如果要转发所有流量,端口不变,请指定协议类型为`Any`且内部端口和公网外部端口不要设置。
Protocol *string `json:"protocol,omitempty"`
// ListenerPort DNAT规则端口转发的外部公网端口或端口段。可使用连字符(-)指定端口范围,例如:80-100,公网和内网端口数量需保持一致。取值范围1-65535。仅在协议类型不为`Any`时生效。
ListenerPort *string `json:"listenerPort,omitempty"`
// InternalPort DNAT规则端口转发的内部端口或端口段。可使用连字符(-)指定端口范围,例如:80-100,公网和内网端口数量需保持一致。取值范围1-65535。仅在协议类型不为`Any`时生效。
InternalPort *string `json:"internalPort,omitempty"`
}
func NewCreateDnatEntryRequest ¶
func NewCreateDnatEntryRequest() (request *CreateDnatEntryRequest)
type CreateDnatEntryResponse ¶
type CreateDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateDnatEntryResponseParams `json:"response,omitempty"`
}
func NewCreateDnatEntryResponse ¶
func NewCreateDnatEntryResponse() (response *CreateDnatEntryResponse)
type CreateEipsRequest ¶
type CreateEipsRequest struct {
*common.BaseRequest
// RegionId 创建EIP所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// Name EIP的名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
// InternetChargeType 公网弹性IP的网络计费方式。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// Amount 需要创建EIP的数量。
Amount *int `json:"amount,omitempty"`
// EipV4Type 公网弹性IP的线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// PrimaryIsp 主公网IP的运营商。该字段仅作用于三线IP(`ThreeLine`)。
PrimaryIsp *string `json:"primaryIsp,omitempty"`
// Bandwidth 公网弹性IP的带宽限速。单位:Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// CidrId 指定CIDR ID,使用CIDR内分配弹性IP。该字段和`eipV4Type`不能同时指定。
CidrId *string `json:"cidrId,omitempty"`
// PublicIp 从CIDR里指定公网起始IP地址开始创建弹性IP。该字段仅在指定`cidrId`时生效。
PublicIp *string `json:"publicIp,omitempty"`
// ResourceGroupId 弹性公网IP所放的资源组ID,如不指定则放入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// FlowPackage 公网IPv6的流量包大小。单位为TB。值要求为0或0.1的倍数。当子网的堆栈类型包括V6且为公网时,且网络计费方式是流量计费(`ByTrafficPackage`)需要指定。
FlowPackage *float64 `json:"flowPackage,omitempty"`
// ClusterId 公网IPv6所指定的共享带宽包ID。当子网的堆栈类型包括V6且为公网时,且网络计费方式是共享带宽包计费(`BandwidthCluster`)需要指定。
ClusterId *string `json:"clusterId,omitempty"`
// PeerRegionId 远端的节点ID。
PeerRegionId *string `json:"peerRegionId,omitempty"`
// MarketingOptions 市场营销的相关选项。
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
// Tags 弹性公网IP绑定的标签。注意:实例关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateEipsRequest 创建EIP的请求参数。
func NewCreateEipsRequest ¶
func NewCreateEipsRequest() (request *CreateEipsRequest)
type CreateEipsResponse ¶
type CreateEipsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateEipsResponseParams `json:"response,omitempty"`
}
func NewCreateEipsResponse ¶
func NewCreateEipsResponse() (response *CreateEipsResponse)
type CreateEipsResponseParams ¶
type CreateEipsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// EipIds 创建的弹性公网IP ID列表。
EipIds []string `json:"eipIds,omitempty"`
// OrderNumber 本次创建的订单编号。
OrderNumber *string `json:"orderNumber,omitempty"`
}
CreateEipsResponseParams 创建弹性公网IP的响应结果
type CreateImageRequest ¶ added in v0.2.2
type CreateImageRequest struct {
*common.BaseRequest
// InstanceId 需要制作镜像的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// ImageName 名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
ImageName *string `json:"imageName,omitempty"`
// ResourceGroupId 镜像所放的资源组ID,如不指定则放入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// Tags 创建镜像时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
func NewCreateImageRequest ¶ added in v0.2.2
func NewCreateImageRequest() (request *CreateImageRequest)
type CreateImageResponse ¶ added in v0.2.2
type CreateImageResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateImageResponseParams `json:"response,omitempty"`
}
func NewCreateImageResponse ¶ added in v0.2.2
func NewCreateImageResponse() (response *CreateImageResponse)
type CreateImageResponseParams ¶ added in v0.2.2
type CreateNatGatewayRequest ¶
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集合。如果未指定,则指定区域的所有子网将自动关联NAT网关。
SubnetIds []string `json:"subnetIds,omitempty"`
// SecurityGroupId 安全组ID。如果未指定,则指定VPC所属的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// ResourceGroupId 资源组ID。如果不指定,则会创建在默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// Tags 创建NAT网关时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
func NewCreateNatGatewayRequest ¶
func NewCreateNatGatewayRequest() (request *CreateNatGatewayRequest)
type CreateNatGatewayResponse ¶
type CreateNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateNatGatewayResponseParams `json:"response,omitempty"`
}
func NewCreateNatGatewayResponse ¶
func NewCreateNatGatewayResponse() (response *CreateNatGatewayResponse)
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct {
*common.BaseRequest
// Name 网卡名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
// SubnetId 子网的ID。
SubnetId *string `json:"subnetId,omitempty"`
// NicStackType 网卡的IP堆栈类型。如果不指定,会根据子网堆栈类型决定:如果子网是V4,则网卡为V4,如果子网是V6,则网卡为V6。如果网卡要V4&V6,请指定该参数。
NicStackType *string `json:"nicStackType,omitempty"`
// ResourceGroupId 网卡创建所在的资源组ID,如不指定则放入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// SecurityGroupId 指定安全组ID。目前一个网卡只能关联1个安全组。如果未指定,会默认用VPC关联下的安全组。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// InternetChargeType 公网IPv6的网络计费方式。当子网的堆栈类型包括V6且为公网时,需要指定。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// Bandwidth 公网IPv6的带宽限速。单位Mbps。当子网的堆栈类型包括V6且为公网时,需要指定。
Bandwidth *int `json:"bandwidth,omitempty"`
// PackageSize 公网IPv6的流量包大小。单位为TB。值要求为0或0.1的倍数。当子网的堆栈类型包括V6且为公网时,且网络计费方式是流量计费(`ByTrafficPackage`)需要指定。
PackageSize *float64 `json:"packageSize,omitempty"`
// ClusterId 公网IPv6所指定的共享带宽包ID。当子网的堆栈类型包括V6且为公网时,且网络计费方式是共享带宽包计费(`BandwidthCluster`)需要指定。
ClusterId *string `json:"clusterId,omitempty"`
// MarketingOptions 市场营销相关的选项。
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
// Tags 创建网卡时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateNetworkInterfaceRequest 创建辅助网卡的请求参数。
func NewCreateNetworkInterfaceRequest ¶
func NewCreateNetworkInterfaceRequest() (request *CreateNetworkInterfaceRequest)
type CreateNetworkInterfaceResponse ¶
type CreateNetworkInterfaceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateNetworkInterfaceResponseParams `json:"response,omitempty"`
}
func NewCreateNetworkInterfaceResponse ¶
func NewCreateNetworkInterfaceResponse() (response *CreateNetworkInterfaceResponse)
type CreateNetworkInterfaceResponseParams ¶
type CreateNetworkInterfaceResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// NicId 创建的辅助网卡ID。
NicId *string `json:"nicId,omitempty"`
}
CreateNetworkInterfaceResponseParams 创建辅助网卡的响应结果。
type CreateRouteRequest ¶
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"`
// SourceCidrBlock 源IP地址CIDR。`路由类型`配置`RouteTypePolicy(策略路由)`时需指定。
SourceCidrBlock *string `json:"sourceCidrBlock,omitempty"`
// DestinationCidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。该字段必填。
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
// CidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。该字段已废弃,请使用`destinationCidrBlock`。
CidrBlock *string `json:"cidrBlock,omitempty"`
// Priority 路由优先级。数值越小,优先级越高。
Priority *int `json:"priority,omitempty"`
// NextHopId 下一跳资源ID。目前只支持网卡ID。该字段必填。
NextHopId *string `json:"nextHopId,omitempty"`
// NextHotId 下一跳资源ID。目前只支持网卡ID。该字段已废弃, 请使用`nextHopId`。
NextHotId *string `json:"nextHotId,omitempty"`
// Name 路由名称。名称长度为 2 到 63 个字符,仅支持字母、数字、连字符 (-) 、下划线(_) 、斜杠(/) 、和句点 (.),且开头和结尾必须是字母或数字。
Name *string `json:"name,omitempty"`
}
func NewCreateRouteRequest ¶
func NewCreateRouteRequest() (request *CreateRouteRequest)
type CreateRouteResponse ¶
type CreateRouteResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateRouteResponseParams `json:"response,omitempty"`
}
func NewCreateRouteResponse ¶
func NewCreateRouteResponse() (response *CreateRouteResponse)
type CreateRouteResponseParams ¶
type CreateRouteResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RouteId 创建的路由ID。
RouteId *string `json:"routeId,omitempty"`
}
CreateRouteResponseParams 创建路由的响应信息。
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
*common.BaseRequest
// Scope 范围。目前只支持`Global`。
Scope *string `json:"scope,omitempty"`
// SecurityGroupName 安全组名称。范围1到64个字符。仅支持输入字母、数字、-和英文句点(.)。
SecurityGroupName *string `json:"securityGroupName,omitempty"`
// RuleInfos 安全组的规则。
RuleInfos []*SecurityGroupRuleInfo `json:"ruleInfos,omitempty"`
}
CreateSecurityGroupRequest 创建安全组的请求信息。
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest() (request *CreateSecurityGroupRequest)
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSecurityGroupResponseParams `json:"response,omitempty"`
}
func NewCreateSecurityGroupResponse ¶
func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse)
type CreateSecurityGroupResponseParams ¶
type CreateSecurityGroupResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// SecurityGroupId 创建的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
CreateSecurityGroupResponseParams 创建安全组的响应信息。
type CreateSnapshotRequest ¶
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 ¶
func NewCreateSnapshotRequest() (request *CreateSnapshotRequest)
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSnapshotResponseParams `json:"response,omitempty"`
}
func NewCreateSnapshotResponse ¶
func NewCreateSnapshotResponse() (response *CreateSnapshotResponse)
type CreateSnapshotResponseParams ¶
type CreateSnapshotResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// SnapshotId 创建的快照ID。
SnapshotId *string `json:"snapshotId,omitempty"`
}
CreateSnapshotResponseParams 创建快照的响应信息。
type CreateSnatEntryRequest ¶
type CreateSnatEntryRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// EipIds SNAT规则添加的弹性公网IP集合。指定的公网IP ID必须属于NAT网关上绑定的公网弹性IP。为空则代表与该NAT网关绑定的所有的弹性公网IP。
EipIds []string `json:"eipIds,omitempty"`
// Cidr 源CIDR网段。该字段已废弃,请使用`sourceCidrBlocks`。
Cidr *string `json:"cidr,omitempty"`
// SourceCidrBlocks 源CIDR地址段列表。与`subnetIds`必须指定其中的一种。如果使用全地址段,指定为`0.0.0.0/0`。
SourceCidrBlocks []string `json:"sourceCidrBlocks,omitempty"`
// SubnetIds 指定子网ID集合。该参数表示该子网内的实例均可以通过`SNAT`规则访问外部网络。 与`sourceCidrBlocks`必须指定其中的一种。
SubnetIds []string `json:"subnetIds,omitempty"`
}
func NewCreateSnatEntryRequest ¶
func NewCreateSnatEntryRequest() (request *CreateSnatEntryRequest)
type CreateSnatEntryResponse ¶
type CreateSnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSnatEntryResponseParams `json:"response,omitempty"`
}
func NewCreateSnatEntryResponse ¶
func NewCreateSnatEntryResponse() (response *CreateSnatEntryResponse)
type CreateSubnetRequest ¶
type CreateSubnetRequest struct {
*common.BaseRequest
// VpcId 需要添加子网的VPC ID。
VpcId *string `json:"vpcId,omitempty"`
// Name 子网名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
// RegionId 子网所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// StackType 子网的IP堆栈类型。
StackType *string `json:"stackType,omitempty"`
// CidrBlock 子网的IPv4 CIDR地址段。如果指定堆栈类型`stackType` 包含 `IPv4`, 则该字段必填。指定的CIDR地址段必须属于VPC的CIDR范围内。
CidrBlock *string `json:"cidrBlock,omitempty"`
// Ipv6Type IPv6的类型。如果指定堆栈类型`stackType` 包含 `IPv6`, 则该字段必填。
Ipv6Type *string `json:"ipv6Type,omitempty"`
}
CreateSubnetRequest 创建子网请求参数。
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest() (request *CreateSubnetRequest)
type CreateSubnetResponse ¶
type CreateSubnetResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateSubnetResponseParams `json:"response,omitempty"`
}
func NewCreateSubnetResponse ¶
func NewCreateSubnetResponse() (response *CreateSubnetResponse)
type CreateSubnetResponseParams ¶
type CreateSubnetResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// SubnetId 创建的子网ID。
SubnetId *string `json:"subnetId,omitempty"`
}
CreateSubnetResponseParams 创建子网的响应结果。
type CreateVpcRequest ¶
type CreateVpcRequest struct {
*common.BaseRequest
// Name VPC的名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
// CidrBlock VPC的CIDR地址段。需要满足以下3种内网段内(10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16)。
CidrBlock *string `json:"cidrBlock,omitempty"`
// Mtu VPC的传输单元 MTU。支持:1300、1500、9000。
Mtu *int `json:"mtu,omitempty"`
// EnablePriIpv6 是否开启内网IPv6。一旦开启,后续无法关闭。默认为关闭。
EnablePriIpv6 *bool `json:"enablePriIpv6,omitempty"`
// ResourceGroupId VPC所在的资源组ID。如果不指定资源组,则会放到默认的资源组中。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// Tags 创建VPC时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateVpcRequest 创建全球VPC的请求参数。
func NewCreateVpcRequest ¶
func NewCreateVpcRequest() (request *CreateVpcRequest)
type CreateVpcResponse ¶
type CreateVpcResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateVpcResponseParams `json:"response,omitempty"`
}
func NewCreateVpcResponse ¶
func NewCreateVpcResponse() (response *CreateVpcResponse)
type CreateVpcResponseParams ¶
type CreateVpcResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// VpcId 创建的VPC ID。
VpcId *string `json:"vpcId,omitempty"`
}
CreateVpcResponseParams 创建全球VPC的响应结果。
type CreateZecInstancesRequest ¶
type CreateZecInstancesRequest struct {
*common.BaseRequest
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// ImageId 指定有效的镜像ID。可以通过[DescribeImages](describeimages.md)取返回信息中的imageId字段。
ImageId *string `json:"imageId,omitempty"`
// TimeZone 设置操作系统的时区。
TimeZone *string `json:"timeZone,omitempty"`
// InstanceType 实例机型。具体取值可通过调用接口[DescribeZoneInstanceConfigInfos](describezoneinstanceconfiginfos.md)来获得最新的规格表。
InstanceType *string `json:"instanceType,omitempty"`
// InstanceName 实例显示名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。购买多台实例,可以指定模式串[begin_number,bits]。begin_number:有序数值的起始值,取值支持[0,99999],默认值为0。bits:有序数值所占的位数,取值支持[1,6],默认值为6。注意模式串中不得有空格。购买1台时,例如server-[3,3]实例显示为server003;购买2台时,实例显示名分别为server003,server004。支持指定多个模式串,如server-[3,3]-[1,1]。默认值为 instance。
InstanceName *string `json:"instanceName,omitempty"`
// Password 实例的密码。与keyId必须指定其中的一种。必须包含以下3种格式的字符:大小写字母: [a-zA-Z]数字: 0-9特殊字符: ~!@$^*-_=+。
Password *string `json:"password,omitempty"`
// KeyId 密钥ID。与password必须指定其中的一种。可调用接口DescribeKeyPairs来获得最新的密钥对信息。关联密钥后,就可以通过对应的私钥来访问实例;密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。示例值:key-YWD2QFOl。
KeyId *string `json:"keyId,omitempty"`
// InstanceCount 要创建的实例数量。
InstanceCount *int `json:"instanceCount,omitempty"`
// SystemDisk 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。即操作系统要求的最小大小。
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
// DataDisks 实例数据盘配置信息。若不指定该参数,则默认不额外购买数据盘。目前只能附带1个数据盘。
DataDisks []*DataDisk `json:"dataDisks,omitempty"`
// SecurityGroupId 要配置在实例主网卡的安全组ID。目前只能关联1个安全组。如果未指定,会默认用VPC关联的安全组。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// SubnetId 子网ID。
SubnetId *string `json:"subnetId,omitempty"`
// LanIp 分配的内网起始IP。如果内网IP被使用,则会往后分配。
LanIp *string `json:"lanIp,omitempty"`
// EnableAgent 是否安装启动Agent。
EnableAgent *bool `json:"enableAgent,omitempty"`
// EnableIpForward 是否开启IP转发。
EnableIpForward *bool `json:"enableIpForward,omitempty"`
// InternetChargeType 公网IP的网络计费类型。如果不指定,则不会分配公网IP地址。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// TrafficPackageSize 流量包订购大小。单位为TB。该值必须在`internetChargeType = ByTrafficPackage`时才会生效。
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
// Bandwidth 公网出带宽上限。单位:Mbps。当分配公网IP时需要指定。
Bandwidth *int `json:"bandwidth,omitempty"`
// EipBindType 公网IP的绑定模式。当分配公网IP时需要指定。
EipBindType *string `json:"eipBindType,omitempty"`
// EipV4Type 公网IPv4的线路类型。当分配公网IP时需要指定。请确保所选子网的堆栈类型支持`IPv4`。目前不支持三线IP随实例一起创建。
EipV4Type *string `json:"eipV4Type,omitempty"`
// ClusterId 共享带宽包ID。当网络计费方式是共享带宽包计费(`BandwidthCluster`)时需要指定。
ClusterId *string `json:"clusterId,omitempty"`
// ResourceGroupId 创建后实例所在的资源组ID,如不指定则放入默认资源组。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// MarketingOptions 市场营销的相关选项。
MarketingOptions *MarketingInfo `json:"marketingOptions,omitempty"`
// Tags 创建实例时关联的标签。注意:·关联`标签键`不能重复。
Tags *TagAssociation `json:"tags,omitempty"`
}
CreateZecInstancesRequest 创建虚拟机实例的请求参数。
func NewCreateZecInstancesRequest ¶
func NewCreateZecInstancesRequest() (request *CreateZecInstancesRequest)
type CreateZecInstancesResponse ¶
type CreateZecInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *CreateZecInstancesResponseParams `json:"response,omitempty"`
}
func NewCreateZecInstancesResponse ¶
func NewCreateZecInstancesResponse() (response *CreateZecInstancesResponse)
type CreateZecInstancesResponseParams ¶
type CreateZecInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// OrderNumber 订单编号。
OrderNumber *string `json:"orderNumber,omitempty"`
// InstanceIdSet 虚拟机实例ID列表。
InstanceIdSet []string `json:"instanceIdSet,omitempty"`
// Instances 随机器创建的数据盘id集合。如果请求中没有指定数据盘,返回空数组。
Instances []*DiskWithInstance `json:"instances,omitempty"`
}
CreateZecInstancesResponseParams 创建虚拟机实例的响应结果。
type DataDisk ¶
type DataDisk struct {
// DiskId 数据盘ID。该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`CreateInstances`等写接口的入参。
DiskId *string `json:"diskId,omitempty"`
// DiskName 云盘的名称。该参数目前仅用于DescribeInstances等查询类接口的返回参数。
DiskName *string `json:"diskName,omitempty"`
// DiskSize 数据盘大小。单位:GiB。
DiskSize *int `json:"diskSize,omitempty"`
// DiskAmount 数据盘数量。该参数仅用于`CreateInstances`,`InquiryPriceCreateInstance`等接口的入参使用。
DiskAmount *int `json:"diskAmount,omitempty"`
// Portable 是否可拆卸。该参数仅用于查询的回参,不用于入参。true代表不会随着实例删除而删除。false代表会随着实例删除而删除。
Portable *bool `json:"portable,omitempty"`
// DiskCategory 云硬盘种类。Basic NVMe SSD: 经济型 NVMe SSD。Standard NVMe SSD: 标准型 NVMe SSD。默认为Standard NVMe SSD。
DiskCategory *string `json:"diskCategory,omitempty"`
}
DataDisk 描述了数据盘的信息。
type DeleteAutoSnapshotPoliciesRequest ¶
type DeleteAutoSnapshotPoliciesRequest struct {
*common.BaseRequest
// AutoSnapshotPolicyIds 要删除的自动快照策略ID列表。
AutoSnapshotPolicyIds []string `json:"autoSnapshotPolicyIds,omitempty"`
}
func NewDeleteAutoSnapshotPoliciesRequest ¶
func NewDeleteAutoSnapshotPoliciesRequest() (request *DeleteAutoSnapshotPoliciesRequest)
type DeleteAutoSnapshotPoliciesResponse ¶
type DeleteAutoSnapshotPoliciesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteAutoSnapshotPoliciesResponse ¶
func NewDeleteAutoSnapshotPoliciesResponse() (response *DeleteAutoSnapshotPoliciesResponse)
type DeleteBorderGatewayRequest ¶
type DeleteBorderGatewayRequest struct {
*common.BaseRequest
// ZbgId 要删除的边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
}
DeleteBorderGatewayRequest 删除边界网关的请求信息。
func NewDeleteBorderGatewayRequest ¶
func NewDeleteBorderGatewayRequest() (request *DeleteBorderGatewayRequest)
type DeleteBorderGatewayResponse ¶
type DeleteBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteBorderGatewayResponse ¶
func NewDeleteBorderGatewayResponse() (response *DeleteBorderGatewayResponse)
type DeleteCidrRequest ¶
type DeleteCidrRequest struct {
*common.BaseRequest
// CidrId 要删除的CIDR ID。
CidrId *string `json:"cidrId,omitempty"`
}
DeleteCidrRequest 描述删除CIDR请求信息。
func NewDeleteCidrRequest ¶
func NewDeleteCidrRequest() (request *DeleteCidrRequest)
type DeleteCidrResponse ¶
type DeleteCidrResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteCidrResponse ¶
func NewDeleteCidrResponse() (response *DeleteCidrResponse)
type DeleteDnatEntryRequest ¶
type DeleteDnatEntryRequest struct {
*common.BaseRequest
// DnatEntryId DNAT规则 ID。
DnatEntryId *string `json:"dnatEntryId,omitempty"`
}
func NewDeleteDnatEntryRequest ¶
func NewDeleteDnatEntryRequest() (request *DeleteDnatEntryRequest)
type DeleteDnatEntryResponse ¶
type DeleteDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteDnatEntryResponse ¶
func NewDeleteDnatEntryResponse() (response *DeleteDnatEntryResponse)
type DeleteEipRequest ¶
type DeleteEipRequest struct {
*common.BaseRequest
// EipId 要删除弹性公网IP的ID。
EipId *string `json:"eipId,omitempty"`
}
DeleteEipRequest 删除弹性公网IP的请求参数。
func NewDeleteEipRequest ¶
func NewDeleteEipRequest() (request *DeleteEipRequest)
type DeleteEipResponse ¶
type DeleteEipResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteEipResponse ¶
func NewDeleteEipResponse() (response *DeleteEipResponse)
type DeleteImagesRequest ¶ added in v0.2.2
type DeleteImagesRequest struct {
*common.BaseRequest
// ImageIds 镜像ID列表。
ImageIds []string `json:"imageIds,omitempty"`
}
func NewDeleteImagesRequest ¶ added in v0.2.2
func NewDeleteImagesRequest() (request *DeleteImagesRequest)
type DeleteImagesResponse ¶ added in v0.2.2
type DeleteImagesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DeleteImagesResponseParams `json:"response,omitempty"`
}
func NewDeleteImagesResponse ¶ added in v0.2.2
func NewDeleteImagesResponse() (response *DeleteImagesResponse)
type DeleteImagesResponseParams ¶ added in v0.2.2
type DeleteNatGatewayRequest ¶
type DeleteNatGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewDeleteNatGatewayRequest ¶
func NewDeleteNatGatewayRequest() (request *DeleteNatGatewayRequest)
type DeleteNatGatewayResponse ¶
type DeleteNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteNatGatewayResponse ¶
func NewDeleteNatGatewayResponse() (response *DeleteNatGatewayResponse)
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct {
*common.BaseRequest
// NicId 要删除的网卡ID。
NicId *string `json:"nicId,omitempty"`
}
DeleteNetworkInterfaceRequest 删除网卡的请求参数。
func NewDeleteNetworkInterfaceRequest ¶
func NewDeleteNetworkInterfaceRequest() (request *DeleteNetworkInterfaceRequest)
type DeleteNetworkInterfaceResponse ¶
type DeleteNetworkInterfaceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteNetworkInterfaceResponse ¶
func NewDeleteNetworkInterfaceResponse() (response *DeleteNetworkInterfaceResponse)
type DeleteRouteRequest ¶
type DeleteRouteRequest struct {
*common.BaseRequest
// RouteId 路由ID。
RouteId *string `json:"routeId,omitempty"`
}
DeleteRouteRequest 删除路由的请求信息。
func NewDeleteRouteRequest ¶
func NewDeleteRouteRequest() (request *DeleteRouteRequest)
type DeleteRouteResponse ¶
type DeleteRouteResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteRouteResponse ¶
func NewDeleteRouteResponse() (response *DeleteRouteResponse)
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct {
*common.BaseRequest
// SecurityGroupId 要删除的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
func NewDeleteSecurityGroupRequest ¶
func NewDeleteSecurityGroupRequest() (request *DeleteSecurityGroupRequest)
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteSecurityGroupResponse ¶
func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse)
type DeleteSnapshotsRequest ¶
type DeleteSnapshotsRequest struct {
*common.BaseRequest
// SnapshotIds 快照ID列表。
SnapshotIds []string `json:"snapshotIds,omitempty"`
}
func NewDeleteSnapshotsRequest ¶
func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)
type DeleteSnapshotsResponse ¶
type DeleteSnapshotsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DeleteSnapshotsResponseParams `json:"response,omitempty"`
}
func NewDeleteSnapshotsResponse ¶
func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)
type DeleteSnapshotsResponseParams ¶
type DeleteSnapshotsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// SnapshotIds 操作失败的快照ID。
SnapshotIds []string `json:"snapshotIds,omitempty"`
}
DeleteSnapshotsResponseParams 删除快照的响应信息。
type DeleteSnatEntryRequest ¶
type DeleteSnatEntryRequest struct {
*common.BaseRequest
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
}
func NewDeleteSnatEntryRequest ¶
func NewDeleteSnatEntryRequest() (request *DeleteSnatEntryRequest)
type DeleteSnatEntryResponse ¶
type DeleteSnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteSnatEntryResponse ¶
func NewDeleteSnatEntryResponse() (response *DeleteSnatEntryResponse)
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct {
*common.BaseRequest
// SubnetId 要删除的子网ID。
SubnetId *string `json:"subnetId,omitempty"`
}
DeleteSubnetRequest 删除子网的请求参数。
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteSubnetResponse ¶
func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)
type DeleteVpcRequest ¶
type DeleteVpcRequest struct {
*common.BaseRequest
// VpcId 要删除的VPC ID。
VpcId *string `json:"vpcId,omitempty"`
}
DeleteVpcRequest 删除VPC的响应信息。
func NewDeleteVpcRequest ¶
func NewDeleteVpcRequest() (request *DeleteVpcRequest)
type DeleteVpcResponse ¶
type DeleteVpcResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteVpcResponse ¶
func NewDeleteVpcResponse() (response *DeleteVpcResponse)
type DescribeAutoSnapshotPoliciesRequest ¶
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"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
DescribeAutoSnapshotPoliciesRequest 自动快照策略列表的请求参数。
func NewDescribeAutoSnapshotPoliciesRequest ¶
func NewDescribeAutoSnapshotPoliciesRequest() (request *DescribeAutoSnapshotPoliciesRequest)
type DescribeAutoSnapshotPoliciesResponse ¶
type DescribeAutoSnapshotPoliciesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeAutoSnapshotPoliciesResponseParams `json:"response,omitempty"`
}
func NewDescribeAutoSnapshotPoliciesResponse ¶
func NewDescribeAutoSnapshotPoliciesResponse() (response *DescribeAutoSnapshotPoliciesResponse)
type DescribeAutoSnapshotPoliciesResponseParams ¶
type DescribeAutoSnapshotPoliciesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// DataSet 查询的自动快照策略数据结果。
DataSet []*AutoSnapshotPolicy `json:"dataSet,omitempty"`
// TotalCount 符合匹配的总数量。
TotalCount *int `json:"totalCount,omitempty"`
}
DescribeAutoSnapshotPoliciesResponseParams 查询自动快照策略的响应值。
type DescribeAvailableBorderGatewayRequest ¶
type DescribeAvailableBorderGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
DescribeAvailableBorderGatewayRequest 获取可绑定NAT的边界网关的请求信息。
func NewDescribeAvailableBorderGatewayRequest ¶
func NewDescribeAvailableBorderGatewayRequest() (request *DescribeAvailableBorderGatewayRequest)
type DescribeAvailableBorderGatewayResponse ¶
type DescribeAvailableBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeAvailableBorderGatewayResponseParams `json:"response,omitempty"`
}
func NewDescribeAvailableBorderGatewayResponse ¶
func NewDescribeAvailableBorderGatewayResponse() (response *DescribeAvailableBorderGatewayResponse)
type DescribeAvailableBorderGatewayResponseParams ¶
type DescribeAvailableBorderGatewayResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// ZbgId 可绑定NAT的边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
}
DescribeAvailableBorderGatewayResponseParams 可绑定NAT的边界网关的相应信息。
type DescribeAvailableNatsRequest ¶
type DescribeAvailableNatsRequest struct {
*common.BaseRequest
// ZbgId 要查询需要绑定的边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
}
DescribeAvailableNatsRequest 请求可用NAT网关的请求信息。
func NewDescribeAvailableNatsRequest ¶
func NewDescribeAvailableNatsRequest() (request *DescribeAvailableNatsRequest)
type DescribeAvailableNatsResponse ¶
type DescribeAvailableNatsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeAvailableNatsResponseParams `json:"response,omitempty"`
}
func NewDescribeAvailableNatsResponse ¶
func NewDescribeAvailableNatsResponse() (response *DescribeAvailableNatsResponse)
type DescribeAvailableNatsResponseParams ¶
type DescribeAvailableNatsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// NatIds 可以绑定边界网关的NAT ID集合。
NatIds []string `json:"natIds,omitempty"`
}
DescribeAvailableNatsResponseParams 查询可以绑定边界网关的NAT响应信息。
type DescribeBorderGatewaysRequest ¶
type DescribeBorderGatewaysRequest struct {
*common.BaseRequest
// ZbgIds 根据边界网关ID列表过滤。
ZbgIds []string `json:"zbgIds,omitempty"`
// Name 根据网关名称过滤。支持模糊搜索。
Name *string `json:"name,omitempty"`
// RegionId 根据边界网关所在的节点过滤。
RegionId *string `json:"regionId,omitempty"`
// VpcId 根据边界网关所属的VPC ID过滤。
VpcId *string `json:"vpcId,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
}
func NewDescribeBorderGatewaysRequest ¶
func NewDescribeBorderGatewaysRequest() (request *DescribeBorderGatewaysRequest)
type DescribeBorderGatewaysResponse ¶
type DescribeBorderGatewaysResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeBorderGatewaysResponseParams `json:"response,omitempty"`
}
func NewDescribeBorderGatewaysResponse ¶
func NewDescribeBorderGatewaysResponse() (response *DescribeBorderGatewaysResponse)
type DescribeBorderGatewaysResponseParams ¶
type DescribeBorderGatewaysResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 边界网关的列表数据。
DataSet []*ZbgInfo `json:"dataSet,omitempty"`
}
DescribeBorderGatewaysResponseParams 查询边界网关列表的响应结果。
type DescribeCidrPriceRequest ¶
type DescribeCidrPriceRequest struct {
*common.BaseRequest
// RegionId 查询CIDR所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// EipV4Type 查询CIDR的IP线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// Netmask 需要查询的CIDR子网数量和掩码信息。
Netmask *NetmaskInfo `json:"netmask,omitempty"`
}
DescribeCidrPriceRequest 查询CIDR价格的请求信息。
func NewDescribeCidrPriceRequest ¶
func NewDescribeCidrPriceRequest() (request *DescribeCidrPriceRequest)
type DescribeCidrPriceResponse ¶
type DescribeCidrPriceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeCidrPriceResponseParams `json:"response,omitempty"`
}
func NewDescribeCidrPriceResponse ¶
func NewDescribeCidrPriceResponse() (response *DescribeCidrPriceResponse)
type DescribeCidrPriceResponseParams ¶
type DescribeCidrPriceResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// CidrPrice CIDR的价格信息。
CidrPrice *PriceItem `json:"cidrPrice,omitempty"`
}
DescribeCidrPriceResponseParams 查询CIDR价格的响应信息。
type DescribeCidrRegionsRequest ¶
type DescribeCidrRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeCidrRegionsRequest ¶
func NewDescribeCidrRegionsRequest() (request *DescribeCidrRegionsRequest)
type DescribeCidrRegionsResponse ¶
type DescribeCidrRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeCidrRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeCidrRegionsResponse ¶
func NewDescribeCidrRegionsResponse() (response *DescribeCidrRegionsResponse)
type DescribeCidrRegionsResponseParams ¶
type DescribeCidrRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RegionIds 支持售卖CIDR的节点ID。
RegionIds []string `json:"regionIds,omitempty"`
}
DescribeCidrRegionsResponseParams 支持售卖CIDR的响应信息。
type DescribeCidrsRequest ¶
type DescribeCidrsRequest struct {
*common.BaseRequest
// CidrIds 一个或多个待操作的Cidr ID,根据cidrId进行过滤。
CidrIds []string `json:"cidrIds,omitempty"`
// RegionId 根据CIDR所在的节点ID进行过滤。
RegionId *string `json:"regionId,omitempty"`
// Name 根据CIDR名称进行过滤,支持模糊查询。
Name *string `json:"name,omitempty"`
// CidrBlock 根据CIDR地址进行过滤。
CidrBlock *string `json:"cidrBlock,omitempty"`
// Source 根据CIDR来源进行过滤。
Source *string `json:"source,omitempty"`
// ResourceGroupId 根据资源组ID进行过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// PageSize 返回的分页大小,默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数,默认为1。
PageNum *int `json:"pageNum,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
DescribeCidrsRequest 查询CIDR列表的请求信息。
func NewDescribeCidrsRequest ¶
func NewDescribeCidrsRequest() (request *DescribeCidrsRequest)
type DescribeCidrsResponse ¶
type DescribeCidrsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeCidrsResponseParams `json:"response,omitempty"`
}
func NewDescribeCidrsResponse ¶
func NewDescribeCidrsResponse() (response *DescribeCidrsResponse)
type DescribeCidrsResponseParams ¶
type DescribeCidrsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 查询CIDR地址的结果数据。
DataSet []*CidrInfo `json:"dataSet,omitempty"`
}
DescribeCidrsResponseParams 查询CIDR地址的响应信息。
type DescribeDiskCategoryItem ¶
type DescribeDiskCategoryItem struct {
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// CategorySet 支持的云硬盘类型。
CategorySet []string `json:"categorySet,omitempty"`
}
DescribeDiskCategoryItem 描述可用区支持的云盘类型的信息。
type DescribeDiskCategoryRequest ¶
type DescribeDiskCategoryRequest struct {
*common.BaseRequest
// ZoneId 根据可用区ID筛选。
ZoneId *string `json:"zoneId,omitempty"`
// DiskCategory 根据云硬盘种类筛选。Basic NVMe SSD: 经济型 NVMe SSD。Standard NVMe SSD: 标准型 NVMe SSD。默认为Standard NVMe SSD。
DiskCategory *string `json:"diskCategory,omitempty"`
}
DescribeDiskCategoryRequest 查询云硬盘支持的类型的请求信息。
func NewDescribeDiskCategoryRequest ¶
func NewDescribeDiskCategoryRequest() (request *DescribeDiskCategoryRequest)
type DescribeDiskCategoryResponse ¶
type DescribeDiskCategoryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeDiskCategoryResponseParams `json:"response,omitempty"`
}
func NewDescribeDiskCategoryResponse ¶
func NewDescribeDiskCategoryResponse() (response *DescribeDiskCategoryResponse)
type DescribeDiskCategoryResponseParams ¶
type DescribeDiskCategoryResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// CategoryZoneSet 可用区支持的云盘类型。
CategoryZoneSet []*DescribeDiskCategoryItem `json:"categoryZoneSet,omitempty"`
}
DescribeDiskCategoryResponseParams 获取某个区域支持的云盘类型响应结果。
type DescribeDiskRegionsRequest ¶
type DescribeDiskRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeDiskRegionsRequest ¶
func NewDescribeDiskRegionsRequest() (request *DescribeDiskRegionsRequest)
type DescribeDiskRegionsResponse ¶
type DescribeDiskRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeDiskRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeDiskRegionsResponse ¶
func NewDescribeDiskRegionsResponse() (response *DescribeDiskRegionsResponse)
type DescribeDiskRegionsResponseParams ¶
type DescribeDiskRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RegionIds 支持售卖云硬盘的节点ID列表。
RegionIds []string `json:"regionIds,omitempty"`
}
DescribeDiskRegionsResponseParams 支持售卖云硬盘的节点响应结果。
type DescribeDisksRequest ¶
type DescribeDisksRequest struct {
*common.BaseRequest
// DiskIds 根据云盘ID列表筛选。
DiskIds []string `json:"diskIds,omitempty"`
// DiskName 根据云盘名称筛选,该字段支持模糊搜索。
DiskName *string `json:"diskName,omitempty"`
// DiskStatus 根据云盘的状态进行筛选。
DiskStatus *string `json:"diskStatus,omitempty"`
// DiskType 根据云盘的类型进行筛选。
DiskType *string `json:"diskType,omitempty"`
// DiskCategory 根据云盘的分类进行筛选。
DiskCategory *string `json:"diskCategory,omitempty"`
// InstanceId 根据云盘挂载的实例ID进行筛选。
InstanceId *string `json:"instanceId,omitempty"`
// ZoneId 根据云盘所在的可用区进行筛选。
ZoneId *string `json:"zoneId,omitempty"`
// PageNum 返回的分页大小。默认为20,最大为1000。
PageNum *int `json:"pageNum,omitempty"`
// PageSize 返回的分页数。默认为1。
PageSize *int `json:"pageSize,omitempty"`
// RegionId 根据云盘所在的节点ID进行筛选。
RegionId *string `json:"regionId,omitempty"`
// SnapshotAbility 根据云盘是否有快照能力进行筛选。
SnapshotAbility *bool `json:"snapshotAbility,omitempty"`
// ResourceGroupId 根据快照所属的资源组进行筛选。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
DescribeDisksRequest 查询云盘列表的请求参数。
func NewDescribeDisksRequest ¶
func NewDescribeDisksRequest() (request *DescribeDisksRequest)
type DescribeDisksResponse ¶
type DescribeDisksResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeDisksResponseParams `json:"response,omitempty"`
}
func NewDescribeDisksResponse ¶
func NewDescribeDisksResponse() (response *DescribeDisksResponse)
type DescribeDisksResponseParams ¶
type DescribeDisksResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int64 `json:"totalCount,omitempty"`
// DataSet 云盘的结果集。
DataSet []*DiskInfo `json:"dataSet,omitempty"`
}
DescribeDisksResponseParams 描述快照列表的响应信息。
type DescribeEipInternetChargeTypesRequest ¶
type DescribeEipInternetChargeTypesRequest struct {
*common.BaseRequest
// RegionId 查询的节点ID。
RegionId *string `json:"regionId,omitempty"`
// EipV4Type EIP IP线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
}
DescribeEipInternetChargeTypesRequest 查询EIP支持的IP网络类型的请求信息。
func NewDescribeEipInternetChargeTypesRequest ¶
func NewDescribeEipInternetChargeTypesRequest() (request *DescribeEipInternetChargeTypesRequest)
type DescribeEipInternetChargeTypesResponse ¶
type DescribeEipInternetChargeTypesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipInternetChargeTypesResponseParams `json:"response,omitempty"`
}
func NewDescribeEipInternetChargeTypesResponse ¶
func NewDescribeEipInternetChargeTypesResponse() (response *DescribeEipInternetChargeTypesResponse)
type DescribeEipInternetChargeTypesResponseParams ¶
type DescribeEipInternetChargeTypesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InternetChargeTypes IP支持的网络计费方式。
InternetChargeTypes []string `json:"internetChargeTypes,omitempty"`
}
DescribeEipInternetChargeTypesResponseParams 查询EIP支持的网络计费模式的响应值。
type DescribeEipMonitorDataRequest ¶
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 ¶
func NewDescribeEipMonitorDataRequest() (request *DescribeEipMonitorDataRequest)
type DescribeEipMonitorDataResponse ¶
type DescribeEipMonitorDataResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipMonitorDataResponseParams `json:"response,omitempty"`
}
func NewDescribeEipMonitorDataResponse ¶
func NewDescribeEipMonitorDataResponse() (response *DescribeEipMonitorDataResponse)
type DescribeEipMonitorDataResponseParams ¶
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 ¶
type DescribeEipPriceRequest struct {
*common.BaseRequest
// RegionId 创建EIP所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// InternetChargeType 公网弹性IP的网络计费方式。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// Amount 需要创建EIP的数量。
Amount *int `json:"amount,omitempty"`
// EipV4Type 公网弹性IP的线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// Bandwidth 公网弹性IP的带宽限速。单位:Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// FlowPackage 公网IPv6的流量包大小。单位为TB。值要求为0或0.1的倍数。当子网的堆栈类型包括V6且为公网时,且网络计费方式是流量计费(`ByTrafficPackage`)需要指定。
FlowPackage *float64 `json:"flowPackage,omitempty"`
// CidrId 指定CIDR ID,使用CIDR内分配弹性IP。该字段和`eipV4Type`不能同时指定。
CidrId *string `json:"cidrId,omitempty"`
// ClusterId 公网IPv6所指定的共享带宽包ID。当子网的堆栈类型包括V6且为公网时,且网络计费方式是共享带宽包计费(`BandwidthCluster`)需要指定。
ClusterId *string `json:"clusterId,omitempty"`
// PeerRegionId 远端的节点ID。
PeerRegionId *string `json:"peerRegionId,omitempty"`
}
DescribeEipPriceRequest 查询公网弹性IP的价格。
func NewDescribeEipPriceRequest ¶
func NewDescribeEipPriceRequest() (request *DescribeEipPriceRequest)
type DescribeEipPriceResponse ¶
type DescribeEipPriceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipPriceResponseParams `json:"response,omitempty"`
}
func NewDescribeEipPriceResponse ¶
func NewDescribeEipPriceResponse() (response *DescribeEipPriceResponse)
type DescribeEipPriceResponseParams ¶
type DescribeEipPriceResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// EipPrice 公网弹性IP的保留价格。如果是通过cidr创建,则保留价格为null。
EipPrice *PriceItem `json:"eipPrice,omitempty"`
// BandwidthPrice 公网弹性IP的带宽价格。
BandwidthPrice *PriceItem `json:"bandwidthPrice,omitempty"`
}
DescribeEipPriceResponseParams 查询公网弹性IP的价格的响应结果。
type DescribeEipRegionsRequest ¶
type DescribeEipRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeEipRegionsRequest ¶
func NewDescribeEipRegionsRequest() (request *DescribeEipRegionsRequest)
type DescribeEipRegionsResponse ¶
type DescribeEipRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeEipRegionsResponse ¶
func NewDescribeEipRegionsResponse() (response *DescribeEipRegionsResponse)
type DescribeEipRegionsResponseParams ¶
type DescribeEipRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RegionIds 支持售卖EIP的节点ID。
RegionIds []string `json:"regionIds,omitempty"`
}
DescribeEipRegionsResponseParams 查询支持售卖EIP的节点响应结果。
type DescribeEipRemoteRegionsRequest ¶
type DescribeEipRemoteRegionsRequest struct {
*common.BaseRequest
// RegionId 查询的节点ID。
RegionId *string `json:"regionId,omitempty"`
// EipV4Type EIP IP线路类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
}
DescribeEipRemoteRegionsRequest
func NewDescribeEipRemoteRegionsRequest ¶
func NewDescribeEipRemoteRegionsRequest() (request *DescribeEipRemoteRegionsRequest)
type DescribeEipRemoteRegionsResponse ¶
type DescribeEipRemoteRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipRemoteRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeEipRemoteRegionsResponse ¶
func NewDescribeEipRemoteRegionsResponse() (response *DescribeEipRemoteRegionsResponse)
type DescribeEipRemoteRegionsResponseParams ¶
type DescribeEipRemoteRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// PeerRegionIds 支持的远端的节点ID列表。
PeerRegionIds []string `json:"peerRegionIds,omitempty"`
}
DescribeEipRemoteRegionsResponseParams 查询EIP支持的远程指向的节点信息的响应信息。
type DescribeEipTrafficRequest ¶
type DescribeEipTrafficRequest struct {
*common.BaseRequest
// EipId 要查询的弹性IP ID。
EipId *string `json:"eipId,omitempty"`
// StartTime 查询开始时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-ddTHH:mm:ssZ。
StartTime *string `json:"startTime,omitempty"`
// EndTime 查询结束时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-ddTHH:mm:ssZ。
EndTime *string `json:"endTime,omitempty"`
// Step 查询数据点间隔。单位为分钟。支持参数:1,5。
Step *int `json:"step,omitempty"`
// WanIp 指定IP查询,该字段用于三线IP,可以指定IP地址查询流量。
WanIp *string `json:"wanIp,omitempty"`
}
DescribeEipTrafficRequest 查询Eip指定时间段内的流量信息的请求信息。
func NewDescribeEipTrafficRequest ¶
func NewDescribeEipTrafficRequest() (request *DescribeEipTrafficRequest)
type DescribeEipTrafficResponse ¶
type DescribeEipTrafficResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipTrafficResponseParams `json:"response,omitempty"`
}
func NewDescribeEipTrafficResponse ¶
func NewDescribeEipTrafficResponse() (response *DescribeEipTrafficResponse)
type DescribeEipTrafficResponseParams ¶
type DescribeEipTrafficResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// DataList 查询的数据点。
DataList []*EipTrafficData `json:"dataList,omitempty"`
// In95 入方向带宽95值。单位:bps。
In95 *int64 `json:"in95,omitempty"`
// InAvg 入方向带宽平均值。单位:bps。
InAvg *int64 `json:"inAvg,omitempty"`
// InMax 入方向带宽的最大值。单位:bps。
InMax *int64 `json:"inMax,omitempty"`
// InMin 入方向带宽的最小值。单位:bps。
InMin *int64 `json:"inMin,omitempty"`
// InTotal 入方向的总字节。单位:Byte。
InTotal *int64 `json:"inTotal,omitempty"`
// Out95 出方向带宽95值。单位:bps。
Out95 *int64 `json:"out95,omitempty"`
// OutAvg 出方向带宽平均值。单位:bps。
OutAvg *int64 `json:"outAvg,omitempty"`
// OutMax 出方向带宽最大值。单位:bps。
OutMax *int64 `json:"outMax,omitempty"`
// OutMin 出方向带宽最小值。单位:bps。
OutMin *int64 `json:"outMin,omitempty"`
// OutTotal 入方向的总字节。单位:bps。
OutTotal *int64 `json:"outTotal,omitempty"`
}
DescribeEipTrafficResponseParams 查询弹性公网IP指定时间段内的流量信息的响应值。
type DescribeEipsRequest ¶
type DescribeEipsRequest struct {
*common.BaseRequest
// EipIds 按照 EIP 的唯一 ID 过滤。
EipIds []string `json:"eipIds,omitempty"`
// RegionId 按照 EIP 所属节点ID过滤。
RegionId *string `json:"regionId,omitempty"`
// Name 按照 EIP 的显示名称过滤,该字段支持模糊匹配。
Name *string `json:"name,omitempty"`
// Status 按照 EIP 的状态过滤。
Status *string `json:"status,omitempty"`
// IsDefault 按照 EIP 的默认属性进行过滤。
IsDefault *bool `json:"isDefault,omitempty"`
// PageSize 返回的分页大小。默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页页码。默认为1。
PageNum *int `json:"pageNum,omitempty"`
// PrivateIpAddress 按照 EIP 绑定的内网 IP 过滤。
PrivateIpAddress *string `json:"privateIpAddress,omitempty"`
// IpAddress 按照 EIP 的 IP 过滤。
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 按照 EIP 所属的资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
func NewDescribeEipsRequest ¶
func NewDescribeEipsRequest() (request *DescribeEipsRequest)
type DescribeEipsResponse ¶
type DescribeEipsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeEipsResponseParams `json:"response,omitempty"`
}
func NewDescribeEipsResponse ¶
func NewDescribeEipsResponse() (response *DescribeEipsResponse)
type DescribeImagesRequest ¶
type DescribeImagesRequest struct {
*common.BaseRequest
// ZoneId 查询镜像所在的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// ImageIds 镜像ID列表。
ImageIds []string `json:"imageIds,omitempty"`
// ImageName 根据镜像名称过滤。该字段支持模糊搜索。
ImageName *string `json:"imageName,omitempty"`
// Category 镜像所属分类。
Category *string `json:"category,omitempty"`
// ImageType 镜像类型。
ImageType *string `json:"imageType,omitempty"`
// OsType 操作系统类型。
OsType *string `json:"osType,omitempty"`
// ImageStatus 镜像的状态。
ImageStatus *string `json:"imageStatus,omitempty"`
// PageNum 返回的分页页码。默认为1。
PageNum *int `json:"pageNum,omitempty"`
// PageSize 返回的分页大小。默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
DescribeImagesRequest 描述镜像的请求信息
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest() (request *DescribeImagesRequest)
type DescribeImagesResponse ¶
type DescribeImagesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeImagesResponseParams `json:"response,omitempty"`
}
func NewDescribeImagesResponse ¶
func NewDescribeImagesResponse() (response *DescribeImagesResponse)
type DescribeImagesResponseParams ¶
type DescribeImagesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 镜像列表数据。
DataSet []*Image `json:"dataSet,omitempty"`
}
DescribeImagesResponseParams 描述镜像列表的响应信息。
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 ¶
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 ¶
type DescribeInstancesRequest struct {
*common.BaseRequest
// InstanceIds 根据实例ID列表进行筛选。最大不能超过100个。
InstanceIds []string `json:"instanceIds,omitempty"`
// ZoneId 实例所属的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// ImageId 镜像ID。
ImageId *string `json:"imageId,omitempty"`
// Ipv4Address 根据实例关联的IPv4过滤。
Ipv4Address *string `json:"ipv4Address,omitempty"`
// Ipv6Address 根据实例关联的IPv6信息过滤。
Ipv6Address *string `json:"ipv6Address,omitempty"`
// Status 根据实例的状态过滤。
Status *string `json:"status,omitempty"`
// Name 根据实例显示名称过滤。该字段支持模糊搜索。
Name *string `json:"name,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
// ResourceGroupId 根据资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
DescribeInstancesRequest 描述实例列表的请求参数。
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeInstancesResponseParams `json:"response,omitempty"`
}
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 实例列表的数据。
DataSet []*InstanceInfo `json:"dataSet,omitempty"`
}
DescribeInstancesResponseParams 描述实例列表的请求参数。
type DescribeInstancesStatusRequest ¶
type DescribeInstancesStatusRequest struct {
*common.BaseRequest
// InstanceIds 要查询的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
// PageSize 分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 分页页数。
PageNum *int `json:"pageNum,omitempty"`
// ResourceGroupId 根据资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
DescribeInstancesStatusRequest 查询实例状态的请求参数。
func NewDescribeInstancesStatusRequest ¶
func NewDescribeInstancesStatusRequest() (request *DescribeInstancesStatusRequest)
type DescribeInstancesStatusResponse ¶
type DescribeInstancesStatusResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeInstancesStatusResponseParams `json:"response,omitempty"`
}
func NewDescribeInstancesStatusResponse ¶
func NewDescribeInstancesStatusResponse() (response *DescribeInstancesStatusResponse)
type DescribeInstancesStatusResponseParams ¶
type DescribeInstancesStatusResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 实例状态数据。
DataSet []*InstanceStatus `json:"dataSet,omitempty"`
}
DescribeInstancesStatusResponseParams 查询实例状态
type DescribeNatGatewayDetailRequest ¶
type DescribeNatGatewayDetailRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewDescribeNatGatewayDetailRequest ¶
func NewDescribeNatGatewayDetailRequest() (request *DescribeNatGatewayDetailRequest)
type DescribeNatGatewayDetailResponse ¶
type DescribeNatGatewayDetailResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNatGatewayDetailResponseParams `json:"response,omitempty"`
}
func NewDescribeNatGatewayDetailResponse ¶
func NewDescribeNatGatewayDetailResponse() (response *DescribeNatGatewayDetailResponse)
type DescribeNatGatewayDetailResponseParams ¶
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 ¶
type DescribeNatGatewayRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeNatGatewayRegionsRequest ¶
func NewDescribeNatGatewayRegionsRequest() (request *DescribeNatGatewayRegionsRequest)
type DescribeNatGatewayRegionsResponse ¶
type DescribeNatGatewayRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNatGatewayRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeNatGatewayRegionsResponse ¶
func NewDescribeNatGatewayRegionsResponse() (response *DescribeNatGatewayRegionsResponse)
type DescribeNatGatewaysRequest ¶
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"`
// SecurityGroupId 根据NAT网关所属的安全组ID过滤。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// PageSize 返回的分页大小。默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页页码。默认为1。
PageNum *int `json:"pageNum,omitempty"`
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
func NewDescribeNatGatewaysRequest ¶
func NewDescribeNatGatewaysRequest() (request *DescribeNatGatewaysRequest)
type DescribeNatGatewaysResponse ¶
type DescribeNatGatewaysResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNatGatewaysResponseParams `json:"response,omitempty"`
}
func NewDescribeNatGatewaysResponse ¶
func NewDescribeNatGatewaysResponse() (response *DescribeNatGatewaysResponse)
type DescribeNatGatewaysResponseParams ¶
type DescribeNatGatewaysResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 满足过滤条件的NAT网关总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 返回的NAT网关列表。
DataSet []*NatGateway `json:"dataSet,omitempty"`
}
type DescribeNetworkInterfacePublicIPv6Request ¶
type DescribeNetworkInterfacePublicIPv6Request struct {
*common.BaseRequest
// NicId 网卡ID。
NicId *string `json:"nicId,omitempty"`
}
func NewDescribeNetworkInterfacePublicIPv6Request ¶
func NewDescribeNetworkInterfacePublicIPv6Request() (request *DescribeNetworkInterfacePublicIPv6Request)
type DescribeNetworkInterfacePublicIPv6Response ¶
type DescribeNetworkInterfacePublicIPv6Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNetworkInterfacePublicIPv6ResponseParams `json:"response,omitempty"`
}
func NewDescribeNetworkInterfacePublicIPv6Response ¶
func NewDescribeNetworkInterfacePublicIPv6Response() (response *DescribeNetworkInterfacePublicIPv6Response)
type DescribeNetworkInterfacePublicIPv6ResponseParams ¶
type DescribeNetworkInterfacePublicIPv6ResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// Address 公网IPv6信息。网卡如果没有公网IPv6,则取值为空。
Address *PublicIpv6CidrAddress `json:"address,omitempty"`
}
type DescribeNetworkInterfaceRegionsRequest ¶
type DescribeNetworkInterfaceRegionsRequest struct {
*common.BaseRequest
}
func NewDescribeNetworkInterfaceRegionsRequest ¶
func NewDescribeNetworkInterfaceRegionsRequest() (request *DescribeNetworkInterfaceRegionsRequest)
type DescribeNetworkInterfaceRegionsResponse ¶
type DescribeNetworkInterfaceRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNetworkInterfaceRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeNetworkInterfaceRegionsResponse ¶
func NewDescribeNetworkInterfaceRegionsResponse() (response *DescribeNetworkInterfaceRegionsResponse)
type DescribeNetworkInterfaceRegionsResponseParams ¶
type DescribeNetworkInterfaceRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RegionIds 支持网卡的节点ID。
RegionIds []string `json:"regionIds,omitempty"`
}
DescribeNetworkInterfaceRegionsResponseParams 支持网卡的区域信息。
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct {
*common.BaseRequest
// NicIds 根据网卡ID过滤。最多传入100个ID。
NicIds []string `json:"nicIds,omitempty"`
// Name 根据网卡所属的名称过滤。该字段支持模糊搜索。
Name *string `json:"name,omitempty"`
// RegionId 根据网卡所属的节点 ID过滤。
RegionId *string `json:"regionId,omitempty"`
// VpcId 根据网卡所属的VPC ID过滤。
VpcId *string `json:"vpcId,omitempty"`
// SubnetId 根据网卡所属的子网ID过滤。
SubnetId *string `json:"subnetId,omitempty"`
// InstanceId 网卡关联的实例ID过滤。
InstanceId *string `json:"instanceId,omitempty"`
// Status 根据网卡的状态过滤。
Status *string `json:"status,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
// NicType 根据网卡的类型筛选过滤。
NicType *string `json:"nicType,omitempty"`
// ResourceGroupId 根据网卡所属的资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// SecurityGroupId 根据网卡所属的安全组ID过滤。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
func NewDescribeNetworkInterfacesRequest ¶
func NewDescribeNetworkInterfacesRequest() (request *DescribeNetworkInterfacesRequest)
type DescribeNetworkInterfacesResponse ¶
type DescribeNetworkInterfacesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeNetworkInterfacesResponseParams `json:"response,omitempty"`
}
func NewDescribeNetworkInterfacesResponse ¶
func NewDescribeNetworkInterfacesResponse() (response *DescribeNetworkInterfacesResponse)
type DescribeNetworkInterfacesResponseParams ¶
type DescribeNetworkInterfacesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 网卡的结果集。
DataSet []*NicInfo `json:"dataSet,omitempty"`
}
DescribeNetworkInterfacesResponseParams 网卡列表的响应结果。
type DescribePoolsRequest ¶
type DescribePoolsRequest struct {
*common.BaseRequest
// PoolIds 根据公网IP池的ID。
PoolIds []string `json:"poolIds,omitempty"`
// RegionId 根据公网IP池的所在节点ID过滤。
RegionId *string `json:"regionId,omitempty"`
// Name 根据公网IP池的名称过滤。支持模糊查询。
Name *string `json:"name,omitempty"`
// PageSize 返回的分页大小,默认为20,最大为1000。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数,默认为1。
PageNum *int `json:"pageNum,omitempty"`
}
DescribePoolsRequest 描述公网IP池的请求参数。
func NewDescribePoolsRequest ¶
func NewDescribePoolsRequest() (request *DescribePoolsRequest)
type DescribePoolsResponse ¶
type DescribePoolsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribePoolsResponseParams `json:"response,omitempty"`
}
func NewDescribePoolsResponse ¶
func NewDescribePoolsResponse() (response *DescribePoolsResponse)
type DescribePoolsResponseParams ¶
type DescribePoolsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 公网IP池列表的结果数据。
DataSet []*PoolInfo `json:"dataSet,omitempty"`
}
DescribePoolsResponseParams 描述公网IP池的请求参数。
type DescribeRoutesRequest ¶
type DescribeRoutesRequest struct {
*common.BaseRequest
// RouteIds 根据路由ID过滤。最多同时传入100个ID。
RouteIds []string `json:"routeIds,omitempty"`
// VpcId 根据路由关联的VPC ID过滤。
VpcId *string `json:"vpcId,omitempty"`
// IpVersion 根据IP类型过滤。支持`IPv4`和`IPv6`两种类型。
IpVersion *string `json:"ipVersion,omitempty"`
// RouteType 根据路由类型过滤。
RouteType *string `json:"routeType,omitempty"`
// Name 根据名称类型过滤。该字段支持模糊搜索。
Name *string `json:"name,omitempty"`
// DestinationCidrBlock 根据Ipv4或IPv6的目标网段过滤。例如:10.0.1.0/24。
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
}
func NewDescribeRoutesRequest ¶
func NewDescribeRoutesRequest() (request *DescribeRoutesRequest)
type DescribeRoutesResponse ¶
type DescribeRoutesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeRoutesResponseParams `json:"response,omitempty"`
}
func NewDescribeRoutesResponse ¶
func NewDescribeRoutesResponse() (response *DescribeRoutesResponse)
type DescribeRoutesResponseParams ¶
type DescribeRoutesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 路由列表数据。
DataSet []*RouteInfo `json:"dataSet,omitempty"`
}
DescribeRoutesResponseParams 描述路由列表的响应信息。
type DescribeSecurityGroupRuleRequest ¶
type DescribeSecurityGroupRuleRequest struct {
*common.BaseRequest
// SecurityGroupId 安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
func NewDescribeSecurityGroupRuleRequest ¶
func NewDescribeSecurityGroupRuleRequest() (request *DescribeSecurityGroupRuleRequest)
type DescribeSecurityGroupRuleResponse ¶
type DescribeSecurityGroupRuleResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSecurityGroupRuleResponseParams `json:"response,omitempty"`
}
func NewDescribeSecurityGroupRuleResponse ¶
func NewDescribeSecurityGroupRuleResponse() (response *DescribeSecurityGroupRuleResponse)
type DescribeSecurityGroupRuleResponseParams ¶
type DescribeSecurityGroupRuleResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// IngressRuleList 入方向规则列表。
IngressRuleList []*SecurityGroupRuleInfo `json:"ingressRuleList,omitempty"`
// EgressRuleList 出方向规则列表。
EgressRuleList []*SecurityGroupRuleInfo `json:"egressRuleList,omitempty"`
}
DescribeSecurityGroupRuleResponseParams 查询安全组规则的响应结果
type DescribeSecurityGroupsRequest ¶
type DescribeSecurityGroupsRequest struct {
*common.BaseRequest
// SecurityGroupIds 根据安全组ID列表筛选。
SecurityGroupIds []string `json:"securityGroupIds,omitempty"`
// SecurityGroupName 根据安全组名称筛选。支持模糊搜索。
SecurityGroupName *string `json:"securityGroupName,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
}
DescribeSecurityGroupsRequest 查询安全组列表的请求参数。
func NewDescribeSecurityGroupsRequest ¶
func NewDescribeSecurityGroupsRequest() (request *DescribeSecurityGroupsRequest)
type DescribeSecurityGroupsResponse ¶
type DescribeSecurityGroupsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSecurityGroupsResponseParams `json:"response,omitempty"`
}
func NewDescribeSecurityGroupsResponse ¶
func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsResponse)
type DescribeSecurityGroupsResponseParams ¶
type DescribeSecurityGroupsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 安全组的结果数据。
DataSet []*SecurityGroupInfo `json:"dataSet,omitempty"`
}
DescribeSecurityGroupsResponseParams 查询安全组列表的响应结果。
type DescribeSnapshotsRequest ¶
type DescribeSnapshotsRequest struct {
*common.BaseRequest
// SnapshotIds 根据快照ID列表进行过滤。
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"`
}
DescribeSnapshotsRequest 描述查询快照列表的请求信息。
func NewDescribeSnapshotsRequest ¶
func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)
type DescribeSnapshotsResponse ¶
type DescribeSnapshotsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSnapshotsResponseParams `json:"response,omitempty"`
}
func NewDescribeSnapshotsResponse ¶
func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)
type DescribeSnapshotsResponseParams ¶
type DescribeSnapshotsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 满足过滤条件的快照总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 返回的快照列表数据。
DataSet []*SnapshotInfo `json:"dataSet,omitempty"`
}
DescribeSnapshotsResponseParams 描述快照列表的响应信息。
type DescribeSubnetRegionsRequest ¶
type DescribeSubnetRegionsRequest struct {
*common.BaseRequest
// RegionIds 根据节点ID过滤。
RegionIds []string `json:"regionIds,omitempty"`
}
DescribeSubnetRegionsRequest 查询支持创建子网区域的请求信息。
func NewDescribeSubnetRegionsRequest ¶
func NewDescribeSubnetRegionsRequest() (request *DescribeSubnetRegionsRequest)
type DescribeSubnetRegionsResponse ¶
type DescribeSubnetRegionsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSubnetRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeSubnetRegionsResponse ¶
func NewDescribeSubnetRegionsResponse() (response *DescribeSubnetRegionsResponse)
type DescribeSubnetRegionsResponseParams ¶
type DescribeSubnetRegionsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// RegionSet 支持子网的节点信息。
RegionSet []*RegionInfo `json:"regionSet,omitempty"`
}
DescribeSubnetRegionsResponseParams 查询支持创建子网区域的响应信息
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct {
*common.BaseRequest
// SubnetIds 根据子网的ID进行筛选。
SubnetIds []string `json:"subnetIds,omitempty"`
// Name 根据子网的名称进行筛选。该字段支持模糊搜索。
Name *string `json:"name,omitempty"`
// CidrBlock 根据子网的CIDR进行筛选。
CidrBlock *string `json:"cidrBlock,omitempty"`
// RegionId 根据子网所在的节点进行筛选。
RegionId *string `json:"regionId,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
}
DescribeSubnetsRequest 查询子网列表的请求信息。
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeSubnetsResponseParams `json:"response,omitempty"`
}
func NewDescribeSubnetsResponse ¶
func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)
type DescribeSubnetsResponseParams ¶
type DescribeSubnetsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 符合条件的数据总数。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 子网的结果集。
DataSet []*SubnetInfo `json:"dataSet,omitempty"`
}
DescribeSubnetsResponseParams 子网列表的响应信息。
type DescribeTimeZonesRequest ¶
type DescribeTimeZonesRequest struct {
*common.BaseRequest
}
func NewDescribeTimeZonesRequest ¶
func NewDescribeTimeZonesRequest() (request *DescribeTimeZonesRequest)
type DescribeTimeZonesResponse ¶
type DescribeTimeZonesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeTimeZonesResponseParams `json:"response,omitempty"`
}
func NewDescribeTimeZonesResponse ¶
func NewDescribeTimeZonesResponse() (response *DescribeTimeZonesResponse)
type DescribeTimeZonesResponseParams ¶
type DescribeTimeZonesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TimeZones 所有的时区。
TimeZones []string `json:"timeZones,omitempty"`
}
DescribeTimeZonesResponseParams 查询时区的响应结果。
type DescribeVncUrlRequest ¶
type DescribeVncUrlRequest struct {
*common.BaseRequest
// InstanceId 要查询的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
DescribeVncUrlRequest 获取实例VNC地址的请求信息。
func NewDescribeVncUrlRequest ¶
func NewDescribeVncUrlRequest() (request *DescribeVncUrlRequest)
type DescribeVncUrlResponse ¶
type DescribeVncUrlResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeVncUrlResponseParams `json:"response,omitempty"`
}
func NewDescribeVncUrlResponse ¶
func NewDescribeVncUrlResponse() (response *DescribeVncUrlResponse)
type DescribeVncUrlResponseParams ¶
type DescribeVncUrlResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// Url VNC地址URL。
Url *string `json:"url,omitempty"`
}
DescribeVncUrlResponseParams 获取实例VNC地址的响应结果。
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct {
*common.BaseRequest
// VpcIds VPC的ID列表。最多可传100个ID。
VpcIds []string `json:"vpcIds,omitempty"`
// Name 根据VPC名称过滤。支持模糊查询。
Name *string `json:"name,omitempty"`
// CidrBlock 根据VPC的IPv4 CIDR过滤。支持模糊查询。
CidrBlock *string `json:"cidrBlock,omitempty"`
// PageSize 返回的分页大小。
PageSize *int `json:"pageSize,omitempty"`
// PageNum 返回的分页数。
PageNum *int `json:"pageNum,omitempty"`
// ResourceGroupId 根据资源组ID过滤。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// TagKeys 根据标签键进行搜索。 最长不得超过20个标签键。
TagKeys []string `json:"tagKeys,omitempty"`
// Tags 根据标签进行搜索。 最长不得超过20个标签。
Tags []*Tag `json:"tags,omitempty"`
}
func NewDescribeVpcsRequest ¶
func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeVpcsResponseParams `json:"response,omitempty"`
}
func NewDescribeVpcsResponse ¶
func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)
type DescribeVpcsResponseParams ¶
type DescribeVpcsResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// TotalCount 匹配筛选条件的vpc总数量。
TotalCount *int `json:"totalCount,omitempty"`
// DataSet 返回分页的vpc集合数据。
DataSet []*VpcInfo `json:"dataSet,omitempty"`
}
DescribeVpcsResponseParams 描述Vpc列表的响应结果。
type DescribeZoneInstanceConfigInfosRequest ¶
type DescribeZoneInstanceConfigInfosRequest struct {
*common.BaseRequest
// ZoneId 要查询的可用区ID。例如:asia-east-1a。
ZoneId *string `json:"zoneId,omitempty"`
// InstanceType 要查询的实例规格。例如:z2a.cpu.1。
InstanceType *string `json:"instanceType,omitempty"`
}
DescribeZoneInstanceConfigInfosRequest 查询可用区售卖的机型信息请求信息。
func NewDescribeZoneInstanceConfigInfosRequest ¶
func NewDescribeZoneInstanceConfigInfosRequest() (request *DescribeZoneInstanceConfigInfosRequest)
type DescribeZoneInstanceConfigInfosResponse ¶
type DescribeZoneInstanceConfigInfosResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeZoneInstanceConfigInfosResponseParams `json:"response,omitempty"`
}
func NewDescribeZoneInstanceConfigInfosResponse ¶
func NewDescribeZoneInstanceConfigInfosResponse() (response *DescribeZoneInstanceConfigInfosResponse)
type DescribeZoneInstanceConfigInfosResponseParams ¶
type DescribeZoneInstanceConfigInfosResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InstanceTypeQuotaSet 实例规格信息。
InstanceTypeQuotaSet []*InstanceTypeQuotaItem `json:"instanceTypeQuotaSet,omitempty"`
}
DescribeZoneInstanceConfigInfosResponseParams 查询可用区售卖的机型信息的响应结果
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*common.BaseRequest
// ZoneIds 根据可用区ID过滤。
ZoneIds []string `json:"zoneIds,omitempty"`
}
DescribeZonesRequest 查询可用区的请求信息。
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
type DescribeZonesResponse ¶
type DescribeZonesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *DescribeZonesResponseParams `json:"response,omitempty"`
}
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
type DescribeZonesResponseParams ¶
type DescribeZonesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// ZoneSet 可用区列表。
ZoneSet []*ZoneInfo `json:"zoneSet,omitempty"`
}
DescribeZonesResponseParams 查询可用区
type DetachDisksRequest ¶
type DetachDisksRequest struct {
*common.BaseRequest
// DiskIds 要卸载的云盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
// InstanceCheckFlag 是否检测实例的运行状态。 默认为true,即实例关机才允许被卸载。否则必须实例关机才能调用本接口。
InstanceCheckFlag *bool `json:"instanceCheckFlag,omitempty"`
}
DetachDisksRequest 云硬盘从主机实例上卸载的请求参数。
func NewDetachDisksRequest ¶
func NewDetachDisksRequest() (request *DetachDisksRequest)
type DetachDisksResponse ¶
type DetachDisksResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDetachDisksResponse ¶
func NewDetachDisksResponse() (response *DetachDisksResponse)
type DetachNetworkInterfaceRequest ¶
type DetachNetworkInterfaceRequest struct {
*common.BaseRequest
// NicId 需要操作的网卡ID。
NicId *string `json:"nicId,omitempty"`
}
DetachNetworkInterfaceRequest 解绑网卡的请求参数。
func NewDetachNetworkInterfaceRequest ¶
func NewDetachNetworkInterfaceRequest() (request *DetachNetworkInterfaceRequest)
type DetachNetworkInterfaceResponse ¶
type DetachNetworkInterfaceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDetachNetworkInterfaceResponse ¶
func NewDetachNetworkInterfaceResponse() (response *DetachNetworkInterfaceResponse)
type DiskInfo ¶
type DiskInfo struct {
// DiskId 云盘的 ID。
DiskId *string `json:"diskId,omitempty"`
// DiskName 云盘的名称。
DiskName *string `json:"diskName,omitempty"`
// RegionId 云盘所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// ZoneId 云盘所在节点的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// DiskType 云盘的类型。
DiskType *string `json:"diskType,omitempty"`
// Portable 是否可卸载。
Portable *bool `json:"portable,omitempty"`
// DiskCategory 云盘的类别。
DiskCategory *string `json:"diskCategory,omitempty"`
// DiskSize 云盘的大小。单位:GiB。
DiskSize *int `json:"diskSize,omitempty"`
// DiskStatus 云盘的状态。
DiskStatus *string `json:"diskStatus,omitempty"`
// InstanceId 云盘绑定实例的ID。
InstanceId *string `json:"instanceId,omitempty"`
// InstanceName 云盘绑定实例的名称。
InstanceName *string `json:"instanceName,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// ExpiredTime 到期时间。
ExpiredTime *string `json:"expiredTime,omitempty"`
// Period 周期。
Period *int `json:"period,omitempty"`
// ResourceGroupId 云盘所属的资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 云盘所属的资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
// Serial 云盘序号。可能为null,表示取不到值。
Serial *string `json:"serial,omitempty"`
// SnapshotAbility 是否具体快照能力。
SnapshotAbility *bool `json:"snapshotAbility,omitempty"`
// AutoSnapshotPolicyId 云盘关联的自动快照策略ID。
AutoSnapshotPolicyId *string `json:"autoSnapshotPolicyId,omitempty"`
// Tags 该云盘关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
DiskInfo 描述云盘的基本信息。
type DiskWithInstance ¶
type DiskWithInstance struct {
// InstanceId 实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// DiskIdSet 随机器创建的数据盘ID集合。
DiskIdSet []string `json:"diskIdSet,omitempty"`
}
DiskWithInstance 随机器创建的数据盘信息。
type DnatEntry ¶
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 EipGeoInfo ¶
type EipGeoInfo struct {
// DbIp 从DB-IP(db-ip.com)查询的地理信息。
DbIp *string `json:"dbIp,omitempty"`
// IpData 从ipData(ipdata.co)查询的地理信息。
IpData *string `json:"ipData,omitempty"`
// IpInfo 从IPinfo(ipinfo.io)查询的地理信息。
IpInfo *string `json:"ipInfo,omitempty"`
// MaxMind 从MaxMind查询的地理信息。
MaxMind *string `json:"maxMind,omitempty"`
// Standard 需要查询EIP的所在的地理信息。
Standard *string `json:"standard,omitempty"`
// IsConsistent 查询地理信息是否和所在的地理信息一致。
IsConsistent *bool `json:"isConsistent,omitempty"`
}
EipGeoInfo 基于DB-IP/ipdata/... 第三方IP数据库服务商查询到的 IP 地理信息结果。
type EipInfo ¶
type EipInfo struct {
// EipId EIP 的唯一 ID。
EipId *string `json:"eipId,omitempty"`
// Name EIP 的名称。
Name *string `json:"name,omitempty"`
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// PeerRegionId 对端节点ID。仅当IP为Remote IP时该字段有效。
PeerRegionId *string `json:"peerRegionId,omitempty"`
// IsDefault 是否是默认类型。
IsDefault *bool `json:"isDefault,omitempty"`
// Status EIP 的状态。
Status *string `json:"status,omitempty"`
// PublicIpAddresses 公网IP地址。
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
// PrivateIpAddress EIP 绑定的内网IP地址。
PrivateIpAddress *string `json:"privateIpAddress,omitempty"`
// EipV4Type EIP 的类型。
EipV4Type *string `json:"eipV4Type,omitempty"`
// InternetChargeType EIP 的网络计费方式。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// CidrId EIP 来自的CIDR地址段ID。
CidrId *string `json:"cidrId,omitempty"`
// NicId EIP 关联的网卡ID。 该字段已废弃,请使用 `associatedId` 字段。
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"`
// InstanceId EIP 绑定的实例ID。当且仅当`associatedType`字段为`NIC`时可能有值。
InstanceId *string `json:"instanceId,omitempty"`
// BindType EIP 绑定类型。
BindType *string `json:"bindType,omitempty"`
// FlowPackage EIP 流量包大小。 仅当网络计费方式为流量计费时可取到值。该字段可能为null。
FlowPackage *float64 `json:"flowPackage,omitempty"`
// Bandwidth EIP 的带宽限速。单位为Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// EipGeoRefs EIP 的地理位置信息。
EipGeoRefs []*EipGeoInfo `json:"eipGeoRefs,omitempty"`
// BlockInfoList EIP的封堵阈值。
BlockInfoList []*BlockInfo `json:"blockInfoList,omitempty"`
// CreateTime EIP 的创建时间。
CreateTime *string `json:"createTime,omitempty"`
// ExpiredTime EIP 的到期时间。该字段可能为null。
ExpiredTime *string `json:"expiredTime,omitempty"`
// ResourceGroupId EIP 关联的资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName EIP 关联的资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
// BandwidthCluster EIP 关联的带宽组ID。
BandwidthCluster *BandwidthClusterInfo `json:"bandwidthCluster,omitempty"`
// Tags EIP关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
EipInfo 描述公网弹性IP的基本信息,包括IPv4地址,IP绑定的关系。
type EipMetricValue ¶
type EipMetricValue struct {
// Time 数据点时间。
Time *string `json:"time,omitempty"`
// InValue 入方向值。
InValue *float64 `json:"inValue,omitempty"`
// OutValue 入方向值。
OutValue *float64 `json:"outValue,omitempty"`
// LoseIn 丢失入方向值。
LoseIn *float64 `json:"loseIn,omitempty"`
// LoseOut 丢失出方向值。
LoseOut *float64 `json:"loseOut,omitempty"`
}
EipMetricValue 描述EIP的监控指标数据。
type EipTrafficData ¶
type EipTrafficData struct {
// InternetRX 入方向带宽值。单位:bps。
InternetRX *int64 `json:"internetRX,omitempty"`
// InternetTX 出方向带宽值。单位:bps。
InternetTX *int64 `json:"internetTX,omitempty"`
// Time 数据时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-ddTHH:mm:ssZ。
Time *string `json:"time,omitempty"`
}
EipTrafficData 描述IP带宽的数据点信息。包括出/入方向的带宽。
type Image ¶
type Image struct {
// ImageId 镜像ID。
ImageId *string `json:"imageId,omitempty"`
// ImageName 镜像的名称。
ImageName *string `json:"imageName,omitempty"`
// ImageType 镜像的类型。
ImageType *string `json:"imageType,omitempty"`
// ImageSize 镜像的大小。
ImageSize *string `json:"imageSize,omitempty"`
// ImageDescription 镜像描述信息。
ImageDescription *string `json:"imageDescription,omitempty"`
// ImageVersion 镜像的版本。
ImageVersion *string `json:"imageVersion,omitempty"`
// ImageStatus 镜像的状态。
ImageStatus *string `json:"imageStatus,omitempty"`
// NicNetworkType 镜像支持的网卡类型。
NicNetworkType []string `json:"nicNetworkType,omitempty"`
// Category 镜像的分类。
Category *string `json:"category,omitempty"`
// OsType 操作系统类型。
OsType *string `json:"osType,omitempty"`
// Tags 实例关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
Image 描述镜像的基本信息。
type InquiryPriceCreateDisksRequest ¶
type InquiryPriceCreateDisksRequest struct {
*common.BaseRequest
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// DiskSize 云硬盘大小。单位:GiB。
DiskSize *int `json:"diskSize,omitempty"`
// DiskAmount 云硬盘数量。
DiskAmount *int `json:"diskAmount,omitempty"`
// DiskCategory 云硬盘种类。Basic NVMe SSD: 经济型 NVMe SSD。Standard NVMe SSD: 标准型 NVMe SSD。默认为Standard NVMe SSD。
DiskCategory *string `json:"diskCategory,omitempty"`
}
InquiryPriceCreateDisksRequest 创建云硬盘询价的请求参数。
func NewInquiryPriceCreateDisksRequest ¶
func NewInquiryPriceCreateDisksRequest() (request *InquiryPriceCreateDisksRequest)
type InquiryPriceCreateDisksResponse ¶
type InquiryPriceCreateDisksResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *InquiryPriceCreateDisksResponseParams `json:"response,omitempty"`
}
func NewInquiryPriceCreateDisksResponse ¶
func NewInquiryPriceCreateDisksResponse() (response *InquiryPriceCreateDisksResponse)
type InquiryPriceCreateDisksResponseParams ¶
type InquiryPriceCreateDisksResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// DataDiskPrice 云硬盘的价格。
DataDiskPrice *PriceItem `json:"dataDiskPrice,omitempty"`
}
InquiryPriceCreateDisksResponseParams 云硬盘的询价响应值。
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest struct {
*common.BaseRequest
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// InstanceType 实例机型。具体取值可通过调用接口[DescribeZoneInstanceConfigInfos](describezoneinstanceconfiginfos.md)来获得最新的规格表。
InstanceType *string `json:"instanceType,omitempty"`
// EipV4Type 公网IPv4的线路类型。目前不支持三线IP(`ThreeLine`)。
EipV4Type *string `json:"eipV4Type,omitempty"`
// InternetChargeType 公网IP的网络计费类型。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// TrafficPackageSize 流量包订购大小。单位为TB。该值必须在`internetChargeType = ByTrafficPackage`时才会生效。
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
// Bandwidth 公网出带宽上限。单位:Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// InstanceCount 实例数量。
InstanceCount *int `json:"instanceCount,omitempty"`
// SystemDisk 系统盘相关信息。
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
// DataDisk 数据盘相关信息。
DataDisk *DataDisk `json:"dataDisk,omitempty"`
}
func NewInquiryPriceCreateInstanceRequest ¶
func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)
type InquiryPriceCreateInstanceResponse ¶
type InquiryPriceCreateInstanceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *InquiryPriceCreateInstanceResponseParams `json:"response,omitempty"`
}
func NewInquiryPriceCreateInstanceResponse ¶
func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)
type InquiryPriceCreateInstanceResponseParams ¶
type InquiryPriceCreateInstanceResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// SpecPrice 规格的价格。
SpecPrice *PriceItem `json:"specPrice,omitempty"`
// GpuPrice GPU规格的价格。
GpuPrice *PriceItem `json:"gpuPrice,omitempty"`
// Ipv4Price 公网IPv4的保留价格。
Ipv4Price *PriceItem `json:"ipv4Price,omitempty"`
// Ipv4BandwidthPrice 公网IPv4的带宽价格。
Ipv4BandwidthPrice *PriceItem `json:"ipv4BandwidthPrice,omitempty"`
// Ipv6Price IPv6的价格。
Ipv6Price *PriceItem `json:"ipv6Price,omitempty"`
// Ipv6BandwidthPrice IPv6的带宽价格。
Ipv6BandwidthPrice *PriceItem `json:"ipv6BandwidthPrice,omitempty"`
// SystemDiskPrice 系统盘的价格。
SystemDiskPrice *PriceItem `json:"systemDiskPrice,omitempty"`
// DataDiskPrice 数据盘的价格。
DataDiskPrice *PriceItem `json:"dataDiskPrice,omitempty"`
}
InquiryPriceCreateInstanceResponseParams
type InquiryPriceCreateNatGatewayRequest ¶
type InquiryPriceCreateNatGatewayRequest struct {
*common.BaseRequest
// RegionId 区域节点ID。
RegionId *string `json:"regionId,omitempty"`
}
func NewInquiryPriceCreateNatGatewayRequest ¶
func NewInquiryPriceCreateNatGatewayRequest() (request *InquiryPriceCreateNatGatewayRequest)
type InquiryPriceCreateNatGatewayResponse ¶
type InquiryPriceCreateNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *InquiryPriceCreateNatGatewayResponseParams `json:"response,omitempty"`
}
func NewInquiryPriceCreateNatGatewayResponse ¶
func NewInquiryPriceCreateNatGatewayResponse() (response *InquiryPriceCreateNatGatewayResponse)
type InquiryPriceCreateNatGatewayResponseParams ¶
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 ¶
type InquiryPricePublicIpv6Request struct {
*common.BaseRequest
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// PackageSize 流量包订购大小。单位为TB。
PackageSize *float64 `json:"packageSize,omitempty"`
// Bandwidth 公网出带宽上限。单位:Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。
Bandwidth *int `json:"bandwidth,omitempty"`
}
InquiryPricePublicIpv6Request 公网IPv6流量包或固定带宽询价的请求参数。
func NewInquiryPricePublicIpv6Request ¶
func NewInquiryPricePublicIpv6Request() (request *InquiryPricePublicIpv6Request)
type InquiryPricePublicIpv6Response ¶
type InquiryPricePublicIpv6Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *InquiryPricePublicIpv6ResponseParams `json:"response,omitempty"`
}
func NewInquiryPricePublicIpv6Response ¶
func NewInquiryPricePublicIpv6Response() (response *InquiryPricePublicIpv6Response)
type InquiryPricePublicIpv6ResponseParams ¶
type InquiryPricePublicIpv6ResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// BandwidthPrice 带宽的价格。
BandwidthPrice *PriceItem `json:"bandwidthPrice,omitempty"`
}
InquiryPricePublicIpv6ResponseParams 公网Ipv6流量包或固定带宽询价的响应信息。
type InstanceInfo ¶
type InstanceInfo struct {
// InstanceId 实例唯一ID。
InstanceId *string `json:"instanceId,omitempty"`
// InstanceName 实例显示名称。
InstanceName *string `json:"instanceName,omitempty"`
// ZoneId 实例所属的可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// InstanceType CPU 规格。如果是GPU实例,该字段取值为null。
InstanceType *string `json:"instanceType,omitempty"`
// Cpu CPU 核数。单位:个。
Cpu *int `json:"cpu,omitempty"`
// Memory 内存容量。单位:GiB。
Memory *int `json:"memory,omitempty"`
// ImageId 镜像ID。
ImageId *string `json:"imageId,omitempty"`
// ImageName 镜像名称。
ImageName *string `json:"imageName,omitempty"`
// TimeZone 设置的系统时区信息。
TimeZone *string `json:"timeZone,omitempty"`
// NicNetworkType 网卡模式。
NicNetworkType *string `json:"nicNetworkType,omitempty"`
// Status 实例状态。
Status *string `json:"status,omitempty"`
// SystemDisk 系统盘信息。
SystemDisk *SystemDisk `json:"systemDisk,omitempty"`
// DataDisks 实例上挂在的数据盘信息。
DataDisks []*DataDisk `json:"dataDisks,omitempty"`
// PublicIpAddresses 实例上公网IPv4列表。
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
// PrivateIpAddresses 实例上内网IP列表。
PrivateIpAddresses []string `json:"privateIpAddresses,omitempty"`
// KeyId 安装的SSH密钥ID。
KeyId *string `json:"keyId,omitempty"`
// SubnetId 实例主网卡关联的子网ID。
SubnetId *string `json:"subnetId,omitempty"`
// SecurityGroupId 实例主网卡关联的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// EnableAgent 是否开启QGA Agent。
EnableAgent *bool `json:"enableAgent,omitempty"`
// EnableAgentMonitor 是否开启QGA 监控采集。
EnableAgentMonitor *bool `json:"enableAgentMonitor,omitempty"`
// EnableIpForward 是否开启IP转发。
EnableIpForward *bool `json:"enableIpForward,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// ExpiredTime 到期时间。
ExpiredTime *string `json:"expiredTime,omitempty"`
// ResourceGroupId 实例所属的资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 实例所属的资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
// Nics 实例上绑定的网卡信息。
Nics []*NicInfo `json:"nics,omitempty"`
// Tags 实例关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
InstanceInfo 描述虚拟机实例的信息。包括规格,状态,网卡等。
type InstanceStatus ¶
type InstanceStatus struct {
// InstanceId 实例的ID。
InstanceId *string `json:"instanceId,omitempty"`
// InstanceStatus 实例的状态。
InstanceStatus *string `json:"instanceStatus,omitempty"`
}
InstanceStatus 描述实例状态的信息。
type InstanceTypeQuotaItem ¶
type InstanceTypeQuotaItem struct {
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// InstanceType 实例规格ID。
InstanceType *string `json:"instanceType,omitempty"`
// InstanceTypeName 实例规格的名称。
InstanceTypeName *string `json:"instanceTypeName,omitempty"`
// CpuCount CPU核数。单位:核。
CpuCount *int `json:"cpuCount,omitempty"`
// Memory 实例内存容量。单位:GiB。
Memory *int `json:"memory,omitempty"`
// InternetMaxBandwidthOutLimit 最大出口带宽限制。
InternetMaxBandwidthOutLimit *int `json:"internetMaxBandwidthOutLimit,omitempty"`
// WithStock 是否有库存。
WithStock *bool `json:"withStock,omitempty"`
// InternetChargeTypes 支持的网络计费类型。
InternetChargeTypes []string `json:"internetChargeTypes,omitempty"`
}
InstanceTypeQuotaItem 描述实例规格的售卖信息。
type MarketingInfo ¶
type MarketingInfo struct {
// DiscountCode 使用市场发放的折扣码。如果折扣码不存在,最终折扣将不会生效。
DiscountCode *string `json:"discountCode,omitempty"`
// UsePocVoucher 是否使用POC代金券。 如果系统不存在POC代金券,相关创建流程会失败。
UsePocVoucher *bool `json:"usePocVoucher,omitempty"`
}
MarketingInfo 描述市场活动的相关信息。
type MetricValue ¶
type MetricValue struct {
// Time 数据点时间。
Time *string `json:"time,omitempty"`
// Value 数据点的值。如果该值为null,表示取不到相应的值。
Value *float64 `json:"value,omitempty"`
}
MetricValue 描述实例监控指标的数据值。
type ModifyAutoSnapshotPolicyRequest ¶
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,则代表永久保留。取值范围:-1或[1,65535]。
RetentionDays *int `json:"retentionDays,omitempty"`
}
func NewModifyAutoSnapshotPolicyRequest ¶
func NewModifyAutoSnapshotPolicyRequest() (request *ModifyAutoSnapshotPolicyRequest)
type ModifyAutoSnapshotPolicyResponse ¶
type ModifyAutoSnapshotPolicyResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyAutoSnapshotPolicyResponse ¶
func NewModifyAutoSnapshotPolicyResponse() (response *ModifyAutoSnapshotPolicyResponse)
type ModifyBorderGatewayAsnRequest ¶
type ModifyBorderGatewayAsnRequest struct {
*common.BaseRequest
// ZbgId 要修改的边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// Asn ASN。
Asn *int `json:"asn,omitempty"`
}
ModifyBorderGatewayAsnRequest 修改边界网关ASN的请求信息。
func NewModifyBorderGatewayAsnRequest ¶
func NewModifyBorderGatewayAsnRequest() (request *ModifyBorderGatewayAsnRequest)
type ModifyBorderGatewayAsnResponse ¶
type ModifyBorderGatewayAsnResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyBorderGatewayAsnResponse ¶
func NewModifyBorderGatewayAsnResponse() (response *ModifyBorderGatewayAsnResponse)
type ModifyBorderGatewaysAttributeRequest ¶
type ModifyBorderGatewaysAttributeRequest struct {
*common.BaseRequest
// ZbgIds 边界网关的ID列表。
ZbgIds []string `json:"zbgIds,omitempty"`
// Name 边界网关的名称。
Name *string `json:"name,omitempty"`
// RoutingMode 路由级别。
RoutingMode *string `json:"routingMode,omitempty"`
// AdvertisedSubnet 子网控制。
AdvertisedSubnet *string `json:"advertisedSubnet,omitempty"`
// AdvertisedCidrs IPv4 Cidr集合。
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
// Asn 边界网关的ASN。
Asn *int `json:"asn,omitempty"`
}
func NewModifyBorderGatewaysAttributeRequest ¶
func NewModifyBorderGatewaysAttributeRequest() (request *ModifyBorderGatewaysAttributeRequest)
type ModifyBorderGatewaysAttributeResponse ¶
type ModifyBorderGatewaysAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyBorderGatewaysAttributeResponse ¶
func NewModifyBorderGatewaysAttributeResponse() (response *ModifyBorderGatewaysAttributeResponse)
type ModifyCidrAttributeRequest ¶ added in v0.2.1
type ModifyCidrAttributeRequest struct {
*common.BaseRequest
// CidrId 要修改CIDR地址段的ID。
CidrId *string `json:"cidrId,omitempty"`
// Name 要修改的名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
}
ModifyCidrAttributeRequest 修改CIDR地址段的属性的请求信息
func NewModifyCidrAttributeRequest ¶ added in v0.2.1
func NewModifyCidrAttributeRequest() (request *ModifyCidrAttributeRequest)
type ModifyCidrAttributeResponse ¶ added in v0.2.1
type ModifyCidrAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyCidrAttributeResponse ¶ added in v0.2.1
func NewModifyCidrAttributeResponse() (response *ModifyCidrAttributeResponse)
type ModifyDisksAttributesRequest ¶
type ModifyDisksAttributesRequest struct {
*common.BaseRequest
// DiskIds 需要修改的云盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
// DiskName 云盘名称。范围1到64个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
DiskName *string `json:"diskName,omitempty"`
}
ModifyDisksAttributesRequest 修改云盘属性的请求参数。
func NewModifyDisksAttributesRequest ¶
func NewModifyDisksAttributesRequest() (request *ModifyDisksAttributesRequest)
type ModifyDisksAttributesResponse ¶
type ModifyDisksAttributesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyDisksAttributesResponse ¶
func NewModifyDisksAttributesResponse() (response *ModifyDisksAttributesResponse)
type ModifyDisksResourceGroupRequest ¶
type ModifyDisksResourceGroupRequest struct {
*common.BaseRequest
// DiskIds 要迁移资源组的云盘ID列表。
DiskIds []string `json:"diskIds,omitempty"`
// ResourceGroupId 目标资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
}
ModifyDisksResourceGroupRequest 修改云盘资源组的请求参数。
func NewModifyDisksResourceGroupRequest ¶
func NewModifyDisksResourceGroupRequest() (request *ModifyDisksResourceGroupRequest)
type ModifyDisksResourceGroupResponse ¶
type ModifyDisksResourceGroupResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyDisksResourceGroupResponse ¶
func NewModifyDisksResourceGroupResponse() (response *ModifyDisksResourceGroupResponse)
type ModifyDnatEntryRequest ¶
type ModifyDnatEntryRequest struct {
*common.BaseRequest
// DnatEntryId DNAT规则 ID。
DnatEntryId *string `json:"dnatEntryId,omitempty"`
// EipId 修改DNAT关联的弹性公网IP ID。
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 ¶
func NewModifyDnatEntryRequest() (request *ModifyDnatEntryRequest)
type ModifyDnatEntryResponse ¶
type ModifyDnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyDnatEntryResponse ¶
func NewModifyDnatEntryResponse() (response *ModifyDnatEntryResponse)
type ModifyEipAttributeRequest ¶
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 ¶
func NewModifyEipAttributeRequest() (request *ModifyEipAttributeRequest)
type ModifyEipAttributeResponse ¶
type ModifyEipAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyEipAttributeResponse ¶
func NewModifyEipAttributeResponse() (response *ModifyEipAttributeResponse)
type ModifyEipBandwidthRequest ¶
type ModifyEipBandwidthRequest struct {
*common.BaseRequest
// EipId EIP唯一标识ID。
EipId *string `json:"eipId,omitempty"`
// Bandwidth 调整带宽限速的目标值。单位Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// CommitBandwidth 保底带宽。单位Mbps。有且仅当为Remote IP,且为选择带宽包计费, 需要指定专线部分的保底带宽。
CommitBandwidth *int `json:"commitBandwidth,omitempty"`
}
ModifyEipBandwidthRequest 修改带宽限速请求。
func NewModifyEipBandwidthRequest ¶
func NewModifyEipBandwidthRequest() (request *ModifyEipBandwidthRequest)
type ModifyEipBandwidthResponse ¶
type ModifyEipBandwidthResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyEipBandwidthResponse ¶
func NewModifyEipBandwidthResponse() (response *ModifyEipBandwidthResponse)
type ModifyImagesAttributesRequest ¶ added in v0.2.2
type ModifyImagesAttributesRequest struct {
*common.BaseRequest
// ImageIds 待修改属性的镜像ID列表。
ImageIds []string `json:"imageIds,omitempty"`
// ImageName 名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
ImageName *string `json:"imageName,omitempty"`
}
func NewModifyImagesAttributesRequest ¶ added in v0.2.2
func NewModifyImagesAttributesRequest() (request *ModifyImagesAttributesRequest)
type ModifyImagesAttributesResponse ¶ added in v0.2.2
type ModifyImagesAttributesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyImagesAttributesResponse ¶ added in v0.2.2
func NewModifyImagesAttributesResponse() (response *ModifyImagesAttributesResponse)
type ModifyInstanceTypeRequest ¶
type ModifyInstanceTypeRequest struct {
*common.BaseRequest
// InstanceId 要变更的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// InstanceType 变更的目标实例规格。
InstanceType *string `json:"instanceType,omitempty"`
}
ModifyInstanceTypeRequest 变更实例规格的请求参数。
func NewModifyInstanceTypeRequest ¶
func NewModifyInstanceTypeRequest() (request *ModifyInstanceTypeRequest)
type ModifyInstanceTypeResponse ¶
type ModifyInstanceTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ModifyInstanceTypeResponseParams `json:"response,omitempty"`
}
func NewModifyInstanceTypeResponse ¶
func NewModifyInstanceTypeResponse() (response *ModifyInstanceTypeResponse)
type ModifyInstanceTypeResponseParams ¶
type ModifyInstanceTypeResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// OrderNumber 变更产生订单的编号。
OrderNumber *string `json:"orderNumber,omitempty"`
}
ModifyInstanceTypeResponseParams 变更实例规格的响应结果。
type ModifyInstancesAttributeRequest ¶
type ModifyInstancesAttributeRequest struct {
*common.BaseRequest
// InstanceIds 待修改属性的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
// InstanceName 实例名称。2~63个字符。仅支持输入字母、数字、-和英文句点(.)。
InstanceName *string `json:"instanceName,omitempty"`
}
ModifyInstancesAttributeRequest 修改实例属性(名称)的请求参数。
func NewModifyInstancesAttributeRequest ¶
func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)
type ModifyInstancesAttributeResponse ¶
type ModifyInstancesAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyInstancesAttributeResponse ¶
func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)
type ModifyNatGatewayAttributeRequest ¶ added in v0.2.1
type ModifyNatGatewayAttributeRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
// Name NAT网关的名称。长度为2~63个字符。
Name *string `json:"name,omitempty"`
// SubnetIds NAT网关的子网ID。
SubnetIds []string `json:"subnetIds,omitempty"`
// IsAllSubnet NAT网关对应的子网是否应用所有子网。该字段不能和`subnetIds`同时设置。
IsAllSubnet *bool `json:"isAllSubnet,omitempty"`
// IcmpReplyEnabled 是否开启ICMP代回。
IcmpReplyEnabled *bool `json:"icmpReplyEnabled,omitempty"`
// SecurityGroupId 修改NAT网关绑定的目标安全组ID。目前一张NAT网关只能关联一个安全组。指定该字段会解绑NAT网关原来的安全组。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
ModifyNatGatewayAttributeRequest 修改Nat网关属性的请求
func NewModifyNatGatewayAttributeRequest ¶ added in v0.2.1
func NewModifyNatGatewayAttributeRequest() (request *ModifyNatGatewayAttributeRequest)
type ModifyNatGatewayAttributeResponse ¶ added in v0.2.1
type ModifyNatGatewayAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyNatGatewayAttributeResponse ¶ added in v0.2.1
func NewModifyNatGatewayAttributeResponse() (response *ModifyNatGatewayAttributeResponse)
type ModifyNetworkInterfaceAttributeRequest ¶
type ModifyNetworkInterfaceAttributeRequest struct {
*common.BaseRequest
// NicId 需要修改的网卡ID。
NicId *string `json:"nicId,omitempty"`
// Name 名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
// SecurityGroupId 修改网卡绑定的目标安全组ID。目前一张网卡只能关联一个安全组。指定该字段会解绑网卡原来的安全组。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
ModifyNetworkInterfaceAttributeRequest 修改网卡属性的请求参数。
func NewModifyNetworkInterfaceAttributeRequest ¶
func NewModifyNetworkInterfaceAttributeRequest() (request *ModifyNetworkInterfaceAttributeRequest)
type ModifyNetworkInterfaceAttributeResponse ¶
type ModifyNetworkInterfaceAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyNetworkInterfaceAttributeResponse ¶
func NewModifyNetworkInterfaceAttributeResponse() (response *ModifyNetworkInterfaceAttributeResponse)
type ModifyNetworkInterfacesAttributeRequest ¶
type ModifyNetworkInterfacesAttributeRequest struct {
*common.BaseRequest
// NicIds 需要修改的网卡ID列表。
NicIds []string `json:"nicIds,omitempty"`
// Name 名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
}
ModifyNetworkInterfacesAttributeRequest 修改网卡的属性的请求参数。
func NewModifyNetworkInterfacesAttributeRequest ¶
func NewModifyNetworkInterfacesAttributeRequest() (request *ModifyNetworkInterfacesAttributeRequest)
type ModifyNetworkInterfacesAttributeResponse ¶
type ModifyNetworkInterfacesAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyNetworkInterfacesAttributeResponse ¶
func NewModifyNetworkInterfacesAttributeResponse() (response *ModifyNetworkInterfacesAttributeResponse)
type ModifyRouteAttributeRequest ¶
type ModifyRouteAttributeRequest struct {
*common.BaseRequest
// RouteId 路由ID。
RouteId *string `json:"routeId,omitempty"`
// Name 路由名称。名称长度为 2 到 63 个字符,仅支持字母、数字、连字符 (-) 、下划线(_) 、斜杠(/) 、和句点 (.),且开头和结尾必须是字母或数字。
Name *string `json:"name,omitempty"`
}
ModifyRouteAttributeRequest 修改路由信息的请求信息。
func NewModifyRouteAttributeRequest ¶
func NewModifyRouteAttributeRequest() (request *ModifyRouteAttributeRequest)
type ModifyRouteAttributeResponse ¶
type ModifyRouteAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyRouteAttributeResponse ¶
func NewModifyRouteAttributeResponse() (response *ModifyRouteAttributeResponse)
type ModifySecurityGroupsAttributeRequest ¶
type ModifySecurityGroupsAttributeRequest struct {
*common.BaseRequest
// SecurityGroupName 安全组名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。
SecurityGroupName *string `json:"securityGroupName,omitempty"`
// SecurityGroupIds 要操作的安全组ID列表。
SecurityGroupIds []string `json:"securityGroupIds,omitempty"`
}
ModifySecurityGroupsAttributeRequest 修改安全组的属性
func NewModifySecurityGroupsAttributeRequest ¶
func NewModifySecurityGroupsAttributeRequest() (request *ModifySecurityGroupsAttributeRequest)
type ModifySecurityGroupsAttributeResponse ¶
type ModifySecurityGroupsAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySecurityGroupsAttributeResponse ¶
func NewModifySecurityGroupsAttributeResponse() (response *ModifySecurityGroupsAttributeResponse)
type ModifySnapshotsAttributeRequest ¶
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 ¶
func NewModifySnapshotsAttributeRequest() (request *ModifySnapshotsAttributeRequest)
type ModifySnapshotsAttributeResponse ¶
type ModifySnapshotsAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySnapshotsAttributeResponse ¶
func NewModifySnapshotsAttributeResponse() (response *ModifySnapshotsAttributeResponse)
type ModifySnatEntryRequest ¶
type ModifySnatEntryRequest struct {
*common.BaseRequest
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
// EipIds SNAT规则添加的弹性公网IP ID集合。如果需要修改为NAT网关所有上弹性公网IP,请指定`isAllEip`=`true`。
EipIds []string `json:"eipIds,omitempty"`
// IsAllEip 弹性公网IP是否为所有的NAT网关上的公网弹性IP。
IsAllEip *bool `json:"isAllEip,omitempty"`
// Cidr 源CIDR网段。该字段已废弃,请使用`sourceCidrBlocks`。
Cidr *string `json:"cidr,omitempty"`
// SourceCidrBlocks 源CIDR地址段列表。与`subnetIds`必须指定其中的一种。如果使用全地址段,指定为`0.0.0.0/0`。
SourceCidrBlocks []string `json:"sourceCidrBlocks,omitempty"`
// SubnetIds 要修改子网ID集合。该参数表示该子网内的实例均可以通过`SNAT`规则访问外部网络。与`sourceCidrBlocks`必须指定其中的一种。
SubnetIds []string `json:"subnetIds,omitempty"`
}
func NewModifySnatEntryRequest ¶
func NewModifySnatEntryRequest() (request *ModifySnatEntryRequest)
type ModifySnatEntryResponse ¶
type ModifySnatEntryResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySnatEntryResponse ¶
func NewModifySnatEntryResponse() (response *ModifySnatEntryResponse)
type ModifySubnetAttributeRequest ¶
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"`
}
ModifySubnetAttributeRequest 描述修改子网属性的请求参数。
func NewModifySubnetAttributeRequest ¶
func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)
type ModifySubnetAttributeResponse ¶
type ModifySubnetAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySubnetAttributeResponse ¶
func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)
type ModifySubnetStackTypeRequest ¶
type ModifySubnetStackTypeRequest struct {
*common.BaseRequest
// SubnetId 要操作的子网的ID。
SubnetId *string `json:"subnetId,omitempty"`
// StackType 子网堆栈类型。目前只支持`IPv4_IPv6`。
StackType *string `json:"stackType,omitempty"`
// Ipv6Type IPv6的类型。
Ipv6Type *string `json:"ipv6Type,omitempty"`
}
ModifySubnetStackTypeRequest 切换子网堆栈类型的请求参数。
func NewModifySubnetStackTypeRequest ¶
func NewModifySubnetStackTypeRequest() (request *ModifySubnetStackTypeRequest)
type ModifySubnetStackTypeResponse ¶
type ModifySubnetStackTypeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ModifySubnetStackTypeResponseParams `json:"response,omitempty"`
}
func NewModifySubnetStackTypeResponse ¶
func NewModifySubnetStackTypeResponse() (response *ModifySubnetStackTypeResponse)
type ModifySubnetStackTypeResponseParams ¶
type ModifySubnetStackTypeResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// Ipv6CidrBlock 分配的IPv6地址段。
Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"`
}
ModifySubnetStackTypeResponseParams 修改子网堆栈类型的响应结果。
type ModifySubnetsAttributeRequest ¶
type ModifySubnetsAttributeRequest struct {
*common.BaseRequest
// SubnetIds 需要修改的子网ID列表。
SubnetIds []string `json:"subnetIds,omitempty"`
// Name 修改的子网名称。范围2到63个字符。仅支持输入字母、数字、-/_和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
}
ModifySubnetsAttributeRequest 批量修改子网的请求参数。
func NewModifySubnetsAttributeRequest ¶
func NewModifySubnetsAttributeRequest() (request *ModifySubnetsAttributeRequest)
type ModifySubnetsAttributeResponse ¶
type ModifySubnetsAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifySubnetsAttributeResponse ¶
func NewModifySubnetsAttributeResponse() (response *ModifySubnetsAttributeResponse)
type ModifyVpcAttributeRequest ¶
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"`
// SecurityGroupId 修改VPC绑定的安全组ID。如果不指定,则不会修改。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
}
ModifyVpcAttributeRequest 修改VPC的属性请求参数。
func NewModifyVpcAttributeRequest ¶
func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)
type ModifyVpcAttributeResponse ¶
type ModifyVpcAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyVpcAttributeResponse ¶
func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)
type ModifyVpcsAttributeRequest ¶
type ModifyVpcsAttributeRequest struct {
*common.BaseRequest
// VpcIds 需要修改的VPC ID列表。
VpcIds []string `json:"vpcIds,omitempty"`
// Name VPC的名称。范围2到63个字符。仅支持输入字母、数字、-和英文句点(.)。且必须以数字或字母开头和结尾。
Name *string `json:"name,omitempty"`
}
ModifyVpcsAttributeRequest 批量修改VPC属性的请求参数
func NewModifyVpcsAttributeRequest ¶
func NewModifyVpcsAttributeRequest() (request *ModifyVpcsAttributeRequest)
type ModifyVpcsAttributeResponse ¶
type ModifyVpcsAttributeResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewModifyVpcsAttributeResponse ¶
func NewModifyVpcsAttributeResponse() (response *ModifyVpcsAttributeResponse)
type NatGateway ¶
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"`
// IcmpReplyEnabled 是否开启ICMP代回。
IcmpReplyEnabled *bool `json:"icmpReplyEnabled,omitempty"`
// SecurityGroupId 边界网关关联的安全组ID。
SecurityGroupId *string `json:"securityGroupId,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"`
// Tags 该CIDR地址段关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
NatGateway 描述NAT网关的信息。
type NetmaskInfo ¶
type NetmaskInfo struct {
// Netmask 掩码大小。
Netmask *int `json:"netmask,omitempty"`
// Amount CIDR的数量。
Amount *int `json:"amount,omitempty"`
}
NetmaskInfo 描述CIDR掩码的信息。
type NicInfo ¶
type NicInfo struct {
// NicId 网卡的ID。
NicId *string `json:"nicId,omitempty"`
// Name 网卡的名称。
Name *string `json:"name,omitempty"`
// Status 网卡状态。
Status *string `json:"status,omitempty"`
// NicType 网卡类型。
NicType *string `json:"nicType,omitempty"`
// RegionId 所属节点ID。
RegionId *string `json:"regionId,omitempty"`
// NicSubnetType 网卡的IP堆栈类型。
NicSubnetType *string `json:"nicSubnetType,omitempty"`
// PublicIpList 关联的公网IP。
PublicIpList []string `json:"publicIpList,omitempty"`
// PrivateIpList 关联的内网IP。
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 所绑定的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// VpcId 所关联VPC ID。
VpcId *string `json:"vpcId,omitempty"`
// SubnetId 所关联的子网ID。
SubnetId *string `json:"subnetId,omitempty"`
// CreateTime 网卡的创建时间。
CreateTime *string `json:"createTime,omitempty"`
// UpdateTime 网卡的更新时间。
UpdateTime *string `json:"updateTime,omitempty"`
// ResourceGroup 网卡所属的资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
// SecurityGroupId 网卡关联的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// Tags 该网卡关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
NicInfo 描述网卡的相关信息。
type PoolInfo ¶
type PoolInfo struct {
// PoolId 公网IP池的ID。
PoolId *string `json:"poolId,omitempty"`
// RegionId 公网IP池所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// Name 公网IP池的名称。
Name *string `json:"name,omitempty"`
// CreateTime 公网IP池的创建时间。
CreateTime *string `json:"createTime,omitempty"`
}
PoolInfo 描述公网IP池的基本信息。
type PriceItem ¶
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 ¶
type PrivateIpInfo struct {
// LanIp 网卡上的内网IP地址。
LanIp *string `json:"lanIp,omitempty"`
// NicId 网卡ID。
NicId *string `json:"nicId,omitempty"`
// NicName 网卡的名称。
NicName *string `json:"nicName,omitempty"`
// InstanceId 网卡关联的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// InstanceName 网卡关联的实例名称。
InstanceName *string `json:"instanceName,omitempty"`
}
PrivateIpInfo 公网弹性IP可以绑定的网卡及内网信息
type PublicIpv6CidrAddress ¶
type PublicIpv6CidrAddress struct {
// Ipv6CidrId IPv6 CIDR的ID。
Ipv6CidrId *string `json:"ipv6CidrId,omitempty"`
// Ipv6Cidr IPv6 CIDR的地址。
Ipv6Cidr *string `json:"ipv6Cidr,omitempty"`
// PrimaryIpv6Address 网卡的主IPv6地址。
PrimaryIpv6Address *string `json:"primaryIpv6Address,omitempty"`
// InternetChargeType IPv6的网络计费类型。
InternetChargeType *string `json:"internetChargeType,omitempty"`
// Bandwidth IPv6的公网带宽限速。单位:Mbps。
Bandwidth *int `json:"bandwidth,omitempty"`
// TrafficPackageSize IPv6的流量包大小。单位:TB。
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
// BandwidthCluster 关联的带宽组信息。
BandwidthCluster *BandwidthClusterInfo `json:"bandwidthCluster,omitempty"`
}
PublicIpv6CidrAddress 公网IPv6的基本信息。
type RebootInstancesRequest ¶
type RebootInstancesRequest struct {
*common.BaseRequest
// InstanceIds 待重启虚拟机实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
RebootInstancesRequest 重启虚拟机实例的请求参数。
func NewRebootInstancesRequest ¶
func NewRebootInstancesRequest() (request *RebootInstancesRequest)
type RebootInstancesResponse ¶
type RebootInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *RebootInstancesResponseParams `json:"response,omitempty"`
}
func NewRebootInstancesResponse ¶
func NewRebootInstancesResponse() (response *RebootInstancesResponse)
type RebootInstancesResponseParams ¶
type RebootInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InstanceIds 重启操作失败的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
RebootInstancesResponseParams 重启虚拟机实例的响应结果
type RegionInfo ¶
type RegionInfo struct {
// RegionId 节点ID。
RegionId *string `json:"regionId,omitempty"`
// RegionName 节点名称。
RegionName *string `json:"regionName,omitempty"`
// RegionTitle 节点标题。
RegionTitle *string `json:"regionTitle,omitempty"`
// EnablePubIpv6 是否支持IPv6。
EnablePubIpv6 *bool `json:"enablePubIpv6,omitempty"`
}
RegionInfo 节点信息。
type ReleaseDiskRequest ¶
type ReleaseDiskRequest struct {
*common.BaseRequest
// DiskId 要删除的云硬盘ID。
DiskId *string `json:"diskId,omitempty"`
}
ReleaseDiskRequest 删除云硬盘的请求参数。
func NewReleaseDiskRequest ¶
func NewReleaseDiskRequest() (request *ReleaseDiskRequest)
type ReleaseDiskResponse ¶
type ReleaseDiskResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewReleaseDiskResponse ¶
func NewReleaseDiskResponse() (response *ReleaseDiskResponse)
type ReleaseInstancesRequest ¶
type ReleaseInstancesRequest struct {
*common.BaseRequest
// InstanceIds 要释放的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
ReleaseInstancesRequest 释放实例请求参数。
func NewReleaseInstancesRequest ¶
func NewReleaseInstancesRequest() (request *ReleaseInstancesRequest)
type ReleaseInstancesResponse ¶
type ReleaseInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ReleaseInstancesResponseParams `json:"response,omitempty"`
}
func NewReleaseInstancesResponse ¶
func NewReleaseInstancesResponse() (response *ReleaseInstancesResponse)
type ReleaseInstancesResponseParams ¶
type ReleaseInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InstanceIds 操作失败的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
ReleaseInstancesResponseParams 删除实例的响应结果。
type RenewCidrRequest ¶
type RenewCidrRequest struct {
*common.BaseRequest
// CidrId 要恢复的CIDR ID。
CidrId *string `json:"cidrId,omitempty"`
}
RenewCidrRequest 描述恢复CIDR请求信息。
func NewRenewCidrRequest ¶
func NewRenewCidrRequest() (request *RenewCidrRequest)
type RenewCidrResponse ¶
type RenewCidrResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewCidrResponse ¶
func NewRenewCidrResponse() (response *RenewCidrResponse)
type RenewDiskRequest ¶
type RenewDiskRequest struct {
*common.BaseRequest
// DiskId 要恢复的云硬盘ID。
DiskId *string `json:"diskId,omitempty"`
}
RenewDiskRequest 恢复云硬盘的请求参数。
func NewRenewDiskRequest ¶
func NewRenewDiskRequest() (request *RenewDiskRequest)
type RenewDiskResponse ¶
type RenewDiskResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewDiskResponse ¶
func NewRenewDiskResponse() (response *RenewDiskResponse)
type RenewEipRequest ¶
type RenewEipRequest struct {
*common.BaseRequest
// EipId 要恢复弹性公网IP的ID。
EipId *string `json:"eipId,omitempty"`
}
RenewEipRequest 恢复弹性公网IP的请求参数。
func NewRenewEipRequest ¶
func NewRenewEipRequest() (request *RenewEipRequest)
type RenewEipResponse ¶
type RenewEipResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewEipResponse ¶
func NewRenewEipResponse() (response *RenewEipResponse)
type RenewNatGatewayRequest ¶
type RenewNatGatewayRequest struct {
*common.BaseRequest
// NatGatewayId NAT网关 ID。
NatGatewayId *string `json:"natGatewayId,omitempty"`
}
func NewRenewNatGatewayRequest ¶
func NewRenewNatGatewayRequest() (request *RenewNatGatewayRequest)
type RenewNatGatewayResponse ¶
type RenewNatGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewRenewNatGatewayResponse ¶
func NewRenewNatGatewayResponse() (response *RenewNatGatewayResponse)
type ReplaceEipAddressRequest ¶
type ReplaceEipAddressRequest struct {
*common.BaseRequest
// ReplaceIps 需要替换的弹性公网IP信息。
ReplaceIps []*ReplaceIp `json:"replaceIps,omitempty"`
}
ReplaceEipAddressRequest 替换弹性公网IP的请求信息。
func NewReplaceEipAddressRequest ¶
func NewReplaceEipAddressRequest() (request *ReplaceEipAddressRequest)
type ReplaceEipAddressResponse ¶
type ReplaceEipAddressResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *ReplaceEipAddressResponseParams `json:"response,omitempty"`
}
func NewReplaceEipAddressResponse ¶
func NewReplaceEipAddressResponse() (response *ReplaceEipAddressResponse)
type ReplaceEipAddressResponseParams ¶
type ReplaceEipAddressResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// FailedEipIds 替换失败的IP的ID集合。
FailedEipIds []string `json:"failedEipIds,omitempty"`
}
ReplaceEipAddressResponseParams 替换弹性公网IP的响应结果。
type ReplaceIp ¶
type ReplaceIp struct {
// EipId 需要替换的弹性公网IP ID。
EipId *string `json:"eipId,omitempty"`
// OwnIp 原IP。当IP是三线IP(IP线路类型为`ThreeLine`)时需要指定。
OwnIp *string `json:"ownIp,omitempty"`
// TargetIp 需要变更的目标IP。如果未指定,将由系统随机分配。
TargetIp *string `json:"targetIp,omitempty"`
}
ReplaceIp 替换的公网IP信息。
type ResetInstancePasswordRequest ¶
type ResetInstancePasswordRequest struct {
*common.BaseRequest
// InstanceId 待操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// Password 密码。必须是8-16位。必须包含以下3种格式的字符:大小写字母: [a-zA-Z]数字: 0-9特殊字符: ~!@$^*-_=+。
Password *string `json:"password,omitempty"`
}
ResetInstancePasswordRequest 重置虚拟机实例密码的请求参数。
func NewResetInstancePasswordRequest ¶
func NewResetInstancePasswordRequest() (request *ResetInstancePasswordRequest)
type ResetInstancePasswordResponse ¶
type ResetInstancePasswordResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewResetInstancePasswordResponse ¶
func NewResetInstancePasswordResponse() (response *ResetInstancePasswordResponse)
type ResetInstanceRequest ¶
type ResetInstanceRequest struct {
*common.BaseRequest
// InstanceId 要重装的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
// Password 实例的新密码。与keyId不能同时指定。必须包含以下3种格式的字符:大小写字母: [a-zA-Z]数字: 0-9特殊字符: ~!@$^*-_=+。
Password *string `json:"password,omitempty"`
// KeyId 密钥ID。与password必须指定其中的一种。可调用接口DescribeKeyPairs来获得最新的密钥对信息。关联密钥后,就可以通过对应的私钥来访问实例;密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。示例值:key-YWD2QFOl。
KeyId *string `json:"keyId,omitempty"`
// ImageId 指定重装的的镜像ID。可以通过[DescribeImages](describeimages.md)取返回信息中的`imageId`字段。如果不指定,会根据当前镜像进行重装。
ImageId *string `json:"imageId,omitempty"`
// Timezone 操作系统时区设置。
Timezone *string `json:"timezone,omitempty"`
// EnableAgent 是否启用 QEMU Guest 代理 (QGA)。
EnableAgent *bool `json:"enableAgent,omitempty"`
// InstanceName 修改的实例名称。
InstanceName *string `json:"instanceName,omitempty"`
}
ResetInstanceRequest 重装一台虚拟机实例操作系统的请求参数。
func NewResetInstanceRequest ¶
func NewResetInstanceRequest() (request *ResetInstanceRequest)
type ResetInstanceResponse ¶
type ResetInstanceResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewResetInstanceResponse ¶
func NewResetInstanceResponse() (response *ResetInstanceResponse)
type ResizeDiskRequest ¶
type ResizeDiskRequest struct {
*common.BaseRequest
// DiskId 云硬盘ID。通过DescribeDisks接口查询。
DiskId *string `json:"diskId,omitempty"`
// DiskSize 云硬盘扩容后的大小。单位GiB。必须大于当前云硬盘大小。云盘最大限制为32768GB(32TB)。
DiskSize *int `json:"diskSize,omitempty"`
}
func NewResizeDiskRequest ¶
func NewResizeDiskRequest() (request *ResizeDiskRequest)
type ResizeDiskResponse ¶
type ResizeDiskResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewResizeDiskResponse ¶
func NewResizeDiskResponse() (response *ResizeDiskResponse)
type ResourceGroupInfo ¶
type ResourceGroupInfo struct {
// ResourceGroupId 资源组ID。
ResourceGroupId *string `json:"resourceGroupId,omitempty"`
// ResourceGroupName 资源组名称。
ResourceGroupName *string `json:"resourceGroupName,omitempty"`
}
ResourceGroupInfo 描述资源所在资源组的相关信息,包括资源组名称和ID。
type RouteInfo ¶
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"`
// SourceCidrBlock 源IP地址。当`路由类型`是`RouteTypePolicy(策略路由)`时可取值。
SourceCidrBlock *string `json:"sourceCidrBlock,omitempty"`
// DestinationCidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
// CidrBlock IPv4或IPv6的目标网段。例如:10.0.1.0/24。该字段已废弃,请使用`destinationCidrBlock`。
CidrBlock *string `json:"cidrBlock,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 SecurityGroupInfo ¶
type SecurityGroupInfo struct {
// SecurityGroupId 安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// SecurityGroupName 安全组名称。
SecurityGroupName *string `json:"securityGroupName,omitempty"`
// Scope 范围。目前只有全球范围(`Global`)。
Scope *string `json:"scope,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// VpcIds 关联的VPC ID列表。
VpcIds []string `json:"vpcIds,omitempty"`
// IsDefault 是否是默认安全组。
IsDefault *bool `json:"isDefault,omitempty"`
// NicIdList 关联安全组的网卡ID列表。
NicIdList []string `json:"nicIdList,omitempty"`
// NatIdList 关联安全组的NAT网关ID列表。
NatIdList []string `json:"natIdList,omitempty"`
}
SecurityGroupInfo 描述安全组的基本信息。
type SecurityGroupRuleInfo ¶
type SecurityGroupRuleInfo struct {
// Direction 规则方向。ingress: 入方向。egress:出方向。
Direction *string `json:"direction,omitempty"`
// Policy 设置访问权限。accept:接受访问。deny: 拒绝访问。
Policy *string `json:"policy,omitempty"`
// Priority 规则优先级。
Priority *int `json:"priority,omitempty"`
// IpProtocol 传输层协议。取值大小写敏感, 取值范围:<br/>tcp:TCP协议。udp:UDP协议。icmp:ICMP协议。all:支持所有协议。
IpProtocol *string `json:"ipProtocol,omitempty"`
// PortRange 目的端安全组开放的传输层协议相关的端口范围。取值范围:<br/> TCP/UDP协议:取值范围为1~65535。ICMP协议:-1。all:-1。
PortRange *string `json:"portRange,omitempty"`
// CidrIp 源端IP地址范围。支持CIDR格式和IPv4格式的IP地址范围。默认值:0.0.XX.XX/0。
CidrIp *string `json:"cidrIp,omitempty"`
// Desc 备注,长度在255个以内。
Desc *string `json:"desc,omitempty"`
}
SecurityGroupRuleInfo 安全组规则信息。包括出入方向、端口范围、IP协议等信息。
type SnapshotInfo ¶
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 ¶
type SnatEntry struct {
// SnatEntryId SNAT规则 ID。
SnatEntryId *string `json:"snatEntryId,omitempty"`
// Cidrs CIDR网段,不传默认是0.0.0.0/0。`cidrs` 和 `snatSubnets` 不会同时存在。
Cidrs []string `json:"cidrs,omitempty"`
// EipIds SNAT规则添加的弹性公网IP ID集合。
EipIds []string `json:"eipIds,omitempty"`
// IsAllEip 弹性公网IP是否为所有的NAT网关上的公网弹性IP。
IsAllEip *bool `json:"isAllEip,omitempty"`
// SnatSubnets SNAT规则添加的subnet ID集合。
SnatSubnets []*SnatSubnet `json:"snatSubnets,omitempty"`
}
SnatEntry 描述SNAT规则的信息。
type SnatSubnet ¶ added in v0.2.1
type SnatSubnet struct {
// SubnetId 子网的ID。
SubnetId *string `json:"subnetId,omitempty"`
// Cidr 子网的CIDR。
Cidr *string `json:"cidr,omitempty"`
}
SnatSubnet Snat规则添加的子网集合。
type StartAgentMonitorRequest ¶
type StartAgentMonitorRequest struct {
*common.BaseRequest
// InstanceId 要操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
StartAgentMonitorRequest 开启Agent监控采集的请求信息。
func NewStartAgentMonitorRequest ¶
func NewStartAgentMonitorRequest() (request *StartAgentMonitorRequest)
type StartAgentMonitorResponse ¶
type StartAgentMonitorResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewStartAgentMonitorResponse ¶
func NewStartAgentMonitorResponse() (response *StartAgentMonitorResponse)
type StartInstancesRequest ¶
type StartInstancesRequest struct {
*common.BaseRequest
// InstanceIds 要启动的实例ID。
InstanceIds []string `json:"instanceIds,omitempty"`
}
StartInstancesRequest 启动虚拟机实例的参数。
func NewStartInstancesRequest ¶
func NewStartInstancesRequest() (request *StartInstancesRequest)
type StartInstancesResponse ¶
type StartInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *StartInstancesResponseParams `json:"response,omitempty"`
}
func NewStartInstancesResponse ¶
func NewStartInstancesResponse() (response *StartInstancesResponse)
type StartInstancesResponseParams ¶
type StartInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InstanceIds 启动失败的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
StartInstancesResponseParams 启动虚拟机实例的响应结果。
type StartIpForwardRequest ¶
type StartIpForwardRequest struct {
*common.BaseRequest
// InstanceId 要操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
StartIpForwardRequest 开启IP转发的请求信息。
func NewStartIpForwardRequest ¶
func NewStartIpForwardRequest() (request *StartIpForwardRequest)
type StartIpForwardResponse ¶
type StartIpForwardResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewStartIpForwardResponse ¶
func NewStartIpForwardResponse() (response *StartIpForwardResponse)
type StepPrice ¶
type StepPrice struct {
// StepStart 阶梯的起始值。
StepStart *float64 `json:"stepStart,omitempty"`
// StepEnd 阶梯的到达值。为null代表最后一级阶梯。
StepEnd *float64 `json:"stepEnd,omitempty"`
// UnitPrice 阶梯单价。
UnitPrice *float64 `json:"unitPrice,omitempty"`
// DiscountUnitPrice 阶梯折后价。
DiscountUnitPrice *float64 `json:"discountUnitPrice,omitempty"`
}
StepPrice 描述阶梯价格的信息。
type StopAgentMonitorRequest ¶
type StopAgentMonitorRequest struct {
*common.BaseRequest
// InstanceId 要操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
StopAgentMonitorRequest 关闭Agent监控采集的请求信息。
func NewStopAgentMonitorRequest ¶
func NewStopAgentMonitorRequest() (request *StopAgentMonitorRequest)
type StopAgentMonitorResponse ¶
type StopAgentMonitorResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewStopAgentMonitorResponse ¶
func NewStopAgentMonitorResponse() (response *StopAgentMonitorResponse)
type StopInstancesRequest ¶
type StopInstancesRequest struct {
*common.BaseRequest
// InstanceIds 待关闭的实例ID。
InstanceIds []string `json:"instanceIds,omitempty"`
// ForceShutdown 是否强制关机。
ForceShutdown *bool `json:"forceShutdown,omitempty"`
}
StopInstancesRequest 关闭虚拟机实例的请求信息。
func NewStopInstancesRequest ¶
func NewStopInstancesRequest() (request *StopInstancesRequest)
type StopInstancesResponse ¶
type StopInstancesResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *StopInstancesResponseParams `json:"response,omitempty"`
}
func NewStopInstancesResponse ¶
func NewStopInstancesResponse() (response *StopInstancesResponse)
type StopInstancesResponseParams ¶
type StopInstancesResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// InstanceIds 操作失败的实例ID列表。
InstanceIds []string `json:"instanceIds,omitempty"`
}
StopInstancesResponseParams 关闭虚拟机实例
type StopIpForwardRequest ¶
type StopIpForwardRequest struct {
*common.BaseRequest
// InstanceId 要操作的实例ID。
InstanceId *string `json:"instanceId,omitempty"`
}
StopIpForwardRequest 关闭IP转发的请求信息。
func NewStopIpForwardRequest ¶
func NewStopIpForwardRequest() (request *StopIpForwardRequest)
type StopIpForwardResponse ¶
type StopIpForwardResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewStopIpForwardResponse ¶
func NewStopIpForwardResponse() (response *StopIpForwardResponse)
type SubnetInfo ¶
type SubnetInfo struct {
// SubnetId 子网的ID。
SubnetId *string `json:"subnetId,omitempty"`
// RegionId 子网所在节点的ID。
RegionId *string `json:"regionId,omitempty"`
// Name 子网的名称。
Name *string `json:"name,omitempty"`
// CidrBlock 子网的CIDR地址。
CidrBlock *string `json:"cidrBlock,omitempty"`
// GatewayIpAddress 网关地址。
GatewayIpAddress *string `json:"gatewayIpAddress,omitempty"`
// Ipv6CidrBlock 子网的IPv6 CIDR地址段。如果子网的IP堆栈类型不包括V6,该字段取不到值。
Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"`
// Ipv6GatewayIpAddress IPv6的网关地址。
Ipv6GatewayIpAddress *string `json:"ipv6GatewayIpAddress,omitempty"`
// StackType 子网的IP堆栈类型。
StackType *string `json:"stackType,omitempty"`
// Ipv6Type 子网上IPv6类型。如果子网的IP堆栈类型不包括V6,该字段取不到值。
Ipv6Type *string `json:"ipv6Type,omitempty"`
// VpcId 子网所属VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// VpcName 子网所属VPC的名称。
VpcName *string `json:"vpcName,omitempty"`
// UsageIpv4Count 子网已使用IPv4数量。
UsageIpv4Count *int `json:"usageIpv4Count,omitempty"`
// UsageIpv6Count 子网已使用IPv6数量。
UsageIpv6Count *int `json:"usageIpv6Count,omitempty"`
// CreateTime 子网的创建时间。
CreateTime *string `json:"createTime,omitempty"`
// IsDefault 子网是否为默认。
IsDefault *bool `json:"isDefault,omitempty"`
}
SubnetInfo 描述子网的基本信息。
type SystemDisk ¶
type SystemDisk struct {
// DiskId 系统盘ID。该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`CreateInstances`等写接口的入参。
DiskId *string `json:"diskId,omitempty"`
// DiskSize 系统盘大小。单位:GiB。
DiskSize *int `json:"diskSize,omitempty"`
// DiskCategory 云硬盘种类。Basic NVMe SSD: 经济型 NVMe SSD。Standard NVMe SSD: 标准型 NVMe SSD。默认为Standard NVMe SSD。
DiskCategory *string `json:"diskCategory,omitempty"`
}
SystemDisk 描述系统盘的基本信息。
type Tag ¶ added in v0.2.2
type Tag struct {
// Key 标签键。长度限制:1~64个字符。
Key *string `json:"key,omitempty"`
// Value 标签值。长度限制:1~64个字符。
Value *string `json:"value,omitempty"`
}
Tag 描述一个标签键值对的信息。
type TagAssociation ¶ added in v0.2.2
type TagAssociation struct {
// Tags 标签对列表。
Tags []*Tag `json:"tags,omitempty"`
}
TagAssociation 描述创建资源时同时绑定的标签对的信息。
type Tags ¶ added in v0.2.2
type Tags struct {
// Tags 标签对列表。
Tags []*Tag `json:"tags,omitempty"`
}
Tags 描述资源关联的标签信息。
type UnAssignSecurityGroupVpcRequest ¶
type UnAssignSecurityGroupVpcRequest struct {
*common.BaseRequest
// VpcId 要解绑的VPC ID。
VpcId *string `json:"vpcId,omitempty"`
}
UnAssignSecurityGroupVpcRequest VPC解绑安全组的请求参数。
func NewUnAssignSecurityGroupVpcRequest ¶
func NewUnAssignSecurityGroupVpcRequest() (request *UnAssignSecurityGroupVpcRequest)
type UnAssignSecurityGroupVpcResponse ¶
type UnAssignSecurityGroupVpcResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewUnAssignSecurityGroupVpcResponse ¶
func NewUnAssignSecurityGroupVpcResponse() (response *UnAssignSecurityGroupVpcResponse)
type UnassignBorderGatewayRequest ¶
type UnassignBorderGatewayRequest struct {
*common.BaseRequest
// ZbgId 要解绑NAT的边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
}
UnassignBorderGatewayRequest 解绑边界网关的请求信息。
func NewUnassignBorderGatewayRequest ¶
func NewUnassignBorderGatewayRequest() (request *UnassignBorderGatewayRequest)
type UnassignBorderGatewayResponse ¶
type UnassignBorderGatewayResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewUnassignBorderGatewayResponse ¶
func NewUnassignBorderGatewayResponse() (response *UnassignBorderGatewayResponse)
type UnassignBorderGatewayRouteRequest ¶
type UnassignBorderGatewayRouteRequest struct {
*common.BaseRequest
// ZbgId 边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// AdvertisedRouteIds 要移除的自定义路由ID集合。
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
UnassignBorderGatewayRouteRequest 边界网关路由宣告中移除指定的自定义路由的请求信息。
func NewUnassignBorderGatewayRouteRequest ¶
func NewUnassignBorderGatewayRouteRequest() (request *UnassignBorderGatewayRouteRequest)
type UnassignBorderGatewayRouteResponse ¶
type UnassignBorderGatewayRouteResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewUnassignBorderGatewayRouteResponse ¶
func NewUnassignBorderGatewayRouteResponse() (response *UnassignBorderGatewayRouteResponse)
type UnassignNetworkInterfaceIpv4Request ¶
type UnassignNetworkInterfaceIpv4Request struct {
*common.BaseRequest
// NicId 网卡ID。
NicId *string `json:"nicId,omitempty"`
// IpAddress 需要解绑的IPv4地址。该字段已过时,请使用`ipAddresses`,如果两者均指定, 则以`ipAddresses`为准。
IpAddress *string `json:"ipAddress,omitempty"`
// IpAddresses 需要解绑的内网IPv4地址。
IpAddresses []string `json:"ipAddresses,omitempty"`
}
func NewUnassignNetworkInterfaceIpv4Request ¶
func NewUnassignNetworkInterfaceIpv4Request() (request *UnassignNetworkInterfaceIpv4Request)
type UnassignNetworkInterfaceIpv4Response ¶
type UnassignNetworkInterfaceIpv4Response struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewUnassignNetworkInterfaceIpv4Response ¶
func NewUnassignNetworkInterfaceIpv4Response() (response *UnassignNetworkInterfaceIpv4Response)
type UnassociateEipAddressRequest ¶
type UnassociateEipAddressRequest struct {
*common.BaseRequest
// EipIds 要解绑的弹性公网IP的ID列表。
EipIds []string `json:"eipIds,omitempty"`
}
UnassociateEipAddressRequest 将弹性公网IP(EIP)从绑定的云产品上解绑的请求参数。
func NewUnassociateEipAddressRequest ¶
func NewUnassociateEipAddressRequest() (request *UnassociateEipAddressRequest)
type UnassociateEipAddressResponse ¶
type UnassociateEipAddressResponse struct {
*common.BaseResponse
RequestId *string `json:"requestId,omitempty"`
Response *UnassociateEipAddressResponseParams `json:"response,omitempty"`
}
func NewUnassociateEipAddressResponse ¶
func NewUnassociateEipAddressResponse() (response *UnassociateEipAddressResponse)
type UnassociateEipAddressResponseParams ¶
type UnassociateEipAddressResponseParams struct {
RequestId *string `json:"requestId,omitempty"`
// FailedEipIds 操作失败的弹性IP的ID集合。
FailedEipIds []string `json:"failedEipIds,omitempty"`
}
UnassociateEipAddressResponseParams 将弹性公网IP(EIP)从绑定的云产品上解绑的响应结果。
type VpcInfo ¶
type VpcInfo struct {
// VpcId VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// Name VPC的名称。
Name *string `json:"name,omitempty"`
// CidrBlock VPC的IPv4 CIDR。
CidrBlock *string `json:"cidrBlock,omitempty"`
// Ipv6CidrBlock VPC的内网IPv6 CIDR。如果为null,说明未开启IPv6。
Ipv6CidrBlock *string `json:"ipv6CidrBlock,omitempty"`
// Mtu mtu值。
Mtu *int `json:"mtu,omitempty"`
// IsDefault 是否为默认VPC。
IsDefault *bool `json:"isDefault,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// UsageIpv4Count VPC里已使用IPv4数量。
UsageIpv4Count *int `json:"usageIpv4Count,omitempty"`
// UsageIpv6Count VPC里已使用IPv6数量。
UsageIpv6Count *int `json:"usageIpv6Count,omitempty"`
// SecurityGroupId 关联的安全组ID。
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// ResourceGroup VPC关联的资源组信息。
ResourceGroup *ResourceGroupInfo `json:"resourceGroup,omitempty"`
// Tags 该VPC关联的标签。
Tags *Tags `json:"tags,omitempty"`
}
VpcInfo 描述VPC的基本信息。
type ZbgInfo ¶
type ZbgInfo struct {
// ZbgId 边界网关ID。
ZbgId *string `json:"zbgId,omitempty"`
// Name 边界网关名称。
Name *string `json:"name,omitempty"`
// VpcId VPC的ID。
VpcId *string `json:"vpcId,omitempty"`
// RegionId 节点的ID。
RegionId *string `json:"regionId,omitempty"`
// Asn ASN号。
Asn *int `json:"asn,omitempty"`
// InterConnectCidr 互联IP地址段。
InterConnectCidr *string `json:"interConnectCidr,omitempty"`
// CreateTime 创建时间。
CreateTime *string `json:"createTime,omitempty"`
// CloudRouterIds 关联的三层网络ID集合。
CloudRouterIds []string `json:"cloudRouterIds,omitempty"`
// RoutingMode 路由模式。
RoutingMode *string `json:"routingMode,omitempty"`
// NatId NAT的ID。
NatId *string `json:"natId,omitempty"`
// AdvertisedSubnet 子网控制。
AdvertisedSubnet *string `json:"advertisedSubnet,omitempty"`
// AdvertisedCidrs IPv4 Cidr集合。
AdvertisedCidrs []string `json:"advertisedCidrs,omitempty"`
// AdvertisedRouteIds 自定义路由集合。
AdvertisedRouteIds []string `json:"advertisedRouteIds,omitempty"`
}
ZbgInfo 描述边界网关的基本信息。
type ZoneInfo ¶
type ZoneInfo struct {
// ZoneId 可用区ID。
ZoneId *string `json:"zoneId,omitempty"`
// RegionId 可用区所在的节点ID。
RegionId *string `json:"regionId,omitempty"`
// ZoneName 可用区名称。
ZoneName *string `json:"zoneName,omitempty"`
// SupportSecurityGroup 可用区是否支持安全组。该字段已废弃,当前所有节点均支持安全组。
SupportSecurityGroup *bool `json:"supportSecurityGroup,omitempty"`
}
ZoneInfo 可用区的基本信息。