Documentation
¶
Index ¶
- Constants
- type Address
- type AddressInfo
- type AddressTemplateSpecification
- type AllocateAddressesRequest
- type AllocateAddressesRequestParams
- type AllocateAddressesResponse
- type AllocateAddressesResponseParams
- type Area
- type AssignIpv6AddressesRequest
- type AssignIpv6AddressesRequestParams
- type AssignIpv6AddressesResponse
- type AssignIpv6AddressesResponseParams
- type AssignPrivateIpAddressesRequest
- type AssignPrivateIpAddressesRequestParams
- type AssignPrivateIpAddressesResponse
- type AssignPrivateIpAddressesResponseParams
- type AssistantCidr
- type AssociateAddressRequest
- type AssociateAddressRequestParams
- type AssociateAddressResponse
- type AssociateAddressResponseParams
- type AssociateSecurityGroupsRequest
- type AssociateSecurityGroupsRequestParams
- type AssociateSecurityGroupsResponse
- type AssociateSecurityGroupsResponseParams
- type AttachDisksRequest
- type AttachDisksRequestParams
- type AttachDisksResponse
- type AttachDisksResponseParams
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceRequestParams
- type AttachNetworkInterfaceResponse
- type AttachNetworkInterfaceResponseParams
- type Backend
- type BatchDeregisterTargetsRequest
- type BatchDeregisterTargetsRequestParams
- type BatchDeregisterTargetsResponse
- type BatchDeregisterTargetsResponseParams
- type BatchModifyTargetWeightRequest
- type BatchModifyTargetWeightRequestParams
- type BatchModifyTargetWeightResponse
- type BatchModifyTargetWeightResponseParams
- type BatchRegisterTargetsRequest
- type BatchRegisterTargetsRequestParams
- type BatchRegisterTargetsResponse
- type BatchRegisterTargetsResponseParams
- type BatchTarget
- type City
- type Client
- func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
- func (c *Client) AllocateAddressesWithContext(ctx context.Context, request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
- func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
- func (c *Client) AssignIpv6AddressesWithContext(ctx context.Context, request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
- func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
- func (c *Client) AssignPrivateIpAddressesWithContext(ctx context.Context, request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
- func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
- func (c *Client) AssociateAddressWithContext(ctx context.Context, request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
- func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
- func (c *Client) AttachNetworkInterfaceWithContext(ctx context.Context, request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
- func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
- func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
- func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
- func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
- func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
- func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
- func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
- func (c *Client) CreateDisksWithContext(ctx context.Context, request *CreateDisksRequest) (response *CreateDisksResponse, err error)
- func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
- func (c *Client) CreateHaVipWithContext(ctx context.Context, request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
- func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error)
- func (c *Client) CreateImageWithContext(ctx context.Context, request *CreateImageRequest) (response *CreateImageResponse, err error)
- func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
- func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
- func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)
- func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)
- func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
- func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
- func (c *Client) CreateModule(request *CreateModuleRequest) (response *CreateModuleResponse, err error)
- func (c *Client) CreateModuleWithContext(ctx context.Context, request *CreateModuleRequest) (response *CreateModuleResponse, err error)
- func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
- func (c *Client) CreateNetworkInterfaceWithContext(ctx context.Context, request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
- func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
- func (c *Client) CreateRouteTableWithContext(ctx context.Context, request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
- func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
- func (c *Client) CreateRoutesWithContext(ctx context.Context, request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
- func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
- func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
- func (c *Client) CreateSecurityGroupPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
- func (c *Client) CreateSecurityGroupWithContext(ctx context.Context, request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
- func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
- func (c *Client) CreateSubnetWithContext(ctx context.Context, request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
- func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
- func (c *Client) CreateVpcWithContext(ctx context.Context, request *CreateVpcRequest) (response *CreateVpcResponse, err error)
- func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
- func (c *Client) DeleteHaVipWithContext(ctx context.Context, request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
- func (c *Client) DeleteImage(request *DeleteImageRequest) (response *DeleteImageResponse, err error)
- func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, err error)
- func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
- func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
- func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
- func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
- func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
- func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
- func (c *Client) DeleteModule(request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)
- func (c *Client) DeleteModuleWithContext(ctx context.Context, request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)
- func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
- func (c *Client) DeleteNetworkInterfaceWithContext(ctx context.Context, request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
- func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
- func (c *Client) DeleteRouteTableWithContext(ctx context.Context, request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
- func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
- func (c *Client) DeleteRoutesWithContext(ctx context.Context, request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
- func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
- func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
- func (c *Client) DeleteSecurityGroupPoliciesWithContext(ctx context.Context, request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
- func (c *Client) DeleteSecurityGroupWithContext(ctx context.Context, request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
- func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
- func (c *Client) DeleteSubnetWithContext(ctx context.Context, request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
- func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
- func (c *Client) DeleteVpcWithContext(ctx context.Context, request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
- func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
- func (c *Client) DescribeAddressQuotaWithContext(ctx context.Context, request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
- func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
- func (c *Client) DescribeAddressesWithContext(ctx context.Context, request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
- func (c *Client) DescribeBaseOverview(request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)
- func (c *Client) DescribeBaseOverviewWithContext(ctx context.Context, request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)
- func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
- func (c *Client) DescribeConfigWithContext(ctx context.Context, request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
- func (c *Client) DescribeCustomImageTask(request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)
- func (c *Client) DescribeCustomImageTaskWithContext(ctx context.Context, request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)
- func (c *Client) DescribeDefaultSubnet(request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)
- func (c *Client) DescribeDefaultSubnetWithContext(ctx context.Context, request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)
- func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
- func (c *Client) DescribeDisksWithContext(ctx context.Context, request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
- func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
- func (c *Client) DescribeHaVipsWithContext(ctx context.Context, request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
- func (c *Client) DescribeImage(request *DescribeImageRequest) (response *DescribeImageResponse, err error)
- func (c *Client) DescribeImageWithContext(ctx context.Context, request *DescribeImageRequest) (response *DescribeImageResponse, err error)
- func (c *Client) DescribeImportImageOs(request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)
- func (c *Client) DescribeImportImageOsWithContext(ctx context.Context, request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)
- func (c *Client) DescribeInstanceTypeConfig(request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
- func (c *Client) DescribeInstanceTypeConfigWithContext(ctx context.Context, request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
- func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
- func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesDeniedActions(request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
- func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
- func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
- func (c *Client) DescribeLoadBalanceTaskStatus(request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)
- func (c *Client) DescribeLoadBalanceTaskStatusWithContext(ctx context.Context, request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)
- func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
- func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
- func (c *Client) DescribeModule(request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)
- func (c *Client) DescribeModuleDetail(request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)
- func (c *Client) DescribeModuleDetailWithContext(ctx context.Context, request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)
- func (c *Client) DescribeModuleWithContext(ctx context.Context, request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)
- func (c *Client) DescribeMonthPeakNetwork(request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)
- func (c *Client) DescribeMonthPeakNetworkWithContext(ctx context.Context, request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)
- func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
- func (c *Client) DescribeNetworkInterfacesWithContext(ctx context.Context, request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
- func (c *Client) DescribeNode(request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
- func (c *Client) DescribeNodeWithContext(ctx context.Context, request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
- func (c *Client) DescribePackingQuotaGroup(request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
- func (c *Client) DescribePackingQuotaGroupWithContext(ctx context.Context, request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
- func (c *Client) DescribePeakBaseOverview(request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)
- func (c *Client) DescribePeakBaseOverviewWithContext(ctx context.Context, request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)
- func (c *Client) DescribePeakNetworkOverview(request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)
- func (c *Client) DescribePeakNetworkOverviewWithContext(ctx context.Context, request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)
- func (c *Client) DescribePriceRunInstance(request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
- func (c *Client) DescribePriceRunInstanceWithContext(ctx context.Context, request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
- func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
- func (c *Client) DescribeRouteConflictsWithContext(ctx context.Context, request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
- func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
- func (c *Client) DescribeRouteTablesWithContext(ctx context.Context, request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
- func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
- func (c *Client) DescribeSecurityGroupAssociationStatisticsWithContext(ctx context.Context, ...) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
- func (c *Client) DescribeSecurityGroupLimits(request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)
- func (c *Client) DescribeSecurityGroupLimitsWithContext(ctx context.Context, request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)
- func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
- func (c *Client) DescribeSecurityGroupPoliciesWithContext(ctx context.Context, request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
- func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
- func (c *Client) DescribeSecurityGroupsWithContext(ctx context.Context, request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
- func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
- func (c *Client) DescribeSubnetsWithContext(ctx context.Context, request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
- func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
- func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
- func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
- func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
- func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
- func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
- func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
- func (c *Client) DescribeVpcsWithContext(ctx context.Context, request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
- func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
- func (c *Client) DetachDisksWithContext(ctx context.Context, request *DetachDisksRequest) (response *DetachDisksResponse, err error)
- func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
- func (c *Client) DetachNetworkInterfaceWithContext(ctx context.Context, request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
- func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
- func (c *Client) DisableRoutesWithContext(ctx context.Context, request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
- func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
- func (c *Client) DisassociateAddressWithContext(ctx context.Context, request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
- func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
- func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
- func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
- func (c *Client) EnableRoutesWithContext(ctx context.Context, request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
- func (c *Client) ImportCustomImage(request *ImportCustomImageRequest) (response *ImportCustomImageResponse, err error)
- func (c *Client) ImportCustomImageWithContext(ctx context.Context, request *ImportCustomImageRequest) (response *ImportCustomImageResponse, err error)
- func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImageResponse, err error)
- func (c *Client) ImportImageWithContext(ctx context.Context, request *ImportImageRequest) (response *ImportImageResponse, err error)
- func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
- func (c *Client) MigrateNetworkInterfaceWithContext(ctx context.Context, request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
- func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
- func (c *Client) MigratePrivateIpAddressWithContext(ctx context.Context, request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
- func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
- func (c *Client) ModifyAddressAttributeWithContext(ctx context.Context, request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
- func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
- func (c *Client) ModifyAddressesBandwidthWithContext(ctx context.Context, request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
- func (c *Client) ModifyDefaultSubnet(request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)
- func (c *Client) ModifyDefaultSubnetWithContext(ctx context.Context, request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)
- func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
- func (c *Client) ModifyHaVipAttributeWithContext(ctx context.Context, request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
- func (c *Client) ModifyImageAttribute(request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)
- func (c *Client) ModifyImageAttributeWithContext(ctx context.Context, request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)
- func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
- func (c *Client) ModifyIpv6AddressesAttributeWithContext(ctx context.Context, request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
- func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
- func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
- func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
- func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
- func (c *Client) ModifyModuleConfig(request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)
- func (c *Client) ModifyModuleConfigWithContext(ctx context.Context, request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)
- func (c *Client) ModifyModuleDisableWanIp(request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)
- func (c *Client) ModifyModuleDisableWanIpWithContext(ctx context.Context, request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)
- func (c *Client) ModifyModuleImage(request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)
- func (c *Client) ModifyModuleImageWithContext(ctx context.Context, request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)
- func (c *Client) ModifyModuleIpDirect(request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)
- func (c *Client) ModifyModuleIpDirectWithContext(ctx context.Context, request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)
- func (c *Client) ModifyModuleName(request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)
- func (c *Client) ModifyModuleNameWithContext(ctx context.Context, request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)
- func (c *Client) ModifyModuleNetwork(request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)
- func (c *Client) ModifyModuleNetworkWithContext(ctx context.Context, request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)
- func (c *Client) ModifyModuleSecurityGroups(request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)
- func (c *Client) ModifyModuleSecurityGroupsWithContext(ctx context.Context, request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)
- func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
- func (c *Client) ModifyPrivateIpAddressesAttributeWithContext(ctx context.Context, request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
- func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
- func (c *Client) ModifyRouteTableAttributeWithContext(ctx context.Context, request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupAttributeWithContext(ctx context.Context, request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
- func (c *Client) ModifySecurityGroupPoliciesWithContext(ctx context.Context, request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
- func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
- func (c *Client) ModifySubnetAttributeWithContext(ctx context.Context, request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
- func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
- func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
- func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
- func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
- func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
- func (c *Client) ModifyVpcAttributeWithContext(ctx context.Context, request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
- func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
- func (c *Client) ReleaseAddressesWithContext(ctx context.Context, request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
- func (c *Client) ReleaseIpv6Addresses(request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)
- func (c *Client) ReleaseIpv6AddressesWithContext(ctx context.Context, request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)
- func (c *Client) RemovePrivateIpAddresses(request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)
- func (c *Client) RemovePrivateIpAddressesWithContext(ctx context.Context, request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)
- func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
- func (c *Client) ReplaceRouteTableAssociationWithContext(ctx context.Context, request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
- func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
- func (c *Client) ReplaceRoutesWithContext(ctx context.Context, request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
- func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
- func (c *Client) ReplaceSecurityGroupPolicyWithContext(ctx context.Context, request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
- func (c *Client) ResetInstances(request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)
- func (c *Client) ResetInstancesMaxBandwidth(request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)
- func (c *Client) ResetInstancesMaxBandwidthWithContext(ctx context.Context, request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)
- func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
- func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
- func (c *Client) ResetInstancesWithContext(ctx context.Context, request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)
- func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
- func (c *Client) ResetRoutesWithContext(ctx context.Context, request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
- func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstancesResponse, err error)
- func (c *Client) RunInstancesWithContext(ctx context.Context, request *RunInstancesRequest) (response *RunInstancesResponse, err error)
- func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
- func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
- func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
- func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
- func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) TerminateDisks(request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
- func (c *Client) TerminateDisksWithContext(ctx context.Context, request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
- func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- type Country
- type CreateDisksRequest
- type CreateDisksRequestParams
- type CreateDisksResponse
- type CreateDisksResponseParams
- type CreateHaVipRequest
- type CreateHaVipRequestParams
- type CreateHaVipResponse
- type CreateHaVipResponseParams
- type CreateImageRequest
- type CreateImageRequestParams
- type CreateImageResponse
- type CreateImageResponseParams
- type CreateKeyPairRequest
- type CreateKeyPairRequestParams
- type CreateKeyPairResponse
- type CreateKeyPairResponseParams
- type CreateListenerRequest
- type CreateListenerRequestParams
- type CreateListenerResponse
- type CreateListenerResponseParams
- type CreateLoadBalancerRequest
- type CreateLoadBalancerRequestParams
- type CreateLoadBalancerResponse
- type CreateLoadBalancerResponseParams
- type CreateModuleRequest
- type CreateModuleRequestParams
- type CreateModuleResponse
- type CreateModuleResponseParams
- type CreateNetworkInterfaceRequest
- type CreateNetworkInterfaceRequestParams
- type CreateNetworkInterfaceResponse
- type CreateNetworkInterfaceResponseParams
- type CreateRouteTableRequest
- type CreateRouteTableRequestParams
- type CreateRouteTableResponse
- type CreateRouteTableResponseParams
- type CreateRoutesRequest
- type CreateRoutesRequestParams
- type CreateRoutesResponse
- type CreateRoutesResponseParams
- type CreateSecurityGroupPoliciesRequest
- type CreateSecurityGroupPoliciesRequestParams
- type CreateSecurityGroupPoliciesResponse
- type CreateSecurityGroupPoliciesResponseParams
- type CreateSecurityGroupRequest
- type CreateSecurityGroupRequestParams
- type CreateSecurityGroupResponse
- type CreateSecurityGroupResponseParams
- type CreateSubnetRequest
- type CreateSubnetRequestParams
- type CreateSubnetResponse
- type CreateSubnetResponseParams
- type CreateVpcRequest
- type CreateVpcRequestParams
- type CreateVpcResponse
- type CreateVpcResponseParams
- type DataDisk
- type DeleteHaVipRequest
- type DeleteHaVipRequestParams
- type DeleteHaVipResponse
- type DeleteHaVipResponseParams
- type DeleteImageRequest
- type DeleteImageRequestParams
- type DeleteImageResponse
- type DeleteImageResponseParams
- type DeleteListenerRequest
- type DeleteListenerRequestParams
- type DeleteListenerResponse
- type DeleteListenerResponseParams
- type DeleteLoadBalancerListenersRequest
- type DeleteLoadBalancerListenersRequestParams
- type DeleteLoadBalancerListenersResponse
- type DeleteLoadBalancerListenersResponseParams
- type DeleteLoadBalancerRequest
- type DeleteLoadBalancerRequestParams
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerResponseParams
- type DeleteModuleRequest
- type DeleteModuleRequestParams
- type DeleteModuleResponse
- type DeleteModuleResponseParams
- type DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceRequestParams
- type DeleteNetworkInterfaceResponse
- type DeleteNetworkInterfaceResponseParams
- type DeleteRouteTableRequest
- type DeleteRouteTableRequestParams
- type DeleteRouteTableResponse
- type DeleteRouteTableResponseParams
- type DeleteRoutesRequest
- type DeleteRoutesRequestParams
- type DeleteRoutesResponse
- type DeleteRoutesResponseParams
- type DeleteSecurityGroupPoliciesRequest
- type DeleteSecurityGroupPoliciesRequestParams
- type DeleteSecurityGroupPoliciesResponse
- type DeleteSecurityGroupPoliciesResponseParams
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupRequestParams
- type DeleteSecurityGroupResponse
- type DeleteSecurityGroupResponseParams
- type DeleteSnapshotsRequest
- type DeleteSnapshotsRequestParams
- type DeleteSnapshotsResponse
- type DeleteSnapshotsResponseParams
- type DeleteSubnetRequest
- type DeleteSubnetRequestParams
- type DeleteSubnetResponse
- type DeleteSubnetResponseParams
- type DeleteVpcRequest
- type DeleteVpcRequestParams
- type DeleteVpcResponse
- type DeleteVpcResponseParams
- type DescribeAddressQuotaRequest
- type DescribeAddressQuotaRequestParams
- type DescribeAddressQuotaResponse
- type DescribeAddressQuotaResponseParams
- type DescribeAddressesRequest
- type DescribeAddressesRequestParams
- type DescribeAddressesResponse
- type DescribeAddressesResponseParams
- type DescribeBaseOverviewRequest
- type DescribeBaseOverviewRequestParams
- type DescribeBaseOverviewResponse
- type DescribeBaseOverviewResponseParams
- type DescribeConfigRequest
- type DescribeConfigRequestParams
- type DescribeConfigResponse
- type DescribeConfigResponseParams
- type DescribeCustomImageTaskRequest
- type DescribeCustomImageTaskRequestParams
- type DescribeCustomImageTaskResponse
- type DescribeCustomImageTaskResponseParams
- type DescribeDefaultSubnetRequest
- type DescribeDefaultSubnetRequestParams
- type DescribeDefaultSubnetResponse
- type DescribeDefaultSubnetResponseParams
- type DescribeDisksRequest
- type DescribeDisksRequestParams
- type DescribeDisksResponse
- type DescribeDisksResponseParams
- type DescribeHaVipsRequest
- type DescribeHaVipsRequestParams
- type DescribeHaVipsResponse
- type DescribeHaVipsResponseParams
- type DescribeImageRequest
- type DescribeImageRequestParams
- type DescribeImageResponse
- type DescribeImageResponseParams
- type DescribeImportImageOsRequest
- type DescribeImportImageOsRequestParams
- type DescribeImportImageOsResponse
- type DescribeImportImageOsResponseParams
- type DescribeInstanceTypeConfigRequest
- type DescribeInstanceTypeConfigRequestParams
- type DescribeInstanceTypeConfigResponse
- type DescribeInstanceTypeConfigResponseParams
- type DescribeInstanceVncUrlRequest
- type DescribeInstanceVncUrlRequestParams
- type DescribeInstanceVncUrlResponse
- type DescribeInstanceVncUrlResponseParams
- type DescribeInstancesDeniedActionsRequest
- type DescribeInstancesDeniedActionsRequestParams
- type DescribeInstancesDeniedActionsResponse
- type DescribeInstancesDeniedActionsResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeListenersRequest
- type DescribeListenersRequestParams
- type DescribeListenersResponse
- type DescribeListenersResponseParams
- type DescribeLoadBalanceTaskStatusRequest
- type DescribeLoadBalanceTaskStatusRequestParams
- type DescribeLoadBalanceTaskStatusResponse
- type DescribeLoadBalanceTaskStatusResponseParams
- type DescribeLoadBalancersRequest
- type DescribeLoadBalancersRequestParams
- type DescribeLoadBalancersResponse
- type DescribeLoadBalancersResponseParams
- type DescribeModuleDetailRequest
- type DescribeModuleDetailRequestParams
- type DescribeModuleDetailResponse
- type DescribeModuleDetailResponseParams
- type DescribeModuleRequest
- type DescribeModuleRequestParams
- type DescribeModuleResponse
- type DescribeModuleResponseParams
- type DescribeMonthPeakNetworkRequest
- type DescribeMonthPeakNetworkRequestParams
- type DescribeMonthPeakNetworkResponse
- type DescribeMonthPeakNetworkResponseParams
- type DescribeNetworkInterfacesRequest
- type DescribeNetworkInterfacesRequestParams
- type DescribeNetworkInterfacesResponse
- type DescribeNetworkInterfacesResponseParams
- type DescribeNodeRequest
- type DescribeNodeRequestParams
- type DescribeNodeResponse
- type DescribeNodeResponseParams
- type DescribePackingQuotaGroupRequest
- type DescribePackingQuotaGroupRequestParams
- type DescribePackingQuotaGroupResponse
- type DescribePackingQuotaGroupResponseParams
- type DescribePeakBaseOverviewRequest
- type DescribePeakBaseOverviewRequestParams
- type DescribePeakBaseOverviewResponse
- type DescribePeakBaseOverviewResponseParams
- type DescribePeakNetworkOverviewRequest
- type DescribePeakNetworkOverviewRequestParams
- type DescribePeakNetworkOverviewResponse
- type DescribePeakNetworkOverviewResponseParams
- type DescribePriceRunInstanceRequest
- type DescribePriceRunInstanceRequestParams
- type DescribePriceRunInstanceResponse
- type DescribePriceRunInstanceResponseParams
- type DescribeRouteConflictsRequest
- type DescribeRouteConflictsRequestParams
- type DescribeRouteConflictsResponse
- type DescribeRouteConflictsResponseParams
- type DescribeRouteTablesRequest
- type DescribeRouteTablesRequestParams
- type DescribeRouteTablesResponse
- type DescribeRouteTablesResponseParams
- type DescribeSecurityGroupAssociationStatisticsRequest
- type DescribeSecurityGroupAssociationStatisticsRequestParams
- type DescribeSecurityGroupAssociationStatisticsResponse
- type DescribeSecurityGroupAssociationStatisticsResponseParams
- type DescribeSecurityGroupLimitsRequest
- type DescribeSecurityGroupLimitsRequestParams
- type DescribeSecurityGroupLimitsResponse
- type DescribeSecurityGroupLimitsResponseParams
- type DescribeSecurityGroupPoliciesRequest
- type DescribeSecurityGroupPoliciesRequestParams
- type DescribeSecurityGroupPoliciesResponse
- type DescribeSecurityGroupPoliciesResponseParams
- type DescribeSecurityGroupsRequest
- type DescribeSecurityGroupsRequestParams
- type DescribeSecurityGroupsResponse
- type DescribeSecurityGroupsResponseParams
- type DescribeSnapshotsRequest
- type DescribeSnapshotsRequestParams
- type DescribeSnapshotsResponse
- type DescribeSnapshotsResponseParams
- type DescribeSubnetsRequest
- type DescribeSubnetsRequestParams
- type DescribeSubnetsResponse
- type DescribeSubnetsResponseParams
- type DescribeTargetHealthRequest
- type DescribeTargetHealthRequestParams
- type DescribeTargetHealthResponse
- type DescribeTargetHealthResponseParams
- type DescribeTargetsRequest
- type DescribeTargetsRequestParams
- type DescribeTargetsResponse
- type DescribeTargetsResponseParams
- type DescribeTaskResultRequest
- type DescribeTaskResultRequestParams
- type DescribeTaskResultResponse
- type DescribeTaskResultResponseParams
- type DescribeTaskStatusRequest
- type DescribeTaskStatusRequestParams
- type DescribeTaskStatusResponse
- type DescribeTaskStatusResponseParams
- type DescribeVpcsRequest
- type DescribeVpcsRequestParams
- type DescribeVpcsResponse
- type DescribeVpcsResponseParams
- type DetachDisksRequest
- type DetachDisksRequestParams
- type DetachDisksResponse
- type DetachDisksResponseParams
- type DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceRequestParams
- type DetachNetworkInterfaceResponse
- type DetachNetworkInterfaceResponseParams
- type DisableRoutesRequest
- type DisableRoutesRequestParams
- type DisableRoutesResponse
- type DisableRoutesResponseParams
- type DisassociateAddressRequest
- type DisassociateAddressRequestParams
- type DisassociateAddressResponse
- type DisassociateAddressResponseParams
- type DisassociateInstancesKeyPairsRequest
- type DisassociateInstancesKeyPairsRequestParams
- type DisassociateInstancesKeyPairsResponse
- type DisassociateInstancesKeyPairsResponseParams
- type DisassociateSecurityGroupsRequest
- type DisassociateSecurityGroupsRequestParams
- type DisassociateSecurityGroupsResponse
- type DisassociateSecurityGroupsResponseParams
- type Disk
- type DiskChargePrepaid
- type DiskInfo
- type EipQuota
- type EnableRoutesRequest
- type EnableRoutesRequestParams
- type EnableRoutesResponse
- type EnableRoutesResponseParams
- type EnhancedService
- type Filter
- type HaVip
- type HealthCheck
- type ISP
- type ISPCounter
- type Image
- type ImageLimitConfig
- type ImageOsList
- type ImageTask
- type ImageUrl
- type ImportCustomImageRequest
- type ImportCustomImageRequestParams
- type ImportCustomImageResponse
- type ImportCustomImageResponseParams
- type ImportImageRequest
- type ImportImageRequestParams
- type ImportImageResponse
- type ImportImageResponseParams
- type Instance
- type InstanceFamilyConfig
- type InstanceFamilyTypeConfig
- type InstanceNetworkInfo
- type InstanceNetworkLimitConfig
- type InstanceOperator
- type InstancePricesPartDetail
- type InstanceStatistic
- type InstanceTypeConfig
- type InstancesPrice
- type Internet
- type Ipv6Address
- type KeyPair
- type Listener
- type ListenerBackend
- type ListenerHealth
- type LoadBalancer
- type LoadBalancerHealth
- type LoadBalancerInternetAccessible
- type MigrateNetworkInterfaceRequest
- type MigrateNetworkInterfaceRequestParams
- type MigrateNetworkInterfaceResponse
- type MigrateNetworkInterfaceResponseParams
- type MigratePrivateIpAddressRequest
- type MigratePrivateIpAddressRequestParams
- type MigratePrivateIpAddressResponse
- type MigratePrivateIpAddressResponseParams
- type ModifyAddressAttributeRequest
- type ModifyAddressAttributeRequestParams
- type ModifyAddressAttributeResponse
- type ModifyAddressAttributeResponseParams
- type ModifyAddressesBandwidthRequest
- type ModifyAddressesBandwidthRequestParams
- type ModifyAddressesBandwidthResponse
- type ModifyAddressesBandwidthResponseParams
- type ModifyDefaultSubnetRequest
- type ModifyDefaultSubnetRequestParams
- type ModifyDefaultSubnetResponse
- type ModifyDefaultSubnetResponseParams
- type ModifyHaVipAttributeRequest
- type ModifyHaVipAttributeRequestParams
- type ModifyHaVipAttributeResponse
- type ModifyHaVipAttributeResponseParams
- type ModifyImageAttributeRequest
- type ModifyImageAttributeRequestParams
- type ModifyImageAttributeResponse
- type ModifyImageAttributeResponseParams
- type ModifyInstancesAttributeRequest
- type ModifyInstancesAttributeRequestParams
- type ModifyInstancesAttributeResponse
- type ModifyInstancesAttributeResponseParams
- type ModifyIpv6AddressesAttributeRequest
- type ModifyIpv6AddressesAttributeRequestParams
- type ModifyIpv6AddressesAttributeResponse
- type ModifyIpv6AddressesAttributeResponseParams
- type ModifyListenerRequest
- type ModifyListenerRequestParams
- type ModifyListenerResponse
- type ModifyListenerResponseParams
- type ModifyLoadBalancerAttributesRequest
- type ModifyLoadBalancerAttributesRequestParams
- type ModifyLoadBalancerAttributesResponse
- type ModifyLoadBalancerAttributesResponseParams
- type ModifyModuleConfigRequest
- type ModifyModuleConfigRequestParams
- type ModifyModuleConfigResponse
- type ModifyModuleConfigResponseParams
- type ModifyModuleDisableWanIpRequest
- type ModifyModuleDisableWanIpRequestParams
- type ModifyModuleDisableWanIpResponse
- type ModifyModuleDisableWanIpResponseParams
- type ModifyModuleImageRequest
- type ModifyModuleImageRequestParams
- type ModifyModuleImageResponse
- type ModifyModuleImageResponseParams
- type ModifyModuleIpDirectRequest
- type ModifyModuleIpDirectRequestParams
- type ModifyModuleIpDirectResponse
- type ModifyModuleIpDirectResponseParams
- type ModifyModuleNameRequest
- type ModifyModuleNameRequestParams
- type ModifyModuleNameResponse
- type ModifyModuleNameResponseParams
- type ModifyModuleNetworkRequest
- type ModifyModuleNetworkRequestParams
- type ModifyModuleNetworkResponse
- type ModifyModuleNetworkResponseParams
- type ModifyModuleSecurityGroupsRequest
- type ModifyModuleSecurityGroupsRequestParams
- type ModifyModuleSecurityGroupsResponse
- type ModifyModuleSecurityGroupsResponseParams
- type ModifyPrivateIpAddressesAttributeRequest
- type ModifyPrivateIpAddressesAttributeRequestParams
- type ModifyPrivateIpAddressesAttributeResponse
- type ModifyPrivateIpAddressesAttributeResponseParams
- type ModifyRouteTableAttributeRequest
- type ModifyRouteTableAttributeRequestParams
- type ModifyRouteTableAttributeResponse
- type ModifyRouteTableAttributeResponseParams
- type ModifySecurityGroupAttributeRequest
- type ModifySecurityGroupAttributeRequestParams
- type ModifySecurityGroupAttributeResponse
- type ModifySecurityGroupAttributeResponseParams
- type ModifySecurityGroupPoliciesRequest
- type ModifySecurityGroupPoliciesRequestParams
- type ModifySecurityGroupPoliciesResponse
- type ModifySecurityGroupPoliciesResponseParams
- type ModifySubnetAttributeRequest
- type ModifySubnetAttributeRequestParams
- type ModifySubnetAttributeResponse
- type ModifySubnetAttributeResponseParams
- type ModifyTargetPortRequest
- type ModifyTargetPortRequestParams
- type ModifyTargetPortResponse
- type ModifyTargetPortResponseParams
- type ModifyTargetWeightRequest
- type ModifyTargetWeightRequestParams
- type ModifyTargetWeightResponse
- type ModifyTargetWeightResponseParams
- type ModifyVpcAttributeRequest
- type ModifyVpcAttributeRequestParams
- type ModifyVpcAttributeResponse
- type ModifyVpcAttributeResponseParams
- type Module
- type ModuleCounter
- type ModuleItem
- type MonthNetwork
- type NetworkInterface
- type NetworkInterfaceAttachment
- type NetworkStorageRange
- type Node
- type NodeInstanceNum
- type OperatorAction
- type OsVersion
- type PackingQuotaGroup
- type PackingQuotaInfo
- type PeakBase
- type PeakFamilyInfo
- type PeakNetwork
- type PeakNetworkRegionInfo
- type PhysicalPosition
- type Placement
- type Position
- type PriceDetail
- type PrivateIPAddressInfo
- type PrivateIpAddressSpecification
- type Province
- type PublicIPAddressInfo
- type RebootInstancesRequest
- type RebootInstancesRequestParams
- type RebootInstancesResponse
- type RebootInstancesResponseParams
- type RegionInfo
- type ReleaseAddressesRequest
- type ReleaseAddressesRequestParams
- type ReleaseAddressesResponse
- type ReleaseAddressesResponseParams
- type ReleaseIpv6AddressesRequest
- type ReleaseIpv6AddressesRequestParams
- type ReleaseIpv6AddressesResponse
- type ReleaseIpv6AddressesResponseParams
- type RemovePrivateIpAddressesRequest
- type RemovePrivateIpAddressesRequestParams
- type RemovePrivateIpAddressesResponse
- type RemovePrivateIpAddressesResponseParams
- type ReplaceRouteTableAssociationRequest
- type ReplaceRouteTableAssociationRequestParams
- type ReplaceRouteTableAssociationResponse
- type ReplaceRouteTableAssociationResponseParams
- type ReplaceRoutesRequest
- type ReplaceRoutesRequestParams
- type ReplaceRoutesResponse
- type ReplaceRoutesResponseParams
- type ReplaceSecurityGroupPolicyRequest
- type ReplaceSecurityGroupPolicyRequestParams
- type ReplaceSecurityGroupPolicyResponse
- type ReplaceSecurityGroupPolicyResponseParams
- type ResetInstancesMaxBandwidthRequest
- type ResetInstancesMaxBandwidthRequestParams
- type ResetInstancesMaxBandwidthResponse
- type ResetInstancesMaxBandwidthResponseParams
- type ResetInstancesPasswordRequest
- type ResetInstancesPasswordRequestParams
- type ResetInstancesPasswordResponse
- type ResetInstancesPasswordResponseParams
- type ResetInstancesRequest
- type ResetInstancesRequestParams
- type ResetInstancesResponse
- type ResetInstancesResponseParams
- type ResetRoutesRequest
- type ResetRoutesRequestParams
- type ResetRoutesResponse
- type ResetRoutesResponseParams
- type Route
- type RouteConflict
- type RouteTable
- type RouteTableAssociation
- type RuleHealth
- type RunEIPDirectServiceEnabled
- type RunInstancesRequest
- type RunInstancesRequestParams
- type RunInstancesResponse
- type RunInstancesResponseParams
- type RunMonitorServiceEnabled
- type RunSecurityServiceEnabled
- type SecurityGroup
- type SecurityGroupAssociationStatistics
- type SecurityGroupLimitSet
- type SecurityGroupPolicy
- type SecurityGroupPolicySet
- type ServiceTemplateSpecification
- type SetLoadBalancerSecurityGroupsRequest
- type SetLoadBalancerSecurityGroupsRequestParams
- type SetLoadBalancerSecurityGroupsResponse
- type SetLoadBalancerSecurityGroupsResponseParams
- type SetSecurityGroupForLoadbalancersRequest
- type SetSecurityGroupForLoadbalancersRequestParams
- type SetSecurityGroupForLoadbalancersResponse
- type SetSecurityGroupForLoadbalancersResponseParams
- type SimpleModule
- type Snapshot
- type SrcImage
- type StartInstancesRequest
- type StartInstancesRequestParams
- type StartInstancesResponse
- type StartInstancesResponseParams
- type StopInstancesRequest
- type StopInstancesRequestParams
- type StopInstancesResponse
- type StopInstancesResponseParams
- type Subnet
- type SystemDisk
- type Tag
- type TagInfo
- type TagSpecification
- type Target
- type TargetHealth
- type TargetsWeightRule
- type TaskInput
- type TaskOutput
- type TerminateDisksRequest
- type TerminateDisksRequestParams
- type TerminateDisksResponse
- type TerminateDisksResponseParams
- type TerminateInstancesRequest
- type TerminateInstancesRequestParams
- type TerminateInstancesResponse
- type TerminateInstancesResponseParams
- type VirtualPrivateCloud
- type VpcInfo
- type ZoneInfo
- type ZoneInstanceCountISP
- type ZoneInstanceInfo
Constants ¶
const ( // 鉴权失败。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 余额不足。 FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance" // 数据操作失败。 FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" // FailedOperation.DiskAttached FAILEDOPERATION_DISKATTACHED = "FailedOperation.DiskAttached" // 镜像正在使用中。 FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" // 模块下存在实例。 FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule" // 实例没有全部关机。 FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" // 实例不属于当前模块。 FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" // 内部操作错误。 FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" // 当前状态无法执行该操作。 FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" // 其他操作正在运行,无法进行当前操作。 FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" // 不允许执行当前操作。 FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" // 该内网IP已经绑定了弹性IP。 FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded" // 内网IP状态非可用状态。 FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" // 内部错误。 INTERNALERROR = "InternalError" // InternalError.ComponentError INTERNALERROR_COMPONENTERROR = "InternalError.ComponentError" // InternalError.FailQueryResource INTERNALERROR_FAILQUERYRESOURCE = "InternalError.FailQueryResource" // InternalError.ResourceOpFailed INTERNALERROR_RESOURCEOPFAILED = "InternalError.ResourceOpFailed" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数不支持同时指定。 INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" // InvalidParameter.DiskConfigNotSupported INVALIDPARAMETER_DISKCONFIGNOTSUPPORTED = "InvalidParameter.DiskConfigNotSupported" // 参数格式错误。 INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" // 数据格式不正确。 INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" // 指定的两个参数冲突,不能同时存在。 EIP只能绑定在实例上或指定网卡的指定内网 IP 上。 INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" // 负载均衡实例ID错误。 INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" // 监听器ID错误。 INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" // 查找不到符合条件的转发规则。 INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" // KeepImageLogin, Password, KeyIds 同时只能使用1个。 INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" // 监听器端口检查失败,比如端口冲突。 INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" // InvalidParameter.ProjectIdNotExist INVALIDPARAMETER_PROJECTIDNOTEXIST = "InvalidParameter.ProjectIdNotExist" // 监听器协议检查失败,比如相关协议不支持对应操作。 INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" // 地域无效。 INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 申请数量超限。 INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" // 超多带宽限制。 INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" // 目的网段不在对端VPC的CIDR范围内。 INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // 重复数据。 INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // Filter参数数值超过限制。 INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" // 镜像已导入。 INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate" // 镜像名称重复。 INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" // 镜像大小大于系统盘大小。 INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize" // 实例配置不匹配。 INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch" // 实例不支持当前操作。 INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported" // 实例名字长度超出限制。 INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" // 实例机型和pid不匹配。 INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid" // InvalidParameterValue.InsufficientRefundQuota INVALIDPARAMETERVALUE_INSUFFICIENTREFUNDQUOTA = "InvalidParameterValue.InsufficientRefundQuota" // 无效的EIP。 INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId" // 您的输入有误或无相应的操作权限。 INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance" // 无效的弹性网卡ID。 INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" // HostName不合法。 INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName" // 参数错误。 INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" // 模块数量不合法。 INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum" // 分页参数不合法。 INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" // 密码不合法。 INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" // 当同步绑定弹性网卡时,一次只能申请单个弹性IP。 INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount" // 带宽大小不合法。 INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" // 入带宽大小超过限额。 INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" // 出入带宽必须一致。 INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" // 该用户不支持当前所选择的计费类型。 INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType" // 数据盘个数不合法。 INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum" // 数据盘大小不合法。 INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" // 数据盘类型不合法。 INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" // InvalidParameterValue.InvalidDisk INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" // InvalidParameterValue.InvalidDiskId INVALIDPARAMETERVALUE_INVALIDDISKID = "InvalidParameterValue.InvalidDiskId" // InvalidParameterValue.InvalidDiskType INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" // windows镜像不支持IP直通。 INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" // 地域参数不合法。 INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" // 无效过滤器。 INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" // 运营商不合法。 INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" // 内存4G以上机型不支持32位操作系统镜像。 INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" // 镜像ID不合法。 INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" // 实例计费类型不合法。 INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType" // 实例ID不合法。 INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" // 不支持调整高IO机型配置。 INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" // 机型ID不合法。 INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" // 计费类型不合法。 INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType" // 密钥ID无效。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId" // 密钥名称异常。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName" // 负载均衡数量不合法。 INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum" // 负载均衡类型不合法。 INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType" // 模块ID不合法。 INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" // ModuleId和InstanceType参数不可同时为空。 INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID" // ModuleId和InstanceType参数不可同时为空。 INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID" // 模块名称冲突。 INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" // 排序字段不合法。 INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField" // 公共参数不合法。 INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" // ecm region不合法。 INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" // 全组ID不合法。 INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID" // InvalidParameterValue.InvalidSnapshot INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot" // InvalidParameterValue.InvalidSnapshotId INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" // 该子网不存在该节点。 INVALIDPARAMETERVALUE_INVALIDSUBNETINZONE = "InvalidParameterValue.InvalidSubnetInZone" // 系统盘大小不合法。 INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" // 系统盘类型不合法。 INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" // 时间不合法。 INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" // zone不合法。 INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" // 城市或者数量不合法。 INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" // 用区不支持此机型。 INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType" // 参数长度错误。 INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" // 参数值超出限制。 INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // 入参格式不合法。 INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // 已有实例的边缘模块不支持调整默认配置。 INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange" // 节点不支持ipv6。 INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" // 对象不在当前子网内。 INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet" // 指定对象不是当前的私有网络。 INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" // 参数值超出限制。 INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" // 参数值不在指定范围。 INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" // 参数值是一个系统保留对象。 INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" // 指定CIDR与同一个私有网络内的另一个子网发生冲突。 INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // 子网不存在。 INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" // 无效的子网网段。 INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // 标签数量超过限制。 INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange" // 无法找到任务。 INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound" // 定时销毁时间早于当前时间。 INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller" // 参数值太长。 INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" // 该机型不支持当前所选择的计费类型。 INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType" // 不支持该区域。 INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" // 用户不支持ipv6。 INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" // 目的网段和当前VPC的CIDR冲突。 INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 申请数量超限。 LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" // 申购次数不足,每个腾讯云账户每个地域每天申购次数为配额数*2 次。 LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" // LimitExceeded.AttachedDiskLimitExceeded LIMITEXCEEDED_ATTACHEDDISKLIMITEXCEEDED = "LimitExceeded.AttachedDiskLimitExceeded" // 分配IPv6网段数量达到上限。 LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" // 网卡配额不足。 LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" // 实例绑定的安全组超出限制。 LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded" // 申请的clb超过限制。 LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded" // 模块默认安全组数目限制。 LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" // 弹性网卡或公网IP数超过CPU规定的限额。 LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded" // 内网IP超出限制。 LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" // 安全组绑定的实例数超限。 LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" // 安全组可关联模块数目限制。 LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" // 安全组规则数量超过上限。 LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" // 申请的cpu核数超限。 LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 缺少需关联的实体参数。 MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity" // 获取基础配置请求参数不全。 MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter" // 镜像操作参数不全。 MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" // 机型操作参数不全。 MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter" // 实例操作参数不全。 MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" // 模块操作参数不全。 MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" // 缺少网卡操作配置的请求参数。 MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" // 节点操作参数不全。 MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" // 获取概览页配置请求参数不全。 MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" // 缺少私有IP地址。 MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress" // 不允许执行当前操作。 OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // IP资源不足。 RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" // 实例资源不足。 RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough" // 私有镜像数量超出限制。 RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" // 当前子网中内网IP不足 RESOURCEINSUFFICIENT_PRIVATEIPQUOTANOTENOUGH = "ResourceInsufficient.PrivateIPQuotaNotEnough" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 实例不合法。 RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" // ResourceNotFound.NotFound RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" // ResourceUnavailable.Attached RESOURCEUNAVAILABLE_ATTACHED = "ResourceUnavailable.Attached" // ResourceUnavailable.Expire RESOURCEUNAVAILABLE_EXPIRE = "ResourceUnavailable.Expire" // 实例未运行。 RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" // ResourceUnavailable.NotPortable RESOURCEUNAVAILABLE_NOTPORTABLE = "ResourceUnavailable.NotPortable" // ResourceUnavailable.NotSupported RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" // ResourceUnavailable.RepeatRefund RESOURCEUNAVAILABLE_REPEATREFUND = "ResourceUnavailable.RepeatRefund" // ResourceUnavailable.TypeError RESOURCEUNAVAILABLE_TYPEERROR = "ResourceUnavailable.TypeError" // 负载均衡资源已经售罄。 RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut" // 特定机型售罄。 RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 没有权限进行该操作。 UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" // UnauthorizedOperation.MFAExpired UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" // UnauthorizedOperation.NotCertification UNAUTHORIZEDOPERATION_NOTCERTIFICATION = "UnauthorizedOperation.NotCertification" // UnauthorizedOperation.NotHavePaymentRight UNAUTHORIZEDOPERATION_NOTHAVEPAYMENTRIGHT = "UnauthorizedOperation.NotHavePaymentRight" // 无windows镜像权限。 UNAUTHORIZEDOPERATION_WINDOWSIMAGE = "UnauthorizedOperation.WindowsImage" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 未找到相关IP。 UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" // 指定实例已经绑定了EIP。需先解绑当前的EIP才能再次进行绑定操作。 UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip" // 弹性网卡与实例是已关联的。 UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" // 实例是未关联的。 UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" // 禁止删除默认路由表。 UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute" // 禁止删除已关联子网的路由表。 UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet" // 安全组规则重复。 UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" // 不支持ECMP。 UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" // 和云联网的路由形成ECMP。 UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" // 和用户自定义的路由形成ECMP。 UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" // 无效实例ID。指定的实例ID不存在。 UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" // 不被支持的实例。 UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" // 当前机型不支持所选镜像。 UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage" // 当前状态不能进行该操作。 UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // 指定 NetworkInterfaceId 不存在或指定的PrivateIpAddress不在NetworkInterfaceId上。 UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound" // 指定弹性网卡的指定内网IP已经绑定了EIP,不能重复绑定。 UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip" // 资源状态不合法。 UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" // 请确认提供的IP地址是否完整。 UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" // 资源互斥操作任务正在执行。 UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" // 实例规格仅支持绑定三个EIP。 UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded" // UnsupportedOperation.SnapHasShared UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared" // UnsupportedOperation.SnapshotHasBindedImage UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage" // 当前状态不能进行此操作。 UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit" // 系统路由,禁止操作。 UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" // 指定安全组规则版本号和当前最新版本不一致。 UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" // 资源不属于同一个VPC。 UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" )
const APIVersion = "2019-07-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // EIP的ID,是EIP的唯一标识。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // EIP名称。 AddressName *string `json:"AddressName,omitempty" name:"AddressName"` // EIP状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡) AddressStatus *string `json:"AddressStatus,omitempty" name:"AddressStatus"` // 外网IP地址 AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` // 绑定的资源实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 创建时间。ISO 8601 格式:YYYY-MM-DDTHH:mm:ss.sssZ CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 绑定的弹性网卡ID // 注意:此字段可能返回 null,表示取不到有效值。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 绑定的资源内网ip // 注意:此字段可能返回 null,表示取不到有效值。 PrivateAddressIp *string `json:"PrivateAddressIp,omitempty" name:"PrivateAddressIp"` // 资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离状态 IsArrears *bool `json:"IsArrears,omitempty" name:"IsArrears"` // 资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态 IsBlocked *bool `json:"IsBlocked,omitempty" name:"IsBlocked"` // eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式 IsEipDirectConnection *bool `json:"IsEipDirectConnection,omitempty" name:"IsEipDirectConnection"` // eip资源类型,包括"CalcIP","WanIP","EIP","AnycastEIP"。其中"CalcIP"表示设备ip,“WanIP”表示普通公网ip,“EIP”表示弹性公网ip,“AnycastEip”表示加速EIP AddressType *string `json:"AddressType,omitempty" name:"AddressType"` // eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放 CascadeRelease *bool `json:"CascadeRelease,omitempty" name:"CascadeRelease"` // 运营商,CTCC电信,CUCC联通,CMCC移动 // 注意:此字段可能返回 null,表示取不到有效值。 InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"` // 带宽上限 // 注意:此字段可能返回 null,表示取不到有效值。 Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"` // 计费模式 // 注意:此字段可能返回 null,表示取不到有效值。 PayMode *string `json:"PayMode,omitempty" name:"PayMode"` }
type AddressInfo ¶
type AddressInfo struct { // 实例的外网ip相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PublicIPAddressInfo *PublicIPAddressInfo `json:"PublicIPAddressInfo,omitempty" name:"PublicIPAddressInfo"` // 实例的内网ip相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIPAddressInfo *PrivateIPAddressInfo `json:"PrivateIPAddressInfo,omitempty" name:"PrivateIPAddressInfo"` // 实例的外网ipv6相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PublicIPv6AddressInfo *PublicIPAddressInfo `json:"PublicIPv6AddressInfo,omitempty" name:"PublicIPv6AddressInfo"` }
type AllocateAddressesRequest ¶
type AllocateAddressesRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // EIP数量。默认值:1。 AddressCount *uint64 `json:"AddressCount,omitempty" name:"AddressCount"` // CMCC:中国移动 // CTCC:中国电信 // CUCC:中国联通 InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"` // 1 Mbps 至 5000 Mbps,默认值:1 Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 需要关联的标签列表。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 要绑定的实例 ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 要绑定的内网 IP。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIpAddress ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIpAddress 是指定的 NetworkInterfaceId 上的一个内网 IP。指定弹性网卡的内网 IP 可通过DescribeNetworkInterfaces接口返回值中的privateIpAddress获取。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
func NewAllocateAddressesRequest ¶
func NewAllocateAddressesRequest() (request *AllocateAddressesRequest)
func (*AllocateAddressesRequest) FromJsonString ¶
func (r *AllocateAddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateAddressesRequest) ToJsonString ¶
func (r *AllocateAddressesRequest) ToJsonString() string
type AllocateAddressesRequestParams ¶ added in v1.0.426
type AllocateAddressesRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // EIP数量。默认值:1。 AddressCount *uint64 `json:"AddressCount,omitempty" name:"AddressCount"` // CMCC:中国移动 // CTCC:中国电信 // CUCC:中国联通 InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"` // 1 Mbps 至 5000 Mbps,默认值:1 Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 需要关联的标签列表。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 要绑定的实例 ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 要绑定的内网 IP。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIpAddress ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIpAddress 是指定的 NetworkInterfaceId 上的一个内网 IP。指定弹性网卡的内网 IP 可通过DescribeNetworkInterfaces接口返回值中的privateIpAddress获取。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
Predefined struct for user
type AllocateAddressesResponse ¶
type AllocateAddressesResponse struct { *tchttp.BaseResponse Response *AllocateAddressesResponseParams `json:"Response"` }
func NewAllocateAddressesResponse ¶
func NewAllocateAddressesResponse() (response *AllocateAddressesResponse)
func (*AllocateAddressesResponse) FromJsonString ¶
func (r *AllocateAddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateAddressesResponse) ToJsonString ¶
func (r *AllocateAddressesResponse) ToJsonString() string
type AllocateAddressesResponseParams ¶ added in v1.0.426
type AllocateAddressesResponseParams struct { // 申请到的 EIP 的唯一 ID 列表。 // 注意:此字段可能返回 null,表示取不到有效值。 AddressSet []*string `json:"AddressSet,omitempty" name:"AddressSet"` // 异步任务TaskId。可以使用DescribeTaskResult接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssignIpv6AddressesRequest ¶
type AssignIpv6AddressesRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-1snva0vd。目前只支持主网卡上分配。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址列表,单次最多指定10个。与入参Ipv6AddressCount合并计算配额。与Ipv6AddressCount必填一个。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` // 自动分配IPv6地址个数,内网IP地址个数总和不能超过配数。与入参Ipv6Addresses合并计算配额。与Ipv6Addresses必填一个。 Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"` // ipv6运营商如下: // CTCC:中国电信 // CUCC:中国联通 // CMCC:中国移动 Ipv6ISP *string `json:"Ipv6ISP,omitempty" name:"Ipv6ISP"` }
func NewAssignIpv6AddressesRequest ¶
func NewAssignIpv6AddressesRequest() (request *AssignIpv6AddressesRequest)
func (*AssignIpv6AddressesRequest) FromJsonString ¶
func (r *AssignIpv6AddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssignIpv6AddressesRequest) ToJsonString ¶
func (r *AssignIpv6AddressesRequest) ToJsonString() string
type AssignIpv6AddressesRequestParams ¶ added in v1.0.426
type AssignIpv6AddressesRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-1snva0vd。目前只支持主网卡上分配。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址列表,单次最多指定10个。与入参Ipv6AddressCount合并计算配额。与Ipv6AddressCount必填一个。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` // 自动分配IPv6地址个数,内网IP地址个数总和不能超过配数。与入参Ipv6Addresses合并计算配额。与Ipv6Addresses必填一个。 Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"` // ipv6运营商如下: // CTCC:中国电信 // CUCC:中国联通 // CMCC:中国移动 Ipv6ISP *string `json:"Ipv6ISP,omitempty" name:"Ipv6ISP"` }
Predefined struct for user
type AssignIpv6AddressesResponse ¶
type AssignIpv6AddressesResponse struct { *tchttp.BaseResponse Response *AssignIpv6AddressesResponseParams `json:"Response"` }
func NewAssignIpv6AddressesResponse ¶
func NewAssignIpv6AddressesResponse() (response *AssignIpv6AddressesResponse)
func (*AssignIpv6AddressesResponse) FromJsonString ¶
func (r *AssignIpv6AddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssignIpv6AddressesResponse) ToJsonString ¶
func (r *AssignIpv6AddressesResponse) ToJsonString() string
type AssignIpv6AddressesResponseParams ¶ added in v1.0.426
type AssignIpv6AddressesResponseParams struct { // 分配给弹性网卡的IPv6地址列表。 Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssignPrivateIpAddressesRequest ¶
type AssignPrivateIpAddressesRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 新申请的内网IP地址个数,与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` }
func NewAssignPrivateIpAddressesRequest ¶
func NewAssignPrivateIpAddressesRequest() (request *AssignPrivateIpAddressesRequest)
func (*AssignPrivateIpAddressesRequest) FromJsonString ¶
func (r *AssignPrivateIpAddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssignPrivateIpAddressesRequest) ToJsonString ¶
func (r *AssignPrivateIpAddressesRequest) ToJsonString() string
type AssignPrivateIpAddressesRequestParams ¶ added in v1.0.426
type AssignPrivateIpAddressesRequestParams struct { // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 新申请的内网IP地址个数,与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` }
Predefined struct for user
type AssignPrivateIpAddressesResponse ¶
type AssignPrivateIpAddressesResponse struct { *tchttp.BaseResponse Response *AssignPrivateIpAddressesResponseParams `json:"Response"` }
func NewAssignPrivateIpAddressesResponse ¶
func NewAssignPrivateIpAddressesResponse() (response *AssignPrivateIpAddressesResponse)
func (*AssignPrivateIpAddressesResponse) FromJsonString ¶
func (r *AssignPrivateIpAddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssignPrivateIpAddressesResponse) ToJsonString ¶
func (r *AssignPrivateIpAddressesResponse) ToJsonString() string
type AssignPrivateIpAddressesResponseParams ¶ added in v1.0.426
type AssignPrivateIpAddressesResponseParams struct { // 内网IP详细信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssistantCidr ¶
type AssistantCidr struct { // VPC实例ID。形如:vpc-6v2ht8q5 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 辅助CIDR。形如:172.16.0.0/16 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 辅助CIDR类型(0:普通辅助CIDR,1:容器辅助CIDR),默认都是0。 AssistantType *uint64 `json:"AssistantType,omitempty" name:"AssistantType"` // 辅助CIDR拆分的子网。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet"` }
type AssociateAddressRequest ¶
type AssociateAddressRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 要绑定的实例 ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 要绑定的内网 IP。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIpAddress ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIpAddress 是指定的 NetworkInterfaceId 上的一个内网 IP。指定弹性网卡的内网 IP 可通过DescribeNetworkInterfaces接口返回值中的privateIpAddress获取。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
func NewAssociateAddressRequest ¶
func NewAssociateAddressRequest() (request *AssociateAddressRequest)
func (*AssociateAddressRequest) FromJsonString ¶
func (r *AssociateAddressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateAddressRequest) ToJsonString ¶
func (r *AssociateAddressRequest) ToJsonString() string
type AssociateAddressRequestParams ¶ added in v1.0.426
type AssociateAddressRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 要绑定的实例 ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 要绑定的内网 IP。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIpAddress ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIpAddress 是指定的 NetworkInterfaceId 上的一个内网 IP。指定弹性网卡的内网 IP 可通过DescribeNetworkInterfaces接口返回值中的privateIpAddress获取。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
Predefined struct for user
type AssociateAddressResponse ¶
type AssociateAddressResponse struct { *tchttp.BaseResponse Response *AssociateAddressResponseParams `json:"Response"` }
func NewAssociateAddressResponse ¶
func NewAssociateAddressResponse() (response *AssociateAddressResponse)
func (*AssociateAddressResponse) FromJsonString ¶
func (r *AssociateAddressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateAddressResponse) ToJsonString ¶
func (r *AssociateAddressResponse) ToJsonString() string
type AssociateAddressResponseParams ¶ added in v1.0.426
type AssociateAddressResponseParams struct { // 异步任务TaskId。可以使用DescribeTaskResult接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociateSecurityGroupsRequest ¶
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 要绑定的安全组ID,类似esg-efil73jd,只支持绑定单个安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 被绑定的实例ID,类似ein-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewAssociateSecurityGroupsRequest ¶
func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)
func (*AssociateSecurityGroupsRequest) FromJsonString ¶
func (r *AssociateSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateSecurityGroupsRequest) ToJsonString ¶
func (r *AssociateSecurityGroupsRequest) ToJsonString() string
type AssociateSecurityGroupsRequestParams ¶ added in v1.0.426
type AssociateSecurityGroupsRequestParams struct { // 要绑定的安全组ID,类似esg-efil73jd,只支持绑定单个安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 被绑定的实例ID,类似ein-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type AssociateSecurityGroupsResponse ¶
type AssociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *AssociateSecurityGroupsResponseParams `json:"Response"` }
func NewAssociateSecurityGroupsResponse ¶
func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)
func (*AssociateSecurityGroupsResponse) FromJsonString ¶
func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateSecurityGroupsResponse) ToJsonString ¶
func (r *AssociateSecurityGroupsResponse) ToJsonString() string
type AssociateSecurityGroupsResponseParams ¶ added in v1.0.426
type AssociateSecurityGroupsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachDisksRequest ¶ added in v1.0.253
type AttachDisksRequest struct { *tchttp.BaseRequest // 云服务器实例ID。云盘将被挂载到此云服务器上,通过[DescribeInstances](/document/product/213/15728)接口查询。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 将要被挂载的弹性云盘ID。通过[DescribeDisks](/document/product/362/16315)接口查询。单次最多可挂载10块弹性云盘。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 可选参数,不传该参数则仅执行挂载操作。传入`True`时,会在挂载成功后将云硬盘设置为随云主机销毁模式,仅对按量计费云硬盘有效。 DeleteWithInstance *bool `json:"DeleteWithInstance,omitempty" name:"DeleteWithInstance"` // 可选参数,用于控制云盘挂载时使用的挂载模式,目前仅对黑石裸金属机型有效。取值范围:<br><li>PF<br><li>VF AttachMode *string `json:"AttachMode,omitempty" name:"AttachMode"` }
func NewAttachDisksRequest ¶ added in v1.0.253
func NewAttachDisksRequest() (request *AttachDisksRequest)
func (*AttachDisksRequest) FromJsonString ¶ added in v1.0.253
func (r *AttachDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksRequest) ToJsonString ¶ added in v1.0.253
func (r *AttachDisksRequest) ToJsonString() string
type AttachDisksRequestParams ¶ added in v1.0.426
type AttachDisksRequestParams struct { // 云服务器实例ID。云盘将被挂载到此云服务器上,通过[DescribeInstances](/document/product/213/15728)接口查询。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 将要被挂载的弹性云盘ID。通过[DescribeDisks](/document/product/362/16315)接口查询。单次最多可挂载10块弹性云盘。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 可选参数,不传该参数则仅执行挂载操作。传入`True`时,会在挂载成功后将云硬盘设置为随云主机销毁模式,仅对按量计费云硬盘有效。 DeleteWithInstance *bool `json:"DeleteWithInstance,omitempty" name:"DeleteWithInstance"` // 可选参数,用于控制云盘挂载时使用的挂载模式,目前仅对黑石裸金属机型有效。取值范围:<br><li>PF<br><li>VF AttachMode *string `json:"AttachMode,omitempty" name:"AttachMode"` }
Predefined struct for user
type AttachDisksResponse ¶ added in v1.0.253
type AttachDisksResponse struct { *tchttp.BaseResponse Response *AttachDisksResponseParams `json:"Response"` }
func NewAttachDisksResponse ¶ added in v1.0.253
func NewAttachDisksResponse() (response *AttachDisksResponse)
func (*AttachDisksResponse) FromJsonString ¶ added in v1.0.253
func (r *AttachDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksResponse) ToJsonString ¶ added in v1.0.253
func (r *AttachDisksResponse) ToJsonString() string
type AttachDisksResponseParams ¶ added in v1.0.426
type AttachDisksResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachNetworkInterfaceRequest ¶
type AttachNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 实例ID。形如:ein-r8hr2upy。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewAttachNetworkInterfaceRequest ¶
func NewAttachNetworkInterfaceRequest() (request *AttachNetworkInterfaceRequest)
func (*AttachNetworkInterfaceRequest) FromJsonString ¶
func (r *AttachNetworkInterfaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachNetworkInterfaceRequest) ToJsonString ¶
func (r *AttachNetworkInterfaceRequest) ToJsonString() string
type AttachNetworkInterfaceRequestParams ¶ added in v1.0.426
type AttachNetworkInterfaceRequestParams struct { // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 实例ID。形如:ein-r8hr2upy。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type AttachNetworkInterfaceResponse ¶
type AttachNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *AttachNetworkInterfaceResponseParams `json:"Response"` }
func NewAttachNetworkInterfaceResponse ¶
func NewAttachNetworkInterfaceResponse() (response *AttachNetworkInterfaceResponse)
func (*AttachNetworkInterfaceResponse) FromJsonString ¶
func (r *AttachNetworkInterfaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachNetworkInterfaceResponse) ToJsonString ¶
func (r *AttachNetworkInterfaceResponse) ToJsonString() string
type AttachNetworkInterfaceResponseParams ¶ added in v1.0.426
type AttachNetworkInterfaceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Backend ¶
type Backend struct { // 后端服务的唯一 ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 后端服务的监听端口 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitempty" name:"Port"` // 后端服务的转发权重,取值范围:[0, 100],默认为 10。 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // 后端服务的内网 IP // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 后端服务被绑定的时间 // 注意:此字段可能返回 null,表示取不到有效值。 RegisteredTime *string `json:"RegisteredTime,omitempty" name:"RegisteredTime"` // 弹性网卡唯一ID // 注意:此字段可能返回 null,表示取不到有效值。 EniId *string `json:"EniId,omitempty" name:"EniId"` // 后端服务的外网 IP // 注意:此字段可能返回 null,表示取不到有效值。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses"` // 后端服务的实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
type BatchDeregisterTargetsRequest ¶
type BatchDeregisterTargetsRequest struct { *tchttp.BaseRequest // 负载均衡ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 解绑目标 Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"` }
func NewBatchDeregisterTargetsRequest ¶
func NewBatchDeregisterTargetsRequest() (request *BatchDeregisterTargetsRequest)
func (*BatchDeregisterTargetsRequest) FromJsonString ¶
func (r *BatchDeregisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeregisterTargetsRequest) ToJsonString ¶
func (r *BatchDeregisterTargetsRequest) ToJsonString() string
type BatchDeregisterTargetsRequestParams ¶ added in v1.0.426
type BatchDeregisterTargetsRequestParams struct { // 负载均衡ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 解绑目标 Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"` }
Predefined struct for user
type BatchDeregisterTargetsResponse ¶
type BatchDeregisterTargetsResponse struct { *tchttp.BaseResponse Response *BatchDeregisterTargetsResponseParams `json:"Response"` }
func NewBatchDeregisterTargetsResponse ¶
func NewBatchDeregisterTargetsResponse() (response *BatchDeregisterTargetsResponse)
func (*BatchDeregisterTargetsResponse) FromJsonString ¶
func (r *BatchDeregisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeregisterTargetsResponse) ToJsonString ¶
func (r *BatchDeregisterTargetsResponse) ToJsonString() string
type BatchDeregisterTargetsResponseParams ¶ added in v1.0.426
type BatchDeregisterTargetsResponseParams struct { // 解绑失败的监听器ID // 注意:此字段可能返回 null,表示取不到有效值。 FailListenerIdSet []*string `json:"FailListenerIdSet,omitempty" name:"FailListenerIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchModifyTargetWeightRequest ¶
type BatchModifyTargetWeightRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要批量修改权重的列表 ModifyList []*TargetsWeightRule `json:"ModifyList,omitempty" name:"ModifyList"` }
func NewBatchModifyTargetWeightRequest ¶
func NewBatchModifyTargetWeightRequest() (request *BatchModifyTargetWeightRequest)
func (*BatchModifyTargetWeightRequest) FromJsonString ¶
func (r *BatchModifyTargetWeightRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTargetWeightRequest) ToJsonString ¶
func (r *BatchModifyTargetWeightRequest) ToJsonString() string
type BatchModifyTargetWeightRequestParams ¶ added in v1.0.426
type BatchModifyTargetWeightRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要批量修改权重的列表 ModifyList []*TargetsWeightRule `json:"ModifyList,omitempty" name:"ModifyList"` }
Predefined struct for user
type BatchModifyTargetWeightResponse ¶
type BatchModifyTargetWeightResponse struct { *tchttp.BaseResponse Response *BatchModifyTargetWeightResponseParams `json:"Response"` }
func NewBatchModifyTargetWeightResponse ¶
func NewBatchModifyTargetWeightResponse() (response *BatchModifyTargetWeightResponse)
func (*BatchModifyTargetWeightResponse) FromJsonString ¶
func (r *BatchModifyTargetWeightResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTargetWeightResponse) ToJsonString ¶
func (r *BatchModifyTargetWeightResponse) ToJsonString() string
type BatchModifyTargetWeightResponseParams ¶ added in v1.0.426
type BatchModifyTargetWeightResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchRegisterTargetsRequest ¶
type BatchRegisterTargetsRequest struct { *tchttp.BaseRequest // 负载均衡ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 绑定目标 Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"` }
func NewBatchRegisterTargetsRequest ¶
func NewBatchRegisterTargetsRequest() (request *BatchRegisterTargetsRequest)
func (*BatchRegisterTargetsRequest) FromJsonString ¶
func (r *BatchRegisterTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterTargetsRequest) ToJsonString ¶
func (r *BatchRegisterTargetsRequest) ToJsonString() string
type BatchRegisterTargetsRequestParams ¶ added in v1.0.426
type BatchRegisterTargetsRequestParams struct { // 负载均衡ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 绑定目标 Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"` }
Predefined struct for user
type BatchRegisterTargetsResponse ¶
type BatchRegisterTargetsResponse struct { *tchttp.BaseResponse Response *BatchRegisterTargetsResponseParams `json:"Response"` }
func NewBatchRegisterTargetsResponse ¶
func NewBatchRegisterTargetsResponse() (response *BatchRegisterTargetsResponse)
func (*BatchRegisterTargetsResponse) FromJsonString ¶
func (r *BatchRegisterTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterTargetsResponse) ToJsonString ¶
func (r *BatchRegisterTargetsResponse) ToJsonString() string
type BatchRegisterTargetsResponseParams ¶ added in v1.0.426
type BatchRegisterTargetsResponseParams struct { // 绑定失败的监听器ID,如为空表示全部绑定成功。 // 注意:此字段可能返回 null,表示取不到有效值。 FailListenerIdSet []*string `json:"FailListenerIdSet,omitempty" name:"FailListenerIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchTarget ¶
type BatchTarget struct { // 监听器ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 绑定端口 Port *int64 `json:"Port,omitempty" name:"Port"` // 子机ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 弹性网卡ip EniIp *string `json:"EniIp,omitempty" name:"EniIp"` // 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AllocateAddresses ¶
func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
AllocateAddresses 申请一个或多个弹性公网IP(简称 EIP)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded" FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress" RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"
func (*Client) AllocateAddressesWithContext ¶ added in v1.0.324
func (c *Client) AllocateAddressesWithContext(ctx context.Context, request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
AllocateAddresses 申请一个或多个弹性公网IP(简称 EIP)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded" FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress" RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"
func (*Client) AssignIpv6Addresses ¶
func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
AssignIpv6Addresses 本接口(AssignIpv6Addresses)用于弹性网卡申请IPv6地址。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) AssignIpv6AddressesWithContext ¶ added in v1.0.324
func (c *Client) AssignIpv6AddressesWithContext(ctx context.Context, request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
AssignIpv6Addresses 本接口(AssignIpv6Addresses)用于弹性网卡申请IPv6地址。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) AssignPrivateIpAddresses ¶
func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
AssignPrivateIpAddresses 弹性网卡申请内网 IP
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) AssignPrivateIpAddressesWithContext ¶ added in v1.0.324
func (c *Client) AssignPrivateIpAddressesWithContext(ctx context.Context, request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
AssignPrivateIpAddresses 弹性网卡申请内网 IP
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) AssociateAddress ¶
func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
AssociateAddress 将弹性公网IP(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。
将 EIP 绑定到实例(ECM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
将 EIP 绑定到指定网卡的内网 IP上,内网IP已经绑定了EIP或普通公网IP,则反馈失败。必须先解绑该 EIP,才能再绑定新的。
只有状态为 UNBIND 的 EIP 才能够绑定内网IP。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound" UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) AssociateAddressWithContext ¶ added in v1.0.324
func (c *Client) AssociateAddressWithContext(ctx context.Context, request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
AssociateAddress 将弹性公网IP(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。
将 EIP 绑定到实例(ECM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
将 EIP 绑定到指定网卡的内网 IP上,内网IP已经绑定了EIP或普通公网IP,则反馈失败。必须先解绑该 EIP,才能再绑定新的。
只有状态为 UNBIND 的 EIP 才能够绑定内网IP。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound" UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) AssociateSecurityGroups ¶
func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups 绑定安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) AssociateSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups 绑定安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) AttachDisks ¶ added in v1.0.253
func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks 本接口(AttachDisks)用于挂载云硬盘。
* 支持批量操作,将多块云盘挂载到同一云主机。如果多个云盘中存在不允许挂载的云盘,则操作不执行,返回特定的错误码。
* 本接口为异步接口,当挂载云盘的请求成功返回时,表示后台已发起挂载云盘的操作,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHING”变为“ATTACHED”,则为挂载成功。
可能返回的错误码:
FAILEDOPERATION_DISKATTACHED = "FailedOperation.DiskAttached" INTERNALERROR_RESOURCEOPFAILED = "InternalError.ResourceOpFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" INVALIDPARAMETERVALUE_INVALIDDISKID = "InvalidParameterValue.InvalidDiskId" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_ATTACHEDDISKLIMITEXCEEDED = "LimitExceeded.AttachedDiskLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_ATTACHED = "ResourceUnavailable.Attached" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_TYPEERROR = "ResourceUnavailable.TypeError" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
func (*Client) AttachDisksWithContext ¶ added in v1.0.324
func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks 本接口(AttachDisks)用于挂载云硬盘。
* 支持批量操作,将多块云盘挂载到同一云主机。如果多个云盘中存在不允许挂载的云盘,则操作不执行,返回特定的错误码。
* 本接口为异步接口,当挂载云盘的请求成功返回时,表示后台已发起挂载云盘的操作,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHING”变为“ATTACHED”,则为挂载成功。
可能返回的错误码:
FAILEDOPERATION_DISKATTACHED = "FailedOperation.DiskAttached" INTERNALERROR_RESOURCEOPFAILED = "InternalError.ResourceOpFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" INVALIDPARAMETERVALUE_INVALIDDISKID = "InvalidParameterValue.InvalidDiskId" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_ATTACHEDDISKLIMITEXCEEDED = "LimitExceeded.AttachedDiskLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_ATTACHED = "ResourceUnavailable.Attached" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_TYPEERROR = "ResourceUnavailable.TypeError" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
func (*Client) AttachNetworkInterface ¶
func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
AttachNetworkInterface 弹性网卡绑定云主机
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) AttachNetworkInterfaceWithContext ¶ added in v1.0.324
func (c *Client) AttachNetworkInterfaceWithContext(ctx context.Context, request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
AttachNetworkInterface 弹性网卡绑定云主机
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) BatchDeregisterTargets ¶
func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
BatchDeregisterTargets 批量解绑后端服务。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) BatchDeregisterTargetsWithContext ¶ added in v1.0.324
func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
BatchDeregisterTargets 批量解绑后端服务。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) BatchModifyTargetWeight ¶
func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
BatchModifyTargetWeight 批量修改监听器绑定的后端机器的转发权重。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) BatchModifyTargetWeightWithContext ¶ added in v1.0.324
func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
BatchModifyTargetWeight 批量修改监听器绑定的后端机器的转发权重。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) BatchRegisterTargets ¶
func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
BatchRegisterTargets 批量绑定后端目标。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) BatchRegisterTargetsWithContext ¶ added in v1.0.324
func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
BatchRegisterTargets 批量绑定后端目标。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateDisks ¶ added in v1.0.253
func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
CreateDisks 本接口(CreateDisks)用于创建云硬盘。
* 预付费云盘的购买会预先扣除本次云盘购买所需金额,在调用本接口前请确保账户余额充足。
* 本接口支持传入数据盘快照来创建云盘,实现将快照数据复制到新购云盘上。
* 本接口为异步接口,当创建请求下发成功后会返回一个新建的云盘ID列表,此时云盘的创建并未立即完成。可以通过调用[DescribeDisks](/document/product/362/16315)接口根据DiskId查询对应云盘,如果能查到云盘,且状态为'UNATTACHED'或'ATTACHED',则表示创建成功。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" INTERNALERROR_COMPONENTERROR = "InternalError.ComponentError" INVALIDPARAMETER_DISKCONFIGNOTSUPPORTED = "InvalidParameter.DiskConfigNotSupported" INVALIDPARAMETER_PROJECTIDNOTEXIST = "InvalidParameter.ProjectIdNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOTCERTIFICATION = "UnauthorizedOperation.NotCertification" UNAUTHORIZEDOPERATION_NOTHAVEPAYMENTRIGHT = "UnauthorizedOperation.NotHavePaymentRight"
func (*Client) CreateDisksWithContext ¶ added in v1.0.324
func (c *Client) CreateDisksWithContext(ctx context.Context, request *CreateDisksRequest) (response *CreateDisksResponse, err error)
CreateDisks 本接口(CreateDisks)用于创建云硬盘。
* 预付费云盘的购买会预先扣除本次云盘购买所需金额,在调用本接口前请确保账户余额充足。
* 本接口支持传入数据盘快照来创建云盘,实现将快照数据复制到新购云盘上。
* 本接口为异步接口,当创建请求下发成功后会返回一个新建的云盘ID列表,此时云盘的创建并未立即完成。可以通过调用[DescribeDisks](/document/product/362/16315)接口根据DiskId查询对应云盘,如果能查到云盘,且状态为'UNATTACHED'或'ATTACHED',则表示创建成功。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" INTERNALERROR_COMPONENTERROR = "InternalError.ComponentError" INVALIDPARAMETER_DISKCONFIGNOTSUPPORTED = "InvalidParameter.DiskConfigNotSupported" INVALIDPARAMETER_PROJECTIDNOTEXIST = "InvalidParameter.ProjectIdNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOTCERTIFICATION = "UnauthorizedOperation.NotCertification" UNAUTHORIZEDOPERATION_NOTHAVEPAYMENTRIGHT = "UnauthorizedOperation.NotHavePaymentRight"
func (*Client) CreateHaVip ¶
func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
CreateHaVip 本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateHaVipWithContext ¶ added in v1.0.324
func (c *Client) CreateHaVipWithContext(ctx context.Context, request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
CreateHaVip 本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateImage ¶
func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error)
CreateImage 本接口(CreateImage)用于将实例的系统盘制作为新镜像,创建后的镜像可以用于创建实例。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) CreateImageWithContext ¶ added in v1.0.324
func (c *Client) CreateImageWithContext(ctx context.Context, request *CreateImageRequest) (response *CreateImageResponse, err error)
CreateImage 本接口(CreateImage)用于将实例的系统盘制作为新镜像,创建后的镜像可以用于创建实例。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) CreateKeyPair ¶ added in v1.0.278
func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair 用于创建一个 OpenSSH RSA 密钥对,可以用于登录 Linux 实例。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateKeyPairWithContext ¶ added in v1.0.324
func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair 用于创建一个 OpenSSH RSA 密钥对,可以用于登录 Linux 实例。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateListener ¶
func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)
CreateListener 创建负载均衡监听器。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateListenerWithContext ¶ added in v1.0.324
func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)
CreateListener 创建负载均衡监听器。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateLoadBalancer ¶
func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer 购买负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum" INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSUBNETINZONE = "InvalidParameterValue.InvalidSubnetInZone" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateLoadBalancerWithContext ¶ added in v1.0.324
func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer 购买负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum" INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSUBNETINZONE = "InvalidParameterValue.InvalidSubnetInZone" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateModule ¶
func (c *Client) CreateModule(request *CreateModuleRequest) (response *CreateModuleResponse, err error)
CreateModule 创建模块
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) CreateModuleWithContext ¶ added in v1.0.324
func (c *Client) CreateModuleWithContext(ctx context.Context, request *CreateModuleRequest) (response *CreateModuleResponse, err error)
CreateModule 创建模块
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) CreateNetworkInterface ¶
func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
CreateNetworkInterface 创建弹性网卡
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateNetworkInterfaceWithContext ¶ added in v1.0.324
func (c *Client) CreateNetworkInterfaceWithContext(ctx context.Context, request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
CreateNetworkInterface 创建弹性网卡
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateRouteTable ¶
func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
CreateRouteTable 创建了VPC后,系统会创建一个默认路由表,所有新建的子网都会关联到默认路由表。默认情况下您可以直接使用默认路由表来管理您的路由策略。当您的路由策略较多时,您可以调用创建路由表接口创建更多路由表管理您的路由策略。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateRouteTableWithContext ¶ added in v1.0.324
func (c *Client) CreateRouteTableWithContext(ctx context.Context, request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
CreateRouteTable 创建了VPC后,系统会创建一个默认路由表,所有新建的子网都会关联到默认路由表。默认情况下您可以直接使用默认路由表来管理您的路由策略。当您的路由策略较多时,您可以调用创建路由表接口创建更多路由表管理您的路由策略。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateRoutes ¶
func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
CreateRoutes 创建路由策略
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) CreateRoutesWithContext ¶ added in v1.0.324
func (c *Client) CreateRoutesWithContext(ctx context.Context, request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
CreateRoutes 创建路由策略
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
CreateSecurityGroup 创建安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateSecurityGroupPolicies ¶
func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
CreateSecurityGroupPolicies <p>本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。</p>
<p>在 SecurityGroupPolicySet 参数中:</p>
<ul>
<li>Version 安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。</li>
<li>在创建出站和入站规则(Egress 和 Ingress)时:<ul>
<li>Protocol 字段支持输入TCP, UDP, ICMP, GRE, ALL。</li>
<li>CidrBlock 字段允许输入符合cidr格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
<li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个 ID 所关联的云服务器变化而变化,不需要重新修改。</li>
<li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port 排他关系,不允许同时输入,否则会接口报错。</li>
<li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
<li>CidrBlock, SecurityGroupId, AddressTemplate 是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。</li>
<li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。</li>
</ul></li></ul>
<p>默认接口请求频率限制:20次/秒。</p>
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) CreateSecurityGroupPoliciesWithContext ¶ added in v1.0.324
func (c *Client) CreateSecurityGroupPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
CreateSecurityGroupPolicies <p>本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。</p>
<p>在 SecurityGroupPolicySet 参数中:</p>
<ul>
<li>Version 安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。</li>
<li>在创建出站和入站规则(Egress 和 Ingress)时:<ul>
<li>Protocol 字段支持输入TCP, UDP, ICMP, GRE, ALL。</li>
<li>CidrBlock 字段允许输入符合cidr格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>
<li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个 ID 所关联的云服务器变化而变化,不需要重新修改。</li>
<li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受,即 Protocol 字段不是 TCP 或 UDP 时,Protocol 和 Port 排他关系,不允许同时输入,否则会接口报错。</li>
<li>Action 字段只允许输入 ACCEPT 或 DROP。</li>
<li>CidrBlock, SecurityGroupId, AddressTemplate 是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。</li>
<li>一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。</li>
</ul></li></ul>
<p>默认接口请求频率限制:20次/秒。</p>
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) CreateSecurityGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateSecurityGroupWithContext(ctx context.Context, request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
CreateSecurityGroup 创建安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateSubnet ¶
func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
CreateSubnet 创建子网,若创建成功,则此子网会成为此可用区的默认子网。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) CreateSubnetWithContext ¶ added in v1.0.324
func (c *Client) CreateSubnetWithContext(ctx context.Context, request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
CreateSubnet 创建子网,若创建成功,则此子网会成为此可用区的默认子网。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) CreateVpc ¶
func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
CreateVpc 创建私有网络
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateVpcWithContext ¶ added in v1.0.324
func (c *Client) CreateVpcWithContext(ctx context.Context, request *CreateVpcRequest) (response *CreateVpcResponse, err error)
CreateVpc 创建私有网络
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteHaVip ¶
func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
DeleteHaVip 用于删除高可用虚拟IP(HAVIP)
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteHaVipWithContext ¶ added in v1.0.324
func (c *Client) DeleteHaVipWithContext(ctx context.Context, request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
DeleteHaVip 用于删除高可用虚拟IP(HAVIP)
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteImage ¶
func (c *Client) DeleteImage(request *DeleteImageRequest) (response *DeleteImageResponse, err error)
DeleteImage 删除镜像
可能返回的错误码:
FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteImageWithContext ¶ added in v1.0.324
func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, err error)
DeleteImage 删除镜像
可能返回的错误码:
FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteListener ¶
func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
DeleteListener 删除负载均衡监听器。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteListenerWithContext ¶ added in v1.0.324
func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
DeleteListener 删除负载均衡监听器。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancer ¶
func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer 删除负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancerListeners ¶
func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
DeleteLoadBalancerListeners 删除负载均衡多个监听器
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancerListenersWithContext ¶ added in v1.0.324
func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
DeleteLoadBalancerListeners 删除负载均衡多个监听器
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancerWithContext ¶ added in v1.0.324
func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer 删除负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteModule ¶
func (c *Client) DeleteModule(request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)
DeleteModule 删除业务模块
可能返回的错误码:
FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteModuleWithContext ¶ added in v1.0.324
func (c *Client) DeleteModuleWithContext(ctx context.Context, request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)
DeleteModule 删除业务模块
可能返回的错误码:
FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteNetworkInterface ¶
func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
DeleteNetworkInterface 删除弹性网卡
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteNetworkInterfaceWithContext ¶ added in v1.0.324
func (c *Client) DeleteNetworkInterfaceWithContext(ctx context.Context, request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
DeleteNetworkInterface 删除弹性网卡
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRouteTable ¶
func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
DeleteRouteTable 删除路由表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute" UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"
func (*Client) DeleteRouteTableWithContext ¶ added in v1.0.324
func (c *Client) DeleteRouteTableWithContext(ctx context.Context, request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
DeleteRouteTable 删除路由表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute" UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"
func (*Client) DeleteRoutes ¶
func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
DeleteRoutes 对某个路由表批量删除路由策略
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DeleteRoutesWithContext ¶ added in v1.0.324
func (c *Client) DeleteRoutesWithContext(ctx context.Context, request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
DeleteRoutes 对某个路由表批量删除路由策略
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DeleteSecurityGroup ¶
func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
DeleteSecurityGroup 只有当前账号下的安全组允许被删除。
安全组实例ID如果在其他安全组的规则中被引用,则无法直接删除。这种情况下,需要先进行规则修改,再删除安全组。
删除的安全组无法再找回,请谨慎调用。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteSecurityGroupPolicies ¶
func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
DeleteSecurityGroupPolicies SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) DeleteSecurityGroupPoliciesWithContext ¶ added in v1.0.324
func (c *Client) DeleteSecurityGroupPoliciesWithContext(ctx context.Context, request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
DeleteSecurityGroupPolicies SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) DeleteSecurityGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteSecurityGroupWithContext(ctx context.Context, request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
DeleteSecurityGroup 只有当前账号下的安全组允许被删除。
安全组实例ID如果在其他安全组的规则中被引用,则无法直接删除。这种情况下,需要先进行规则修改,再删除安全组。
删除的安全组无法再找回,请谨慎调用。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteSnapshots ¶ added in v1.0.253
func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 本接口(DeleteSnapshots)用于删除快照。
* 快照必须处于NORMAL状态,快照状态可以通过[DescribeSnapshots](/document/product/362/15647)接口查询,见输出参数中SnapshotState字段解释。
* 支持批量操作。如果多个快照存在无法删除的快照,则操作不执行,以返回特定的错误码返回。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared" UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage"
func (*Client) DeleteSnapshotsWithContext ¶ added in v1.0.324
func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 本接口(DeleteSnapshots)用于删除快照。
* 快照必须处于NORMAL状态,快照状态可以通过[DescribeSnapshots](/document/product/362/15647)接口查询,见输出参数中SnapshotState字段解释。
* 支持批量操作。如果多个快照存在无法删除的快照,则操作不执行,以返回特定的错误码返回。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared" UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage"
func (*Client) DeleteSubnet ¶
func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
DeleteSubnet 删除子网,若子网为可用区下的默认子网,则默认子网会回退到系统自动创建的默认子网,非用户最新创建的子网。若默认子网不满足需求,可调用设置默认子网接口设置。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteSubnetWithContext ¶ added in v1.0.324
func (c *Client) DeleteSubnetWithContext(ctx context.Context, request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
DeleteSubnet 删除子网,若子网为可用区下的默认子网,则默认子网会回退到系统自动创建的默认子网,非用户最新创建的子网。若默认子网不满足需求,可调用设置默认子网接口设置。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteVpc ¶
func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
DeleteVpc 删除私有网络
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteVpcWithContext ¶ added in v1.0.324
func (c *Client) DeleteVpcWithContext(ctx context.Context, request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
DeleteVpc 删除私有网络
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeAddressQuota ¶
func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
DescribeAddressQuota 查询您账户的弹性公网IP(简称 EIP)在当前地域的配额信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeAddressQuotaWithContext ¶ added in v1.0.324
func (c *Client) DescribeAddressQuotaWithContext(ctx context.Context, request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
DescribeAddressQuota 查询您账户的弹性公网IP(简称 EIP)在当前地域的配额信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeAddresses ¶
func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
DescribeAddresses 查询弹性公网IP列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
func (*Client) DescribeAddressesWithContext ¶ added in v1.0.324
func (c *Client) DescribeAddressesWithContext(ctx context.Context, request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
DescribeAddresses 查询弹性公网IP列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
func (*Client) DescribeBaseOverview ¶
func (c *Client) DescribeBaseOverview(request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)
DescribeBaseOverview 获取概览页统计的基本数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeBaseOverviewWithContext ¶ added in v1.0.324
func (c *Client) DescribeBaseOverviewWithContext(ctx context.Context, request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)
DescribeBaseOverview 获取概览页统计的基本数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeConfig ¶
func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
DescribeConfig 获取带宽硬盘等数据的限制
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeConfigWithContext ¶ added in v1.0.324
func (c *Client) DescribeConfigWithContext(ctx context.Context, request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
DescribeConfig 获取带宽硬盘等数据的限制
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeCustomImageTask ¶
func (c *Client) DescribeCustomImageTask(request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)
DescribeCustomImageTask 查询导入镜像任务
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeCustomImageTaskWithContext ¶ added in v1.0.324
func (c *Client) DescribeCustomImageTaskWithContext(ctx context.Context, request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)
DescribeCustomImageTask 查询导入镜像任务
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeDefaultSubnet ¶
func (c *Client) DescribeDefaultSubnet(request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)
DescribeDefaultSubnet 查询可用区的默认子网
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeDefaultSubnetWithContext ¶ added in v1.0.324
func (c *Client) DescribeDefaultSubnetWithContext(ctx context.Context, request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)
DescribeDefaultSubnet 查询可用区的默认子网
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeDisks ¶ added in v1.0.253
func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
DescribeDisks 本接口(DescribeDisks)用于查询云硬盘列表。
* 可以根据云硬盘ID、云硬盘类型或者云硬盘状态等信息来查询云硬盘的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的云硬盘列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeDisksWithContext ¶ added in v1.0.324
func (c *Client) DescribeDisksWithContext(ctx context.Context, request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
DescribeDisks 本接口(DescribeDisks)用于查询云硬盘列表。
* 可以根据云硬盘ID、云硬盘类型或者云硬盘状态等信息来查询云硬盘的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的云硬盘列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeHaVips ¶
func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
DescribeHaVips 用于查询高可用虚拟IP(HAVIP)列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeHaVipsWithContext ¶ added in v1.0.324
func (c *Client) DescribeHaVipsWithContext(ctx context.Context, request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
DescribeHaVips 用于查询高可用虚拟IP(HAVIP)列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeImage ¶
func (c *Client) DescribeImage(request *DescribeImageRequest) (response *DescribeImageResponse, err error)
DescribeImage 展示镜像列表
可能返回的错误码:
FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeImageWithContext ¶ added in v1.0.324
func (c *Client) DescribeImageWithContext(ctx context.Context, request *DescribeImageRequest) (response *DescribeImageResponse, err error)
DescribeImage 展示镜像列表
可能返回的错误码:
FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeImportImageOs ¶
func (c *Client) DescribeImportImageOs(request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)
DescribeImportImageOs 查询外部导入镜像支持的OS列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
func (*Client) DescribeImportImageOsWithContext ¶ added in v1.0.324
func (c *Client) DescribeImportImageOsWithContext(ctx context.Context, request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)
DescribeImportImageOs 查询外部导入镜像支持的OS列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
func (*Client) DescribeInstanceTypeConfig ¶
func (c *Client) DescribeInstanceTypeConfig(request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
DescribeInstanceTypeConfig 获取机型配置列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstanceTypeConfigWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstanceTypeConfigWithContext(ctx context.Context, request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
DescribeInstanceTypeConfig 获取机型配置列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstanceVncUrl ¶
func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
DescribeInstanceVncUrl 查询实例管理终端地址
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeInstanceVncUrlWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
DescribeInstanceVncUrl 查询实例管理终端地址
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 获取实例的相关信息。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstancesDeniedActions ¶
func (c *Client) DescribeInstancesDeniedActions(request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
DescribeInstancesDeniedActions 通过实例id获取当前禁止的操作
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstancesDeniedActionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
DescribeInstancesDeniedActions 通过实例id获取当前禁止的操作
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 获取实例的相关信息。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeListeners ¶
func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
DescribeListeners 查询负载均衡的监听器列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
DescribeListeners 查询负载均衡的监听器列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeLoadBalanceTaskStatus ¶
func (c *Client) DescribeLoadBalanceTaskStatus(request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)
DescribeLoadBalanceTaskStatus 查询负载均衡相关的任务状态
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeLoadBalanceTaskStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeLoadBalanceTaskStatusWithContext(ctx context.Context, request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)
DescribeLoadBalanceTaskStatus 查询负载均衡相关的任务状态
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeLoadBalancers ¶
func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
DescribeLoadBalancers 查询负载均衡实例列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeLoadBalancersWithContext ¶ added in v1.0.324
func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
DescribeLoadBalancers 查询负载均衡实例列表。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeModule ¶
func (c *Client) DescribeModule(request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)
DescribeModule 获取模块列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeModuleDetail ¶
func (c *Client) DescribeModuleDetail(request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)
DescribeModuleDetail 展示模块详细信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeModuleDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeModuleDetailWithContext(ctx context.Context, request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)
DescribeModuleDetail 展示模块详细信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeModuleWithContext ¶ added in v1.0.324
func (c *Client) DescribeModuleWithContext(ctx context.Context, request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)
DescribeModule 获取模块列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeMonthPeakNetwork ¶
func (c *Client) DescribeMonthPeakNetwork(request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)
DescribeMonthPeakNetwork 获取客户节点上的出入带宽月峰和计费带宽信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMonthPeakNetworkWithContext ¶ added in v1.0.324
func (c *Client) DescribeMonthPeakNetworkWithContext(ctx context.Context, request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)
DescribeMonthPeakNetwork 获取客户节点上的出入带宽月峰和计费带宽信息
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeNetworkInterfaces ¶
func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
DescribeNetworkInterfaces 查询弹性网卡列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeNetworkInterfacesWithContext ¶ added in v1.0.324
func (c *Client) DescribeNetworkInterfacesWithContext(ctx context.Context, request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
DescribeNetworkInterfaces 查询弹性网卡列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeNode ¶
func (c *Client) DescribeNode(request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
DescribeNode 获取节点列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeNodeWithContext ¶ added in v1.0.324
func (c *Client) DescribeNodeWithContext(ctx context.Context, request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
DescribeNode 获取节点列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePackingQuotaGroup ¶ added in v1.0.275
func (c *Client) DescribePackingQuotaGroup(request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
DescribePackingQuotaGroup 使用本接口获取某种机型在某些区域的装箱配额(当使用虚拟机型时,返回的是一组相互关联的装箱配额)。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePackingQuotaGroupWithContext ¶ added in v1.0.324
func (c *Client) DescribePackingQuotaGroupWithContext(ctx context.Context, request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
DescribePackingQuotaGroup 使用本接口获取某种机型在某些区域的装箱配额(当使用虚拟机型时,返回的是一组相互关联的装箱配额)。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePeakBaseOverview ¶
func (c *Client) DescribePeakBaseOverview(request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)
DescribePeakBaseOverview CPU 内存 硬盘等基础信息峰值数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePeakBaseOverviewWithContext ¶ added in v1.0.324
func (c *Client) DescribePeakBaseOverviewWithContext(ctx context.Context, request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)
DescribePeakBaseOverview CPU 内存 硬盘等基础信息峰值数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePeakNetworkOverview ¶
func (c *Client) DescribePeakNetworkOverview(request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)
DescribePeakNetworkOverview 获取网络峰值数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePeakNetworkOverviewWithContext ¶ added in v1.0.324
func (c *Client) DescribePeakNetworkOverviewWithContext(ctx context.Context, request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)
DescribePeakNetworkOverview 获取网络峰值数据
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePriceRunInstance ¶ added in v1.0.295
func (c *Client) DescribePriceRunInstance(request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
DescribePriceRunInstance 查询实例价格
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePriceRunInstanceWithContext ¶ added in v1.0.324
func (c *Client) DescribePriceRunInstanceWithContext(ctx context.Context, request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
DescribePriceRunInstance 查询实例价格
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeRouteConflicts ¶
func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
DescribeRouteConflicts 查询自定义路由策略与云联网路由策略冲突列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeRouteConflictsWithContext ¶ added in v1.0.324
func (c *Client) DescribeRouteConflictsWithContext(ctx context.Context, request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
DescribeRouteConflicts 查询自定义路由策略与云联网路由策略冲突列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeRouteTables ¶
func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
DescribeRouteTables 查询路由表对象列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeRouteTablesWithContext ¶ added in v1.0.324
func (c *Client) DescribeRouteTablesWithContext(ctx context.Context, request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
DescribeRouteTables 查询路由表对象列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSecurityGroupAssociationStatistics ¶
func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
DescribeSecurityGroupAssociationStatistics 查询安全组关联实例统计
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroupAssociationStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityGroupAssociationStatisticsWithContext(ctx context.Context, request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
DescribeSecurityGroupAssociationStatistics 查询安全组关联实例统计
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroupLimits ¶
func (c *Client) DescribeSecurityGroupLimits(request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)
DescribeSecurityGroupLimits 查询用户安全组配额
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSecurityGroupLimitsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityGroupLimitsWithContext(ctx context.Context, request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)
DescribeSecurityGroupLimits 查询用户安全组配额
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSecurityGroupPolicies ¶
func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
DescribeSecurityGroupPolicies 查询安全组规则
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroupPoliciesWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityGroupPoliciesWithContext(ctx context.Context, request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
DescribeSecurityGroupPolicies 查询安全组规则
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroups ¶
func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
DescribeSecurityGroups 查看安全组
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityGroupsWithContext(ctx context.Context, request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
DescribeSecurityGroups 查看安全组
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSnapshots ¶ added in v1.0.253
func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 本接口(DescribeSnapshots)用于查询快照的详细信息。
* 根据快照ID、创建快照的云硬盘ID、创建快照的云硬盘类型等对结果进行过滤,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的快照列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeSnapshotsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 本接口(DescribeSnapshots)用于查询快照的详细信息。
* 根据快照ID、创建快照的云硬盘ID、创建快照的云硬盘类型等对结果进行过滤,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的快照列表。
可能返回的错误码:
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeSubnets ¶
func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
DescribeSubnets 查询子网列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSubnetsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSubnetsWithContext(ctx context.Context, request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
DescribeSubnets 查询子网列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTargetHealth ¶
func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
DescribeTargetHealth 获取负载均衡后端服务的健康检查状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTargetHealthWithContext ¶ added in v1.0.324
func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
DescribeTargetHealth 获取负载均衡后端服务的健康检查状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTargets ¶
func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
DescribeTargets 查询负载均衡绑定的后端服务列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTargetsWithContext ¶ added in v1.0.324
func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
DescribeTargets 查询负载均衡绑定的后端服务列表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTaskResult ¶
func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
DescribeTaskResult 查询EIP异步任务执行结果
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTaskResultWithContext ¶ added in v1.0.324
func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
DescribeTaskResult 查询EIP异步任务执行结果
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeTaskStatus ¶
func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus 本接口(DescribeTaskStatus)用于获取异步任务状态
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"
func (*Client) DescribeTaskStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus 本接口(DescribeTaskStatus)用于获取异步任务状态
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"
func (*Client) DescribeVpcs ¶
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
DescribeVpcs 查询私有网络列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeVpcsWithContext ¶ added in v1.0.324
func (c *Client) DescribeVpcsWithContext(ctx context.Context, request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
DescribeVpcs 查询私有网络列表
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DetachDisks ¶ added in v1.0.253
func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
DetachDisks 本接口(DetachDisks)用于卸载云硬盘。
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
可能返回的错误码:
INTERNALERROR_RESOURCEOPFAILED = "InternalError.ResourceOpFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" INVALIDPARAMETERVALUE_INVALIDDISKID = "InvalidParameterValue.InvalidDiskId" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCEUNAVAILABLE_NOTPORTABLE = "ResourceUnavailable.NotPortable" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_TYPEERROR = "ResourceUnavailable.TypeError" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
func (*Client) DetachDisksWithContext ¶ added in v1.0.324
func (c *Client) DetachDisksWithContext(ctx context.Context, request *DetachDisksRequest) (response *DetachDisksResponse, err error)
DetachDisks 本接口(DetachDisks)用于卸载云硬盘。
* 支持批量操作,卸载挂载在同一主机上的多块云盘。如果多块云盘中存在不允许卸载的云盘,则操作不执行,返回特定的错误码。
* 本接口为异步接口,当请求成功返回时,云盘并未立即从主机卸载,可通过接口[DescribeDisks](/document/product/362/16315)来查询对应云盘的状态,如果云盘的状态由“ATTACHED”变为“UNATTACHED”,则为卸载成功。
可能返回的错误码:
INTERNALERROR_RESOURCEOPFAILED = "InternalError.ResourceOpFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" INVALIDPARAMETERVALUE_INVALIDDISKID = "InvalidParameterValue.InvalidDiskId" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound" RESOURCEUNAVAILABLE_NOTPORTABLE = "ResourceUnavailable.NotPortable" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_TYPEERROR = "ResourceUnavailable.TypeError" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
func (*Client) DetachNetworkInterface ¶
func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
DetachNetworkInterface 弹性网卡解绑云主机
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) DetachNetworkInterfaceWithContext ¶ added in v1.0.324
func (c *Client) DetachNetworkInterfaceWithContext(ctx context.Context, request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
DetachNetworkInterface 弹性网卡解绑云主机
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) DisableRoutes ¶
func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
DisableRoutes 禁用已启用的子网路由
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DisableRoutesWithContext ¶ added in v1.0.324
func (c *Client) DisableRoutesWithContext(ctx context.Context, request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
DisableRoutes 禁用已启用的子网路由
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DisassociateAddress ¶
func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
DisassociateAddress 解绑弹性公网IP(简称 EIP)
只有状态为 BIND 和 BIND_ENI 的 EIP 才能进行解绑定操作。
EIP 如果被封堵,则不能进行解绑定操作。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) DisassociateAddressWithContext ¶ added in v1.0.324
func (c *Client) DisassociateAddressWithContext(ctx context.Context, request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
DisassociateAddress 解绑弹性公网IP(简称 EIP)
只有状态为 BIND 和 BIND_ENI 的 EIP 才能进行解绑定操作。
EIP 如果被封堵,则不能进行解绑定操作。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) DisassociateInstancesKeyPairs ¶ added in v1.0.278
func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs 用于解除实例的密钥绑定关系。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported" INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DisassociateInstancesKeyPairsWithContext ¶ added in v1.0.324
func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs 用于解除实例的密钥绑定关系。
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported" INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DisassociateSecurityGroups ¶
func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups 解绑安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" MISSINGPARAMETER = "MissingParameter"
func (*Client) DisassociateSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups 解绑安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" MISSINGPARAMETER = "MissingParameter"
func (*Client) EnableRoutes ¶
func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
EnableRoutes 启用已禁用的子网路由。
本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) EnableRoutesWithContext ¶ added in v1.0.324
func (c *Client) EnableRoutesWithContext(ctx context.Context, request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
EnableRoutes 启用已禁用的子网路由。
本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) ImportCustomImage ¶
func (c *Client) ImportCustomImage(request *ImportCustomImageRequest) (response *ImportCustomImageResponse, err error)
ImportCustomImage 导入自定义镜像,支持 RAW、VHD、QCOW2、VMDK 镜像格式
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNAUTHORIZEDOPERATION_WINDOWSIMAGE = "UnauthorizedOperation.WindowsImage"
func (*Client) ImportCustomImageWithContext ¶ added in v1.0.324
func (c *Client) ImportCustomImageWithContext(ctx context.Context, request *ImportCustomImageRequest) (response *ImportCustomImageResponse, err error)
ImportCustomImage 导入自定义镜像,支持 RAW、VHD、QCOW2、VMDK 镜像格式
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNAUTHORIZEDOPERATION_WINDOWSIMAGE = "UnauthorizedOperation.WindowsImage"
func (*Client) ImportImage ¶
func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImageResponse, err error)
ImportImage 从CVM产品导入镜像到ECM
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ImportImageWithContext ¶ added in v1.0.324
func (c *Client) ImportImageWithContext(ctx context.Context, request *ImportImageRequest) (response *ImportImageResponse, err error)
ImportImage 从CVM产品导入镜像到ECM
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) MigrateNetworkInterface ¶
func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
MigrateNetworkInterface 弹性网卡迁移
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) MigrateNetworkInterfaceWithContext ¶ added in v1.0.324
func (c *Client) MigrateNetworkInterfaceWithContext(ctx context.Context, request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
MigrateNetworkInterface 弹性网卡迁移
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) MigratePrivateIpAddress ¶
func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
MigratePrivateIpAddress 弹性网卡内网IP迁移。
该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。
迁移前后的弹性网卡必须在同一个子网内。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) MigratePrivateIpAddressWithContext ¶ added in v1.0.324
func (c *Client) MigratePrivateIpAddressWithContext(ctx context.Context, request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
MigratePrivateIpAddress 弹性网卡内网IP迁移。
该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。
迁移前后的弹性网卡必须在同一个子网内。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAddressAttribute ¶
func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
ModifyAddressAttribute 修改弹性公网IP属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ModifyAddressAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyAddressAttributeWithContext(ctx context.Context, request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
ModifyAddressAttribute 修改弹性公网IP属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ModifyAddressesBandwidth ¶
func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
ModifyAddressesBandwidth 调整弹性公网IP带宽
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ModifyAddressesBandwidthWithContext ¶ added in v1.0.324
func (c *Client) ModifyAddressesBandwidthWithContext(ctx context.Context, request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
ModifyAddressesBandwidth 调整弹性公网IP带宽
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ModifyDefaultSubnet ¶
func (c *Client) ModifyDefaultSubnet(request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)
ModifyDefaultSubnet 修改在一个可用区下创建实例时使用的默认子网(创建实例时,未填写VPC参数时使用的sunbetId)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyDefaultSubnetWithContext ¶ added in v1.0.324
func (c *Client) ModifyDefaultSubnetWithContext(ctx context.Context, request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)
ModifyDefaultSubnet 修改在一个可用区下创建实例时使用的默认子网(创建实例时,未填写VPC参数时使用的sunbetId)
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyHaVipAttribute ¶
func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
ModifyHaVipAttribute 用于修改高可用虚拟IP(HAVIP)属性
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyHaVipAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyHaVipAttributeWithContext(ctx context.Context, request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
ModifyHaVipAttribute 用于修改高可用虚拟IP(HAVIP)属性
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyImageAttribute ¶
func (c *Client) ModifyImageAttribute(request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)
ModifyImageAttribute 本接口(ModifyImageAttribute)用于修改镜像属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyImageAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyImageAttributeWithContext(ctx context.Context, request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)
ModifyImageAttribute 本接口(ModifyImageAttribute)用于修改镜像属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyInstancesAttribute ¶
func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute 修改实例的属性。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyInstancesAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute 修改实例的属性。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyIpv6AddressesAttribute ¶
func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
ModifyIpv6AddressesAttribute 本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡IPv6地址属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) ModifyIpv6AddressesAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyIpv6AddressesAttributeWithContext(ctx context.Context, request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
ModifyIpv6AddressesAttribute 本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡IPv6地址属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) ModifyListener ¶
func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
ModifyListener 修改负载均衡监听器属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyListenerWithContext ¶ added in v1.0.324
func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
ModifyListener 修改负载均衡监听器属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyLoadBalancerAttributes ¶
func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
ModifyLoadBalancerAttributes 修改负载均衡实例的属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyLoadBalancerAttributesWithContext ¶ added in v1.0.324
func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
ModifyLoadBalancerAttributes 修改负载均衡实例的属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyModuleConfig ¶
func (c *Client) ModifyModuleConfig(request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)
ModifyModuleConfig 修改模块配置,已关联实例的模块不支持调整配置。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyModuleConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleConfigWithContext(ctx context.Context, request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)
ModifyModuleConfig 修改模块配置,已关联实例的模块不支持调整配置。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyModuleDisableWanIp ¶
func (c *Client) ModifyModuleDisableWanIp(request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)
ModifyModuleDisableWanIp 修改模块是否禁止分配外网ip的属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleDisableWanIpWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleDisableWanIpWithContext(ctx context.Context, request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)
ModifyModuleDisableWanIp 修改模块是否禁止分配外网ip的属性。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleImage ¶
func (c *Client) ModifyModuleImage(request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)
ModifyModuleImage 修改模块的默认镜像
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) ModifyModuleImageWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleImageWithContext(ctx context.Context, request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)
ModifyModuleImage 修改模块的默认镜像
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) ModifyModuleIpDirect ¶
func (c *Client) ModifyModuleIpDirect(request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)
ModifyModuleIpDirect 修改模块IP直通。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleIpDirectWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleIpDirectWithContext(ctx context.Context, request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)
ModifyModuleIpDirect 修改模块IP直通。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleName ¶
func (c *Client) ModifyModuleName(request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)
ModifyModuleName 修改模块名称
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleNameWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleNameWithContext(ctx context.Context, request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)
ModifyModuleName 修改模块名称
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleNetwork ¶
func (c *Client) ModifyModuleNetwork(request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)
ModifyModuleNetwork 修改模块默认带宽上限
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyModuleNetworkWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleNetworkWithContext(ctx context.Context, request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)
ModifyModuleNetwork 修改模块默认带宽上限
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyModuleSecurityGroups ¶
func (c *Client) ModifyModuleSecurityGroups(request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)
ModifyModuleSecurityGroups 修改模块默认安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyModuleSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) ModifyModuleSecurityGroupsWithContext(ctx context.Context, request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)
ModifyModuleSecurityGroups 修改模块默认安全组
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyPrivateIpAddressesAttribute ¶
func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
ModifyPrivateIpAddressesAttribute 用于修改弹性网卡内网IP属性。
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) ModifyPrivateIpAddressesAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyPrivateIpAddressesAttributeWithContext(ctx context.Context, request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
ModifyPrivateIpAddressesAttribute 用于修改弹性网卡内网IP属性。
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) ModifyRouteTableAttribute ¶
func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
ModifyRouteTableAttribute 修改路由表属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRouteTableAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyRouteTableAttributeWithContext(ctx context.Context, request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
ModifyRouteTableAttribute 修改路由表属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySecurityGroupAttribute ¶
func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
ModifySecurityGroupAttribute 修改安全组属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySecurityGroupAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifySecurityGroupAttributeWithContext(ctx context.Context, request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
ModifySecurityGroupAttribute 修改安全组属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySecurityGroupPolicies ¶
func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
ModifySecurityGroupPolicies 修改安全组出站和入站规则
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySecurityGroupPoliciesWithContext ¶ added in v1.0.324
func (c *Client) ModifySecurityGroupPoliciesWithContext(ctx context.Context, request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
ModifySecurityGroupPolicies 修改安全组出站和入站规则
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySubnetAttribute ¶
func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
ModifySubnetAttribute 修改子网属性
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifySubnetAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifySubnetAttributeWithContext(ctx context.Context, request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
ModifySubnetAttribute 修改子网属性
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyTargetPort ¶
func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
ModifyTargetPort 修改监听器绑定的后端机器的端口。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyTargetPortWithContext ¶ added in v1.0.324
func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
ModifyTargetPort 修改监听器绑定的后端机器的端口。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyTargetWeight ¶
func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
ModifyTargetWeight 修改监听器绑定的后端机器的转发权重。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyTargetWeightWithContext ¶ added in v1.0.324
func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
ModifyTargetWeight 修改监听器绑定的后端机器的转发权重。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyVpcAttribute ¶
func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
ModifyVpcAttribute 修改私有网络(VPC)的相关属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ModifyVpcAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyVpcAttributeWithContext(ctx context.Context, request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
ModifyVpcAttribute 修改私有网络(VPC)的相关属性
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) RebootInstances ¶
func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances 只有状态为RUNNING的实例才可以进行此操作;接口调用成功时,实例会进入REBOOTING状态;重启实例成功时,实例会进入RUNNING状态;支持强制重启,强制重启的效果等同于关闭物理计算机的电源开关再重新启动。强制重启可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常重启时使用。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) RebootInstancesWithContext ¶ added in v1.0.324
func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances 只有状态为RUNNING的实例才可以进行此操作;接口调用成功时,实例会进入REBOOTING状态;重启实例成功时,实例会进入RUNNING状态;支持强制重启,强制重启的效果等同于关闭物理计算机的电源开关再重新启动。强制重启可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常重启时使用。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ReleaseAddresses ¶
func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
ReleaseAddresses 释放一个或多个弹性公网IP(简称 EIP)。
该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。
只有状态为 UNBIND 的 EIP 才能进行释放操作。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ReleaseAddressesWithContext ¶ added in v1.0.324
func (c *Client) ReleaseAddressesWithContext(ctx context.Context, request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
ReleaseAddresses 释放一个或多个弹性公网IP(简称 EIP)。
该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。
只有状态为 UNBIND 的 EIP 才能进行释放操作。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"
func (*Client) ReleaseIpv6Addresses ¶
func (c *Client) ReleaseIpv6Addresses(request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)
ReleaseIpv6Addresses 本接口(UnassignIpv6Addresses)用于释放弹性网卡IPv6地址。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) ReleaseIpv6AddressesWithContext ¶ added in v1.0.324
func (c *Client) ReleaseIpv6AddressesWithContext(ctx context.Context, request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)
ReleaseIpv6Addresses 本接口(UnassignIpv6Addresses)用于释放弹性网卡IPv6地址。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
func (*Client) RemovePrivateIpAddresses ¶
func (c *Client) RemovePrivateIpAddresses(request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)
RemovePrivateIpAddresses 弹性网卡退还内网 IP。
退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning"
func (*Client) RemovePrivateIpAddressesWithContext ¶ added in v1.0.324
func (c *Client) RemovePrivateIpAddressesWithContext(ctx context.Context, request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)
RemovePrivateIpAddresses 弹性网卡退还内网 IP。
退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning"
func (*Client) ReplaceRouteTableAssociation ¶
func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
ReplaceRouteTableAssociation 修改子网关联的路由表,一个子网只能关联一个路由表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) ReplaceRouteTableAssociationWithContext ¶ added in v1.0.324
func (c *Client) ReplaceRouteTableAssociationWithContext(ctx context.Context, request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
ReplaceRouteTableAssociation 修改子网关联的路由表,一个子网只能关联一个路由表。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) ReplaceRoutes ¶
func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
ReplaceRoutes 替换路由策略
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) ReplaceRoutesWithContext ¶ added in v1.0.324
func (c *Client) ReplaceRoutesWithContext(ctx context.Context, request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
ReplaceRoutes 替换路由策略
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) ReplaceSecurityGroupPolicy ¶
func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
ReplaceSecurityGroupPolicy 替换单条安全组路由规则, 单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) ReplaceSecurityGroupPolicyWithContext ¶ added in v1.0.324
func (c *Client) ReplaceSecurityGroupPolicyWithContext(ctx context.Context, request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
ReplaceSecurityGroupPolicy 替换单条安全组路由规则, 单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) ResetInstances ¶
func (c *Client) ResetInstances(request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)
ResetInstances 重装实例,若指定了ImageId参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装;若未指定密码,则密码通过站内信形式随后发送。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetInstancesMaxBandwidth ¶
func (c *Client) ResetInstancesMaxBandwidth(request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)
ResetInstancesMaxBandwidth 重置实例的最大带宽上限。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetInstancesMaxBandwidthWithContext ¶ added in v1.0.324
func (c *Client) ResetInstancesMaxBandwidthWithContext(ctx context.Context, request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)
ResetInstancesMaxBandwidth 重置实例的最大带宽上限。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetInstancesPassword ¶
func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
ResetInstancesPassword 重置处于运行中状态的实例的密码,需要显式指定强制关机参数ForceStop。如果没有显式指定强制关机参数,则只有处于关机状态的实例才允许执行重置密码操作。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetInstancesPasswordWithContext ¶ added in v1.0.324
func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
ResetInstancesPassword 重置处于运行中状态的实例的密码,需要显式指定强制关机参数ForceStop。如果没有显式指定强制关机参数,则只有处于关机状态的实例才允许执行重置密码操作。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetInstancesWithContext ¶ added in v1.0.324
func (c *Client) ResetInstancesWithContext(ctx context.Context, request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)
ResetInstances 重装实例,若指定了ImageId参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装;若未指定密码,则密码通过站内信形式随后发送。
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) ResetRoutes ¶
func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
ResetRoutes 对某个路由表名称和所有路由策略(Route)进行重新设置
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) ResetRoutesWithContext ¶ added in v1.0.324
func (c *Client) ResetRoutesWithContext(ctx context.Context, request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
ResetRoutes 对某个路由表名称和所有路由策略(Route)进行重新设置
可能返回的错误码:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) RunInstances ¶
func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstancesResponse, err error)
RunInstances 创建ECM实例。
可能返回的错误码:
FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize" INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid" INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType" INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType" INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded" LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough" RESOURCEINSUFFICIENT_PRIVATEIPQUOTANOTENOUGH = "ResourceInsufficient.PrivateIPQuotaNotEnough" RESOURCENOTFOUND = "ResourceNotFound" RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) RunInstancesWithContext ¶ added in v1.0.324
func (c *Client) RunInstancesWithContext(ctx context.Context, request *RunInstancesRequest) (response *RunInstancesResponse, err error)
RunInstances 创建ECM实例。
可能返回的错误码:
FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize" INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid" INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType" INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum" INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType" INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID" INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType" INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType" INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded" LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded" LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough" RESOURCEINSUFFICIENT_PRIVATEIPQUOTANOTENOUGH = "ResourceInsufficient.PrivateIPQuotaNotEnough" RESOURCENOTFOUND = "ResourceNotFound" RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"
func (*Client) SetLoadBalancerSecurityGroups ¶
func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
SetLoadBalancerSecurityGroups 设置负载均衡实例的安全组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) SetLoadBalancerSecurityGroupsWithContext ¶ added in v1.0.324
func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
SetLoadBalancerSecurityGroups 设置负载均衡实例的安全组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) SetSecurityGroupForLoadbalancers ¶
func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
SetSecurityGroupForLoadbalancers 绑定或解绑一个安全组到多个负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) SetSecurityGroupForLoadbalancersWithContext ¶ added in v1.0.324
func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
SetSecurityGroupForLoadbalancers 绑定或解绑一个安全组到多个负载均衡实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) StartInstances ¶
func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances 只有状态为STOPPED的实例才可以进行此操作;接口调用成功时,实例会进入STARTING状态;启动实例成功时,实例会进入RUNNING状态。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) StartInstancesWithContext ¶ added in v1.0.324
func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances 只有状态为STOPPED的实例才可以进行此操作;接口调用成功时,实例会进入STARTING状态;启动实例成功时,实例会进入RUNNING状态。
可能返回的错误码:
FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) StopInstances ¶
func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances 只有处于"RUNNING"状态的实例才能够进行关机操作;
调用成功时,实例会进入STOPPING状态;关闭实例成功时,实例会进入STOPPED状态;
支持强制关闭,强制关机的效果等同于关闭物理计算机的电源开关,强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) StopInstancesWithContext ¶ added in v1.0.324
func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances 只有处于"RUNNING"状态的实例才能够进行关机操作;
调用成功时,实例会进入STOPPING状态;关闭实例成功时,实例会进入STOPPED状态;
支持强制关闭,强制关机的效果等同于关闭物理计算机的电源开关,强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) TerminateDisks ¶ added in v1.0.253
func (c *Client) TerminateDisks(request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
TerminateDisks 本接口(TerminateDisks)用于退还云硬盘。
* 不再使用的云盘,可通过本接口主动退还。
* 本接口支持退还预付费云盘和按小时后付费云盘。按小时后付费云盘可直接退还,预付费云盘需符合退还规则。
* 支持批量操作,每次请求批量云硬盘的上限为50。如果批量云盘存在不允许操作的,请求会以特定错误码返回。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" INTERNALERROR_FAILQUERYRESOURCE = "InternalError.FailQueryResource" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSUFFICIENTREFUNDQUOTA = "InvalidParameterValue.InsufficientRefundQuota" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_EXPIRE = "ResourceUnavailable.Expire" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_REPEATREFUND = "ResourceUnavailable.RepeatRefund"
func (*Client) TerminateDisksWithContext ¶ added in v1.0.324
func (c *Client) TerminateDisksWithContext(ctx context.Context, request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
TerminateDisks 本接口(TerminateDisks)用于退还云硬盘。
* 不再使用的云盘,可通过本接口主动退还。
* 本接口支持退还预付费云盘和按小时后付费云盘。按小时后付费云盘可直接退还,预付费云盘需符合退还规则。
* 支持批量操作,每次请求批量云硬盘的上限为50。如果批量云盘存在不允许操作的,请求会以特定错误码返回。
可能返回的错误码:
FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" INTERNALERROR_FAILQUERYRESOURCE = "InternalError.FailQueryResource" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSUFFICIENTREFUNDQUOTA = "InvalidParameterValue.InsufficientRefundQuota" INVALIDPARAMETERVALUE_INVALIDDISK = "InvalidParameterValue.InvalidDisk" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_EXPIRE = "ResourceUnavailable.Expire" RESOURCEUNAVAILABLE_NOTSUPPORTED = "ResourceUnavailable.NotSupported" RESOURCEUNAVAILABLE_REPEATREFUND = "ResourceUnavailable.RepeatRefund"
func (*Client) TerminateInstances ¶
func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances 销毁实例
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) TerminateInstancesWithContext ¶ added in v1.0.324
func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances 销毁实例
可能返回的错误码:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller" RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
type CreateDisksRequest ¶ added in v1.0.253
type CreateDisksRequest struct { *tchttp.BaseRequest // 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目。若不指定项目,将在默认项目下进行创建。 Placement *Placement `json:"Placement,omitempty" name:"Placement"` // 云硬盘计费类型。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>CDCPAID:独享集群付费<br>各类型价格请参考云硬盘[价格总览](/document/product/362/2413)。 DiskChargeType *string `json:"DiskChargeType,omitempty" name:"DiskChargeType"` // 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘<br><li>CLOUD_PREMIUM:表示高性能云硬盘<br><li>CLOUD_SSD:表示SSD云硬盘<br><li>CLOUD_HSSD:表示增强型SSD云硬盘<br><li>CLOUD_TSSD:表示极速型SSD云硬盘。 DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 云盘显示名称。不传则默认为“未命名”。最大长度不能超60个字节。 DiskName *string `json:"DiskName,omitempty" name:"DiskName"` // 云盘绑定的标签。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 预付费模式,即包年包月相关参数设置。通过该参数指定包年包月云盘的购买时长、是否设置自动续费等属性。<br>创建预付费云盘该参数必传,创建按小时后付费云盘无需传该参数。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitempty" name:"DiskChargePrepaid"` // 创建云硬盘数量,不传则默认为1。单次请求最多可创建的云盘数有限制,具体参见[云硬盘使用限制](https://cloud.tencent.com/doc/product/362/5145)。 DiskCount *uint64 `json:"DiskCount,omitempty" name:"DiskCount"` // 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD) ThroughputPerformance *uint64 `json:"ThroughputPerformance,omitempty" name:"ThroughputPerformance"` // 云硬盘大小,单位为GB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小<br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小<br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。 DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` Shareable *bool `json:"Shareable,omitempty" name:"Shareable"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 传入该参数用于创建加密云盘,取值固定为ENCRYPT。 Encrypt *string `json:"Encrypt,omitempty" name:"Encrypt"` // 快照ID,如果传入则根据此快照创建云硬盘,快照类型必须为数据盘快照,可通过[DescribeSnapshots](/document/product/362/15647)接口查询快照,见输出参数DiskUsage解释。 SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` }
func NewCreateDisksRequest ¶ added in v1.0.253
func NewCreateDisksRequest() (request *CreateDisksRequest)
func (*CreateDisksRequest) FromJsonString ¶ added in v1.0.253
func (r *CreateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDisksRequest) ToJsonString ¶ added in v1.0.253
func (r *CreateDisksRequest) ToJsonString() string
type CreateDisksRequestParams ¶ added in v1.0.426
type CreateDisksRequestParams struct { // 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目。若不指定项目,将在默认项目下进行创建。 Placement *Placement `json:"Placement,omitempty" name:"Placement"` // 云硬盘计费类型。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>CDCPAID:独享集群付费<br>各类型价格请参考云硬盘[价格总览](/document/product/362/2413)。 DiskChargeType *string `json:"DiskChargeType,omitempty" name:"DiskChargeType"` // 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘<br><li>CLOUD_PREMIUM:表示高性能云硬盘<br><li>CLOUD_SSD:表示SSD云硬盘<br><li>CLOUD_HSSD:表示增强型SSD云硬盘<br><li>CLOUD_TSSD:表示极速型SSD云硬盘。 DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 云盘显示名称。不传则默认为“未命名”。最大长度不能超60个字节。 DiskName *string `json:"DiskName,omitempty" name:"DiskName"` // 云盘绑定的标签。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 预付费模式,即包年包月相关参数设置。通过该参数指定包年包月云盘的购买时长、是否设置自动续费等属性。<br>创建预付费云盘该参数必传,创建按小时后付费云盘无需传该参数。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitempty" name:"DiskChargePrepaid"` // 创建云硬盘数量,不传则默认为1。单次请求最多可创建的云盘数有限制,具体参见[云硬盘使用限制](https://cloud.tencent.com/doc/product/362/5145)。 DiskCount *uint64 `json:"DiskCount,omitempty" name:"DiskCount"` // 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD) ThroughputPerformance *uint64 `json:"ThroughputPerformance,omitempty" name:"ThroughputPerformance"` // 云硬盘大小,单位为GB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小<br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小<br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。 DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` Shareable *bool `json:"Shareable,omitempty" name:"Shareable"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 传入该参数用于创建加密云盘,取值固定为ENCRYPT。 Encrypt *string `json:"Encrypt,omitempty" name:"Encrypt"` // 快照ID,如果传入则根据此快照创建云硬盘,快照类型必须为数据盘快照,可通过[DescribeSnapshots](/document/product/362/15647)接口查询快照,见输出参数DiskUsage解释。 SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` }
Predefined struct for user
type CreateDisksResponse ¶ added in v1.0.253
type CreateDisksResponse struct { *tchttp.BaseResponse Response *CreateDisksResponseParams `json:"Response"` }
func NewCreateDisksResponse ¶ added in v1.0.253
func NewCreateDisksResponse() (response *CreateDisksResponse)
func (*CreateDisksResponse) FromJsonString ¶ added in v1.0.253
func (r *CreateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDisksResponse) ToJsonString ¶ added in v1.0.253
func (r *CreateDisksResponse) ToJsonString() string
type CreateDisksResponseParams ¶ added in v1.0.426
type CreateDisksResponseParams struct { // 创建的云硬盘ID列表。 DiskIdSet []*string `json:"DiskIdSet,omitempty" name:"DiskIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateHaVipRequest ¶
type CreateHaVipRequest struct { *tchttp.BaseRequest // HAVIP所在私有网络ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // HAVIP所在子网ID。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // HAVIP名称。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` // 指定虚拟IP地址,必须在VPC网段内且未被占用。不指定则自动分配。 Vip *string `json:"Vip,omitempty" name:"Vip"` }
func NewCreateHaVipRequest ¶
func NewCreateHaVipRequest() (request *CreateHaVipRequest)
func (*CreateHaVipRequest) FromJsonString ¶
func (r *CreateHaVipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHaVipRequest) ToJsonString ¶
func (r *CreateHaVipRequest) ToJsonString() string
type CreateHaVipRequestParams ¶ added in v1.0.426
type CreateHaVipRequestParams struct { // HAVIP所在私有网络ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // HAVIP所在子网ID。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // HAVIP名称。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` // 指定虚拟IP地址,必须在VPC网段内且未被占用。不指定则自动分配。 Vip *string `json:"Vip,omitempty" name:"Vip"` }
Predefined struct for user
type CreateHaVipResponse ¶
type CreateHaVipResponse struct { *tchttp.BaseResponse Response *CreateHaVipResponseParams `json:"Response"` }
func NewCreateHaVipResponse ¶
func NewCreateHaVipResponse() (response *CreateHaVipResponse)
func (*CreateHaVipResponse) FromJsonString ¶
func (r *CreateHaVipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHaVipResponse) ToJsonString ¶
func (r *CreateHaVipResponse) ToJsonString() string
type CreateHaVipResponseParams ¶ added in v1.0.426
type CreateHaVipResponseParams struct { // HAVIP对象。 HaVip *HaVip `json:"HaVip,omitempty" name:"HaVip"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateImageRequest ¶
type CreateImageRequest struct { *tchttp.BaseRequest // 镜像名称。 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 需要制作镜像的实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 镜像描述。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 是否执行强制关机以制作镜像。取值范围: // TRUE:表示自动关机后制作镜像 // FALSE:表示开机状态制作,目前不支持,需要先手动关机 // 默认取值:FALSE。 ForcePoweroff *string `json:"ForcePoweroff,omitempty" name:"ForcePoweroff"` }
func NewCreateImageRequest ¶
func NewCreateImageRequest() (request *CreateImageRequest)
func (*CreateImageRequest) FromJsonString ¶
func (r *CreateImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageRequest) ToJsonString ¶
func (r *CreateImageRequest) ToJsonString() string
type CreateImageRequestParams ¶ added in v1.0.426
type CreateImageRequestParams struct { // 镜像名称。 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 需要制作镜像的实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 镜像描述。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 是否执行强制关机以制作镜像。取值范围: // TRUE:表示自动关机后制作镜像 // FALSE:表示开机状态制作,目前不支持,需要先手动关机 // 默认取值:FALSE。 ForcePoweroff *string `json:"ForcePoweroff,omitempty" name:"ForcePoweroff"` }
Predefined struct for user
type CreateImageResponse ¶
type CreateImageResponse struct { *tchttp.BaseResponse Response *CreateImageResponseParams `json:"Response"` }
func NewCreateImageResponse ¶
func NewCreateImageResponse() (response *CreateImageResponse)
func (*CreateImageResponse) FromJsonString ¶
func (r *CreateImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateImageResponse) ToJsonString ¶
func (r *CreateImageResponse) ToJsonString() string
type CreateImageResponseParams ¶ added in v1.0.426
type CreateImageResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateKeyPairRequest ¶ added in v1.0.278
type CreateKeyPairRequest struct { *tchttp.BaseRequest // 密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。 KeyName *string `json:"KeyName,omitempty" name:"KeyName"` }
func NewCreateKeyPairRequest ¶ added in v1.0.278
func NewCreateKeyPairRequest() (request *CreateKeyPairRequest)
func (*CreateKeyPairRequest) FromJsonString ¶ added in v1.0.278
func (r *CreateKeyPairRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKeyPairRequest) ToJsonString ¶ added in v1.0.278
func (r *CreateKeyPairRequest) ToJsonString() string
type CreateKeyPairRequestParams ¶ added in v1.0.426
type CreateKeyPairRequestParams struct { // 密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。 KeyName *string `json:"KeyName,omitempty" name:"KeyName"` }
Predefined struct for user
type CreateKeyPairResponse ¶ added in v1.0.278
type CreateKeyPairResponse struct { *tchttp.BaseResponse Response *CreateKeyPairResponseParams `json:"Response"` }
func NewCreateKeyPairResponse ¶ added in v1.0.278
func NewCreateKeyPairResponse() (response *CreateKeyPairResponse)
func (*CreateKeyPairResponse) FromJsonString ¶ added in v1.0.278
func (r *CreateKeyPairResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKeyPairResponse) ToJsonString ¶ added in v1.0.278
func (r *CreateKeyPairResponse) ToJsonString() string
type CreateKeyPairResponseParams ¶ added in v1.0.426
type CreateKeyPairResponseParams struct { // 密钥对信息。 KeyPair *KeyPair `json:"KeyPair,omitempty" name:"KeyPair"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateListenerRequest ¶
type CreateListenerRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要将监听器创建到哪些端口,每个端口对应一个新的监听器 Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // 监听器协议: TCP | UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 要创建的监听器名称列表,名称与Ports数组按序一一对应,如不需立即命名,则无需提供此参数 ListenerNames []*string `json:"ListenerNames,omitempty" name:"ListenerNames"` // 健康检查相关参数 HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。 SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // 监听器转发的方式。可选值:WRR、LEAST_CONN // 分别表示按权重轮询、最小连接数, 默认为 WRR。 Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // 会话保持类型。不传或传NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。 SessionType *string `json:"SessionType,omitempty" name:"SessionType"` // 批量端口段的结束端口,必须和Ports长度一样。 EndPorts []*int64 `json:"EndPorts,omitempty" name:"EndPorts"` }
func NewCreateListenerRequest ¶
func NewCreateListenerRequest() (request *CreateListenerRequest)
func (*CreateListenerRequest) FromJsonString ¶
func (r *CreateListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateListenerRequest) ToJsonString ¶
func (r *CreateListenerRequest) ToJsonString() string
type CreateListenerRequestParams ¶ added in v1.0.426
type CreateListenerRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要将监听器创建到哪些端口,每个端口对应一个新的监听器 Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // 监听器协议: TCP | UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 要创建的监听器名称列表,名称与Ports数组按序一一对应,如不需立即命名,则无需提供此参数 ListenerNames []*string `json:"ListenerNames,omitempty" name:"ListenerNames"` // 健康检查相关参数 HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。 SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // 监听器转发的方式。可选值:WRR、LEAST_CONN // 分别表示按权重轮询、最小连接数, 默认为 WRR。 Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // 会话保持类型。不传或传NORMAL表示默认会话保持类型。QUIC_CID 表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。 SessionType *string `json:"SessionType,omitempty" name:"SessionType"` // 批量端口段的结束端口,必须和Ports长度一样。 EndPorts []*int64 `json:"EndPorts,omitempty" name:"EndPorts"` }
Predefined struct for user
type CreateListenerResponse ¶
type CreateListenerResponse struct { *tchttp.BaseResponse Response *CreateListenerResponseParams `json:"Response"` }
func NewCreateListenerResponse ¶
func NewCreateListenerResponse() (response *CreateListenerResponse)
func (*CreateListenerResponse) FromJsonString ¶
func (r *CreateListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateListenerResponse) ToJsonString ¶
func (r *CreateListenerResponse) ToJsonString() string
type CreateListenerResponseParams ¶ added in v1.0.426
type CreateListenerResponseParams struct { // 创建的监听器的唯一标识数组 // 注意:此字段可能返回 null,表示取不到有效值。 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { *tchttp.BaseRequest // ECM区域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 负载均衡实例的网络类型。目前只支持传入OPEN,表示公网属性。 LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通。 VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // 负载均衡实例的名称,只在创建一个实例的时候才会生效。规则:1-50 个英文、汉字、数字、连接线“-”或下划线“_”。 // 注意:如果名称与系统中已有负载均衡实例的名称相同,则系统将会自动生成此次创建的负载均衡实例的名称。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 负载均衡后端目标设备所属的网络 ID,如vpc-12345678。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 创建负载均衡的个数,默认值 1。 Number *int64 `json:"Number,omitempty" name:"Number"` // 负载均衡的带宽限制等信息。 InternetAccessible *LoadBalancerInternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // 标签。 Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // 安全组。 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` // 仅适用于公网负载均衡。IP版本,可取值:IPV4、IPv6FullChain,默认值 IPV4。说明:取值为IPv6FullChain,表示为IPv6版本。 AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"` // 在购买IPV6负载均衡实例的情况下,必须指定子网 ID, 此参数必填。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
func NewCreateLoadBalancerRequest ¶
func NewCreateLoadBalancerRequest() (request *CreateLoadBalancerRequest)
func (*CreateLoadBalancerRequest) FromJsonString ¶
func (r *CreateLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerRequest) ToJsonString ¶
func (r *CreateLoadBalancerRequest) ToJsonString() string
type CreateLoadBalancerRequestParams ¶ added in v1.0.426
type CreateLoadBalancerRequestParams struct { // ECM区域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 负载均衡实例的网络类型。目前只支持传入OPEN,表示公网属性。 LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通。 VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // 负载均衡实例的名称,只在创建一个实例的时候才会生效。规则:1-50 个英文、汉字、数字、连接线“-”或下划线“_”。 // 注意:如果名称与系统中已有负载均衡实例的名称相同,则系统将会自动生成此次创建的负载均衡实例的名称。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 负载均衡后端目标设备所属的网络 ID,如vpc-12345678。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 创建负载均衡的个数,默认值 1。 Number *int64 `json:"Number,omitempty" name:"Number"` // 负载均衡的带宽限制等信息。 InternetAccessible *LoadBalancerInternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"` // 标签。 Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // 安全组。 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` // 仅适用于公网负载均衡。IP版本,可取值:IPV4、IPv6FullChain,默认值 IPV4。说明:取值为IPv6FullChain,表示为IPv6版本。 AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"` // 在购买IPV6负载均衡实例的情况下,必须指定子网 ID, 此参数必填。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
Predefined struct for user
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { *tchttp.BaseResponse Response *CreateLoadBalancerResponseParams `json:"Response"` }
func NewCreateLoadBalancerResponse ¶
func NewCreateLoadBalancerResponse() (response *CreateLoadBalancerResponse)
func (*CreateLoadBalancerResponse) FromJsonString ¶
func (r *CreateLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerResponse) ToJsonString ¶
func (r *CreateLoadBalancerResponse) ToJsonString() string
type CreateLoadBalancerResponseParams ¶ added in v1.0.426
type CreateLoadBalancerResponseParams struct { // 由负载均衡实例ID组成的数组 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateModuleRequest ¶
type CreateModuleRequest struct { *tchttp.BaseRequest // 模块名称,如视频直播模块。限制:模块名称不得以空格开头,长度不得超过60个字符。 ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"` // 默认带宽,单位:M。范围不得超过带宽上下限,详看DescribeConfig。 DefaultBandWidth *int64 `json:"DefaultBandWidth,omitempty" name:"DefaultBandWidth"` // 默认镜像,如img-qsdf3ff2。 DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"` // 机型ID。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 默认系统盘大小,单位:G,默认大小为50G。范围不得超过系统盘上下限制,详看DescribeConfig。 DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"` // 默认数据盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"` // 是否关闭IP直通。取值范围: // true:表示关闭IP直通 // false:表示开通IP直通 CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"` // 标签列表。 TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"` // 模块默认安全组列表 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` // 默认入带宽,单位:M。范围不得超过带宽上下限,详看DescribeConfig。 DefaultBandWidthIn *int64 `json:"DefaultBandWidthIn,omitempty" name:"DefaultBandWidthIn"` // 是否禁止分配外网IP DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"` // 系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息。 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
func NewCreateModuleRequest ¶
func NewCreateModuleRequest() (request *CreateModuleRequest)
func (*CreateModuleRequest) FromJsonString ¶
func (r *CreateModuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModuleRequest) ToJsonString ¶
func (r *CreateModuleRequest) ToJsonString() string
type CreateModuleRequestParams ¶ added in v1.0.426
type CreateModuleRequestParams struct { // 模块名称,如视频直播模块。限制:模块名称不得以空格开头,长度不得超过60个字符。 ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"` // 默认带宽,单位:M。范围不得超过带宽上下限,详看DescribeConfig。 DefaultBandWidth *int64 `json:"DefaultBandWidth,omitempty" name:"DefaultBandWidth"` // 默认镜像,如img-qsdf3ff2。 DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"` // 机型ID。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 默认系统盘大小,单位:G,默认大小为50G。范围不得超过系统盘上下限制,详看DescribeConfig。 DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"` // 默认数据盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"` // 是否关闭IP直通。取值范围: // true:表示关闭IP直通 // false:表示开通IP直通 CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"` // 标签列表。 TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"` // 模块默认安全组列表 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` // 默认入带宽,单位:M。范围不得超过带宽上下限,详看DescribeConfig。 DefaultBandWidthIn *int64 `json:"DefaultBandWidthIn,omitempty" name:"DefaultBandWidthIn"` // 是否禁止分配外网IP DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"` // 系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息。 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
Predefined struct for user
type CreateModuleResponse ¶
type CreateModuleResponse struct { *tchttp.BaseResponse Response *CreateModuleResponseParams `json:"Response"` }
func NewCreateModuleResponse ¶
func NewCreateModuleResponse() (response *CreateModuleResponse)
func (*CreateModuleResponse) FromJsonString ¶
func (r *CreateModuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModuleResponse) ToJsonString ¶
func (r *CreateModuleResponse) ToJsonString() string
type CreateModuleResponseParams ¶ added in v1.0.426
type CreateModuleResponseParams struct { // 模块ID,创建模块成功后分配给该模块的ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 弹性网卡名称,最大长度不能超过60个字节。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡所在的子网实例ID,例如:subnet-0ap8nwca。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡描述,可任意命名,但不得超过60个字符。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 新申请的内网IP地址个数,内网IP地址个数总和不能超过配额数。 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` // 指定绑定的安全组,例如:['sg-1dd51d']。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateNetworkInterfaceRequest ¶
func NewCreateNetworkInterfaceRequest() (request *CreateNetworkInterfaceRequest)
func (*CreateNetworkInterfaceRequest) FromJsonString ¶
func (r *CreateNetworkInterfaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNetworkInterfaceRequest) ToJsonString ¶
func (r *CreateNetworkInterfaceRequest) ToJsonString() string
type CreateNetworkInterfaceRequestParams ¶ added in v1.0.426
type CreateNetworkInterfaceRequestParams struct { // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 弹性网卡名称,最大长度不能超过60个字节。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡所在的子网实例ID,例如:subnet-0ap8nwca。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡描述,可任意命名,但不得超过60个字符。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 新申请的内网IP地址个数,内网IP地址个数总和不能超过配额数。 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` // 指定绑定的安全组,例如:['sg-1dd51d']。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateNetworkInterfaceResponse ¶
type CreateNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *CreateNetworkInterfaceResponseParams `json:"Response"` }
func NewCreateNetworkInterfaceResponse ¶
func NewCreateNetworkInterfaceResponse() (response *CreateNetworkInterfaceResponse)
func (*CreateNetworkInterfaceResponse) FromJsonString ¶
func (r *CreateNetworkInterfaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNetworkInterfaceResponse) ToJsonString ¶
func (r *CreateNetworkInterfaceResponse) ToJsonString() string
type CreateNetworkInterfaceResponseParams ¶ added in v1.0.426
type CreateNetworkInterfaceResponseParams struct { // 弹性网卡实例。 NetworkInterface *NetworkInterface `json:"NetworkInterface,omitempty" name:"NetworkInterface"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRouteTableRequest ¶
type CreateRouteTableRequest struct { *tchttp.BaseRequest // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // ecm地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewCreateRouteTableRequest ¶
func NewCreateRouteTableRequest() (request *CreateRouteTableRequest)
func (*CreateRouteTableRequest) FromJsonString ¶
func (r *CreateRouteTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRouteTableRequest) ToJsonString ¶
func (r *CreateRouteTableRequest) ToJsonString() string
type CreateRouteTableRequestParams ¶ added in v1.0.426
type CreateRouteTableRequestParams struct { // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // ecm地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type CreateRouteTableResponse ¶
type CreateRouteTableResponse struct { *tchttp.BaseResponse Response *CreateRouteTableResponseParams `json:"Response"` }
func NewCreateRouteTableResponse ¶
func NewCreateRouteTableResponse() (response *CreateRouteTableResponse)
func (*CreateRouteTableResponse) FromJsonString ¶
func (r *CreateRouteTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRouteTableResponse) ToJsonString ¶
func (r *CreateRouteTableResponse) ToJsonString() string
type CreateRouteTableResponseParams ¶ added in v1.0.426
type CreateRouteTableResponseParams struct { // 路由表对象 RouteTable *RouteTable `json:"RouteTable,omitempty" name:"RouteTable"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRoutesRequest ¶
type CreateRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要创建的路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
func NewCreateRoutesRequest ¶
func NewCreateRoutesRequest() (request *CreateRoutesRequest)
func (*CreateRoutesRequest) FromJsonString ¶
func (r *CreateRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoutesRequest) ToJsonString ¶
func (r *CreateRoutesRequest) ToJsonString() string
type CreateRoutesRequestParams ¶ added in v1.0.426
type CreateRoutesRequestParams struct { // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要创建的路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
Predefined struct for user
type CreateRoutesResponse ¶
type CreateRoutesResponse struct { *tchttp.BaseResponse Response *CreateRoutesResponseParams `json:"Response"` }
func NewCreateRoutesResponse ¶
func NewCreateRoutesResponse() (response *CreateRoutesResponse)
func (*CreateRoutesResponse) FromJsonString ¶
func (r *CreateRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoutesResponse) ToJsonString ¶
func (r *CreateRoutesResponse) ToJsonString() string
type CreateRoutesResponseParams ¶ added in v1.0.426
type CreateRoutesResponseParams struct { // 新增的实例个数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 路由表对象。 // 注意:此字段可能返回 null,表示取不到有效值。 RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSecurityGroupPoliciesRequest ¶
type CreateSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewCreateSecurityGroupPoliciesRequest ¶
func NewCreateSecurityGroupPoliciesRequest() (request *CreateSecurityGroupPoliciesRequest)
func (*CreateSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *CreateSecurityGroupPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *CreateSecurityGroupPoliciesRequest) ToJsonString() string
type CreateSecurityGroupPoliciesRequestParams ¶ added in v1.0.426
type CreateSecurityGroupPoliciesRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
Predefined struct for user
type CreateSecurityGroupPoliciesResponse ¶
type CreateSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *CreateSecurityGroupPoliciesResponseParams `json:"Response"` }
func NewCreateSecurityGroupPoliciesResponse ¶
func NewCreateSecurityGroupPoliciesResponse() (response *CreateSecurityGroupPoliciesResponse)
func (*CreateSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *CreateSecurityGroupPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *CreateSecurityGroupPoliciesResponse) ToJsonString() string
type CreateSecurityGroupPoliciesResponseParams ¶ added in v1.0.426
type CreateSecurityGroupPoliciesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct { *tchttp.BaseRequest // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest() (request *CreateSecurityGroupRequest)
func (*CreateSecurityGroupRequest) FromJsonString ¶
func (r *CreateSecurityGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupRequest) ToJsonString ¶
func (r *CreateSecurityGroupRequest) ToJsonString() string
type CreateSecurityGroupRequestParams ¶ added in v1.0.426
type CreateSecurityGroupRequestParams struct { // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { *tchttp.BaseResponse Response *CreateSecurityGroupResponseParams `json:"Response"` }
func NewCreateSecurityGroupResponse ¶
func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse)
func (*CreateSecurityGroupResponse) FromJsonString ¶
func (r *CreateSecurityGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupResponse) ToJsonString ¶
func (r *CreateSecurityGroupResponse) ToJsonString() string
type CreateSecurityGroupResponseParams ¶ added in v1.0.426
type CreateSecurityGroupResponseParams struct { // 安全组对象。 SecurityGroup *SecurityGroup `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { *tchttp.BaseRequest // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网网段,子网网段必须在VPC网段内,相同VPC内子网网段不能重叠。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 子网所在的可用区ID,不同子网选择不同可用区可以做跨可用区灾备。 Zone *string `json:"Zone,omitempty" name:"Zone"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest() (request *CreateSubnetRequest)
func (*CreateSubnetRequest) FromJsonString ¶
func (r *CreateSubnetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubnetRequest) ToJsonString ¶
func (r *CreateSubnetRequest) ToJsonString() string
type CreateSubnetRequestParams ¶ added in v1.0.426
type CreateSubnetRequestParams struct { // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网网段,子网网段必须在VPC网段内,相同VPC内子网网段不能重叠。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 子网所在的可用区ID,不同子网选择不同可用区可以做跨可用区灾备。 Zone *string `json:"Zone,omitempty" name:"Zone"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateSubnetResponse ¶
type CreateSubnetResponse struct { *tchttp.BaseResponse Response *CreateSubnetResponseParams `json:"Response"` }
func NewCreateSubnetResponse ¶
func NewCreateSubnetResponse() (response *CreateSubnetResponse)
func (*CreateSubnetResponse) FromJsonString ¶
func (r *CreateSubnetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubnetResponse) ToJsonString ¶
func (r *CreateSubnetResponse) ToJsonString() string
type CreateSubnetResponseParams ¶ added in v1.0.426
type CreateSubnetResponseParams struct { // 子网对象。 Subnet *Subnet `json:"Subnet,omitempty" name:"Subnet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateVpcRequest ¶
type CreateVpcRequest struct { *tchttp.BaseRequest // vpc名称,最大长度不能超过60个字节。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // vpc的cidr,只能为10.*.0.0/16,172.[16-31].0.0/16,192.168.0.0/16这三个内网网段内。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 是否开启组播。true: 开启, false: 不开启。暂不支持 EnableMulticast *string `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // DNS地址,最多支持4个,暂不支持 DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers"` // 域名,暂不支持 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 描述信息 Description *string `json:"Description,omitempty" name:"Description"` }
func NewCreateVpcRequest ¶
func NewCreateVpcRequest() (request *CreateVpcRequest)
func (*CreateVpcRequest) FromJsonString ¶
func (r *CreateVpcRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVpcRequest) ToJsonString ¶
func (r *CreateVpcRequest) ToJsonString() string
type CreateVpcRequestParams ¶ added in v1.0.426
type CreateVpcRequestParams struct { // vpc名称,最大长度不能超过60个字节。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // vpc的cidr,只能为10.*.0.0/16,172.[16-31].0.0/16,192.168.0.0/16这三个内网网段内。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 是否开启组播。true: 开启, false: 不开启。暂不支持 EnableMulticast *string `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // DNS地址,最多支持4个,暂不支持 DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers"` // 域名,暂不支持 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 描述信息 Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type CreateVpcResponse ¶
type CreateVpcResponse struct { *tchttp.BaseResponse Response *CreateVpcResponseParams `json:"Response"` }
func NewCreateVpcResponse ¶
func NewCreateVpcResponse() (response *CreateVpcResponse)
func (*CreateVpcResponse) FromJsonString ¶
func (r *CreateVpcResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVpcResponse) ToJsonString ¶
func (r *CreateVpcResponse) ToJsonString() string
type CreateVpcResponseParams ¶ added in v1.0.426
type CreateVpcResponseParams struct { // Vpc对象。 Vpc *VpcInfo `json:"Vpc,omitempty" name:"Vpc"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteHaVipRequest ¶
type DeleteHaVipRequest struct { *tchttp.BaseRequest // HAVIP唯一ID,形如:havip-9o233uri。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` }
func NewDeleteHaVipRequest ¶
func NewDeleteHaVipRequest() (request *DeleteHaVipRequest)
func (*DeleteHaVipRequest) FromJsonString ¶
func (r *DeleteHaVipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteHaVipRequest) ToJsonString ¶
func (r *DeleteHaVipRequest) ToJsonString() string
type DeleteHaVipRequestParams ¶ added in v1.0.426
type DeleteHaVipRequestParams struct { // HAVIP唯一ID,形如:havip-9o233uri。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` }
Predefined struct for user
type DeleteHaVipResponse ¶
type DeleteHaVipResponse struct { *tchttp.BaseResponse Response *DeleteHaVipResponseParams `json:"Response"` }
func NewDeleteHaVipResponse ¶
func NewDeleteHaVipResponse() (response *DeleteHaVipResponse)
func (*DeleteHaVipResponse) FromJsonString ¶
func (r *DeleteHaVipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteHaVipResponse) ToJsonString ¶
func (r *DeleteHaVipResponse) ToJsonString() string
type DeleteHaVipResponseParams ¶ added in v1.0.426
type DeleteHaVipResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteImageRequest ¶
type DeleteImageRequest struct { *tchttp.BaseRequest // 镜像ID列表。 ImageIDSet []*string `json:"ImageIDSet,omitempty" name:"ImageIDSet"` }
func NewDeleteImageRequest ¶
func NewDeleteImageRequest() (request *DeleteImageRequest)
func (*DeleteImageRequest) FromJsonString ¶
func (r *DeleteImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageRequest) ToJsonString ¶
func (r *DeleteImageRequest) ToJsonString() string
type DeleteImageRequestParams ¶ added in v1.0.426
type DeleteImageRequestParams struct { // 镜像ID列表。 ImageIDSet []*string `json:"ImageIDSet,omitempty" name:"ImageIDSet"` }
Predefined struct for user
type DeleteImageResponse ¶
type DeleteImageResponse struct { *tchttp.BaseResponse Response *DeleteImageResponseParams `json:"Response"` }
func NewDeleteImageResponse ¶
func NewDeleteImageResponse() (response *DeleteImageResponse)
func (*DeleteImageResponse) FromJsonString ¶
func (r *DeleteImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteImageResponse) ToJsonString ¶
func (r *DeleteImageResponse) ToJsonString() string
type DeleteImageResponseParams ¶ added in v1.0.426
type DeleteImageResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteListenerRequest ¶
type DeleteListenerRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要删除的监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` }
func NewDeleteListenerRequest ¶
func NewDeleteListenerRequest() (request *DeleteListenerRequest)
func (*DeleteListenerRequest) FromJsonString ¶
func (r *DeleteListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenerRequest) ToJsonString ¶
func (r *DeleteListenerRequest) ToJsonString() string
type DeleteListenerRequestParams ¶ added in v1.0.426
type DeleteListenerRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要删除的监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` }
Predefined struct for user
type DeleteListenerResponse ¶
type DeleteListenerResponse struct { *tchttp.BaseResponse Response *DeleteListenerResponseParams `json:"Response"` }
func NewDeleteListenerResponse ¶
func NewDeleteListenerResponse() (response *DeleteListenerResponse)
func (*DeleteListenerResponse) FromJsonString ¶
func (r *DeleteListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenerResponse) ToJsonString ¶
func (r *DeleteListenerResponse) ToJsonString() string
type DeleteListenerResponseParams ¶ added in v1.0.426
type DeleteListenerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerListenersRequest ¶
type DeleteLoadBalancerListenersRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 指定删除的监听器ID数组,若不填则删除负载均衡的所有监听器 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` }
func NewDeleteLoadBalancerListenersRequest ¶
func NewDeleteLoadBalancerListenersRequest() (request *DeleteLoadBalancerListenersRequest)
func (*DeleteLoadBalancerListenersRequest) FromJsonString ¶
func (r *DeleteLoadBalancerListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerListenersRequest) ToJsonString ¶
func (r *DeleteLoadBalancerListenersRequest) ToJsonString() string
type DeleteLoadBalancerListenersRequestParams ¶ added in v1.0.426
type DeleteLoadBalancerListenersRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 指定删除的监听器ID数组,若不填则删除负载均衡的所有监听器 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` }
Predefined struct for user
type DeleteLoadBalancerListenersResponse ¶
type DeleteLoadBalancerListenersResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerListenersResponseParams `json:"Response"` }
func NewDeleteLoadBalancerListenersResponse ¶
func NewDeleteLoadBalancerListenersResponse() (response *DeleteLoadBalancerListenersResponse)
func (*DeleteLoadBalancerListenersResponse) FromJsonString ¶
func (r *DeleteLoadBalancerListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerListenersResponse) ToJsonString ¶
func (r *DeleteLoadBalancerListenersResponse) ToJsonString() string
type DeleteLoadBalancerListenersResponseParams ¶ added in v1.0.426
type DeleteLoadBalancerListenersResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { *tchttp.BaseRequest // 要删除的负载均衡实例 ID数组,数组大小最大支持20 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` }
func NewDeleteLoadBalancerRequest ¶
func NewDeleteLoadBalancerRequest() (request *DeleteLoadBalancerRequest)
func (*DeleteLoadBalancerRequest) FromJsonString ¶
func (r *DeleteLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerRequest) ToJsonString ¶
func (r *DeleteLoadBalancerRequest) ToJsonString() string
type DeleteLoadBalancerRequestParams ¶ added in v1.0.426
type DeleteLoadBalancerRequestParams struct { // 要删除的负载均衡实例 ID数组,数组大小最大支持20 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type DeleteLoadBalancerResponse ¶
type DeleteLoadBalancerResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerResponseParams `json:"Response"` }
func NewDeleteLoadBalancerResponse ¶
func NewDeleteLoadBalancerResponse() (response *DeleteLoadBalancerResponse)
func (*DeleteLoadBalancerResponse) FromJsonString ¶
func (r *DeleteLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerResponse) ToJsonString ¶
func (r *DeleteLoadBalancerResponse) ToJsonString() string
type DeleteLoadBalancerResponseParams ¶ added in v1.0.426
type DeleteLoadBalancerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteModuleRequest ¶
type DeleteModuleRequest struct { *tchttp.BaseRequest // 模块ID。如:em-qn46snq8 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
func NewDeleteModuleRequest ¶
func NewDeleteModuleRequest() (request *DeleteModuleRequest)
func (*DeleteModuleRequest) FromJsonString ¶
func (r *DeleteModuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModuleRequest) ToJsonString ¶
func (r *DeleteModuleRequest) ToJsonString() string
type DeleteModuleRequestParams ¶ added in v1.0.426
type DeleteModuleRequestParams struct { // 模块ID。如:em-qn46snq8 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
Predefined struct for user
type DeleteModuleResponse ¶
type DeleteModuleResponse struct { *tchttp.BaseResponse Response *DeleteModuleResponseParams `json:"Response"` }
func NewDeleteModuleResponse ¶
func NewDeleteModuleResponse() (response *DeleteModuleResponse)
func (*DeleteModuleResponse) FromJsonString ¶
func (r *DeleteModuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModuleResponse) ToJsonString ¶
func (r *DeleteModuleResponse) ToJsonString() string
type DeleteModuleResponseParams ¶ added in v1.0.426
type DeleteModuleResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDeleteNetworkInterfaceRequest ¶
func NewDeleteNetworkInterfaceRequest() (request *DeleteNetworkInterfaceRequest)
func (*DeleteNetworkInterfaceRequest) FromJsonString ¶
func (r *DeleteNetworkInterfaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNetworkInterfaceRequest) ToJsonString ¶
func (r *DeleteNetworkInterfaceRequest) ToJsonString() string
type DeleteNetworkInterfaceRequestParams ¶ added in v1.0.426
type DeleteNetworkInterfaceRequestParams struct { // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DeleteNetworkInterfaceResponse ¶
type DeleteNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *DeleteNetworkInterfaceResponseParams `json:"Response"` }
func NewDeleteNetworkInterfaceResponse ¶
func NewDeleteNetworkInterfaceResponse() (response *DeleteNetworkInterfaceResponse)
func (*DeleteNetworkInterfaceResponse) FromJsonString ¶
func (r *DeleteNetworkInterfaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNetworkInterfaceResponse) ToJsonString ¶
func (r *DeleteNetworkInterfaceResponse) ToJsonString() string
type DeleteNetworkInterfaceResponseParams ¶ added in v1.0.426
type DeleteNetworkInterfaceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRouteTableRequest ¶
type DeleteRouteTableRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
func NewDeleteRouteTableRequest ¶
func NewDeleteRouteTableRequest() (request *DeleteRouteTableRequest)
func (*DeleteRouteTableRequest) FromJsonString ¶
func (r *DeleteRouteTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteTableRequest) ToJsonString ¶
func (r *DeleteRouteTableRequest) ToJsonString() string
type DeleteRouteTableRequestParams ¶ added in v1.0.426
type DeleteRouteTableRequestParams struct { // 路由表实例ID,例如:rtb-azd4dt1c RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
Predefined struct for user
type DeleteRouteTableResponse ¶
type DeleteRouteTableResponse struct { *tchttp.BaseResponse Response *DeleteRouteTableResponseParams `json:"Response"` }
func NewDeleteRouteTableResponse ¶
func NewDeleteRouteTableResponse() (response *DeleteRouteTableResponse)
func (*DeleteRouteTableResponse) FromJsonString ¶
func (r *DeleteRouteTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteTableResponse) ToJsonString ¶
func (r *DeleteRouteTableResponse) ToJsonString() string
type DeleteRouteTableResponseParams ¶ added in v1.0.426
type DeleteRouteTableResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRoutesRequest ¶
type DeleteRoutesRequest struct { *tchttp.BaseRequest // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
func NewDeleteRoutesRequest ¶
func NewDeleteRoutesRequest() (request *DeleteRoutesRequest)
func (*DeleteRoutesRequest) FromJsonString ¶
func (r *DeleteRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoutesRequest) ToJsonString ¶
func (r *DeleteRoutesRequest) ToJsonString() string
type DeleteRoutesRequestParams ¶ added in v1.0.426
type DeleteRoutesRequestParams struct { // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
Predefined struct for user
type DeleteRoutesResponse ¶
type DeleteRoutesResponse struct { *tchttp.BaseResponse Response *DeleteRoutesResponseParams `json:"Response"` }
func NewDeleteRoutesResponse ¶
func NewDeleteRoutesResponse() (response *DeleteRoutesResponse)
func (*DeleteRoutesResponse) FromJsonString ¶
func (r *DeleteRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoutesResponse) ToJsonString ¶
func (r *DeleteRoutesResponse) ToJsonString() string
type DeleteRoutesResponseParams ¶ added in v1.0.426
type DeleteRoutesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityGroupPoliciesRequest ¶
type DeleteSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewDeleteSecurityGroupPoliciesRequest ¶
func NewDeleteSecurityGroupPoliciesRequest() (request *DeleteSecurityGroupPoliciesRequest)
func (*DeleteSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *DeleteSecurityGroupPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *DeleteSecurityGroupPoliciesRequest) ToJsonString() string
type DeleteSecurityGroupPoliciesRequestParams ¶ added in v1.0.426
type DeleteSecurityGroupPoliciesRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
Predefined struct for user
type DeleteSecurityGroupPoliciesResponse ¶
type DeleteSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *DeleteSecurityGroupPoliciesResponseParams `json:"Response"` }
func NewDeleteSecurityGroupPoliciesResponse ¶
func NewDeleteSecurityGroupPoliciesResponse() (response *DeleteSecurityGroupPoliciesResponse)
func (*DeleteSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *DeleteSecurityGroupPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *DeleteSecurityGroupPoliciesResponse) ToJsonString() string
type DeleteSecurityGroupPoliciesResponseParams ¶ added in v1.0.426
type DeleteSecurityGroupPoliciesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
func NewDeleteSecurityGroupRequest ¶
func NewDeleteSecurityGroupRequest() (request *DeleteSecurityGroupRequest)
func (*DeleteSecurityGroupRequest) FromJsonString ¶
func (r *DeleteSecurityGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupRequest) ToJsonString ¶
func (r *DeleteSecurityGroupRequest) ToJsonString() string
type DeleteSecurityGroupRequestParams ¶ added in v1.0.426
type DeleteSecurityGroupRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
Predefined struct for user
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct { *tchttp.BaseResponse Response *DeleteSecurityGroupResponseParams `json:"Response"` }
func NewDeleteSecurityGroupResponse ¶
func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse)
func (*DeleteSecurityGroupResponse) FromJsonString ¶
func (r *DeleteSecurityGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupResponse) ToJsonString ¶
func (r *DeleteSecurityGroupResponse) ToJsonString() string
type DeleteSecurityGroupResponseParams ¶ added in v1.0.426
type DeleteSecurityGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSnapshotsRequest ¶ added in v1.0.253
type DeleteSnapshotsRequest struct { *tchttp.BaseRequest // 要删除的快照ID列表,可通过[DescribeSnapshots](/document/product/362/15647)查询。 SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"` // 是否强制删除快照关联的镜像 DeleteBindImages *bool `json:"DeleteBindImages,omitempty" name:"DeleteBindImages"` }
func NewDeleteSnapshotsRequest ¶ added in v1.0.253
func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)
func (*DeleteSnapshotsRequest) FromJsonString ¶ added in v1.0.253
func (r *DeleteSnapshotsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotsRequest) ToJsonString ¶ added in v1.0.253
func (r *DeleteSnapshotsRequest) ToJsonString() string
type DeleteSnapshotsRequestParams ¶ added in v1.0.426
type DeleteSnapshotsRequestParams struct { // 要删除的快照ID列表,可通过[DescribeSnapshots](/document/product/362/15647)查询。 SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"` // 是否强制删除快照关联的镜像 DeleteBindImages *bool `json:"DeleteBindImages,omitempty" name:"DeleteBindImages"` }
Predefined struct for user
type DeleteSnapshotsResponse ¶ added in v1.0.253
type DeleteSnapshotsResponse struct { *tchttp.BaseResponse Response *DeleteSnapshotsResponseParams `json:"Response"` }
func NewDeleteSnapshotsResponse ¶ added in v1.0.253
func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)
func (*DeleteSnapshotsResponse) FromJsonString ¶ added in v1.0.253
func (r *DeleteSnapshotsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotsResponse) ToJsonString ¶ added in v1.0.253
func (r *DeleteSnapshotsResponse) ToJsonString() string
type DeleteSnapshotsResponseParams ¶ added in v1.0.426
type DeleteSnapshotsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { *tchttp.BaseRequest // 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)
func (*DeleteSubnetRequest) FromJsonString ¶
func (r *DeleteSubnetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSubnetRequest) ToJsonString ¶
func (r *DeleteSubnetRequest) ToJsonString() string
type DeleteSubnetRequestParams ¶ added in v1.0.426
type DeleteSubnetRequestParams struct { // 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct { *tchttp.BaseResponse Response *DeleteSubnetResponseParams `json:"Response"` }
func NewDeleteSubnetResponse ¶
func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)
func (*DeleteSubnetResponse) FromJsonString ¶
func (r *DeleteSubnetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSubnetResponse) ToJsonString ¶
func (r *DeleteSubnetResponse) ToJsonString() string
type DeleteSubnetResponseParams ¶ added in v1.0.426
type DeleteSubnetResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteVpcRequest ¶
type DeleteVpcRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDeleteVpcRequest ¶
func NewDeleteVpcRequest() (request *DeleteVpcRequest)
func (*DeleteVpcRequest) FromJsonString ¶
func (r *DeleteVpcRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVpcRequest) ToJsonString ¶
func (r *DeleteVpcRequest) ToJsonString() string
type DeleteVpcRequestParams ¶ added in v1.0.426
type DeleteVpcRequestParams struct { // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DeleteVpcResponse ¶
type DeleteVpcResponse struct { *tchttp.BaseResponse Response *DeleteVpcResponseParams `json:"Response"` }
func NewDeleteVpcResponse ¶
func NewDeleteVpcResponse() (response *DeleteVpcResponse)
func (*DeleteVpcResponse) FromJsonString ¶
func (r *DeleteVpcResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVpcResponse) ToJsonString ¶
func (r *DeleteVpcResponse) ToJsonString() string
type DeleteVpcResponseParams ¶ added in v1.0.426
type DeleteVpcResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAddressQuotaRequest ¶
type DescribeAddressQuotaRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDescribeAddressQuotaRequest ¶
func NewDescribeAddressQuotaRequest() (request *DescribeAddressQuotaRequest)
func (*DescribeAddressQuotaRequest) FromJsonString ¶
func (r *DescribeAddressQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddressQuotaRequest) ToJsonString ¶
func (r *DescribeAddressQuotaRequest) ToJsonString() string
type DescribeAddressQuotaRequestParams ¶ added in v1.0.426
type DescribeAddressQuotaRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DescribeAddressQuotaResponse ¶
type DescribeAddressQuotaResponse struct { *tchttp.BaseResponse Response *DescribeAddressQuotaResponseParams `json:"Response"` }
func NewDescribeAddressQuotaResponse ¶
func NewDescribeAddressQuotaResponse() (response *DescribeAddressQuotaResponse)
func (*DescribeAddressQuotaResponse) FromJsonString ¶
func (r *DescribeAddressQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddressQuotaResponse) ToJsonString ¶
func (r *DescribeAddressQuotaResponse) ToJsonString() string
type DescribeAddressQuotaResponseParams ¶ added in v1.0.426
type DescribeAddressQuotaResponseParams struct { // 账户 EIP 配额信息。 QuotaSet []*EipQuota `json:"QuotaSet,omitempty" name:"QuotaSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAddressesRequest ¶
type DescribeAddressesRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID 列表。EIP 唯一 ID 形如:eip-11112222。参数不支持同时指定AddressIds和Filters。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` // 每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定AddressIds和Filters。详细的过滤条件如下: // address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。 // address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。 // address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。 // address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。取值范围:详见EIP状态列表。 // instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。 // private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。 // network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。 // is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAddressesRequest ¶
func NewDescribeAddressesRequest() (request *DescribeAddressesRequest)
func (*DescribeAddressesRequest) FromJsonString ¶
func (r *DescribeAddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddressesRequest) ToJsonString ¶
func (r *DescribeAddressesRequest) ToJsonString() string
type DescribeAddressesRequestParams ¶ added in v1.0.426
type DescribeAddressesRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID 列表。EIP 唯一 ID 形如:eip-11112222。参数不支持同时指定AddressIds和Filters。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` // 每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定AddressIds和Filters。详细的过滤条件如下: // address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。 // address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。 // address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。 // address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。取值范围:详见EIP状态列表。 // instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。 // private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。 // network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。 // is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAddressesResponse ¶
type DescribeAddressesResponse struct { *tchttp.BaseResponse Response *DescribeAddressesResponseParams `json:"Response"` }
func NewDescribeAddressesResponse ¶
func NewDescribeAddressesResponse() (response *DescribeAddressesResponse)
func (*DescribeAddressesResponse) FromJsonString ¶
func (r *DescribeAddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddressesResponse) ToJsonString ¶
func (r *DescribeAddressesResponse) ToJsonString() string
type DescribeAddressesResponseParams ¶ added in v1.0.426
type DescribeAddressesResponseParams struct { // 符合条件的 EIP 数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // EIP 详细信息列表。 AddressSet []*Address `json:"AddressSet,omitempty" name:"AddressSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBaseOverviewRequest ¶
type DescribeBaseOverviewRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBaseOverviewRequest ¶
func NewDescribeBaseOverviewRequest() (request *DescribeBaseOverviewRequest)
func (*DescribeBaseOverviewRequest) FromJsonString ¶
func (r *DescribeBaseOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseOverviewRequest) ToJsonString ¶
func (r *DescribeBaseOverviewRequest) ToJsonString() string
type DescribeBaseOverviewRequestParams ¶ added in v1.0.426
type DescribeBaseOverviewRequestParams struct { }
Predefined struct for user
type DescribeBaseOverviewResponse ¶
type DescribeBaseOverviewResponse struct { *tchttp.BaseResponse Response *DescribeBaseOverviewResponseParams `json:"Response"` }
func NewDescribeBaseOverviewResponse ¶
func NewDescribeBaseOverviewResponse() (response *DescribeBaseOverviewResponse)
func (*DescribeBaseOverviewResponse) FromJsonString ¶
func (r *DescribeBaseOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBaseOverviewResponse) ToJsonString ¶
func (r *DescribeBaseOverviewResponse) ToJsonString() string
type DescribeBaseOverviewResponseParams ¶ added in v1.0.426
type DescribeBaseOverviewResponseParams struct { // 模块数量,单位:个 ModuleNum *int64 `json:"ModuleNum,omitempty" name:"ModuleNum"` // 节点数量,单位:个 NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"` // cpu核数,单位:个 VcpuNum *int64 `json:"VcpuNum,omitempty" name:"VcpuNum"` // 内存大小,单位:G MemoryNum *int64 `json:"MemoryNum,omitempty" name:"MemoryNum"` // 硬盘大小,单位:G StorageNum *int64 `json:"StorageNum,omitempty" name:"StorageNum"` // 昨日网络峰值,单位:M NetworkNum *int64 `json:"NetworkNum,omitempty" name:"NetworkNum"` // 实例数量,单位:台 InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"` // 运行中数量,单位:台 RunningNum *int64 `json:"RunningNum,omitempty" name:"RunningNum"` // 安全隔离数量,单位:台 IsolationNum *int64 `json:"IsolationNum,omitempty" name:"IsolationNum"` // 过期实例数量,单位:台 ExpiredNum *int64 `json:"ExpiredNum,omitempty" name:"ExpiredNum"` // 即将过期实例数量,单位:台 WillExpireNum *int64 `json:"WillExpireNum,omitempty" name:"WillExpireNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigRequest ¶
type DescribeConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeConfigRequest ¶
func NewDescribeConfigRequest() (request *DescribeConfigRequest)
func (*DescribeConfigRequest) FromJsonString ¶
func (r *DescribeConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigRequest) ToJsonString ¶
func (r *DescribeConfigRequest) ToJsonString() string
type DescribeConfigRequestParams ¶ added in v1.0.426
type DescribeConfigRequestParams struct { }
Predefined struct for user
type DescribeConfigResponse ¶
type DescribeConfigResponse struct { *tchttp.BaseResponse Response *DescribeConfigResponseParams `json:"Response"` }
func NewDescribeConfigResponse ¶
func NewDescribeConfigResponse() (response *DescribeConfigResponse)
func (*DescribeConfigResponse) FromJsonString ¶
func (r *DescribeConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigResponse) ToJsonString ¶
func (r *DescribeConfigResponse) ToJsonString() string
type DescribeConfigResponseParams ¶ added in v1.0.426
type DescribeConfigResponseParams struct { // 网络带宽硬盘大小的范围信息。 NetworkStorageRange *NetworkStorageRange `json:"NetworkStorageRange,omitempty" name:"NetworkStorageRange"` // 镜像操作系统白名单。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageWhiteSet []*string `json:"ImageWhiteSet,omitempty" name:"ImageWhiteSet"` // 网络限额信息。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceNetworkLimitConfigs []*InstanceNetworkLimitConfig `json:"InstanceNetworkLimitConfigs,omitempty" name:"InstanceNetworkLimitConfigs"` // 镜像限额信息。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageLimits *ImageLimitConfig `json:"ImageLimits,omitempty" name:"ImageLimits"` // 默认是否IP直通,用于模块创建,虚机购买等具有直通参数场景时的默认参数。 DefaultIPDirect *bool `json:"DefaultIPDirect,omitempty" name:"DefaultIPDirect"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomImageTaskRequest ¶
type DescribeCustomImageTaskRequest struct { *tchttp.BaseRequest // 支持key,value查询 // task-id: 异步任务ID // image-id: 镜像ID // image-name: 镜像名称 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeCustomImageTaskRequest ¶
func NewDescribeCustomImageTaskRequest() (request *DescribeCustomImageTaskRequest)
func (*DescribeCustomImageTaskRequest) FromJsonString ¶
func (r *DescribeCustomImageTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomImageTaskRequest) ToJsonString ¶
func (r *DescribeCustomImageTaskRequest) ToJsonString() string
type DescribeCustomImageTaskRequestParams ¶ added in v1.0.426
type DescribeCustomImageTaskRequestParams struct { // 支持key,value查询 // task-id: 异步任务ID // image-id: 镜像ID // image-name: 镜像名称 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeCustomImageTaskResponse ¶
type DescribeCustomImageTaskResponse struct { *tchttp.BaseResponse Response *DescribeCustomImageTaskResponseParams `json:"Response"` }
func NewDescribeCustomImageTaskResponse ¶
func NewDescribeCustomImageTaskResponse() (response *DescribeCustomImageTaskResponse)
func (*DescribeCustomImageTaskResponse) FromJsonString ¶
func (r *DescribeCustomImageTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomImageTaskResponse) ToJsonString ¶
func (r *DescribeCustomImageTaskResponse) ToJsonString() string
type DescribeCustomImageTaskResponseParams ¶ added in v1.0.426
type DescribeCustomImageTaskResponseParams struct { // 导入任务详情 // 注意:此字段可能返回 null,表示取不到有效值。 ImageTaskSet []*ImageTask `json:"ImageTaskSet,omitempty" name:"ImageTaskSet"` // 总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultSubnetRequest ¶
type DescribeDefaultSubnetRequest struct { *tchttp.BaseRequest // ECM地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // ECM可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewDescribeDefaultSubnetRequest ¶
func NewDescribeDefaultSubnetRequest() (request *DescribeDefaultSubnetRequest)
func (*DescribeDefaultSubnetRequest) FromJsonString ¶
func (r *DescribeDefaultSubnetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultSubnetRequest) ToJsonString ¶
func (r *DescribeDefaultSubnetRequest) ToJsonString() string
type DescribeDefaultSubnetRequestParams ¶ added in v1.0.426
type DescribeDefaultSubnetRequestParams struct { // ECM地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // ECM可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` }
Predefined struct for user
type DescribeDefaultSubnetResponse ¶
type DescribeDefaultSubnetResponse struct { *tchttp.BaseResponse Response *DescribeDefaultSubnetResponseParams `json:"Response"` }
func NewDescribeDefaultSubnetResponse ¶
func NewDescribeDefaultSubnetResponse() (response *DescribeDefaultSubnetResponse)
func (*DescribeDefaultSubnetResponse) FromJsonString ¶
func (r *DescribeDefaultSubnetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultSubnetResponse) ToJsonString ¶
func (r *DescribeDefaultSubnetResponse) ToJsonString() string
type DescribeDefaultSubnetResponseParams ¶ added in v1.0.426
type DescribeDefaultSubnetResponseParams struct { // 默认子网信息,若无子网,则为空数据。 Subnet *Subnet `json:"Subnet,omitempty" name:"Subnet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDisksRequest ¶ added in v1.0.253
type DescribeDisksRequest struct { *tchttp.BaseRequest // 过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br><li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br><li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br><li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br><li>project-id - Array of Integer - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br><li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照云硬盘ID过滤。云盘ID形如:`disk-11112222`。<br><li>disk-name - Array of String - 是否必填:否 -(过滤条件)按照云盘名称过滤。<br><li>disk-type - Array of String - 是否必填:否 -(过滤条件)按照云盘介质类型过滤。(CLOUD_BASIC:表示普通云硬盘 | CLOUD_PREMIUM:表示高性能云硬盘。| CLOUD_SSD:表示SSD云硬盘 | CLOUD_HSSD:表示增强型SSD云硬盘。| CLOUD_TSSD:表示极速型云硬盘。)<br><li>disk-state - Array of String - 是否必填:否 -(过滤条件)按照云盘状态过滤。(UNATTACHED:未挂载 | ATTACHING:挂载中 | ATTACHED:已挂载 | DETACHING:解挂中 | EXPANDING:扩容中 | ROLLBACKING:回滚中 | TORECYCLE:待回收。)<br><li>instance-id - Array of String - 是否必填:否 -(过滤条件)按照云盘挂载的云主机实例ID过滤。可根据此参数查询挂载在指定云主机下的云硬盘。<br><li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br><li>instance-ip-address - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载云主机的内网或外网IP过滤。<br><li>instance-name - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载的实例名称过滤。<br><li>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。<br><li>tag-value - Array of String - 是否必填:否 -(过滤条件)照标签值进行过滤。<br><li>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 云盘列表排序的依据字段。取值范围:<br><li>CREATE_TIME:依据云盘的创建时间排序<br><li>DEADLINE:依据云盘的到期时间排序<br>默认按云盘创建时间排序。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 云盘详情中是否需要返回云盘绑定的定期快照策略ID,TRUE表示需要返回,FALSE表示不返回。 ReturnBindAutoSnapshotPolicy *bool `json:"ReturnBindAutoSnapshotPolicy,omitempty" name:"ReturnBindAutoSnapshotPolicy"` // 按照一个或者多个云硬盘ID查询。云硬盘ID形如:`disk-11112222`,此参数的具体格式可参考API[简介](/document/product/362/15633)的ids.N一节)。参数不支持同时指定`DiskIds`和`Filters`。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 输出云盘列表的排列顺序。取值范围:<br><li>ASC:升序排列<br><li>DESC:降序排列。 Order *string `json:"Order,omitempty" name:"Order"` }
func NewDescribeDisksRequest ¶ added in v1.0.253
func NewDescribeDisksRequest() (request *DescribeDisksRequest)
func (*DescribeDisksRequest) FromJsonString ¶ added in v1.0.253
func (r *DescribeDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksRequest) ToJsonString ¶ added in v1.0.253
func (r *DescribeDisksRequest) ToJsonString() string
type DescribeDisksRequestParams ¶ added in v1.0.426
type DescribeDisksRequestParams struct { // 过滤条件。参数不支持同时指定`DiskIds`和`Filters`。<br><li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按云盘类型过滤。 (SYSTEM_DISK:表示系统盘 | DATA_DISK:表示数据盘)<br><li>disk-charge-type - Array of String - 是否必填:否 -(过滤条件)按照云硬盘计费模式过滤。 (PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费。)<br><li>portable - Array of String - 是否必填:否 -(过滤条件)按是否为弹性云盘过滤。 (TRUE:表示弹性云盘 | FALSE:表示非弹性云盘。)<br><li>project-id - Array of Integer - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br><li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照云硬盘ID过滤。云盘ID形如:`disk-11112222`。<br><li>disk-name - Array of String - 是否必填:否 -(过滤条件)按照云盘名称过滤。<br><li>disk-type - Array of String - 是否必填:否 -(过滤条件)按照云盘介质类型过滤。(CLOUD_BASIC:表示普通云硬盘 | CLOUD_PREMIUM:表示高性能云硬盘。| CLOUD_SSD:表示SSD云硬盘 | CLOUD_HSSD:表示增强型SSD云硬盘。| CLOUD_TSSD:表示极速型云硬盘。)<br><li>disk-state - Array of String - 是否必填:否 -(过滤条件)按照云盘状态过滤。(UNATTACHED:未挂载 | ATTACHING:挂载中 | ATTACHED:已挂载 | DETACHING:解挂中 | EXPANDING:扩容中 | ROLLBACKING:回滚中 | TORECYCLE:待回收。)<br><li>instance-id - Array of String - 是否必填:否 -(过滤条件)按照云盘挂载的云主机实例ID过滤。可根据此参数查询挂载在指定云主机下的云硬盘。<br><li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br><li>instance-ip-address - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载云主机的内网或外网IP过滤。<br><li>instance-name - Array of String - 是否必填:否 -(过滤条件)按云盘所挂载的实例名称过滤。<br><li>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。<br><li>tag-value - Array of String - 是否必填:否 -(过滤条件)照标签值进行过滤。<br><li>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 云盘列表排序的依据字段。取值范围:<br><li>CREATE_TIME:依据云盘的创建时间排序<br><li>DEADLINE:依据云盘的到期时间排序<br>默认按云盘创建时间排序。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 云盘详情中是否需要返回云盘绑定的定期快照策略ID,TRUE表示需要返回,FALSE表示不返回。 ReturnBindAutoSnapshotPolicy *bool `json:"ReturnBindAutoSnapshotPolicy,omitempty" name:"ReturnBindAutoSnapshotPolicy"` // 按照一个或者多个云硬盘ID查询。云硬盘ID形如:`disk-11112222`,此参数的具体格式可参考API[简介](/document/product/362/15633)的ids.N一节)。参数不支持同时指定`DiskIds`和`Filters`。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 输出云盘列表的排列顺序。取值范围:<br><li>ASC:升序排列<br><li>DESC:降序排列。 Order *string `json:"Order,omitempty" name:"Order"` }
Predefined struct for user
type DescribeDisksResponse ¶ added in v1.0.253
type DescribeDisksResponse struct { *tchttp.BaseResponse Response *DescribeDisksResponseParams `json:"Response"` }
func NewDescribeDisksResponse ¶ added in v1.0.253
func NewDescribeDisksResponse() (response *DescribeDisksResponse)
func (*DescribeDisksResponse) FromJsonString ¶ added in v1.0.253
func (r *DescribeDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksResponse) ToJsonString ¶ added in v1.0.253
func (r *DescribeDisksResponse) ToJsonString() string
type DescribeDisksResponseParams ¶ added in v1.0.426
type DescribeDisksResponseParams struct { // 符合条件的云硬盘数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 云硬盘的详细信息列表。 DiskSet []*Disk `json:"DiskSet,omitempty" name:"DiskSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHaVipsRequest ¶
type DescribeHaVipsRequest struct { *tchttp.BaseRequest // HAVIP数组,HAVIP唯一ID,形如:havip-9o233uri。 HaVipIds []*string `json:"HaVipIds,omitempty" name:"HaVipIds"` // 过滤条件,参数不支持同时指定HaVipIds和Filters。 // havip-id - String - HAVIP唯一ID,形如:havip-9o233uri。 // havip-name - String - HAVIP名称。 // vpc-id - String - HAVIP所在私有网络ID。 // subnet-id - String - HAVIP所在子网ID。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认值是0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认值是20,最大是100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Ecm 区域,不填代表全部区域。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDescribeHaVipsRequest ¶
func NewDescribeHaVipsRequest() (request *DescribeHaVipsRequest)
func (*DescribeHaVipsRequest) FromJsonString ¶
func (r *DescribeHaVipsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHaVipsRequest) ToJsonString ¶
func (r *DescribeHaVipsRequest) ToJsonString() string
type DescribeHaVipsRequestParams ¶ added in v1.0.426
type DescribeHaVipsRequestParams struct { // HAVIP数组,HAVIP唯一ID,形如:havip-9o233uri。 HaVipIds []*string `json:"HaVipIds,omitempty" name:"HaVipIds"` // 过滤条件,参数不支持同时指定HaVipIds和Filters。 // havip-id - String - HAVIP唯一ID,形如:havip-9o233uri。 // havip-name - String - HAVIP名称。 // vpc-id - String - HAVIP所在私有网络ID。 // subnet-id - String - HAVIP所在子网ID。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认值是0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认值是20,最大是100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Ecm 区域,不填代表全部区域。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DescribeHaVipsResponse ¶
type DescribeHaVipsResponse struct { *tchttp.BaseResponse Response *DescribeHaVipsResponseParams `json:"Response"` }
func NewDescribeHaVipsResponse ¶
func NewDescribeHaVipsResponse() (response *DescribeHaVipsResponse)
func (*DescribeHaVipsResponse) FromJsonString ¶
func (r *DescribeHaVipsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHaVipsResponse) ToJsonString ¶
func (r *DescribeHaVipsResponse) ToJsonString() string
type DescribeHaVipsResponseParams ¶ added in v1.0.426
type DescribeHaVipsResponseParams struct { // 符合条件的对象数。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // HAVIP对象数组。 // 注意:此字段可能返回 null,表示取不到有效值。 HaVipSet []*HaVip `json:"HaVipSet,omitempty" name:"HaVipSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeImageRequest ¶
type DescribeImageRequest struct { *tchttp.BaseRequest // 过滤条件,每次请求的Filters的上限为10,详细的过滤条件如下: // image-id - String - 是否必填: 否 - (过滤条件)按照镜像ID进行过滤 // image-type - String - 是否必填: 否 - (过滤条件)按照镜像类型进行过滤。取值范围: // PRIVATE_IMAGE: 私有镜像 (本帐户创建的镜像) // PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像) // instance-type -String - 是否必填: 否 - (过滤条件) 按机型过滤支持的镜像 // image-name - String - 是否必填:否 - (过滤条件) 按镜像的名称模糊匹配,只能提供一个值 // image-os - String - 是否必填:否 - (过滤条件) 按镜像系统的名称模糊匹配,只能提供一个值 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeImageRequest ¶
func NewDescribeImageRequest() (request *DescribeImageRequest)
func (*DescribeImageRequest) FromJsonString ¶
func (r *DescribeImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageRequest) ToJsonString ¶
func (r *DescribeImageRequest) ToJsonString() string
type DescribeImageRequestParams ¶ added in v1.0.426
type DescribeImageRequestParams struct { // 过滤条件,每次请求的Filters的上限为10,详细的过滤条件如下: // image-id - String - 是否必填: 否 - (过滤条件)按照镜像ID进行过滤 // image-type - String - 是否必填: 否 - (过滤条件)按照镜像类型进行过滤。取值范围: // PRIVATE_IMAGE: 私有镜像 (本帐户创建的镜像) // PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像) // instance-type -String - 是否必填: 否 - (过滤条件) 按机型过滤支持的镜像 // image-name - String - 是否必填:否 - (过滤条件) 按镜像的名称模糊匹配,只能提供一个值 // image-os - String - 是否必填:否 - (过滤条件) 按镜像系统的名称模糊匹配,只能提供一个值 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeImageResponse ¶
type DescribeImageResponse struct { *tchttp.BaseResponse Response *DescribeImageResponseParams `json:"Response"` }
func NewDescribeImageResponse ¶
func NewDescribeImageResponse() (response *DescribeImageResponse)
func (*DescribeImageResponse) FromJsonString ¶
func (r *DescribeImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageResponse) ToJsonString ¶
func (r *DescribeImageResponse) ToJsonString() string
type DescribeImageResponseParams ¶ added in v1.0.426
type DescribeImageResponseParams struct { // 镜像总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 镜像数组 // 注意:此字段可能返回 null,表示取不到有效值。 ImageSet []*Image `json:"ImageSet,omitempty" name:"ImageSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeImportImageOsRequest ¶
type DescribeImportImageOsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeImportImageOsRequest ¶
func NewDescribeImportImageOsRequest() (request *DescribeImportImageOsRequest)
func (*DescribeImportImageOsRequest) FromJsonString ¶
func (r *DescribeImportImageOsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImportImageOsRequest) ToJsonString ¶
func (r *DescribeImportImageOsRequest) ToJsonString() string
type DescribeImportImageOsRequestParams ¶ added in v1.0.426
type DescribeImportImageOsRequestParams struct { }
Predefined struct for user
type DescribeImportImageOsResponse ¶
type DescribeImportImageOsResponse struct { *tchttp.BaseResponse Response *DescribeImportImageOsResponseParams `json:"Response"` }
func NewDescribeImportImageOsResponse ¶
func NewDescribeImportImageOsResponse() (response *DescribeImportImageOsResponse)
func (*DescribeImportImageOsResponse) FromJsonString ¶
func (r *DescribeImportImageOsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImportImageOsResponse) ToJsonString ¶
func (r *DescribeImportImageOsResponse) ToJsonString() string
type DescribeImportImageOsResponseParams ¶ added in v1.0.426
type DescribeImportImageOsResponseParams struct { // 支持的导入镜像的操作系统类型 ImportImageOsListSupported *ImageOsList `json:"ImportImageOsListSupported,omitempty" name:"ImportImageOsListSupported"` // 支持的导入镜像的操作系统版本 ImportImageOsVersionSet []*OsVersion `json:"ImportImageOsVersionSet,omitempty" name:"ImportImageOsVersionSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceTypeConfigRequest ¶
type DescribeInstanceTypeConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInstanceTypeConfigRequest ¶
func NewDescribeInstanceTypeConfigRequest() (request *DescribeInstanceTypeConfigRequest)
func (*DescribeInstanceTypeConfigRequest) FromJsonString ¶
func (r *DescribeInstanceTypeConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceTypeConfigRequest) ToJsonString ¶
func (r *DescribeInstanceTypeConfigRequest) ToJsonString() string
type DescribeInstanceTypeConfigRequestParams ¶ added in v1.0.426
type DescribeInstanceTypeConfigRequestParams struct { }
Predefined struct for user
type DescribeInstanceTypeConfigResponse ¶
type DescribeInstanceTypeConfigResponse struct { *tchttp.BaseResponse Response *DescribeInstanceTypeConfigResponseParams `json:"Response"` }
func NewDescribeInstanceTypeConfigResponse ¶
func NewDescribeInstanceTypeConfigResponse() (response *DescribeInstanceTypeConfigResponse)
func (*DescribeInstanceTypeConfigResponse) FromJsonString ¶
func (r *DescribeInstanceTypeConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceTypeConfigResponse) ToJsonString ¶
func (r *DescribeInstanceTypeConfigResponse) ToJsonString() string
type DescribeInstanceTypeConfigResponseParams ¶ added in v1.0.426
type DescribeInstanceTypeConfigResponseParams struct { // 总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 机型配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceTypeConfigSet []*InstanceTypeConfig `json:"InstanceTypeConfigSet,omitempty" name:"InstanceTypeConfigSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceVncUrlRequest ¶
type DescribeInstanceVncUrlRequest struct { *tchttp.BaseRequest // 一个操作的实例ID。可通过DescribeInstances API返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceVncUrlRequest ¶
func NewDescribeInstanceVncUrlRequest() (request *DescribeInstanceVncUrlRequest)
func (*DescribeInstanceVncUrlRequest) FromJsonString ¶
func (r *DescribeInstanceVncUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceVncUrlRequest) ToJsonString ¶
func (r *DescribeInstanceVncUrlRequest) ToJsonString() string
type DescribeInstanceVncUrlRequestParams ¶ added in v1.0.426
type DescribeInstanceVncUrlRequestParams struct { // 一个操作的实例ID。可通过DescribeInstances API返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceVncUrlResponse ¶
type DescribeInstanceVncUrlResponse struct { *tchttp.BaseResponse Response *DescribeInstanceVncUrlResponseParams `json:"Response"` }
func NewDescribeInstanceVncUrlResponse ¶
func NewDescribeInstanceVncUrlResponse() (response *DescribeInstanceVncUrlResponse)
func (*DescribeInstanceVncUrlResponse) FromJsonString ¶
func (r *DescribeInstanceVncUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceVncUrlResponse) ToJsonString ¶
func (r *DescribeInstanceVncUrlResponse) ToJsonString() string
type DescribeInstanceVncUrlResponseParams ¶ added in v1.0.426
type DescribeInstanceVncUrlResponseParams struct { // 实例的管理终端地址。 InstanceVncUrl *string `json:"InstanceVncUrl,omitempty" name:"InstanceVncUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesDeniedActionsRequest ¶
type DescribeInstancesDeniedActionsRequest struct { *tchttp.BaseRequest // 无 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
func NewDescribeInstancesDeniedActionsRequest ¶
func NewDescribeInstancesDeniedActionsRequest() (request *DescribeInstancesDeniedActionsRequest)
func (*DescribeInstancesDeniedActionsRequest) FromJsonString ¶
func (r *DescribeInstancesDeniedActionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDeniedActionsRequest) ToJsonString ¶
func (r *DescribeInstancesDeniedActionsRequest) ToJsonString() string
type DescribeInstancesDeniedActionsRequestParams ¶ added in v1.0.426
type DescribeInstancesDeniedActionsRequestParams struct { // 无 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
Predefined struct for user
type DescribeInstancesDeniedActionsResponse ¶
type DescribeInstancesDeniedActionsResponse struct { *tchttp.BaseResponse Response *DescribeInstancesDeniedActionsResponseParams `json:"Response"` }
func NewDescribeInstancesDeniedActionsResponse ¶
func NewDescribeInstancesDeniedActionsResponse() (response *DescribeInstancesDeniedActionsResponse)
func (*DescribeInstancesDeniedActionsResponse) FromJsonString ¶
func (r *DescribeInstancesDeniedActionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDeniedActionsResponse) ToJsonString ¶
func (r *DescribeInstancesDeniedActionsResponse) ToJsonString() string
type DescribeInstancesDeniedActionsResponseParams ¶ added in v1.0.426
type DescribeInstancesDeniedActionsResponseParams struct { // 实例对应的禁止操作 InstanceOperatorSet []*InstanceOperator `json:"InstanceOperatorSet,omitempty" name:"InstanceOperatorSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // 过滤条件。 // zone String 是否必填:否 (过滤条件)按照可用区英文标识符过滤。 // zone-name String 是否必填:否 (过滤条件)按照可用区中文名过滤,支持模糊匹配。 // module-id String 是否必填:否 (过滤条件)按照模块ID过滤。 // instance-id String 是否必填:否 (过滤条件)按照实例ID过滤。 // instance-name String 是否必填:否 (过滤条件)按照实例名称过滤,支持模糊匹配。 // ip-address String 是否必填:否 (过滤条件)按照实例的内网/公网IP过滤。 // instance-uuid string 是否必填:否 (过滤条件)按照uuid过滤实例列表。 // instance-state string 是否必填:否 (过滤条件)按照实例状态更新实例列表。 // internet-service-provider String 是否必填:否 (过滤条件)按照实例公网IP所属的运营商进行过滤。 // tag-key String 是否必填:否 (过滤条件)按照标签键进行过滤。 // tag:tag-key String 是否必填:否 (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 // instance-family String 是否必填:否 (过滤条件)按照机型family过滤。 // module-name String 是否必填:否 (过滤条件)按照模块名称过滤,支持模糊匹配。 // image-id String 是否必填:否 (过滤条件)按照实例的镜像ID过滤。 // vpc-id String 是否必填:否 (过滤条件)按照实例的vpc id过滤。 // subnet-id String 是否必填:否 (过滤条件)按照实例的subnet id过滤。 // // 若不传Filters参数则表示查询所有相关的实例信息。 // 单次请求的Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20(如果查询结果数目大于等于20),最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 指定排序字段。目前支持的可选值如下 // timestamp 按实例创建时间排序。 // 注意:目前仅支持按创建时间排序,后续可能会有扩展。 // 如果不传,默认按实例创建时间排序 OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"` // 指定排序是降序还是升序。0表示降序; 1表示升序。如果不传默认为降序 OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶ added in v1.0.426
type DescribeInstancesRequestParams struct { // 过滤条件。 // zone String 是否必填:否 (过滤条件)按照可用区英文标识符过滤。 // zone-name String 是否必填:否 (过滤条件)按照可用区中文名过滤,支持模糊匹配。 // module-id String 是否必填:否 (过滤条件)按照模块ID过滤。 // instance-id String 是否必填:否 (过滤条件)按照实例ID过滤。 // instance-name String 是否必填:否 (过滤条件)按照实例名称过滤,支持模糊匹配。 // ip-address String 是否必填:否 (过滤条件)按照实例的内网/公网IP过滤。 // instance-uuid string 是否必填:否 (过滤条件)按照uuid过滤实例列表。 // instance-state string 是否必填:否 (过滤条件)按照实例状态更新实例列表。 // internet-service-provider String 是否必填:否 (过滤条件)按照实例公网IP所属的运营商进行过滤。 // tag-key String 是否必填:否 (过滤条件)按照标签键进行过滤。 // tag:tag-key String 是否必填:否 (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 // instance-family String 是否必填:否 (过滤条件)按照机型family过滤。 // module-name String 是否必填:否 (过滤条件)按照模块名称过滤,支持模糊匹配。 // image-id String 是否必填:否 (过滤条件)按照实例的镜像ID过滤。 // vpc-id String 是否必填:否 (过滤条件)按照实例的vpc id过滤。 // subnet-id String 是否必填:否 (过滤条件)按照实例的subnet id过滤。 // // 若不传Filters参数则表示查询所有相关的实例信息。 // 单次请求的Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20(如果查询结果数目大于等于20),最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 指定排序字段。目前支持的可选值如下 // timestamp 按实例创建时间排序。 // 注意:目前仅支持按创建时间排序,后续可能会有扩展。 // 如果不传,默认按实例创建时间排序 OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"` // 指定排序是降序还是升序。0表示降序; 1表示升序。如果不传默认为降序 OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶ added in v1.0.426
type DescribeInstancesResponseParams struct { // 返回的实例相关信息列表的长度。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 返回的实例相关信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceSet []*Instance `json:"InstanceSet,omitempty" name:"InstanceSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenersRequest ¶
type DescribeListenersRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要查询的负载均衡监听器 ID数组 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // 要查询的监听器协议类型,取值 TCP | UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 要查询的监听器的端口 Port *int64 `json:"Port,omitempty" name:"Port"` }
func NewDescribeListenersRequest ¶
func NewDescribeListenersRequest() (request *DescribeListenersRequest)
func (*DescribeListenersRequest) FromJsonString ¶
func (r *DescribeListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenersRequest) ToJsonString ¶
func (r *DescribeListenersRequest) ToJsonString() string
type DescribeListenersRequestParams ¶ added in v1.0.426
type DescribeListenersRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 要查询的负载均衡监听器 ID数组 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // 要查询的监听器协议类型,取值 TCP | UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 要查询的监听器的端口 Port *int64 `json:"Port,omitempty" name:"Port"` }
Predefined struct for user
type DescribeListenersResponse ¶
type DescribeListenersResponse struct { *tchttp.BaseResponse Response *DescribeListenersResponseParams `json:"Response"` }
func NewDescribeListenersResponse ¶
func NewDescribeListenersResponse() (response *DescribeListenersResponse)
func (*DescribeListenersResponse) FromJsonString ¶
func (r *DescribeListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenersResponse) ToJsonString ¶
func (r *DescribeListenersResponse) ToJsonString() string
type DescribeListenersResponseParams ¶ added in v1.0.426
type DescribeListenersResponseParams struct { // 监听器列表 // 注意:此字段可能返回 null,表示取不到有效值。 Listeners []*Listener `json:"Listeners,omitempty" name:"Listeners"` // 总的监听器个数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalanceTaskStatusRequest ¶
type DescribeLoadBalanceTaskStatusRequest struct { *tchttp.BaseRequest // 请求ID,即接口返回的 RequestId 参数 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
func NewDescribeLoadBalanceTaskStatusRequest ¶
func NewDescribeLoadBalanceTaskStatusRequest() (request *DescribeLoadBalanceTaskStatusRequest)
func (*DescribeLoadBalanceTaskStatusRequest) FromJsonString ¶
func (r *DescribeLoadBalanceTaskStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalanceTaskStatusRequest) ToJsonString ¶
func (r *DescribeLoadBalanceTaskStatusRequest) ToJsonString() string
type DescribeLoadBalanceTaskStatusRequestParams ¶ added in v1.0.426
type DescribeLoadBalanceTaskStatusRequestParams struct { // 请求ID,即接口返回的 RequestId 参数 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeLoadBalanceTaskStatusResponse ¶
type DescribeLoadBalanceTaskStatusResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalanceTaskStatusResponseParams `json:"Response"` }
func NewDescribeLoadBalanceTaskStatusResponse ¶
func NewDescribeLoadBalanceTaskStatusResponse() (response *DescribeLoadBalanceTaskStatusResponse)
func (*DescribeLoadBalanceTaskStatusResponse) FromJsonString ¶
func (r *DescribeLoadBalanceTaskStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalanceTaskStatusResponse) ToJsonString ¶
func (r *DescribeLoadBalanceTaskStatusResponse) ToJsonString() string
type DescribeLoadBalanceTaskStatusResponseParams ¶ added in v1.0.426
type DescribeLoadBalanceTaskStatusResponseParams struct { // 任务的当前状态。 0:成功,1:失败,2:进行中。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancersRequest ¶
type DescribeLoadBalancersRequest struct { *tchttp.BaseRequest // 区域。如果不传则默认查询所有区域。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 负载均衡实例 ID。 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // 负载均衡实例的名称。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 负载均衡实例的 VIP 地址,支持多个。 LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips"` // 负载均衡绑定的后端服务的内网 IP。 BackendPrivateIps []*string `json:"BackendPrivateIps,omitempty" name:"BackendPrivateIps"` // 数据偏移量,默认为 0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回负载均衡实例的数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 负载均衡是否绑定后端服务,0:没有绑定后端服务,1:绑定后端服务,-1:查询全部。 // 如果不传则默认查询全部。 WithBackend *int64 `json:"WithBackend,omitempty" name:"WithBackend"` // 负载均衡实例所属私有网络唯一ID,如 vpc-bhqkbhdx。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下: // tag-key - String - 是否必填:否 - (过滤条件)按照标签的键过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 安全组。 SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` }
func NewDescribeLoadBalancersRequest ¶
func NewDescribeLoadBalancersRequest() (request *DescribeLoadBalancersRequest)
func (*DescribeLoadBalancersRequest) FromJsonString ¶
func (r *DescribeLoadBalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersRequest) ToJsonString ¶
func (r *DescribeLoadBalancersRequest) ToJsonString() string
type DescribeLoadBalancersRequestParams ¶ added in v1.0.426
type DescribeLoadBalancersRequestParams struct { // 区域。如果不传则默认查询所有区域。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 负载均衡实例 ID。 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // 负载均衡实例的名称。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 负载均衡实例的 VIP 地址,支持多个。 LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips"` // 负载均衡绑定的后端服务的内网 IP。 BackendPrivateIps []*string `json:"BackendPrivateIps,omitempty" name:"BackendPrivateIps"` // 数据偏移量,默认为 0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回负载均衡实例的数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 负载均衡是否绑定后端服务,0:没有绑定后端服务,1:绑定后端服务,-1:查询全部。 // 如果不传则默认查询全部。 WithBackend *int64 `json:"WithBackend,omitempty" name:"WithBackend"` // 负载均衡实例所属私有网络唯一ID,如 vpc-bhqkbhdx。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下: // tag-key - String - 是否必填:否 - (过滤条件)按照标签的键过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 安全组。 SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` }
Predefined struct for user
type DescribeLoadBalancersResponse ¶
type DescribeLoadBalancersResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancersResponseParams `json:"Response"` }
func NewDescribeLoadBalancersResponse ¶
func NewDescribeLoadBalancersResponse() (response *DescribeLoadBalancersResponse)
func (*DescribeLoadBalancersResponse) FromJsonString ¶
func (r *DescribeLoadBalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancersResponse) ToJsonString ¶
func (r *DescribeLoadBalancersResponse) ToJsonString() string
type DescribeLoadBalancersResponseParams ¶ added in v1.0.426
type DescribeLoadBalancersResponseParams struct { // 满足过滤条件的负载均衡实例总数。此数值与入参中的Limit无关。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 返回的负载均衡实例数组。 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitempty" name:"LoadBalancerSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModuleDetailRequest ¶
type DescribeModuleDetailRequest struct { *tchttp.BaseRequest // 模块ID,如em-qn46snq8。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
func NewDescribeModuleDetailRequest ¶
func NewDescribeModuleDetailRequest() (request *DescribeModuleDetailRequest)
func (*DescribeModuleDetailRequest) FromJsonString ¶
func (r *DescribeModuleDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModuleDetailRequest) ToJsonString ¶
func (r *DescribeModuleDetailRequest) ToJsonString() string
type DescribeModuleDetailRequestParams ¶ added in v1.0.426
type DescribeModuleDetailRequestParams struct { // 模块ID,如em-qn46snq8。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
Predefined struct for user
type DescribeModuleDetailResponse ¶
type DescribeModuleDetailResponse struct { *tchttp.BaseResponse Response *DescribeModuleDetailResponseParams `json:"Response"` }
func NewDescribeModuleDetailResponse ¶
func NewDescribeModuleDetailResponse() (response *DescribeModuleDetailResponse)
func (*DescribeModuleDetailResponse) FromJsonString ¶
func (r *DescribeModuleDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModuleDetailResponse) ToJsonString ¶
func (r *DescribeModuleDetailResponse) ToJsonString() string
type DescribeModuleDetailResponseParams ¶ added in v1.0.426
type DescribeModuleDetailResponseParams struct { // 模块的详细信息,详细见数据结构中的ModuleInfo。 // 注意:此字段可能返回 null,表示取不到有效值。 Module *Module `json:"Module,omitempty" name:"Module"` // 模块的统计信息,详细见数据结构中的ModuleCounterInfo。 // 注意:此字段可能返回 null,表示取不到有效值。 ModuleCounter *ModuleCounter `json:"ModuleCounter,omitempty" name:"ModuleCounter"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModuleRequest ¶
type DescribeModuleRequest struct { *tchttp.BaseRequest // 过滤条件。 // module-name - string - 是否必填:否 - (过滤条件)按照模块名称过滤。 // module-id - string - 是否必填:否 - (过滤条件)按照模块ID过滤。 // image-id String 是否必填:否 (过滤条件)按照镜像ID过滤。 // instance-family String 是否必填:否 (过滤条件)按照机型family过滤。 // security-group-id - string 是否必填:否 - (过滤条件)按照模块绑定的安全组id过滤。 // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 指定排序字段。目前支持的可选值如下 // instance-num 按实例数量排序。 // node-num 按节点数量排序。 // timestamp 按实例创建时间排序。 // 如果不传,默认按实例创建时间排序 OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"` // 指定排序是降序还是升序。0表示降序; 1表示升序。如果不传默认为降序 OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeModuleRequest ¶
func NewDescribeModuleRequest() (request *DescribeModuleRequest)
func (*DescribeModuleRequest) FromJsonString ¶
func (r *DescribeModuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModuleRequest) ToJsonString ¶
func (r *DescribeModuleRequest) ToJsonString() string
type DescribeModuleRequestParams ¶ added in v1.0.426
type DescribeModuleRequestParams struct { // 过滤条件。 // module-name - string - 是否必填:否 - (过滤条件)按照模块名称过滤。 // module-id - string - 是否必填:否 - (过滤条件)按照模块ID过滤。 // image-id String 是否必填:否 (过滤条件)按照镜像ID过滤。 // instance-family String 是否必填:否 (过滤条件)按照机型family过滤。 // security-group-id - string 是否必填:否 - (过滤条件)按照模块绑定的安全组id过滤。 // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 指定排序字段。目前支持的可选值如下 // instance-num 按实例数量排序。 // node-num 按节点数量排序。 // timestamp 按实例创建时间排序。 // 如果不传,默认按实例创建时间排序 OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"` // 指定排序是降序还是升序。0表示降序; 1表示升序。如果不传默认为降序 OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"` }
Predefined struct for user
type DescribeModuleResponse ¶
type DescribeModuleResponse struct { *tchttp.BaseResponse Response *DescribeModuleResponseParams `json:"Response"` }
func NewDescribeModuleResponse ¶
func NewDescribeModuleResponse() (response *DescribeModuleResponse)
func (*DescribeModuleResponse) FromJsonString ¶
func (r *DescribeModuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModuleResponse) ToJsonString ¶
func (r *DescribeModuleResponse) ToJsonString() string
type DescribeModuleResponseParams ¶ added in v1.0.426
type DescribeModuleResponseParams struct { // 符合条件的模块数量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 模块详情信息的列表。 // 注意:此字段可能返回 null,表示取不到有效值。 ModuleItemSet []*ModuleItem `json:"ModuleItemSet,omitempty" name:"ModuleItemSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMonthPeakNetworkRequest ¶
type DescribeMonthPeakNetworkRequest struct { *tchttp.BaseRequest // 月份时间(xxxx-xx) 如2021-03,默认取当前时间的上一个月份 Month *string `json:"Month,omitempty" name:"Month"` // 过滤条件 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeMonthPeakNetworkRequest ¶
func NewDescribeMonthPeakNetworkRequest() (request *DescribeMonthPeakNetworkRequest)
func (*DescribeMonthPeakNetworkRequest) FromJsonString ¶
func (r *DescribeMonthPeakNetworkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonthPeakNetworkRequest) ToJsonString ¶
func (r *DescribeMonthPeakNetworkRequest) ToJsonString() string
type DescribeMonthPeakNetworkRequestParams ¶ added in v1.0.426
type DescribeMonthPeakNetworkRequestParams struct { // 月份时间(xxxx-xx) 如2021-03,默认取当前时间的上一个月份 Month *string `json:"Month,omitempty" name:"Month"` // 过滤条件 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeMonthPeakNetworkResponse ¶
type DescribeMonthPeakNetworkResponse struct { *tchttp.BaseResponse Response *DescribeMonthPeakNetworkResponseParams `json:"Response"` }
func NewDescribeMonthPeakNetworkResponse ¶
func NewDescribeMonthPeakNetworkResponse() (response *DescribeMonthPeakNetworkResponse)
func (*DescribeMonthPeakNetworkResponse) FromJsonString ¶
func (r *DescribeMonthPeakNetworkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonthPeakNetworkResponse) ToJsonString ¶
func (r *DescribeMonthPeakNetworkResponse) ToJsonString() string
type DescribeMonthPeakNetworkResponseParams ¶ added in v1.0.426
type DescribeMonthPeakNetworkResponseParams struct { // 无 // 注意:此字段可能返回 null,表示取不到有效值。 MonthNetWorkData []*MonthNetwork `json:"MonthNetWorkData,omitempty" name:"MonthNetWorkData"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。 NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitempty" name:"NetworkInterfaceIds"` // 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。 // vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。 // subnet-id - String - (过滤条件)所属子网实例ID,形如:subnet-f49l6u0z。 // network-interface-id - String - (过滤条件)弹性网卡实例ID,形如:eni-5k56k7k7。 // attachment.instance-id - String - (过滤条件)绑定的云服务器实例ID,形如:ein-3nqpdn3i。 // groups.security-group-id - String - (过滤条件)绑定的安全组实例ID,例如:sg-f9ekbxeq。 // network-interface-name - String - (过滤条件)网卡实例名称。 // network-interface-description - String - (过滤条件)网卡实例描述。 // address-ip - String - (过滤条件)内网IPv4地址。 // tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2 // tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。 // is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;次过滤参数为提供时,同时过滤主网卡和辅助网卡。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDescribeNetworkInterfacesRequest ¶
func NewDescribeNetworkInterfacesRequest() (request *DescribeNetworkInterfacesRequest)
func (*DescribeNetworkInterfacesRequest) FromJsonString ¶
func (r *DescribeNetworkInterfacesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNetworkInterfacesRequest) ToJsonString ¶
func (r *DescribeNetworkInterfacesRequest) ToJsonString() string
type DescribeNetworkInterfacesRequestParams ¶ added in v1.0.426
type DescribeNetworkInterfacesRequestParams struct { // 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。 NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitempty" name:"NetworkInterfaceIds"` // 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。 // vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。 // subnet-id - String - (过滤条件)所属子网实例ID,形如:subnet-f49l6u0z。 // network-interface-id - String - (过滤条件)弹性网卡实例ID,形如:eni-5k56k7k7。 // attachment.instance-id - String - (过滤条件)绑定的云服务器实例ID,形如:ein-3nqpdn3i。 // groups.security-group-id - String - (过滤条件)绑定的安全组实例ID,例如:sg-f9ekbxeq。 // network-interface-name - String - (过滤条件)网卡实例名称。 // network-interface-description - String - (过滤条件)网卡实例描述。 // address-ip - String - (过滤条件)内网IPv4地址。 // tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2 // tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。 // is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;次过滤参数为提供时,同时过滤主网卡和辅助网卡。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DescribeNetworkInterfacesResponse ¶
type DescribeNetworkInterfacesResponse struct { *tchttp.BaseResponse Response *DescribeNetworkInterfacesResponseParams `json:"Response"` }
func NewDescribeNetworkInterfacesResponse ¶
func NewDescribeNetworkInterfacesResponse() (response *DescribeNetworkInterfacesResponse)
func (*DescribeNetworkInterfacesResponse) FromJsonString ¶
func (r *DescribeNetworkInterfacesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNetworkInterfacesResponse) ToJsonString ¶
func (r *DescribeNetworkInterfacesResponse) ToJsonString() string
type DescribeNetworkInterfacesResponseParams ¶ added in v1.0.426
type DescribeNetworkInterfacesResponseParams struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 实例详细信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 NetworkInterfaceSet []*NetworkInterface `json:"NetworkInterfaceSet,omitempty" name:"NetworkInterfaceSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNodeRequest ¶
type DescribeNodeRequest struct { *tchttp.BaseRequest // 过滤条件,name取值为: InstanceFamily-实例系列 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeNodeRequest ¶
func NewDescribeNodeRequest() (request *DescribeNodeRequest)
func (*DescribeNodeRequest) FromJsonString ¶
func (r *DescribeNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeRequest) ToJsonString ¶
func (r *DescribeNodeRequest) ToJsonString() string
type DescribeNodeRequestParams ¶ added in v1.0.426
type DescribeNodeRequestParams struct { // 过滤条件,name取值为: InstanceFamily-实例系列 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeNodeResponse ¶
type DescribeNodeResponse struct { *tchttp.BaseResponse Response *DescribeNodeResponseParams `json:"Response"` }
func NewDescribeNodeResponse ¶
func NewDescribeNodeResponse() (response *DescribeNodeResponse)
func (*DescribeNodeResponse) FromJsonString ¶
func (r *DescribeNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeResponse) ToJsonString ¶
func (r *DescribeNodeResponse) ToJsonString() string
type DescribeNodeResponseParams ¶ added in v1.0.426
type DescribeNodeResponseParams struct { // 节点详细信息的列表 // 注意:此字段可能返回 null,表示取不到有效值。 NodeSet []*Node `json:"NodeSet,omitempty" name:"NodeSet"` // 所有的节点数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePackingQuotaGroupRequest ¶ added in v1.0.275
type DescribePackingQuotaGroupRequest struct { *tchttp.BaseRequest // 过滤条件,name取值为:Zone-可用区, InstanceType-实例类型,DataDiskSize - 数据盘大小 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribePackingQuotaGroupRequest ¶ added in v1.0.275
func NewDescribePackingQuotaGroupRequest() (request *DescribePackingQuotaGroupRequest)
func (*DescribePackingQuotaGroupRequest) FromJsonString ¶ added in v1.0.275
func (r *DescribePackingQuotaGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePackingQuotaGroupRequest) ToJsonString ¶ added in v1.0.275
func (r *DescribePackingQuotaGroupRequest) ToJsonString() string
type DescribePackingQuotaGroupRequestParams ¶ added in v1.0.426
type DescribePackingQuotaGroupRequestParams struct { // 过滤条件,name取值为:Zone-可用区, InstanceType-实例类型,DataDiskSize - 数据盘大小 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribePackingQuotaGroupResponse ¶ added in v1.0.275
type DescribePackingQuotaGroupResponse struct { *tchttp.BaseResponse Response *DescribePackingQuotaGroupResponseParams `json:"Response"` }
func NewDescribePackingQuotaGroupResponse ¶ added in v1.0.275
func NewDescribePackingQuotaGroupResponse() (response *DescribePackingQuotaGroupResponse)
func (*DescribePackingQuotaGroupResponse) FromJsonString ¶ added in v1.0.275
func (r *DescribePackingQuotaGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePackingQuotaGroupResponse) ToJsonString ¶ added in v1.0.275
func (r *DescribePackingQuotaGroupResponse) ToJsonString() string
type DescribePackingQuotaGroupResponseParams ¶ added in v1.0.426
type DescribePackingQuotaGroupResponseParams struct { // 装箱配额组 PackingQuotaSet []*PackingQuotaGroup `json:"PackingQuotaSet,omitempty" name:"PackingQuotaSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePeakBaseOverviewRequest ¶
type DescribePeakBaseOverviewRequest struct { *tchttp.BaseRequest // 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过90天。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过90天。当开始与结束间隔不超过30天时返回1小时粒度的数据,否则返回3小时粒度的数据。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribePeakBaseOverviewRequest ¶
func NewDescribePeakBaseOverviewRequest() (request *DescribePeakBaseOverviewRequest)
func (*DescribePeakBaseOverviewRequest) FromJsonString ¶
func (r *DescribePeakBaseOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePeakBaseOverviewRequest) ToJsonString ¶
func (r *DescribePeakBaseOverviewRequest) ToJsonString() string
type DescribePeakBaseOverviewRequestParams ¶ added in v1.0.426
type DescribePeakBaseOverviewRequestParams struct { // 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过90天。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过90天。当开始与结束间隔不超过30天时返回1小时粒度的数据,否则返回3小时粒度的数据。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribePeakBaseOverviewResponse ¶
type DescribePeakBaseOverviewResponse struct { *tchttp.BaseResponse Response *DescribePeakBaseOverviewResponseParams `json:"Response"` }
func NewDescribePeakBaseOverviewResponse ¶
func NewDescribePeakBaseOverviewResponse() (response *DescribePeakBaseOverviewResponse)
func (*DescribePeakBaseOverviewResponse) FromJsonString ¶
func (r *DescribePeakBaseOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePeakBaseOverviewResponse) ToJsonString ¶
func (r *DescribePeakBaseOverviewResponse) ToJsonString() string
type DescribePeakBaseOverviewResponseParams ¶ added in v1.0.426
type DescribePeakBaseOverviewResponseParams struct { // 基础峰值列表。 // 注意:此字段可能返回 null,表示取不到有效值。 PeakFamilyInfoSet []*PeakFamilyInfo `json:"PeakFamilyInfoSet,omitempty" name:"PeakFamilyInfoSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePeakNetworkOverviewRequest ¶
type DescribePeakNetworkOverviewRequest struct { *tchttp.BaseRequest // 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 过滤条件。 // // region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。 // area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。 // isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。 // // region和area只应填写一个。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 统计周期,单位秒。取值60/300。 Period *int64 `json:"Period,omitempty" name:"Period"` }
func NewDescribePeakNetworkOverviewRequest ¶
func NewDescribePeakNetworkOverviewRequest() (request *DescribePeakNetworkOverviewRequest)
func (*DescribePeakNetworkOverviewRequest) FromJsonString ¶
func (r *DescribePeakNetworkOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePeakNetworkOverviewRequest) ToJsonString ¶
func (r *DescribePeakNetworkOverviewRequest) ToJsonString() string
type DescribePeakNetworkOverviewRequestParams ¶ added in v1.0.426
type DescribePeakNetworkOverviewRequestParams struct { // 开始时间(xxxx-xx-xx)如2019-08-14,默认为一周之前的日期,不应与当前日期间隔超过30天。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间(xxxx-xx-xx)如2019-08-14,默认为昨天,不应与当前日期间隔超过30天。当开始与结束间隔不超过1天时会返回1分钟粒度的数据,不超过7天时返回5分钟粒度的数据,否则返回1小时粒度的数据。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 过滤条件。 // // region String 是否必填:否 (过滤条件)按照region过滤,不支持模糊匹配。注意 region 填上需要查询ecm region才能返回数据。 // area String 是否必填:否 (过滤条件)按照大区过滤,不支持模糊匹配。大区包括:china-central、china-east等等,可以通过DescribeNode获得所有大区;也可使用ALL_REGION表示所有地区。 // isp String 是否必填:否 (过滤条件)按照运营商过滤大区流量,运营商包括CTCC、CUCC和CMCC。只和area同时使用,且一次只能指定一种运营商。 // // region和area只应填写一个。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 统计周期,单位秒。取值60/300。 Period *int64 `json:"Period,omitempty" name:"Period"` }
Predefined struct for user
type DescribePeakNetworkOverviewResponse ¶
type DescribePeakNetworkOverviewResponse struct { *tchttp.BaseResponse Response *DescribePeakNetworkOverviewResponseParams `json:"Response"` }
func NewDescribePeakNetworkOverviewResponse ¶
func NewDescribePeakNetworkOverviewResponse() (response *DescribePeakNetworkOverviewResponse)
func (*DescribePeakNetworkOverviewResponse) FromJsonString ¶
func (r *DescribePeakNetworkOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePeakNetworkOverviewResponse) ToJsonString ¶
func (r *DescribePeakNetworkOverviewResponse) ToJsonString() string
type DescribePeakNetworkOverviewResponseParams ¶ added in v1.0.426
type DescribePeakNetworkOverviewResponseParams struct { // 网络峰值数组。 // 注意:此字段可能返回 null,表示取不到有效值。 PeakNetworkRegionSet []*PeakNetworkRegionInfo `json:"PeakNetworkRegionSet,omitempty" name:"PeakNetworkRegionSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePriceRunInstanceRequest ¶ added in v1.0.295
type DescribePriceRunInstanceRequest struct { *tchttp.BaseRequest // 实例的机型信息 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 系统盘信息 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 实例个数 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // 数据盘信息 DataDisk []*DataDisk `json:"DataDisk,omitempty" name:"DataDisk"` // 实例计费类型。其中: // 0,按资源维度后付费,计算当日用量峰值,例如CPU,内存,硬盘等,仅适用于非GNR系列机型; // 1,按小时后付费,单价:xx元/实例/小时,仅适用于GNR机型,如需开通该计费方式请提工单申请; // 2,按月后付费,单价:xx元/实例/月,仅适用于GNR机型; // 该字段不填时,非GNR机型会默认选择0;GNR机型默认选择2。 InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
func NewDescribePriceRunInstanceRequest ¶ added in v1.0.295
func NewDescribePriceRunInstanceRequest() (request *DescribePriceRunInstanceRequest)
func (*DescribePriceRunInstanceRequest) FromJsonString ¶ added in v1.0.295
func (r *DescribePriceRunInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePriceRunInstanceRequest) ToJsonString ¶ added in v1.0.295
func (r *DescribePriceRunInstanceRequest) ToJsonString() string
type DescribePriceRunInstanceRequestParams ¶ added in v1.0.426
type DescribePriceRunInstanceRequestParams struct { // 实例的机型信息 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 系统盘信息 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 实例个数 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // 数据盘信息 DataDisk []*DataDisk `json:"DataDisk,omitempty" name:"DataDisk"` // 实例计费类型。其中: // 0,按资源维度后付费,计算当日用量峰值,例如CPU,内存,硬盘等,仅适用于非GNR系列机型; // 1,按小时后付费,单价:xx元/实例/小时,仅适用于GNR机型,如需开通该计费方式请提工单申请; // 2,按月后付费,单价:xx元/实例/月,仅适用于GNR机型; // 该字段不填时,非GNR机型会默认选择0;GNR机型默认选择2。 InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
Predefined struct for user
type DescribePriceRunInstanceResponse ¶ added in v1.0.295
type DescribePriceRunInstanceResponse struct { *tchttp.BaseResponse Response *DescribePriceRunInstanceResponseParams `json:"Response"` }
func NewDescribePriceRunInstanceResponse ¶ added in v1.0.295
func NewDescribePriceRunInstanceResponse() (response *DescribePriceRunInstanceResponse)
func (*DescribePriceRunInstanceResponse) FromJsonString ¶ added in v1.0.295
func (r *DescribePriceRunInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePriceRunInstanceResponse) ToJsonString ¶ added in v1.0.295
func (r *DescribePriceRunInstanceResponse) ToJsonString() string
type DescribePriceRunInstanceResponseParams ¶ added in v1.0.426
type DescribePriceRunInstanceResponseParams struct { // 实例价格信息 InstancePrice *InstancesPrice `json:"InstancePrice,omitempty" name:"InstancePrice"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRouteConflictsRequest ¶
type DescribeRouteConflictsRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要检查的与之冲突的目的端列表 DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitempty" name:"DestinationCidrBlocks"` }
func NewDescribeRouteConflictsRequest ¶
func NewDescribeRouteConflictsRequest() (request *DescribeRouteConflictsRequest)
func (*DescribeRouteConflictsRequest) FromJsonString ¶
func (r *DescribeRouteConflictsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteConflictsRequest) ToJsonString ¶
func (r *DescribeRouteConflictsRequest) ToJsonString() string
type DescribeRouteConflictsRequestParams ¶ added in v1.0.426
type DescribeRouteConflictsRequestParams struct { // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要检查的与之冲突的目的端列表 DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitempty" name:"DestinationCidrBlocks"` }
Predefined struct for user
type DescribeRouteConflictsResponse ¶
type DescribeRouteConflictsResponse struct { *tchttp.BaseResponse Response *DescribeRouteConflictsResponseParams `json:"Response"` }
func NewDescribeRouteConflictsResponse ¶
func NewDescribeRouteConflictsResponse() (response *DescribeRouteConflictsResponse)
func (*DescribeRouteConflictsResponse) FromJsonString ¶
func (r *DescribeRouteConflictsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteConflictsResponse) ToJsonString ¶
func (r *DescribeRouteConflictsResponse) ToJsonString() string
type DescribeRouteConflictsResponseParams ¶ added in v1.0.426
type DescribeRouteConflictsResponseParams struct { // 路由策略冲突列表 // 注意:此字段可能返回 null,表示取不到有效值。 RouteConflictSet []*RouteConflict `json:"RouteConflictSet,omitempty" name:"RouteConflictSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRouteTablesRequest ¶
type DescribeRouteTablesRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableIds []*string `json:"RouteTableIds,omitempty" name:"RouteTableIds"` // 过滤条件,参数不支持同时指定RouteTableIds和Filters。 // route-table-id - String - (过滤条件)路由表实例ID。 // route-table-name - String - (过滤条件)路由表名称。 // vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。 // association.main - String - (过滤条件)是否主路由表。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 限数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // ECM 地域,传空或不传表示所有区域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDescribeRouteTablesRequest ¶
func NewDescribeRouteTablesRequest() (request *DescribeRouteTablesRequest)
func (*DescribeRouteTablesRequest) FromJsonString ¶
func (r *DescribeRouteTablesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteTablesRequest) ToJsonString ¶
func (r *DescribeRouteTablesRequest) ToJsonString() string
type DescribeRouteTablesRequestParams ¶ added in v1.0.426
type DescribeRouteTablesRequestParams struct { // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableIds []*string `json:"RouteTableIds,omitempty" name:"RouteTableIds"` // 过滤条件,参数不支持同时指定RouteTableIds和Filters。 // route-table-id - String - (过滤条件)路由表实例ID。 // route-table-name - String - (过滤条件)路由表名称。 // vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。 // association.main - String - (过滤条件)是否主路由表。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 限数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // ECM 地域,传空或不传表示所有区域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DescribeRouteTablesResponse ¶
type DescribeRouteTablesResponse struct { *tchttp.BaseResponse Response *DescribeRouteTablesResponseParams `json:"Response"` }
func NewDescribeRouteTablesResponse ¶
func NewDescribeRouteTablesResponse() (response *DescribeRouteTablesResponse)
func (*DescribeRouteTablesResponse) FromJsonString ¶
func (r *DescribeRouteTablesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteTablesResponse) ToJsonString ¶
func (r *DescribeRouteTablesResponse) ToJsonString() string
type DescribeRouteTablesResponseParams ¶ added in v1.0.426
type DescribeRouteTablesResponseParams struct { // 符合条件的实例数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 路由表列表 // 注意:此字段可能返回 null,表示取不到有效值。 RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupAssociationStatisticsRequest ¶
type DescribeSecurityGroupAssociationStatisticsRequest struct { *tchttp.BaseRequest // 安全实例ID,例如esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` }
func NewDescribeSecurityGroupAssociationStatisticsRequest ¶
func NewDescribeSecurityGroupAssociationStatisticsRequest() (request *DescribeSecurityGroupAssociationStatisticsRequest)
func (*DescribeSecurityGroupAssociationStatisticsRequest) FromJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupAssociationStatisticsRequest) ToJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsRequest) ToJsonString() string
type DescribeSecurityGroupAssociationStatisticsRequestParams ¶ added in v1.0.426
type DescribeSecurityGroupAssociationStatisticsRequestParams struct { // 安全实例ID,例如esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` }
Predefined struct for user
type DescribeSecurityGroupAssociationStatisticsResponse ¶
type DescribeSecurityGroupAssociationStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityGroupAssociationStatisticsResponseParams `json:"Response"` }
func NewDescribeSecurityGroupAssociationStatisticsResponse ¶
func NewDescribeSecurityGroupAssociationStatisticsResponse() (response *DescribeSecurityGroupAssociationStatisticsResponse)
func (*DescribeSecurityGroupAssociationStatisticsResponse) FromJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupAssociationStatisticsResponse) ToJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsResponse) ToJsonString() string
type DescribeSecurityGroupAssociationStatisticsResponseParams ¶ added in v1.0.426
type DescribeSecurityGroupAssociationStatisticsResponseParams struct { // 安全组关联实例统计。 SecurityGroupAssociationStatisticsSet []*SecurityGroupAssociationStatistics `json:"SecurityGroupAssociationStatisticsSet,omitempty" name:"SecurityGroupAssociationStatisticsSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupLimitsRequest ¶
type DescribeSecurityGroupLimitsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSecurityGroupLimitsRequest ¶
func NewDescribeSecurityGroupLimitsRequest() (request *DescribeSecurityGroupLimitsRequest)
func (*DescribeSecurityGroupLimitsRequest) FromJsonString ¶
func (r *DescribeSecurityGroupLimitsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupLimitsRequest) ToJsonString ¶
func (r *DescribeSecurityGroupLimitsRequest) ToJsonString() string
type DescribeSecurityGroupLimitsRequestParams ¶ added in v1.0.426
type DescribeSecurityGroupLimitsRequestParams struct { }
Predefined struct for user
type DescribeSecurityGroupLimitsResponse ¶
type DescribeSecurityGroupLimitsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityGroupLimitsResponseParams `json:"Response"` }
func NewDescribeSecurityGroupLimitsResponse ¶
func NewDescribeSecurityGroupLimitsResponse() (response *DescribeSecurityGroupLimitsResponse)
func (*DescribeSecurityGroupLimitsResponse) FromJsonString ¶
func (r *DescribeSecurityGroupLimitsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupLimitsResponse) ToJsonString ¶
func (r *DescribeSecurityGroupLimitsResponse) ToJsonString() string
type DescribeSecurityGroupLimitsResponseParams ¶ added in v1.0.426
type DescribeSecurityGroupLimitsResponseParams struct { // 用户安全组配额限制。 SecurityGroupLimitSet *SecurityGroupLimitSet `json:"SecurityGroupLimitSet,omitempty" name:"SecurityGroupLimitSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupPoliciesRequest ¶
type DescribeSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如:esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
func NewDescribeSecurityGroupPoliciesRequest ¶
func NewDescribeSecurityGroupPoliciesRequest() (request *DescribeSecurityGroupPoliciesRequest)
func (*DescribeSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *DescribeSecurityGroupPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *DescribeSecurityGroupPoliciesRequest) ToJsonString() string
type DescribeSecurityGroupPoliciesRequestParams ¶ added in v1.0.426
type DescribeSecurityGroupPoliciesRequestParams struct { // 安全组实例ID,例如:esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
Predefined struct for user
type DescribeSecurityGroupPoliciesResponse ¶
type DescribeSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeSecurityGroupPoliciesResponseParams `json:"Response"` }
func NewDescribeSecurityGroupPoliciesResponse ¶
func NewDescribeSecurityGroupPoliciesResponse() (response *DescribeSecurityGroupPoliciesResponse)
func (*DescribeSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *DescribeSecurityGroupPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *DescribeSecurityGroupPoliciesResponse) ToJsonString() string
type DescribeSecurityGroupPoliciesResponseParams ¶ added in v1.0.426
type DescribeSecurityGroupPoliciesResponseParams struct { // 安全组规则集合。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupsRequest ¶
type DescribeSecurityGroupsRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如:esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。 // security-group-id - String - (过滤条件)安全组ID。 // security-group-name - String - (过滤条件)安全组名称。 // tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSecurityGroupsRequest ¶
func NewDescribeSecurityGroupsRequest() (request *DescribeSecurityGroupsRequest)
func (*DescribeSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeSecurityGroupsRequest) ToJsonString() string
type DescribeSecurityGroupsRequestParams ¶ added in v1.0.426
type DescribeSecurityGroupsRequestParams struct { // 安全组实例ID,例如:esg-33ocnj9n,可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/1108/47697)获取。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。 // security-group-id - String - (过滤条件)安全组ID。 // security-group-name - String - (过滤条件)安全组名称。 // tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeSecurityGroupsResponse ¶
type DescribeSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeSecurityGroupsResponse ¶
func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsResponse)
func (*DescribeSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeSecurityGroupsResponse) ToJsonString() string
type DescribeSecurityGroupsResponseParams ¶ added in v1.0.426
type DescribeSecurityGroupsResponseParams struct { // 符合条件的实例数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 安全组对象。 SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitempty" name:"SecurityGroupSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotsRequest ¶ added in v1.0.253
type DescribeSnapshotsRequest struct { *tchttp.BaseRequest // 要查询快照的ID列表。参数不支持同时指定`SnapshotIds`和`Filters`。 SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"` // 过滤条件。参数不支持同时指定`SnapshotIds`和`Filters`。<br><li>snapshot-id - Array of String - 是否必填:否 -(过滤条件)按照快照的ID过滤。快照ID形如:`snap-11112222`。<br><li>snapshot-name - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。<br><li>snapshot-state - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤。 (NORMAL:正常 | CREATING:创建中 | ROLLBACKING:回滚中。)<br><li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按创建快照的云盘类型过滤。 (SYSTEM_DISK:代表系统盘 | DATA_DISK:代表数据盘。)<br><li>project-id - Array of String - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br><li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照创建快照的云硬盘ID过滤。<br><li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br><li>encrypt - Array of String - 是否必填:否 -(过滤条件)按是否加密盘快照过滤。 (TRUE:表示加密盘快照 | FALSE:表示非加密盘快照。) // <li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 // (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 快照列表排序的依据字段。取值范围:<br><li>CREATE_TIME:依据快照的创建时间排序<br>默认按创建时间排序。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 输出云盘列表的排列顺序。取值范围:<br><li>ASC:升序排列<br><li>DESC:降序排列。 Order *string `json:"Order,omitempty" name:"Order"` }
func NewDescribeSnapshotsRequest ¶ added in v1.0.253
func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)
func (*DescribeSnapshotsRequest) FromJsonString ¶ added in v1.0.253
func (r *DescribeSnapshotsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsRequest) ToJsonString ¶ added in v1.0.253
func (r *DescribeSnapshotsRequest) ToJsonString() string
type DescribeSnapshotsRequestParams ¶ added in v1.0.426
type DescribeSnapshotsRequestParams struct { // 要查询快照的ID列表。参数不支持同时指定`SnapshotIds`和`Filters`。 SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"` // 过滤条件。参数不支持同时指定`SnapshotIds`和`Filters`。<br><li>snapshot-id - Array of String - 是否必填:否 -(过滤条件)按照快照的ID过滤。快照ID形如:`snap-11112222`。<br><li>snapshot-name - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。<br><li>snapshot-state - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤。 (NORMAL:正常 | CREATING:创建中 | ROLLBACKING:回滚中。)<br><li>disk-usage - Array of String - 是否必填:否 -(过滤条件)按创建快照的云盘类型过滤。 (SYSTEM_DISK:代表系统盘 | DATA_DISK:代表数据盘。)<br><li>project-id - Array of String - 是否必填:否 -(过滤条件)按云硬盘所属项目ID过滤。<br><li>disk-id - Array of String - 是否必填:否 -(过滤条件)按照创建快照的云硬盘ID过滤。<br><li>zone - Array of String - 是否必填:否 -(过滤条件)按照[可用区](/document/product/213/15753#ZoneInfo)过滤。<br><li>encrypt - Array of String - 是否必填:否 -(过滤条件)按是否加密盘快照过滤。 (TRUE:表示加密盘快照 | FALSE:表示非加密盘快照。) // <li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 // (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 快照列表排序的依据字段。取值范围:<br><li>CREATE_TIME:依据快照的创建时间排序<br>默认按创建时间排序。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 输出云盘列表的排列顺序。取值范围:<br><li>ASC:升序排列<br><li>DESC:降序排列。 Order *string `json:"Order,omitempty" name:"Order"` }
Predefined struct for user
type DescribeSnapshotsResponse ¶ added in v1.0.253
type DescribeSnapshotsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotsResponseParams `json:"Response"` }
func NewDescribeSnapshotsResponse ¶ added in v1.0.253
func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)
func (*DescribeSnapshotsResponse) FromJsonString ¶ added in v1.0.253
func (r *DescribeSnapshotsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsResponse) ToJsonString ¶ added in v1.0.253
func (r *DescribeSnapshotsResponse) ToJsonString() string
type DescribeSnapshotsResponseParams ¶ added in v1.0.426
type DescribeSnapshotsResponseParams struct { // 快照的数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 快照的详情列表。 SnapshotSet []*Snapshot `json:"SnapshotSet,omitempty" name:"SnapshotSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { *tchttp.BaseRequest // 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。 SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // 过滤条件,参数不支持同时指定SubnetIds和Filters。 // subnet-id - String - Subnet实例名称。 // subnet-name - String - 子网名称。只支持单值的模糊查询。 // cidr-block - String - 子网网段,形如: 192.168.1.0 。只支持单值的模糊查询。 // vpc-id - String - VPC实例ID,形如:vpc-f49l6u0z。 // vpc-cidr-block - String - vpc网段,形如: 192.168.1.0 。只支持单值的模糊查询。 // region - String - ECM地域 // zone - String - 可用区。 // tag-key - String -是否必填:否- 按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - 按照标签键值对进行过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *string `json:"Limit,omitempty" name:"Limit"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 排序方式:time时间倒序, default按照网络规划排序 Sort *string `json:"Sort,omitempty" name:"Sort"` }
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)
func (*DescribeSubnetsRequest) FromJsonString ¶
func (r *DescribeSubnetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubnetsRequest) ToJsonString ¶
func (r *DescribeSubnetsRequest) ToJsonString() string
type DescribeSubnetsRequestParams ¶ added in v1.0.426
type DescribeSubnetsRequestParams struct { // 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。 SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // 过滤条件,参数不支持同时指定SubnetIds和Filters。 // subnet-id - String - Subnet实例名称。 // subnet-name - String - 子网名称。只支持单值的模糊查询。 // cidr-block - String - 子网网段,形如: 192.168.1.0 。只支持单值的模糊查询。 // vpc-id - String - VPC实例ID,形如:vpc-f49l6u0z。 // vpc-cidr-block - String - vpc网段,形如: 192.168.1.0 。只支持单值的模糊查询。 // region - String - ECM地域 // zone - String - 可用区。 // tag-key - String -是否必填:否- 按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - 按照标签键值对进行过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *string `json:"Limit,omitempty" name:"Limit"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 排序方式:time时间倒序, default按照网络规划排序 Sort *string `json:"Sort,omitempty" name:"Sort"` }
Predefined struct for user
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct { *tchttp.BaseResponse Response *DescribeSubnetsResponseParams `json:"Response"` }
func NewDescribeSubnetsResponse ¶
func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)
func (*DescribeSubnetsResponse) FromJsonString ¶
func (r *DescribeSubnetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubnetsResponse) ToJsonString ¶
func (r *DescribeSubnetsResponse) ToJsonString() string
type DescribeSubnetsResponseParams ¶ added in v1.0.426
type DescribeSubnetsResponseParams struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 子网对象。 // 注意:此字段可能返回 null,表示取不到有效值。 SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetHealthRequest ¶
type DescribeTargetHealthRequest struct { *tchttp.BaseRequest // 要查询的负载均衡实例 ID列表 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` }
func NewDescribeTargetHealthRequest ¶
func NewDescribeTargetHealthRequest() (request *DescribeTargetHealthRequest)
func (*DescribeTargetHealthRequest) FromJsonString ¶
func (r *DescribeTargetHealthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetHealthRequest) ToJsonString ¶
func (r *DescribeTargetHealthRequest) ToJsonString() string
type DescribeTargetHealthRequestParams ¶ added in v1.0.426
type DescribeTargetHealthRequestParams struct { // 要查询的负载均衡实例 ID列表 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` }
Predefined struct for user
type DescribeTargetHealthResponse ¶
type DescribeTargetHealthResponse struct { *tchttp.BaseResponse Response *DescribeTargetHealthResponseParams `json:"Response"` }
func NewDescribeTargetHealthResponse ¶
func NewDescribeTargetHealthResponse() (response *DescribeTargetHealthResponse)
func (*DescribeTargetHealthResponse) FromJsonString ¶
func (r *DescribeTargetHealthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetHealthResponse) ToJsonString ¶
func (r *DescribeTargetHealthResponse) ToJsonString() string
type DescribeTargetHealthResponseParams ¶ added in v1.0.426
type DescribeTargetHealthResponseParams struct { // 负载均衡实例列表 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancers []*LoadBalancerHealth `json:"LoadBalancers,omitempty" name:"LoadBalancers"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTargetsRequest ¶
type DescribeTargetsRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 监听器 ID列表 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // 监听器协议类型 Protocol *int64 `json:"Protocol,omitempty" name:"Protocol"` // 监听器端口 Port *int64 `json:"Port,omitempty" name:"Port"` }
func NewDescribeTargetsRequest ¶
func NewDescribeTargetsRequest() (request *DescribeTargetsRequest)
func (*DescribeTargetsRequest) FromJsonString ¶
func (r *DescribeTargetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetsRequest) ToJsonString ¶
func (r *DescribeTargetsRequest) ToJsonString() string
type DescribeTargetsRequestParams ¶ added in v1.0.426
type DescribeTargetsRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 监听器 ID列表 ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"` // 监听器协议类型 Protocol *int64 `json:"Protocol,omitempty" name:"Protocol"` // 监听器端口 Port *int64 `json:"Port,omitempty" name:"Port"` }
Predefined struct for user
type DescribeTargetsResponse ¶
type DescribeTargetsResponse struct { *tchttp.BaseResponse Response *DescribeTargetsResponseParams `json:"Response"` }
func NewDescribeTargetsResponse ¶
func NewDescribeTargetsResponse() (response *DescribeTargetsResponse)
func (*DescribeTargetsResponse) FromJsonString ¶
func (r *DescribeTargetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTargetsResponse) ToJsonString ¶
func (r *DescribeTargetsResponse) ToJsonString() string
type DescribeTargetsResponseParams ¶ added in v1.0.426
type DescribeTargetsResponseParams struct { // 监听器后端绑定的机器信息 // 注意:此字段可能返回 null,表示取不到有效值。 Listeners []*ListenerBackend `json:"Listeners,omitempty" name:"Listeners"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskResultRequest ¶
type DescribeTaskResultRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 异步任务ID。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
func NewDescribeTaskResultRequest ¶
func NewDescribeTaskResultRequest() (request *DescribeTaskResultRequest)
func (*DescribeTaskResultRequest) FromJsonString ¶
func (r *DescribeTaskResultRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskResultRequest) ToJsonString ¶
func (r *DescribeTaskResultRequest) ToJsonString() string
type DescribeTaskResultRequestParams ¶ added in v1.0.426
type DescribeTaskResultRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 异步任务ID。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeTaskResultResponse ¶
type DescribeTaskResultResponse struct { *tchttp.BaseResponse Response *DescribeTaskResultResponseParams `json:"Response"` }
func NewDescribeTaskResultResponse ¶
func NewDescribeTaskResultResponse() (response *DescribeTaskResultResponse)
func (*DescribeTaskResultResponse) FromJsonString ¶
func (r *DescribeTaskResultResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskResultResponse) ToJsonString ¶
func (r *DescribeTaskResultResponse) ToJsonString() string
type DescribeTaskResultResponseParams ¶ added in v1.0.426
type DescribeTaskResultResponseParams struct { // 异步任务ID。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 执行结果,包括"SUCCESS", "FAILED", "RUNNING" Result *string `json:"Result,omitempty" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct { *tchttp.BaseRequest // 任务描述 TaskSet []*TaskInput `json:"TaskSet,omitempty" name:"TaskSet"` }
func NewDescribeTaskStatusRequest ¶
func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
func (*DescribeTaskStatusRequest) FromJsonString ¶
func (r *DescribeTaskStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusRequest) ToJsonString ¶
func (r *DescribeTaskStatusRequest) ToJsonString() string
type DescribeTaskStatusRequestParams ¶ added in v1.0.426
type DescribeTaskStatusRequestParams struct { // 任务描述 TaskSet []*TaskInput `json:"TaskSet,omitempty" name:"TaskSet"` }
Predefined struct for user
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct { *tchttp.BaseResponse Response *DescribeTaskStatusResponseParams `json:"Response"` }
func NewDescribeTaskStatusResponse ¶
func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
func (*DescribeTaskStatusResponse) FromJsonString ¶
func (r *DescribeTaskStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusResponse) ToJsonString ¶
func (r *DescribeTaskStatusResponse) ToJsonString() string
type DescribeTaskStatusResponseParams ¶ added in v1.0.426
type DescribeTaskStatusResponseParams struct { // 任务描述 TaskSet []*TaskOutput `json:"TaskSet,omitempty" name:"TaskSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct { *tchttp.BaseRequest // VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。 VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"` // 过滤条件,参数不支持同时指定VpcIds和Filters。 // vpc-name - String - VPC实例名称,只支持单值的模糊查询。 // vpc-id - String - VPC实例ID形如:vpc-f49l6u0z。 // cidr-block - String - vpc的cidr,只支持单值的模糊查询。 // region - String - vpc的region。 // tag-key - String -是否必填:否- 按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - 按照标签键值对进行过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 排序方式:time时间倒序, default按照网络规划排序 Sort *string `json:"Sort,omitempty" name:"Sort"` }
func NewDescribeVpcsRequest ¶
func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)
func (*DescribeVpcsRequest) FromJsonString ¶
func (r *DescribeVpcsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcsRequest) ToJsonString ¶
func (r *DescribeVpcsRequest) ToJsonString() string
type DescribeVpcsRequestParams ¶ added in v1.0.426
type DescribeVpcsRequestParams struct { // VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。 VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"` // 过滤条件,参数不支持同时指定VpcIds和Filters。 // vpc-name - String - VPC实例名称,只支持单值的模糊查询。 // vpc-id - String - VPC实例ID形如:vpc-f49l6u0z。 // cidr-block - String - vpc的cidr,只支持单值的模糊查询。 // region - String - vpc的region。 // tag-key - String -是否必填:否- 按照标签键进行过滤。 // tag:tag-key - String - 是否必填:否 - 按照标签键值对进行过滤。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 排序方式:time时间倒序, default按照网络规划排序 Sort *string `json:"Sort,omitempty" name:"Sort"` }
Predefined struct for user
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct { *tchttp.BaseResponse Response *DescribeVpcsResponseParams `json:"Response"` }
func NewDescribeVpcsResponse ¶
func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)
func (*DescribeVpcsResponse) FromJsonString ¶
func (r *DescribeVpcsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcsResponse) ToJsonString ¶
func (r *DescribeVpcsResponse) ToJsonString() string
type DescribeVpcsResponseParams ¶ added in v1.0.426
type DescribeVpcsResponseParams struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 私有网络对象。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachDisksRequest ¶ added in v1.0.253
type DetachDisksRequest struct { *tchttp.BaseRequest // 将要卸载的云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询,单次请求最多可卸载10块弹性云盘。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 对于非共享型云盘,会忽略该参数;对于共享型云盘,该参数表示要从哪个CVM实例上卸载云盘。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDetachDisksRequest ¶ added in v1.0.253
func NewDetachDisksRequest() (request *DetachDisksRequest)
func (*DetachDisksRequest) FromJsonString ¶ added in v1.0.253
func (r *DetachDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachDisksRequest) ToJsonString ¶ added in v1.0.253
func (r *DetachDisksRequest) ToJsonString() string
type DetachDisksRequestParams ¶ added in v1.0.426
type DetachDisksRequestParams struct { // 将要卸载的云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询,单次请求最多可卸载10块弹性云盘。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // 对于非共享型云盘,会忽略该参数;对于共享型云盘,该参数表示要从哪个CVM实例上卸载云盘。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DetachDisksResponse ¶ added in v1.0.253
type DetachDisksResponse struct { *tchttp.BaseResponse Response *DetachDisksResponseParams `json:"Response"` }
func NewDetachDisksResponse ¶ added in v1.0.253
func NewDetachDisksResponse() (response *DetachDisksResponse)
func (*DetachDisksResponse) FromJsonString ¶ added in v1.0.253
func (r *DetachDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachDisksResponse) ToJsonString ¶ added in v1.0.253
func (r *DetachDisksResponse) ToJsonString() string
type DetachDisksResponseParams ¶ added in v1.0.426
type DetachDisksResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachNetworkInterfaceRequest ¶
type DetachNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 实例ID。形如:ein-hcs7jkg4 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewDetachNetworkInterfaceRequest ¶
func NewDetachNetworkInterfaceRequest() (request *DetachNetworkInterfaceRequest)
func (*DetachNetworkInterfaceRequest) FromJsonString ¶
func (r *DetachNetworkInterfaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachNetworkInterfaceRequest) ToJsonString ¶
func (r *DetachNetworkInterfaceRequest) ToJsonString() string
type DetachNetworkInterfaceRequestParams ¶ added in v1.0.426
type DetachNetworkInterfaceRequestParams struct { // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 实例ID。形如:ein-hcs7jkg4 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type DetachNetworkInterfaceResponse ¶
type DetachNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *DetachNetworkInterfaceResponseParams `json:"Response"` }
func NewDetachNetworkInterfaceResponse ¶
func NewDetachNetworkInterfaceResponse() (response *DetachNetworkInterfaceResponse)
func (*DetachNetworkInterfaceResponse) FromJsonString ¶
func (r *DetachNetworkInterfaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachNetworkInterfaceResponse) ToJsonString ¶
func (r *DetachNetworkInterfaceResponse) ToJsonString() string
type DetachNetworkInterfaceResponseParams ¶ added in v1.0.426
type DetachNetworkInterfaceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableRoutesRequest ¶
type DisableRoutesRequest struct { *tchttp.BaseRequest // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"` }
func NewDisableRoutesRequest ¶
func NewDisableRoutesRequest() (request *DisableRoutesRequest)
func (*DisableRoutesRequest) FromJsonString ¶
func (r *DisableRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableRoutesRequest) ToJsonString ¶
func (r *DisableRoutesRequest) ToJsonString() string
type DisableRoutesRequestParams ¶ added in v1.0.426
type DisableRoutesRequestParams struct { // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"` }
Predefined struct for user
type DisableRoutesResponse ¶
type DisableRoutesResponse struct { *tchttp.BaseResponse Response *DisableRoutesResponseParams `json:"Response"` }
func NewDisableRoutesResponse ¶
func NewDisableRoutesResponse() (response *DisableRoutesResponse)
func (*DisableRoutesResponse) FromJsonString ¶
func (r *DisableRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableRoutesResponse) ToJsonString ¶
func (r *DisableRoutesResponse) ToJsonString() string
type DisableRoutesResponseParams ¶ added in v1.0.426
type DisableRoutesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateAddressRequest ¶
type DisassociateAddressRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 表示解绑 EIP 之后是否分配普通公网 IP。取值范围: // TRUE:表示解绑 EIP 之后分配普通公网 IP。 // FALSE:表示解绑 EIP 之后不分配普通公网 IP。 // 默认取值:FALSE。 // // 只有满足以下条件时才能指定该参数: // 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。 // 解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 DescribeAddressQuota 接口获取。 ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitempty" name:"ReallocateNormalPublicIp"` }
func NewDisassociateAddressRequest ¶
func NewDisassociateAddressRequest() (request *DisassociateAddressRequest)
func (*DisassociateAddressRequest) FromJsonString ¶
func (r *DisassociateAddressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateAddressRequest) ToJsonString ¶
func (r *DisassociateAddressRequest) ToJsonString() string
type DisassociateAddressRequestParams ¶ added in v1.0.426
type DisassociateAddressRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 表示解绑 EIP 之后是否分配普通公网 IP。取值范围: // TRUE:表示解绑 EIP 之后分配普通公网 IP。 // FALSE:表示解绑 EIP 之后不分配普通公网 IP。 // 默认取值:FALSE。 // // 只有满足以下条件时才能指定该参数: // 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。 // 解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 DescribeAddressQuota 接口获取。 ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitempty" name:"ReallocateNormalPublicIp"` }
Predefined struct for user
type DisassociateAddressResponse ¶
type DisassociateAddressResponse struct { *tchttp.BaseResponse Response *DisassociateAddressResponseParams `json:"Response"` }
func NewDisassociateAddressResponse ¶
func NewDisassociateAddressResponse() (response *DisassociateAddressResponse)
func (*DisassociateAddressResponse) FromJsonString ¶
func (r *DisassociateAddressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateAddressResponse) ToJsonString ¶
func (r *DisassociateAddressResponse) ToJsonString() string
type DisassociateAddressResponseParams ¶ added in v1.0.426
type DisassociateAddressResponseParams struct { // 异步任务TaskId。可以使用DescribeTaskResult接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateInstancesKeyPairsRequest ¶ added in v1.0.278
type DisassociateInstancesKeyPairsRequest struct { *tchttp.BaseRequest // 可以通过以下方式获取可用的实例ID: // 通过登录控制台查询实例ID。 // 通过调用接口 DescribeInstances ,取返回信息中的 InstanceId 获取实例ID。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:skey-11112222。 // // 可以通过以下方式获取可用的密钥ID: // 通过登录控制台查询密钥ID。 // 通过调用接口 DescribeKeyPairs ,取返回信息中的 KeyId 获取密钥对ID。 KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"` // 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围: // TRUE:表示在正常关机失败后进行强制关机。 // FALSE:表示在正常关机失败后不进行强制关机。 // // 默认取值:FALSE。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` }
func NewDisassociateInstancesKeyPairsRequest ¶ added in v1.0.278
func NewDisassociateInstancesKeyPairsRequest() (request *DisassociateInstancesKeyPairsRequest)
func (*DisassociateInstancesKeyPairsRequest) FromJsonString ¶ added in v1.0.278
func (r *DisassociateInstancesKeyPairsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateInstancesKeyPairsRequest) ToJsonString ¶ added in v1.0.278
func (r *DisassociateInstancesKeyPairsRequest) ToJsonString() string
type DisassociateInstancesKeyPairsRequestParams ¶ added in v1.0.426
type DisassociateInstancesKeyPairsRequestParams struct { // 可以通过以下方式获取可用的实例ID: // 通过登录控制台查询实例ID。 // 通过调用接口 DescribeInstances ,取返回信息中的 InstanceId 获取实例ID。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:skey-11112222。 // // 可以通过以下方式获取可用的密钥ID: // 通过登录控制台查询密钥ID。 // 通过调用接口 DescribeKeyPairs ,取返回信息中的 KeyId 获取密钥对ID。 KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"` // 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围: // TRUE:表示在正常关机失败后进行强制关机。 // FALSE:表示在正常关机失败后不进行强制关机。 // // 默认取值:FALSE。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` }
Predefined struct for user
type DisassociateInstancesKeyPairsResponse ¶ added in v1.0.278
type DisassociateInstancesKeyPairsResponse struct { *tchttp.BaseResponse Response *DisassociateInstancesKeyPairsResponseParams `json:"Response"` }
func NewDisassociateInstancesKeyPairsResponse ¶ added in v1.0.278
func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstancesKeyPairsResponse)
func (*DisassociateInstancesKeyPairsResponse) FromJsonString ¶ added in v1.0.278
func (r *DisassociateInstancesKeyPairsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateInstancesKeyPairsResponse) ToJsonString ¶ added in v1.0.278
func (r *DisassociateInstancesKeyPairsResponse) ToJsonString() string
type DisassociateInstancesKeyPairsResponseParams ¶ added in v1.0.426
type DisassociateInstancesKeyPairsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisassociateSecurityGroupsRequest ¶
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 要解绑的安全组ID,类似esg-efil73jd,只支持解绑单个安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 被解绑的实例ID,类似ein-lesecurk,支持指定多个实例 。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewDisassociateSecurityGroupsRequest ¶
func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)
func (*DisassociateSecurityGroupsRequest) FromJsonString ¶
func (r *DisassociateSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateSecurityGroupsRequest) ToJsonString ¶
func (r *DisassociateSecurityGroupsRequest) ToJsonString() string
type DisassociateSecurityGroupsRequestParams ¶ added in v1.0.426
type DisassociateSecurityGroupsRequestParams struct { // 要解绑的安全组ID,类似esg-efil73jd,只支持解绑单个安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 被解绑的实例ID,类似ein-lesecurk,支持指定多个实例 。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DisassociateSecurityGroupsResponse ¶
type DisassociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DisassociateSecurityGroupsResponseParams `json:"Response"` }
func NewDisassociateSecurityGroupsResponse ¶
func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)
func (*DisassociateSecurityGroupsResponse) FromJsonString ¶
func (r *DisassociateSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateSecurityGroupsResponse) ToJsonString ¶
func (r *DisassociateSecurityGroupsResponse) ToJsonString() string
type DisassociateSecurityGroupsResponseParams ¶ added in v1.0.426
type DisassociateSecurityGroupsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Disk ¶ added in v1.0.253
type Disk struct { // 云盘是否与挂载的实例一起销毁。<br><li>true:销毁实例时会同时销毁云盘,只支持按小时后付费云盘。<br><li>false:销毁实例时不销毁云盘。 // 注意:此字段可能返回 null,表示取不到有效值。 DeleteWithInstance *bool `json:"DeleteWithInstance,omitempty" name:"DeleteWithInstance"` // 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。 // 注意:此字段可能返回 null,表示取不到有效值。 RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // 硬盘介质类型。取值范围:<br><li>CLOUD_BASIC:表示普通云硬盘<br><li>CLOUD_PREMIUM:表示高性能云硬盘<br><li>CLOUD_SSD:表示SSD云硬盘<br><li>CLOUD_HSSD:表示增强型SSD云硬盘<br><li>CLOUD_TSSD:表示极速型SSD云硬盘。 DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 云盘状态。取值范围:<br><li>UNATTACHED:未挂载<br><li>ATTACHING:挂载中<br><li>ATTACHED:已挂载<br><li>DETACHING:解挂中<br><li>EXPANDING:扩容中<br><li>ROLLBACKING:回滚中<br><li>TORECYCLE:待回收<br><li>DUMPING:拷贝硬盘中。 DiskState *string `json:"DiskState,omitempty" name:"DiskState"` // 云盘拥有的快照总数。 SnapshotCount *int64 `json:"SnapshotCount,omitempty" name:"SnapshotCount"` // 云盘已挂载到子机,且子机与云盘都是包年包月。<br><li>true:子机设置了自动续费标识,但云盘未设置<br><li>false:云盘自动续费标识正常。 // 注意:此字段可能返回 null,表示取不到有效值。 AutoRenewFlagError *bool `json:"AutoRenewFlagError,omitempty" name:"AutoRenewFlagError"` // 云盘是否处于快照回滚状态。取值范围:<br><li>false:表示不处于快照回滚状态<br><li>true:表示处于快照回滚状态。 Rollbacking *bool `json:"Rollbacking,omitempty" name:"Rollbacking"` // 对于非共享型云盘,该参数为空数组。对于共享型云盘,则表示该云盘当前被挂载到的CVM实例InstanceId InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` // 云盘是否为加密盘。取值范围:<br><li>false:表示非加密盘<br><li>true:表示加密盘。 Encrypt *bool `json:"Encrypt,omitempty" name:"Encrypt"` // 云硬盘名称。 DiskName *string `json:"DiskName,omitempty" name:"DiskName"` // 云硬盘因欠费销毁或者到期销毁时, 是否使用快照备份数据的标识。true表示销毁时创建快照进行数据备份。false表示直接销毁,不进行数据备份。 BackupDisk *bool `json:"BackupDisk,omitempty" name:"BackupDisk"` // 与云盘绑定的标签,云盘未绑定标签则取值为空。 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 云硬盘挂载的云主机ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 云盘关联的定期快照ID。只有在调用DescribeDisks接口时,入参ReturnBindAutoSnapshotPolicy取值为TRUE才会返回该参数。 // 注意:此字段可能返回 null,表示取不到有效值。 AutoSnapshotPolicyIds []*string `json:"AutoSnapshotPolicyIds,omitempty" name:"AutoSnapshotPolicyIds"` // 云硬盘额外性能值,单位MB/s。 // 注意:此字段可能返回 null,表示取不到有效值。 ThroughputPerformance *uint64 `json:"ThroughputPerformance,omitempty" name:"ThroughputPerformance"` // 云盘是否处于类型变更中。取值范围:<br><li>false:表示云盘不处于类型变更中<br><li>true:表示云盘已发起类型变更,正处于迁移中。 // 注意:此字段可能返回 null,表示取不到有效值。 Migrating *bool `json:"Migrating,omitempty" name:"Migrating"` // 云硬盘ID。 DiskId *string `json:"DiskId,omitempty" name:"DiskId"` // 云盘拥有的快照总容量,单位为MB。 SnapshotSize *uint64 `json:"SnapshotSize,omitempty" name:"SnapshotSize"` // 云硬盘所在的位置。 Placement *Placement `json:"Placement,omitempty" name:"Placement"` // 判断预付费的云盘是否支持主动退还。<br><li>true:支持主动退还<br><li>false:不支持主动退还。 // 注意:此字段可能返回 null,表示取不到有效值。 IsReturnable *bool `json:"IsReturnable,omitempty" name:"IsReturnable"` // 云盘是否挂载到云主机上。取值范围:<br><li>false:表示未挂载<br><li>true:表示已挂载。 Attached *bool `json:"Attached,omitempty" name:"Attached"` // 云硬盘大小,单位GB。 DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // 云盘类型变更的迁移进度,取值0到100。 // 注意:此字段可能返回 null,表示取不到有效值。 MigratePercent *uint64 `json:"MigratePercent,omitempty" name:"MigratePercent"` // 云硬盘类型。取值范围:<br><li>SYSTEM_DISK:系统盘<br><li>DATA_DISK:数据盘。 DiskUsage *string `json:"DiskUsage,omitempty" name:"DiskUsage"` // 付费模式。取值范围:<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:后付费,即按量计费。 DiskChargeType *string `json:"DiskChargeType,omitempty" name:"DiskChargeType"` // 是否为弹性云盘,false表示非弹性云盘,true表示弹性云盘。 Portable *bool `json:"Portable,omitempty" name:"Portable"` // 云盘是否具备创建快照的能力。取值范围:<br><li>false表示不具备<br><li>true表示具备。 SnapshotAbility *bool `json:"SnapshotAbility,omitempty" name:"SnapshotAbility"` // 在云盘已挂载到实例,且实例与云盘都是包年包月的条件下,此字段才有意义。<br><li>true:云盘到期时间早于实例。<br><li>false:云盘到期时间晚于实例。 // 注意:此字段可能返回 null,表示取不到有效值。 DeadlineError *bool `json:"DeadlineError,omitempty" name:"DeadlineError"` // 云盘快照回滚的进度。 RollbackPercent *uint64 `json:"RollbackPercent,omitempty" name:"RollbackPercent"` // 当前时间距离盘到期的天数(仅对预付费盘有意义)。 // 注意:此字段可能返回 null,表示取不到有效值。 DifferDaysOfDeadline *int64 `json:"DifferDaysOfDeadline,omitempty" name:"DifferDaysOfDeadline"` // 预付费云盘在不支持主动退还的情况下,该参数表明不支持主动退还的具体原因。取值范围:<br><li>1:云硬盘已经退还<br><li>2:云硬盘已过期<br><li>3:云盘不支持退还<br><li>8:超过可退还数量的限制。 // 注意:此字段可能返回 null,表示取不到有效值。 ReturnFailCode *int64 `json:"ReturnFailCode,omitempty" name:"ReturnFailCode"` Shareable *bool `json:"Shareable,omitempty" name:"Shareable"` // 云硬盘的创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 云硬盘的到期时间。 DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"` // 云盘的挂载类型。取值范围:<br><li>PF: PF挂载<br><li>VF: VF挂载 // 注意:此字段可能返回 null,表示取不到有效值。 AttachMode *string `json:"AttachMode,omitempty" name:"AttachMode"` }
type DiskChargePrepaid ¶ added in v1.0.253
type DiskChargePrepaid struct { // 购买云盘的时长,默认单位为月,取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。 Period *uint64 `json:"Period,omitempty" name:"Period"` // 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费。 RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // 需要将云盘的到期时间与挂载的子机对齐时,可传入该参数。该参数表示子机当前的到期时间,此时Period如果传入,则表示子机需要续费的时长,云盘会自动按对齐到子机续费后的到期时间续费,示例取值:2018-03-30 20:15:03。 CurInstanceDeadline *string `json:"CurInstanceDeadline,omitempty" name:"CurInstanceDeadline"` }
type DiskInfo ¶
type DiskInfo struct { // 磁盘类型:LOCAL_BASIC DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 磁盘ID DiskId *string `json:"DiskId,omitempty" name:"DiskId"` // 磁盘大小(GB) DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // 是否随实例删除。 DeleteWithInstance *bool `json:"DeleteWithInstance,omitempty" name:"DeleteWithInstance"` // 快照ID // 注意:此字段可能返回 null,表示取不到有效值。 SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` }
type EipQuota ¶
type EipQuota struct { // 配额名称,取值范围: // TOTAL_EIP_QUOTA:用户当前地域下EIP的配额数; // DAILY_EIP_APPLY:用户当前地域下今日申购次数; // DAILY_PUBLIC_IP_ASSIGN:用户当前地域下,重新分配公网 IP次数。 QuotaId *string `json:"QuotaId,omitempty" name:"QuotaId"` // 当前数量 QuotaCurrent *uint64 `json:"QuotaCurrent,omitempty" name:"QuotaCurrent"` // 配额数量 QuotaLimit *uint64 `json:"QuotaLimit,omitempty" name:"QuotaLimit"` }
type EnableRoutesRequest ¶
type EnableRoutesRequest struct { *tchttp.BaseRequest // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"` }
func NewEnableRoutesRequest ¶
func NewEnableRoutesRequest() (request *EnableRoutesRequest)
func (*EnableRoutesRequest) FromJsonString ¶
func (r *EnableRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableRoutesRequest) ToJsonString ¶
func (r *EnableRoutesRequest) ToJsonString() string
type EnableRoutesRequestParams ¶ added in v1.0.426
type EnableRoutesRequestParams struct { // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"` }
Predefined struct for user
type EnableRoutesResponse ¶
type EnableRoutesResponse struct { *tchttp.BaseResponse Response *EnableRoutesResponseParams `json:"Response"` }
func NewEnableRoutesResponse ¶
func NewEnableRoutesResponse() (response *EnableRoutesResponse)
func (*EnableRoutesResponse) FromJsonString ¶
func (r *EnableRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableRoutesResponse) ToJsonString ¶
func (r *EnableRoutesResponse) ToJsonString() string
type EnableRoutesResponseParams ¶ added in v1.0.426
type EnableRoutesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EnhancedService ¶
type EnhancedService struct { // 是否开启云镜服务。 SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitempty" name:"SecurityService"` // 是否开启云监控服务。 MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitempty" name:"MonitorService"` // 是否开通IP直通。若不指定该参数,则Linux镜像默认开通,windows镜像暂不支持IP直通。 EIPDirectService *RunEIPDirectServiceEnabled `json:"EIPDirectService,omitempty" name:"EIPDirectService"` }
type HaVip ¶
type HaVip struct { // HAVIP的ID,是HAVIP的唯一标识。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // HAVIP名称。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` // 虚拟IP地址。 Vip *string `json:"Vip,omitempty" name:"Vip"` // HAVIP所在私有网络ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // HAVIP所在子网ID。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // HAVIP关联弹性网卡ID。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 被绑定的实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 绑定EIP。 AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` // 状态: // AVAILABLE:运行中。 // UNBIND:未绑定。 State *string `json:"State,omitempty" name:"State"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 使用havip的业务标识。 Business *string `json:"Business,omitempty" name:"Business"` }
type HealthCheck ¶
type HealthCheck struct { // 是否开启健康检查:1(开启)、0(关闭) // 注意:此字段可能返回 null,表示取不到有效值。 HealthSwitch *int64 `json:"HealthSwitch,omitempty" name:"HealthSwitch"` // 健康检查的响应超时时间,可选值:2~60,默认值:2,单位:秒。响应超时时间要小于检查间隔时间。 // 注意:此字段可能返回 null,表示取不到有效值。 TimeOut *int64 `json:"TimeOut,omitempty" name:"TimeOut"` // 健康检查探测间隔时间,默认值:5,可选值:5~300,单位:秒。 // 注意:此字段可能返回 null,表示取不到有效值。 IntervalTime *int64 `json:"IntervalTime,omitempty" name:"IntervalTime"` // 健康阈值,默认值:3,表示当连续探测三次健康则表示该转发正常,可选值:2~10,单位:次。 // 注意:此字段可能返回 null,表示取不到有效值。 HealthNum *int64 `json:"HealthNum,omitempty" name:"HealthNum"` // 不健康阈值,默认值:3,表示当连续探测三次不健康则表示该转发异常,可选值:2~10,单位:次。 // 注意:此字段可能返回 null,表示取不到有效值。 UnHealthyNum *int64 `json:"UnHealthyNum,omitempty" name:"UnHealthyNum"` // 自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。 // 注意:此字段可能返回 null,表示取不到有效值。 CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"` // 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查的输入格式,可取值:HEX或TEXT;取值为HEX时,SendContext和RecvContext的字符只能在0123456789ABCDEF中选取且长度必须是偶数位。 // 注意:此字段可能返回 null,表示取不到有效值。 ContextType *string `json:"ContextType,omitempty" name:"ContextType"` // 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查发送的请求内容,只允许ASCII可见字符,最大长度限制500。 // 注意:此字段可能返回 null,表示取不到有效值。 SendContext *string `json:"SendContext,omitempty" name:"SendContext"` // 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查返回的结果,只允许ASCII可见字符,最大长度限制500。 // 注意:此字段可能返回 null,表示取不到有效值。 RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"` // 自定义探测相关参数。健康检查使用的协议:TCP | CUSTOM(UDP监听器只支持CUSTOM;如果使用自定义健康检查功能,则必传)。 // 注意:此字段可能返回 null,表示取不到有效值。 CheckType *string `json:"CheckType,omitempty" name:"CheckType"` }
type ISPCounter ¶
type ISPCounter struct { // 运营商名称 ProviderName *string `json:"ProviderName,omitempty" name:"ProviderName"` // 节点数量 ProviderNodeNum *int64 `json:"ProviderNodeNum,omitempty" name:"ProviderNodeNum"` // 实例数量 ProvederInstanceNum *int64 `json:"ProvederInstanceNum,omitempty" name:"ProvederInstanceNum"` // Zone实例信息结构体数组 ZoneInstanceInfoSet []*ZoneInstanceInfo `json:"ZoneInstanceInfoSet,omitempty" name:"ZoneInstanceInfoSet"` }
type Image ¶
type Image struct { // 镜像ID ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 镜像名称 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 镜像状态 ImageState *string `json:"ImageState,omitempty" name:"ImageState"` // 镜像类型 ImageType *string `json:"ImageType,omitempty" name:"ImageType"` // 操作系统名称 ImageOsName *string `json:"ImageOsName,omitempty" name:"ImageOsName"` // 镜像描述 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 镜像导入时间 ImageCreateTime *string `json:"ImageCreateTime,omitempty" name:"ImageCreateTime"` // 操作系统位数 Architecture *string `json:"Architecture,omitempty" name:"Architecture"` // 操作系统类型 OsType *string `json:"OsType,omitempty" name:"OsType"` // 操作系统版本 OsVersion *string `json:"OsVersion,omitempty" name:"OsVersion"` // 操作系统平台 Platform *string `json:"Platform,omitempty" name:"Platform"` // 镜像所有者 ImageOwner *int64 `json:"ImageOwner,omitempty" name:"ImageOwner"` // 镜像大小。单位:GB ImageSize *int64 `json:"ImageSize,omitempty" name:"ImageSize"` // 镜像来源信息 SrcImage *SrcImage `json:"SrcImage,omitempty" name:"SrcImage"` // 镜像来源类型 ImageSource *string `json:"ImageSource,omitempty" name:"ImageSource"` // 中间态和失败时候的任务ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 是否支持CloudInit IsSupportCloudInit *bool `json:"IsSupportCloudInit,omitempty" name:"IsSupportCloudInit"` }
type ImageLimitConfig ¶
type ImageLimitConfig struct { // 支持的最大镜像大小,包括可导入的自定义镜像大小,中心云镜像大小,单位为GB。 MaxImageSize *int64 `json:"MaxImageSize,omitempty" name:"MaxImageSize"` }
type ImageOsList ¶
type ImageTask ¶
type ImageTask struct { // 镜像导入状态, PENDING, PROCESSING, SUCCESS, FAILED State *string `json:"State,omitempty" name:"State"` // 导入失败(FAILED)时, 说明失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitempty" name:"Message"` // 镜像名称 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type ImageUrl ¶
type ImageUrl struct { // 镜像文件COS链接,如设置私有读写,需授权腾讯云ECM运营账号访问权限。 ImageFile *string `json:"ImageFile,omitempty" name:"ImageFile"` }
type ImportCustomImageRequest ¶
type ImportCustomImageRequest struct { *tchttp.BaseRequest // 镜像名称 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 导入镜像的操作系统架构,x86_64 或 i386 Architecture *string `json:"Architecture,omitempty" name:"Architecture"` // 导入镜像的操作系统类型,通过DescribeImportImageOs获取 OsType *string `json:"OsType,omitempty" name:"OsType"` // 导入镜像的操作系统版本,通过DescribeImportImageOs获取 OsVersion *string `json:"OsVersion,omitempty" name:"OsVersion"` // 镜像描述 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 镜像启动方式,cloudinit或nbd, 默认cloudinit InitFlag *string `json:"InitFlag,omitempty" name:"InitFlag"` // 镜像文件描述,多层镜像按顺序传入 ImageUrls []*ImageUrl `json:"ImageUrls,omitempty" name:"ImageUrls"` }
func NewImportCustomImageRequest ¶
func NewImportCustomImageRequest() (request *ImportCustomImageRequest)
func (*ImportCustomImageRequest) FromJsonString ¶
func (r *ImportCustomImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportCustomImageRequest) ToJsonString ¶
func (r *ImportCustomImageRequest) ToJsonString() string
type ImportCustomImageRequestParams ¶ added in v1.0.426
type ImportCustomImageRequestParams struct { // 镜像名称 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 导入镜像的操作系统架构,x86_64 或 i386 Architecture *string `json:"Architecture,omitempty" name:"Architecture"` // 导入镜像的操作系统类型,通过DescribeImportImageOs获取 OsType *string `json:"OsType,omitempty" name:"OsType"` // 导入镜像的操作系统版本,通过DescribeImportImageOs获取 OsVersion *string `json:"OsVersion,omitempty" name:"OsVersion"` // 镜像描述 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 镜像启动方式,cloudinit或nbd, 默认cloudinit InitFlag *string `json:"InitFlag,omitempty" name:"InitFlag"` // 镜像文件描述,多层镜像按顺序传入 ImageUrls []*ImageUrl `json:"ImageUrls,omitempty" name:"ImageUrls"` }
Predefined struct for user
type ImportCustomImageResponse ¶
type ImportCustomImageResponse struct { *tchttp.BaseResponse Response *ImportCustomImageResponseParams `json:"Response"` }
func NewImportCustomImageResponse ¶
func NewImportCustomImageResponse() (response *ImportCustomImageResponse)
func (*ImportCustomImageResponse) FromJsonString ¶
func (r *ImportCustomImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportCustomImageResponse) ToJsonString ¶
func (r *ImportCustomImageResponse) ToJsonString() string
type ImportCustomImageResponseParams ¶ added in v1.0.426
type ImportCustomImageResponseParams struct { // 镜像ID ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 异步任务ID,可根据DescribeCustomImageTask查询任务信息 TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ImportImageRequest ¶
type ImportImageRequest struct { *tchttp.BaseRequest // 镜像的Id。 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 镜像的描述。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 源地域 SourceRegion *string `json:"SourceRegion,omitempty" name:"SourceRegion"` }
func NewImportImageRequest ¶
func NewImportImageRequest() (request *ImportImageRequest)
func (*ImportImageRequest) FromJsonString ¶
func (r *ImportImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportImageRequest) ToJsonString ¶
func (r *ImportImageRequest) ToJsonString() string
type ImportImageRequestParams ¶ added in v1.0.426
type ImportImageRequestParams struct { // 镜像的Id。 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 镜像的描述。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 源地域 SourceRegion *string `json:"SourceRegion,omitempty" name:"SourceRegion"` }
Predefined struct for user
type ImportImageResponse ¶
type ImportImageResponse struct { *tchttp.BaseResponse Response *ImportImageResponseParams `json:"Response"` }
func NewImportImageResponse ¶
func NewImportImageResponse() (response *ImportImageResponse)
func (*ImportImageResponse) FromJsonString ¶
func (r *ImportImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportImageResponse) ToJsonString ¶
func (r *ImportImageResponse) ToJsonString() string
type ImportImageResponseParams ¶ added in v1.0.426
type ImportImageResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Instance ¶
type Instance struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称,如ens-34241f3s。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 实例状态。取值范围: // PENDING:表示创建中 // LAUNCH_FAILED:表示创建失败 // RUNNING:表示运行中 // STOPPED:表示关机 // STARTING:表示开机中 // STOPPING:表示关机中 // REBOOTING:表示重启中 // SHUTDOWN:表示停止待销毁 // TERMINATING:表示销毁中。 InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"` // 实例当前使用的镜像的信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Image *Image `json:"Image,omitempty" name:"Image"` // 实例当前所属的模块简要信息。 // 注意:此字段可能返回 null,表示取不到有效值。 SimpleModule *SimpleModule `json:"SimpleModule,omitempty" name:"SimpleModule"` // 实例所在的位置相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Position *Position `json:"Position,omitempty" name:"Position"` // 实例的网络相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Internet *Internet `json:"Internet,omitempty" name:"Internet"` // 实例的配置相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitempty" name:"InstanceTypeConfig"` // 实例的创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 实例的标签信息。 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` // 实例最后一次操作。 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperation *string `json:"LatestOperation,omitempty" name:"LatestOperation"` // 实例最后一次操作结果。 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationState *string `json:"LatestOperationState,omitempty" name:"LatestOperationState"` // 实例业务状态。取值范围: // NORMAL:表示正常状态的实例 // EXPIRED:表示过期的实例 // PROTECTIVELY_ISOLATED:表示被安全隔离的实例。 // 注意:此字段可能返回 null,表示取不到有效值。 RestrictState *string `json:"RestrictState,omitempty" name:"RestrictState"` // 系统盘大小,单位GB。 // 注意:此字段可能返回 null,表示取不到有效值。 SystemDiskSize *int64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"` // 数据盘大小,单位GB。 // 注意:此字段可能返回 null,表示取不到有效值。 DataDiskSize *int64 `json:"DataDiskSize,omitempty" name:"DataDiskSize"` // 实例UUID // 注意:此字段可能返回 null,表示取不到有效值。 UUID *string `json:"UUID,omitempty" name:"UUID"` // 付费方式。 // 0为后付费。 // 1为预付费。 // 注意:此字段可能返回 null,表示取不到有效值。 PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // 过期时间。格式为yyyy-mm-dd HH:mm:ss。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // 隔离时间。格式为yyyy-mm-dd HH:mm:ss。 // 注意:此字段可能返回 null,表示取不到有效值。 IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"` // 是否自动续费。 // 0为不自动续费。 // 1为自动续费。 // 注意:此字段可能返回 null,表示取不到有效值。 RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // 过期状态。 // NORMAL 表示机器运行正常。 // WILL_EXPIRE 表示即将过期。 // EXPIRED 表示已过期。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireState *string `json:"ExpireState,omitempty" name:"ExpireState"` // 系统盘信息 // 注意:此字段可能返回 null,表示取不到有效值。 SystemDisk *DiskInfo `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息 // 注意:此字段可能返回 null,表示取不到有效值。 DataDisks []*DiskInfo `json:"DataDisks,omitempty" name:"DataDisks"` // 新实例标志 // 注意:此字段可能返回 null,表示取不到有效值。 NewFlag *int64 `json:"NewFlag,omitempty" name:"NewFlag"` // 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。 // 注意:此字段可能返回 null,表示取不到有效值。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // VPC属性 // 注意:此字段可能返回 null,表示取不到有效值。 VirtualPrivateCloud *VirtualPrivateCloud `json:"VirtualPrivateCloud,omitempty" name:"VirtualPrivateCloud"` // 实例运营商字段。 // 注意:此字段可能返回 null,表示取不到有效值。 ISP *string `json:"ISP,omitempty" name:"ISP"` // 物理位置信息。注意该字段目前为保留字段,均为空值。 // 注意:此字段可能返回 null,表示取不到有效值。 PhysicalPosition *PhysicalPosition `json:"PhysicalPosition,omitempty" name:"PhysicalPosition"` }
type InstanceFamilyConfig ¶
type InstanceNetworkInfo ¶
type InstanceNetworkInfo struct { // 实例内外网ip相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 AddressInfoSet []*AddressInfo `json:"AddressInfoSet,omitempty" name:"AddressInfoSet"` // 网卡ID。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 网卡名称。 // 注意:此字段可能返回 null,表示取不到有效值。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 主网卡属性。true为主网卡,false为辅助网卡。 Primary *bool `json:"Primary,omitempty" name:"Primary"` }
type InstanceNetworkLimitConfig ¶
type InstanceNetworkLimitConfig struct { // cpu核数 CpuNum *int64 `json:"CpuNum,omitempty" name:"CpuNum"` // 网卡数量限制 NetworkInterfaceLimit *int64 `json:"NetworkInterfaceLimit,omitempty" name:"NetworkInterfaceLimit"` // 每张网卡内网ip数量限制 InnerIpPerNetworkInterface *int64 `json:"InnerIpPerNetworkInterface,omitempty" name:"InnerIpPerNetworkInterface"` // 每个实例的外网ip限制 PublicIpPerInstance *int64 `json:"PublicIpPerInstance,omitempty" name:"PublicIpPerInstance"` }
type InstanceOperator ¶
type InstanceOperator struct { // 实例id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例禁止的操作 // 注意:此字段可能返回 null,表示取不到有效值。 DeniedActions []*OperatorAction `json:"DeniedActions,omitempty" name:"DeniedActions"` }
type InstancePricesPartDetail ¶ added in v1.0.295
type InstancePricesPartDetail struct { // cpu的价格信息 CpuPrice *PriceDetail `json:"CpuPrice,omitempty" name:"CpuPrice"` // 内存价格信息 MemPrice *PriceDetail `json:"MemPrice,omitempty" name:"MemPrice"` // 磁盘价格信息 DisksPrice *PriceDetail `json:"DisksPrice,omitempty" name:"DisksPrice"` }
type InstanceStatistic ¶
type InstanceTypeConfig ¶
type InstanceTypeConfig struct { // 机型族配置信息 InstanceFamilyConfig *InstanceFamilyConfig `json:"InstanceFamilyConfig,omitempty" name:"InstanceFamilyConfig"` // 机型 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // CPU核数 Vcpu *int64 `json:"Vcpu,omitempty" name:"Vcpu"` // 内存大小 Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 主频 Frequency *string `json:"Frequency,omitempty" name:"Frequency"` // 处理器型号 CpuModelName *string `json:"CpuModelName,omitempty" name:"CpuModelName"` // 机型族类别配置信息 InstanceFamilyTypeConfig *InstanceFamilyTypeConfig `json:"InstanceFamilyTypeConfig,omitempty" name:"InstanceFamilyTypeConfig"` // 机型额外信息 是一个json字符串,如果存在则表示特殊机型,格式如下:{"dataDiskSize":3200,"systemDiskSize":60, "systemDiskSizeShow":"系统盘默认60G","dataDiskSizeShow":"本地NVMe SSD 硬盘3200 GB"} // 注意:此字段可能返回 null,表示取不到有效值。 ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"` // GPU卡数 // 注意:此字段可能返回 null,表示取不到有效值。 Vgpu *float64 `json:"Vgpu,omitempty" name:"Vgpu"` // GPU型号 // 注意:此字段可能返回 null,表示取不到有效值。 GpuModelName *string `json:"GpuModelName,omitempty" name:"GpuModelName"` }
type InstancesPrice ¶ added in v1.0.295
type InstancesPrice struct { // 分部描述实例子维度的价格 InstancePricesPartDetail *InstancePricesPartDetail `json:"InstancePricesPartDetail,omitempty" name:"InstancePricesPartDetail"` // 实例总价折扣 Discount *uint64 `json:"Discount,omitempty" name:"Discount"` // 折扣后价格 DiscountPrice *uint64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"` // 折扣前价格,原始总价 OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` }
type Internet ¶
type Internet struct { // 实例的内网相关信息列表。顺序为主网卡在前,辅助网卡按绑定先后顺序排列。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIPAddressSet []*PrivateIPAddressInfo `json:"PrivateIPAddressSet,omitempty" name:"PrivateIPAddressSet"` // 实例的公网相关信息列表。顺序为主网卡在前,辅助网卡按绑定先后顺序排列。 // 注意:此字段可能返回 null,表示取不到有效值。 PublicIPAddressSet []*PublicIPAddressInfo `json:"PublicIPAddressSet,omitempty" name:"PublicIPAddressSet"` // 实例网络相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceNetworkInfoSet []*InstanceNetworkInfo `json:"InstanceNetworkInfoSet,omitempty" name:"InstanceNetworkInfoSet"` }
type Ipv6Address ¶
type Ipv6Address struct { // IPv6地址,形如:3402:4e00:20:100:0:8cd9:2a67:71f3 Address *string `json:"Address,omitempty" name:"Address"` // 是否是主IP。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // EIP实例ID,形如:eip-hxlqja90。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 公网IP是否被封堵。 IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"` // IPv6地址状态: // PENDING:生产中 // MIGRATING:迁移中 // DELETING:删除中 // AVAILABLE:可用的 State *string `json:"State,omitempty" name:"State"` }
type KeyPair ¶ added in v1.0.278
type KeyPair struct { // 密钥对的ID,是密钥对的唯一标识。 // 注意:此字段可能返回 null,表示取不到有效值。 KeyId *string `json:"KeyId,omitempty" name:"KeyId"` // 密钥对名称。 // 注意:此字段可能返回 null,表示取不到有效值。 KeyName *string `json:"KeyName,omitempty" name:"KeyName"` // 密钥对所属的项目ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 密钥对描述信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitempty" name:"Description"` // 密钥对的纯文本公钥。 // 注意:此字段可能返回 null,表示取不到有效值。 PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"` // 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` // 钥关联的实例ID列表。 // 注意:此字段可能返回 null,表示取不到有效值。 AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitempty" name:"AssociatedInstanceIds"` // 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type Listener ¶
type Listener struct { // 负载均衡监听器 ID // 注意:此字段可能返回 null,表示取不到有效值。 ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 监听器协议 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 监听器端口 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitempty" name:"Port"` // 监听器的健康检查信息 // 注意:此字段可能返回 null,表示取不到有效值。 HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // 请求的调度方式 // 注意:此字段可能返回 null,表示取不到有效值。 Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` // 会话保持时间 // 注意:此字段可能返回 null,表示取不到有效值。 SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // 监听器的名称 // 注意:此字段可能返回 null,表示取不到有效值。 ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // 监听器的创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 监听器的会话类型 // 注意:此字段可能返回 null,表示取不到有效值。 SessionType *string `json:"SessionType,omitempty" name:"SessionType"` // 端口段结束端口 // 注意:此字段可能返回 null,表示取不到有效值。 EndPort *int64 `json:"EndPort,omitempty" name:"EndPort"` }
type ListenerBackend ¶
type ListenerBackend struct { // 监听器 ID // 注意:此字段可能返回 null,表示取不到有效值。 ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 监听器的协议 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 监听器的端口 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitempty" name:"Port"` // 监听器上绑定的后端服务列表 // 注意:此字段可能返回 null,表示取不到有效值。 Targets []*Backend `json:"Targets,omitempty" name:"Targets"` }
type ListenerHealth ¶
type ListenerHealth struct { // 监听器ID // 注意:此字段可能返回 null,表示取不到有效值。 ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 监听器名称 // 注意:此字段可能返回 null,表示取不到有效值。 ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // 监听器的协议 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 监听器的端口 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitempty" name:"Port"` // 监听器的转发规则列表 // 注意:此字段可能返回 null,表示取不到有效值。 Rules []*RuleHealth `json:"Rules,omitempty" name:"Rules"` }
type LoadBalancer ¶
type LoadBalancer struct { // 区域。 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitempty" name:"Region"` // 位置信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Position *Position `json:"Position,omitempty" name:"Position"` // 负载均衡实例 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡实例的名称。 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 负载均衡实例的网络类型:OPEN:公网属性 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // 负载均衡实例的 VIP 列表。 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips"` // 负载均衡实例的状态,包括 // 0:创建中,1:正常运行。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 负载均衡实例的创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 负载均衡实例的上次状态转换时间。 // 注意:此字段可能返回 null,表示取不到有效值。 StatusTime *string `json:"StatusTime,omitempty" name:"StatusTime"` // 私有网络的 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 负载均衡实例的标签信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // 负载均衡IP地址所属的ISP。 // 注意:此字段可能返回 null,表示取不到有效值。 VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"` // 负载均衡实例的网络属性。 // 注意:此字段可能返回 null,表示取不到有效值。 NetworkAttributes *LoadBalancerInternetAccessible `json:"NetworkAttributes,omitempty" name:"NetworkAttributes"` // 安全组。 // 注意:此字段可能返回 null,表示取不到有效值。 SecureGroups []*string `json:"SecureGroups,omitempty" name:"SecureGroups"` // 后端机器是否放通来自ELB的流量。 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitempty" name:"LoadBalancerPassToTarget"` // 负载均衡实例的IPv6地址 // 注意:此字段可能返回 null,表示取不到有效值。 AddressIPv6 *string `json:"AddressIPv6,omitempty" name:"AddressIPv6"` }
type LoadBalancerHealth ¶
type LoadBalancerHealth struct { // 负载均衡实例ID // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 监听器列表 // 注意:此字段可能返回 null,表示取不到有效值。 Listeners []*ListenerHealth `json:"Listeners,omitempty" name:"Listeners"` }
type LoadBalancerInternetAccessible ¶
type LoadBalancerInternetAccessible struct { // 最大出带宽,单位Mbps。默认值10 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
type MigrateNetworkInterfaceRequest ¶
type MigrateNetworkInterfaceRequest struct { *tchttp.BaseRequest // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡当前绑定的ECM实例ID。形如:ein-r8hr2upy。 SourceInstanceId *string `json:"SourceInstanceId,omitempty" name:"SourceInstanceId"` // 待迁移的目的ECM实例ID。 DestinationInstanceId *string `json:"DestinationInstanceId,omitempty" name:"DestinationInstanceId"` }
func NewMigrateNetworkInterfaceRequest ¶
func NewMigrateNetworkInterfaceRequest() (request *MigrateNetworkInterfaceRequest)
func (*MigrateNetworkInterfaceRequest) FromJsonString ¶
func (r *MigrateNetworkInterfaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigrateNetworkInterfaceRequest) ToJsonString ¶
func (r *MigrateNetworkInterfaceRequest) ToJsonString() string
type MigrateNetworkInterfaceRequestParams ¶ added in v1.0.426
type MigrateNetworkInterfaceRequestParams struct { // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡当前绑定的ECM实例ID。形如:ein-r8hr2upy。 SourceInstanceId *string `json:"SourceInstanceId,omitempty" name:"SourceInstanceId"` // 待迁移的目的ECM实例ID。 DestinationInstanceId *string `json:"DestinationInstanceId,omitempty" name:"DestinationInstanceId"` }
Predefined struct for user
type MigrateNetworkInterfaceResponse ¶
type MigrateNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *MigrateNetworkInterfaceResponseParams `json:"Response"` }
func NewMigrateNetworkInterfaceResponse ¶
func NewMigrateNetworkInterfaceResponse() (response *MigrateNetworkInterfaceResponse)
func (*MigrateNetworkInterfaceResponse) FromJsonString ¶
func (r *MigrateNetworkInterfaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigrateNetworkInterfaceResponse) ToJsonString ¶
func (r *MigrateNetworkInterfaceResponse) ToJsonString() string
type MigrateNetworkInterfaceResponseParams ¶ added in v1.0.426
type MigrateNetworkInterfaceResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MigratePrivateIpAddressRequest ¶
type MigratePrivateIpAddressRequest struct { *tchttp.BaseRequest // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 当前内网IP绑定的弹性网卡实例ID,例如:eni-11112222。 SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitempty" name:"SourceNetworkInterfaceId"` // 待迁移的目的弹性网卡实例ID。 DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitempty" name:"DestinationNetworkInterfaceId"` // 迁移的内网IP地址,例如:10.0.0.6。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
func NewMigratePrivateIpAddressRequest ¶
func NewMigratePrivateIpAddressRequest() (request *MigratePrivateIpAddressRequest)
func (*MigratePrivateIpAddressRequest) FromJsonString ¶
func (r *MigratePrivateIpAddressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigratePrivateIpAddressRequest) ToJsonString ¶
func (r *MigratePrivateIpAddressRequest) ToJsonString() string
type MigratePrivateIpAddressRequestParams ¶ added in v1.0.426
type MigratePrivateIpAddressRequestParams struct { // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 当前内网IP绑定的弹性网卡实例ID,例如:eni-11112222。 SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitempty" name:"SourceNetworkInterfaceId"` // 待迁移的目的弹性网卡实例ID。 DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitempty" name:"DestinationNetworkInterfaceId"` // 迁移的内网IP地址,例如:10.0.0.6。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
Predefined struct for user
type MigratePrivateIpAddressResponse ¶
type MigratePrivateIpAddressResponse struct { *tchttp.BaseResponse Response *MigratePrivateIpAddressResponseParams `json:"Response"` }
func NewMigratePrivateIpAddressResponse ¶
func NewMigratePrivateIpAddressResponse() (response *MigratePrivateIpAddressResponse)
func (*MigratePrivateIpAddressResponse) FromJsonString ¶
func (r *MigratePrivateIpAddressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MigratePrivateIpAddressResponse) ToJsonString ¶
func (r *MigratePrivateIpAddressResponse) ToJsonString() string
type MigratePrivateIpAddressResponseParams ¶ added in v1.0.426
type MigratePrivateIpAddressResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAddressAttributeRequest ¶
type ModifyAddressAttributeRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 修改后的 EIP 名称。长度上限为20个字符。 AddressName *string `json:"AddressName,omitempty" name:"AddressName"` // 设定EIP是否直通,"TRUE"表示直通,"FALSE"表示非直通。注意该参数仅对EIP直通功能可见的用户可以设定。 EipDirectConnection *string `json:"EipDirectConnection,omitempty" name:"EipDirectConnection"` }
func NewModifyAddressAttributeRequest ¶
func NewModifyAddressAttributeRequest() (request *ModifyAddressAttributeRequest)
func (*ModifyAddressAttributeRequest) FromJsonString ¶
func (r *ModifyAddressAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAddressAttributeRequest) ToJsonString ¶
func (r *ModifyAddressAttributeRequest) ToJsonString() string
type ModifyAddressAttributeRequestParams ¶ added in v1.0.426
type ModifyAddressAttributeRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 修改后的 EIP 名称。长度上限为20个字符。 AddressName *string `json:"AddressName,omitempty" name:"AddressName"` // 设定EIP是否直通,"TRUE"表示直通,"FALSE"表示非直通。注意该参数仅对EIP直通功能可见的用户可以设定。 EipDirectConnection *string `json:"EipDirectConnection,omitempty" name:"EipDirectConnection"` }
Predefined struct for user
type ModifyAddressAttributeResponse ¶
type ModifyAddressAttributeResponse struct { *tchttp.BaseResponse Response *ModifyAddressAttributeResponseParams `json:"Response"` }
func NewModifyAddressAttributeResponse ¶
func NewModifyAddressAttributeResponse() (response *ModifyAddressAttributeResponse)
func (*ModifyAddressAttributeResponse) FromJsonString ¶
func (r *ModifyAddressAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAddressAttributeResponse) ToJsonString ¶
func (r *ModifyAddressAttributeResponse) ToJsonString() string
type ModifyAddressAttributeResponseParams ¶ added in v1.0.426
type ModifyAddressAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAddressesBandwidthRequest ¶
type ModifyAddressesBandwidthRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // EIP唯一标识ID,形如'eip-xxxxxxx' AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` // 调整带宽目标值 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
func NewModifyAddressesBandwidthRequest ¶
func NewModifyAddressesBandwidthRequest() (request *ModifyAddressesBandwidthRequest)
func (*ModifyAddressesBandwidthRequest) FromJsonString ¶
func (r *ModifyAddressesBandwidthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAddressesBandwidthRequest) ToJsonString ¶
func (r *ModifyAddressesBandwidthRequest) ToJsonString() string
type ModifyAddressesBandwidthRequestParams ¶ added in v1.0.426
type ModifyAddressesBandwidthRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // EIP唯一标识ID,形如'eip-xxxxxxx' AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` // 调整带宽目标值 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
Predefined struct for user
type ModifyAddressesBandwidthResponse ¶
type ModifyAddressesBandwidthResponse struct { *tchttp.BaseResponse Response *ModifyAddressesBandwidthResponseParams `json:"Response"` }
func NewModifyAddressesBandwidthResponse ¶
func NewModifyAddressesBandwidthResponse() (response *ModifyAddressesBandwidthResponse)
func (*ModifyAddressesBandwidthResponse) FromJsonString ¶
func (r *ModifyAddressesBandwidthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAddressesBandwidthResponse) ToJsonString ¶
func (r *ModifyAddressesBandwidthResponse) ToJsonString() string
type ModifyAddressesBandwidthResponseParams ¶ added in v1.0.426
type ModifyAddressesBandwidthResponseParams struct { // 异步任务TaskId。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDefaultSubnetRequest ¶
type ModifyDefaultSubnetRequest struct { *tchttp.BaseRequest // ECM地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // ECM可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` // 私有网络ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
func NewModifyDefaultSubnetRequest ¶
func NewModifyDefaultSubnetRequest() (request *ModifyDefaultSubnetRequest)
func (*ModifyDefaultSubnetRequest) FromJsonString ¶
func (r *ModifyDefaultSubnetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultSubnetRequest) ToJsonString ¶
func (r *ModifyDefaultSubnetRequest) ToJsonString() string
type ModifyDefaultSubnetRequestParams ¶ added in v1.0.426
type ModifyDefaultSubnetRequestParams struct { // ECM地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // ECM可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` // 私有网络ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
Predefined struct for user
type ModifyDefaultSubnetResponse ¶
type ModifyDefaultSubnetResponse struct { *tchttp.BaseResponse Response *ModifyDefaultSubnetResponseParams `json:"Response"` }
func NewModifyDefaultSubnetResponse ¶
func NewModifyDefaultSubnetResponse() (response *ModifyDefaultSubnetResponse)
func (*ModifyDefaultSubnetResponse) FromJsonString ¶
func (r *ModifyDefaultSubnetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultSubnetResponse) ToJsonString ¶
func (r *ModifyDefaultSubnetResponse) ToJsonString() string
type ModifyDefaultSubnetResponseParams ¶ added in v1.0.426
type ModifyDefaultSubnetResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyHaVipAttributeRequest ¶
type ModifyHaVipAttributeRequest struct { *tchttp.BaseRequest // HAVIP唯一ID,形如:havip-9o233uri。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // HAVIP名称,可任意命名,但不得超过60个字符。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` }
func NewModifyHaVipAttributeRequest ¶
func NewModifyHaVipAttributeRequest() (request *ModifyHaVipAttributeRequest)
func (*ModifyHaVipAttributeRequest) FromJsonString ¶
func (r *ModifyHaVipAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHaVipAttributeRequest) ToJsonString ¶
func (r *ModifyHaVipAttributeRequest) ToJsonString() string
type ModifyHaVipAttributeRequestParams ¶ added in v1.0.426
type ModifyHaVipAttributeRequestParams struct { // HAVIP唯一ID,形如:havip-9o233uri。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // HAVIP名称,可任意命名,但不得超过60个字符。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` }
Predefined struct for user
type ModifyHaVipAttributeResponse ¶
type ModifyHaVipAttributeResponse struct { *tchttp.BaseResponse Response *ModifyHaVipAttributeResponseParams `json:"Response"` }
func NewModifyHaVipAttributeResponse ¶
func NewModifyHaVipAttributeResponse() (response *ModifyHaVipAttributeResponse)
func (*ModifyHaVipAttributeResponse) FromJsonString ¶
func (r *ModifyHaVipAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHaVipAttributeResponse) ToJsonString ¶
func (r *ModifyHaVipAttributeResponse) ToJsonString() string
type ModifyHaVipAttributeResponseParams ¶ added in v1.0.426
type ModifyHaVipAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyImageAttributeRequest ¶
type ModifyImageAttributeRequest struct { *tchttp.BaseRequest // 镜像ID,形如img-gvbnzy6f ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 设置新的镜像名称;必须满足下列限制: // 不得超过20个字符。 // - 镜像名称不能与已有镜像重复。 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 设置新的镜像描述;必须满足下列限制: // - 不得超过60个字符。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` }
func NewModifyImageAttributeRequest ¶
func NewModifyImageAttributeRequest() (request *ModifyImageAttributeRequest)
func (*ModifyImageAttributeRequest) FromJsonString ¶
func (r *ModifyImageAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageAttributeRequest) ToJsonString ¶
func (r *ModifyImageAttributeRequest) ToJsonString() string
type ModifyImageAttributeRequestParams ¶ added in v1.0.426
type ModifyImageAttributeRequestParams struct { // 镜像ID,形如img-gvbnzy6f ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 设置新的镜像名称;必须满足下列限制: // 不得超过20个字符。 // - 镜像名称不能与已有镜像重复。 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 设置新的镜像描述;必须满足下列限制: // - 不得超过60个字符。 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` }
Predefined struct for user
type ModifyImageAttributeResponse ¶
type ModifyImageAttributeResponse struct { *tchttp.BaseResponse Response *ModifyImageAttributeResponseParams `json:"Response"` }
func NewModifyImageAttributeResponse ¶
func NewModifyImageAttributeResponse() (response *ModifyImageAttributeResponse)
func (*ModifyImageAttributeResponse) FromJsonString ¶
func (r *ModifyImageAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyImageAttributeResponse) ToJsonString ¶
func (r *ModifyImageAttributeResponse) ToJsonString() string
type ModifyImageAttributeResponseParams ¶ added in v1.0.426
type ModifyImageAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesAttributeRequest ¶
type ModifyInstancesAttributeRequest struct { *tchttp.BaseRequest // 待修改的实例ID列表。在单次请求的过程中,请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 修改成功后显示的实例名称,不得超过60个字符,不传则名称显示为空。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 指定实例的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。限制不超过5个。 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` }
func NewModifyInstancesAttributeRequest ¶
func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)
func (*ModifyInstancesAttributeRequest) FromJsonString ¶
func (r *ModifyInstancesAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesAttributeRequest) ToJsonString ¶
func (r *ModifyInstancesAttributeRequest) ToJsonString() string
type ModifyInstancesAttributeRequestParams ¶ added in v1.0.426
type ModifyInstancesAttributeRequestParams struct { // 待修改的实例ID列表。在单次请求的过程中,请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 修改成功后显示的实例名称,不得超过60个字符,不传则名称显示为空。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 指定实例的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。限制不超过5个。 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` }
Predefined struct for user
type ModifyInstancesAttributeResponse ¶
type ModifyInstancesAttributeResponse struct { *tchttp.BaseResponse Response *ModifyInstancesAttributeResponseParams `json:"Response"` }
func NewModifyInstancesAttributeResponse ¶
func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)
func (*ModifyInstancesAttributeResponse) FromJsonString ¶
func (r *ModifyInstancesAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesAttributeResponse) ToJsonString ¶
func (r *ModifyInstancesAttributeResponse) ToJsonString() string
type ModifyInstancesAttributeResponseParams ¶ added in v1.0.426
type ModifyInstancesAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyIpv6AddressesAttributeRequest ¶
type ModifyIpv6AddressesAttributeRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址信息。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` }
func NewModifyIpv6AddressesAttributeRequest ¶
func NewModifyIpv6AddressesAttributeRequest() (request *ModifyIpv6AddressesAttributeRequest)
func (*ModifyIpv6AddressesAttributeRequest) FromJsonString ¶
func (r *ModifyIpv6AddressesAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIpv6AddressesAttributeRequest) ToJsonString ¶
func (r *ModifyIpv6AddressesAttributeRequest) ToJsonString() string
type ModifyIpv6AddressesAttributeRequestParams ¶ added in v1.0.426
type ModifyIpv6AddressesAttributeRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址信息。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` }
Predefined struct for user
type ModifyIpv6AddressesAttributeResponse ¶
type ModifyIpv6AddressesAttributeResponse struct { *tchttp.BaseResponse Response *ModifyIpv6AddressesAttributeResponseParams `json:"Response"` }
func NewModifyIpv6AddressesAttributeResponse ¶
func NewModifyIpv6AddressesAttributeResponse() (response *ModifyIpv6AddressesAttributeResponse)
func (*ModifyIpv6AddressesAttributeResponse) FromJsonString ¶
func (r *ModifyIpv6AddressesAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIpv6AddressesAttributeResponse) ToJsonString ¶
func (r *ModifyIpv6AddressesAttributeResponse) ToJsonString() string
type ModifyIpv6AddressesAttributeResponseParams ¶ added in v1.0.426
type ModifyIpv6AddressesAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyListenerRequest ¶
type ModifyListenerRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 新的监听器名称 ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。 SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // 健康检查相关参数 HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // 监听器转发的方式。可选值:WRR、LEAST_CONN // 分别表示按权重轮询、最小连接数, 默认为 WRR。 Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` }
func NewModifyListenerRequest ¶
func NewModifyListenerRequest() (request *ModifyListenerRequest)
func (*ModifyListenerRequest) FromJsonString ¶
func (r *ModifyListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyListenerRequest) ToJsonString ¶
func (r *ModifyListenerRequest) ToJsonString() string
type ModifyListenerRequestParams ¶ added in v1.0.426
type ModifyListenerRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 新的监听器名称 ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"` // 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。 SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"` // 健康检查相关参数 HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"` // 监听器转发的方式。可选值:WRR、LEAST_CONN // 分别表示按权重轮询、最小连接数, 默认为 WRR。 Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"` }
Predefined struct for user
type ModifyListenerResponse ¶
type ModifyListenerResponse struct { *tchttp.BaseResponse Response *ModifyListenerResponseParams `json:"Response"` }
func NewModifyListenerResponse ¶
func NewModifyListenerResponse() (response *ModifyListenerResponse)
func (*ModifyListenerResponse) FromJsonString ¶
func (r *ModifyListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyListenerResponse) ToJsonString ¶
func (r *ModifyListenerResponse) ToJsonString() string
type ModifyListenerResponseParams ¶ added in v1.0.426
type ModifyListenerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerAttributesRequest ¶
type ModifyLoadBalancerAttributesRequest struct { *tchttp.BaseRequest // 负载均衡的唯一ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡实例名称 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 网络计费及带宽相关参数 InternetChargeInfo *LoadBalancerInternetAccessible `json:"InternetChargeInfo,omitempty" name:"InternetChargeInfo"` // Target是否放通来自ELB的流量。开启放通(true):只验证ELB上的安全组;不开启放通(false):需同时验证ELB和后端实例上的安全组。 LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitempty" name:"LoadBalancerPassToTarget"` }
func NewModifyLoadBalancerAttributesRequest ¶
func NewModifyLoadBalancerAttributesRequest() (request *ModifyLoadBalancerAttributesRequest)
func (*ModifyLoadBalancerAttributesRequest) FromJsonString ¶
func (r *ModifyLoadBalancerAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerAttributesRequest) ToJsonString ¶
func (r *ModifyLoadBalancerAttributesRequest) ToJsonString() string
type ModifyLoadBalancerAttributesRequestParams ¶ added in v1.0.426
type ModifyLoadBalancerAttributesRequestParams struct { // 负载均衡的唯一ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡实例名称 LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"` // 网络计费及带宽相关参数 InternetChargeInfo *LoadBalancerInternetAccessible `json:"InternetChargeInfo,omitempty" name:"InternetChargeInfo"` // Target是否放通来自ELB的流量。开启放通(true):只验证ELB上的安全组;不开启放通(false):需同时验证ELB和后端实例上的安全组。 LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitempty" name:"LoadBalancerPassToTarget"` }
Predefined struct for user
type ModifyLoadBalancerAttributesResponse ¶
type ModifyLoadBalancerAttributesResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancerAttributesResponseParams `json:"Response"` }
func NewModifyLoadBalancerAttributesResponse ¶
func NewModifyLoadBalancerAttributesResponse() (response *ModifyLoadBalancerAttributesResponse)
func (*ModifyLoadBalancerAttributesResponse) FromJsonString ¶
func (r *ModifyLoadBalancerAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerAttributesResponse) ToJsonString ¶
func (r *ModifyLoadBalancerAttributesResponse) ToJsonString() string
type ModifyLoadBalancerAttributesResponseParams ¶ added in v1.0.426
type ModifyLoadBalancerAttributesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleConfigRequest ¶
type ModifyModuleConfigRequest struct { *tchttp.BaseRequest // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 机型ID。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 默认数据盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"` // 默认系统盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"` // 系统盘 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
func NewModifyModuleConfigRequest ¶
func NewModifyModuleConfigRequest() (request *ModifyModuleConfigRequest)
func (*ModifyModuleConfigRequest) FromJsonString ¶
func (r *ModifyModuleConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleConfigRequest) ToJsonString ¶
func (r *ModifyModuleConfigRequest) ToJsonString() string
type ModifyModuleConfigRequestParams ¶ added in v1.0.426
type ModifyModuleConfigRequestParams struct { // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 机型ID。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 默认数据盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"` // 默认系统盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。 DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"` // 系统盘 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
Predefined struct for user
type ModifyModuleConfigResponse ¶
type ModifyModuleConfigResponse struct { *tchttp.BaseResponse Response *ModifyModuleConfigResponseParams `json:"Response"` }
func NewModifyModuleConfigResponse ¶
func NewModifyModuleConfigResponse() (response *ModifyModuleConfigResponse)
func (*ModifyModuleConfigResponse) FromJsonString ¶
func (r *ModifyModuleConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleConfigResponse) ToJsonString ¶
func (r *ModifyModuleConfigResponse) ToJsonString() string
type ModifyModuleConfigResponseParams ¶ added in v1.0.426
type ModifyModuleConfigResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleDisableWanIpRequest ¶
type ModifyModuleDisableWanIpRequest struct { *tchttp.BaseRequest // 模块ID ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 是否禁止分配外网ip,true:统一分配外网ip,false:禁止分配外网ip. DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"` }
func NewModifyModuleDisableWanIpRequest ¶
func NewModifyModuleDisableWanIpRequest() (request *ModifyModuleDisableWanIpRequest)
func (*ModifyModuleDisableWanIpRequest) FromJsonString ¶
func (r *ModifyModuleDisableWanIpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleDisableWanIpRequest) ToJsonString ¶
func (r *ModifyModuleDisableWanIpRequest) ToJsonString() string
type ModifyModuleDisableWanIpRequestParams ¶ added in v1.0.426
type ModifyModuleDisableWanIpRequestParams struct { // 模块ID ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 是否禁止分配外网ip,true:统一分配外网ip,false:禁止分配外网ip. DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"` }
Predefined struct for user
type ModifyModuleDisableWanIpResponse ¶
type ModifyModuleDisableWanIpResponse struct { *tchttp.BaseResponse Response *ModifyModuleDisableWanIpResponseParams `json:"Response"` }
func NewModifyModuleDisableWanIpResponse ¶
func NewModifyModuleDisableWanIpResponse() (response *ModifyModuleDisableWanIpResponse)
func (*ModifyModuleDisableWanIpResponse) FromJsonString ¶
func (r *ModifyModuleDisableWanIpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleDisableWanIpResponse) ToJsonString ¶
func (r *ModifyModuleDisableWanIpResponse) ToJsonString() string
type ModifyModuleDisableWanIpResponseParams ¶ added in v1.0.426
type ModifyModuleDisableWanIpResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleImageRequest ¶
type ModifyModuleImageRequest struct { *tchttp.BaseRequest // 默认镜像ID DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"` // 模块ID ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
func NewModifyModuleImageRequest ¶
func NewModifyModuleImageRequest() (request *ModifyModuleImageRequest)
func (*ModifyModuleImageRequest) FromJsonString ¶
func (r *ModifyModuleImageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleImageRequest) ToJsonString ¶
func (r *ModifyModuleImageRequest) ToJsonString() string
type ModifyModuleImageRequestParams ¶ added in v1.0.426
type ModifyModuleImageRequestParams struct { // 默认镜像ID DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"` // 模块ID ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
Predefined struct for user
type ModifyModuleImageResponse ¶
type ModifyModuleImageResponse struct { *tchttp.BaseResponse Response *ModifyModuleImageResponseParams `json:"Response"` }
func NewModifyModuleImageResponse ¶
func NewModifyModuleImageResponse() (response *ModifyModuleImageResponse)
func (*ModifyModuleImageResponse) FromJsonString ¶
func (r *ModifyModuleImageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleImageResponse) ToJsonString ¶
func (r *ModifyModuleImageResponse) ToJsonString() string
type ModifyModuleImageResponseParams ¶ added in v1.0.426
type ModifyModuleImageResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleIpDirectRequest ¶
type ModifyModuleIpDirectRequest struct { *tchttp.BaseRequest // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 是否关闭IP直通。取值范围: // true:表示关闭IP直通 // false:表示开通IP直通 CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"` }
func NewModifyModuleIpDirectRequest ¶
func NewModifyModuleIpDirectRequest() (request *ModifyModuleIpDirectRequest)
func (*ModifyModuleIpDirectRequest) FromJsonString ¶
func (r *ModifyModuleIpDirectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleIpDirectRequest) ToJsonString ¶
func (r *ModifyModuleIpDirectRequest) ToJsonString() string
type ModifyModuleIpDirectRequestParams ¶ added in v1.0.426
type ModifyModuleIpDirectRequestParams struct { // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 是否关闭IP直通。取值范围: // true:表示关闭IP直通 // false:表示开通IP直通 CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"` }
Predefined struct for user
type ModifyModuleIpDirectResponse ¶
type ModifyModuleIpDirectResponse struct { *tchttp.BaseResponse Response *ModifyModuleIpDirectResponseParams `json:"Response"` }
func NewModifyModuleIpDirectResponse ¶
func NewModifyModuleIpDirectResponse() (response *ModifyModuleIpDirectResponse)
func (*ModifyModuleIpDirectResponse) FromJsonString ¶
func (r *ModifyModuleIpDirectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleIpDirectResponse) ToJsonString ¶
func (r *ModifyModuleIpDirectResponse) ToJsonString() string
type ModifyModuleIpDirectResponseParams ¶ added in v1.0.426
type ModifyModuleIpDirectResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleNameRequest ¶
type ModifyModuleNameRequest struct { *tchttp.BaseRequest // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 模块名称。 ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"` }
func NewModifyModuleNameRequest ¶
func NewModifyModuleNameRequest() (request *ModifyModuleNameRequest)
func (*ModifyModuleNameRequest) FromJsonString ¶
func (r *ModifyModuleNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleNameRequest) ToJsonString ¶
func (r *ModifyModuleNameRequest) ToJsonString() string
type ModifyModuleNameRequestParams ¶ added in v1.0.426
type ModifyModuleNameRequestParams struct { // 模块ID。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 模块名称。 ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"` }
Predefined struct for user
type ModifyModuleNameResponse ¶
type ModifyModuleNameResponse struct { *tchttp.BaseResponse Response *ModifyModuleNameResponseParams `json:"Response"` }
func NewModifyModuleNameResponse ¶
func NewModifyModuleNameResponse() (response *ModifyModuleNameResponse)
func (*ModifyModuleNameResponse) FromJsonString ¶
func (r *ModifyModuleNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleNameResponse) ToJsonString ¶
func (r *ModifyModuleNameResponse) ToJsonString() string
type ModifyModuleNameResponseParams ¶ added in v1.0.426
type ModifyModuleNameResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleNetworkRequest ¶
type ModifyModuleNetworkRequest struct { *tchttp.BaseRequest // 模块Id ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 默认出带宽上限 DefaultBandwidth *int64 `json:"DefaultBandwidth,omitempty" name:"DefaultBandwidth"` // 默认入带宽上限 DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitempty" name:"DefaultBandwidthIn"` }
func NewModifyModuleNetworkRequest ¶
func NewModifyModuleNetworkRequest() (request *ModifyModuleNetworkRequest)
func (*ModifyModuleNetworkRequest) FromJsonString ¶
func (r *ModifyModuleNetworkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleNetworkRequest) ToJsonString ¶
func (r *ModifyModuleNetworkRequest) ToJsonString() string
type ModifyModuleNetworkRequestParams ¶ added in v1.0.426
type ModifyModuleNetworkRequestParams struct { // 模块Id ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 默认出带宽上限 DefaultBandwidth *int64 `json:"DefaultBandwidth,omitempty" name:"DefaultBandwidth"` // 默认入带宽上限 DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitempty" name:"DefaultBandwidthIn"` }
Predefined struct for user
type ModifyModuleNetworkResponse ¶
type ModifyModuleNetworkResponse struct { *tchttp.BaseResponse Response *ModifyModuleNetworkResponseParams `json:"Response"` }
func NewModifyModuleNetworkResponse ¶
func NewModifyModuleNetworkResponse() (response *ModifyModuleNetworkResponse)
func (*ModifyModuleNetworkResponse) FromJsonString ¶
func (r *ModifyModuleNetworkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleNetworkResponse) ToJsonString ¶
func (r *ModifyModuleNetworkResponse) ToJsonString() string
type ModifyModuleNetworkResponseParams ¶ added in v1.0.426
type ModifyModuleNetworkResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyModuleSecurityGroupsRequest ¶
type ModifyModuleSecurityGroupsRequest struct { *tchttp.BaseRequest // 安全组列表。不超过5个。 SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitempty" name:"SecurityGroupIdSet"` // 模块id。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
func NewModifyModuleSecurityGroupsRequest ¶
func NewModifyModuleSecurityGroupsRequest() (request *ModifyModuleSecurityGroupsRequest)
func (*ModifyModuleSecurityGroupsRequest) FromJsonString ¶
func (r *ModifyModuleSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleSecurityGroupsRequest) ToJsonString ¶
func (r *ModifyModuleSecurityGroupsRequest) ToJsonString() string
type ModifyModuleSecurityGroupsRequestParams ¶ added in v1.0.426
type ModifyModuleSecurityGroupsRequestParams struct { // 安全组列表。不超过5个。 SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitempty" name:"SecurityGroupIdSet"` // 模块id。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` }
Predefined struct for user
type ModifyModuleSecurityGroupsResponse ¶
type ModifyModuleSecurityGroupsResponse struct { *tchttp.BaseResponse Response *ModifyModuleSecurityGroupsResponseParams `json:"Response"` }
func NewModifyModuleSecurityGroupsResponse ¶
func NewModifyModuleSecurityGroupsResponse() (response *ModifyModuleSecurityGroupsResponse)
func (*ModifyModuleSecurityGroupsResponse) FromJsonString ¶
func (r *ModifyModuleSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModuleSecurityGroupsResponse) ToJsonString ¶
func (r *ModifyModuleSecurityGroupsResponse) ToJsonString() string
type ModifyModuleSecurityGroupsResponseParams ¶ added in v1.0.426
type ModifyModuleSecurityGroupsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPrivateIpAddressesAttributeRequest ¶
type ModifyPrivateIpAddressesAttributeRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // ECM 节点Region信息,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewModifyPrivateIpAddressesAttributeRequest ¶
func NewModifyPrivateIpAddressesAttributeRequest() (request *ModifyPrivateIpAddressesAttributeRequest)
func (*ModifyPrivateIpAddressesAttributeRequest) FromJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateIpAddressesAttributeRequest) ToJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeRequest) ToJsonString() string
type ModifyPrivateIpAddressesAttributeRequestParams ¶ added in v1.0.426
type ModifyPrivateIpAddressesAttributeRequestParams struct { // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // ECM 节点Region信息,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type ModifyPrivateIpAddressesAttributeResponse ¶
type ModifyPrivateIpAddressesAttributeResponse struct { *tchttp.BaseResponse Response *ModifyPrivateIpAddressesAttributeResponseParams `json:"Response"` }
func NewModifyPrivateIpAddressesAttributeResponse ¶
func NewModifyPrivateIpAddressesAttributeResponse() (response *ModifyPrivateIpAddressesAttributeResponse)
func (*ModifyPrivateIpAddressesAttributeResponse) FromJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateIpAddressesAttributeResponse) ToJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeResponse) ToJsonString() string
type ModifyPrivateIpAddressesAttributeResponseParams ¶ added in v1.0.426
type ModifyPrivateIpAddressesAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRouteTableAttributeRequest ¶
type ModifyRouteTableAttributeRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` }
func NewModifyRouteTableAttributeRequest ¶
func NewModifyRouteTableAttributeRequest() (request *ModifyRouteTableAttributeRequest)
func (*ModifyRouteTableAttributeRequest) FromJsonString ¶
func (r *ModifyRouteTableAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRouteTableAttributeRequest) ToJsonString ¶
func (r *ModifyRouteTableAttributeRequest) ToJsonString() string
type ModifyRouteTableAttributeRequestParams ¶ added in v1.0.426
type ModifyRouteTableAttributeRequestParams struct { // 路由表实例ID,例如:rtb-azd4dt1c RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` }
Predefined struct for user
type ModifyRouteTableAttributeResponse ¶
type ModifyRouteTableAttributeResponse struct { *tchttp.BaseResponse Response *ModifyRouteTableAttributeResponseParams `json:"Response"` }
func NewModifyRouteTableAttributeResponse ¶
func NewModifyRouteTableAttributeResponse() (response *ModifyRouteTableAttributeResponse)
func (*ModifyRouteTableAttributeResponse) FromJsonString ¶
func (r *ModifyRouteTableAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRouteTableAttributeResponse) ToJsonString ¶
func (r *ModifyRouteTableAttributeResponse) ToJsonString() string
type ModifyRouteTableAttributeResponseParams ¶ added in v1.0.426
type ModifyRouteTableAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupAttributeRequest ¶
type ModifySecurityGroupAttributeRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` }
func NewModifySecurityGroupAttributeRequest ¶
func NewModifySecurityGroupAttributeRequest() (request *ModifySecurityGroupAttributeRequest)
func (*ModifySecurityGroupAttributeRequest) FromJsonString ¶
func (r *ModifySecurityGroupAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupAttributeRequest) ToJsonString ¶
func (r *ModifySecurityGroupAttributeRequest) ToJsonString() string
type ModifySecurityGroupAttributeRequestParams ¶ added in v1.0.426
type ModifySecurityGroupAttributeRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` }
Predefined struct for user
type ModifySecurityGroupAttributeResponse ¶
type ModifySecurityGroupAttributeResponse struct { *tchttp.BaseResponse Response *ModifySecurityGroupAttributeResponseParams `json:"Response"` }
func NewModifySecurityGroupAttributeResponse ¶
func NewModifySecurityGroupAttributeResponse() (response *ModifySecurityGroupAttributeResponse)
func (*ModifySecurityGroupAttributeResponse) FromJsonString ¶
func (r *ModifySecurityGroupAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupAttributeResponse) ToJsonString ¶
func (r *ModifySecurityGroupAttributeResponse) ToJsonString() string
type ModifySecurityGroupAttributeResponseParams ¶ added in v1.0.426
type ModifySecurityGroupAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupPoliciesRequest ¶
type ModifySecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet对象必须同时指定新的出(Egress)入(Ingress)站规则。 SecurityGroupPolicy对象不支持自定义索引(PolicyIndex)。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` // 排序安全组标识。值为True时,支持安全组排序;SortPolicys不存在或SortPolicys为False时,为修改安全组规则。 SortPolicys *bool `json:"SortPolicys,omitempty" name:"SortPolicys"` }
func NewModifySecurityGroupPoliciesRequest ¶
func NewModifySecurityGroupPoliciesRequest() (request *ModifySecurityGroupPoliciesRequest)
func (*ModifySecurityGroupPoliciesRequest) FromJsonString ¶
func (r *ModifySecurityGroupPoliciesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupPoliciesRequest) ToJsonString ¶
func (r *ModifySecurityGroupPoliciesRequest) ToJsonString() string
type ModifySecurityGroupPoliciesRequestParams ¶ added in v1.0.426
type ModifySecurityGroupPoliciesRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet对象必须同时指定新的出(Egress)入(Ingress)站规则。 SecurityGroupPolicy对象不支持自定义索引(PolicyIndex)。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` // 排序安全组标识。值为True时,支持安全组排序;SortPolicys不存在或SortPolicys为False时,为修改安全组规则。 SortPolicys *bool `json:"SortPolicys,omitempty" name:"SortPolicys"` }
Predefined struct for user
type ModifySecurityGroupPoliciesResponse ¶
type ModifySecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *ModifySecurityGroupPoliciesResponseParams `json:"Response"` }
func NewModifySecurityGroupPoliciesResponse ¶
func NewModifySecurityGroupPoliciesResponse() (response *ModifySecurityGroupPoliciesResponse)
func (*ModifySecurityGroupPoliciesResponse) FromJsonString ¶
func (r *ModifySecurityGroupPoliciesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityGroupPoliciesResponse) ToJsonString ¶
func (r *ModifySecurityGroupPoliciesResponse) ToJsonString() string
type ModifySecurityGroupPoliciesResponseParams ¶ added in v1.0.426
type ModifySecurityGroupPoliciesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubnetAttributeRequest ¶
type ModifySubnetAttributeRequest struct { *tchttp.BaseRequest // 子网实例ID。形如:subnet-pxir56ns。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网是否开启广播。 EnableBroadcast *string `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"` // 子网的标签键值 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewModifySubnetAttributeRequest ¶
func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)
func (*ModifySubnetAttributeRequest) FromJsonString ¶
func (r *ModifySubnetAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubnetAttributeRequest) ToJsonString ¶
func (r *ModifySubnetAttributeRequest) ToJsonString() string
type ModifySubnetAttributeRequestParams ¶ added in v1.0.426
type ModifySubnetAttributeRequestParams struct { // 子网实例ID。形如:subnet-pxir56ns。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网是否开启广播。 EnableBroadcast *string `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"` // 子网的标签键值 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type ModifySubnetAttributeResponse ¶
type ModifySubnetAttributeResponse struct { *tchttp.BaseResponse Response *ModifySubnetAttributeResponseParams `json:"Response"` }
func NewModifySubnetAttributeResponse ¶
func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)
func (*ModifySubnetAttributeResponse) FromJsonString ¶
func (r *ModifySubnetAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubnetAttributeResponse) ToJsonString ¶
func (r *ModifySubnetAttributeResponse) ToJsonString() string
type ModifySubnetAttributeResponseParams ¶ added in v1.0.426
type ModifySubnetAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetPortRequest ¶
type ModifyTargetPortRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 要修改端口的后端服务列表 Targets []*Target `json:"Targets,omitempty" name:"Targets"` // 后端服务绑定到监听器或转发规则的新端口 NewPort *int64 `json:"NewPort,omitempty" name:"NewPort"` }
func NewModifyTargetPortRequest ¶
func NewModifyTargetPortRequest() (request *ModifyTargetPortRequest)
func (*ModifyTargetPortRequest) FromJsonString ¶
func (r *ModifyTargetPortRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetPortRequest) ToJsonString ¶
func (r *ModifyTargetPortRequest) ToJsonString() string
type ModifyTargetPortRequestParams ¶ added in v1.0.426
type ModifyTargetPortRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 要修改端口的后端服务列表 Targets []*Target `json:"Targets,omitempty" name:"Targets"` // 后端服务绑定到监听器或转发规则的新端口 NewPort *int64 `json:"NewPort,omitempty" name:"NewPort"` }
Predefined struct for user
type ModifyTargetPortResponse ¶
type ModifyTargetPortResponse struct { *tchttp.BaseResponse Response *ModifyTargetPortResponseParams `json:"Response"` }
func NewModifyTargetPortResponse ¶
func NewModifyTargetPortResponse() (response *ModifyTargetPortResponse)
func (*ModifyTargetPortResponse) FromJsonString ¶
func (r *ModifyTargetPortResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetPortResponse) ToJsonString ¶
func (r *ModifyTargetPortResponse) ToJsonString() string
type ModifyTargetPortResponseParams ¶ added in v1.0.426
type ModifyTargetPortResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTargetWeightRequest ¶
type ModifyTargetWeightRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 要修改权重的后端服务列表 Targets []*Target `json:"Targets,omitempty" name:"Targets"` // 后端服务新的转发权重,取值范围:0~100,默认值10。如果设置了 Targets.Weight 参数,则此参数不生效。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` }
func NewModifyTargetWeightRequest ¶
func NewModifyTargetWeightRequest() (request *ModifyTargetWeightRequest)
func (*ModifyTargetWeightRequest) FromJsonString ¶
func (r *ModifyTargetWeightRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetWeightRequest) ToJsonString ¶
func (r *ModifyTargetWeightRequest) ToJsonString() string
type ModifyTargetWeightRequestParams ¶ added in v1.0.426
type ModifyTargetWeightRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 负载均衡监听器 ID ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"` // 要修改权重的后端服务列表 Targets []*Target `json:"Targets,omitempty" name:"Targets"` // 后端服务新的转发权重,取值范围:0~100,默认值10。如果设置了 Targets.Weight 参数,则此参数不生效。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` }
Predefined struct for user
type ModifyTargetWeightResponse ¶
type ModifyTargetWeightResponse struct { *tchttp.BaseResponse Response *ModifyTargetWeightResponseParams `json:"Response"` }
func NewModifyTargetWeightResponse ¶
func NewModifyTargetWeightResponse() (response *ModifyTargetWeightResponse)
func (*ModifyTargetWeightResponse) FromJsonString ¶
func (r *ModifyTargetWeightResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTargetWeightResponse) ToJsonString ¶
func (r *ModifyTargetWeightResponse) ToJsonString() string
type ModifyTargetWeightResponseParams ¶ added in v1.0.426
type ModifyTargetWeightResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyVpcAttributeRequest ¶
type ModifyVpcAttributeRequest struct { *tchttp.BaseRequest // VPC实例ID。形如:vpc-f49l6u0z。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 私有网络名称,可任意命名,但不得超过60个字符。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // 标签 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 私有网络描述 Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyVpcAttributeRequest ¶
func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)
func (*ModifyVpcAttributeRequest) FromJsonString ¶
func (r *ModifyVpcAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVpcAttributeRequest) ToJsonString ¶
func (r *ModifyVpcAttributeRequest) ToJsonString() string
type ModifyVpcAttributeRequestParams ¶ added in v1.0.426
type ModifyVpcAttributeRequestParams struct { // VPC实例ID。形如:vpc-f49l6u0z。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 私有网络名称,可任意命名,但不得超过60个字符。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // 标签 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // 私有网络描述 Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type ModifyVpcAttributeResponse ¶
type ModifyVpcAttributeResponse struct { *tchttp.BaseResponse Response *ModifyVpcAttributeResponseParams `json:"Response"` }
func NewModifyVpcAttributeResponse ¶
func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)
func (*ModifyVpcAttributeResponse) FromJsonString ¶
func (r *ModifyVpcAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyVpcAttributeResponse) ToJsonString ¶
func (r *ModifyVpcAttributeResponse) ToJsonString() string
type ModifyVpcAttributeResponseParams ¶ added in v1.0.426
type ModifyVpcAttributeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Module ¶
type Module struct { // 模块Id。 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 模块名称。 ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"` // 模块状态: // NORMAL:正常。 // DELETING:删除中 // DELETEFAILED:删除失败。 ModuleState *string `json:"ModuleState,omitempty" name:"ModuleState"` // 默认系统盘大小。 DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"` // 默认数据盘大小。 DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"` // 默认机型。 InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitempty" name:"InstanceTypeConfig"` // 默认镜像。 DefaultImage *Image `json:"DefaultImage,omitempty" name:"DefaultImage"` // 创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 默认出带宽。 DefaultBandwidth *int64 `json:"DefaultBandwidth,omitempty" name:"DefaultBandwidth"` // 标签集合。 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` // 是否关闭IP直通。 CloseIpDirect *int64 `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"` // 默认安全组id列表。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 默认入带宽。 DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitempty" name:"DefaultBandwidthIn"` // 自定义脚本数据 UserData *string `json:"UserData,omitempty" name:"UserData"` // 系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息。 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` // 是否禁止外网ip DisableWanIp *int64 `json:"DisableWanIp,omitempty" name:"DisableWanIp"` }
type ModuleCounter ¶
type ModuleCounter struct { // 运营商统计信息列表 ISPCounterSet []*ISPCounter `json:"ISPCounterSet,omitempty" name:"ISPCounterSet"` // 省份数量 ProvinceNum *int64 `json:"ProvinceNum,omitempty" name:"ProvinceNum"` // 城市数量 CityNum *int64 `json:"CityNum,omitempty" name:"CityNum"` // 节点数量 NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"` // 实例数量 InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"` }
type ModuleItem ¶
type ModuleItem struct { // 节点实例统计信息 NodeInstanceNum *NodeInstanceNum `json:"NodeInstanceNum,omitempty" name:"NodeInstanceNum"` // 模块信息 Module *Module `json:"Module,omitempty" name:"Module"` }
type MonthNetwork ¶
type MonthNetwork struct { // 节点zone信息 ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"` // 带宽月份 示例"202103" Month *string `json:"Month,omitempty" name:"Month"` // 带宽包id 格式如"bwp-xxxxxxxx" BandwidthPkgId *string `json:"BandwidthPkgId,omitempty" name:"BandwidthPkgId"` // 运营商简称 取值范围"CUCC;CTCC;CMCC" Isp *string `json:"Isp,omitempty" name:"Isp"` // 入网带宽包峰值,取值范围0.0-xxx.xxx TrafficMaxIn *float64 `json:"TrafficMaxIn,omitempty" name:"TrafficMaxIn"` // 出网带宽包峰值,取值范围0.0-xxx.xxx TrafficMaxOut *float64 `json:"TrafficMaxOut,omitempty" name:"TrafficMaxOut"` // 计费带宽,取值范围0.0-xxx.xxx FeeTraffic *float64 `json:"FeeTraffic,omitempty" name:"FeeTraffic"` // 月计费带宽起始时间 格式"yyyy-mm-dd HH:mm:ss" StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 月计费带宽结束时间 格式"yyyy-mm-dd HH:mm:ss" EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 月计费带宽实际有效天数 整形必须大于等于0 EffectiveDays *int64 `json:"EffectiveDays,omitempty" name:"EffectiveDays"` // 指定月份的实际天数 实例 30 MonthDays *int64 `json:"MonthDays,omitempty" name:"MonthDays"` // 有效天占比 保留小数点后四位0.2134 EffectiveDaysRate *float64 `json:"EffectiveDaysRate,omitempty" name:"EffectiveDaysRate"` // 计费带宽包类型 实例"Address","LoadBalance","AddressIpv6" BandwidthPkgType *string `json:"BandwidthPkgType,omitempty" name:"BandwidthPkgType"` }
type NetworkInterface ¶
type NetworkInterface struct { // 弹性网卡实例ID,例如:eni-f1xjkw1b。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡名称。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡描述。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 子网实例ID。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 绑定的安全组。 // 注意:此字段可能返回 null,表示取不到有效值。 GroupSet []*string `json:"GroupSet,omitempty" name:"GroupSet"` // 是否是主网卡。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // MAC地址。 MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"` // 弹性网卡状态: // PENDING:创建中 // AVAILABLE:可用的 // ATTACHING:绑定中 // DETACHING:解绑中 // DELETING:删除中 State *string `json:"State,omitempty" name:"State"` // 内网IP信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet"` // 绑定的云服务器对象。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 Attachment *NetworkInterfaceAttachment `json:"Attachment,omitempty" name:"Attachment"` // 可用区。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // IPv6地址列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet"` // 标签键值对。 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` // 网卡类型。0 - 弹性网卡;1 - evm弹性网卡。 EniType *uint64 `json:"EniType,omitempty" name:"EniType"` // EcmRegion ecm区域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 网卡绑定的子机类型:cvm,eks。 // 注意:此字段可能返回 null,表示取不到有效值。 Business *string `json:"Business,omitempty" name:"Business"` }
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { // 云主机实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 网卡在云主机实例内的序号。 DeviceIndex *uint64 `json:"DeviceIndex,omitempty" name:"DeviceIndex"` // 云主机所有者账户信息。 InstanceAccountId *string `json:"InstanceAccountId,omitempty" name:"InstanceAccountId"` // 绑定时间。 AttachTime *string `json:"AttachTime,omitempty" name:"AttachTime"` }
type NetworkStorageRange ¶
type NetworkStorageRange struct { // 网络带宽上限 MaxBandwidth *int64 `json:"MaxBandwidth,omitempty" name:"MaxBandwidth"` // 数据盘上限 MaxSystemDiskSize *int64 `json:"MaxSystemDiskSize,omitempty" name:"MaxSystemDiskSize"` // 网络带宽下限 MinBandwidth *int64 `json:"MinBandwidth,omitempty" name:"MinBandwidth"` // 数据盘下限 MinSystemDiskSize *int64 `json:"MinSystemDiskSize,omitempty" name:"MinSystemDiskSize"` // 最大数据盘大小 MaxDataDiskSize *int64 `json:"MaxDataDiskSize,omitempty" name:"MaxDataDiskSize"` // 最小数据盘大小 MinDataDiskSize *int64 `json:"MinDataDiskSize,omitempty" name:"MinDataDiskSize"` // 建议带宽 SuggestBandwidth *int64 `json:"SuggestBandwidth,omitempty" name:"SuggestBandwidth"` // 建议硬盘大小 SuggestDataDiskSize *int64 `json:"SuggestDataDiskSize,omitempty" name:"SuggestDataDiskSize"` // 建议系统盘大小 SuggestSystemDiskSize *int64 `json:"SuggestSystemDiskSize,omitempty" name:"SuggestSystemDiskSize"` // Cpu核数峰值 MaxVcpu *int64 `json:"MaxVcpu,omitempty" name:"MaxVcpu"` // Cpu核最小值 MinVcpu *int64 `json:"MinVcpu,omitempty" name:"MinVcpu"` // 单次请求最大cpu核数 MaxVcpuPerReq *int64 `json:"MaxVcpuPerReq,omitempty" name:"MaxVcpuPerReq"` // 带宽步长 PerBandwidth *int64 `json:"PerBandwidth,omitempty" name:"PerBandwidth"` // 数据盘步长 PerDataDisk *int64 `json:"PerDataDisk,omitempty" name:"PerDataDisk"` // 总模块数量 MaxModuleNum *int64 `json:"MaxModuleNum,omitempty" name:"MaxModuleNum"` }
type Node ¶
type Node struct { // zone信息。 ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"` // 国家信息。 Country *Country `json:"Country,omitempty" name:"Country"` // 区域信息。 Area *Area `json:"Area,omitempty" name:"Area"` // 省份信息。 Province *Province `json:"Province,omitempty" name:"Province"` // 城市信息。 City *City `json:"City,omitempty" name:"City"` // Region信息。 RegionInfo *RegionInfo `json:"RegionInfo,omitempty" name:"RegionInfo"` // 运营商列表。 ISPSet []*ISP `json:"ISPSet,omitempty" name:"ISPSet"` // 运营商数量。 ISPNum *int64 `json:"ISPNum,omitempty" name:"ISPNum"` // 节点是否支持LB LBSupported *bool `json:"LBSupported,omitempty" name:"LBSupported"` }
type NodeInstanceNum ¶
type OperatorAction ¶
type OsVersion ¶
type OsVersion struct { // 操作系统类型 OsName *string `json:"OsName,omitempty" name:"OsName"` // 支持的操作系统版本 // 注意:此字段可能返回 null,表示取不到有效值。 OsVersions []*string `json:"OsVersions,omitempty" name:"OsVersions"` // 支持的操作系统架构 // 注意:此字段可能返回 null,表示取不到有效值。 Architecture []*string `json:"Architecture,omitempty" name:"Architecture"` }
type PackingQuotaGroup ¶ added in v1.0.275
type PackingQuotaGroup struct { // 可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` // 可用区id ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // ISP id ISPId *string `json:"ISPId,omitempty" name:"ISPId"` // 一组相互关联的装箱配额 PackingQuotaInfos []*PackingQuotaInfo `json:"PackingQuotaInfos,omitempty" name:"PackingQuotaInfos"` }
type PackingQuotaInfo ¶ added in v1.0.275
type PeakBase ¶
type PeakBase struct { // CPU峰值 PeakCpuNum *int64 `json:"PeakCpuNum,omitempty" name:"PeakCpuNum"` // 内存峰值 PeakMemoryNum *int64 `json:"PeakMemoryNum,omitempty" name:"PeakMemoryNum"` // 硬盘峰值 PeakStorageNum *int64 `json:"PeakStorageNum,omitempty" name:"PeakStorageNum"` // 记录时间 RecordTime *string `json:"RecordTime,omitempty" name:"RecordTime"` }
type PeakFamilyInfo ¶
type PeakFamilyInfo struct { // 机型类别信息。 InstanceFamily *InstanceFamilyTypeConfig `json:"InstanceFamily,omitempty" name:"InstanceFamily"` // 基础数据峰值信息。 PeakBaseSet []*PeakBase `json:"PeakBaseSet,omitempty" name:"PeakBaseSet"` }
type PeakNetwork ¶
type PeakNetwork struct { // 记录时间。 RecordTime *string `json:"RecordTime,omitempty" name:"RecordTime"` // 入带宽数据。 PeakInNetwork *string `json:"PeakInNetwork,omitempty" name:"PeakInNetwork"` // 出带宽数据。 PeakOutNetwork *string `json:"PeakOutNetwork,omitempty" name:"PeakOutNetwork"` // 计费带宽。单位bps ChargeNetwork *string `json:"ChargeNetwork,omitempty" name:"ChargeNetwork"` }
type PeakNetworkRegionInfo ¶
type PeakNetworkRegionInfo struct { // region信息 Region *string `json:"Region,omitempty" name:"Region"` // 网络峰值集合 // 注意:此字段可能返回 null,表示取不到有效值。 PeakNetworkSet []*PeakNetwork `json:"PeakNetworkSet,omitempty" name:"PeakNetworkSet"` }
type PhysicalPosition ¶
type PhysicalPosition struct { // 机位 // 注意:此字段可能返回 null,表示取不到有效值。 PosId *string `json:"PosId,omitempty" name:"PosId"` // 机架 // 注意:此字段可能返回 null,表示取不到有效值。 RackId *string `json:"RackId,omitempty" name:"RackId"` // 交换机 // 注意:此字段可能返回 null,表示取不到有效值。 SwitchId *string `json:"SwitchId,omitempty" name:"SwitchId"` }
type Placement ¶ added in v1.0.253
type Placement struct { // 云硬盘所属的[可用区](/document/product/213/15753#ZoneInfo)。该参数也可以通过调用 [DescribeZones](/document/product/213/15707) 的返回值中的Zone字段来获取。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 围笼Id。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。 // 注意:此字段可能返回 null,表示取不到有效值。 CageId *string `json:"CageId,omitempty" name:"CageId"` // 实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。 ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // 独享集群名字。作为入参时,忽略。作为出参时,表示云硬盘所属的独享集群名,可为空。 // 注意:此字段可能返回 null,表示取不到有效值。 CdcName *string `json:"CdcName,omitempty" name:"CdcName"` // 实例所属的独享集群ID。作为入参时,表示对指定的CdcId独享集群的资源进行操作,可为空。 作为出参时,表示资源所属的独享集群的ID,可为空。 // 注意:此字段可能返回 null,表示取不到有效值。 CdcId *string `json:"CdcId,omitempty" name:"CdcId"` }
type Position ¶
type Position struct { // 实例所在的Zone的信息。 ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"` // 实例所在的国家的信息。 Country *Country `json:"Country,omitempty" name:"Country"` // 实例所在的Area的信息。 Area *Area `json:"Area,omitempty" name:"Area"` // 实例所在的省份的信息。 Province *Province `json:"Province,omitempty" name:"Province"` // 实例所在的城市的信息。 City *City `json:"City,omitempty" name:"City"` // 实例所在的Region的信息。 RegionInfo *RegionInfo `json:"RegionInfo,omitempty" name:"RegionInfo"` }
type PriceDetail ¶ added in v1.0.295
type PrivateIPAddressInfo ¶
type PrivateIPAddressInfo struct { // 实例的内网ip。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIPAddress *string `json:"PrivateIPAddress,omitempty" name:"PrivateIPAddress"` }
type PrivateIpAddressSpecification ¶
type PrivateIpAddressSpecification struct { // 内网IP地址。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 是否是主IP。 // 注意:此字段可能返回 null,表示取不到有效值。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // 公网IP地址。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // EIP实例ID,例如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 内网IP描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 公网IP是否被封堵。 // 注意:此字段可能返回 null,表示取不到有效值。 IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"` // IP状态: // PENDING:生产中 // MIGRATING:迁移中 // DELETING:删除中 // AVAILABLE:可用的 State *string `json:"State,omitempty" name:"State"` }
type PublicIPAddressInfo ¶
type PublicIPAddressInfo struct { // 计费模式。 ChargeMode *string `json:"ChargeMode,omitempty" name:"ChargeMode"` // 实例的公网ip。 PublicIPAddress *string `json:"PublicIPAddress,omitempty" name:"PublicIPAddress"` // 实例的公网ip所属的运营商。 ISP *ISP `json:"ISP,omitempty" name:"ISP"` // 实例的最大出带宽上限,单位为Mbps。 MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitempty" name:"MaxBandwidthOut"` // 实例的最大入带宽上限,单位为Mbps。 MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitempty" name:"MaxBandwidthIn"` }
type RebootInstancesRequest ¶
type RebootInstancesRequest struct { *tchttp.BaseRequest // 待重启的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否在正常重启失败后选择强制重启实例。取值范围: // TRUE:表示在正常重启失败后进行强制重启; // FALSE:表示在正常重启失败后不进行强制重启; // 默认取值:FALSE。 ForceReboot *bool `json:"ForceReboot,omitempty" name:"ForceReboot"` // 关机类型。取值范围: // SOFT:表示软关机 // HARD:表示硬关机 // SOFT_FIRST:表示优先软关机,失败再执行硬关机 // // 默认取值:SOFT。 StopType *string `json:"StopType,omitempty" name:"StopType"` }
func NewRebootInstancesRequest ¶
func NewRebootInstancesRequest() (request *RebootInstancesRequest)
func (*RebootInstancesRequest) FromJsonString ¶
func (r *RebootInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebootInstancesRequest) ToJsonString ¶
func (r *RebootInstancesRequest) ToJsonString() string
type RebootInstancesRequestParams ¶ added in v1.0.426
type RebootInstancesRequestParams struct { // 待重启的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否在正常重启失败后选择强制重启实例。取值范围: // TRUE:表示在正常重启失败后进行强制重启; // FALSE:表示在正常重启失败后不进行强制重启; // 默认取值:FALSE。 ForceReboot *bool `json:"ForceReboot,omitempty" name:"ForceReboot"` // 关机类型。取值范围: // SOFT:表示软关机 // HARD:表示硬关机 // SOFT_FIRST:表示优先软关机,失败再执行硬关机 // // 默认取值:SOFT。 StopType *string `json:"StopType,omitempty" name:"StopType"` }
Predefined struct for user
type RebootInstancesResponse ¶
type RebootInstancesResponse struct { *tchttp.BaseResponse Response *RebootInstancesResponseParams `json:"Response"` }
func NewRebootInstancesResponse ¶
func NewRebootInstancesResponse() (response *RebootInstancesResponse)
func (*RebootInstancesResponse) FromJsonString ¶
func (r *RebootInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebootInstancesResponse) ToJsonString ¶
func (r *RebootInstancesResponse) ToJsonString() string
type RebootInstancesResponseParams ¶ added in v1.0.426
type RebootInstancesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RegionInfo ¶
type ReleaseAddressesRequest ¶
type ReleaseAddressesRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID 列表。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` }
func NewReleaseAddressesRequest ¶
func NewReleaseAddressesRequest() (request *ReleaseAddressesRequest)
func (*ReleaseAddressesRequest) FromJsonString ¶
func (r *ReleaseAddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseAddressesRequest) ToJsonString ¶
func (r *ReleaseAddressesRequest) ToJsonString() string
type ReleaseAddressesRequestParams ¶ added in v1.0.426
type ReleaseAddressesRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 标识 EIP 的唯一 ID 列表。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"` }
Predefined struct for user
type ReleaseAddressesResponse ¶
type ReleaseAddressesResponse struct { *tchttp.BaseResponse Response *ReleaseAddressesResponseParams `json:"Response"` }
func NewReleaseAddressesResponse ¶
func NewReleaseAddressesResponse() (response *ReleaseAddressesResponse)
func (*ReleaseAddressesResponse) FromJsonString ¶
func (r *ReleaseAddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseAddressesResponse) ToJsonString ¶
func (r *ReleaseAddressesResponse) ToJsonString() string
type ReleaseAddressesResponseParams ¶ added in v1.0.426
type ReleaseAddressesResponseParams struct { // 异步任务TaskId。可以使用DescribeTaskResult接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReleaseIpv6AddressesRequest ¶
type ReleaseIpv6AddressesRequest struct { *tchttp.BaseRequest // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址列表,单次最多指定10个。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` }
func NewReleaseIpv6AddressesRequest ¶
func NewReleaseIpv6AddressesRequest() (request *ReleaseIpv6AddressesRequest)
func (*ReleaseIpv6AddressesRequest) FromJsonString ¶
func (r *ReleaseIpv6AddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseIpv6AddressesRequest) ToJsonString ¶
func (r *ReleaseIpv6AddressesRequest) ToJsonString() string
type ReleaseIpv6AddressesRequestParams ¶ added in v1.0.426
type ReleaseIpv6AddressesRequestParams struct { // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,形如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的IPv6地址列表,单次最多指定10个。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"` }
Predefined struct for user
type ReleaseIpv6AddressesResponse ¶
type ReleaseIpv6AddressesResponse struct { *tchttp.BaseResponse Response *ReleaseIpv6AddressesResponseParams `json:"Response"` }
func NewReleaseIpv6AddressesResponse ¶
func NewReleaseIpv6AddressesResponse() (response *ReleaseIpv6AddressesResponse)
func (*ReleaseIpv6AddressesResponse) FromJsonString ¶
func (r *ReleaseIpv6AddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseIpv6AddressesResponse) ToJsonString ¶
func (r *ReleaseIpv6AddressesResponse) ToJsonString() string
type ReleaseIpv6AddressesResponseParams ¶ added in v1.0.426
type ReleaseIpv6AddressesResponseParams struct { // 任务ID,可以通过DescribeTaskResult查询任务状态 TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RemovePrivateIpAddressesRequest ¶
type RemovePrivateIpAddressesRequest struct { *tchttp.BaseRequest // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,例如:eni-11112222。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` }
func NewRemovePrivateIpAddressesRequest ¶
func NewRemovePrivateIpAddressesRequest() (request *RemovePrivateIpAddressesRequest)
func (*RemovePrivateIpAddressesRequest) FromJsonString ¶
func (r *RemovePrivateIpAddressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemovePrivateIpAddressesRequest) ToJsonString ¶
func (r *RemovePrivateIpAddressesRequest) ToJsonString() string
type RemovePrivateIpAddressesRequestParams ¶ added in v1.0.426
type RemovePrivateIpAddressesRequestParams struct { // ECM 地域,形如ap-xian-ecm。 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` // 弹性网卡实例ID,例如:eni-11112222。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` }
Predefined struct for user
type RemovePrivateIpAddressesResponse ¶
type RemovePrivateIpAddressesResponse struct { *tchttp.BaseResponse Response *RemovePrivateIpAddressesResponseParams `json:"Response"` }
func NewRemovePrivateIpAddressesResponse ¶
func NewRemovePrivateIpAddressesResponse() (response *RemovePrivateIpAddressesResponse)
func (*RemovePrivateIpAddressesResponse) FromJsonString ¶
func (r *RemovePrivateIpAddressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemovePrivateIpAddressesResponse) ToJsonString ¶
func (r *RemovePrivateIpAddressesResponse) ToJsonString() string
type RemovePrivateIpAddressesResponseParams ¶ added in v1.0.426
type RemovePrivateIpAddressesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReplaceRouteTableAssociationRequest ¶
type ReplaceRouteTableAssociationRequest struct { *tchttp.BaseRequest // 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
func NewReplaceRouteTableAssociationRequest ¶
func NewReplaceRouteTableAssociationRequest() (request *ReplaceRouteTableAssociationRequest)
func (*ReplaceRouteTableAssociationRequest) FromJsonString ¶
func (r *ReplaceRouteTableAssociationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceRouteTableAssociationRequest) ToJsonString ¶
func (r *ReplaceRouteTableAssociationRequest) ToJsonString() string
type ReplaceRouteTableAssociationRequestParams ¶ added in v1.0.426
type ReplaceRouteTableAssociationRequestParams struct { // 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // ECM 地域 EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"` }
Predefined struct for user
type ReplaceRouteTableAssociationResponse ¶
type ReplaceRouteTableAssociationResponse struct { *tchttp.BaseResponse Response *ReplaceRouteTableAssociationResponseParams `json:"Response"` }
func NewReplaceRouteTableAssociationResponse ¶
func NewReplaceRouteTableAssociationResponse() (response *ReplaceRouteTableAssociationResponse)
func (*ReplaceRouteTableAssociationResponse) FromJsonString ¶
func (r *ReplaceRouteTableAssociationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceRouteTableAssociationResponse) ToJsonString ¶
func (r *ReplaceRouteTableAssociationResponse) ToJsonString() string
type ReplaceRouteTableAssociationResponseParams ¶ added in v1.0.426
type ReplaceRouteTableAssociationResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReplaceRoutesRequest ¶
type ReplaceRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
func NewReplaceRoutesRequest ¶
func NewReplaceRoutesRequest() (request *ReplaceRoutesRequest)
func (*ReplaceRoutesRequest) FromJsonString ¶
func (r *ReplaceRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceRoutesRequest) ToJsonString ¶
func (r *ReplaceRoutesRequest) ToJsonString() string
type ReplaceRoutesRequestParams ¶ added in v1.0.426
type ReplaceRoutesRequestParams struct { // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
Predefined struct for user
type ReplaceRoutesResponse ¶
type ReplaceRoutesResponse struct { *tchttp.BaseResponse Response *ReplaceRoutesResponseParams `json:"Response"` }
func NewReplaceRoutesResponse ¶
func NewReplaceRoutesResponse() (response *ReplaceRoutesResponse)
func (*ReplaceRoutesResponse) FromJsonString ¶
func (r *ReplaceRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceRoutesResponse) ToJsonString ¶
func (r *ReplaceRoutesResponse) ToJsonString() string
type ReplaceRoutesResponseParams ¶ added in v1.0.426
type ReplaceRoutesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReplaceSecurityGroupPolicyRequest ¶
type ReplaceSecurityGroupPolicyRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合对象。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewReplaceSecurityGroupPolicyRequest ¶
func NewReplaceSecurityGroupPolicyRequest() (request *ReplaceSecurityGroupPolicyRequest)
func (*ReplaceSecurityGroupPolicyRequest) FromJsonString ¶
func (r *ReplaceSecurityGroupPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceSecurityGroupPolicyRequest) ToJsonString ¶
func (r *ReplaceSecurityGroupPolicyRequest) ToJsonString() string
type ReplaceSecurityGroupPolicyRequestParams ¶ added in v1.0.426
type ReplaceSecurityGroupPolicyRequestParams struct { // 安全组实例ID,例如esg-33ocnj9n,可通过DescribeSecurityGroups获取 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合对象。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
Predefined struct for user
type ReplaceSecurityGroupPolicyResponse ¶
type ReplaceSecurityGroupPolicyResponse struct { *tchttp.BaseResponse Response *ReplaceSecurityGroupPolicyResponseParams `json:"Response"` }
func NewReplaceSecurityGroupPolicyResponse ¶
func NewReplaceSecurityGroupPolicyResponse() (response *ReplaceSecurityGroupPolicyResponse)
func (*ReplaceSecurityGroupPolicyResponse) FromJsonString ¶
func (r *ReplaceSecurityGroupPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceSecurityGroupPolicyResponse) ToJsonString ¶
func (r *ReplaceSecurityGroupPolicyResponse) ToJsonString() string
type ReplaceSecurityGroupPolicyResponseParams ¶ added in v1.0.426
type ReplaceSecurityGroupPolicyResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetInstancesMaxBandwidthRequest ¶
type ResetInstancesMaxBandwidthRequest struct { *tchttp.BaseRequest // 待重置带宽上限的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 修改后的最大出带宽上限。 MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitempty" name:"MaxBandwidthOut"` // 修改后的最大入带宽上限。 MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitempty" name:"MaxBandwidthIn"` }
func NewResetInstancesMaxBandwidthRequest ¶
func NewResetInstancesMaxBandwidthRequest() (request *ResetInstancesMaxBandwidthRequest)
func (*ResetInstancesMaxBandwidthRequest) FromJsonString ¶
func (r *ResetInstancesMaxBandwidthRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesMaxBandwidthRequest) ToJsonString ¶
func (r *ResetInstancesMaxBandwidthRequest) ToJsonString() string
type ResetInstancesMaxBandwidthRequestParams ¶ added in v1.0.426
type ResetInstancesMaxBandwidthRequestParams struct { // 待重置带宽上限的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 修改后的最大出带宽上限。 MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitempty" name:"MaxBandwidthOut"` // 修改后的最大入带宽上限。 MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitempty" name:"MaxBandwidthIn"` }
Predefined struct for user
type ResetInstancesMaxBandwidthResponse ¶
type ResetInstancesMaxBandwidthResponse struct { *tchttp.BaseResponse Response *ResetInstancesMaxBandwidthResponseParams `json:"Response"` }
func NewResetInstancesMaxBandwidthResponse ¶
func NewResetInstancesMaxBandwidthResponse() (response *ResetInstancesMaxBandwidthResponse)
func (*ResetInstancesMaxBandwidthResponse) FromJsonString ¶
func (r *ResetInstancesMaxBandwidthResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesMaxBandwidthResponse) ToJsonString ¶
func (r *ResetInstancesMaxBandwidthResponse) ToJsonString() string
type ResetInstancesMaxBandwidthResponseParams ¶ added in v1.0.426
type ResetInstancesMaxBandwidthResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetInstancesPasswordRequest ¶
type ResetInstancesPasswordRequest struct { *tchttp.BaseRequest // 待重置密码的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 新密码,Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9]和[( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /]中的符号。密码不允许以/符号开头。 // Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9]和[( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /]中的符号。密码不允许以/符号开头。 // 如果实例即包含Linux实例又包含Windows实例,则密码复杂度限制按照Windows实例的限制。 Password *string `json:"Password,omitempty" name:"Password"` // 是否强制关机,默认为false。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` // 待重置密码的实例的用户名,不得超过64个字符。若未指定用户名,则对于Linux而言,默认重置root用户的密码,对于Windows而言,默认重置administrator的密码。 UserName *string `json:"UserName,omitempty" name:"UserName"` }
func NewResetInstancesPasswordRequest ¶
func NewResetInstancesPasswordRequest() (request *ResetInstancesPasswordRequest)
func (*ResetInstancesPasswordRequest) FromJsonString ¶
func (r *ResetInstancesPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesPasswordRequest) ToJsonString ¶
func (r *ResetInstancesPasswordRequest) ToJsonString() string
type ResetInstancesPasswordRequestParams ¶ added in v1.0.426
type ResetInstancesPasswordRequestParams struct { // 待重置密码的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 新密码,Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9]和[( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /]中的符号。密码不允许以/符号开头。 // Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9]和[( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /]中的符号。密码不允许以/符号开头。 // 如果实例即包含Linux实例又包含Windows实例,则密码复杂度限制按照Windows实例的限制。 Password *string `json:"Password,omitempty" name:"Password"` // 是否强制关机,默认为false。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` // 待重置密码的实例的用户名,不得超过64个字符。若未指定用户名,则对于Linux而言,默认重置root用户的密码,对于Windows而言,默认重置administrator的密码。 UserName *string `json:"UserName,omitempty" name:"UserName"` }
Predefined struct for user
type ResetInstancesPasswordResponse ¶
type ResetInstancesPasswordResponse struct { *tchttp.BaseResponse Response *ResetInstancesPasswordResponseParams `json:"Response"` }
func NewResetInstancesPasswordResponse ¶
func NewResetInstancesPasswordResponse() (response *ResetInstancesPasswordResponse)
func (*ResetInstancesPasswordResponse) FromJsonString ¶
func (r *ResetInstancesPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesPasswordResponse) ToJsonString ¶
func (r *ResetInstancesPasswordResponse) ToJsonString() string
type ResetInstancesPasswordResponseParams ¶ added in v1.0.426
type ResetInstancesPasswordResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetInstancesRequest ¶
type ResetInstancesRequest struct { *tchttp.BaseRequest // 待重装的实例ID列表。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 重装使用的镜像ID,若未指定,则使用各个实例当前的镜像进行重装。 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 密码设置,若未指定,则后续将以站内信的形式通知密码。 Password *string `json:"Password,omitempty" name:"Password"` // 是否开启云监控和云镜服务,未指定时默认开启。 EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"` // 是否保留数据盘数据,取值"true"/"false"。默认为"true" KeepData *string `json:"KeepData,omitempty" name:"KeepData"` // 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围: // TRUE:表示保持镜像的登录设置 // FALSE:表示不保持镜像的登录设置 // // 默认取值:FALSE。 // 注意:此字段可能返回 null,表示取不到有效值。 KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"` }
func NewResetInstancesRequest ¶
func NewResetInstancesRequest() (request *ResetInstancesRequest)
func (*ResetInstancesRequest) FromJsonString ¶
func (r *ResetInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesRequest) ToJsonString ¶
func (r *ResetInstancesRequest) ToJsonString() string
type ResetInstancesRequestParams ¶ added in v1.0.426
type ResetInstancesRequestParams struct { // 待重装的实例ID列表。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 重装使用的镜像ID,若未指定,则使用各个实例当前的镜像进行重装。 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 密码设置,若未指定,则后续将以站内信的形式通知密码。 Password *string `json:"Password,omitempty" name:"Password"` // 是否开启云监控和云镜服务,未指定时默认开启。 EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"` // 是否保留数据盘数据,取值"true"/"false"。默认为"true" KeepData *string `json:"KeepData,omitempty" name:"KeepData"` // 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围: // TRUE:表示保持镜像的登录设置 // FALSE:表示不保持镜像的登录设置 // // 默认取值:FALSE。 // 注意:此字段可能返回 null,表示取不到有效值。 KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"` }
Predefined struct for user
type ResetInstancesResponse ¶
type ResetInstancesResponse struct { *tchttp.BaseResponse Response *ResetInstancesResponseParams `json:"Response"` }
func NewResetInstancesResponse ¶
func NewResetInstancesResponse() (response *ResetInstancesResponse)
func (*ResetInstancesResponse) FromJsonString ¶
func (r *ResetInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesResponse) ToJsonString ¶
func (r *ResetInstancesResponse) ToJsonString() string
type ResetInstancesResponseParams ¶ added in v1.0.426
type ResetInstancesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetRoutesRequest ¶
type ResetRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // 路由策略。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
func NewResetRoutesRequest ¶
func NewResetRoutesRequest() (request *ResetRoutesRequest)
func (*ResetRoutesRequest) FromJsonString ¶
func (r *ResetRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetRoutesRequest) ToJsonString ¶
func (r *ResetRoutesRequest) ToJsonString() string
type ResetRoutesRequestParams ¶ added in v1.0.426
type ResetRoutesRequestParams struct { // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // 路由策略。 Routes []*Route `json:"Routes,omitempty" name:"Routes"` }
Predefined struct for user
type ResetRoutesResponse ¶
type ResetRoutesResponse struct { *tchttp.BaseResponse Response *ResetRoutesResponseParams `json:"Response"` }
func NewResetRoutesResponse ¶
func NewResetRoutesResponse() (response *ResetRoutesResponse)
func (*ResetRoutesResponse) FromJsonString ¶
func (r *ResetRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetRoutesResponse) ToJsonString ¶
func (r *ResetRoutesResponse) ToJsonString() string
type ResetRoutesResponseParams ¶ added in v1.0.426
type ResetRoutesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Route ¶
type Route struct { // 目的IPv4网段 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 下一跳类型 // NORMAL_CVM:普通云服务器; GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"` // 下一跳地址 // 这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址 // 当 GatewayType 为 EIP 时,GatewayId 固定值 '0' GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"` // 路由策略唯一ID RouteItemId *string `json:"RouteItemId,omitempty" name:"RouteItemId"` // 路由策略描述 RouteDescription *string `json:"RouteDescription,omitempty" name:"RouteDescription"` // 是否启用 Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` // 路由类型,目前我们支持的类型有: // USER:用户路由; // NETD:网络探测路由,创建网络探测实例时,系统默认下发,不可编辑与删除; // CCN:云联网路由,系统默认下发,不可编辑与删除。 // 用户只能添加和操作 USER 类型的路由。 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // 路由策略ID。IPv4路由策略ID是有意义的值,IPv6路由策略是无意义的值0。后续建议完全使用字符串唯一ID `RouteItemId`操作路由策略 RouteId *uint64 `json:"RouteId,omitempty" name:"RouteId"` // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
type RouteConflict ¶
type RouteConflict struct { // 路由表实例ID RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要检查的与之冲突的目的端 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 冲突的路由策略列表 // 注意:此字段可能返回 null,表示取不到有效值。 ConflictSet []*Route `json:"ConflictSet,omitempty" name:"ConflictSet"` }
type RouteTable ¶
type RouteTable struct { // VPC实例ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 路由表实例ID RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // 路由表关联关系 // 注意:此字段可能返回 null,表示取不到有效值。 AssociationSet []*RouteTableAssociation `json:"AssociationSet,omitempty" name:"AssociationSet"` // IPv4路由策略集合 // 注意:此字段可能返回 null,表示取不到有效值。 RouteSet []*Route `json:"RouteSet,omitempty" name:"RouteSet"` // 是否默认路由表 Main *bool `json:"Main,omitempty" name:"Main"` // 创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type RouteTableAssociation ¶
type RuleHealth ¶
type RuleHealth struct { // 本规则上绑定的后端的健康检查状态 // 注意:此字段可能返回 null,表示取不到有效值。 Targets []*TargetHealth `json:"Targets,omitempty" name:"Targets"` }
type RunEIPDirectServiceEnabled ¶
type RunEIPDirectServiceEnabled struct { // 是否开通IP直通。取值范围: // TRUE:表示开通IP直通 // FALSE:表示不开通IP直通 // 默认取值:TRUE。 // windows镜像目前不支持IP直通。 Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` }
type RunInstancesRequest ¶
type RunInstancesRequest struct { *tchttp.BaseRequest // 需要创建实例的可用区及创建数目及运营商的列表。在单次请求的过程中,单个region下的请求创建实例数上限为100 ZoneInstanceCountISPSet []*ZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitempty" name:"ZoneInstanceCountISPSet"` // 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下: // Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]中的特殊符。Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /]中的特殊符号。 Password *string `json:"Password,omitempty" name:"Password"` // 公网出带宽上限,单位:Mbps。 // 1.如果未传该参数或者传的值为0,则使用模块下的默认值。 // 2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthIn的值 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 模块ID。如果未传该参数,则必须传ImageId,InstanceType,DataDiskSize,InternetMaxBandwidthOut参数 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 镜像ID。如果未传该参数或者传的值为空,则使用模块下的默认值 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 实例显示名称。 // 不指定实例显示名称则默认显示‘未命名’。 // 购买多台实例,如果指定模式串{R:x},表示生成数字[x, x+n-1],其中n表示购买实例的数量,例如server\_{R:3},购买1台时,实例显示名称为server\_3;购买2台时,实例显示名称分别为server\_3,server\_4。 // 支持指定多个模式串{R:x}。 // 购买多台实例,如果不指定模式串,则在实例显示名称添加后缀1、2...n,其中n表示购买实例的数量,例如server_,购买2台时,实例显示名称分别为server\_1,server\_2。 // 如果购买的实例属于不同的地域或运营商,则上述规则在每个地域和运营商内独立计数。 // 最多支持60个字符(包含模式串)。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 主机名称 // 点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。 // Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。 // 其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。 HostName *string `json:"HostName,omitempty" name:"HostName"` // 用于保证请求幂等性的字符串。目前为保留参数,请勿使用。 ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务 EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"` // 标签列表 TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"` // 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB UserData *string `json:"UserData,omitempty" name:"UserData"` // 机型。如果未传该参数或者传的值为空,则使用模块下的默认值 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 数据盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值 DataDiskSize *int64 `json:"DataDiskSize,omitempty" name:"DataDiskSize"` // 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 系统盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值 SystemDiskSize *uint64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"` // 公网入带宽上限,单位:Mbps。 // 1.如果未传该参数或者传的值为0,则使用对应模块的默认值。 // 2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthOut InternetMaxBandwidthIn *int64 `json:"InternetMaxBandwidthIn,omitempty" name:"InternetMaxBandwidthIn"` // 实例计费类型。其中: // 0,按资源维度后付费,计算当日用量峰值,例如CPU,内存,硬盘等,仅适用于非GNR系列机型; // 1,按小时后付费,单价:xx元/实例/小时,仅适用于GNR机型,如需开通该计费方式请提工单申请; // 2,按月后付费,单价:xx元/实例/月,仅适用于GNR机型; // 该字段不填时,非GNR机型会默认选择0;GNR机型默认选择2。 InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 密钥对。 KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"` // 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围: // TRUE:表示保持镜像的登录设置 // FALSE:表示不保持镜像的登录设置 // // 默认取值:FALSE。 // 注意:此字段可能返回 null,表示取不到有效值。 KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"` // 系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息。 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
func NewRunInstancesRequest ¶
func NewRunInstancesRequest() (request *RunInstancesRequest)
func (*RunInstancesRequest) FromJsonString ¶
func (r *RunInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunInstancesRequest) ToJsonString ¶
func (r *RunInstancesRequest) ToJsonString() string
type RunInstancesRequestParams ¶ added in v1.0.426
type RunInstancesRequestParams struct { // 需要创建实例的可用区及创建数目及运营商的列表。在单次请求的过程中,单个region下的请求创建实例数上限为100 ZoneInstanceCountISPSet []*ZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitempty" name:"ZoneInstanceCountISPSet"` // 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下: // Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]中的特殊符。Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /]中的特殊符号。 Password *string `json:"Password,omitempty" name:"Password"` // 公网出带宽上限,单位:Mbps。 // 1.如果未传该参数或者传的值为0,则使用模块下的默认值。 // 2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthIn的值 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 模块ID。如果未传该参数,则必须传ImageId,InstanceType,DataDiskSize,InternetMaxBandwidthOut参数 ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"` // 镜像ID。如果未传该参数或者传的值为空,则使用模块下的默认值 ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 实例显示名称。 // 不指定实例显示名称则默认显示‘未命名’。 // 购买多台实例,如果指定模式串{R:x},表示生成数字[x, x+n-1],其中n表示购买实例的数量,例如server\_{R:3},购买1台时,实例显示名称为server\_3;购买2台时,实例显示名称分别为server\_3,server\_4。 // 支持指定多个模式串{R:x}。 // 购买多台实例,如果不指定模式串,则在实例显示名称添加后缀1、2...n,其中n表示购买实例的数量,例如server_,购买2台时,实例显示名称分别为server\_1,server\_2。 // 如果购买的实例属于不同的地域或运营商,则上述规则在每个地域和运营商内独立计数。 // 最多支持60个字符(包含模式串)。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 主机名称 // 点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。 // Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。 // 其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。 HostName *string `json:"HostName,omitempty" name:"HostName"` // 用于保证请求幂等性的字符串。目前为保留参数,请勿使用。 ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务 EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"` // 标签列表 TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"` // 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB UserData *string `json:"UserData,omitempty" name:"UserData"` // 机型。如果未传该参数或者传的值为空,则使用模块下的默认值 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 数据盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值 DataDiskSize *int64 `json:"DataDiskSize,omitempty" name:"DataDiskSize"` // 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // 系统盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值 SystemDiskSize *uint64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"` // 公网入带宽上限,单位:Mbps。 // 1.如果未传该参数或者传的值为0,则使用对应模块的默认值。 // 2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthOut InternetMaxBandwidthIn *int64 `json:"InternetMaxBandwidthIn,omitempty" name:"InternetMaxBandwidthIn"` // 实例计费类型。其中: // 0,按资源维度后付费,计算当日用量峰值,例如CPU,内存,硬盘等,仅适用于非GNR系列机型; // 1,按小时后付费,单价:xx元/实例/小时,仅适用于GNR机型,如需开通该计费方式请提工单申请; // 2,按月后付费,单价:xx元/实例/月,仅适用于GNR机型; // 该字段不填时,非GNR机型会默认选择0;GNR机型默认选择2。 InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 密钥对。 KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"` // 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围: // TRUE:表示保持镜像的登录设置 // FALSE:表示不保持镜像的登录设置 // // 默认取值:FALSE。 // 注意:此字段可能返回 null,表示取不到有效值。 KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"` // 系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"` // 数据盘信息。 DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"` }
Predefined struct for user
type RunInstancesResponse ¶
type RunInstancesResponse struct { *tchttp.BaseResponse Response *RunInstancesResponseParams `json:"Response"` }
func NewRunInstancesResponse ¶
func NewRunInstancesResponse() (response *RunInstancesResponse)
func (*RunInstancesResponse) FromJsonString ¶
func (r *RunInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunInstancesResponse) ToJsonString ¶
func (r *RunInstancesResponse) ToJsonString() string
type RunInstancesResponseParams ¶ added in v1.0.426
type RunInstancesResponseParams struct { // 创建中的实例ID列表 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RunMonitorServiceEnabled ¶
type RunMonitorServiceEnabled struct { // 是否开启。 Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` }
type SecurityGroup ¶
type SecurityGroup struct { // 安全组实例ID,例如:esg-ohuuioma。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称,可任意命名,但不得超过60个字符。 SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // 安全组备注,最多100个字符。 SecurityGroupDesc *string `json:"SecurityGroupDesc,omitempty" name:"SecurityGroupDesc"` // 是否是默认安全组,默认安全组不支持删除。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 安全组创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 标签键值对。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` }
type SecurityGroupAssociationStatistics ¶
type SecurityGroupAssociationStatistics struct { // 安全组实例ID。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // ECM实例数。 ECM *int64 `json:"ECM,omitempty" name:"ECM"` // ECM模块数。 Module *int64 `json:"Module,omitempty" name:"Module"` // 弹性网卡实例数。 ENI *int64 `json:"ENI,omitempty" name:"ENI"` // 被安全组引用数。 SG *int64 `json:"SG,omitempty" name:"SG"` // 负载均衡实例数。 CLB *int64 `json:"CLB,omitempty" name:"CLB"` // 全量实例的绑定统计。 InstanceStatistics []*InstanceStatistic `json:"InstanceStatistics,omitempty" name:"InstanceStatistics"` // 所有资源的总计数(不包含被安全组引用数)。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` }
type SecurityGroupLimitSet ¶
type SecurityGroupLimitSet struct { // 可创建安全组总数 SecurityGroupLimit *int64 `json:"SecurityGroupLimit,omitempty" name:"SecurityGroupLimit"` // 安全组下的最大规则数 SecurityGroupPolicyLimit *int64 `json:"SecurityGroupPolicyLimit,omitempty" name:"SecurityGroupPolicyLimit"` // 安全组下嵌套安全组规则数 ReferedSecurityGroupLimit *int64 `json:"ReferedSecurityGroupLimit,omitempty" name:"ReferedSecurityGroupLimit"` // 单安全组关联实例数 SecurityGroupInstanceLimit *int64 `json:"SecurityGroupInstanceLimit,omitempty" name:"SecurityGroupInstanceLimit"` // 实例关联安全组数 InstanceSecurityGroupLimit *int64 `json:"InstanceSecurityGroupLimit,omitempty" name:"InstanceSecurityGroupLimit"` // 单安全组关联的模块数 SecurityGroupModuleLimit *int64 `json:"SecurityGroupModuleLimit,omitempty" name:"SecurityGroupModuleLimit"` // 模块关联的安全组数 ModuleSecurityGroupLimit *int64 `json:"ModuleSecurityGroupLimit,omitempty" name:"ModuleSecurityGroupLimit"` }
type SecurityGroupPolicy ¶
type SecurityGroupPolicy struct { // 安全组规则索引号 PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"` // 协议, 取值: TCP,UDP, ICMP。 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 端口(all, 离散port, range)。 Port *string `json:"Port,omitempty" name:"Port"` // 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。 ServiceTemplate *ServiceTemplateSpecification `json:"ServiceTemplate,omitempty" name:"ServiceTemplate"` // 网段或IP(互斥)。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 安全组实例ID,例如:esg-ohuuioma。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // IP地址ID或者ID地址组ID。 AddressTemplate *AddressTemplateSpecification `json:"AddressTemplate,omitempty" name:"AddressTemplate"` // ACCEPT 或 DROP。 Action *string `json:"Action,omitempty" name:"Action"` // 安全组规则描述。 PolicyDescription *string `json:"PolicyDescription,omitempty" name:"PolicyDescription"` // 修改时间,例如 2020-07-22 19:27:23 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // 网段或IPv6(互斥)。 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` }
type SecurityGroupPolicySet ¶
type SecurityGroupPolicySet struct { // 安全组规则当前版本。用户每次更新安全规则版本会自动加1,防止更新的路由规则已过期,不填不考虑冲突。 Version *string `json:"Version,omitempty" name:"Version"` // 出站规则。其中出站规则和入站规则必须选一个。 Egress []*SecurityGroupPolicy `json:"Egress,omitempty" name:"Egress"` // 入站规则。其中出站规则和入站规则必须选一个。 Ingress []*SecurityGroupPolicy `json:"Ingress,omitempty" name:"Ingress"` }
type SetLoadBalancerSecurityGroupsRequest ¶
type SetLoadBalancerSecurityGroupsRequest struct { *tchttp.BaseRequest // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 安全组ID构成的数组,一个负载均衡实例最多可绑定5个安全组,如果要解绑所有安全组,可不传此参数,或传入空数组 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` }
func NewSetLoadBalancerSecurityGroupsRequest ¶
func NewSetLoadBalancerSecurityGroupsRequest() (request *SetLoadBalancerSecurityGroupsRequest)
func (*SetLoadBalancerSecurityGroupsRequest) FromJsonString ¶
func (r *SetLoadBalancerSecurityGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerSecurityGroupsRequest) ToJsonString ¶
func (r *SetLoadBalancerSecurityGroupsRequest) ToJsonString() string
type SetLoadBalancerSecurityGroupsRequestParams ¶ added in v1.0.426
type SetLoadBalancerSecurityGroupsRequestParams struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"` // 安全组ID构成的数组,一个负载均衡实例最多可绑定5个安全组,如果要解绑所有安全组,可不传此参数,或传入空数组 SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` }
Predefined struct for user
type SetLoadBalancerSecurityGroupsResponse ¶
type SetLoadBalancerSecurityGroupsResponse struct { *tchttp.BaseResponse Response *SetLoadBalancerSecurityGroupsResponseParams `json:"Response"` }
func NewSetLoadBalancerSecurityGroupsResponse ¶
func NewSetLoadBalancerSecurityGroupsResponse() (response *SetLoadBalancerSecurityGroupsResponse)
func (*SetLoadBalancerSecurityGroupsResponse) FromJsonString ¶
func (r *SetLoadBalancerSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetLoadBalancerSecurityGroupsResponse) ToJsonString ¶
func (r *SetLoadBalancerSecurityGroupsResponse) ToJsonString() string
type SetLoadBalancerSecurityGroupsResponseParams ¶ added in v1.0.426
type SetLoadBalancerSecurityGroupsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SetSecurityGroupForLoadbalancersRequest ¶
type SetSecurityGroupForLoadbalancersRequest struct { *tchttp.BaseRequest // 负载均衡实例ID数组 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // 安全组ID,如 esg-12345678 SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // ADD 绑定安全组; // DEL 解绑安全组 OperationType *string `json:"OperationType,omitempty" name:"OperationType"` }
func NewSetSecurityGroupForLoadbalancersRequest ¶
func NewSetSecurityGroupForLoadbalancersRequest() (request *SetSecurityGroupForLoadbalancersRequest)
func (*SetSecurityGroupForLoadbalancersRequest) FromJsonString ¶
func (r *SetSecurityGroupForLoadbalancersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetSecurityGroupForLoadbalancersRequest) ToJsonString ¶
func (r *SetSecurityGroupForLoadbalancersRequest) ToJsonString() string
type SetSecurityGroupForLoadbalancersRequestParams ¶ added in v1.0.426
type SetSecurityGroupForLoadbalancersRequestParams struct { // 负载均衡实例ID数组 LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"` // 安全组ID,如 esg-12345678 SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // ADD 绑定安全组; // DEL 解绑安全组 OperationType *string `json:"OperationType,omitempty" name:"OperationType"` }
Predefined struct for user
type SetSecurityGroupForLoadbalancersResponse ¶
type SetSecurityGroupForLoadbalancersResponse struct { *tchttp.BaseResponse Response *SetSecurityGroupForLoadbalancersResponseParams `json:"Response"` }
func NewSetSecurityGroupForLoadbalancersResponse ¶
func NewSetSecurityGroupForLoadbalancersResponse() (response *SetSecurityGroupForLoadbalancersResponse)
func (*SetSecurityGroupForLoadbalancersResponse) FromJsonString ¶
func (r *SetSecurityGroupForLoadbalancersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetSecurityGroupForLoadbalancersResponse) ToJsonString ¶
func (r *SetSecurityGroupForLoadbalancersResponse) ToJsonString() string
type SetSecurityGroupForLoadbalancersResponseParams ¶ added in v1.0.426
type SetSecurityGroupForLoadbalancersResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SimpleModule ¶
type Snapshot ¶ added in v1.0.253
type Snapshot struct { // 快照所在的位置。 Placement *Placement `json:"Placement,omitempty" name:"Placement"` // 是否为跨地域复制的快照。取值范围:<br><li>true:表示为跨地域复制的快照。<br><li>false:本地域的快照。 CopyFromRemote *bool `json:"CopyFromRemote,omitempty" name:"CopyFromRemote"` // 是否为永久快照。取值范围:<br><li>true:永久快照<br><li>false:非永久快照。 IsPermanent *bool `json:"IsPermanent,omitempty" name:"IsPermanent"` // 快照名称,用户自定义的快照别名。调用[ModifySnapshotAttribute](/document/product/362/15650)可修改此字段。 SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // 快照创建进度百分比,快照创建成功后此字段恒为100。 Percent *uint64 `json:"Percent,omitempty" name:"Percent"` // 快照关联的镜像列表。 Images []*Image `json:"Images,omitempty" name:"Images"` ShareReference *uint64 `json:"ShareReference,omitempty" name:"ShareReference"` // 快照类型,目前该项取值可以为PRIVATE_SNAPSHOT或者SHARED_SNAPSHOT SnapshotType *string `json:"SnapshotType,omitempty" name:"SnapshotType"` // 创建此快照的云硬盘大小,单位GB。 DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // 创建此快照的云硬盘ID。 DiskId *string `json:"DiskId,omitempty" name:"DiskId"` // 快照正在跨地域复制的目的地域,默认取值为[]。 CopyingToRegions []*string `json:"CopyingToRegions,omitempty" name:"CopyingToRegions"` // 快照ID。 SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // 创建此快照的云硬盘类型。取值范围:<br><li>SYSTEM_DISK:系统盘<br><li>DATA_DISK:数据盘。 DiskUsage *string `json:"DiskUsage,omitempty" name:"DiskUsage"` // 是否为加密盘创建的快照。取值范围:<br><li>true:该快照为加密盘创建的<br><li>false:非加密盘创建的快照。 Encrypt *bool `json:"Encrypt,omitempty" name:"Encrypt"` // 快照的创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 快照关联的镜像个数。 ImageCount *uint64 `json:"ImageCount,omitempty" name:"ImageCount"` // 快照的状态。取值范围:<br><li>NORMAL:正常<br><li>CREATING:创建中<br><li>ROLLBACKING:回滚中<br><li>COPYING_FROM_REMOTE:跨地域复制中<br><li>CHECKING_COPIED:复制校验中<br><li>TORECYCLE:待回收。 SnapshotState *string `json:"SnapshotState,omitempty" name:"SnapshotState"` // 快照的到期时间。 DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"` // 注意:此字段可能返回 null,表示取不到有效值。 TimeStartShare *string `json:"TimeStartShare,omitempty" name:"TimeStartShare"` }
type SrcImage ¶
type SrcImage struct { // 镜像id ImageId *string `json:"ImageId,omitempty" name:"ImageId"` // 镜像名称 ImageName *string `json:"ImageName,omitempty" name:"ImageName"` // 系统名称 ImageOsName *string `json:"ImageOsName,omitempty" name:"ImageOsName"` // 镜像描述 ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"` // 区域 Region *string `json:"Region,omitempty" name:"Region"` // 区域ID RegionID *int64 `json:"RegionID,omitempty" name:"RegionID"` // 区域名称 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 来源实例名称 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 来源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 来源镜像类型 ImageType *string `json:"ImageType,omitempty" name:"ImageType"` }
type StartInstancesRequest ¶
type StartInstancesRequest struct { *tchttp.BaseRequest // 待开启的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
func NewStartInstancesRequest ¶
func NewStartInstancesRequest() (request *StartInstancesRequest)
func (*StartInstancesRequest) FromJsonString ¶
func (r *StartInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartInstancesRequest) ToJsonString ¶
func (r *StartInstancesRequest) ToJsonString() string
type StartInstancesRequestParams ¶ added in v1.0.426
type StartInstancesRequestParams struct { // 待开启的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` }
Predefined struct for user
type StartInstancesResponse ¶
type StartInstancesResponse struct { *tchttp.BaseResponse Response *StartInstancesResponseParams `json:"Response"` }
func NewStartInstancesResponse ¶
func NewStartInstancesResponse() (response *StartInstancesResponse)
func (*StartInstancesResponse) FromJsonString ¶
func (r *StartInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartInstancesResponse) ToJsonString ¶
func (r *StartInstancesResponse) ToJsonString() string
type StartInstancesResponseParams ¶ added in v1.0.426
type StartInstancesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StopInstancesRequest ¶
type StopInstancesRequest struct { *tchttp.BaseRequest // 需要关机的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否在正常关闭失败后选择强制关闭实例,默认为false,即否。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` // 实例的关闭模式。取值范围: // SOFT_FIRST:表示在正常关闭失败后进行强制关闭; // HARD:直接强制关闭; // SOFT:仅软关机; // 默认为SOFT。 StopType *string `json:"StopType,omitempty" name:"StopType"` }
func NewStopInstancesRequest ¶
func NewStopInstancesRequest() (request *StopInstancesRequest)
func (*StopInstancesRequest) FromJsonString ¶
func (r *StopInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopInstancesRequest) ToJsonString ¶
func (r *StopInstancesRequest) ToJsonString() string
type StopInstancesRequestParams ¶ added in v1.0.426
type StopInstancesRequestParams struct { // 需要关机的实例ID列表。在单次请求的过程中,单个region下的请求实例数上限为100。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否在正常关闭失败后选择强制关闭实例,默认为false,即否。 ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"` // 实例的关闭模式。取值范围: // SOFT_FIRST:表示在正常关闭失败后进行强制关闭; // HARD:直接强制关闭; // SOFT:仅软关机; // 默认为SOFT。 StopType *string `json:"StopType,omitempty" name:"StopType"` }
Predefined struct for user
type StopInstancesResponse ¶
type StopInstancesResponse struct { *tchttp.BaseResponse Response *StopInstancesResponseParams `json:"Response"` }
func NewStopInstancesResponse ¶
func NewStopInstancesResponse() (response *StopInstancesResponse)
func (*StopInstancesResponse) FromJsonString ¶
func (r *StopInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopInstancesResponse) ToJsonString ¶
func (r *StopInstancesResponse) ToJsonString() string
type StopInstancesResponseParams ¶ added in v1.0.426
type StopInstancesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Subnet ¶
type Subnet struct { // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网实例ID,例如:subnet-bthucmmy。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 子网名称。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网的 IPv4 CIDR。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 是否默认子网。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 是否开启广播。 EnableBroadcast *bool `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"` // 路由表实例ID,例如:rtb-l2h8d7c2。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 可用IP数。 AvailableIpAddressCount *uint64 `json:"AvailableIpAddressCount,omitempty" name:"AvailableIpAddressCount"` // 子网的 IPv6 CIDR。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 关联ACLID NetworkAclId *string `json:"NetworkAclId,omitempty" name:"NetworkAclId"` // 是否为 SNAT 地址池子网。 IsRemoteVpcSnat *bool `json:"IsRemoteVpcSnat,omitempty" name:"IsRemoteVpcSnat"` // 标签键值对。 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` // 所在区域 Zone *string `json:"Zone,omitempty" name:"Zone"` // 可用区名称 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // 实例数量 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // VPC的 IPv4 CIDR。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"` // VPC的 IPv6 CIDR。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcIpv6CidrBlock *string `json:"VpcIpv6CidrBlock,omitempty" name:"VpcIpv6CidrBlock"` // 地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitempty" name:"Region"` }
type SystemDisk ¶ added in v1.0.272
type SystemDisk struct { // 硬盘类型。取值范围: // - LOCAL_BASIC:本地硬盘; // - CLOUD_PREMIUM:高性能云硬盘; // 默认取值:CLOUD_BASIC。 DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 硬盘ID。此参数暂不可用。 DiskId *string `json:"DiskId,omitempty" name:"DiskId"` // 硬盘容量大小。单位GB。 DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` }
type TagSpecification ¶
type Target ¶
type Target struct { // 后端服务的监听端口 Port *int64 `json:"Port,omitempty" name:"Port"` // 子机ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 后端服务的转发权重,取值范围:[0, 100],默认为 10。 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // 绑定弹性网卡时需要传入此参数,代表弹性网卡的IP,弹性网卡必须先绑定至子机,然后才能绑定到负载均衡实例。注意:参数 InstanceId 和 EniIp 只能传入一个且必须传入一个。 EniIp *string `json:"EniIp,omitempty" name:"EniIp"` }
type TargetHealth ¶
type TargetHealth struct { // Target的内网IP // 注意:此字段可能返回 null,表示取不到有效值。 IP *string `json:"IP,omitempty" name:"IP"` // Target绑定的端口 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitempty" name:"Port"` // 当前健康状态,true:健康,false:不健康(包括尚未开始探测、探测中、状态异常等几种状态)。只有处于健康状态(且权重大于0),负载均衡才会向其转发流量。 // 注意:此字段可能返回 null,表示取不到有效值。 HealthStatus *bool `json:"HealthStatus,omitempty" name:"HealthStatus"` // Target的实例ID // 注意:此字段可能返回 null,表示取不到有效值。 TargetId *string `json:"TargetId,omitempty" name:"TargetId"` // 当前健康状态的详细信息。如:Alive、Dead、Unknown、Close。Alive状态为健康,Dead状态为异常,Unknown状态包括尚未开始探测、探测中、状态未知,Close为未配置健康检查。 // 注意:此字段可能返回 null,表示取不到有效值。 HealthStatusDetail *string `json:"HealthStatusDetail,omitempty" name:"HealthStatusDetail"` }
type TargetsWeightRule ¶
type TaskOutput ¶
type TaskOutput struct { // 任务id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 状态描述 Message *string `json:"Message,omitempty" name:"Message"` // 状态值,SUCCESS/FAILED/OPERATING Status *string `json:"Status,omitempty" name:"Status"` // 任务提交时间 AddTime *string `json:"AddTime,omitempty" name:"AddTime"` // 任务结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 操作名 Operation *string `json:"Operation,omitempty" name:"Operation"` }
type TerminateDisksRequest ¶ added in v1.0.253
type TerminateDisksRequest struct { *tchttp.BaseRequest // 需退还的云盘ID列表。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` }
func NewTerminateDisksRequest ¶ added in v1.0.253
func NewTerminateDisksRequest() (request *TerminateDisksRequest)
func (*TerminateDisksRequest) FromJsonString ¶ added in v1.0.253
func (r *TerminateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDisksRequest) ToJsonString ¶ added in v1.0.253
func (r *TerminateDisksRequest) ToJsonString() string
type TerminateDisksRequestParams ¶ added in v1.0.426
type TerminateDisksRequestParams struct { // 需退还的云盘ID列表。 DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` }
Predefined struct for user
type TerminateDisksResponse ¶ added in v1.0.253
type TerminateDisksResponse struct { *tchttp.BaseResponse Response *TerminateDisksResponseParams `json:"Response"` }
func NewTerminateDisksResponse ¶ added in v1.0.253
func NewTerminateDisksResponse() (response *TerminateDisksResponse)
func (*TerminateDisksResponse) FromJsonString ¶ added in v1.0.253
func (r *TerminateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDisksResponse) ToJsonString ¶ added in v1.0.253
func (r *TerminateDisksResponse) ToJsonString() string
type TerminateDisksResponseParams ¶ added in v1.0.426
type TerminateDisksResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateInstancesRequest ¶
type TerminateInstancesRequest struct { *tchttp.BaseRequest // 待销毁的实例ID列表。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否定时销毁,默认为否。 TerminateDelay *bool `json:"TerminateDelay,omitempty" name:"TerminateDelay"` // 定时销毁的时间,格式形如:"2019-08-05 12:01:30",若非定时销毁,则此参数被忽略。 TerminateTime *string `json:"TerminateTime,omitempty" name:"TerminateTime"` // 是否关联删除已绑定的弹性网卡和弹性IP,默认为true。 // 当为true时,一并删除弹性网卡和弹性IP; // 当为false时,只销毁主机,保留弹性网卡和弹性IP。 AssociatedResourceDestroy *bool `json:"AssociatedResourceDestroy,omitempty" name:"AssociatedResourceDestroy"` }
func NewTerminateInstancesRequest ¶
func NewTerminateInstancesRequest() (request *TerminateInstancesRequest)
func (*TerminateInstancesRequest) FromJsonString ¶
func (r *TerminateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstancesRequest) ToJsonString ¶
func (r *TerminateInstancesRequest) ToJsonString() string
type TerminateInstancesRequestParams ¶ added in v1.0.426
type TerminateInstancesRequestParams struct { // 待销毁的实例ID列表。 InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` // 是否定时销毁,默认为否。 TerminateDelay *bool `json:"TerminateDelay,omitempty" name:"TerminateDelay"` // 定时销毁的时间,格式形如:"2019-08-05 12:01:30",若非定时销毁,则此参数被忽略。 TerminateTime *string `json:"TerminateTime,omitempty" name:"TerminateTime"` // 是否关联删除已绑定的弹性网卡和弹性IP,默认为true。 // 当为true时,一并删除弹性网卡和弹性IP; // 当为false时,只销毁主机,保留弹性网卡和弹性IP。 AssociatedResourceDestroy *bool `json:"AssociatedResourceDestroy,omitempty" name:"AssociatedResourceDestroy"` }
Predefined struct for user
type TerminateInstancesResponse ¶
type TerminateInstancesResponse struct { *tchttp.BaseResponse Response *TerminateInstancesResponseParams `json:"Response"` }
func NewTerminateInstancesResponse ¶
func NewTerminateInstancesResponse() (response *TerminateInstancesResponse)
func (*TerminateInstancesResponse) FromJsonString ¶
func (r *TerminateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstancesResponse) ToJsonString ¶
func (r *TerminateInstancesResponse) ToJsonString() string
type TerminateInstancesResponseParams ¶ added in v1.0.426
type TerminateInstancesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type VirtualPrivateCloud ¶
type VirtualPrivateCloud struct { // 私有网络ID,形如vpc-xxx。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 私有网络子网ID,形如subnet-xxx。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围: // TRUE:表示用作公网网关 // FALSE:表示不用作公网网关 // // 默认取值:FALSE。 AsVpcGateway *bool `json:"AsVpcGateway,omitempty" name:"AsVpcGateway"` // 私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 为弹性网卡指定随机生成的 IPv6 地址数量。 Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"` }
type VpcInfo ¶
type VpcInfo struct { // VPC名称。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // VPC实例ID,例如:vpc-azd4dt1c。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC的IPv4 CIDR。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 是否默认VPC。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 是否开启组播。 EnableMulticast *bool `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // DNS列表。 // 注意:此字段可能返回 null,表示取不到有效值。 DnsServerSet []*string `json:"DnsServerSet,omitempty" name:"DnsServerSet"` // DHCP域名选项值。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // DHCP选项集ID。 DhcpOptionsId *string `json:"DhcpOptionsId,omitempty" name:"DhcpOptionsId"` // 是否开启DHCP。 EnableDhcp *bool `json:"EnableDhcp,omitempty" name:"EnableDhcp"` // VPC的IPv6 CIDR。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 标签键值对 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"` // 辅助CIDR // 注意:此字段可能返回 null,表示取不到有效值。 AssistantCidrSet []*AssistantCidr `json:"AssistantCidrSet,omitempty" name:"AssistantCidrSet"` // 地域 Region *string `json:"Region,omitempty" name:"Region"` // 描述 Description *string `json:"Description,omitempty" name:"Description"` // 地域中文名 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 包含子网数量 SubnetCount *uint64 `json:"SubnetCount,omitempty" name:"SubnetCount"` // 包含实例数量 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` }
type ZoneInstanceCountISP ¶
type ZoneInstanceCountISP struct { // 创建实例的可用区。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 在当前可用区欲创建的实例数目。 InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // 运营商如下: // CTCC:中国电信 // CUCC:中国联通 // CMCC:中国移动 // 多个运营商用英文分号连接";",例如:"CMCC;CUCC;CTCC"。多运营商需要开通白名单,请直接联系腾讯云客服。 ISP *string `json:"ISP,omitempty" name:"ISP"` // 指定私有网络编号,SubnetId与VpcId必须同时指定或不指定 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 指定子网编号,SubnetId与VpcId必须同时指定或不指定 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 指定主网卡内网IP。条件:SubnetId与VpcId必须同时指定,并且IP数量与InstanceCount相同,多IP主机副网卡内网IP在相同子网内通过DHCP获取。 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"` // 为弹性网卡指定随机生成的IPv6地址数量,目前数量不能大于1。 Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"` }