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 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) 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) 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) 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) 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) 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) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- type Country
- 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 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 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 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 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 TerminateInstancesRequest
- type TerminateInstancesRequestParams
- type TerminateInstancesResponse
- type TerminateInstancesResponseParams
- type VirtualPrivateCloud
- type VpcInfo
- type ZoneInfo
- type ZoneInstanceCountISP
- type ZoneInstanceInfo
Constants ¶
const ( // Authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Insufficient balance. FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance" // Data operation failed. FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed" // The image is in use. FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse" // An instance already exists under the module. FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule" // Not all instances are shut down. FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped" // The instance does not belong to the current module. FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed" // Internal error. FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" // This operation cannot be performed in the current status. FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus" // The current operation cannot be performed as another operation is being performed. FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict" // The current operation is not allowed. FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" // The private IP has been bound to an EIP. FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded" // The private IP is unavailable. FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable" // Internal error. INTERNALERROR = "InternalError" // The parameter is incorrect. INVALIDPARAMETER = "InvalidParameter" // The parameters cannot be specified at the same time. INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" // The parameter format is incorrect. INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" // The data format is incorrect. INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" // The two specified parameters conflict. An EIP can only be bound to an instance or the specified private IP of the specified ENI. INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict" // The CLB instance ID is incorrect. INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound" // The listener ID is incorrect. INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound" // No eligible forwarding rules were found. INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound" // Only `KeepImageLogin`, `Password`, or `KeyIds` can be used at a time. INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" // Listener port check failed due to a port conflict. INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed" // Listener protocol check failed, because this operation is not supported by the protocol. INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed" // The region is invalid. INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound" // The parameter value is incorrect. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The number applied for exceeds the limit. INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded" // The bandwidth exceeds the limit. INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" // The destination IP range is not within the CIDR range of the customer VPC. INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // The data is duplicate. INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // The value of the `Filter` parameter exceeds the limit. INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded" // An image has already been imported. INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate" // The image name is duplicate. INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate" // The image size is greater than the system disk size. INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize" // The instance configuration does not match. INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch" // The instance does not support the current operation. INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported" // The instance name length exceeds the limit. INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" // The instance model and `pid` do not match. INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid" // The EIP is invalid. INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId" // Your input is incorrect, or you have no permission for the operation. INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance" // The ENI ID is invalid. INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID" // `HostName` is invalid. INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName" // The parameter is incorrect. INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam" // The number of modules is invalid. INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum" // The pagination parameter is invalid. INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam" // The password is invalid. INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword" // When you bind an ENI synchronously, you can apply for only one EIP at a time. INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount" // The bandwidth size is invalid. INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" // The inbound bandwidth size exceeds the limit. INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn" // The inbound and outbound bandwidth must be the same. INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut" // The selected billing mode is not supported. INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType" // The number of data disks is invalid. INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum" // The data disk size is invalid. INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize" // The data disk type is invalid. INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType" // Windows images do not support IP direct access. INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" // The region parameter is invalid. INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion" // The filter is invalid. INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" // The ISP is invalid. INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode" // Models with a memory of 4 GB or above do not support 32-bit OS images. INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture" // The image ID is invalid. INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID" // The billing mode of the instance is invalid. INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType" // The instance ID is invalid. INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" // The configuration of a High-IO model cannot be adjusted. INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" // The model ID is invalid. INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID" // The billing mode is invalid. INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType" // Invalid key ID. INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId" // Invalid key name. INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName" // The number of CLB instances is invalid. INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum" // The CLB instance type is invalid. INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType" // The module ID is invalid. INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" // The `ModuleId` and `InstanceType` parameters cannot be both empty. INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID" // The `ModuleId` and `InstanceType` parameters cannot be both empty. INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID" // The module names conflict. INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName" // The sort field is invalid. INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField" // The common parameter is invalid. INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" // The ECM region is invalid. INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" // The security group ID is invalid. INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID" // InvalidParameterValue.InvalidSnapshot INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot" // InvalidParameterValue.InvalidSnapshotId INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" // The node does not exist in this subnet. INVALIDPARAMETERVALUE_INVALIDSUBNETINZONE = "InvalidParameterValue.InvalidSubnetInZone" // The system disk size is invalid. INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize" // The system disk type is invalid. INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType" // The time is invalid. INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" // The zone is invalid. INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" // The city or quantity is invalid. INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount" // This model is not supported in the AZ. INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType" // The parameter length is incorrect. INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length" // The parameter value exceeds the limit. INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // The input parameter format is invalid. INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // The default configuration of an ECM module associated with instances cannot be modified. INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange" // The node does not support IPv6. INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6" // The object is not in the current subnet. INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet" // The specified object is not the current VPC. INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" // The parameter value exceeds the limit. INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge" // The parameter value is not in the specified range. INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" // The parameter value is an object retained by the system. INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" // The specified CIDR block conflicts with another subnet in the same VPC. INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" // The subnet IP range is invalid. INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // The number of tags exceeds the limit. INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange" // The task was not found. INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound" // The scheduled termination time is before the current time. INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller" // The parameter value is too long. INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" // The model does not support the selected billing mode. INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType" // The region is not supported. INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion" // IPv6 is not supported. INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6" // The destination IP range conflicts with the CIDR block of the current VPC. INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // The number applied for exceeds the limit. LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" // The maximum number of applications has been reached. The maximum number of applications that can be made by a Tencent Cloud account per day in each region is equal to twice the quota. LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate" // Exceeded the upper limit of the assigned IPv6 IP ranges. LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" // The number of purchasable ENIs is insufficient. LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded" // The number of security groups bound to the instance exceeds the limit. LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded" // The number of CLB instances applied for exceeds the limit. LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded" // The number of default module security groups exceeds the limit. LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded" // The number of ENIs or public IPs exceeds the limit specified by the CPU. LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded" // The number of private IPs exceeds the limit. LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded" // The number of instances bound to the security group exceeds the limit. LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded" // The number of modules that can be associated with the security group exceeds the limit. LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded" // The number of security group rules exceeds the upper limit. LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" // The number of CPU cores applied for exceeds the limit. LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded" // The parameter is missing. MISSINGPARAMETER = "MissingParameter" // The entity parameter to be associated is missing. MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity" // The request parameters required to get the basic configuration are incomplete. MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter" // The image operation parameters are incomplete. MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter" // The model operation parameters are incomplete. MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter" // The instance operation parameters are incomplete. MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" // The module operation parameters are incomplete. MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter" // The request parameters required for ENI operation configuration are missing. MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter" // The node operation parameters are incomplete. MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" // The request parameters required to get the configuration of the overview page are incomplete. MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" // The private IP address is missing. MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress" // The current operation is not allowed. OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" // The resource is in use. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // Insufficient IP resource. RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough" // The instance resource is insufficient. RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough" // The number of private images exceeds the limit. RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum" // RESOURCEINSUFFICIENT_PRIVATEIPQUOTANOTENOUGH = "ResourceInsufficient.PrivateIPQuotaNotEnough" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The instance is invalid. RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" // The instance is not running. RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning" // CLB instances have been sold out. RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut" // RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" // You don't have the permission to perform this operation. UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" // UnauthorizedOperation.MFAExpired UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The IP was not found. UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound" // The specified instance has been bound to an EIP. You must unbind it from the current EIP first before you can bind it to another EIP. UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip" // The ENI is already associated with an instance. UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" // The instance is not associated. UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" // The default route table cannot be deleted. UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute" // The route table associated with a subnet cannot be deleted. UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet" // The security group policy is duplicate. UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" // The ECMP is not supported. UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" // ECMP was formed with the CCN route. UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" // ECMP was formed with the custom route. UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" // The instance ID is invalid, as the specified instance ID does not exist. UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound" // The instance is not supported. UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported" // The current model does not support the selected image. UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage" // This operation cannot be performed in the current status. UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // The specified `NetworkInterfaceId` does not exist, or the specified `PrivateIpAddress` is not on the `NetworkInterfaceId`. UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound" // The specified private IP of the specified ENI has already been bound to an EIP. A private IP cannot be bound to more than one EIP. UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip" // The resource status is invalid. UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" // Please check whether the provided IP address is complete. UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed" // A task with a mutually exclusive resource is being executed. UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" // The instance specification supports binding only three EIPs. UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded" // UnsupportedOperation.SnapHasShared UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared" // UnsupportedOperation.SnapshotHasBindedImage UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage" // This operation cannot be performed in the current status. UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit" // Operations on the system route are prohibited. UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" // The specified version number of the security group rule is inconsistent with the latest version. UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" // The resources are not in the same 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 { // Unique EIP ID. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // EIP name. AddressName *string `json:"AddressName,omitnil" name:"AddressName"` // EIP status, including 'CREATING' (creating), 'BINDING' (binding), 'BIND' (bound), 'UNBINDING' (unbinding), 'UNBIND' (unbound), 'OFFLINING' (releasing), and 'BIND_ENI' (binding dangling ENI) AddressStatus *string `json:"AddressStatus,omitnil" name:"AddressStatus"` // Public IP address AddressIp *string `json:"AddressIp,omitnil" name:"AddressIp"` // ID of the bound resource instance. // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Creation time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // ID of the bound ENI // Note: this field may return null, indicating that no valid values can be obtained. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Private IP of the bound resource // Note: this field may return null, indicating that no valid values can be obtained. PrivateAddressIp *string `json:"PrivateAddressIp,omitnil" name:"PrivateAddressIp"` // Isolation status of the resource. true: isolated; false: not isolated. IsArrears *bool `json:"IsArrears,omitnil" name:"IsArrears"` // Blockage status of the EIP resource. true: blocked; false: not blocked IsBlocked *bool `json:"IsBlocked,omitnil" name:"IsBlocked"` // Whether the EIP supports direct access mode. true: yes; false: no. IsEipDirectConnection *bool `json:"IsEipDirectConnection,omitnil" name:"IsEipDirectConnection"` // Resource type of the EIP, including `CalcIP` (device IP), `WanIP` (general public IP), `EIP` (elastic IP), and `AnycastEip` (accelerated EIP). AddressType *string `json:"AddressType,omitnil" name:"AddressType"` // Whether the EIP is automatically released after being unbound. true: yes; false: no CascadeRelease *bool `json:"CascadeRelease,omitnil" name:"CascadeRelease"` // ISP. CTCC: China Telecom; CUCC: China Unicom; CMCC: China Mobile // Note: this field may return null, indicating that no valid values can be obtained. InternetServiceProvider *string `json:"InternetServiceProvider,omitnil" name:"InternetServiceProvider"` // Bandwidth cap // Note: this field may return null, indicating that no valid values can be obtained. Bandwidth *uint64 `json:"Bandwidth,omitnil" name:"Bandwidth"` // Billing mode // Note: this field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil" name:"PayMode"` }
type AddressInfo ¶
type AddressInfo struct { // Public IP information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. PublicIPAddressInfo *PublicIPAddressInfo `json:"PublicIPAddressInfo,omitnil" name:"PublicIPAddressInfo"` // Private IP information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. PrivateIPAddressInfo *PrivateIPAddressInfo `json:"PrivateIPAddressInfo,omitnil" name:"PrivateIPAddressInfo"` // Public IPv6 information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. PublicIPv6AddressInfo *PublicIPAddressInfo `json:"PublicIPv6AddressInfo,omitnil" name:"PublicIPv6AddressInfo"` }
type AllocateAddressesRequest ¶
type AllocateAddressesRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Number of EIPs. Default value: 1. AddressCount *uint64 `json:"AddressCount,omitnil" name:"AddressCount"` // CMCC: China Mobile // CTCC: China Telecom // CUCC: China Unicom InternetServiceProvider *string `json:"InternetServiceProvider,omitnil" name:"InternetServiceProvider"` // 1–5000 Mbps. Default value: 1 Mbps. InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"` // List of tags to be bound. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // ID of the instance to be bound. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type AllocateAddressesRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Number of EIPs. Default value: 1. AddressCount *uint64 `json:"AddressCount,omitnil" name:"AddressCount"` // CMCC: China Mobile // CTCC: China Telecom // CUCC: China Unicom InternetServiceProvider *string `json:"InternetServiceProvider,omitnil" name:"InternetServiceProvider"` // 1–5000 Mbps. Default value: 1 Mbps. InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"` // List of tags to be bound. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // ID of the instance to be bound. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type AllocateAddressesResponseParams struct { // List of unique IDs of the EIPs applied for. // Note: this field may return null, indicating that no valid values can be obtained. AddressSet []*string `json:"AddressSet,omitnil" name:"AddressSet"` // Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AssignIpv6AddressesRequest ¶
type AssignIpv6AddressesRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-1snva0vd`. Currently, only the primary ENI will be assigned the ID. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // List of specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time. The quota is calculated together with that of `Ipv6AddressCount`, a required input parameter alternative to this one. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" name:"Ipv6Addresses"` // Number of automatically assigned IPv6 addresses. The total number of private IP addresses cannot exceed the quota. The quota is calculated together with that of `Ipv6Addresses`, a required input parameter alternative to this one. Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitnil" name:"Ipv6AddressCount"` // Ipv6 ISP. Valid values: // `CTCC`: China Telecom // `CUCC`: China Unicom // `CMCC`: China Mobile Ipv6ISP *string `json:"Ipv6ISP,omitnil" 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 ¶
type AssignIpv6AddressesRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-1snva0vd`. Currently, only the primary ENI will be assigned the ID. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // List of specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time. The quota is calculated together with that of `Ipv6AddressCount`, a required input parameter alternative to this one. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" name:"Ipv6Addresses"` // Number of automatically assigned IPv6 addresses. The total number of private IP addresses cannot exceed the quota. The quota is calculated together with that of `Ipv6Addresses`, a required input parameter alternative to this one. Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitnil" name:"Ipv6AddressCount"` // Ipv6 ISP. Valid values: // `CTCC`: China Telecom // `CUCC`: China Unicom // `CMCC`: China Mobile Ipv6ISP *string `json:"Ipv6ISP,omitnil" 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 ¶
type AssignIpv6AddressesResponseParams struct { // List of IPv6 addresses assigned to ENIs. Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitnil" name:"Ipv6AddressSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AssignPrivateIpAddressesRequest ¶
type AssignPrivateIpAddressesRequest struct { *tchttp.BaseRequest // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. You must provide either this parameter or `SecondaryPrivateIpAddressCount`, or both. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Number of private IP addresses applied for. You must provide either this parameter or `PrivateIpAddresses`, or both. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitnil" 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 ¶
type AssignPrivateIpAddressesRequestParams struct { // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. You must provide either this parameter or `SecondaryPrivateIpAddressCount`, or both. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Number of private IP addresses applied for. You must provide either this parameter or `PrivateIpAddresses`, or both. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitnil" 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 ¶
type AssignPrivateIpAddressesResponseParams struct { // Private IP details. // Note: this field may return null, indicating that no valid values can be obtained. PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitnil" name:"PrivateIpAddressSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AssistantCidr ¶
type AssistantCidr struct { // VPC instance ID, such as `vpc-6v2ht8q5` VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Secondary CIDR, such as `172.16.0.0/16` CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Secondary CIDR block type. 0: general secondary CIDR block; 1: container secondary CIDR block. Default value: 0. AssistantType *uint64 `json:"AssistantType,omitnil" name:"AssistantType"` // Subnets divided by the secondary CIDR block. // Note: this field may return null, indicating that no valid values can be obtained. // Note: this field may return null, indicating that no valid values can be obtained. SubnetSet []*Subnet `json:"SubnetSet,omitnil" name:"SubnetSet"` }
type AssociateAddressRequest ¶
type AssociateAddressRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // ID of the instance to be bound. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type AssociateAddressRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // ID of the instance to be bound. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type AssociateAddressResponseParams struct { // Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AssociateSecurityGroupsRequest ¶
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // ID of the security group to be bound, such as `esg-efil73jd`. You can bind only one security group. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // ID of the bound instance, such as `ein-lesecurk`. You can specify multiple instances and request up to 100 instances at a time. InstanceIds []*string `json:"InstanceIds,omitnil" 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 ¶
type AssociateSecurityGroupsRequestParams struct { // ID of the security group to be bound, such as `esg-efil73jd`. You can bind only one security group. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // ID of the bound instance, such as `ein-lesecurk`. You can specify multiple instances and request up to 100 instances at a time. InstanceIds []*string `json:"InstanceIds,omitnil" 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 ¶
type AssociateSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AttachNetworkInterfaceRequest ¶
type AttachNetworkInterfaceRequest struct { *tchttp.BaseRequest // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Instance ID, such as `ein-r8hr2upy`. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type AttachNetworkInterfaceRequestParams struct { // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Instance ID, such as `ein-r8hr2upy`. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type AttachNetworkInterfaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Backend ¶
type Backend struct { // Unique real server ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Listening port of the real server // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // Forwarding weight of the real server. Value range: [0, 100]. Default value: 10. // Note: this field may return null, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitnil" name:"Weight"` // Private IP of the real server // Note: this field may return null, indicating that no valid values can be obtained. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Real server binding time // Note: this field may return null, indicating that no valid values can be obtained. RegisteredTime *string `json:"RegisteredTime,omitnil" name:"RegisteredTime"` // Unique ENI ID // Note: this field may return null, indicating that no valid values can be obtained. EniId *string `json:"EniId,omitnil" name:"EniId"` // Public IP of the real server // Note: this field may return null, indicating that no valid values can be obtained. PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil" name:"PublicIpAddresses"` // Real server instance name // Note: this field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` }
type BatchDeregisterTargetsRequest ¶
type BatchDeregisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Unbound targets Targets []*BatchTarget `json:"Targets,omitnil" 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 ¶
type BatchDeregisterTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Unbound targets Targets []*BatchTarget `json:"Targets,omitnil" 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 ¶
type BatchDeregisterTargetsResponseParams struct { // IDs of the listeners failed to be unbound // Note: this field may return null, indicating that no valid values can be obtained. FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BatchModifyTargetWeightRequest ¶
type BatchModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*TargetsWeightRule `json:"ModifyList,omitnil" 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 ¶
type BatchModifyTargetWeightRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // List of weights to be modified in batches ModifyList []*TargetsWeightRule `json:"ModifyList,omitnil" 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 ¶
type BatchModifyTargetWeightResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BatchRegisterTargetsRequest ¶
type BatchRegisterTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Bound targets Targets []*BatchTarget `json:"Targets,omitnil" 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 ¶
type BatchRegisterTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Bound targets Targets []*BatchTarget `json:"Targets,omitnil" 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 ¶
type BatchRegisterTargetsResponseParams struct { // IDs of the listeners failed to be bound. If this parameter is empty, all listeners have been bound successfully. // Note: this field may return null, indicating that no valid values can be obtained. FailListenerIdSet []*string `json:"FailListenerIdSet,omitnil" name:"FailListenerIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BatchTarget ¶
type BatchTarget struct { // Listener ID // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // Bound port // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // CVM instance ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ENI IP // Note: this field may return null, indicating that no valid values can be obtained. EniIp *string `json:"EniIp,omitnil" name:"EniIp"` // Weight of the CVM instance. Value range: [0, 100]. If it is not specified for binding the instance, 10 will be used by default. // Note: this field may return null, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitnil" 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 This API is used to apply for one or multiple EIPs.
error code that may be returned:
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 ¶
func (c *Client) AllocateAddressesWithContext(ctx context.Context, request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
AllocateAddresses This API is used to apply for one or multiple EIPs.
error code that may be returned:
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 This API is used to apply for an IPv6 address for an ENI.
error code that may be returned:
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" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) AssignIpv6AddressesWithContext ¶
func (c *Client) AssignIpv6AddressesWithContext(ctx context.Context, request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
AssignIpv6Addresses This API is used to apply for an IPv6 address for an ENI.
error code that may be returned:
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" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) AssignPrivateIpAddresses ¶
func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
AssignPrivateIpAddresses This API is used to apply for a private IP for an ENI.
error code that may be returned:
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 ¶
func (c *Client) AssignPrivateIpAddressesWithContext(ctx context.Context, request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
AssignPrivateIpAddresses This API is used to apply for a private IP for an ENI.
error code that may be returned:
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 This API is used to bind an EIP to an instance or the specified private IP of an ENI.
Binding an EIP to an instance (ECM) is essentially to bind it to the primary private IP of the primary ENI of the instance.
When you bind an EIP to the private IP of the specified ENI, if the private IP is already bound to an EIP or public IP, a failure will be reported, and you must unbind it first before you can bind it to a new EIP.
Only EIPs in `UNBIND` status can be bound to a private IP.
error code that may be returned:
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 ¶
func (c *Client) AssociateAddressWithContext(ctx context.Context, request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
AssociateAddress This API is used to bind an EIP to an instance or the specified private IP of an ENI.
Binding an EIP to an instance (ECM) is essentially to bind it to the primary private IP of the primary ENI of the instance.
When you bind an EIP to the private IP of the specified ENI, if the private IP is already bound to an EIP or public IP, a failure will be reported, and you must unbind it first before you can bind it to a new EIP.
Only EIPs in `UNBIND` status can be bound to a private IP.
error code that may be returned:
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 This API is used to bind a security group.
error code that may be returned:
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 ¶
func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups This API is used to bind a security group.
error code that may be returned:
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) AttachNetworkInterface ¶
func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
AttachNetworkInterface This API is used to bind an ENI to a CVM instance.
error code that may be returned:
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 ¶
func (c *Client) AttachNetworkInterfaceWithContext(ctx context.Context, request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
AttachNetworkInterface This API is used to bind an ENI to a CVM instance.
error code that may be returned:
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 This API is used to batch unbind real servers.
error code that may be returned:
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 ¶
func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)
BatchDeregisterTargets This API is used to batch unbind real servers.
error code that may be returned:
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 This API is used to batch modify the forwarding weights of the real servers bound to a listener.
error code that may be returned:
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 ¶
func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)
BatchModifyTargetWeight This API is used to batch modify the forwarding weights of the real servers bound to a listener.
error code that may be returned:
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 This API is used to batch bind backend targets.
error code that may be returned:
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 ¶
func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)
BatchRegisterTargets This API is used to batch bind backend targets.
error code that may be returned:
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) CreateHaVip ¶
func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
CreateHaVip This API is used to create an HAVIP.
error code that may be returned:
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 ¶
func (c *Client) CreateHaVipWithContext(ctx context.Context, request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
CreateHaVip This API is used to create an HAVIP.
error code that may be returned:
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 This API is used to create an image with the system disk of an instance. The image can be used to create instances.
error code that may be returned:
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 ¶
func (c *Client) CreateImageWithContext(ctx context.Context, request *CreateImageRequest) (response *CreateImageResponse, err error)
CreateImage This API is used to create an image with the system disk of an instance. The image can be used to create instances.
error code that may be returned:
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 ¶
func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair This API is used to create an `OpenSSH RSA` key pair, which can be used to log in to a Linux instance.
error code that may be returned:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateKeyPairWithContext ¶
func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair This API is used to create an `OpenSSH RSA` key pair, which can be used to log in to a Linux instance.
error code that may be returned:
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 This API is used to create a CLB listener.
error code that may be returned:
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 ¶
func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)
CreateListener This API is used to create a CLB listener.
error code that may be returned:
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 This API is used to purchase a CLB instance.
error code that may be returned:
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 ¶
func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer This API is used to purchase a CLB instance.
error code that may be returned:
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 This API is used to create a module.
error code that may be returned:
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 ¶
func (c *Client) CreateModuleWithContext(ctx context.Context, request *CreateModuleRequest) (response *CreateModuleResponse, err error)
CreateModule This API is used to create a module.
error code that may be returned:
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 This API is used to create an ENI.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" 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 ¶
func (c *Client) CreateNetworkInterfaceWithContext(ctx context.Context, request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
CreateNetworkInterface This API is used to create an ENI.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" 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 After a VPC is created, the system will create a default route table, with which all new subnets will be associated. By default, you can use the default route table to manage your routing policies. If you have multiple routing policies, you can call the API for route table creation to create more route tables to manage your routing policies.
error code that may be returned:
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" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateRouteTableWithContext ¶
func (c *Client) CreateRouteTableWithContext(ctx context.Context, request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
CreateRouteTable After a VPC is created, the system will create a default route table, with which all new subnets will be associated. By default, you can use the default route table to manage your routing policies. If you have multiple routing policies, you can call the API for route table creation to create more route tables to manage your routing policies.
error code that may be returned:
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" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) CreateRoutes ¶
func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
CreateRoutes This API is used to create a routing policy.
error code that may be returned:
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 ¶
func (c *Client) CreateRoutesWithContext(ctx context.Context, request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
CreateRoutes This API is used to create a routing policy.
error code that may be returned:
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 This API is used to create a security group.
error code that may be returned:
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>This API is used to create a security group policy.</p>
<p>In the `SecurityGroupPolicySet` parameter:</p>
<ul>
<li>`Version`: the version number of a security group policy, which automatically increases by one each time you update the security policy, to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.</li>
<li>When creating the `Egress` and `Ingress` polices,<ul>
<li><code>Protocol</code>: <code>TCP</code>, <code>UDP</code>, <code>ICMP</code>, <code>GRE</code>, or <code>ALL</code>.</li>
<li>`CidrBlock`: a CIDR block in the correct format. In a classic network, if a `CidrBlock` contains private IPs on Tencent Cloud for devices under your account other than CVMs, it does not mean this policy allows you to access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>
<li>`SecurityGroupId`: ID of the security group. It can be the ID of security group to be modified, or the ID of other security group in the same project. All private IPs of all CVMs under the security group will be covered. If this field is used, the policy will automatically change according to the CVM associated with the group ID while being used to match network messages. You don’t need to change it manually.</li>
<li>`Port`: a single port number such as 80, or a port range in the format of “8000-8010”. You may use this field only if the `Protocol` field takes the value `TCP` or `UDP`. Otherwise `Protocol` and `Port` are mutually exclusive.</li>
<li>`Action`: only allows `ACCEPT` or `DROP`.</li>
<li>`CidrBlock`, `SecurityGroupId`, and `AddressTemplate` are mutually exclusive. `Protocol` + `Port` and `ServiceTemplate` are mutually exclusive.</li>
<li>You can only create policies in one direction in each request. To specify the `PolicyIndex` parameter, use the same index number in policies.</li>
</ul></li></ul>
<p>Default API request rate limit: 20 requests/sec.</p>
error code that may be returned:
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 ¶
func (c *Client) CreateSecurityGroupPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
CreateSecurityGroupPolicies <p>This API is used to create a security group policy.</p>
<p>In the `SecurityGroupPolicySet` parameter:</p>
<ul>
<li>`Version`: the version number of a security group policy, which automatically increases by one each time you update the security policy, to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.</li>
<li>When creating the `Egress` and `Ingress` polices,<ul>
<li><code>Protocol</code>: <code>TCP</code>, <code>UDP</code>, <code>ICMP</code>, <code>GRE</code>, or <code>ALL</code>.</li>
<li>`CidrBlock`: a CIDR block in the correct format. In a classic network, if a `CidrBlock` contains private IPs on Tencent Cloud for devices under your account other than CVMs, it does not mean this policy allows you to access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>
<li>`SecurityGroupId`: ID of the security group. It can be the ID of security group to be modified, or the ID of other security group in the same project. All private IPs of all CVMs under the security group will be covered. If this field is used, the policy will automatically change according to the CVM associated with the group ID while being used to match network messages. You don’t need to change it manually.</li>
<li>`Port`: a single port number such as 80, or a port range in the format of “8000-8010”. You may use this field only if the `Protocol` field takes the value `TCP` or `UDP`. Otherwise `Protocol` and `Port` are mutually exclusive.</li>
<li>`Action`: only allows `ACCEPT` or `DROP`.</li>
<li>`CidrBlock`, `SecurityGroupId`, and `AddressTemplate` are mutually exclusive. `Protocol` + `Port` and `ServiceTemplate` are mutually exclusive.</li>
<li>You can only create policies in one direction in each request. To specify the `PolicyIndex` parameter, use the same index number in policies.</li>
</ul></li></ul>
<p>Default API request rate limit: 20 requests/sec.</p>
error code that may be returned:
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 ¶
func (c *Client) CreateSecurityGroupWithContext(ctx context.Context, request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
CreateSecurityGroup This API is used to create a security group.
error code that may be returned:
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 This API is used to create a subnet. After the subnet is created successfully, it will become the default subnet for the AZ.
error code that may be returned:
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 ¶
func (c *Client) CreateSubnetWithContext(ctx context.Context, request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
CreateSubnet This API is used to create a subnet. After the subnet is created successfully, it will become the default subnet for the AZ.
error code that may be returned:
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 This API is used to create a VPC.
error code that may be returned:
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 ¶
func (c *Client) CreateVpcWithContext(ctx context.Context, request *CreateVpcRequest) (response *CreateVpcResponse, err error)
CreateVpc This API is used to create a VPC.
error code that may be returned:
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 This API is used to delete an HAVIP.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteHaVipWithContext ¶
func (c *Client) DeleteHaVipWithContext(ctx context.Context, request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
DeleteHaVip This API is used to delete an HAVIP.
error code that may be returned:
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 This API is used to delete an image.
error code that may be returned:
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 ¶
func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, err error)
DeleteImage This API is used to delete an image.
error code that may be returned:
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 This API is used to delete a CLB listener.
error code that may be returned:
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 ¶
func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)
DeleteListener This API is used to delete a CLB listener.
error code that may be returned:
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 This API is used to delete a CLB instance.
error code that may be returned:
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 This API is used to delete multiple CLB listeners.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancerListenersWithContext ¶
func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)
DeleteLoadBalancerListeners This API is used to delete multiple CLB listeners.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DeleteLoadBalancerWithContext ¶
func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer This API is used to delete a CLB instance.
error code that may be returned:
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 This API is used to delete a business module.
error code that may be returned:
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 ¶
func (c *Client) DeleteModuleWithContext(ctx context.Context, request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)
DeleteModule This API is used to delete a business module.
error code that may be returned:
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 This API is used to delete an ENI.
error code that may be returned:
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 ¶
func (c *Client) DeleteNetworkInterfaceWithContext(ctx context.Context, request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
DeleteNetworkInterface This API is used to delete an ENI.
error code that may be returned:
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 This API is used to delete a route table.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute" UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"
func (*Client) DeleteRouteTableWithContext ¶
func (c *Client) DeleteRouteTableWithContext(ctx context.Context, request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
DeleteRouteTable This API is used to delete a route table.
error code that may be returned:
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 This API is used to batch delete routing policies from a route table.
error code that may be returned:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DeleteRoutesWithContext ¶
func (c *Client) DeleteRoutesWithContext(ctx context.Context, request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
DeleteRoutes This API is used to batch delete routing policies from a route table.
error code that may be returned:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"
func (*Client) DeleteSecurityGroup ¶
func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
DeleteSecurityGroup Only security groups under the current account can be deleted.
A security group cannot be deleted directly if its instance ID is used in the policy of another security group. In this case, you need to modify the policy first before deleting the security group.
Deleted security groups cannot be recovered. Therefore, call this API with caution.
error code that may be returned:
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` is used to specify the version of the security group to be manipulated. If the `Version` value passed in differs from the current latest version of the security group, a failure will be returned. If `Version` is not passed in, the policy of the specified `PolicyIndex` will be deleted directly.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) DeleteSecurityGroupPoliciesWithContext ¶
func (c *Client) DeleteSecurityGroupPoliciesWithContext(ctx context.Context, request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
DeleteSecurityGroupPolicies `SecurityGroupPolicySet.Version` is used to specify the version of the security group to be manipulated. If the `Version` value passed in differs from the current latest version of the security group, a failure will be returned. If `Version` is not passed in, the policy of the specified `PolicyIndex` will be deleted directly.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) DeleteSecurityGroupWithContext ¶
func (c *Client) DeleteSecurityGroupWithContext(ctx context.Context, request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
DeleteSecurityGroup Only security groups under the current account can be deleted.
A security group cannot be deleted directly if its instance ID is used in the policy of another security group. In this case, you need to modify the policy first before deleting the security group.
Deleted security groups cannot be recovered. Therefore, call this API with caution.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteSnapshots ¶
func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots This API is used to delete a snapshot.
* Only snapshots in the `NORMAL` state can be deleted. To query the state of a snapshot, you can call the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API and check the `SnapshotState` field in the response.
* Batch operations are supported. If there is any snapshot that cannot be deleted, the operation will not be performed and a specific error code will be returned.
error code that may be returned:
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 ¶
func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots This API is used to delete a snapshot.
* Only snapshots in the `NORMAL` state can be deleted. To query the state of a snapshot, you can call the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API and check the `SnapshotState` field in the response.
* Batch operations are supported. If there is any snapshot that cannot be deleted, the operation will not be performed and a specific error code will be returned.
error code that may be returned:
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 This API is used to delete a subnet. If the subnet is the current default subnet in the AZ, after it is deleted, the default subnet automatically created by the system rather than the last subnet created by you will be used as the new default subnet. If the new default subnet does not meet your needs, you can call the API for setting the default subnet to configure it.
error code that may be returned:
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 ¶
func (c *Client) DeleteSubnetWithContext(ctx context.Context, request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
DeleteSubnet This API is used to delete a subnet. If the subnet is the current default subnet in the AZ, after it is deleted, the default subnet automatically created by the system rather than the last subnet created by you will be used as the new default subnet. If the new default subnet does not meet your needs, you can call the API for setting the default subnet to configure it.
error code that may be returned:
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 This API is used to delete a VPC.
error code that may be returned:
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 ¶
func (c *Client) DeleteVpcWithContext(ctx context.Context, request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
DeleteVpc This API is used to delete a VPC.
error code that may be returned:
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 This API is used to query the quota information of the EIP under your account in the current region.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeAddressQuotaWithContext ¶
func (c *Client) DescribeAddressQuotaWithContext(ctx context.Context, request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
DescribeAddressQuota This API is used to query the quota information of the EIP under your account in the current region.
error code that may be returned:
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 This API is used to query the list of EIPs.
error code that may be returned:
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 ¶
func (c *Client) DescribeAddressesWithContext(ctx context.Context, request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
DescribeAddresses This API is used to query the list of EIPs.
error code that may be returned:
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 This API is used to get the basic data displayed on the overview page.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeBaseOverviewWithContext ¶
func (c *Client) DescribeBaseOverviewWithContext(ctx context.Context, request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)
DescribeBaseOverview This API is used to get the basic data displayed on the overview page.
error code that may be returned:
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 This API is used to get the limits of data such as bandwidth and disk.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeConfigWithContext ¶
func (c *Client) DescribeConfigWithContext(ctx context.Context, request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
DescribeConfig This API is used to get the limits of data such as bandwidth and disk.
error code that may be returned:
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 This API is used to query an image import task.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeCustomImageTaskWithContext ¶
func (c *Client) DescribeCustomImageTaskWithContext(ctx context.Context, request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)
DescribeCustomImageTask This API is used to query an image import task.
error code that may be returned:
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 This API is used to query the default subnet in an AZ.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeDefaultSubnetWithContext ¶
func (c *Client) DescribeDefaultSubnetWithContext(ctx context.Context, request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)
DescribeDefaultSubnet This API is used to query the default subnet in an AZ.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeHaVips ¶
func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
DescribeHaVips This API is used to query the list of HAVIPs.
error code that may be returned:
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 ¶
func (c *Client) DescribeHaVipsWithContext(ctx context.Context, request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
DescribeHaVips This API is used to query the list of HAVIPs.
error code that may be returned:
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 This API is used to display the list of images.
error code that may be returned:
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 ¶
func (c *Client) DescribeImageWithContext(ctx context.Context, request *DescribeImageRequest) (response *DescribeImageResponse, err error)
DescribeImage This API is used to display the list of images.
error code that may be returned:
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 This API is used to query the list of operating systems supported by an image imported from an external resource.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
func (*Client) DescribeImportImageOsWithContext ¶
func (c *Client) DescribeImportImageOsWithContext(ctx context.Context, request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)
DescribeImportImageOs This API is used to query the list of operating systems supported by an image imported from an external resource.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
func (*Client) DescribeInstanceTypeConfig ¶
func (c *Client) DescribeInstanceTypeConfig(request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
DescribeInstanceTypeConfig This API is used to get the list of model configurations.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstanceTypeConfigWithContext ¶
func (c *Client) DescribeInstanceTypeConfigWithContext(ctx context.Context, request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)
DescribeInstanceTypeConfig This API is used to get the list of model configurations.
error code that may be returned:
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 This API is used to query the VNC URL of an instance.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeInstanceVncUrlWithContext ¶
func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
DescribeInstanceVncUrl This API is used to query the VNC URL of an instance.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the information of an instance.
error code that may be returned:
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 This API is used to get the information of prohibited operations by instance ID.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstancesDeniedActionsWithContext ¶
func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
DescribeInstancesDeniedActions This API is used to get the information of prohibited operations by instance ID.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the information of an instance.
error code that may be returned:
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 This API is used to query the list of CLB listeners.
error code that may be returned:
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 ¶
func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)
DescribeListeners This API is used to query the list of CLB listeners.
error code that may be returned:
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 This API is used to query the task status of a CLB instance.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeLoadBalanceTaskStatusWithContext ¶
func (c *Client) DescribeLoadBalanceTaskStatusWithContext(ctx context.Context, request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)
DescribeLoadBalanceTaskStatus This API is used to query the task status of a CLB instance.
error code that may be returned:
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 This API is used to query the list of CLB instances.
error code that may be returned:
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 ¶
func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)
DescribeLoadBalancers This API is used to query the list of CLB instances.
error code that may be returned:
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 This API is used to get the list of modules.
error code that may be returned:
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 This API is used to display the details of a module.
error code that may be returned:
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 ¶
func (c *Client) DescribeModuleDetailWithContext(ctx context.Context, request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)
DescribeModuleDetail This API is used to display the details of a module.
error code that may be returned:
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 ¶
func (c *Client) DescribeModuleWithContext(ctx context.Context, request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)
DescribeModule This API is used to get the list of modules.
error code that may be returned:
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 This API is used to get the monthly peak and billable inbound/outbound bandwidth values of your node.
error code that may be returned:
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 ¶
func (c *Client) DescribeMonthPeakNetworkWithContext(ctx context.Context, request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)
DescribeMonthPeakNetwork This API is used to get the monthly peak and billable inbound/outbound bandwidth values of your node.
error code that may be returned:
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 This API is used to query the list of ENIs.
error code that may be returned:
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 ¶
func (c *Client) DescribeNetworkInterfacesWithContext(ctx context.Context, request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
DescribeNetworkInterfaces This API is used to query the list of ENIs.
error code that may be returned:
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 This API is used to get the list of nodes.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeNodeWithContext ¶
func (c *Client) DescribeNodeWithContext(ctx context.Context, request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
DescribeNode This API is used to get the list of nodes.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePackingQuotaGroup ¶
func (c *Client) DescribePackingQuotaGroup(request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
DescribePackingQuotaGroup This API is used to get the packing quota of a model in a region (when a virtual model is used, a set of correlated packing quotas will be returned).
error code that may be returned:
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 ¶
func (c *Client) DescribePackingQuotaGroupWithContext(ctx context.Context, request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)
DescribePackingQuotaGroup This API is used to get the packing quota of a model in a region (when a virtual model is used, a set of correlated packing quotas will be returned).
error code that may be returned:
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 This API is used to get the peak data of basic information such as CPU, memory, and disk.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime" MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribePeakBaseOverviewWithContext ¶
func (c *Client) DescribePeakBaseOverviewWithContext(ctx context.Context, request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)
DescribePeakBaseOverview This API is used to get the peak data of basic information such as CPU, memory, and disk.
error code that may be returned:
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 This API is used to get the peak network data.
error code that may be returned:
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 ¶
func (c *Client) DescribePeakNetworkOverviewWithContext(ctx context.Context, request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)
DescribePeakNetworkOverview This API is used to get the peak network data.
error code that may be returned:
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 ¶
func (c *Client) DescribePriceRunInstance(request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
DescribePriceRunInstance This API is used to query the price of an instance.
error code that may be returned:
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 ¶
func (c *Client) DescribePriceRunInstanceWithContext(ctx context.Context, request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)
DescribePriceRunInstance This API is used to query the price of an instance.
error code that may be returned:
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 This API is used to query the list of conflicts between a custom routing policy and a CCN routing policy.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeRouteConflictsWithContext ¶
func (c *Client) DescribeRouteConflictsWithContext(ctx context.Context, request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
DescribeRouteConflicts This API is used to query the list of conflicts between a custom routing policy and a CCN routing policy.
error code that may be returned:
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 This API is used to query the list of the objects in a route table.
error code that may be returned:
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 ¶
func (c *Client) DescribeRouteTablesWithContext(ctx context.Context, request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
DescribeRouteTables This API is used to query the list of the objects in a route table.
error code that may be returned:
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 This API is used to query statistics on the instances associated with a security group.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroupAssociationStatisticsWithContext ¶
func (c *Client) DescribeSecurityGroupAssociationStatisticsWithContext(ctx context.Context, request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
DescribeSecurityGroupAssociationStatistics This API is used to query statistics on the instances associated with a security group.
error code that may be returned:
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 This API is used to query the security group quota.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
func (*Client) DescribeSecurityGroupLimitsWithContext ¶
func (c *Client) DescribeSecurityGroupLimitsWithContext(ctx context.Context, request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)
DescribeSecurityGroupLimits This API is used to query the security group quota.
error code that may be returned:
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 This API is used to query a security group rule.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSecurityGroupPoliciesWithContext ¶
func (c *Client) DescribeSecurityGroupPoliciesWithContext(ctx context.Context, request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
DescribeSecurityGroupPolicies This API is used to query a security group rule.
error code that may be returned:
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 This API is used to view a security group.
error code that may be returned:
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 ¶
func (c *Client) DescribeSecurityGroupsWithContext(ctx context.Context, request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
DescribeSecurityGroups This API is used to view a security group.
error code that may be returned:
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 ¶
func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots This API is used to query the list of snapshots.
* You can filter results by snapshot ID and the ID and type of the cloud disk for which the snapshot is created. The relationship between different filters is `AND`. For more information on filters, see `Filter`.
* If no parameter is defined, the status of a certain number of snapshots under the current account will be returned. The number is specified by `Limit` and is 20 by default.
error code that may be returned:
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeSnapshotsWithContext ¶
func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots This API is used to query the list of snapshots.
* You can filter results by snapshot ID and the ID and type of the cloud disk for which the snapshot is created. The relationship between different filters is `AND`. For more information on filters, see `Filter`.
* If no parameter is defined, the status of a certain number of snapshots under the current account will be returned. The number is specified by `Limit` and is 20 by default.
error code that may be returned:
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 This API is used to query the list of subnets.
error code that may be returned:
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 ¶
func (c *Client) DescribeSubnetsWithContext(ctx context.Context, request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
DescribeSubnets This API is used to query the list of subnets.
error code that may be returned:
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 This API is used to get the health check status of a CLB real server.
error code that may be returned:
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 ¶
func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)
DescribeTargetHealth This API is used to get the health check status of a CLB real server.
error code that may be returned:
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 This API is used to query the list of the real servers bound to a CLB instance.
error code that may be returned:
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 ¶
func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)
DescribeTargets This API is used to query the list of the real servers bound to a CLB instance.
error code that may be returned:
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 This API is used to query the execution result of an EIP async task.
error code that may be returned:
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 ¶
func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
DescribeTaskResult This API is used to query the execution result of an EIP async task.
error code that may be returned:
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 This API is used to get the status of an async task.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"
func (*Client) DescribeTaskStatusWithContext ¶
func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus This API is used to get the status of an async task.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"
func (*Client) DescribeVpcs ¶
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
DescribeVpcs This API is used to query the list of VPCs.
error code that may be returned:
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 ¶
func (c *Client) DescribeVpcsWithContext(ctx context.Context, request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
DescribeVpcs This API is used to query the list of VPCs.
error code that may be returned:
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) DetachNetworkInterface ¶
func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
DetachNetworkInterface This API is used to unbind an ENI from a CVM instance.
error code that may be returned:
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 ¶
func (c *Client) DetachNetworkInterfaceWithContext(ctx context.Context, request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
DetachNetworkInterface This API is used to unbind an ENI from a CVM instance.
error code that may be returned:
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 This API is used to disable a subnet route.
error code that may be returned:
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 ¶
func (c *Client) DisableRoutesWithContext(ctx context.Context, request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
DisableRoutes This API is used to disable a subnet route.
error code that may be returned:
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 This API is used to unbind an EIP.
Only EIPs in `BIND` or `BIND_ENI` status can be unbound.
Blocked EIPs cannot be unbound.
error code that may be returned:
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 ¶
func (c *Client) DisassociateAddressWithContext(ctx context.Context, request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
DisassociateAddress This API is used to unbind an EIP.
Only EIPs in `BIND` or `BIND_ENI` status can be unbound.
Blocked EIPs cannot be unbound.
error code that may be returned:
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 ¶
func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs This API is used to unbind a key pair from an instance.
error code that may be returned:
INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported" INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DisassociateInstancesKeyPairsWithContext ¶
func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs This API is used to unbind a key pair from an instance.
error code that may be returned:
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 This API is used to unbind a security group.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID" MISSINGPARAMETER = "MissingParameter"
func (*Client) DisassociateSecurityGroupsWithContext ¶
func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups This API is used to unbind a security group.
error code that may be returned:
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 This API is used to enable a disabled subnet route.
This API verifies whether a CCN route will conflict with an existing route after it is enabled, and if so, you cannot enable it before you disable the conflicting route first.
error code that may be returned:
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 ¶
func (c *Client) EnableRoutesWithContext(ctx context.Context, request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
EnableRoutes This API is used to enable a disabled subnet route.
This API verifies whether a CCN route will conflict with an existing route after it is enabled, and if so, you cannot enable it before you disable the conflicting route first.
error code that may be returned:
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) ImportImage ¶
func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImageResponse, err error)
ImportImage This API is used to import an image from a CVM instance to an ECM instance.
error code that may be returned:
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 ¶
func (c *Client) ImportImageWithContext(ctx context.Context, request *ImportImageRequest) (response *ImportImageResponse, err error)
ImportImage This API is used to import an image from a CVM instance to an ECM instance.
error code that may be returned:
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 This API is used to migrate an ENI.
error code that may be returned:
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 ¶
func (c *Client) MigrateNetworkInterfaceWithContext(ctx context.Context, request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
MigrateNetworkInterface This API is used to migrate an ENI.
error code that may be returned:
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 This API is used to migrate a private IP from an ENI.
It migrates a private IP from one ENI to another. Primary IPs cannot be migrated.
The source and destination ENIs must be in the same subnet.
error code that may be returned:
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 ¶
func (c *Client) MigratePrivateIpAddressWithContext(ctx context.Context, request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
MigratePrivateIpAddress This API is used to migrate a private IP from an ENI.
It migrates a private IP from one ENI to another. Primary IPs cannot be migrated.
The source and destination ENIs must be in the same subnet.
error code that may be returned:
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 This API is used to modify EIP attributes.
error code that may be returned:
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 ¶
func (c *Client) ModifyAddressAttributeWithContext(ctx context.Context, request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
ModifyAddressAttribute This API is used to modify EIP attributes.
error code that may be returned:
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 This API is used to modify the EIP bandwidth.
error code that may be returned:
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 ¶
func (c *Client) ModifyAddressesBandwidthWithContext(ctx context.Context, request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
ModifyAddressesBandwidth This API is used to modify the EIP bandwidth.
error code that may be returned:
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 This API is used to modify the default subnet used when you create an instance in an AZ (if you don't specify the VPC parameter when creating the instance, `sunbetId` will be used).
error code that may be returned:
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 ¶
func (c *Client) ModifyDefaultSubnetWithContext(ctx context.Context, request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)
ModifyDefaultSubnet This API is used to modify the default subnet used when you create an instance in an AZ (if you don't specify the VPC parameter when creating the instance, `sunbetId` will be used).
error code that may be returned:
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 This API is used to modify the attributes of an HAVIP.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyHaVipAttributeWithContext ¶
func (c *Client) ModifyHaVipAttributeWithContext(ctx context.Context, request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
ModifyHaVipAttribute This API is used to modify the attributes of an HAVIP.
error code that may be returned:
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 This API is used to modify the attributes of an image.
error code that may be returned:
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 ¶
func (c *Client) ModifyImageAttributeWithContext(ctx context.Context, request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)
ModifyImageAttribute This API is used to modify the attributes of an image.
error code that may be returned:
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 This API is used to modify the attributes of an instance.
error code that may be returned:
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 ¶
func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute This API is used to modify the attributes of an instance.
error code that may be returned:
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 This API is used to modify the IPv6 address attributes of an ENI.
error code that may be returned:
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 ¶
func (c *Client) ModifyIpv6AddressesAttributeWithContext(ctx context.Context, request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
ModifyIpv6AddressesAttribute This API is used to modify the IPv6 address attributes of an ENI.
error code that may be returned:
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 This API is used to modify the attributes of a CLB listener.
error code that may be returned:
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 ¶
func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)
ModifyListener This API is used to modify the attributes of a CLB listener.
error code that may be returned:
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 This API is used to modify the attributes of a CLB instance.
error code that may be returned:
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 ¶
func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)
ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance.
error code that may be returned:
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 This API is used to modify the configuration of a module. You cannot modify the configuration of the module if it is associated with an instance.
error code that may be returned:
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 ¶
func (c *Client) ModifyModuleConfigWithContext(ctx context.Context, request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)
ModifyModuleConfig This API is used to modify the configuration of a module. You cannot modify the configuration of the module if it is associated with an instance.
error code that may be returned:
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 This API is used to specify whether to prohibit public IP assignment for a module.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleDisableWanIpWithContext ¶
func (c *Client) ModifyModuleDisableWanIpWithContext(ctx context.Context, request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)
ModifyModuleDisableWanIp This API is used to specify whether to prohibit public IP assignment for a module.
error code that may be returned:
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 This API is used to modify the default image of a module.
error code that may be returned:
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 ¶
func (c *Client) ModifyModuleImageWithContext(ctx context.Context, request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)
ModifyModuleImage This API is used to modify the default image of a module.
error code that may be returned:
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 This API is used to modify the IP direct access of a module.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService" INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID" MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
func (*Client) ModifyModuleIpDirectWithContext ¶
func (c *Client) ModifyModuleIpDirectWithContext(ctx context.Context, request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)
ModifyModuleIpDirect This API is used to modify the IP direct access of a module.
error code that may be returned:
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 This API is used to rename a module.
error code that may be returned:
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 ¶
func (c *Client) ModifyModuleNameWithContext(ctx context.Context, request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)
ModifyModuleName This API is used to rename a module.
error code that may be returned:
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 This API is used to modify the default bandwidth cap of a module.
error code that may be returned:
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 ¶
func (c *Client) ModifyModuleNetworkWithContext(ctx context.Context, request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)
ModifyModuleNetwork This API is used to modify the default bandwidth cap of a module.
error code that may be returned:
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 This API is used to modify the default security group of a module.
error code that may be returned:
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 ¶
func (c *Client) ModifyModuleSecurityGroupsWithContext(ctx context.Context, request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)
ModifyModuleSecurityGroups This API is used to modify the default security group of a module.
error code that may be returned:
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 This API is used to modify the private IP attributes of an ENI.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
func (*Client) ModifyPrivateIpAddressesAttributeWithContext ¶
func (c *Client) ModifyPrivateIpAddressesAttributeWithContext(ctx context.Context, request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
ModifyPrivateIpAddressesAttribute This API is used to modify the private IP attributes of an ENI.
error code that may be returned:
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 This API is used to modify the attributes of a route table.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRouteTableAttributeWithContext ¶
func (c *Client) ModifyRouteTableAttributeWithContext(ctx context.Context, request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
ModifyRouteTableAttribute This API is used to modify the attributes of a route table.
error code that may be returned:
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 This API is used to modify the attributes of a security group.
error code that may be returned:
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 ¶
func (c *Client) ModifySecurityGroupAttributeWithContext(ctx context.Context, request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
ModifySecurityGroupAttribute This API is used to modify the attributes of a security group.
error code that may be returned:
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 This API is used to modify the outbound and inbound rules of a security group.
error code that may be returned:
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifySecurityGroupPoliciesWithContext ¶
func (c *Client) ModifySecurityGroupPoliciesWithContext(ctx context.Context, request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
ModifySecurityGroupPolicies This API is used to modify the outbound and inbound rules of a security group.
error code that may be returned:
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 This API is used to modify the attributes of a subnet.
error code that may be returned:
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 ¶
func (c *Client) ModifySubnetAttributeWithContext(ctx context.Context, request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
ModifySubnetAttribute This API is used to modify the attributes of a subnet.
error code that may be returned:
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 This API is used to modify the port of a real server bound to a listener.
error code that may be returned:
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 ¶
func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)
ModifyTargetPort This API is used to modify the port of a real server bound to a listener.
error code that may be returned:
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 This API is used to modify the forwarding weight of a real server bound to a listener.
error code that may be returned:
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 ¶
func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)
ModifyTargetWeight This API is used to modify the forwarding weight of a real server bound to a listener.
error code that may be returned:
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 This API is used to modify the attributes of a VPC.
error code that may be returned:
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 ¶
func (c *Client) ModifyVpcAttributeWithContext(ctx context.Context, request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
ModifyVpcAttribute This API is used to modify the attributes of a VPC.
error code that may be returned:
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 This API is used to restart an instance. Only instances in `RUNNING` status can be restarted. The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is restarted successfully. Forced restart is supported. Just like powering off a physical PC and restarting it, a forced restart may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be restarted normally.
error code that may be returned:
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 ¶
func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances This API is used to restart an instance. Only instances in `RUNNING` status can be restarted. The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is restarted successfully. Forced restart is supported. Just like powering off a physical PC and restarting it, a forced restart may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be restarted normally.
error code that may be returned:
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 This API is used to release one or multiple EIPs.
This operation is irreversible. Once you release an EIP, the IP address associated with it will no longer belong to you.
Only EIPs in `UNBIND` status can be released.
error code that may be returned:
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 ¶
func (c *Client) ReleaseAddressesWithContext(ctx context.Context, request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
ReleaseAddresses This API is used to release one or multiple EIPs.
This operation is irreversible. Once you release an EIP, the IP address associated with it will no longer belong to you.
Only EIPs in `UNBIND` status can be released.
error code that may be returned:
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 This API is used to release the IPv6 addresses of an ENI.
error code that may be returned:
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 ¶
func (c *Client) ReleaseIpv6AddressesWithContext(ctx context.Context, request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)
ReleaseIpv6Addresses This API is used to release the IPv6 addresses of an ENI.
error code that may be returned:
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 This API is used to return the private IPs of an ENI.
To return the secondary private IPs of an ENI, the API will automatically unbind them from the ENI. The primary private IP of the ENI cannot be returned.
error code that may be returned:
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 ¶
func (c *Client) RemovePrivateIpAddressesWithContext(ctx context.Context, request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)
RemovePrivateIpAddresses This API is used to return the private IPs of an ENI.
To return the secondary private IPs of an ENI, the API will automatically unbind them from the ENI. The primary private IP of the ENI cannot be returned.
error code that may be returned:
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 This API is used to modify the route table associated with a subnet. A subnet can be associated with only one route table.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) ReplaceRouteTableAssociationWithContext ¶
func (c *Client) ReplaceRouteTableAssociationWithContext(ctx context.Context, request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
ReplaceRouteTableAssociation This API is used to modify the route table associated with a subnet. A subnet can be associated with only one route table.
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation" UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
func (*Client) ReplaceRoutes ¶
func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
ReplaceRoutes This API is used to replace a routing policy.
error code that may be returned:
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 ¶
func (c *Client) ReplaceRoutesWithContext(ctx context.Context, request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
ReplaceRoutes This API is used to replace a routing policy.
error code that may be returned:
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 This API is used to replace a single routing rule of a security group. You can replace only one rule in a single direction in one request and must specify the index (PolicyIndex).
error code that may be returned:
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure" INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat" INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"
func (*Client) ReplaceSecurityGroupPolicyWithContext ¶
func (c *Client) ReplaceSecurityGroupPolicyWithContext(ctx context.Context, request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
ReplaceSecurityGroupPolicy This API is used to replace a single routing rule of a security group. You can replace only one rule in a single direction in one request and must specify the index (PolicyIndex).
error code that may be returned:
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 This API is used to reinstall an instance. If you specify the `ImageId` parameter, the specified image will be used; otherwise, the image used by the current instance will be used. If you don't specify the password, a password will be sent later in Message Center.
error code that may be returned:
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 This API is used to reset the bandwidth cap of an instance.
error code that may be returned:
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 ¶
func (c *Client) ResetInstancesMaxBandwidthWithContext(ctx context.Context, request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)
ResetInstancesMaxBandwidth This API is used to reset the bandwidth cap of an instance.
error code that may be returned:
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 This API is used to reset the password for a running status. You need to explicitly specify the `ForceStop` parameter; otherwise, you can reset the password only for instances that have been shut down.
error code that may be returned:
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 ¶
func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
ResetInstancesPassword This API is used to reset the password for a running status. You need to explicitly specify the `ForceStop` parameter; otherwise, you can reset the password only for instances that have been shut down.
error code that may be returned:
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 ¶
func (c *Client) ResetInstancesWithContext(ctx context.Context, request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)
ResetInstances This API is used to reinstall an instance. If you specify the `ImageId` parameter, the specified image will be used; otherwise, the image used by the current instance will be used. If you don't specify the password, a password will be sent later in Message Center.
error code that may be returned:
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 This API is used to reset a route table name and all routing policies.
error code that may be returned:
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 ¶
func (c *Client) ResetRoutesWithContext(ctx context.Context, request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
ResetRoutes This API is used to reset a route table name and all routing policies.
error code that may be returned:
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 This API is used to create an ECM instance.
error code that may be returned:
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 ¶
func (c *Client) RunInstancesWithContext(ctx context.Context, request *RunInstancesRequest) (response *RunInstancesResponse, err error)
RunInstances This API is used to create an ECM instance.
error code that may be returned:
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 This API is used to configure security groups for a CLB instance.
error code that may be returned:
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 ¶
func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)
SetLoadBalancerSecurityGroups This API is used to configure security groups for a CLB instance.
error code that may be returned:
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 This API is used to bind or unbind a security group to or from multiple CLB instances.
error code that may be returned:
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 ¶
func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)
SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group to or from multiple CLB instances.
error code that may be returned:
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 This API is used to start an instance. Only instances in `STOPPED` status can be started. The instance status will become `STARTING` when this API is called successfully and will become `RUNNING` when the instance is started successfully.
error code that may be returned:
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 ¶
func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances This API is used to start an instance. Only instances in `STOPPED` status can be started. The instance status will become `STARTING` when this API is called successfully and will become `RUNNING` when the instance is started successfully.
error code that may be returned:
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 Only instances in `RUNNING` status can be shut down.
The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is shut down successfully.
Forced shutdown is supported. Just like powering off a physical PC, a forced shutdown may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be shut down normally.
error code that may be returned:
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 ¶
func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances Only instances in `RUNNING` status can be shut down.
The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is shut down successfully.
Forced shutdown is supported. Just like powering off a physical PC, a forced shutdown may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be shut down normally.
error code that may be returned:
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) TerminateInstances ¶
func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances This API is used to terminate an instance.
error code that may be returned:
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 ¶
func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances This API is used to terminate an instance.
error code that may be returned:
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 CreateHaVipRequest ¶
type CreateHaVipRequest struct { *tchttp.BaseRequest // VPC ID of the HAVIP. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID of the HAVIP. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // HAVIP name. HaVipName *string `json:"HaVipName,omitnil" name:"HaVipName"` // The specified virtual IP address, which must be within the IP range of the VPC and not in use. It will be automatically assigned if not specified. Vip *string `json:"Vip,omitnil" 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 ¶
type CreateHaVipRequestParams struct { // VPC ID of the HAVIP. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID of the HAVIP. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // HAVIP name. HaVipName *string `json:"HaVipName,omitnil" name:"HaVipName"` // The specified virtual IP address, which must be within the IP range of the VPC and not in use. It will be automatically assigned if not specified. Vip *string `json:"Vip,omitnil" 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 ¶
type CreateHaVipResponseParams struct { // HAVIP object. HaVip *HaVip `json:"HaVip,omitnil" name:"HaVip"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateImageRequest ¶
type CreateImageRequest struct { *tchttp.BaseRequest // Image name. ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // ID of the instance for which to make an image. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Image description. ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Whether to perform a forced shutdown to make an image. Valid values: // TRUE: yes // FALSE: no // Default value: FALSE. ForcePoweroff *string `json:"ForcePoweroff,omitnil" 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 ¶
type CreateImageRequestParams struct { // Image name. ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // ID of the instance for which to make an image. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Image description. ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Whether to perform a forced shutdown to make an image. Valid values: // TRUE: yes // FALSE: no // Default value: FALSE. ForcePoweroff *string `json:"ForcePoweroff,omitnil" 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 ¶
type CreateImageResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateKeyPairRequest ¶
type CreateKeyPairRequest struct { *tchttp.BaseRequest // Key pair name, which can contain up to 25 digits, letters, and underscores. KeyName *string `json:"KeyName,omitnil" name:"KeyName"` }
func NewCreateKeyPairRequest ¶
func NewCreateKeyPairRequest() (request *CreateKeyPairRequest)
func (*CreateKeyPairRequest) FromJsonString ¶
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 ¶
func (r *CreateKeyPairRequest) ToJsonString() string
type CreateKeyPairRequestParams ¶
type CreateKeyPairRequestParams struct { // Key pair name, which can contain up to 25 digits, letters, and underscores. KeyName *string `json:"KeyName,omitnil" name:"KeyName"` }
Predefined struct for user
type CreateKeyPairResponse ¶
type CreateKeyPairResponse struct { *tchttp.BaseResponse Response *CreateKeyPairResponseParams `json:"Response"` }
func NewCreateKeyPairResponse ¶
func NewCreateKeyPairResponse() (response *CreateKeyPairResponse)
func (*CreateKeyPairResponse) FromJsonString ¶
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 ¶
func (r *CreateKeyPairResponse) ToJsonString() string
type CreateKeyPairResponseParams ¶
type CreateKeyPairResponseParams struct { // Key pair information. KeyPair *KeyPair `json:"KeyPair,omitnil" name:"KeyPair"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateListenerRequest ¶
type CreateListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener Ports []*int64 `json:"Ports,omitnil" name:"Ports"` // Listener protocol. Valid values: TCP, UDP Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter. ListenerNames []*string `json:"ListenerNames,omitnil" name:"ListenerNames"` // Health check parameters HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"` // Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"` // Forwarding method of the listener. Valid values: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"` // Session persistence type. Valid values: NORMAL: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used. SessionType *string `json:"SessionType,omitnil" name:"SessionType"` // End ports of port ranges, which must be the same as `Ports` in length. EndPorts []*int64 `json:"EndPorts,omitnil" 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 ¶
type CreateListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Specifies for which ports to create listeners. Each port corresponds to a new listener Ports []*int64 `json:"Ports,omitnil" name:"Ports"` // Listener protocol. Valid values: TCP, UDP Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter. ListenerNames []*string `json:"ListenerNames,omitnil" name:"ListenerNames"` // Health check parameters HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"` // Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"` // Forwarding method of the listener. Valid values: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"` // Session persistence type. Valid values: NORMAL: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used. SessionType *string `json:"SessionType,omitnil" name:"SessionType"` // End ports of port ranges, which must be the same as `Ports` in length. EndPorts []*int64 `json:"EndPorts,omitnil" 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 ¶
type CreateListenerResponseParams struct { // Array of unique IDs of the created listeners // Note: this field may return null, indicating that no valid values can be obtained. ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { *tchttp.BaseRequest // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Network type of the CLB instance. Currently, you can pass in only `OPEN`, which indicates public network. LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"` // CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom. VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"` // CLB instance name, which will take effect only when one instance is created. It can contain 1–50 letters, digits, hyphens, and underscores. // Note: if the name of the new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // Network ID of the target device on the CLB backend, such as `vpc-12345678`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Number of CLB instances to be created. Default value: 1. Number *int64 `json:"Number,omitnil" name:"Number"` // CLB information such as bandwidth limit. InternetAccessible *LoadBalancerInternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"` // Tags. Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"` // Security groups. SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"` // IP version. Valid values: `IPV4` (default), `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances. AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"` // Subnet ID. This parameter is required for IPv6 CLB instances. SubnetId *string `json:"SubnetId,omitnil" 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 ¶
type CreateLoadBalancerRequestParams struct { // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Network type of the CLB instance. Currently, you can pass in only `OPEN`, which indicates public network. LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"` // CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom. VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"` // CLB instance name, which will take effect only when one instance is created. It can contain 1–50 letters, digits, hyphens, and underscores. // Note: if the name of the new CLB instance already exists, a default name will be generated automatically. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // Network ID of the target device on the CLB backend, such as `vpc-12345678`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Number of CLB instances to be created. Default value: 1. Number *int64 `json:"Number,omitnil" name:"Number"` // CLB information such as bandwidth limit. InternetAccessible *LoadBalancerInternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"` // Tags. Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"` // Security groups. SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"` // IP version. Valid values: `IPV4` (default), `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances. AddressIPVersion *string `json:"AddressIPVersion,omitnil" name:"AddressIPVersion"` // Subnet ID. This parameter is required for IPv6 CLB instances. SubnetId *string `json:"SubnetId,omitnil" 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 ¶
type CreateLoadBalancerResponseParams struct { // Array of CLB instance IDs // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateModuleRequest ¶
type CreateModuleRequest struct { *tchttp.BaseRequest // Module name, such as video live streaming module name. It cannot start with a space or exceed 60 characters. ModuleName *string `json:"ModuleName,omitnil" name:"ModuleName"` // Default bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`. DefaultBandWidth *int64 `json:"DefaultBandWidth,omitnil" name:"DefaultBandWidth"` // Default image ID, such as `img-qsdf3ff2`. DefaultImageId *string `json:"DefaultImageId,omitnil" name:"DefaultImageId"` // Model ID. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Default system disk size in GB. It is 50 GB by default and cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitnil" name:"DefaultSystemDiskSize"` // Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitnil" name:"DefaultDataDiskSize"` // Whether to disable IP direct access. Valid values: // true: yes // false: no CloseIpDirect *bool `json:"CloseIpDirect,omitnil" name:"CloseIpDirect"` // List of tags. TagSpecification []*TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // List of default module security groups SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"` // Default inbound bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`. DefaultBandWidthIn *int64 `json:"DefaultBandWidthIn,omitnil" name:"DefaultBandWidthIn"` // Whether to prohibit public IP assignment DisableWanIp *bool `json:"DisableWanIp,omitnil" name:"DisableWanIp"` // System disk information. SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information. DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type CreateModuleRequestParams struct { // Module name, such as video live streaming module name. It cannot start with a space or exceed 60 characters. ModuleName *string `json:"ModuleName,omitnil" name:"ModuleName"` // Default bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`. DefaultBandWidth *int64 `json:"DefaultBandWidth,omitnil" name:"DefaultBandWidth"` // Default image ID, such as `img-qsdf3ff2`. DefaultImageId *string `json:"DefaultImageId,omitnil" name:"DefaultImageId"` // Model ID. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Default system disk size in GB. It is 50 GB by default and cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitnil" name:"DefaultSystemDiskSize"` // Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitnil" name:"DefaultDataDiskSize"` // Whether to disable IP direct access. Valid values: // true: yes // false: no CloseIpDirect *bool `json:"CloseIpDirect,omitnil" name:"CloseIpDirect"` // List of tags. TagSpecification []*TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // List of default module security groups SecurityGroups []*string `json:"SecurityGroups,omitnil" name:"SecurityGroups"` // Default inbound bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`. DefaultBandWidthIn *int64 `json:"DefaultBandWidthIn,omitnil" name:"DefaultBandWidthIn"` // Whether to prohibit public IP assignment DisableWanIp *bool `json:"DisableWanIp,omitnil" name:"DisableWanIp"` // System disk information. SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information. DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type CreateModuleResponseParams struct { // Module ID. It is the ID assigned to a module after it is created successfully. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct { *tchttp.BaseRequest // VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ENI name, which can contain up to 60 bytes. NetworkInterfaceName *string `json:"NetworkInterfaceName,omitnil" name:"NetworkInterfaceName"` // Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI description. You can enter any information within 60 characters. NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitnil" name:"NetworkInterfaceDescription"` // Number of private IP addresses applied for. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitnil" name:"SecondaryPrivateIpAddressCount"` // The security group to be bound with, such as ['sg-1dd51d']. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateNetworkInterfaceRequestParams struct { // VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ENI name, which can contain up to 60 bytes. NetworkInterfaceName *string `json:"NetworkInterfaceName,omitnil" name:"NetworkInterfaceName"` // Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI description. You can enter any information within 60 characters. NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitnil" name:"NetworkInterfaceDescription"` // Number of private IP addresses applied for. The total number of private IP addresses cannot exceed the quota. SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitnil" name:"SecondaryPrivateIpAddressCount"` // The security group to be bound with, such as ['sg-1dd51d']. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateNetworkInterfaceResponseParams struct { // ENI instance. NetworkInterface *NetworkInterface `json:"NetworkInterface,omitnil" name:"NetworkInterface"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateRouteTableRequest ¶
type CreateRouteTableRequest struct { *tchttp.BaseRequest // ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Route table name, which can contain up to 60 bytes. RouteTableName *string `json:"RouteTableName,omitnil" name:"RouteTableName"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type CreateRouteTableRequestParams struct { // ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Route table name, which can contain up to 60 bytes. RouteTableName *string `json:"RouteTableName,omitnil" name:"RouteTableName"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type CreateRouteTableResponseParams struct { // Route table object RouteTable *RouteTable `json:"RouteTable,omitnil" name:"RouteTable"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateRoutesRequest ¶
type CreateRoutesRequest struct { *tchttp.BaseRequest // Route table instance ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object to be created. Routes []*Route `json:"Routes,omitnil" 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 ¶
type CreateRoutesRequestParams struct { // Route table instance ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object to be created. Routes []*Route `json:"Routes,omitnil" 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 ¶
type CreateRoutesResponseParams struct { // Number of added instances. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Route table object. // Note: this field may return null, indicating that no valid values can be obtained. RouteTableSet []*RouteTable `json:"RouteTableSet,omitnil" name:"RouteTableSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSecurityGroupPoliciesRequest ¶
type CreateSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type CreateSecurityGroupPoliciesRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type CreateSecurityGroupPoliciesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct { *tchttp.BaseRequest // Security group name, which can be customized with up to 60 characters. GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // Security group remarks, which can contain up to 100 characters. GroupDescription *string `json:"GroupDescription,omitnil" name:"GroupDescription"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateSecurityGroupRequestParams struct { // Security group name, which can be customized with up to 60 characters. GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // Security group remarks, which can contain up to 100 characters. GroupDescription *string `json:"GroupDescription,omitnil" name:"GroupDescription"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateSecurityGroupResponseParams struct { // Security group object. SecurityGroup *SecurityGroup `json:"SecurityGroup,omitnil" name:"SecurityGroup"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { *tchttp.BaseRequest // ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet name, which can contain up to 60 bytes. SubnetName *string `json:"SubnetName,omitnil" name:"SubnetName"` // Subnet IP address range. It must be within the VPC IP address range. Subnet IP address ranges cannot overlap with each other within the same VPC. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // AZ ID of the subnet. You can select different AZs for different subnets for cross-AZ disaster recovery. Zone *string `json:"Zone,omitnil" name:"Zone"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateSubnetRequestParams struct { // ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet name, which can contain up to 60 bytes. SubnetName *string `json:"SubnetName,omitnil" name:"SubnetName"` // Subnet IP address range. It must be within the VPC IP address range. Subnet IP address ranges cannot overlap with each other within the same VPC. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // AZ ID of the subnet. You can select different AZs for different subnets for cross-AZ disaster recovery. Zone *string `json:"Zone,omitnil" name:"Zone"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" 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 ¶
type CreateSubnetResponseParams struct { // Subnet object. Subnet *Subnet `json:"Subnet,omitnil" name:"Subnet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateVpcRequest ¶
type CreateVpcRequest struct { *tchttp.BaseRequest // VPC name, which can contain up to 60 bytes. VpcName *string `json:"VpcName,omitnil" name:"VpcName"` // VPC CIDR block, which must fall within the following private network IP ranges: 10.*.0.0/16, 172.[16-31].0.0/16, and 192.168.0.0/16. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Whether multicast is enabled. true: enabled; false: disabled. This parameter is not supported currently EnableMulticast *string `json:"EnableMulticast,omitnil" name:"EnableMulticast"` // DNS address (not supported currently). Up to 4 addresses can be supported. DnsServers []*string `json:"DnsServers,omitnil" name:"DnsServers"` // Domain name. This parameter is not supported currently DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // Description Description *string `json:"Description,omitnil" 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 ¶
type CreateVpcRequestParams struct { // VPC name, which can contain up to 60 bytes. VpcName *string `json:"VpcName,omitnil" name:"VpcName"` // VPC CIDR block, which must fall within the following private network IP ranges: 10.*.0.0/16, 172.[16-31].0.0/16, and 192.168.0.0/16. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Whether multicast is enabled. true: enabled; false: disabled. This parameter is not supported currently EnableMulticast *string `json:"EnableMulticast,omitnil" name:"EnableMulticast"` // DNS address (not supported currently). Up to 4 addresses can be supported. DnsServers []*string `json:"DnsServers,omitnil" name:"DnsServers"` // Domain name. This parameter is not supported currently DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // List of bound tags, such as [{"Key": "city", "Value": "shanghai"}]. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // Description Description *string `json:"Description,omitnil" 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 ¶
type CreateVpcResponseParams struct { // VPC object. Vpc *VpcInfo `json:"Vpc,omitnil" name:"Vpc"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DataDisk ¶
type DataDisk struct { // Data disk size in GB. DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"` // Data disk type. Valid values: // - LOCAL_BASIC: local disk // - CLOUD_PREMIUM: Premium Cloud Storage // // Default value: LOCAL_BASIC. DiskType *string `json:"DiskType,omitnil" name:"DiskType"` }
type DeleteHaVipRequest ¶
type DeleteHaVipRequest struct { *tchttp.BaseRequest // Unique HAVIP ID, such as `havip-9o233uri`. HaVipId *string `json:"HaVipId,omitnil" 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 ¶
type DeleteHaVipRequestParams struct { // Unique HAVIP ID, such as `havip-9o233uri`. HaVipId *string `json:"HaVipId,omitnil" 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 ¶
type DeleteHaVipResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteImageRequest ¶
type DeleteImageRequest struct { *tchttp.BaseRequest // List of image IDs. ImageIDSet []*string `json:"ImageIDSet,omitnil" 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 ¶
type DeleteImageRequestParams struct { // List of image IDs. ImageIDSet []*string `json:"ImageIDSet,omitnil" 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 ¶
type DeleteImageResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteListenerRequest ¶
type DeleteListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,omitnil" 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 ¶
type DeleteListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // ID of the listener to be deleted ListenerId *string `json:"ListenerId,omitnil" 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 ¶
type DeleteListenerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerListenersRequest ¶
type DeleteLoadBalancerListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of IDs of the listeners to be deleted. If this parameter is left empty, all listeners of the CLB instance will be deleted ListenerIds []*string `json:"ListenerIds,omitnil" 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 ¶
type DeleteLoadBalancerListenersRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of IDs of the listeners to be deleted. If this parameter is left empty, all listeners of the CLB instance will be deleted ListenerIds []*string `json:"ListenerIds,omitnil" 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 ¶
type DeleteLoadBalancerListenersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { *tchttp.BaseRequest // Array of IDs of the CLB instances to be deleted. Array length limit: 20 LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" 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 ¶
type DeleteLoadBalancerRequestParams struct { // Array of IDs of the CLB instances to be deleted. Array length limit: 20 LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" 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 ¶
type DeleteLoadBalancerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteModuleRequest ¶
type DeleteModuleRequest struct { *tchttp.BaseRequest // Module ID, such as `em-qn46snq8`. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type DeleteModuleRequestParams struct { // Module ID, such as `em-qn46snq8`. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type DeleteModuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct { *tchttp.BaseRequest // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteNetworkInterfaceRequestParams struct { // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteNetworkInterfaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteRouteTableRequest ¶
type DeleteRouteTableRequest struct { *tchttp.BaseRequest // Route table instance ID, such as `rtb-azd4dt1c` RouteTableId *string `json:"RouteTableId,omitnil" 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 ¶
type DeleteRouteTableRequestParams struct { // Route table instance ID, such as `rtb-azd4dt1c` RouteTableId *string `json:"RouteTableId,omitnil" 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 ¶
type DeleteRouteTableResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteRoutesRequest ¶
type DeleteRoutesRequest struct { *tchttp.BaseRequest // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object. Routes []*Route `json:"Routes,omitnil" 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 ¶
type DeleteRoutesRequestParams struct { // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object. Routes []*Route `json:"Routes,omitnil" 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 ¶
type DeleteRoutesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityGroupPoliciesRequest ¶
type DeleteSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. You can only delete one or more policies in one direction in one request. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. You can use only one matching method in one request. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type DeleteSecurityGroupPoliciesRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. You can only delete one or more policies in one direction in one request. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. You can use only one matching method in one request. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type DeleteSecurityGroupPoliciesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" 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 ¶
type DeleteSecurityGroupRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" 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 ¶
type DeleteSecurityGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSnapshotsRequest ¶
type DeleteSnapshotsRequest struct { *tchttp.BaseRequest // List of IDs of the snapshots to be deleted, which can be queried through [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1). SnapshotIds []*string `json:"SnapshotIds,omitnil" name:"SnapshotIds"` // Whether to force delete the images associated with the snapshot. DeleteBindImages *bool `json:"DeleteBindImages,omitnil" name:"DeleteBindImages"` }
func NewDeleteSnapshotsRequest ¶
func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)
func (*DeleteSnapshotsRequest) FromJsonString ¶
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 ¶
func (r *DeleteSnapshotsRequest) ToJsonString() string
type DeleteSnapshotsRequestParams ¶
type DeleteSnapshotsRequestParams struct { // List of IDs of the snapshots to be deleted, which can be queried through [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1). SnapshotIds []*string `json:"SnapshotIds,omitnil" name:"SnapshotIds"` // Whether to force delete the images associated with the snapshot. DeleteBindImages *bool `json:"DeleteBindImages,omitnil" name:"DeleteBindImages"` }
Predefined struct for user
type DeleteSnapshotsResponse ¶
type DeleteSnapshotsResponse struct { *tchttp.BaseResponse Response *DeleteSnapshotsResponseParams `json:"Response"` }
func NewDeleteSnapshotsResponse ¶
func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)
func (*DeleteSnapshotsResponse) FromJsonString ¶
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 ¶
func (r *DeleteSnapshotsResponse) ToJsonString() string
type DeleteSnapshotsResponseParams ¶
type DeleteSnapshotsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { *tchttp.BaseRequest // Subnet instance ID, which can be obtained from the `SubnetId` field in the returned value of the `DescribeSubnets` API. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteSubnetRequestParams struct { // Subnet instance ID, which can be obtained from the `SubnetId` field in the returned value of the `DescribeSubnets` API. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteSubnetResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteVpcRequest ¶
type DeleteVpcRequest struct { *tchttp.BaseRequest // VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteVpcRequestParams struct { // VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DeleteVpcResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAddressQuotaRequest ¶
type DescribeAddressQuotaRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeAddressQuotaRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeAddressQuotaResponseParams struct { // Quota information of EIPs in the account. QuotaSet []*EipQuota `json:"QuotaSet,omitnil" name:"QuotaSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAddressesRequest ¶
type DescribeAddressesRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of unique IDs of EIPs, such as `eip-11112222`. `AddressIds` and `Filters` cannot be specified at the same time. AddressIds []*string `json:"AddressIds,omitnil" name:"AddressIds"` // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. `AddressIds` and `Filters` cannot be specified at the same time. The detailed filters are as follows: // address-id - String - Required: no - (Filter) Filter by unique EIP ID, such as `eip-11112222`. // address-name - String - Required: no - (Filter) Filter by EIP name. Fuzzy filtering is not supported. // address-ip - String - Required: no - (Filter) Filter by EIP IP address. // address-status - String - Required: no - (Filter) Filter by EIP status. Value range: see the list of EIP status. // instance-id - String - Required: no - (Filter) Filter by the ID of the instance bound to the EIP, such as `ins-11112222`. // private-ip-address - String - Required: no - (Filter) Filter by the private IP bound to the EIP. // network-interface-id - String - Required: no - (Filter) Filter by ID of the ENI bound to the EIP, such as `eni-11112222`. // is-arrears - String - Required: no - (Filter) Filter by whether the EIP is overdue (TRUE: the EIP is overdue | FALSE: the billing status of the EIP is normal) Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" 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 ¶
type DescribeAddressesRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of unique IDs of EIPs, such as `eip-11112222`. `AddressIds` and `Filters` cannot be specified at the same time. AddressIds []*string `json:"AddressIds,omitnil" name:"AddressIds"` // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. `AddressIds` and `Filters` cannot be specified at the same time. The detailed filters are as follows: // address-id - String - Required: no - (Filter) Filter by unique EIP ID, such as `eip-11112222`. // address-name - String - Required: no - (Filter) Filter by EIP name. Fuzzy filtering is not supported. // address-ip - String - Required: no - (Filter) Filter by EIP IP address. // address-status - String - Required: no - (Filter) Filter by EIP status. Value range: see the list of EIP status. // instance-id - String - Required: no - (Filter) Filter by the ID of the instance bound to the EIP, such as `ins-11112222`. // private-ip-address - String - Required: no - (Filter) Filter by the private IP bound to the EIP. // network-interface-id - String - Required: no - (Filter) Filter by ID of the ENI bound to the EIP, such as `eni-11112222`. // is-arrears - String - Required: no - (Filter) Filter by whether the EIP is overdue (TRUE: the EIP is overdue | FALSE: the billing status of the EIP is normal) Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" 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 ¶
type DescribeAddressesResponseParams struct { // Number of eligible EIPs. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of EIP details. AddressSet []*Address `json:"AddressSet,omitnil" name:"AddressSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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 ¶
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 ¶
type DescribeBaseOverviewResponseParams struct { // Number of modules ModuleNum *int64 `json:"ModuleNum,omitnil" name:"ModuleNum"` // Number of nodes NodeNum *int64 `json:"NodeNum,omitnil" name:"NodeNum"` // Number of CPU cores VcpuNum *int64 `json:"VcpuNum,omitnil" name:"VcpuNum"` // Memory size in GB MemoryNum *int64 `json:"MemoryNum,omitnil" name:"MemoryNum"` // Disk size in GB StorageNum *int64 `json:"StorageNum,omitnil" name:"StorageNum"` // Yesterday's network peak in Mbps NetworkNum *int64 `json:"NetworkNum,omitnil" name:"NetworkNum"` // Number of instances InstanceNum *int64 `json:"InstanceNum,omitnil" name:"InstanceNum"` // Number of running instances RunningNum *int64 `json:"RunningNum,omitnil" name:"RunningNum"` // Number of isolated instances IsolationNum *int64 `json:"IsolationNum,omitnil" name:"IsolationNum"` // Number of expired instances ExpiredNum *int64 `json:"ExpiredNum,omitnil" name:"ExpiredNum"` // Number of instances about to expire WillExpireNum *int64 `json:"WillExpireNum,omitnil" name:"WillExpireNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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 ¶
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 ¶
type DescribeConfigResponseParams struct { // Range of the network bandwidth disk size. NetworkStorageRange *NetworkStorageRange `json:"NetworkStorageRange,omitnil" name:"NetworkStorageRange"` // Image OS allowlist. // Note: this field may return null, indicating that no valid values can be obtained. ImageWhiteSet []*string `json:"ImageWhiteSet,omitnil" name:"ImageWhiteSet"` // Network quota information. // Note: this field may return null, indicating that no valid values can be obtained. InstanceNetworkLimitConfigs []*InstanceNetworkLimitConfig `json:"InstanceNetworkLimitConfigs,omitnil" name:"InstanceNetworkLimitConfigs"` // Image quota information. // Note: this field may return null, indicating that no valid values can be obtained. ImageLimits *ImageLimitConfig `json:"ImageLimits,omitnil" name:"ImageLimits"` // Default IP direct access, used in scenarios with direct access parameters such as module creation and virtual machine purchase. DefaultIPDirect *bool `json:"DefaultIPDirect,omitnil" name:"DefaultIPDirect"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCustomImageTaskRequest ¶
type DescribeCustomImageTaskRequest struct { *tchttp.BaseRequest // Supports querying by key and value. // task-id: async task ID // image-id: image ID // image-name: image name Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeCustomImageTaskRequestParams struct { // Supports querying by key and value. // task-id: async task ID // image-id: image ID // image-name: image name Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeCustomImageTaskResponseParams struct { // Import task details // Note: this field may return null, indicating that no valid values can be obtained. ImageTaskSet []*ImageTask `json:"ImageTaskSet,omitnil" name:"ImageTaskSet"` // Total number TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultSubnetRequest ¶
type DescribeDefaultSubnetRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ECM AZ Zone *string `json:"Zone,omitnil" 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 ¶
type DescribeDefaultSubnetRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ECM AZ Zone *string `json:"Zone,omitnil" 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 ¶
type DescribeDefaultSubnetResponseParams struct { // Default subnet information. If there is no subnet, this parameter will be empty. Subnet *Subnet `json:"Subnet,omitnil" name:"Subnet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeHaVipsRequest ¶
type DescribeHaVipsRequest struct { *tchttp.BaseRequest // Array of unique HAVIP IDs, such as `havip-9o233uri`. HaVipIds []*string `json:"HaVipIds,omitnil" name:"HaVipIds"` // Filter. `HaVipIds` and `Filters` cannot be specified at the same time. // havip-id - String - Unique HAVIP ID, such as `havip-9o233uri`. // havip-name - String - HAVIP name. // vpc-id - String - VPC ID of the HAVIP. // subnet-id - String - Subnet ID of the HAVIP. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // ECM region. If this parameter is left empty, it will indicate all regions. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeHaVipsRequestParams struct { // Array of unique HAVIP IDs, such as `havip-9o233uri`. HaVipIds []*string `json:"HaVipIds,omitnil" name:"HaVipIds"` // Filter. `HaVipIds` and `Filters` cannot be specified at the same time. // havip-id - String - Unique HAVIP ID, such as `havip-9o233uri`. // havip-name - String - HAVIP name. // vpc-id - String - VPC ID of the HAVIP. // subnet-id - String - Subnet ID of the HAVIP. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // ECM region. If this parameter is left empty, it will indicate all regions. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeHaVipsResponseParams struct { // Number of eligible objects. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Array of HAVIP objects. // Note: this field may return null, indicating that no valid values can be obtained. HaVipSet []*HaVip `json:"HaVipSet,omitnil" name:"HaVipSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImageRequest ¶
type DescribeImageRequest struct { *tchttp.BaseRequest // Filter. Each request can contain up to 10 `Filters`. The detailed filters are as follows: // image-id - String - Required: no - (Filter) Filter by image ID. // image-type - String - Required: no - (Filter) Filter by image type. Valid values: // PRIVATE_IMAGE: private image created by the current account // PUBLIC_IMAGE: public image created by Tencent Cloud // instance-type -String - Required: no - (Filter) Filter supported images by model. // image-name - String - Required: no - (Filter) Fuzzy match by image name. You can provide only one value. // image-os - String - Required: no - (Filter) Fuzzy match by image system name. You can provide only one value. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview. Limit *int64 `json:"Limit,omitnil" 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 ¶
type DescribeImageRequestParams struct { // Filter. Each request can contain up to 10 `Filters`. The detailed filters are as follows: // image-id - String - Required: no - (Filter) Filter by image ID. // image-type - String - Required: no - (Filter) Filter by image type. Valid values: // PRIVATE_IMAGE: private image created by the current account // PUBLIC_IMAGE: public image created by Tencent Cloud // instance-type -String - Required: no - (Filter) Filter supported images by model. // image-name - String - Required: no - (Filter) Fuzzy match by image name. You can provide only one value. // image-os - String - Required: no - (Filter) Fuzzy match by image system name. You can provide only one value. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview. Limit *int64 `json:"Limit,omitnil" 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 ¶
type DescribeImageResponseParams struct { // Total number of images TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Image array // Note: this field may return null, indicating that no valid values can be obtained. ImageSet []*Image `json:"ImageSet,omitnil" name:"ImageSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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 ¶
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 ¶
type DescribeImportImageOsResponseParams struct { // Supported OS types of imported images. ImportImageOsListSupported *ImageOsList `json:"ImportImageOsListSupported,omitnil" name:"ImportImageOsListSupported"` // Supported OS versions of imported images. ImportImageOsVersionSet []*OsVersion `json:"ImportImageOsVersionSet,omitnil" name:"ImportImageOsVersionSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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 ¶
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 ¶
type DescribeInstanceTypeConfigResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Model configuration information // Note: this field may return null, indicating that no valid values can be obtained. InstanceTypeConfigSet []*InstanceTypeConfig `json:"InstanceTypeConfigSet,omitnil" name:"InstanceTypeConfigSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceVncUrlRequest ¶
type DescribeInstanceVncUrlRequest struct { *tchttp.BaseRequest // Instance ID, which can be obtained from the `InstanceId` field in the returned value of the `DescribeInstances` API. InstanceId *string `json:"InstanceId,omitnil" 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 ¶
type DescribeInstanceVncUrlRequestParams struct { // Instance ID, which can be obtained from the `InstanceId` field in the returned value of the `DescribeInstances` API. InstanceId *string `json:"InstanceId,omitnil" 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 ¶
type DescribeInstanceVncUrlResponseParams struct { // Instance VNC URL. InstanceVncUrl *string `json:"InstanceVncUrl,omitnil" name:"InstanceVncUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesDeniedActionsRequest ¶
type DescribeInstancesDeniedActionsRequest struct { *tchttp.BaseRequest // None InstanceIdSet []*string `json:"InstanceIdSet,omitnil" 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 ¶
type DescribeInstancesDeniedActionsRequestParams struct { // None InstanceIdSet []*string `json:"InstanceIdSet,omitnil" 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 ¶
type DescribeInstancesDeniedActionsResponseParams struct { // Prohibited operations for the instance InstanceOperatorSet []*InstanceOperator `json:"InstanceOperatorSet,omitnil" name:"InstanceOperatorSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // Filter. // zone String Required: no (Filter) Filter by AZ abbreviation. // zone-name String Required: no (Filter) Filter by AZ name. Fuzzy match is supported. // module-id String Required: no (Filter) Filter by module ID. // instance-id String Required: no (Filter) Filter by instance ID. // instance-name String Required: no (Filter) Filter by instance name. Fuzzy match is supported. // ip-address String Required: no (Filter) Filter by the instance's private/public IP. // instance-uuid string Required: no (Filter) Filter instances by `uuid`. // instance-state string Required: no (Filter) Update instances by instance status. // internet-service-provider String Required: no (Filter) Filter by the ISP of the instance's public IP. // tag-key String Required: no (Filter) Filter by tag key. // tag:tag-key String Required: no (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. // instance-family String Required: no (Filter) Filter by model family. // module-name String Required: no (Filter) Filter by module name. Fuzzy match is supported. // image-id String Required: no (Filter) Filter by instance image ID. // vpc-id String Required: no (Filter) Filter by instance VPC ID. // subnet-id String Required: no (Filter) Filter by instance subnet ID. // // If the `Filters` parameter is not specified, the information of all relevant instances will be queried. // Each request can contain up to 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20 (if the number of query results is greater than or equal to 20). Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Specified sort by field. Currently, valid values are as follows: // timestamp: sort by instance creation time. // Note: you can sort only by creation time currently. More sort criteria may be supported in the future. // If this parameter is not specified, instances will be sorted by creation time by default. OrderByField *string `json:"OrderByField,omitnil" name:"OrderByField"` // Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default. OrderDirection *int64 `json:"OrderDirection,omitnil" 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 ¶
type DescribeInstancesRequestParams struct { // Filter. // zone String Required: no (Filter) Filter by AZ abbreviation. // zone-name String Required: no (Filter) Filter by AZ name. Fuzzy match is supported. // module-id String Required: no (Filter) Filter by module ID. // instance-id String Required: no (Filter) Filter by instance ID. // instance-name String Required: no (Filter) Filter by instance name. Fuzzy match is supported. // ip-address String Required: no (Filter) Filter by the instance's private/public IP. // instance-uuid string Required: no (Filter) Filter instances by `uuid`. // instance-state string Required: no (Filter) Update instances by instance status. // internet-service-provider String Required: no (Filter) Filter by the ISP of the instance's public IP. // tag-key String Required: no (Filter) Filter by tag key. // tag:tag-key String Required: no (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. // instance-family String Required: no (Filter) Filter by model family. // module-name String Required: no (Filter) Filter by module name. Fuzzy match is supported. // image-id String Required: no (Filter) Filter by instance image ID. // vpc-id String Required: no (Filter) Filter by instance VPC ID. // subnet-id String Required: no (Filter) Filter by instance subnet ID. // // If the `Filters` parameter is not specified, the information of all relevant instances will be queried. // Each request can contain up to 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20 (if the number of query results is greater than or equal to 20). Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Specified sort by field. Currently, valid values are as follows: // timestamp: sort by instance creation time. // Note: you can sort only by creation time currently. More sort criteria may be supported in the future. // If this parameter is not specified, instances will be sorted by creation time by default. OrderByField *string `json:"OrderByField,omitnil" name:"OrderByField"` // Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default. OrderDirection *int64 `json:"OrderDirection,omitnil" 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 ¶
type DescribeInstancesResponseParams struct { // Length of the list of the returned instance information. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of the returned instance information. // Note: this field may return null, indicating that no valid values can be obtained. InstanceSet []*Instance `json:"InstanceSet,omitnil" name:"InstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeListenersRequest ¶
type DescribeListenersRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of IDs of the CLB listeners to be queried ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"` // Protocol type of the listener to be queried. Valid values: TCP, UDP. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Port of the listener to be queried Port *int64 `json:"Port,omitnil" 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 ¶
type DescribeListenersRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of IDs of the CLB listeners to be queried ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"` // Protocol type of the listener to be queried. Valid values: TCP, UDP. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Port of the listener to be queried Port *int64 `json:"Port,omitnil" 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 ¶
type DescribeListenersResponseParams struct { // List of listeners // Note: this field may return null, indicating that no valid values can be obtained. Listeners []*Listener `json:"Listeners,omitnil" name:"Listeners"` // Total number of listeners // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalanceTaskStatusRequest ¶
type DescribeLoadBalanceTaskStatusRequest struct { *tchttp.BaseRequest // Request ID, i.e., the `RequestId` parameter returned by the API TaskId *string `json:"TaskId,omitnil" 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 ¶
type DescribeLoadBalanceTaskStatusRequestParams struct { // Request ID, i.e., the `RequestId` parameter returned by the API TaskId *string `json:"TaskId,omitnil" 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 ¶
type DescribeLoadBalanceTaskStatusResponseParams struct { // Current task status. 0: succeeded; 1: failed; 2: in progress. // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancersRequest ¶
type DescribeLoadBalancersRequest struct { *tchttp.BaseRequest // Region. If this parameter is not specified, the information of all regions will be queried by default. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // CLB instance ID. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // VIP address of the CLB instance. There can be multiple addresses. LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"` // Private IP of the real server bound to the CLB. BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Whether the CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. // If this parameter is not specified, all will be queried by default. WithBackend *int64 `json:"WithBackend,omitnil" name:"WithBackend"` // Unique VPC ID of the CLB instance, such as `vpc-bhqkbhdx`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Each request can contain up to 10 `Filters` and 100 `Filter.Values`. The detailed filters are as follows: // tag-key - String - Required: no - (Filter) Filter by tag key. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Security group. SecurityGroup *string `json:"SecurityGroup,omitnil" 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 ¶
type DescribeLoadBalancersRequestParams struct { // Region. If this parameter is not specified, the information of all regions will be queried by default. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // CLB instance ID. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"` // CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // VIP address of the CLB instance. There can be multiple addresses. LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"` // Private IP of the real server bound to the CLB. BackendPrivateIps []*string `json:"BackendPrivateIps,omitnil" name:"BackendPrivateIps"` // Data offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned CLB instances. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Whether the CLB instance is bound to a real server. 0: no; 1: yes; -1: query all. // If this parameter is not specified, all will be queried by default. WithBackend *int64 `json:"WithBackend,omitnil" name:"WithBackend"` // Unique VPC ID of the CLB instance, such as `vpc-bhqkbhdx`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Each request can contain up to 10 `Filters` and 100 `Filter.Values`. The detailed filters are as follows: // tag-key - String - Required: no - (Filter) Filter by tag key. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Security group. SecurityGroup *string `json:"SecurityGroup,omitnil" 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 ¶
type DescribeLoadBalancersResponseParams struct { // Total number of eligible CLB instances. This value is independent of the `Limit` in the input parameter. // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Array of returned CLB instances. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitnil" name:"LoadBalancerSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeModuleDetailRequest ¶
type DescribeModuleDetailRequest struct { *tchttp.BaseRequest // Module ID, such as `em-qn46snq8`. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type DescribeModuleDetailRequestParams struct { // Module ID, such as `em-qn46snq8`. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type DescribeModuleDetailResponseParams struct { // Module details. For more information, see `ModuleInfo` in the data structure. // Note: this field may return null, indicating that no valid values can be obtained. Module *Module `json:"Module,omitnil" name:"Module"` // Module statistics. For more information, see `ModuleCounterInfo` in the data structure. // Note: this field may return null, indicating that no valid values can be obtained. ModuleCounter *ModuleCounter `json:"ModuleCounter,omitnil" name:"ModuleCounter"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeModuleRequest ¶
type DescribeModuleRequest struct { *tchttp.BaseRequest // Filter. // module-name - string - Required: no - (Filter) Filter by module name. // module-id - string - Required: no - (Filter) Filter by module ID. // image-id String Required: no (Filter) Filter by image ID. // instance-family String Required: no (Filter) Filter by model family. // security-group-id - string Required: no - (Filter) Filter by ID of the security group bound to the module. // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Specified sort by field. Currently, valid values are as follows: // instance-num: sort by the number of instances. // node-num: sort by the number of nodes. // timestamp: sort by instance creation time. // If this parameter is not specified, instances will be sorted by creation time by default. OrderByField *string `json:"OrderByField,omitnil" name:"OrderByField"` // Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default. OrderDirection *int64 `json:"OrderDirection,omitnil" 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 ¶
type DescribeModuleRequestParams struct { // Filter. // module-name - string - Required: no - (Filter) Filter by module name. // module-id - string - Required: no - (Filter) Filter by module ID. // image-id String Required: no (Filter) Filter by image ID. // instance-family String Required: no (Filter) Filter by model family. // security-group-id - string Required: no - (Filter) Filter by ID of the security group bound to the module. // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Specified sort by field. Currently, valid values are as follows: // instance-num: sort by the number of instances. // node-num: sort by the number of nodes. // timestamp: sort by instance creation time. // If this parameter is not specified, instances will be sorted by creation time by default. OrderByField *string `json:"OrderByField,omitnil" name:"OrderByField"` // Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default. OrderDirection *int64 `json:"OrderDirection,omitnil" 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 ¶
type DescribeModuleResponseParams struct { // Number of eligible modules. // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of module details. // Note: this field may return null, indicating that no valid values can be obtained. ModuleItemSet []*ModuleItem `json:"ModuleItemSet,omitnil" name:"ModuleItemSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMonthPeakNetworkRequest ¶
type DescribeMonthPeakNetworkRequest struct { *tchttp.BaseRequest // Month (xxxx-xx), such as `2021-03`. Default value: the last month Month *string `json:"Month,omitnil" name:"Month"` // Filter Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeMonthPeakNetworkRequestParams struct { // Month (xxxx-xx), such as `2021-03`. Default value: the last month Month *string `json:"Month,omitnil" name:"Month"` // Filter Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeMonthPeakNetworkResponseParams struct { // None // Note: this field may return null, indicating that no valid values can be obtained. MonthNetWorkData []*MonthNetwork `json:"MonthNetWorkData,omitnil" name:"MonthNetWorkData"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct { *tchttp.BaseRequest // Queries the ID of the ENI instance, such as `eni-pxir56ns`. Each request supports a maximum of 100 instances. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time. NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitnil" name:"NetworkInterfaceIds"` // Filter. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time. // vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`. // subnet-id - String - (Filter) Subnet instance ID, such as `subnet-f49l6u0z`. // network-interface-id - String - (Filter) ENI instance ID, such as `eni-5k56k7k7`. // attachment.instance-id - String - (Filter) ID of the bound CVM instance, such as `ein-3nqpdn3i`. // groups.security-group-id - String - (Filter) ID of the bound security group instance, such as `sg-f9ekbxeq`. // network-interface-name - String - (Filter) ENI instance name. // network-interface-description - String - (Filter) ENI instance description. // address-ip - String - (Filter) Private IPv4 address. // tag-key - String - Required: no - (Filter) Filter by tag key. For directions, see Sample 2. // tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. For directions, see Sample 3. // is-primary - Boolean - Required: no - (Filter) Filter by whether it is a primary ENI. true: filter only by primary ENI; false: filter only by secondary ENI. If this parameter is not specified, filtering by both primary and secondary ENIs will be used. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeNetworkInterfacesRequestParams struct { // Queries the ID of the ENI instance, such as `eni-pxir56ns`. Each request supports a maximum of 100 instances. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time. NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitnil" name:"NetworkInterfaceIds"` // Filter. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time. // vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`. // subnet-id - String - (Filter) Subnet instance ID, such as `subnet-f49l6u0z`. // network-interface-id - String - (Filter) ENI instance ID, such as `eni-5k56k7k7`. // attachment.instance-id - String - (Filter) ID of the bound CVM instance, such as `ein-3nqpdn3i`. // groups.security-group-id - String - (Filter) ID of the bound security group instance, such as `sg-f9ekbxeq`. // network-interface-name - String - (Filter) ENI instance name. // network-interface-description - String - (Filter) ENI instance description. // address-ip - String - (Filter) Private IPv4 address. // tag-key - String - Required: no - (Filter) Filter by tag key. For directions, see Sample 2. // tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. For directions, see Sample 3. // is-primary - Boolean - Required: no - (Filter) Filter by whether it is a primary ENI. true: filter only by primary ENI; false: filter only by secondary ENI. If this parameter is not specified, filtering by both primary and secondary ENIs will be used. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeNetworkInterfacesResponseParams struct { // Number of eligible instances. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of instance details. // Note: this field may return null, indicating that no valid values can be obtained. NetworkInterfaceSet []*NetworkInterface `json:"NetworkInterfaceSet,omitnil" name:"NetworkInterfaceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeNodeRequest ¶
type DescribeNodeRequest struct { *tchttp.BaseRequest // Filter. InstanceFamily: instance family. Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeNodeRequestParams struct { // Filter. InstanceFamily: instance family. Filters []*Filter `json:"Filters,omitnil" 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 ¶
type DescribeNodeResponseParams struct { // List of node details // Note: this field may return null, indicating that no valid values can be obtained. NodeSet []*Node `json:"NodeSet,omitnil" name:"NodeSet"` // Total number of nodes. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePackingQuotaGroupRequest ¶
type DescribePackingQuotaGroupRequest struct { *tchttp.BaseRequest // Filter. Zone: AZ; InstanceType: instance type; DataDiskSize: data disk size. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
func NewDescribePackingQuotaGroupRequest ¶
func NewDescribePackingQuotaGroupRequest() (request *DescribePackingQuotaGroupRequest)
func (*DescribePackingQuotaGroupRequest) FromJsonString ¶
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 ¶
func (r *DescribePackingQuotaGroupRequest) ToJsonString() string
type DescribePackingQuotaGroupRequestParams ¶
type DescribePackingQuotaGroupRequestParams struct { // Filter. Zone: AZ; InstanceType: instance type; DataDiskSize: data disk size. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
Predefined struct for user
type DescribePackingQuotaGroupResponse ¶
type DescribePackingQuotaGroupResponse struct { *tchttp.BaseResponse Response *DescribePackingQuotaGroupResponseParams `json:"Response"` }
func NewDescribePackingQuotaGroupResponse ¶
func NewDescribePackingQuotaGroupResponse() (response *DescribePackingQuotaGroupResponse)
func (*DescribePackingQuotaGroupResponse) FromJsonString ¶
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 ¶
func (r *DescribePackingQuotaGroupResponse) ToJsonString() string
type DescribePackingQuotaGroupResponseParams ¶
type DescribePackingQuotaGroupResponseParams struct { // Set of packing quotas. PackingQuotaSet []*PackingQuotaGroup `json:"PackingQuotaSet,omitnil" name:"PackingQuotaSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePeakBaseOverviewRequest ¶
type DescribePeakBaseOverviewRequest struct { *tchttp.BaseRequest // Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 90 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 90 days ago. When the time period between the start time and end time is within 30 days, data at the 1-hour granularity will be returned; otherwise, data at the 3-hour granularity will be returned. EndTime *string `json:"EndTime,omitnil" 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 ¶
type DescribePeakBaseOverviewRequestParams struct { // Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 90 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 90 days ago. When the time period between the start time and end time is within 30 days, data at the 1-hour granularity will be returned; otherwise, data at the 3-hour granularity will be returned. EndTime *string `json:"EndTime,omitnil" 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 ¶
type DescribePeakBaseOverviewResponseParams struct { // List of basic peaks. // Note: this field may return null, indicating that no valid values can be obtained. PeakFamilyInfoSet []*PeakFamilyInfo `json:"PeakFamilyInfoSet,omitnil" name:"PeakFamilyInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePeakNetworkOverviewRequest ¶
type DescribePeakNetworkOverviewRequest struct { *tchttp.BaseRequest // Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 30 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 30 days ago. When the time period between the start time and end time is within 1 day, data at the 1-minute granularity will be returned; when the time period is within 7 days, data at the 5-minute granularity will be returned; otherwise, data at the 1-hour granularity will be returned. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Filter. // // region String Required: no (Filter) Filter by region. Fuzzy match is not supported. Note: you need to enter the ECM region to be queried before data can be returned. // area String Required: no (Filter) Filter by region. Fuzzy match is not supported. Regions include `china-central`, `china-east`, etc. You can call `DescribeNode` to get the information of all regions. You can also use `ALL_REGION` to indicate all regions. // isp String Required: no (Filter) Filter region traffic by ISP. ISPs include CTCC, CUCC, and CMCC. This parameter must be used together with `area`, and you can specify only one ISP at a time. // // You can specify either `region` or `area`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Statistical period in seconds. Valid values: 60, 300. Period *int64 `json:"Period,omitnil" 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 ¶
type DescribePeakNetworkOverviewRequestParams struct { // Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 30 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 30 days ago. When the time period between the start time and end time is within 1 day, data at the 1-minute granularity will be returned; when the time period is within 7 days, data at the 5-minute granularity will be returned; otherwise, data at the 1-hour granularity will be returned. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Filter. // // region String Required: no (Filter) Filter by region. Fuzzy match is not supported. Note: you need to enter the ECM region to be queried before data can be returned. // area String Required: no (Filter) Filter by region. Fuzzy match is not supported. Regions include `china-central`, `china-east`, etc. You can call `DescribeNode` to get the information of all regions. You can also use `ALL_REGION` to indicate all regions. // isp String Required: no (Filter) Filter region traffic by ISP. ISPs include CTCC, CUCC, and CMCC. This parameter must be used together with `area`, and you can specify only one ISP at a time. // // You can specify either `region` or `area`. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Statistical period in seconds. Valid values: 60, 300. Period *int64 `json:"Period,omitnil" 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 ¶
type DescribePeakNetworkOverviewResponseParams struct { // Array of network peaks. // Note: this field may return null, indicating that no valid values can be obtained. PeakNetworkRegionSet []*PeakNetworkRegionInfo `json:"PeakNetworkRegionSet,omitnil" name:"PeakNetworkRegionSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePriceRunInstanceRequest ¶
type DescribePriceRunInstanceRequest struct { *tchttp.BaseRequest // Instance model information InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // System disk information SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Number of instances InstanceCount *uint64 `json:"InstanceCount,omitnil" name:"InstanceCount"` // Data disk information DataDisk []*DataDisk `json:"DataDisk,omitnil" name:"DataDisk"` // Instance billing type. Valid values: // `0`: Bill by daily resource usage peak (CPU, memory, and disk). It applies only to non-GNR models; // `1`: Bill by usage hours of an instance. It applies only to GNR models. It’s available to beta users now. To enable it, submit a ticket; // `2`: Bill by usage month of an instance. It applies only to GNR models. // If this field is left empty, `0` is selected by default for non-GNR models, and `2` is selected by default for GNR models. InstanceChargeType *int64 `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"` }
func NewDescribePriceRunInstanceRequest ¶
func NewDescribePriceRunInstanceRequest() (request *DescribePriceRunInstanceRequest)
func (*DescribePriceRunInstanceRequest) FromJsonString ¶
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 ¶
func (r *DescribePriceRunInstanceRequest) ToJsonString() string
type DescribePriceRunInstanceRequestParams ¶
type DescribePriceRunInstanceRequestParams struct { // Instance model information InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // System disk information SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Number of instances InstanceCount *uint64 `json:"InstanceCount,omitnil" name:"InstanceCount"` // Data disk information DataDisk []*DataDisk `json:"DataDisk,omitnil" name:"DataDisk"` // Instance billing type. Valid values: // `0`: Bill by daily resource usage peak (CPU, memory, and disk). It applies only to non-GNR models; // `1`: Bill by usage hours of an instance. It applies only to GNR models. It’s available to beta users now. To enable it, submit a ticket; // `2`: Bill by usage month of an instance. It applies only to GNR models. // If this field is left empty, `0` is selected by default for non-GNR models, and `2` is selected by default for GNR models. InstanceChargeType *int64 `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"` }
Predefined struct for user
type DescribePriceRunInstanceResponse ¶
type DescribePriceRunInstanceResponse struct { *tchttp.BaseResponse Response *DescribePriceRunInstanceResponseParams `json:"Response"` }
func NewDescribePriceRunInstanceResponse ¶
func NewDescribePriceRunInstanceResponse() (response *DescribePriceRunInstanceResponse)
func (*DescribePriceRunInstanceResponse) FromJsonString ¶
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 ¶
func (r *DescribePriceRunInstanceResponse) ToJsonString() string
type DescribePriceRunInstanceResponseParams ¶
type DescribePriceRunInstanceResponseParams struct { // Instance price information InstancePrice *InstancesPrice `json:"InstancePrice,omitnil" name:"InstancePrice"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRouteConflictsRequest ¶
type DescribeRouteConflictsRequest struct { *tchttp.BaseRequest // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // List of conflicting destination ports to be checked. DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitnil" 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 ¶
type DescribeRouteConflictsRequestParams struct { // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // List of conflicting destination ports to be checked. DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitnil" 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 ¶
type DescribeRouteConflictsResponseParams struct { // List of routing policy conflicts. // Note: this field may return null, indicating that no valid values can be obtained. RouteConflictSet []*RouteConflict `json:"RouteConflictSet,omitnil" name:"RouteConflictSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRouteTablesRequest ¶
type DescribeRouteTablesRequest struct { *tchttp.BaseRequest // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableIds []*string `json:"RouteTableIds,omitnil" name:"RouteTableIds"` // Filter. `RouteTableIds` and `Filters` cannot be specified at the same time. // route-table-id - String - (Filter) Route table instance ID. // route-table-name - String - (Filter) Route table name. // vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`. // association.main - String - (Filter) Whether it is the main route table. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // ECM region. If this parameter is left empty or not specified, it will indicate all regions. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeRouteTablesRequestParams struct { // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableIds []*string `json:"RouteTableIds,omitnil" name:"RouteTableIds"` // Filter. `RouteTableIds` and `Filters` cannot be specified at the same time. // route-table-id - String - (Filter) Route table instance ID. // route-table-name - String - (Filter) Route table name. // vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`. // association.main - String - (Filter) Whether it is the main route table. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // ECM region. If this parameter is left empty or not specified, it will indicate all regions. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DescribeRouteTablesResponseParams struct { // Number of eligible instances TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of route tables // Note: this field may return null, indicating that no valid values can be obtained. RouteTableSet []*RouteTable `json:"RouteTableSet,omitnil" name:"RouteTableSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupAssociationStatisticsRequest ¶
type DescribeSecurityGroupAssociationStatisticsRequest struct { *tchttp.BaseRequest // Security instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" 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 ¶
type DescribeSecurityGroupAssociationStatisticsRequestParams struct { // Security instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" 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 ¶
type DescribeSecurityGroupAssociationStatisticsResponseParams struct { // Statistics on the instances associated with the security group. SecurityGroupAssociationStatisticsSet []*SecurityGroupAssociationStatistics `json:"SecurityGroupAssociationStatisticsSet,omitnil" name:"SecurityGroupAssociationStatisticsSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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 ¶
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 ¶
type DescribeSecurityGroupLimitsResponseParams struct { // Security group quota limit. SecurityGroupLimitSet *SecurityGroupLimitSet `json:"SecurityGroupLimitSet,omitnil" name:"SecurityGroupLimitSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupPoliciesRequest ¶
type DescribeSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). SecurityGroupId *string `json:"SecurityGroupId,omitnil" 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 ¶
type DescribeSecurityGroupPoliciesRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). SecurityGroupId *string `json:"SecurityGroupId,omitnil" 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 ¶
type DescribeSecurityGroupPoliciesResponseParams struct { // Security group policy set. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" name:"SecurityGroupPolicySet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupsRequest ¶
type DescribeSecurityGroupsRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). Each request supports a maximum of 100 instances. `SecurityGroupIds` and `Filters` cannot be specified at the same time. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Filter. `SecurityGroupIds` and `Filters` cannot be specified at the same time. // security-group-id - String - (Filter) Security group ID. // security-group-name - String - (Filter) Security group name. // tag-key - String - Required: no - (Filter) Filter by tag key. // tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" 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 ¶
type DescribeSecurityGroupsRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). Each request supports a maximum of 100 instances. `SecurityGroupIds` and `Filters` cannot be specified at the same time. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Filter. `SecurityGroupIds` and `Filters` cannot be specified at the same time. // security-group-id - String - (Filter) Security group ID. // security-group-name - String - (Filter) Security group name. // tag-key - String - Required: no - (Filter) Filter by tag key. // tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of results to be returned. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" 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 ¶
type DescribeSecurityGroupsResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Security group object. SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitnil" name:"SecurityGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotsRequest ¶
type DescribeSnapshotsRequest struct { *tchttp.BaseRequest // List of IDs of the snapshots to be queried. `SnapshotIds` and `Filters` cannot be specified at the same time. SnapshotIds []*string `json:"SnapshotIds,omitnil" name:"SnapshotIds"` // Filter. `SnapshotIds` and `Filters` cannot be specified at the same time.<br><li>snapshot-id - Array of String - Required: no - (Filter) Filter by snapshot ID, such as `snap-11112222`.<br><li>snapshot-name - Array of String - Required: no - (Filter) Filter by snapshot name.<br><li>snapshot-state - Array of String - Required: no - (Filter) Filter by snapshot status. NORMAL: normal; CREATING: creating; ROLLBACKING: rolling back.<br><li>disk-usage - Array of String - Required: no - (Filter) Filter by the type of the cloud disk from which a snapshot is created. SYSTEM_DISK: system disk; DATA_DISK: data disk.<br><li>project-id - Array of String - Required: no - (Filter) Filter by the project ID of the cloud disk.<br><li>disk-id - Array of String - Required: no - (Filter) Filter by the ID of the cloud disk from which a snapshot is created.<br><li>zone - Array of String - Required: no - (Filter) Filter by [AZ](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo).<br><li>encrypt - Array of String - Required: no - (Filter) Filter by whether a snapshot is created from an encrypted cloud disk. TRUE: yes; FALSE: no. // <li>snapshot-type- Array of String - Required: no - (Filter) Filter by the snapshot type specified in `snapshot-type`. // (SHARED_SNAPSHOT: shared snapshot | PRIVATE_SNAPSHOT: private snapshot.) Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Field by which snapshots are sorted. Valid values:<br><li>CREATE_TIME: sort by snapshot creation time<br>Snapshots are sorted by creation time by default. OrderField *string `json:"OrderField,omitnil" name:"OrderField"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Sorting order of cloud disks. Valid values:<br><li>ASC: ascending<br><li>DESC: descending. Order *string `json:"Order,omitnil" name:"Order"` }
func NewDescribeSnapshotsRequest ¶
func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)
func (*DescribeSnapshotsRequest) FromJsonString ¶
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 ¶
func (r *DescribeSnapshotsRequest) ToJsonString() string
type DescribeSnapshotsRequestParams ¶
type DescribeSnapshotsRequestParams struct { // List of IDs of the snapshots to be queried. `SnapshotIds` and `Filters` cannot be specified at the same time. SnapshotIds []*string `json:"SnapshotIds,omitnil" name:"SnapshotIds"` // Filter. `SnapshotIds` and `Filters` cannot be specified at the same time.<br><li>snapshot-id - Array of String - Required: no - (Filter) Filter by snapshot ID, such as `snap-11112222`.<br><li>snapshot-name - Array of String - Required: no - (Filter) Filter by snapshot name.<br><li>snapshot-state - Array of String - Required: no - (Filter) Filter by snapshot status. NORMAL: normal; CREATING: creating; ROLLBACKING: rolling back.<br><li>disk-usage - Array of String - Required: no - (Filter) Filter by the type of the cloud disk from which a snapshot is created. SYSTEM_DISK: system disk; DATA_DISK: data disk.<br><li>project-id - Array of String - Required: no - (Filter) Filter by the project ID of the cloud disk.<br><li>disk-id - Array of String - Required: no - (Filter) Filter by the ID of the cloud disk from which a snapshot is created.<br><li>zone - Array of String - Required: no - (Filter) Filter by [AZ](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo).<br><li>encrypt - Array of String - Required: no - (Filter) Filter by whether a snapshot is created from an encrypted cloud disk. TRUE: yes; FALSE: no. // <li>snapshot-type- Array of String - Required: no - (Filter) Filter by the snapshot type specified in `snapshot-type`. // (SHARED_SNAPSHOT: shared snapshot | PRIVATE_SNAPSHOT: private snapshot.) Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Field by which snapshots are sorted. Valid values:<br><li>CREATE_TIME: sort by snapshot creation time<br>Snapshots are sorted by creation time by default. OrderField *string `json:"OrderField,omitnil" name:"OrderField"` // Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1). Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Sorting order of cloud disks. Valid values:<br><li>ASC: ascending<br><li>DESC: descending. Order *string `json:"Order,omitnil" name:"Order"` }
Predefined struct for user
type DescribeSnapshotsResponse ¶
type DescribeSnapshotsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotsResponseParams `json:"Response"` }
func NewDescribeSnapshotsResponse ¶
func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)
func (*DescribeSnapshotsResponse) FromJsonString ¶
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 ¶
func (r *DescribeSnapshotsResponse) ToJsonString() string
type DescribeSnapshotsResponseParams ¶
type DescribeSnapshotsResponseParams struct { // Number of snapshots. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of snapshot details. SnapshotSet []*Snapshot `json:"SnapshotSet,omitnil" name:"SnapshotSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { *tchttp.BaseRequest // Subnet instance ID, such as `subnet-pxir56ns`. Each request supports a maximum of 100 instances. `SubnetIds` and `Filters` cannot be specified at the same time. SubnetIds []*string `json:"SubnetIds,omitnil" name:"SubnetIds"` // Filter. `SubnetIds` and `Filters` cannot be specified at the same time. // subnet-id - String - Subnet instance name. // subnet-name - String - Subnet name. Only fuzzy query by a single value is supported. // cidr-block - String - Subnet IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported. // vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`. // vpc-cidr-block - String - VPC IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported. // region - String - ECM region. // zone - String - AZ. // tag-key - String - Required: no - Filter by tag key. // tag:tag-key - String - Required: no - Filter by tag key-value pair. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *string `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Limit *string `json:"Limit,omitnil" name:"Limit"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Sorting method. time: sort in reverse chronological order; default: sort by network planning. Sort *string `json:"Sort,omitnil" 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 ¶
type DescribeSubnetsRequestParams struct { // Subnet instance ID, such as `subnet-pxir56ns`. Each request supports a maximum of 100 instances. `SubnetIds` and `Filters` cannot be specified at the same time. SubnetIds []*string `json:"SubnetIds,omitnil" name:"SubnetIds"` // Filter. `SubnetIds` and `Filters` cannot be specified at the same time. // subnet-id - String - Subnet instance name. // subnet-name - String - Subnet name. Only fuzzy query by a single value is supported. // cidr-block - String - Subnet IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported. // vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`. // vpc-cidr-block - String - VPC IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported. // region - String - ECM region. // zone - String - AZ. // tag-key - String - Required: no - Filter by tag key. // tag:tag-key - String - Required: no - Filter by tag key-value pair. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *string `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Limit *string `json:"Limit,omitnil" name:"Limit"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Sorting method. time: sort in reverse chronological order; default: sort by network planning. Sort *string `json:"Sort,omitnil" 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 ¶
type DescribeSubnetsResponseParams struct { // Number of eligible instances. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Subnet object. // Note: this field may return null, indicating that no valid values can be obtained. SubnetSet []*Subnet `json:"SubnetSet,omitnil" name:"SubnetSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTargetHealthRequest ¶
type DescribeTargetHealthRequest struct { *tchttp.BaseRequest // List of IDs of CLB instances to be queried. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" 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 ¶
type DescribeTargetHealthRequestParams struct { // List of IDs of CLB instances to be queried. LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" 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 ¶
type DescribeTargetHealthResponseParams struct { // List of CLB instances. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancers []*LoadBalancerHealth `json:"LoadBalancers,omitnil" name:"LoadBalancers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTargetsRequest ¶
type DescribeTargetsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // List of listener IDs. ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"` // Listener protocol type. Protocol *int64 `json:"Protocol,omitnil" name:"Protocol"` // Listener port. Port *int64 `json:"Port,omitnil" 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 ¶
type DescribeTargetsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // List of listener IDs. ListenerIds []*string `json:"ListenerIds,omitnil" name:"ListenerIds"` // Listener protocol type. Protocol *int64 `json:"Protocol,omitnil" name:"Protocol"` // Listener port. Port *int64 `json:"Port,omitnil" 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 ¶
type DescribeTargetsResponseParams struct { // Information of real servers bound to the listener. // Note: this field may return null, indicating that no valid values can be obtained. Listeners []*ListenerBackend `json:"Listeners,omitnil" name:"Listeners"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTaskResultRequest ¶
type DescribeTaskResultRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Async task ID. TaskId *string `json:"TaskId,omitnil" 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 ¶
type DescribeTaskResultRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Async task ID. TaskId *string `json:"TaskId,omitnil" 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 ¶
type DescribeTaskResultResponseParams struct { // Async task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Execution result. Valid values: SUCCESS; FAILED; RUNNING. Result *string `json:"Result,omitnil" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct { *tchttp.BaseRequest // Task description. TaskSet []*TaskInput `json:"TaskSet,omitnil" 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 ¶
type DescribeTaskStatusRequestParams struct { // Task description. TaskSet []*TaskInput `json:"TaskSet,omitnil" 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 ¶
type DescribeTaskStatusResponseParams struct { // Task description. TaskSet []*TaskOutput `json:"TaskSet,omitnil" name:"TaskSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct { *tchttp.BaseRequest // VPC instance ID, such as `vpc-f49l6u0z`. Each request supports a maximum of 100 instances. `VpcIds` and `Filters` cannot be specified at the same time. VpcIds []*string `json:"VpcIds,omitnil" name:"VpcIds"` // Filter. `VpcIds` and `Filters` cannot be specified at the same time. // vpc-name - String - VPC instance name. Only fuzzy query by a single value is supported. // vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`. // cidr-block - String - VPC CIDR. Only fuzzy query by a single value is supported. // region - String - VPC region. // tag-key - String - Required: no - Filter by tag key. // tag:tag-key - String - Required: no - Filter by tag key-value pair. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Sorting method. time: sort in reverse chronological order; default: sort by network planning. Sort *string `json:"Sort,omitnil" 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 ¶
type DescribeVpcsRequestParams struct { // VPC instance ID, such as `vpc-f49l6u0z`. Each request supports a maximum of 100 instances. `VpcIds` and `Filters` cannot be specified at the same time. VpcIds []*string `json:"VpcIds,omitnil" name:"VpcIds"` // Filter. `VpcIds` and `Filters` cannot be specified at the same time. // vpc-name - String - VPC instance name. Only fuzzy query by a single value is supported. // vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`. // cidr-block - String - VPC CIDR. Only fuzzy query by a single value is supported. // region - String - VPC region. // tag-key - String - Required: no - Filter by tag key. // tag:tag-key - String - Required: no - Filter by tag key-value pair. Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Sorting method. time: sort in reverse chronological order; default: sort by network planning. Sort *string `json:"Sort,omitnil" 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 ¶
type DescribeVpcsResponseParams struct { // Number of eligible objects. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // VPC object. // Note: this field may return null, indicating that no valid values can be obtained. VpcSet []*VpcInfo `json:"VpcSet,omitnil" name:"VpcSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DetachNetworkInterfaceRequest ¶
type DetachNetworkInterfaceRequest struct { *tchttp.BaseRequest // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Instance ID, such as `ein-hcs7jkg4`. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DetachNetworkInterfaceRequestParams struct { // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Instance ID, such as `ein-hcs7jkg4`. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type DetachNetworkInterfaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisableRoutesRequest ¶
type DisableRoutesRequest struct { *tchttp.BaseRequest // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy ID. RouteIds []*uint64 `json:"RouteIds,omitnil" 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 ¶
type DisableRoutesRequestParams struct { // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy ID. RouteIds []*uint64 `json:"RouteIds,omitnil" 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 ¶
type DisableRoutesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisassociateAddressRequest ¶
type DisassociateAddressRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // Indicates whether to assign a general public IP after unbinding an EIP. Valid values: // TRUE: yes // FALSE: no. // Default value: FALSE. // // You can specify this parameter only under the following conditions: // You can specify this parameter only when you unbind an EIP from the primary private IP of the primary ENI. // An account can reassign a general public IP after unbinding an EIP 10 times a day. More information can be obtained through the `DescribeAddressQuota` API. ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitnil" 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 ¶
type DisassociateAddressRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // Indicates whether to assign a general public IP after unbinding an EIP. Valid values: // TRUE: yes // FALSE: no. // Default value: FALSE. // // You can specify this parameter only under the following conditions: // You can specify this parameter only when you unbind an EIP from the primary private IP of the primary ENI. // An account can reassign a general public IP after unbinding an EIP 10 times a day. More information can be obtained through the `DescribeAddressQuota` API. ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitnil" 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 ¶
type DisassociateAddressResponseParams struct { // Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisassociateInstancesKeyPairsRequest ¶
type DisassociateInstancesKeyPairsRequest struct { *tchttp.BaseRequest // You can get available instance IDs in the following ways: // Log in to the console to query instance IDs. // Get the instance IDs from the `InstanceId` field in the information returned by the `DescribeInstances` API. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // List of key pair IDs. Each request can contain up to 100 key pairs. The key pair ID takes the form of `skey-11112222`. // // You can get available key IDs in the following ways: // Log in to the console to query key IDs. // Get the key pair IDs from the `KeyId` field in the information returned by the `DescribeKeyPairs` API. KeyIds []*string `json:"KeyIds,omitnil" name:"KeyIds"` // Whether to force shut down the running instance. We recommend you manually shut down the running instance before unbinding the key. Valid values: // TRUE: yes. // FALSE: no. // // Default value: FALSE. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` }
func NewDisassociateInstancesKeyPairsRequest ¶
func NewDisassociateInstancesKeyPairsRequest() (request *DisassociateInstancesKeyPairsRequest)
func (*DisassociateInstancesKeyPairsRequest) FromJsonString ¶
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 ¶
func (r *DisassociateInstancesKeyPairsRequest) ToJsonString() string
type DisassociateInstancesKeyPairsRequestParams ¶
type DisassociateInstancesKeyPairsRequestParams struct { // You can get available instance IDs in the following ways: // Log in to the console to query instance IDs. // Get the instance IDs from the `InstanceId` field in the information returned by the `DescribeInstances` API. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // List of key pair IDs. Each request can contain up to 100 key pairs. The key pair ID takes the form of `skey-11112222`. // // You can get available key IDs in the following ways: // Log in to the console to query key IDs. // Get the key pair IDs from the `KeyId` field in the information returned by the `DescribeKeyPairs` API. KeyIds []*string `json:"KeyIds,omitnil" name:"KeyIds"` // Whether to force shut down the running instance. We recommend you manually shut down the running instance before unbinding the key. Valid values: // TRUE: yes. // FALSE: no. // // Default value: FALSE. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` }
Predefined struct for user
type DisassociateInstancesKeyPairsResponse ¶
type DisassociateInstancesKeyPairsResponse struct { *tchttp.BaseResponse Response *DisassociateInstancesKeyPairsResponseParams `json:"Response"` }
func NewDisassociateInstancesKeyPairsResponse ¶
func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstancesKeyPairsResponse)
func (*DisassociateInstancesKeyPairsResponse) FromJsonString ¶
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 ¶
func (r *DisassociateInstancesKeyPairsResponse) ToJsonString() string
type DisassociateInstancesKeyPairsResponseParams ¶
type DisassociateInstancesKeyPairsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DisassociateSecurityGroupsRequest ¶
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // ID of the security group to be unbound, such as `esg-efil73jd`. You can unbind only one security group at a time. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // ID of the instance to be unbound, such as `ein-lesecurk`. You can specify multiple instances. InstanceIds []*string `json:"InstanceIds,omitnil" 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 ¶
type DisassociateSecurityGroupsRequestParams struct { // ID of the security group to be unbound, such as `esg-efil73jd`. You can unbind only one security group at a time. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // ID of the instance to be unbound, such as `ein-lesecurk`. You can specify multiple instances. InstanceIds []*string `json:"InstanceIds,omitnil" 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 ¶
type DisassociateSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EipQuota ¶
type EipQuota struct { // Quota name. Valid values: // TOTAL_EIP_QUOTA: quota of EIPs in the current region; // DAILY_EIP_APPLY: today's number of applications in the current region; // DAILY_PUBLIC_IP_ASSIGN: number of public IP reassignments in the current region. QuotaId *string `json:"QuotaId,omitnil" name:"QuotaId"` // Current quantity QuotaCurrent *uint64 `json:"QuotaCurrent,omitnil" name:"QuotaCurrent"` // Quota QuotaLimit *uint64 `json:"QuotaLimit,omitnil" name:"QuotaLimit"` }
type EnableRoutesRequest ¶
type EnableRoutesRequest struct { *tchttp.BaseRequest // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy ID. RouteIds []*uint64 `json:"RouteIds,omitnil" 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 ¶
type EnableRoutesRequestParams struct { // Unique route table ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy ID. RouteIds []*uint64 `json:"RouteIds,omitnil" 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 ¶
type EnableRoutesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type EnhancedService ¶
type EnhancedService struct { // Whether to enable CWP. SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitnil" name:"SecurityService"` // Whether to enable CM. MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitnil" name:"MonitorService"` // Whether to enable IP direct access. If this parameter is not specified, IP direct access will be enabled by default for Linux images and is currently not supported for Windows images. EIPDirectService *RunEIPDirectServiceEnabled `json:"EIPDirectService,omitnil" name:"EIPDirectService"` }
type HaVip ¶
type HaVip struct { // Unique HAVIP ID. HaVipId *string `json:"HaVipId,omitnil" name:"HaVipId"` // HAVIP name. HaVipName *string `json:"HaVipName,omitnil" name:"HaVipName"` // Virtual IP address. Vip *string `json:"Vip,omitnil" name:"Vip"` // VPC ID of the HAVIP. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID of the HAVIP. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ID of the ENI associated with the HAVIP. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ID of the bound instance. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Bound EIP. AddressIp *string `json:"AddressIp,omitnil" name:"AddressIp"` // Status: // AVAILABLE: running. // UNBIND: unbound. State *string `json:"State,omitnil" name:"State"` // Creation time. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // ID of businesses that use HAVIP. Business *string `json:"Business,omitnil" name:"Business"` }
type HealthCheck ¶
type HealthCheck struct { // Whether to enable health check. Valid values: 1: enable; 0: disable // Note: this field may return null, indicating that no valid values can be obtained. HealthSwitch *int64 `json:"HealthSwitch,omitnil" name:"HealthSwitch"` // Health check response timeout period in seconds. Value range: 2–60. Default value: 2. The value of this parameter should be smaller than the check interval. // Note: this field may return null, indicating that no valid values can be obtained. TimeOut *int64 `json:"TimeOut,omitnil" name:"TimeOut"` // Health check interval in seconds. Value range: 5–300. Default value: 5. // Note: this field may return null, indicating that no valid values can be obtained. IntervalTime *int64 `json:"IntervalTime,omitnil" name:"IntervalTime"` // Health threshold. Value range: 2–10. Default value: 3, indicating that if a forward is found healthy three consecutive times, it will be considered normal. // Note: this field may return null, indicating that no valid values can be obtained. HealthNum *int64 `json:"HealthNum,omitnil" name:"HealthNum"` // Unhealthy threshold. Value range: 2–10. Default value: 3, indicating that if a forward is found unhealthy three consecutive times, it will be considered exceptional. // Note: this field may return null, indicating that no valid values can be obtained. UnHealthyNum *int64 `json:"UnHealthyNum,omitnil" name:"UnHealthyNum"` // Health check port (a custom check parameter), which is the port of the real server by default. Unless you want to specify a port, we recommend you leave it empty. // Note: this field may return null, indicating that no valid values can be obtained. CheckPort *int64 `json:"CheckPort,omitnil" name:"CheckPort"` // Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the input format of the health check. Valid values: HEX, TEXT. If the value is `HEX`, the characters of `SendContext` and `RecvContext` can only be selected from `0123456789ABCDEF`, and the length must be an even number. // Note: this field may return null, indicating that no valid values can be obtained. ContextType *string `json:"ContextType,omitnil" name:"ContextType"` // Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the content of the request sent by the health check. It can contain up to 500 visible ASCII characters. // Note: this field may return null, indicating that no valid values can be obtained. SendContext *string `json:"SendContext,omitnil" name:"SendContext"` // Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the result returned by the health check. It can contain up to 500 visible ASCII characters. // Note: this field may return null, indicating that no valid values can be obtained. RecvContext *string `json:"RecvContext,omitnil" name:"RecvContext"` // Health check protocol (a custom check parameter). Valid values: TCP, CUSTOM (applicable only to UDP listeners. If custom health check is used, this parameter will be required). // Note: this field may return null, indicating that no valid values can be obtained. CheckType *string `json:"CheckType,omitnil" name:"CheckType"` }
type ISPCounter ¶
type ISPCounter struct { // ISP name ProviderName *string `json:"ProviderName,omitnil" name:"ProviderName"` // Number of nodes ProviderNodeNum *int64 `json:"ProviderNodeNum,omitnil" name:"ProviderNodeNum"` // Number of instances ProvederInstanceNum *int64 `json:"ProvederInstanceNum,omitnil" name:"ProvederInstanceNum"` // Zone instance information structure array ZoneInstanceInfoSet []*ZoneInstanceInfo `json:"ZoneInstanceInfoSet,omitnil" name:"ZoneInstanceInfoSet"` }
type Image ¶
type Image struct { // Image ID ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image name ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // Image status ImageState *string `json:"ImageState,omitnil" name:"ImageState"` // Image type ImageType *string `json:"ImageType,omitnil" name:"ImageType"` // OS name ImageOsName *string `json:"ImageOsName,omitnil" name:"ImageOsName"` // Image description ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Image import time ImageCreateTime *string `json:"ImageCreateTime,omitnil" name:"ImageCreateTime"` // Number of bits of the OS Architecture *string `json:"Architecture,omitnil" name:"Architecture"` // OS type OsType *string `json:"OsType,omitnil" name:"OsType"` // OS version OsVersion *string `json:"OsVersion,omitnil" name:"OsVersion"` // OS platform Platform *string `json:"Platform,omitnil" name:"Platform"` // Image owner ImageOwner *int64 `json:"ImageOwner,omitnil" name:"ImageOwner"` // Image size in GB ImageSize *int64 `json:"ImageSize,omitnil" name:"ImageSize"` // Image source information SrcImage *SrcImage `json:"SrcImage,omitnil" name:"SrcImage"` // Image source type ImageSource *string `json:"ImageSource,omitnil" name:"ImageSource"` // ID of the task in intermediate or failed status TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Whether cloud-init is supported IsSupportCloudInit *bool `json:"IsSupportCloudInit,omitnil" name:"IsSupportCloudInit"` }
type ImageLimitConfig ¶
type ImageLimitConfig struct { // Supported maximum image size in GB, including custom image size for import and central cloud image size. MaxImageSize *int64 `json:"MaxImageSize,omitnil" name:"MaxImageSize"` }
type ImageOsList ¶
type ImageOsList struct { // Supported Windows OS // Note: this field may return null, indicating that no valid values can be obtained. Windows []*string `json:"Windows,omitnil" name:"Windows"` // Supported Linux OS // Note: this field may return null, indicating that no valid values can be obtained. Linux []*string `json:"Linux,omitnil" name:"Linux"` }
type ImageTask ¶
type ImageTask struct { // Image import status. Valid values: PENDING, PROCESSING, SUCCESS, FAILED State *string `json:"State,omitnil" name:"State"` // Cause of import failure (FAILED) // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` // Image name ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // Creation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` }
type ImportImageRequest ¶
type ImportImageRequest struct { *tchttp.BaseRequest // Image ID. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image description. ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Source region SourceRegion *string `json:"SourceRegion,omitnil" 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 ¶
type ImportImageRequestParams struct { // Image ID. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image description. ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Source region SourceRegion *string `json:"SourceRegion,omitnil" 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 ¶
type ImportImageResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Instance ¶
type Instance struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Instance name, such as `ens-34241f3s`. // Note: this field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Instance status. Valid values: // PENDING: creating // LAUNCH_FAILED: failed to create // RUNNING: running // STOPPED: shut down // STARTING: starting // STOPPING: shutting down // REBOOTING: restarting // SHUTDOWN: to be terminated // TERMINATING: terminating. InstanceState *string `json:"InstanceState,omitnil" name:"InstanceState"` // Information of the image currently used by the instance. // Note: this field may return null, indicating that no valid values can be obtained. Image *Image `json:"Image,omitnil" name:"Image"` // Basic information of the current module of the instance. // Note: this field may return null, indicating that no valid values can be obtained. SimpleModule *SimpleModule `json:"SimpleModule,omitnil" name:"SimpleModule"` // Location information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. Position *Position `json:"Position,omitnil" name:"Position"` // Network information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. Internet *Internet `json:"Internet,omitnil" name:"Internet"` // Configuration information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitnil" name:"InstanceTypeConfig"` // Instance creation time. // Note: this field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Instance tag information. // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` // Last operation on the instance. // Note: this field may return null, indicating that no valid values can be obtained. LatestOperation *string `json:"LatestOperation,omitnil" name:"LatestOperation"` // Result of the last operation on the instance. // Note: this field may return null, indicating that no valid values can be obtained. LatestOperationState *string `json:"LatestOperationState,omitnil" name:"LatestOperationState"` // Instance business status. Valid values: // NORMAL: normal // EXPIRED: expired // PROTECTIVELY_ISOLATED: isolated. // Note: this field may return null, indicating that no valid values can be obtained. RestrictState *string `json:"RestrictState,omitnil" name:"RestrictState"` // System disk size in GB. // Note: this field may return null, indicating that no valid values can be obtained. SystemDiskSize *int64 `json:"SystemDiskSize,omitnil" name:"SystemDiskSize"` // Data disk size in GB. // Note: this field may return null, indicating that no valid values can be obtained. DataDiskSize *int64 `json:"DataDiskSize,omitnil" name:"DataDiskSize"` // Instance UUID // Note: this field may return null, indicating that no valid values can be obtained. UUID *string `json:"UUID,omitnil" name:"UUID"` // Billing mode. // 0: postpaid. // 1: prepaid. // Note: this field may return null, indicating that no valid values can be obtained. PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // Expiration time in the format of `yyyy-mm-dd HH:mm:ss`. // Note: this field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` // Isolation time in the format of `yyyy-mm-dd HH:mm:ss`. // Note: this field may return null, indicating that no valid values can be obtained. IsolatedTime *string `json:"IsolatedTime,omitnil" name:"IsolatedTime"` // Auto-Renewal flag. // 0: no. // 1: yes. // Note: this field may return null, indicating that no valid values can be obtained. RenewFlag *int64 `json:"RenewFlag,omitnil" name:"RenewFlag"` // Expiration status. // NORMAL: normal. // WILL_EXPIRE: about to expire. // EXPIRED: expired. // Note: this field may return null, indicating that no valid values can be obtained. ExpireState *string `json:"ExpireState,omitnil" name:"ExpireState"` // System disk information // Note: this field may return null, indicating that no valid values can be obtained. SystemDisk *DiskInfo `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information // Note: this field may return null, indicating that no valid values can be obtained. DataDisks []*DiskInfo `json:"DataDisks,omitnil" name:"DataDisks"` // New instance flag // Note: this field may return null, indicating that no valid values can be obtained. NewFlag *int64 `json:"NewFlag,omitnil" name:"NewFlag"` // Security group of the instance, which can be obtained from the `sgId` field in the returned value of the `DescribeSecurityGroups` API. // Note: this field may return null, indicating that no valid values can be obtained. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // VPC attribute // Note: this field may return null, indicating that no valid values can be obtained. VirtualPrivateCloud *VirtualPrivateCloud `json:"VirtualPrivateCloud,omitnil" name:"VirtualPrivateCloud"` // ISP field of the instance. // Note: this field may return null, indicating that no valid values can be obtained. ISP *string `json:"ISP,omitnil" name:"ISP"` // Physical location information. Note that this field is currently a reserved field and null. // Note: this field may return null, indicating that no valid values can be obtained. PhysicalPosition *PhysicalPosition `json:"PhysicalPosition,omitnil" name:"PhysicalPosition"` }
type InstanceFamilyConfig ¶
type InstanceNetworkInfo ¶
type InstanceNetworkInfo struct { // Private and public IP information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. AddressInfoSet []*AddressInfo `json:"AddressInfoSet,omitnil" name:"AddressInfoSet"` // ENI ID. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ENI name. // Note: this field may return null, indicating that no valid values can be obtained. NetworkInterfaceName *string `json:"NetworkInterfaceName,omitnil" name:"NetworkInterfaceName"` // Primary ENI attribute. Valid values: true: primary ENI; false: secondary ENI. Primary *bool `json:"Primary,omitnil" name:"Primary"` }
type InstanceNetworkLimitConfig ¶
type InstanceNetworkLimitConfig struct { // Number of CPU cores CpuNum *int64 `json:"CpuNum,omitnil" name:"CpuNum"` // ENI quantity limit NetworkInterfaceLimit *int64 `json:"NetworkInterfaceLimit,omitnil" name:"NetworkInterfaceLimit"` // Private IP quantity limit per ENI InnerIpPerNetworkInterface *int64 `json:"InnerIpPerNetworkInterface,omitnil" name:"InnerIpPerNetworkInterface"` // Public IP limit per instance PublicIpPerInstance *int64 `json:"PublicIpPerInstance,omitnil" name:"PublicIpPerInstance"` }
type InstanceOperator ¶
type InstanceOperator struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Prohibited operations for the instance // Note: this field may return null, indicating that no valid values can be obtained. DeniedActions []*OperatorAction `json:"DeniedActions,omitnil" name:"DeniedActions"` }
type InstancePricesPartDetail ¶
type InstancePricesPartDetail struct { // CPU price information CpuPrice *PriceDetail `json:"CpuPrice,omitnil" name:"CpuPrice"` // Memory price information MemPrice *PriceDetail `json:"MemPrice,omitnil" name:"MemPrice"` // Disk price information DisksPrice *PriceDetail `json:"DisksPrice,omitnil" name:"DisksPrice"` }
type InstanceStatistic ¶
type InstanceTypeConfig ¶
type InstanceTypeConfig struct { // Model family configuration information InstanceFamilyConfig *InstanceFamilyConfig `json:"InstanceFamilyConfig,omitnil" name:"InstanceFamilyConfig"` // Model InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Number of CPU cores Vcpu *int64 `json:"Vcpu,omitnil" name:"Vcpu"` // Memory size Memory *int64 `json:"Memory,omitnil" name:"Memory"` // Clock rate Frequency *string `json:"Frequency,omitnil" name:"Frequency"` // CPU model CpuModelName *string `json:"CpuModelName,omitnil" name:"CpuModelName"` // Instance family type configuration information InstanceFamilyTypeConfig *InstanceFamilyTypeConfig `json:"InstanceFamilyTypeConfig,omitnil" name:"InstanceFamilyTypeConfig"` // Extra model information, which is a JSON string in the format of `{"dataDiskSize":3200,"systemDiskSize":60, "systemDiskSizeShow":"default system disk size:60 GB","dataDiskSizeShow":"local NVMe SSD: 3200 GB"}`. It indicates a special model if it exists // Note: this field may return null, indicating that no valid values can be obtained. ExtInfo *string `json:"ExtInfo,omitnil" name:"ExtInfo"` // Number of GPU cards // Note: this field may return null, indicating that no valid values can be obtained. Vgpu *float64 `json:"Vgpu,omitnil" name:"Vgpu"` // GPU model // Note: this field may return null, indicating that no valid values can be obtained. GpuModelName *string `json:"GpuModelName,omitnil" name:"GpuModelName"` }
type InstancesPrice ¶
type InstancesPrice struct { // Instance price details InstancePricesPartDetail *InstancePricesPartDetail `json:"InstancePricesPartDetail,omitnil" name:"InstancePricesPartDetail"` // Discount on the total instance price Discount *uint64 `json:"Discount,omitnil" name:"Discount"` // Discounted price DiscountPrice *uint64 `json:"DiscountPrice,omitnil" name:"DiscountPrice"` // Original cost OriginalPrice *uint64 `json:"OriginalPrice,omitnil" name:"OriginalPrice"` }
type Internet ¶
type Internet struct { // Private network information list of the instance, with the primary ENI followed by secondary ENIs in the order of binding. // Note: this field may return null, indicating that no valid values can be obtained. PrivateIPAddressSet []*PrivateIPAddressInfo `json:"PrivateIPAddressSet,omitnil" name:"PrivateIPAddressSet"` // Public network information list of the instance, with the primary ENI followed by secondary ENIs in the order of binding. // Note: this field may return null, indicating that no valid values can be obtained. PublicIPAddressSet []*PublicIPAddressInfo `json:"PublicIPAddressSet,omitnil" name:"PublicIPAddressSet"` // Network information of the instance. // Note: this field may return null, indicating that no valid values can be obtained. InstanceNetworkInfoSet []*InstanceNetworkInfo `json:"InstanceNetworkInfoSet,omitnil" name:"InstanceNetworkInfoSet"` }
type Ipv6Address ¶
type Ipv6Address struct { // IPv6 address, such as `3402:4e00:20:100:0:8cd9:2a67:71f3` Address *string `json:"Address,omitnil" name:"Address"` // Whether it is the primary IP. Primary *bool `json:"Primary,omitnil" name:"Primary"` // EIP instance ID, such as `eip-hxlqja90`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // Description. Description *string `json:"Description,omitnil" name:"Description"` // Whether the public IP is blocked. IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitnil" name:"IsWanIpBlocked"` // IPv6 address status: // PENDING: generating // MIGRATING: migrating // DELETING: deleting // AVAILABLE: available State *string `json:"State,omitnil" name:"State"` }
type KeyPair ¶
type KeyPair struct { // Key pair ID, which is the unique identifier of a key pair. // Note: this field may return null, indicating that no valid values can be obtained. KeyId *string `json:"KeyId,omitnil" name:"KeyId"` // Key pair name. // Note: this field may return null, indicating that no valid values can be obtained. KeyName *string `json:"KeyName,omitnil" name:"KeyName"` // Project ID of the key pair. // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"` // Key pair description. // Note: this field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Public key (in plain text) of key pair. // Note: this field may return null, indicating that no valid values can be obtained. PublicKey *string `json:"PublicKey,omitnil" name:"PublicKey"` // Private key (in plaintext) of a key pair. Tencent Cloud do not store private keys. Therefore, keep them secure. // Note: this field may return null, indicating that no valid values can be obtained. PrivateKey *string `json:"PrivateKey,omitnil" name:"PrivateKey"` // List of IDs of the instances associated with the key. // Note: this field may return null, indicating that no valid values can be obtained. AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitnil" name:"AssociatedInstanceIds"` // Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used. // Note: this field may return null, indicating that no valid values can be obtained. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` }
type Listener ¶
type Listener struct { // CLB listener ID // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // Listener protocol // Note: this field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Listener port. // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // Health check information of the listener // Note: this field may return null, indicating that no valid values can be obtained. HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"` // Request scheduling method // Note: this field may return null, indicating that no valid values can be obtained. Scheduler *string `json:"Scheduler,omitnil" name:"Scheduler"` // Session persistence time // Note: this field may return null, indicating that no valid values can be obtained. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"` // Listener name // Note: this field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"` // Listener creation time // Note: this field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Session type of the listener // Note: this field may return null, indicating that no valid values can be obtained. SessionType *string `json:"SessionType,omitnil" name:"SessionType"` // End port of the port range // Note: this field may return null, indicating that no valid values can be obtained. EndPort *int64 `json:"EndPort,omitnil" name:"EndPort"` }
type ListenerBackend ¶
type ListenerBackend struct { // Listener ID // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // Listener protocol // Note: this field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Listener port // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // List of real servers bound to the CLB instance // Note: this field may return null, indicating that no valid values can be obtained. Targets []*Backend `json:"Targets,omitnil" name:"Targets"` }
type ListenerHealth ¶
type ListenerHealth struct { // Listener ID // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // Listener name // Note: this field may return null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"` // Listener protocol // Note: this field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Listener port // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // List of forwarding rules of the listener // Note: this field may return null, indicating that no valid values can be obtained. Rules []*RuleHealth `json:"Rules,omitnil" name:"Rules"` }
type LoadBalancer ¶
type LoadBalancer struct { // Region. // Note: this field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil" name:"Region"` // Location information. // Note: this field may return null, indicating that no valid values can be obtained. Position *Position `json:"Position,omitnil" name:"Position"` // CLB instance ID. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB instance name. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // Network type of the CLB instance. Valid values: OPEN: public network // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerType *string `json:"LoadBalancerType,omitnil" name:"LoadBalancerType"` // List of VIPs of the CLB instance. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerVips []*string `json:"LoadBalancerVips,omitnil" name:"LoadBalancerVips"` // CLB instance status. Valid values: // 0: creating; 1: running. // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil" name:"Status"` // CLB instance creation time. // Note: this field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Last status change time of the CLB instance. // Note: this field may return null, indicating that no valid values can be obtained. StatusTime *string `json:"StatusTime,omitnil" name:"StatusTime"` // VPC ID. // Note: this field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // CLB instance tag information. // Note: this field may return null, indicating that no valid values can be obtained. Tags []*TagInfo `json:"Tags,omitnil" name:"Tags"` // ISP of the CLB IP address. // Note: this field may return null, indicating that no valid values can be obtained. VipIsp *string `json:"VipIsp,omitnil" name:"VipIsp"` // Network attribute of the CLB instance. // Note: this field may return null, indicating that no valid values can be obtained. NetworkAttributes *LoadBalancerInternetAccessible `json:"NetworkAttributes,omitnil" name:"NetworkAttributes"` // Security group. // Note: this field may return null, indicating that no valid values can be obtained. SecureGroups []*string `json:"SecureGroups,omitnil" name:"SecureGroups"` // Whether the real server opens the traffic from ELB to the internet. // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" name:"LoadBalancerPassToTarget"` // IPv6 address of a CLB instance // Note: This field may return `null`, indicating that no valid values can be obtained. AddressIPv6 *string `json:"AddressIPv6,omitnil" name:"AddressIPv6"` }
type LoadBalancerHealth ¶
type LoadBalancerHealth struct { // CLB instance ID // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB instance name // Note: this field may return null, indicating that no valid values can be obtained. LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // List of listeners // Note: this field may return null, indicating that no valid values can be obtained. Listeners []*ListenerHealth `json:"Listeners,omitnil" name:"Listeners"` }
type LoadBalancerInternetAccessible ¶
type LoadBalancerInternetAccessible struct { // Maximum outbound bandwidth in Mbps. Default value: 10. InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"` }
type MigrateNetworkInterfaceRequest ¶
type MigrateNetworkInterfaceRequest struct { *tchttp.BaseRequest // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ID of the ECM instance bound to the ENI, such as `ein-r8hr2upy`. SourceInstanceId *string `json:"SourceInstanceId,omitnil" name:"SourceInstanceId"` // ID of the destination ECM instance to be migrated. DestinationInstanceId *string `json:"DestinationInstanceId,omitnil" 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 ¶
type MigrateNetworkInterfaceRequestParams struct { // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ID of the ECM instance bound to the ENI, such as `ein-r8hr2upy`. SourceInstanceId *string `json:"SourceInstanceId,omitnil" name:"SourceInstanceId"` // ID of the destination ECM instance to be migrated. DestinationInstanceId *string `json:"DestinationInstanceId,omitnil" 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 ¶
type MigrateNetworkInterfaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MigratePrivateIpAddressRequest ¶
type MigratePrivateIpAddressRequest struct { *tchttp.BaseRequest // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ID of the ENI instance bound to the private IP, such as `eni-11112222`. SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitnil" name:"SourceNetworkInterfaceId"` // ID of the destination ENI instance to be migrated. DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitnil" name:"DestinationNetworkInterfaceId"` // Private IP address to be migrated, such as `10.0.0.6`. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type MigratePrivateIpAddressRequestParams struct { // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ID of the ENI instance bound to the private IP, such as `eni-11112222`. SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitnil" name:"SourceNetworkInterfaceId"` // ID of the destination ENI instance to be migrated. DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitnil" name:"DestinationNetworkInterfaceId"` // Private IP address to be migrated, such as `10.0.0.6`. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" 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 ¶
type MigratePrivateIpAddressResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAddressAttributeRequest ¶
type ModifyAddressAttributeRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // New EIP name, which can contain up to 20 characters. AddressName *string `json:"AddressName,omitnil" name:"AddressName"` // Whether "direct access" is enabled for the EIP. TRUE: yes. FALSE: no. Note that this parameter is available only to users who have activated the EIP direct access feature. EipDirectConnection *string `json:"EipDirectConnection,omitnil" 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 ¶
type ModifyAddressAttributeRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // New EIP name, which can contain up to 20 characters. AddressName *string `json:"AddressName,omitnil" name:"AddressName"` // Whether "direct access" is enabled for the EIP. TRUE: yes. FALSE: no. Note that this parameter is available only to users who have activated the EIP direct access feature. EipDirectConnection *string `json:"EipDirectConnection,omitnil" 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 ¶
type ModifyAddressAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAddressesBandwidthRequest ¶
type ModifyAddressesBandwidthRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-xxxxxxx` AddressIds []*string `json:"AddressIds,omitnil" name:"AddressIds"` // Target bandwidth value InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil" 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 ¶
type ModifyAddressesBandwidthRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Unique EIP ID, such as `eip-xxxxxxx` AddressIds []*string `json:"AddressIds,omitnil" name:"AddressIds"` // Target bandwidth value InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil" 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 ¶
type ModifyAddressesBandwidthResponseParams struct { // Async task ID. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyDefaultSubnetRequest ¶
type ModifyDefaultSubnetRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ECM AZ Zone *string `json:"Zone,omitnil" name:"Zone"` // VPC ID VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil" 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 ¶
type ModifyDefaultSubnetRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ECM AZ Zone *string `json:"Zone,omitnil" name:"Zone"` // VPC ID VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil" 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 ¶
type ModifyDefaultSubnetResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyHaVipAttributeRequest ¶
type ModifyHaVipAttributeRequest struct { *tchttp.BaseRequest // Unique HAVIP ID, such as `havip-9o233uri`. HaVipId *string `json:"HaVipId,omitnil" name:"HaVipId"` // HAVIP name, which can be customized with up to 60 characters. HaVipName *string `json:"HaVipName,omitnil" 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 ¶
type ModifyHaVipAttributeRequestParams struct { // Unique HAVIP ID, such as `havip-9o233uri`. HaVipId *string `json:"HaVipId,omitnil" name:"HaVipId"` // HAVIP name, which can be customized with up to 60 characters. HaVipName *string `json:"HaVipName,omitnil" 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 ¶
type ModifyHaVipAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyImageAttributeRequest ¶
type ModifyImageAttributeRequest struct { *tchttp.BaseRequest // Image ID, such as `img-gvbnzy6f` ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image name, which must meet the following requirements: // It can contain up to 20 characters. // - The image name cannot be the same as existing image names. ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // Image description, which must meet the following requirements: // - It cannot exceed 60 characters. ImageDescription *string `json:"ImageDescription,omitnil" 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 ¶
type ModifyImageAttributeRequestParams struct { // Image ID, such as `img-gvbnzy6f` ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image name, which must meet the following requirements: // It can contain up to 20 characters. // - The image name cannot be the same as existing image names. ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // Image description, which must meet the following requirements: // - It cannot exceed 60 characters. ImageDescription *string `json:"ImageDescription,omitnil" 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 ¶
type ModifyImageAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesAttributeRequest ¶
type ModifyInstancesAttributeRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be modified. You can request up to 100 instances at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Instance name displayed after successful modification, which can contain up to 60 characters. If this parameter is not specified, an empty value will be displayed. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // List of IDs of the security groups of the instance. The instance will be associated with the specified security groups and will be disassociated from the original security groups. The maximum quantity is 5. SecurityGroups []*string `json:"SecurityGroups,omitnil" 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 ¶
type ModifyInstancesAttributeRequestParams struct { // List of IDs of the instances to be modified. You can request up to 100 instances at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Instance name displayed after successful modification, which can contain up to 60 characters. If this parameter is not specified, an empty value will be displayed. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // List of IDs of the security groups of the instance. The instance will be associated with the specified security groups and will be disassociated from the original security groups. The maximum quantity is 5. SecurityGroups []*string `json:"SecurityGroups,omitnil" 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 ¶
type ModifyInstancesAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyIpv6AddressesAttributeRequest ¶
type ModifyIpv6AddressesAttributeRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified IPv6 addresses. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" 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 ¶
type ModifyIpv6AddressesAttributeRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified IPv6 addresses. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" 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 ¶
type ModifyIpv6AddressesAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyListenerRequest ¶
type ModifyListenerRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"` // Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"` // Health check parameters HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"` // Forwarding method of the listener. Valid values: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil" 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 ¶
type ModifyListenerRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // New listener name ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"` // Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners. SessionExpireTime *int64 `json:"SessionExpireTime,omitnil" name:"SessionExpireTime"` // Health check parameters HealthCheck *HealthCheck `json:"HealthCheck,omitnil" name:"HealthCheck"` // Forwarding method of the listener. Valid values: WRR, LEAST_CONN. // They represent weighted round robin and least connections, respectively. Default value: WRR. Scheduler *string `json:"Scheduler,omitnil" 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 ¶
type ModifyListenerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerAttributesRequest ¶
type ModifyLoadBalancerAttributesRequest struct { *tchttp.BaseRequest // Unique CLB ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // Network billing and bandwidth parameters InternetChargeInfo *LoadBalancerInternetAccessible `json:"InternetChargeInfo,omitnil" name:"InternetChargeInfo"` // Whether to allow ELB traffic to the target group. `true`: allows ELB traffic to the target group and verifies security groups only on ELB; `false`: denies ELB traffic to the target group and verifies security groups on both ELB and backend instances. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" 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 ¶
type ModifyLoadBalancerAttributesRequestParams struct { // Unique CLB ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB instance name LoadBalancerName *string `json:"LoadBalancerName,omitnil" name:"LoadBalancerName"` // Network billing and bandwidth parameters InternetChargeInfo *LoadBalancerInternetAccessible `json:"InternetChargeInfo,omitnil" name:"InternetChargeInfo"` // Whether to allow ELB traffic to the target group. `true`: allows ELB traffic to the target group and verifies security groups only on ELB; `false`: denies ELB traffic to the target group and verifies security groups on both ELB and backend instances. LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitnil" 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 ¶
type ModifyLoadBalancerAttributesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleConfigRequest ¶
type ModifyModuleConfigRequest struct { *tchttp.BaseRequest // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Model ID. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitnil" name:"DefaultDataDiskSize"` // Default system disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitnil" name:"DefaultSystemDiskSize"` // System disk SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type ModifyModuleConfigRequestParams struct { // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Model ID. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitnil" name:"DefaultDataDiskSize"` // Default system disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`. DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitnil" name:"DefaultSystemDiskSize"` // System disk SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type ModifyModuleConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleDisableWanIpRequest ¶
type ModifyModuleDisableWanIpRequest struct { *tchttp.BaseRequest // Module ID ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Whether to prohibit public IP assignment. Valid values: true: no; false: yes. DisableWanIp *bool `json:"DisableWanIp,omitnil" 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 ¶
type ModifyModuleDisableWanIpRequestParams struct { // Module ID ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Whether to prohibit public IP assignment. Valid values: true: no; false: yes. DisableWanIp *bool `json:"DisableWanIp,omitnil" 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 ¶
type ModifyModuleDisableWanIpResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleImageRequest ¶
type ModifyModuleImageRequest struct { *tchttp.BaseRequest // Default image ID DefaultImageId *string `json:"DefaultImageId,omitnil" name:"DefaultImageId"` // Module ID ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type ModifyModuleImageRequestParams struct { // Default image ID DefaultImageId *string `json:"DefaultImageId,omitnil" name:"DefaultImageId"` // Module ID ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type ModifyModuleImageResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleIpDirectRequest ¶
type ModifyModuleIpDirectRequest struct { *tchttp.BaseRequest // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Whether to disable IP direct access. Valid values: // true: yes // false: no CloseIpDirect *bool `json:"CloseIpDirect,omitnil" 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 ¶
type ModifyModuleIpDirectRequestParams struct { // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Whether to disable IP direct access. Valid values: // true: yes // false: no CloseIpDirect *bool `json:"CloseIpDirect,omitnil" 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 ¶
type ModifyModuleIpDirectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleNameRequest ¶
type ModifyModuleNameRequest struct { *tchttp.BaseRequest // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Module name. ModuleName *string `json:"ModuleName,omitnil" 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 ¶
type ModifyModuleNameRequestParams struct { // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Module name. ModuleName *string `json:"ModuleName,omitnil" 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 ¶
type ModifyModuleNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleNetworkRequest ¶
type ModifyModuleNetworkRequest struct { *tchttp.BaseRequest // Module ID ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Default outbound bandwidth cap DefaultBandwidth *int64 `json:"DefaultBandwidth,omitnil" name:"DefaultBandwidth"` // Default inbound bandwidth cap DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitnil" 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 ¶
type ModifyModuleNetworkRequestParams struct { // Module ID ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Default outbound bandwidth cap DefaultBandwidth *int64 `json:"DefaultBandwidth,omitnil" name:"DefaultBandwidth"` // Default inbound bandwidth cap DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitnil" 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 ¶
type ModifyModuleNetworkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyModuleSecurityGroupsRequest ¶
type ModifyModuleSecurityGroupsRequest struct { *tchttp.BaseRequest // List of up to 5 security groups. SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil" name:"SecurityGroupIdSet"` // Module ID. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type ModifyModuleSecurityGroupsRequestParams struct { // List of up to 5 security groups. SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil" name:"SecurityGroupIdSet"` // Module ID. ModuleId *string `json:"ModuleId,omitnil" 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 ¶
type ModifyModuleSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyPrivateIpAddressesAttributeRequest ¶
type ModifyPrivateIpAddressesAttributeRequest struct { *tchttp.BaseRequest // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified private IP addresses. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Region information of the ECM node, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type ModifyPrivateIpAddressesAttributeRequestParams struct { // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified private IP addresses. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Region information of the ECM node, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type ModifyPrivateIpAddressesAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyRouteTableAttributeRequest ¶
type ModifyRouteTableAttributeRequest struct { *tchttp.BaseRequest // Route table instance ID, such as `rtb-azd4dt1c` RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Route table name RouteTableName *string `json:"RouteTableName,omitnil" 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 ¶
type ModifyRouteTableAttributeRequestParams struct { // Route table instance ID, such as `rtb-azd4dt1c` RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Route table name RouteTableName *string `json:"RouteTableName,omitnil" 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 ¶
type ModifyRouteTableAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupAttributeRequest ¶
type ModifySecurityGroupAttributeRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group name, which can be customized with up to 60 characters. GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // Security group remarks, which can contain up to 100 characters. GroupDescription *string `json:"GroupDescription,omitnil" 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 ¶
type ModifySecurityGroupAttributeRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group name, which can be customized with up to 60 characters. GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // Security group remarks, which can contain up to 100 characters. GroupDescription *string `json:"GroupDescription,omitnil" 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 ¶
type ModifySecurityGroupAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupPoliciesRequest ¶
type ModifySecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. You must specify both new egress and ingress policies for the `SecurityGroupPolicySet` object. You cannot customize the index (PolicyIndex) of the `SecurityGroupPolicy` object. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" name:"SecurityGroupPolicySet"` // Whether security group sorting is supported. `True` indicates yes. If `SortPolicys` doesn't exist or is set to `False`, the security group policy can be modified. SortPolicys *bool `json:"SortPolicys,omitnil" 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 ¶
type ModifySecurityGroupPoliciesRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set. You must specify both new egress and ingress policies for the `SecurityGroupPolicySet` object. You cannot customize the index (PolicyIndex) of the `SecurityGroupPolicy` object. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" name:"SecurityGroupPolicySet"` // Whether security group sorting is supported. `True` indicates yes. If `SortPolicys` doesn't exist or is set to `False`, the security group policy can be modified. SortPolicys *bool `json:"SortPolicys,omitnil" 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 ¶
type ModifySecurityGroupPoliciesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySubnetAttributeRequest ¶
type ModifySubnetAttributeRequest struct { *tchttp.BaseRequest // Subnet instance ID, such as `subnet-pxir56ns`. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Subnet name, which can contain up to 60 bytes. SubnetName *string `json:"SubnetName,omitnil" name:"SubnetName"` // Whether to enable broadcast for the subnet. EnableBroadcast *string `json:"EnableBroadcast,omitnil" name:"EnableBroadcast"` // Tag key value of the subnet Tags []*Tag `json:"Tags,omitnil" 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 ¶
type ModifySubnetAttributeRequestParams struct { // Subnet instance ID, such as `subnet-pxir56ns`. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Subnet name, which can contain up to 60 bytes. SubnetName *string `json:"SubnetName,omitnil" name:"SubnetName"` // Whether to enable broadcast for the subnet. EnableBroadcast *string `json:"EnableBroadcast,omitnil" name:"EnableBroadcast"` // Tag key value of the subnet Tags []*Tag `json:"Tags,omitnil" 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 ¶
type ModifySubnetAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyTargetPortRequest ¶
type ModifyTargetPortRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitnil" name:"Targets"` // New port of the real server bound to the listener or forwarding rule NewPort *int64 `json:"NewPort,omitnil" 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 ¶
type ModifyTargetPortRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // List of real servers for which to modify the ports Targets []*Target `json:"Targets,omitnil" name:"Targets"` // New port of the real server bound to the listener or forwarding rule NewPort *int64 `json:"NewPort,omitnil" 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 ¶
type ModifyTargetPortResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyTargetWeightRequest ¶
type ModifyTargetWeightRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,omitnil" name:"Targets"` // New forwarding weight of the real server. Value range: 0-100. Default value: 10. This parameter will not take effect if the `Targets.Weight` parameter is set. Weight *int64 `json:"Weight,omitnil" 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 ¶
type ModifyTargetWeightRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // CLB listener ID ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // List of real servers for which to modify the weights Targets []*Target `json:"Targets,omitnil" name:"Targets"` // New forwarding weight of the real server. Value range: 0-100. Default value: 10. This parameter will not take effect if the `Targets.Weight` parameter is set. Weight *int64 `json:"Weight,omitnil" 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 ¶
type ModifyTargetWeightResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyVpcAttributeRequest ¶
type ModifyVpcAttributeRequest struct { *tchttp.BaseRequest // VPC instance ID, such as `vpc-f49l6u0z`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // VPC name, which can be customized with up to 60 characters. VpcName *string `json:"VpcName,omitnil" name:"VpcName"` // Tags Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // VPC description Description *string `json:"Description,omitnil" 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 ¶
type ModifyVpcAttributeRequestParams struct { // VPC instance ID, such as `vpc-f49l6u0z`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // VPC name, which can be customized with up to 60 characters. VpcName *string `json:"VpcName,omitnil" name:"VpcName"` // Tags Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // VPC description Description *string `json:"Description,omitnil" 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 ¶
type ModifyVpcAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Module ¶
type Module struct { // Module ID. ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Module name. ModuleName *string `json:"ModuleName,omitnil" name:"ModuleName"` // Module status. Valid values: // NORMAL: normal. // DELETING: deleting // DELETEFAILED: failed to delete. ModuleState *string `json:"ModuleState,omitnil" name:"ModuleState"` // Default system disk size. DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitnil" name:"DefaultSystemDiskSize"` // Default data disk size. DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitnil" name:"DefaultDataDiskSize"` // Default model. InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitnil" name:"InstanceTypeConfig"` // Default image. DefaultImage *Image `json:"DefaultImage,omitnil" name:"DefaultImage"` // Creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Default outbound bandwidth. DefaultBandwidth *int64 `json:"DefaultBandwidth,omitnil" name:"DefaultBandwidth"` // Tag set. // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` // Whether to disable IP direct access. CloseIpDirect *int64 `json:"CloseIpDirect,omitnil" name:"CloseIpDirect"` // List of default security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // Default inbound bandwidth. DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitnil" name:"DefaultBandwidthIn"` // Custom script data UserData *string `json:"UserData,omitnil" name:"UserData"` // System disk information. SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information. DataDisks []*DataDisk `json:"DataDisks,omitnil" name:"DataDisks"` }
type ModuleCounter ¶
type ModuleCounter struct { // ISP statistics list ISPCounterSet []*ISPCounter `json:"ISPCounterSet,omitnil" name:"ISPCounterSet"` // Number of provinces/states ProvinceNum *int64 `json:"ProvinceNum,omitnil" name:"ProvinceNum"` // Number of cities CityNum *int64 `json:"CityNum,omitnil" name:"CityNum"` // Number of nodes NodeNum *int64 `json:"NodeNum,omitnil" name:"NodeNum"` // Number of instances InstanceNum *int64 `json:"InstanceNum,omitnil" name:"InstanceNum"` }
type ModuleItem ¶
type ModuleItem struct { // Instance statistics of the node NodeInstanceNum *NodeInstanceNum `json:"NodeInstanceNum,omitnil" name:"NodeInstanceNum"` // Module information Module *Module `json:"Module,omitnil" name:"Module"` }
type MonthNetwork ¶
type MonthNetwork struct { // Zone information of the node ZoneInfo *ZoneInfo `json:"ZoneInfo,omitnil" name:"ZoneInfo"` // Bandwidth month, such as `202103` Month *string `json:"Month,omitnil" name:"Month"` // Bandwidth package ID format, such as `bwp-xxxxxxxx` BandwidthPkgId *string `json:"BandwidthPkgId,omitnil" name:"BandwidthPkgId"` // ISP abbreviation. Valid values: CUCC, CTCC, CMCC Isp *string `json:"Isp,omitnil" name:"Isp"` // Inbound bandwidth package peak. Value range: 0.0–xxx.xxx TrafficMaxIn *float64 `json:"TrafficMaxIn,omitnil" name:"TrafficMaxIn"` // Outbound bandwidth package peak. Value range: 0.0–xxx.xxx TrafficMaxOut *float64 `json:"TrafficMaxOut,omitnil" name:"TrafficMaxOut"` // Billable bandwidth. Value range: 0.0–xxx.xxx FeeTraffic *float64 `json:"FeeTraffic,omitnil" name:"FeeTraffic"` // Start time of the monthly billable bandwidth in the format of `yyyy-mm-dd HH:mm:ss` StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the monthly billable bandwidth in the format of `yyyy-mm-dd HH:mm:ss` EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Number of actual valid days for the monthly billable bandwidth, which must be an integer greater than or equal to 0 EffectiveDays *int64 `json:"EffectiveDays,omitnil" name:"EffectiveDays"` // Actual number of days in the specified month, such as 30 MonthDays *int64 `json:"MonthDays,omitnil" name:"MonthDays"` // Proportion of the number of valid days, accurate to four decimal places, such as `0.2134` EffectiveDaysRate *float64 `json:"EffectiveDaysRate,omitnil" name:"EffectiveDaysRate"` // Billable bandwidth package type. Valid values: Address, LoadBalance, AddressIpv6 BandwidthPkgType *string `json:"BandwidthPkgType,omitnil" name:"BandwidthPkgType"` }
type NetworkInterface ¶
type NetworkInterface struct { // ENI instance ID, such as `eni-f1xjkw1b`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // ENI name. NetworkInterfaceName *string `json:"NetworkInterfaceName,omitnil" name:"NetworkInterfaceName"` // ENI description. NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitnil" name:"NetworkInterfaceDescription"` // Subnet instance ID. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // VPC instance ID. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Bound security groups. // Note: this field may return null, indicating that no valid values can be obtained. GroupSet []*string `json:"GroupSet,omitnil" name:"GroupSet"` // Whether it is the primary ENI. Primary *bool `json:"Primary,omitnil" name:"Primary"` // MAC address. MacAddress *string `json:"MacAddress,omitnil" name:"MacAddress"` // ENI status: // PENDING: creating // AVAILABLE: available // ATTACHING: binding // DETACHING: unbinding // DELETING: deleting State *string `json:"State,omitnil" name:"State"` // Private IP information. // Note: this field may return null, indicating that no valid values can be obtained. PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitnil" name:"PrivateIpAddressSet"` // Bound CVM object. // Note: this field may return null, indicating that no valid values can be obtained. // Note: this field may return null, indicating that no valid values can be obtained. Attachment *NetworkInterfaceAttachment `json:"Attachment,omitnil" name:"Attachment"` // AZ. Zone *string `json:"Zone,omitnil" name:"Zone"` // Creation time. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // List of IPv6 addresses. // Note: this field may return null, indicating that no valid values can be obtained. Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitnil" name:"Ipv6AddressSet"` // Tag key-value pairs. // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` // ENI type. Valid values: 0: ENI; 1: EVM ENI. EniType *uint64 `json:"EniType,omitnil" name:"EniType"` // ECM region (EcmRegion) EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // Type of the resource bound with an ENI. Valid values: `cvm` and `eks`. // Note: This field may return `null`, indicating that no valid values can be obtained. Business *string `json:"Business,omitnil" name:"Business"` }
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { // CVM instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Serial number of the ENI in the CVM instance. DeviceIndex *uint64 `json:"DeviceIndex,omitnil" name:"DeviceIndex"` // Account information of the CVM instance owner. InstanceAccountId *string `json:"InstanceAccountId,omitnil" name:"InstanceAccountId"` // Binding time. AttachTime *string `json:"AttachTime,omitnil" name:"AttachTime"` }
type NetworkStorageRange ¶
type NetworkStorageRange struct { // Network bandwidth cap MaxBandwidth *int64 `json:"MaxBandwidth,omitnil" name:"MaxBandwidth"` // Upper limit of the data disk size MaxSystemDiskSize *int64 `json:"MaxSystemDiskSize,omitnil" name:"MaxSystemDiskSize"` // Lower limit of the network bandwidth MinBandwidth *int64 `json:"MinBandwidth,omitnil" name:"MinBandwidth"` // Lower limit of the data disk size MinSystemDiskSize *int64 `json:"MinSystemDiskSize,omitnil" name:"MinSystemDiskSize"` // Maximum data disk size MaxDataDiskSize *int64 `json:"MaxDataDiskSize,omitnil" name:"MaxDataDiskSize"` // Minimum data disk size MinDataDiskSize *int64 `json:"MinDataDiskSize,omitnil" name:"MinDataDiskSize"` // Suggested bandwidth SuggestBandwidth *int64 `json:"SuggestBandwidth,omitnil" name:"SuggestBandwidth"` // Suggested disk size SuggestDataDiskSize *int64 `json:"SuggestDataDiskSize,omitnil" name:"SuggestDataDiskSize"` // Suggested system disk size SuggestSystemDiskSize *int64 `json:"SuggestSystemDiskSize,omitnil" name:"SuggestSystemDiskSize"` // Peak number of CPU cores MaxVcpu *int64 `json:"MaxVcpu,omitnil" name:"MaxVcpu"` // Minimum number of CPU cores MinVcpu *int64 `json:"MinVcpu,omitnil" name:"MinVcpu"` // Maximum number of CPU cores per request MaxVcpuPerReq *int64 `json:"MaxVcpuPerReq,omitnil" name:"MaxVcpuPerReq"` // Bandwidth increment PerBandwidth *int64 `json:"PerBandwidth,omitnil" name:"PerBandwidth"` // Data disk increment PerDataDisk *int64 `json:"PerDataDisk,omitnil" name:"PerDataDisk"` // Total number of modules MaxModuleNum *int64 `json:"MaxModuleNum,omitnil" name:"MaxModuleNum"` }
type Node ¶
type Node struct { // Zone information. ZoneInfo *ZoneInfo `json:"ZoneInfo,omitnil" name:"ZoneInfo"` // Country/Region information. Country *Country `json:"Country,omitnil" name:"Country"` // Region information. Area *Area `json:"Area,omitnil" name:"Area"` // Province/State information. Province *Province `json:"Province,omitnil" name:"Province"` // City information. City *City `json:"City,omitnil" name:"City"` // Region information. RegionInfo *RegionInfo `json:"RegionInfo,omitnil" name:"RegionInfo"` // List of ISPs. ISPSet []*ISP `json:"ISPSet,omitnil" name:"ISPSet"` // Number of ISPs. ISPNum *int64 `json:"ISPNum,omitnil" name:"ISPNum"` }
type NodeInstanceNum ¶
type OperatorAction ¶
type OperatorAction struct { // Executable operation Action *string `json:"Action,omitnil" name:"Action"` // Code // Note: this field may return null, indicating that no valid values can be obtained. Code *string `json:"Code,omitnil" name:"Code"` // Specific information // Note: this field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` }
type OsVersion ¶
type OsVersion struct { // OS type OsName *string `json:"OsName,omitnil" name:"OsName"` // Supported OS versions // Note: this field may return null, indicating that no valid values can be obtained. OsVersions []*string `json:"OsVersions,omitnil" name:"OsVersions"` // Supported OS architecture // Note: this field may return null, indicating that no valid values can be obtained. Architecture []*string `json:"Architecture,omitnil" name:"Architecture"` }
type PackingQuotaGroup ¶
type PackingQuotaGroup struct { // AZ Zone *string `json:"Zone,omitnil" name:"Zone"` // AZ ID ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"` // ISP id ISPId *string `json:"ISPId,omitnil" name:"ISPId"` // A set of correlated packing quotas PackingQuotaInfos []*PackingQuotaInfo `json:"PackingQuotaInfos,omitnil" name:"PackingQuotaInfos"` }
type PackingQuotaInfo ¶
type PeakBase ¶
type PeakBase struct { // Peak CPU PeakCpuNum *int64 `json:"PeakCpuNum,omitnil" name:"PeakCpuNum"` // Peak memory PeakMemoryNum *int64 `json:"PeakMemoryNum,omitnil" name:"PeakMemoryNum"` // Peak disk PeakStorageNum *int64 `json:"PeakStorageNum,omitnil" name:"PeakStorageNum"` // Recording time RecordTime *string `json:"RecordTime,omitnil" name:"RecordTime"` }
type PeakFamilyInfo ¶
type PeakFamilyInfo struct { // Model type information. InstanceFamily *InstanceFamilyTypeConfig `json:"InstanceFamily,omitnil" name:"InstanceFamily"` // Peak information of basic data. PeakBaseSet []*PeakBase `json:"PeakBaseSet,omitnil" name:"PeakBaseSet"` }
type PeakNetwork ¶
type PeakNetwork struct { // Recording time. RecordTime *string `json:"RecordTime,omitnil" name:"RecordTime"` // Inbound bandwidth data. PeakInNetwork *string `json:"PeakInNetwork,omitnil" name:"PeakInNetwork"` // Outbound bandwidth data. PeakOutNetwork *string `json:"PeakOutNetwork,omitnil" name:"PeakOutNetwork"` // Billable bandwidth in bps ChargeNetwork *string `json:"ChargeNetwork,omitnil" name:"ChargeNetwork"` }
type PeakNetworkRegionInfo ¶
type PeakNetworkRegionInfo struct { // Region information Region *string `json:"Region,omitnil" name:"Region"` // Peak network set // Note: this field may return null, indicating that no valid values can be obtained. PeakNetworkSet []*PeakNetwork `json:"PeakNetworkSet,omitnil" name:"PeakNetworkSet"` }
type PhysicalPosition ¶
type PhysicalPosition struct { // Rack unit // Note: this field may return null, indicating that no valid values can be obtained. PosId *string `json:"PosId,omitnil" name:"PosId"` // Rack // Note: this field may return null, indicating that no valid values can be obtained. RackId *string `json:"RackId,omitnil" name:"RackId"` // Switch // Note: this field may return null, indicating that no valid values can be obtained. SwitchId *string `json:"SwitchId,omitnil" name:"SwitchId"` }
type Placement ¶
type Placement struct { // [AZ ID](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) of the cloud disk, which can be obtained from the `Zone` field in the returned value of the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1) API. Zone *string `json:"Zone,omitnil" name:"Zone"` // Cage ID. When it is used as an input parameter, it indicates to manipulate the resources in the cage with the specified `CageId` and can be left empty. When it is used as an output parameter, it represents the cage ID of the resource and can be left empty. // Note: this field may return null, indicating that no valid values can be obtained. CageId *string `json:"CageId,omitnil" name:"CageId"` // Project ID of the instance, which can be obtained from the `projectId` field in the returned value of the [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1) API. If this parameter is not specified, the default project ID will be used. ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Name of the dedicated cluster. When it is used as an input parameter, it is ignored. When it is used as an output parameter, it represents the name of the dedicated cluster to which the cloud disk belongs, and it can be left empty. // Note: this field may return null, indicating that no valid values can be obtained. CdcName *string `json:"CdcName,omitnil" name:"CdcName"` // Dedicated cluster ID of the instance. When it is used as an input parameter, it indicates to manipulate the resources in the dedicated cluster with the specified `CdcId` and can be left empty. When it is used as an output parameter, it represents the dedicated cluster ID of the resource and can be left empty. // Note: this field may return null, indicating that no valid values can be obtained. CdcId *string `json:"CdcId,omitnil" name:"CdcId"` }
type Position ¶
type Position struct { // Zone information of the instance. ZoneInfo *ZoneInfo `json:"ZoneInfo,omitnil" name:"ZoneInfo"` // Country/Region information of the instance. Country *Country `json:"Country,omitnil" name:"Country"` // Area information of the instance. Area *Area `json:"Area,omitnil" name:"Area"` // Province/State information of the instance. Province *Province `json:"Province,omitnil" name:"Province"` // City information of the instance. City *City `json:"City,omitnil" name:"City"` // Region information of the instance. RegionInfo *RegionInfo `json:"RegionInfo,omitnil" name:"RegionInfo"` }
type PriceDetail ¶
type PriceDetail struct { // Discount, such as `20`, which represents 80% off Discount *uint64 `json:"Discount,omitnil" name:"Discount"` // Discounted price in cents DiscountPrice *uint64 `json:"DiscountPrice,omitnil" name:"DiscountPrice"` // Original price in cents OriginalPrice *uint64 `json:"OriginalPrice,omitnil" name:"OriginalPrice"` }
type PrivateIPAddressInfo ¶
type PrivateIPAddressInfo struct { // Private IP of the instance. // Note: this field may return null, indicating that no valid values can be obtained. PrivateIPAddress *string `json:"PrivateIPAddress,omitnil" name:"PrivateIPAddress"` }
type PrivateIpAddressSpecification ¶
type PrivateIpAddressSpecification struct { // Private IP address. PrivateIpAddress *string `json:"PrivateIpAddress,omitnil" name:"PrivateIpAddress"` // Whether it is the primary IP. // Note: this field may return null, indicating that no valid values can be obtained. Primary *bool `json:"Primary,omitnil" name:"Primary"` // Public IP address. PublicIpAddress *string `json:"PublicIpAddress,omitnil" name:"PublicIpAddress"` // EIP instance ID, such as `eip-11112222`. AddressId *string `json:"AddressId,omitnil" name:"AddressId"` // Private IP description. Description *string `json:"Description,omitnil" name:"Description"` // Whether the public IP is blocked. // Note: this field may return null, indicating that no valid values can be obtained. IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitnil" name:"IsWanIpBlocked"` // IP status: // PENDING: generating // MIGRATING: migrating // DELETING: deleting // AVAILABLE: available State *string `json:"State,omitnil" name:"State"` }
type PublicIPAddressInfo ¶
type PublicIPAddressInfo struct { // Billing mode. ChargeMode *string `json:"ChargeMode,omitnil" name:"ChargeMode"` // Public IP of the instance. PublicIPAddress *string `json:"PublicIPAddress,omitnil" name:"PublicIPAddress"` // Public IP ISP of the instance. ISP *ISP `json:"ISP,omitnil" name:"ISP"` // Outbound bandwidth cap of the instance in Mbps. MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitnil" name:"MaxBandwidthOut"` // Inbound bandwidth cap of the instance in Mbps. MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitnil" name:"MaxBandwidthIn"` }
type RebootInstancesRequest ¶
type RebootInstancesRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be restarted. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to force restart the instance after it failed to be restarted normally. Valid values: // TRUE: yes; // FALSE: no; // Default value: FALSE. ForceReboot *bool `json:"ForceReboot,omitnil" name:"ForceReboot"` // Shutdown type. Valid values: // SOFT: soft shutdown // HARD: hard shutdown // SOFT_FIRST: perform a soft shutdown first; if it fails, perform a hard shutdown // // Default value: SOFT. StopType *string `json:"StopType,omitnil" 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 ¶
type RebootInstancesRequestParams struct { // List of IDs of the instances to be restarted. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to force restart the instance after it failed to be restarted normally. Valid values: // TRUE: yes; // FALSE: no; // Default value: FALSE. ForceReboot *bool `json:"ForceReboot,omitnil" name:"ForceReboot"` // Shutdown type. Valid values: // SOFT: soft shutdown // HARD: hard shutdown // SOFT_FIRST: perform a soft shutdown first; if it fails, perform a hard shutdown // // Default value: SOFT. StopType *string `json:"StopType,omitnil" 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 ¶
type RebootInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RegionInfo ¶
type ReleaseAddressesRequest ¶
type ReleaseAddressesRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of unique IDs of EIPs. AddressIds []*string `json:"AddressIds,omitnil" 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 ¶
type ReleaseAddressesRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // List of unique IDs of EIPs. AddressIds []*string `json:"AddressIds,omitnil" 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 ¶
type ReleaseAddressesResponseParams struct { // Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status. TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ReleaseIpv6AddressesRequest ¶
type ReleaseIpv6AddressesRequest struct { *tchttp.BaseRequest // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // List of the specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" 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 ¶
type ReleaseIpv6AddressesRequestParams struct { // ECM region EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-m6dyj72l`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // List of the specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time. Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitnil" 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 ¶
type ReleaseIpv6AddressesResponseParams struct { // Task ID. You can use the `DescribeTaskResult` API to query the task status TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RemovePrivateIpAddressesRequest ¶
type RemovePrivateIpAddressesRequest struct { *tchttp.BaseRequest // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-11112222`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" 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 ¶
type RemovePrivateIpAddressesRequestParams struct { // ECM region, such as `ap-xian-ecm`. EcmRegion *string `json:"EcmRegion,omitnil" name:"EcmRegion"` // ENI instance ID, such as `eni-11112222`. NetworkInterfaceId *string `json:"NetworkInterfaceId,omitnil" name:"NetworkInterfaceId"` // Information of the specified private IPs. You can specify up to 10 IPs at a time. PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitnil" 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 ¶
type RemovePrivateIpAddressesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ReplaceRouteTableAssociationRequest ¶
type ReplaceRouteTableAssociationRequest struct { *tchttp.BaseRequest // Subnet instance ID, such as `subnet-3x5lf5q0`, which can be queried through the `DescribeSubnets` API. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type ReplaceRouteTableAssociationRequestParams struct { // Subnet instance ID, such as `subnet-3x5lf5q0`, which can be queried through the `DescribeSubnets` API. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // ECM region EcmRegion *string `json:"EcmRegion,omitnil" 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 ¶
type ReplaceRouteTableAssociationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ReplaceRoutesRequest ¶
type ReplaceRoutesRequest struct { *tchttp.BaseRequest // Route table instance ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object. Routes []*Route `json:"Routes,omitnil" 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 ¶
type ReplaceRoutesRequestParams struct { // Route table instance ID. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Routing policy object. Routes []*Route `json:"Routes,omitnil" 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 ¶
type ReplaceRoutesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ReplaceSecurityGroupPolicyRequest ¶
type ReplaceSecurityGroupPolicyRequest struct { *tchttp.BaseRequest // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set object. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type ReplaceSecurityGroupPolicyRequestParams struct { // Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group policy set object. SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitnil" 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 ¶
type ReplaceSecurityGroupPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ResetInstancesMaxBandwidthRequest ¶
type ResetInstancesMaxBandwidthRequest struct { *tchttp.BaseRequest // List of IDs of the instances for which to reset the bandwidth cap. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Modified outbound bandwidth cap. MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitnil" name:"MaxBandwidthOut"` // Modified inbound bandwidth cap. MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitnil" 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 ¶
type ResetInstancesMaxBandwidthRequestParams struct { // List of IDs of the instances for which to reset the bandwidth cap. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Modified outbound bandwidth cap. MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitnil" name:"MaxBandwidthOut"` // Modified inbound bandwidth cap. MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitnil" 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 ¶
type ResetInstancesMaxBandwidthResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ResetInstancesPasswordRequest ¶
type ResetInstancesPasswordRequest struct { *tchttp.BaseRequest // List of IDs of the instances for which to set the password. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // New password. The password of a Linux instance must contain 8–16 characters in at least two of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`. // The password of a Windows instance must contain 12–16 characters in at least three of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`. // If the instances include both Linux instances and Windows instances, the password complexity limit for Windows instances will apply. Password *string `json:"Password,omitnil" name:"Password"` // Whether to force shut down. Default value: false. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` // Username of the instance for which to reset the password, which can contain up to 64 characters. If this parameter is not specified, the password of the root user will be reset by default for Linux, and the password of the admin will be reset by default for Windows. UserName *string `json:"UserName,omitnil" 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 ¶
type ResetInstancesPasswordRequestParams struct { // List of IDs of the instances for which to set the password. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // New password. The password of a Linux instance must contain 8–16 characters in at least two of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`. // The password of a Windows instance must contain 12–16 characters in at least three of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`. // If the instances include both Linux instances and Windows instances, the password complexity limit for Windows instances will apply. Password *string `json:"Password,omitnil" name:"Password"` // Whether to force shut down. Default value: false. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` // Username of the instance for which to reset the password, which can contain up to 64 characters. If this parameter is not specified, the password of the root user will be reset by default for Linux, and the password of the admin will be reset by default for Windows. UserName *string `json:"UserName,omitnil" 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 ¶
type ResetInstancesPasswordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ResetInstancesRequest ¶
type ResetInstancesRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be reinstalled. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // ID of the image from which to install the instance. If this parameter is not specified, the current image of the instance will be used. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Password. If this parameter is not specified, the password will be subsequently displayed in the Message Center. Password *string `json:"Password,omitnil" name:"Password"` // Whether to enable CM and CWP. If this parameter is not specified, they will be enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil" name:"EnhancedService"` // Whether to retain the data on the data disk. Valid values: true, false. Default value: true KeepData *string `json:"KeepData,omitnil" name:"KeepData"` // Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values: // TRUE: yes // FALSE: no // // Default value: FALSE. // Note: this field may return null, indicating that no valid values can be obtained. KeepImageLogin *string `json:"KeepImageLogin,omitnil" 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 ¶
type ResetInstancesRequestParams struct { // List of IDs of the instances to be reinstalled. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // ID of the image from which to install the instance. If this parameter is not specified, the current image of the instance will be used. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Password. If this parameter is not specified, the password will be subsequently displayed in the Message Center. Password *string `json:"Password,omitnil" name:"Password"` // Whether to enable CM and CWP. If this parameter is not specified, they will be enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil" name:"EnhancedService"` // Whether to retain the data on the data disk. Valid values: true, false. Default value: true KeepData *string `json:"KeepData,omitnil" name:"KeepData"` // Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values: // TRUE: yes // FALSE: no // // Default value: FALSE. // Note: this field may return null, indicating that no valid values can be obtained. KeepImageLogin *string `json:"KeepImageLogin,omitnil" 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 ¶
type ResetInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ResetRoutesRequest ¶
type ResetRoutesRequest struct { *tchttp.BaseRequest // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Route table name, which can contain up to 60 bytes. RouteTableName *string `json:"RouteTableName,omitnil" name:"RouteTableName"` // Routing policy. Routes []*Route `json:"Routes,omitnil" 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 ¶
type ResetRoutesRequestParams struct { // Route table instance ID, such as `rtb-azd4dt1c`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Route table name, which can contain up to 60 bytes. RouteTableName *string `json:"RouteTableName,omitnil" name:"RouteTableName"` // Routing policy. Routes []*Route `json:"Routes,omitnil" 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 ¶
type ResetRoutesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Route ¶
type Route struct { // Destination IPv4 IP range DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil" name:"DestinationCidrBlock"` // Next hop type // NORMAL_CVM: general CVM; GatewayType *string `json:"GatewayType,omitnil" name:"GatewayType"` // Next hop address // You simply need to specify the gateway ID of a different next hop type, and the system will automatically match the next hop address // When `GatewayType` is `EIP`, the value of `GatewayId` will be fixed at `0` GatewayId *string `json:"GatewayId,omitnil" name:"GatewayId"` // Unique routing policy ID RouteItemId *string `json:"RouteItemId,omitnil" name:"RouteItemId"` // Routing policy description RouteDescription *string `json:"RouteDescription,omitnil" name:"RouteDescription"` // Whether to enable Enabled *bool `json:"Enabled,omitnil" name:"Enabled"` // Route type. Valid values: // USER: user route; // NETD: network probe route, which will be delivered by the system by default when you create a network probe instance and cannot be edited or deleted; // CCN: CCN route, which will be delivered by the system by default and cannot be edited or deleted. // You can only add and manipulate routes of `USER` type. RouteType *string `json:"RouteType,omitnil" name:"RouteType"` // Routing policy ID. The IPv4 routing policy will have a meaningful value, while the IPv6 routing policy is always 0. We recommend you use the unique ID `RouteItemId` for the routing policy RouteId *uint64 `json:"RouteId,omitnil" name:"RouteId"` }
type RouteConflict ¶
type RouteConflict struct { // Route table instance ID RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // The conflicting destination ports to be checked DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil" name:"DestinationCidrBlock"` // List of conflicting routing policies // Note: this field may return null, indicating that no valid values can be obtained. ConflictSet []*Route `json:"ConflictSet,omitnil" name:"ConflictSet"` }
type RouteTable ¶
type RouteTable struct { // VPC instance ID VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Route table instance ID RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Route table name RouteTableName *string `json:"RouteTableName,omitnil" name:"RouteTableName"` // Association relationships of the route table // Note: this field may return null, indicating that no valid values can be obtained. AssociationSet []*RouteTableAssociation `json:"AssociationSet,omitnil" name:"AssociationSet"` // IPv4 routing policy set // Note: this field may return null, indicating that no valid values can be obtained. RouteSet []*Route `json:"RouteSet,omitnil" name:"RouteSet"` // Whether it is the default route table Main *bool `json:"Main,omitnil" name:"Main"` // Creation time CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` }
type RouteTableAssociation ¶
type RuleHealth ¶
type RuleHealth struct { // Health check status of the real server bound to the rule // Note: this field may return null, indicating that no valid values can be obtained. Targets []*TargetHealth `json:"Targets,omitnil" name:"Targets"` }
type RunEIPDirectServiceEnabled ¶
type RunEIPDirectServiceEnabled struct { // Whether to enable IP direct access. Valid values: // TRUE: yes // FALSE: no // Default value: TRUE. // Currently, Windows images do not support IP direct access. Enabled *bool `json:"Enabled,omitnil" name:"Enabled"` }
type RunInstancesRequest ¶
type RunInstancesRequest struct { *tchttp.BaseRequest // List of AZs in which to create instances, the number of instances to be created, and the ISPs. You can create up to 100 instances in a region at a time. ZoneInstanceCountISPSet []*ZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil" name:"ZoneInstanceCountISPSet"` // Instance login password. Different OS types have different limits on password complexity as detailed below: // The password of a Linux instance must contain 8–30 characters in at least two of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]. The password of a Windows instance must contain 12–30 characters in at least three of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /]. Password *string `json:"Password,omitnil" name:"Password"` // Public network outbound bandwidth cap in Mbps. // 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used. // 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthIn` will be used InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"` // Module ID. If you don't specify this parameter, you must specify the `ImageId`, `InstanceType`, `DataDiskSize`, and `InternetMaxBandwidthOut` parameters ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Image ID. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Instance display name. // If this parameter is not specified, `Not named` will be displayed by default. // If you purchase multiple instances and specify the pattern string `{R:x}`, display names will be generated based on `[x, x+n-1]`, where `n` is the number of the purchased instances. For example, if you specify `server\_{R:3}` and purchase 1 instance, the display name will be `server\_3`, and if you purchase 2 instances, the display names will be `server\_3` and `server\_4` respectively. // You can specify multiple pattern strings `{R:x}`. // If you purchase multiple instances and don't specify the pattern string, the instance display names will be suffixed with 1, 2...n, where `n` indicates the number of the purchased instances. For example, if you specify `server_` and purchase 2 instances, the instance display names will be `server\_1` and `server\_2` respectively. // If the purchased instances belong to different regions or ISPs, the above rules will apply to each region and ISP independently. // It can contain up to 60 characters (including pattern string). InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Server name // `HostName` cannot start or end with a dot or hyphen and cannot contain consecutive dots or hyphens. // Windows instance: the name can contain 2–15 letters, digits, and hyphens but not dots or only digits. // Other types (such as Linux) of instances: the name should be a combination of 2 to 60 characters, supporting multiple dots. A string between two dots can contain letters, digits, and hyphens. HostName *string `json:"HostName,omitnil" name:"HostName"` // The string used to ensure the idempotency of the request. Currently, it is a reserved parameter; therefore, do not use it. ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"` // Enhanced services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Cloud Security will be enabled for public images by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil" name:"EnhancedService"` // Tag list TagSpecification []*TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // The user data provided to the instance, which needs to be Base64-encoded with a maximum size of 16 KB UserData *string `json:"UserData,omitnil" name:"UserData"` // Model. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Data disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used DataDiskSize *int64 `json:"DataDiskSize,omitnil" name:"DataDiskSize"` // Security group of the instance, which can be obtained from the `sgId` field in the returned value of the `DescribeSecurityGroups` API. If this parameter is not specified, the default security group will be bound by default. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // System disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used SystemDiskSize *uint64 `json:"SystemDiskSize,omitnil" name:"SystemDiskSize"` // Public network inbound bandwidth cap in Mbps. // 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used. // 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthOut` will be used InternetMaxBandwidthIn *int64 `json:"InternetMaxBandwidthIn,omitnil" name:"InternetMaxBandwidthIn"` // Instance billing type. Valid values: // 0: postpaid by resource usage, where the daily peak usage of the CPU, memory, and disk will be calculated. This billing mode applies only to non-GNR models; // 1: hourly postpaid at the unit price of xx USD/instance/hour. This billing mode applies only to GNR models. To enable it, submit a ticket for application; // 2: monthly postpaid at the unit price of xx USD/instance/month. This billing mode applies only to GNR models; // If this field is left empty, `0` will be selected by default for non-GNR models, and `2` will be selected by default for GNR models. InstanceChargeType *int64 `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"` // Key pair. KeyIds []*string `json:"KeyIds,omitnil" name:"KeyIds"` // Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values: // TRUE: yes // FALSE: no // // Default value: FALSE. // Note: this field may return null, indicating that no valid values can be obtained. KeepImageLogin *string `json:"KeepImageLogin,omitnil" name:"KeepImageLogin"` // System disk information. SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information. DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type RunInstancesRequestParams struct { // List of AZs in which to create instances, the number of instances to be created, and the ISPs. You can create up to 100 instances in a region at a time. ZoneInstanceCountISPSet []*ZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil" name:"ZoneInstanceCountISPSet"` // Instance login password. Different OS types have different limits on password complexity as detailed below: // The password of a Linux instance must contain 8–30 characters in at least two of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]. The password of a Windows instance must contain 12–30 characters in at least three of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /]. Password *string `json:"Password,omitnil" name:"Password"` // Public network outbound bandwidth cap in Mbps. // 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used. // 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthIn` will be used InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"` // Module ID. If you don't specify this parameter, you must specify the `ImageId`, `InstanceType`, `DataDiskSize`, and `InternetMaxBandwidthOut` parameters ModuleId *string `json:"ModuleId,omitnil" name:"ModuleId"` // Image ID. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used. ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Instance display name. // If this parameter is not specified, `Not named` will be displayed by default. // If you purchase multiple instances and specify the pattern string `{R:x}`, display names will be generated based on `[x, x+n-1]`, where `n` is the number of the purchased instances. For example, if you specify `server\_{R:3}` and purchase 1 instance, the display name will be `server\_3`, and if you purchase 2 instances, the display names will be `server\_3` and `server\_4` respectively. // You can specify multiple pattern strings `{R:x}`. // If you purchase multiple instances and don't specify the pattern string, the instance display names will be suffixed with 1, 2...n, where `n` indicates the number of the purchased instances. For example, if you specify `server_` and purchase 2 instances, the instance display names will be `server\_1` and `server\_2` respectively. // If the purchased instances belong to different regions or ISPs, the above rules will apply to each region and ISP independently. // It can contain up to 60 characters (including pattern string). InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Server name // `HostName` cannot start or end with a dot or hyphen and cannot contain consecutive dots or hyphens. // Windows instance: the name can contain 2–15 letters, digits, and hyphens but not dots or only digits. // Other types (such as Linux) of instances: the name should be a combination of 2 to 60 characters, supporting multiple dots. A string between two dots can contain letters, digits, and hyphens. HostName *string `json:"HostName,omitnil" name:"HostName"` // The string used to ensure the idempotency of the request. Currently, it is a reserved parameter; therefore, do not use it. ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"` // Enhanced services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Cloud Security will be enabled for public images by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil" name:"EnhancedService"` // Tag list TagSpecification []*TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // The user data provided to the instance, which needs to be Base64-encoded with a maximum size of 16 KB UserData *string `json:"UserData,omitnil" name:"UserData"` // Model. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used. InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // Data disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used DataDiskSize *int64 `json:"DataDiskSize,omitnil" name:"DataDiskSize"` // Security group of the instance, which can be obtained from the `sgId` field in the returned value of the `DescribeSecurityGroups` API. If this parameter is not specified, the default security group will be bound by default. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"` // System disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used SystemDiskSize *uint64 `json:"SystemDiskSize,omitnil" name:"SystemDiskSize"` // Public network inbound bandwidth cap in Mbps. // 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used. // 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthOut` will be used InternetMaxBandwidthIn *int64 `json:"InternetMaxBandwidthIn,omitnil" name:"InternetMaxBandwidthIn"` // Instance billing type. Valid values: // 0: postpaid by resource usage, where the daily peak usage of the CPU, memory, and disk will be calculated. This billing mode applies only to non-GNR models; // 1: hourly postpaid at the unit price of xx USD/instance/hour. This billing mode applies only to GNR models. To enable it, submit a ticket for application; // 2: monthly postpaid at the unit price of xx USD/instance/month. This billing mode applies only to GNR models; // If this field is left empty, `0` will be selected by default for non-GNR models, and `2` will be selected by default for GNR models. InstanceChargeType *int64 `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"` // Key pair. KeyIds []*string `json:"KeyIds,omitnil" name:"KeyIds"` // Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values: // TRUE: yes // FALSE: no // // Default value: FALSE. // Note: this field may return null, indicating that no valid values can be obtained. KeepImageLogin *string `json:"KeepImageLogin,omitnil" name:"KeepImageLogin"` // System disk information. SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"` // Data disk information. DataDisks []*DataDisk `json:"DataDisks,omitnil" 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 ¶
type RunInstancesResponseParams struct { // List of IDs of the instances being created // Note: this field may return null, indicating that no valid values can be obtained. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RunMonitorServiceEnabled ¶
type RunMonitorServiceEnabled struct { // Whether to enable. Enabled *bool `json:"Enabled,omitnil" name:"Enabled"` }
type SecurityGroup ¶
type SecurityGroup struct { // Security group instance ID, such as `esg-ohuuioma`. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Security group name, which can be customized with up to 60 characters. SecurityGroupName *string `json:"SecurityGroupName,omitnil" name:"SecurityGroupName"` // Security group remarks, which can contain up to 100 characters. SecurityGroupDesc *string `json:"SecurityGroupDesc,omitnil" name:"SecurityGroupDesc"` // Whether it is the default security group (which cannot be deleted). IsDefault *bool `json:"IsDefault,omitnil" name:"IsDefault"` // Security group creation time. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // Tag key-value pairs. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` }
type SecurityGroupAssociationStatistics ¶
type SecurityGroupAssociationStatistics struct { // Security group instance ID. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // Number of ECM instances. ECM *int64 `json:"ECM,omitnil" name:"ECM"` // Number of ECM modules. Module *int64 `json:"Module,omitnil" name:"Module"` // Number of ENI instances. ENI *int64 `json:"ENI,omitnil" name:"ENI"` // Number of times the security group is referenced by other security groups. SG *int64 `json:"SG,omitnil" name:"SG"` // Number of CLB instances. CLB *int64 `json:"CLB,omitnil" name:"CLB"` // Binding statistics of all instances. InstanceStatistics []*InstanceStatistic `json:"InstanceStatistics,omitnil" name:"InstanceStatistics"` // Total number of all resources (excluding resources referenced by security groups). TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type SecurityGroupLimitSet ¶
type SecurityGroupLimitSet struct { // Total number of security groups that can be created SecurityGroupLimit *int64 `json:"SecurityGroupLimit,omitnil" name:"SecurityGroupLimit"` // Maximum number of rules under the security group SecurityGroupPolicyLimit *int64 `json:"SecurityGroupPolicyLimit,omitnil" name:"SecurityGroupPolicyLimit"` // Number of nested security group rules under the security group ReferedSecurityGroupLimit *int64 `json:"ReferedSecurityGroupLimit,omitnil" name:"ReferedSecurityGroupLimit"` // Number of instances associated with the security group SecurityGroupInstanceLimit *int64 `json:"SecurityGroupInstanceLimit,omitnil" name:"SecurityGroupInstanceLimit"` // Number of security groups associated with the instance InstanceSecurityGroupLimit *int64 `json:"InstanceSecurityGroupLimit,omitnil" name:"InstanceSecurityGroupLimit"` // Number of modules associated with the security group SecurityGroupModuleLimit *int64 `json:"SecurityGroupModuleLimit,omitnil" name:"SecurityGroupModuleLimit"` // Number of security groups associated with the module ModuleSecurityGroupLimit *int64 `json:"ModuleSecurityGroupLimit,omitnil" name:"ModuleSecurityGroupLimit"` }
type SecurityGroupPolicy ¶
type SecurityGroupPolicy struct { // Security group policy index number PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Protocol. Valid values: TCP, UDP, ICMP. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // Port. Valid values: all, discrete port, range. Port *string `json:"Port,omitnil" name:"Port"` // Protocol port ID or protocol port group ID. `ServiceTemplate` and `Protocol+Port` are mutually exclusive. ServiceTemplate *ServiceTemplateSpecification `json:"ServiceTemplate,omitnil" name:"ServiceTemplate"` // IP range or IP address (mutually exclusive). CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Security group instance ID, such as `esg-ohuuioma`. SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"` // IP address ID or IP address group ID. AddressTemplate *AddressTemplateSpecification `json:"AddressTemplate,omitnil" name:"AddressTemplate"` // `ACCEPT` or `DROP`. Action *string `json:"Action,omitnil" name:"Action"` // Security group policy description. PolicyDescription *string `json:"PolicyDescription,omitnil" name:"PolicyDescription"` // Modification time, such as `2020-07-22 19:27:23` // Note: this field may return null, indicating that no valid values can be obtained. ModifyTime *string `json:"ModifyTime,omitnil" name:"ModifyTime"` // IP range or IPv6 address (mutually exclusive). // Note: this field may return null, indicating that no valid values can be obtained. Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitnil" name:"Ipv6CidrBlock"` }
type SecurityGroupPolicySet ¶
type SecurityGroupPolicySet struct { // The version number of the security group policy, which will automatically increase by one each time you update the security group policy, so as to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored. Version *string `json:"Version,omitnil" name:"Version"` // Outbound rule. You must select either an outbound rule or inbound rule. Egress []*SecurityGroupPolicy `json:"Egress,omitnil" name:"Egress"` // Inbound rule. You must select either outbound rule or inbound rule. Ingress []*SecurityGroupPolicy `json:"Ingress,omitnil" name:"Ingress"` }
type SetLoadBalancerSecurityGroupsRequest ¶
type SetLoadBalancerSecurityGroupsRequest struct { *tchttp.BaseRequest // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of security group IDs. You can bind up to 5 security groups to a CLB instance. If you want to unbind all security groups, leave this parameter empty or pass in an empty array SecurityGroups []*string `json:"SecurityGroups,omitnil" 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 ¶
type SetLoadBalancerSecurityGroupsRequestParams struct { // CLB instance ID LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // Array of security group IDs. You can bind up to 5 security groups to a CLB instance. If you want to unbind all security groups, leave this parameter empty or pass in an empty array SecurityGroups []*string `json:"SecurityGroups,omitnil" 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 ¶
type SetLoadBalancerSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type SetSecurityGroupForLoadbalancersRequest ¶
type SetSecurityGroupForLoadbalancersRequest struct { *tchttp.BaseRequest // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"` // Security group ID, such as `esg-12345678` SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"` // ADD: bind security group; // DEL: unbind security group OperationType *string `json:"OperationType,omitnil" 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 ¶
type SetSecurityGroupForLoadbalancersRequestParams struct { // Array of CLB instance IDs LoadBalancerIds []*string `json:"LoadBalancerIds,omitnil" name:"LoadBalancerIds"` // Security group ID, such as `esg-12345678` SecurityGroup *string `json:"SecurityGroup,omitnil" name:"SecurityGroup"` // ADD: bind security group; // DEL: unbind security group OperationType *string `json:"OperationType,omitnil" 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 ¶
type SetSecurityGroupForLoadbalancersResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type SimpleModule ¶
type Snapshot ¶
type Snapshot struct { // Snapshot location. Placement *Placement `json:"Placement,omitnil" name:"Placement"` // Whether the snapshot is replicated across regions. Valid values:<br><li>true: yes;<br><li>false: no. CopyFromRemote *bool `json:"CopyFromRemote,omitnil" name:"CopyFromRemote"` // Whether the snapshot is a permanent snapshot. Valid values:<br><li>true: yes<br><li>false: no. IsPermanent *bool `json:"IsPermanent,omitnil" name:"IsPermanent"` // Snapshot name, i.e., the user-defined snapshot alias. You can call [ModifySnapshotAttribute](https://intl.cloud.tencent.com/document/product/362/15650?from_cn_redirect=1) to modify this field. SnapshotName *string `json:"SnapshotName,omitnil" name:"SnapshotName"` // Snapshot creation progress in percentage. This field will always be `100` once the snapshot is created successfully. Percent *uint64 `json:"Percent,omitnil" name:"Percent"` // List of images associated with the snapshot. Images []*Image `json:"Images,omitnil" name:"Images"` ShareReference *uint64 `json:"ShareReference,omitnil" name:"ShareReference"` // Snapshot type. Valid values: PRIVATE_SNAPSHOT, SHARED_SNAPSHOT SnapshotType *string `json:"SnapshotType,omitnil" name:"SnapshotType"` // Size in GB of the cloud disk for which the snapshot is created. DiskSize *uint64 `json:"DiskSize,omitnil" name:"DiskSize"` // ID of the cloud disk for which the snapshot is created. DiskId *string `json:"DiskId,omitnil" name:"DiskId"` // Destination region to which the snapshot is being replicated. Default value: []. CopyingToRegions []*string `json:"CopyingToRegions,omitnil" name:"CopyingToRegions"` // Snapshot ID. SnapshotId *string `json:"SnapshotId,omitnil" name:"SnapshotId"` // Type of the cloud disk for which the snapshot is created. Valid values:<br><li>SYSTEM_DISK: system disk<br><li>DATA_DISK: data disk. DiskUsage *string `json:"DiskUsage,omitnil" name:"DiskUsage"` // Whether the snapshot is created from an encrypted disk. Valid values:<br><li>true: yes<br><li>false: no. Encrypt *bool `json:"Encrypt,omitnil" name:"Encrypt"` // Snapshot creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Number of images associated with the snapshot. ImageCount *uint64 `json:"ImageCount,omitnil" name:"ImageCount"` // Snapshot status. Valid values:<br><li>NORMAL: normal<br><li>CREATING: creating<br><li>ROLLBACKING: rolling back<br><li>COPYING_FROM_REMOTE: cross-region replicating<br><li>CHECKING_COPIED: verifying the cross-region replicated data<br><li>TORECYCLE: to be repossessed. SnapshotState *string `json:"SnapshotState,omitnil" name:"SnapshotState"` // Snapshot expiration time. DeadlineTime *string `json:"DeadlineTime,omitnil" name:"DeadlineTime"` // Note: this field may return null, indicating that no valid values can be obtained. TimeStartShare *string `json:"TimeStartShare,omitnil" name:"TimeStartShare"` }
type SrcImage ¶
type SrcImage struct { // Image ID ImageId *string `json:"ImageId,omitnil" name:"ImageId"` // Image name ImageName *string `json:"ImageName,omitnil" name:"ImageName"` // System name ImageOsName *string `json:"ImageOsName,omitnil" name:"ImageOsName"` // Image description ImageDescription *string `json:"ImageDescription,omitnil" name:"ImageDescription"` // Region Region *string `json:"Region,omitnil" name:"Region"` // Region ID RegionID *int64 `json:"RegionID,omitnil" name:"RegionID"` // Region name RegionName *string `json:"RegionName,omitnil" name:"RegionName"` // Source instance name InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Source instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Source image type ImageType *string `json:"ImageType,omitnil" name:"ImageType"` }
type StartInstancesRequest ¶
type StartInstancesRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be started. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" 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 ¶
type StartInstancesRequestParams struct { // List of IDs of the instances to be started. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" 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 ¶
type StartInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type StopInstancesRequest ¶
type StopInstancesRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be shut down. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to force shut down the instance after it failed to be shut down normally. Default value: false: no. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` // Instance shutdown mode. Valid values: // SOFT_FIRST: perform a forced shutdown in case of a failure of the normal shutdown; // HARD: forced shutdown; // SOFT: Soft shutdown; // Default value: SOFT. StopType *string `json:"StopType,omitnil" 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 ¶
type StopInstancesRequestParams struct { // List of IDs of the instances to be shut down. You can request up to 100 instances in a region at a time. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to force shut down the instance after it failed to be shut down normally. Default value: false: no. ForceStop *bool `json:"ForceStop,omitnil" name:"ForceStop"` // Instance shutdown mode. Valid values: // SOFT_FIRST: perform a forced shutdown in case of a failure of the normal shutdown; // HARD: forced shutdown; // SOFT: Soft shutdown; // Default value: SOFT. StopType *string `json:"StopType,omitnil" 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 ¶
type StopInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Subnet ¶
type Subnet struct { // VPC instance ID. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet instance ID, such as `subnet-bthucmmy`. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Subnet name. SubnetName *string `json:"SubnetName,omitnil" name:"SubnetName"` // IPv4 CIDR block of the subnet. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Whether it is the default subnet. IsDefault *bool `json:"IsDefault,omitnil" name:"IsDefault"` // Whether to enable broadcast. EnableBroadcast *bool `json:"EnableBroadcast,omitnil" name:"EnableBroadcast"` // Route table instance ID, such as `rtb-l2h8d7c2`. RouteTableId *string `json:"RouteTableId,omitnil" name:"RouteTableId"` // Creation time. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // Number of available IPs. AvailableIpAddressCount *uint64 `json:"AvailableIpAddressCount,omitnil" name:"AvailableIpAddressCount"` // IPv6 CIDR block of the subnet. Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitnil" name:"Ipv6CidrBlock"` // Associated ACLID NetworkAclId *string `json:"NetworkAclId,omitnil" name:"NetworkAclId"` // Whether it is an SNAT address pool subnet. IsRemoteVpcSnat *bool `json:"IsRemoteVpcSnat,omitnil" name:"IsRemoteVpcSnat"` // Tag key-value pairs. // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` // Region Zone *string `json:"Zone,omitnil" name:"Zone"` // AZ name // Note: this field may return null, indicating that no valid values can be obtained. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // Number of instances // Note: this field may return null, indicating that no valid values can be obtained. InstanceCount *uint64 `json:"InstanceCount,omitnil" name:"InstanceCount"` // IPv4 CIDR block of the VPC. // Note: this field may return null, indicating that no valid values can be obtained. VpcCidrBlock *string `json:"VpcCidrBlock,omitnil" name:"VpcCidrBlock"` // IPv6 CIDR block of the VPC. // Note: this field may return null, indicating that no valid values can be obtained. VpcIpv6CidrBlock *string `json:"VpcIpv6CidrBlock,omitnil" name:"VpcIpv6CidrBlock"` // Region // Note: this field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil" name:"Region"` }
type SystemDisk ¶
type SystemDisk struct { // Disk type. Valid values: // - LOCAL_BASIC: local disk; // - CLOUD_PREMIUM: Premium Cloud Storage; // Default value: CLOUD_BASIC. DiskType *string `json:"DiskType,omitnil" name:"DiskType"` // Disk ID. This parameter is temporarily unavailable. DiskId *string `json:"DiskId,omitnil" name:"DiskId"` // Disk size in GB. DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"` }
type Tag ¶
type Tag struct { // Tag key. // Note: this field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil" name:"Key"` // Tag value. // Note: this field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil" name:"Value"` }
type TagSpecification ¶
type Target ¶
type Target struct { // Listening port of the real server // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // CVM instance ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Forwarding weight of the real server. Value range: [0, 100]. Default value: 10. // Note: this field may return null, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitnil" name:"Weight"` // You need to pass in this parameter when binding an ENI. It represents the IP address of the ENI. You must bind an ENI to a CVM instance first before you can bind it to a CLB instance. Note: you must pass in either `InstanceId` or `EniIp`. // Note: this field may return null, indicating that no valid values can be obtained. EniIp *string `json:"EniIp,omitnil" name:"EniIp"` }
type TargetHealth ¶
type TargetHealth struct { // Private IP of the target // Note: this field may return null, indicating that no valid values can be obtained. IP *string `json:"IP,omitnil" name:"IP"` // Port bound to the target // Note: this field may return null, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitnil" name:"Port"` // Current health status. Valid values: true: healthy; false: unhealthy (e.g., check not started, checking, or exceptional status). CLB instance will route traffic to only healthy real servers whose weights are greater than 0. // Note: this field may return null, indicating that no valid values can be obtained. HealthStatus *bool `json:"HealthStatus,omitnil" name:"HealthStatus"` // Instance ID of the target // Note: this field may return null, indicating that no valid values can be obtained. TargetId *string `json:"TargetId,omitnil" name:"TargetId"` // Detailed information of the current health status. Valid values: Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status; Close: health check not configured. // Note: this field may return null, indicating that no valid values can be obtained. HealthStatusDetail *string `json:"HealthStatusDetail,omitnil" name:"HealthStatusDetail"` }
type TargetsWeightRule ¶
type TargetsWeightRule struct { // CLB listener ID // Note: this field may return null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // List of real servers for which to modify the weights // Note: this field may return null, indicating that no valid values can be obtained. Targets []*Target `json:"Targets,omitnil" name:"Targets"` // New forwarding weight of the real server. Value range: 0–100. // Note: this field may return null, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitnil" name:"Weight"` }
type TaskOutput ¶
type TaskOutput struct { // Task ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // Status description Message *string `json:"Message,omitnil" name:"Message"` // Status value. Valid values: SUCCESS, FAILED, OPERATING Status *string `json:"Status,omitnil" name:"Status"` // Task submission time AddTime *string `json:"AddTime,omitnil" name:"AddTime"` // Task end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Operation name Operation *string `json:"Operation,omitnil" name:"Operation"` }
type TerminateInstancesRequest ¶
type TerminateInstancesRequest struct { *tchttp.BaseRequest // List of IDs of the instances to be terminated. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to enable scheduled termination. Default value: no. TerminateDelay *bool `json:"TerminateDelay,omitnil" name:"TerminateDelay"` // Scheduled termination time, such as `2019-08-05 12:01:30`. If you don't enable scheduled termination, you can ignore this parameter. TerminateTime *string `json:"TerminateTime,omitnil" name:"TerminateTime"` // Whether to delete the bound ENI and EIP. Default value: true. // true: the ENI and EIP will also be deleted; // false: only the server will be terminated, while the ENI and EIP will be retained. AssociatedResourceDestroy *bool `json:"AssociatedResourceDestroy,omitnil" 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 ¶
type TerminateInstancesRequestParams struct { // List of IDs of the instances to be terminated. InstanceIdSet []*string `json:"InstanceIdSet,omitnil" name:"InstanceIdSet"` // Whether to enable scheduled termination. Default value: no. TerminateDelay *bool `json:"TerminateDelay,omitnil" name:"TerminateDelay"` // Scheduled termination time, such as `2019-08-05 12:01:30`. If you don't enable scheduled termination, you can ignore this parameter. TerminateTime *string `json:"TerminateTime,omitnil" name:"TerminateTime"` // Whether to delete the bound ENI and EIP. Default value: true. // true: the ENI and EIP will also be deleted; // false: only the server will be terminated, while the ENI and EIP will be retained. AssociatedResourceDestroy *bool `json:"AssociatedResourceDestroy,omitnil" 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 ¶
type TerminateInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type VirtualPrivateCloud ¶
type VirtualPrivateCloud struct { // VPC ID, such as `vpc-xxx`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID of the VPC, such as `subnet-xxx`. SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Whether it is used as a public gateway. The public gateway can be used only when the instance has a public IP and resides in a VPC. Valid values: // TRUE: yes // FALSE: no // // Default value: FALSE. AsVpcGateway *bool `json:"AsVpcGateway,omitnil" name:"AsVpcGateway"` // Array of VPC subnet IPs. This parameter can be used to create instances or modify the VPC attributes of instances. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Number of the IPv6 addresses to be randomly generated for the ENI. Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitnil" name:"Ipv6AddressCount"` }
type VpcInfo ¶
type VpcInfo struct { // VPC name. VpcName *string `json:"VpcName,omitnil" name:"VpcName"` // VPC instance ID, such as `vpc-azd4dt1c`. VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // IPv4 CIDR block of the VPC. CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Whether it is the default VPC. IsDefault *bool `json:"IsDefault,omitnil" name:"IsDefault"` // Whether to enable multicast. EnableMulticast *bool `json:"EnableMulticast,omitnil" name:"EnableMulticast"` // Creation time. CreatedTime *string `json:"CreatedTime,omitnil" name:"CreatedTime"` // List of DNS servers. // Note: this field may return null, indicating that no valid values can be obtained. DnsServerSet []*string `json:"DnsServerSet,omitnil" name:"DnsServerSet"` // DHCP domain option value. DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // DHCP option set ID. DhcpOptionsId *string `json:"DhcpOptionsId,omitnil" name:"DhcpOptionsId"` // Whether to enable DHCP. EnableDhcp *bool `json:"EnableDhcp,omitnil" name:"EnableDhcp"` // IPv6 CIDR block of the VPC. Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitnil" name:"Ipv6CidrBlock"` // Tag key-value pair // Note: this field may return null, indicating that no valid values can be obtained. TagSet []*Tag `json:"TagSet,omitnil" name:"TagSet"` // Secondary CIDR block // Note: this field may return null, indicating that no valid values can be obtained. AssistantCidrSet []*AssistantCidr `json:"AssistantCidrSet,omitnil" name:"AssistantCidrSet"` // Region Region *string `json:"Region,omitnil" name:"Region"` // Description Description *string `json:"Description,omitnil" name:"Description"` // Region name RegionName *string `json:"RegionName,omitnil" name:"RegionName"` // Number of included subnets SubnetCount *uint64 `json:"SubnetCount,omitnil" name:"SubnetCount"` // Number of included instances InstanceCount *uint64 `json:"InstanceCount,omitnil" name:"InstanceCount"` }
type ZoneInstanceCountISP ¶
type ZoneInstanceCountISP struct { // The AZ in which to create an instance. Zone *string `json:"Zone,omitnil" name:"Zone"` // Number of instances to be created in the current AZ. InstanceCount *int64 `json:"InstanceCount,omitnil" name:"InstanceCount"` // ISP name. Valid values: // CTCC: China Telecom // CUCC: China Unicom // CMCC: China Mobile // If there are multiple ISP names, you need to separate them by semicolons, such as `CMCC;CUCC;CTCC`. To use multiple ISPs, contact Tencent Cloud customer service for assistance. ISP *string `json:"ISP,omitnil" name:"ISP"` // ID of the specified VPC. You must specify both `SubnetId` and `VpcId` or neither VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ID of the specified subnet. You must specify both `SubnetId` and `VpcId` or neither SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Private IP of the specified primary ENI. You must specify both `SubnetId` and `VpcId` at the same time. The number of IP addresses must be the same as `InstanceCount`. You can get the private IP of the secondary ENI of a multi-IP server through DHCP in the same subnet. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"` // Number of the IPv6 addresses to be randomly generated for the ENI, which cannot be greater than 1. Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitnil" name:"Ipv6AddressCount"` }