import * as $dara from '@darabonba/typescript'; import OpenApi from '@alicloud/openapi-core'; import { $OpenApiUtil } from '@alicloud/openapi-core'; import * as $_model from './models/model'; export * from './models/model'; export default class Client extends OpenApi { constructor(config: $OpenApiUtil.Config); getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: { [key: string]: string; }, endpoint: string): string; /** * Creates a financial relationship. * * @remarks * For more information about a financial relationship, see [Usage notes on the trusteeship]( https://www.alibabacloud.com/help/doc-detail/116383.html). * If enterprise names used by the management account and a member for real-name verification are the same, you do not need to call an API operation for confirmation. Otherwise, you must call the ConfirmRelation operation for confirmation. * * @param request - AddAccountRelationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddAccountRelationResponse */ addAccountRelationWithOptions(request: $_model.AddAccountRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAccountRelationResponse>; /** * Creates a financial relationship. * * @remarks * For more information about a financial relationship, see [Usage notes on the trusteeship]( https://www.alibabacloud.com/help/doc-detail/116383.html). * If enterprise names used by the management account and a member for real-name verification are the same, you do not need to call an API operation for confirmation. Otherwise, you must call the ConfirmRelation operation for confirmation. * * @param request - AddAccountRelationRequest * @returns AddAccountRelationResponse */ addAccountRelation(request: $_model.AddAccountRelationRequest): Promise<$_model.AddAccountRelationResponse>; /** * Transfers resource instances from the source cost center to the destination cost center. * * @param request - AllocateCostUnitResourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AllocateCostUnitResourceResponse */ allocateCostUnitResourceWithOptions(request: $_model.AllocateCostUnitResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateCostUnitResourceResponse>; /** * Transfers resource instances from the source cost center to the destination cost center. * * @param request - AllocateCostUnitResourceRequest * @returns AllocateCostUnitResourceResponse */ allocateCostUnitResource(request: $_model.AllocateCostUnitResourceRequest): Promise<$_model.AllocateCostUnitResourceResponse>; /** * Submits an application for an invoice. * * @param request - ApplyInvoiceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ApplyInvoiceResponse */ applyInvoiceWithOptions(request: $_model.ApplyInvoiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApplyInvoiceResponse>; /** * Submits an application for an invoice. * * @param request - ApplyInvoiceRequest * @returns ApplyInvoiceResponse */ applyInvoice(request: $_model.ApplyInvoiceRequest): Promise<$_model.ApplyInvoiceResponse>; /** * Cancels an unpaid order. * * @param request - CancelOrderRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CancelOrderResponse */ cancelOrderWithOptions(request: $_model.CancelOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelOrderResponse>; /** * Cancels an unpaid order. * * @param request - CancelOrderRequest * @returns CancelOrderResponse */ cancelOrder(request: $_model.CancelOrderRequest): Promise<$_model.CancelOrderResponse>; /** * @param request - ChangeResellerConsumeAmountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ChangeResellerConsumeAmountResponse */ changeResellerConsumeAmountWithOptions(request: $_model.ChangeResellerConsumeAmountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChangeResellerConsumeAmountResponse>; /** * @param request - ChangeResellerConsumeAmountRequest * @returns ChangeResellerConsumeAmountResponse */ changeResellerConsumeAmount(request: $_model.ChangeResellerConsumeAmountRequest): Promise<$_model.ChangeResellerConsumeAmountResponse>; /** * Confirms the invitation initiated by the master account. * * @remarks * 1\\. A member needs to confirm an invitation only if a financial management relationship is established between the management account and the member and enterprise names used by the management account and the member for real-name verification are different. 2. The permissions to be confirmed must be the same as those granted to the member when the management account initiates the invitation. * * @param request - ConfirmRelationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ConfirmRelationResponse */ confirmRelationWithOptions(request: $_model.ConfirmRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfirmRelationResponse>; /** * Confirms the invitation initiated by the master account. * * @remarks * 1\\. A member needs to confirm an invitation only if a financial management relationship is established between the management account and the member and enterprise names used by the management account and the member for real-name verification are different. 2. The permissions to be confirmed must be the same as those granted to the member when the management account initiates the invitation. * * @param request - ConfirmRelationRequest * @returns ConfirmRelationResponse */ confirmRelation(request: $_model.ConfirmRelationRequest): Promise<$_model.ConfirmRelationResponse>; /** * Changes the billing method of an instance. You can call this operation to switch the billing method from pay-as-you-go to subscription for Server Load Balancer (SLB) instances, elastic IP addresses (EIPs), and NAT gateways, and switch the billing method from subscription to pay-as-you-go for SLB instances and EIPs. * * @param request - ConvertChargeTypeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ConvertChargeTypeResponse */ convertChargeTypeWithOptions(request: $_model.ConvertChargeTypeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertChargeTypeResponse>; /** * Changes the billing method of an instance. You can call this operation to switch the billing method from pay-as-you-go to subscription for Server Load Balancer (SLB) instances, elastic IP addresses (EIPs), and NAT gateways, and switch the billing method from subscription to pay-as-you-go for SLB instances and EIPs. * * @param request - ConvertChargeTypeRequest * @returns ConvertChargeTypeResponse */ convertChargeType(request: $_model.ConvertChargeTypeRequest): Promise<$_model.ConvertChargeTypeResponse>; /** * Creates an account to establish a financial relationship. * * @remarks * You can call this operation to create an account so as to establish a master-member financial relationship. * * @param request - CreateAgAccountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAgAccountResponse */ createAgAccountWithOptions(request: $_model.CreateAgAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgAccountResponse>; /** * Creates an account to establish a financial relationship. * * @remarks * You can call this operation to create an account so as to establish a master-member financial relationship. * * @param request - CreateAgAccountRequest * @returns CreateAgAccountResponse */ createAgAccount(request: $_model.CreateAgAccountRequest): Promise<$_model.CreateAgAccountResponse>; /** * Creates a cost center. You can create multiple cost centers at a time. * * @param request - CreateCostUnitRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCostUnitResponse */ createCostUnitWithOptions(request: $_model.CreateCostUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCostUnitResponse>; /** * Creates a cost center. You can create multiple cost centers at a time. * * @param request - CreateCostUnitRequest * @returns CreateCostUnitResponse */ createCostUnit(request: $_model.CreateCostUnitRequest): Promise<$_model.CreateCostUnitResponse>; /** * Creates an instance. If you call this operation, an order for a new instance is created and the order is automatically paid for. You cannot create Elastic Compute Service (ECS) instances or ApsaraDB RDS instances by calling the operation. * * @param request - CreateInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateInstanceResponse */ createInstanceWithOptions(request: $_model.CreateInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInstanceResponse>; /** * Creates an instance. If you call this operation, an order for a new instance is created and the order is automatically paid for. You cannot create Elastic Compute Service (ECS) instances or ApsaraDB RDS instances by calling the operation. * * @param request - CreateInstanceRequest * @returns CreateInstanceResponse */ createInstance(request: $_model.CreateInstanceRequest): Promise<$_model.CreateInstanceResponse>; /** * Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call failed. * * @param request - CreateResellerUserQuotaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateResellerUserQuotaResponse */ createResellerUserQuotaWithOptions(request: $_model.CreateResellerUserQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateResellerUserQuotaResponse>; /** * Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call failed. * * @param request - CreateResellerUserQuotaRequest * @returns CreateResellerUserQuotaResponse */ createResellerUserQuota(request: $_model.CreateResellerUserQuotaRequest): Promise<$_model.CreateResellerUserQuotaResponse>; /** * Creates a resource plan. * * @param request - CreateResourcePackageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateResourcePackageResponse */ createResourcePackageWithOptions(request: $_model.CreateResourcePackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateResourcePackageResponse>; /** * Creates a resource plan. * * @param request - CreateResourcePackageRequest * @returns CreateResourcePackageResponse */ createResourcePackage(request: $_model.CreateResourcePackageRequest): Promise<$_model.CreateResourcePackageResponse>; /** * Creates a savings plan. After you call this operation, a savings plan is purchased and paid for. * * @param tmpReq - CreateSavingsPlansInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSavingsPlansInstanceResponse */ createSavingsPlansInstanceWithOptions(tmpReq: $_model.CreateSavingsPlansInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSavingsPlansInstanceResponse>; /** * Creates a savings plan. After you call this operation, a savings plan is purchased and paid for. * * @param request - CreateSavingsPlansInstanceRequest * @returns CreateSavingsPlansInstanceResponse */ createSavingsPlansInstance(request: $_model.CreateSavingsPlansInstanceRequest): Promise<$_model.CreateSavingsPlansInstanceResponse>; /** * Deletes a cost center. * * @param request - DeleteCostUnitRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCostUnitResponse */ deleteCostUnitWithOptions(request: $_model.DeleteCostUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCostUnitResponse>; /** * Deletes a cost center. * * @param request - DeleteCostUnitRequest * @returns DeleteCostUnitResponse */ deleteCostUnit(request: $_model.DeleteCostUnitRequest): Promise<$_model.DeleteCostUnitResponse>; /** * Query the summary information of the user "Cost Management-Budget". * * @remarks * This operation is in beta testing and is only available for specific users in the whitelist. Excessive calls may result in performance issues. For example, the response times out. * * @param request - DescribeCostBudgetsSummaryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCostBudgetsSummaryResponse */ describeCostBudgetsSummaryWithOptions(request: $_model.DescribeCostBudgetsSummaryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCostBudgetsSummaryResponse>; /** * Query the summary information of the user "Cost Management-Budget". * * @remarks * This operation is in beta testing and is only available for specific users in the whitelist. Excessive calls may result in performance issues. For example, the response times out. * * @param request - DescribeCostBudgetsSummaryRequest * @returns DescribeCostBudgetsSummaryResponse */ describeCostBudgetsSummary(request: $_model.DescribeCostBudgetsSummaryRequest): Promise<$_model.DescribeCostBudgetsSummaryResponse>; /** * Queries the monthly allocated costs of instances by allocation month. * * @remarks * You can view and export the allocated costs of the current month after 10:00 on the fourth day of the next month. The allocated costs of a single allocation month may involve orders or bills in different billing cycles. If a historical allocated amount is incorrect, the historical allocated costs need to be adjusted. As a result, the allocated costs displayed for a single allocation month may be different at different time points. * * @param request - DescribeInstanceAmortizedCostByAmortizationPeriodRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeInstanceAmortizedCostByAmortizationPeriodResponse */ describeInstanceAmortizedCostByAmortizationPeriodWithOptions(request: $_model.DescribeInstanceAmortizedCostByAmortizationPeriodRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceAmortizedCostByAmortizationPeriodResponse>; /** * Queries the monthly allocated costs of instances by allocation month. * * @remarks * You can view and export the allocated costs of the current month after 10:00 on the fourth day of the next month. The allocated costs of a single allocation month may involve orders or bills in different billing cycles. If a historical allocated amount is incorrect, the historical allocated costs need to be adjusted. As a result, the allocated costs displayed for a single allocation month may be different at different time points. * * @param request - DescribeInstanceAmortizedCostByAmortizationPeriodRequest * @returns DescribeInstanceAmortizedCostByAmortizationPeriodResponse */ describeInstanceAmortizedCostByAmortizationPeriod(request: $_model.DescribeInstanceAmortizedCostByAmortizationPeriodRequest): Promise<$_model.DescribeInstanceAmortizedCostByAmortizationPeriodResponse>; /** * 实例摊销日摊销成本 * * @param request - DescribeInstanceAmortizedCostByAmortizationPeriodDateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse */ describeInstanceAmortizedCostByAmortizationPeriodDateWithOptions(request: $_model.DescribeInstanceAmortizedCostByAmortizationPeriodDateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse>; /** * 实例摊销日摊销成本 * * @param request - DescribeInstanceAmortizedCostByAmortizationPeriodDateRequest * @returns DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse */ describeInstanceAmortizedCostByAmortizationPeriodDate(request: $_model.DescribeInstanceAmortizedCostByAmortizationPeriodDateRequest): Promise<$_model.DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse>; /** * 实例账期月摊销成本 * * @param request - DescribeInstanceAmortizedCostByConsumePeriodRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeInstanceAmortizedCostByConsumePeriodResponse */ describeInstanceAmortizedCostByConsumePeriodWithOptions(request: $_model.DescribeInstanceAmortizedCostByConsumePeriodRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceAmortizedCostByConsumePeriodResponse>; /** * 实例账期月摊销成本 * * @param request - DescribeInstanceAmortizedCostByConsumePeriodRequest * @returns DescribeInstanceAmortizedCostByConsumePeriodResponse */ describeInstanceAmortizedCostByConsumePeriod(request: $_model.DescribeInstanceAmortizedCostByConsumePeriodRequest): Promise<$_model.DescribeInstanceAmortizedCostByConsumePeriodResponse>; /** * Queries the billing information about instances or billable items in a billing cycle. * * @remarks * Instance bills are generated after the total bill is split. In most cases, the instance bills do not include data generated on the last day of the specified billing cycle. * * The instance information may change during the billing cycle. The instance configurations and types in monthly bills are subject to the point in time when you query bills. For more information, see the corresponding bill details. * * You can query data generated after June 2020 for Cloud Communications services. You can query data generated after November 2020 for Alibaba Cloud Domains. * * @param request - DescribeInstanceBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeInstanceBillResponse */ describeInstanceBillWithOptions(request: $_model.DescribeInstanceBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceBillResponse>; /** * Queries the billing information about instances or billable items in a billing cycle. * * @remarks * Instance bills are generated after the total bill is split. In most cases, the instance bills do not include data generated on the last day of the specified billing cycle. * * The instance information may change during the billing cycle. The instance configurations and types in monthly bills are subject to the point in time when you query bills. For more information, see the corresponding bill details. * * You can query data generated after June 2020 for Cloud Communications services. You can query data generated after November 2020 for Alibaba Cloud Domains. * * @param request - DescribeInstanceBillRequest * @returns DescribeInstanceBillResponse */ describeInstanceBill(request: $_model.DescribeInstanceBillRequest): Promise<$_model.DescribeInstanceBillResponse>; /** * 实例摊销日抵扣还原摊销成本 * * @param request - DescribeInstanceDeductAmortizedCostByAmortizationPeriodRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse */ describeInstanceDeductAmortizedCostByAmortizationPeriodWithOptions(request: $_model.DescribeInstanceDeductAmortizedCostByAmortizationPeriodRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse>; /** * 实例摊销日抵扣还原摊销成本 * * @param request - DescribeInstanceDeductAmortizedCostByAmortizationPeriodRequest * @returns DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse */ describeInstanceDeductAmortizedCostByAmortizationPeriod(request: $_model.DescribeInstanceDeductAmortizedCostByAmortizationPeriodRequest): Promise<$_model.DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse>; /** * Queries the pricing information about an Alibaba Cloud service. * * @param request - DescribePricingModuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribePricingModuleResponse */ describePricingModuleWithOptions(request: $_model.DescribePricingModuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePricingModuleResponse>; /** * Queries the pricing information about an Alibaba Cloud service. * * @param request - DescribePricingModuleRequest * @returns DescribePricingModuleResponse */ describePricingModule(request: $_model.DescribePricingModuleRequest): Promise<$_model.DescribePricingModuleResponse>; /** * Queries the allocated costs of services by allocation month. * * @remarks * You can view and export the allocated costs of the current month after 10:00 on the fourth day of the next month. The allocated costs of a single allocation month may involve orders or bills in different billing cycles. If a historical allocated amount is incorrect, the historical allocated costs need to be adjusted. As a result, the allocated costs displayed for a single allocation month may be different at different time points. * * @param request - DescribeProductAmortizedCostByAmortizationPeriodRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeProductAmortizedCostByAmortizationPeriodResponse */ describeProductAmortizedCostByAmortizationPeriodWithOptions(request: $_model.DescribeProductAmortizedCostByAmortizationPeriodRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductAmortizedCostByAmortizationPeriodResponse>; /** * Queries the allocated costs of services by allocation month. * * @remarks * You can view and export the allocated costs of the current month after 10:00 on the fourth day of the next month. The allocated costs of a single allocation month may involve orders or bills in different billing cycles. If a historical allocated amount is incorrect, the historical allocated costs need to be adjusted. As a result, the allocated costs displayed for a single allocation month may be different at different time points. * * @param request - DescribeProductAmortizedCostByAmortizationPeriodRequest * @returns DescribeProductAmortizedCostByAmortizationPeriodResponse */ describeProductAmortizedCostByAmortizationPeriod(request: $_model.DescribeProductAmortizedCostByAmortizationPeriodRequest): Promise<$_model.DescribeProductAmortizedCostByAmortizationPeriodResponse>; /** * 产品账期月摊销成本 * * @param request - DescribeProductAmortizedCostByConsumePeriodRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeProductAmortizedCostByConsumePeriodResponse */ describeProductAmortizedCostByConsumePeriodWithOptions(request: $_model.DescribeProductAmortizedCostByConsumePeriodRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductAmortizedCostByConsumePeriodResponse>; /** * 产品账期月摊销成本 * * @param request - DescribeProductAmortizedCostByConsumePeriodRequest * @returns DescribeProductAmortizedCostByConsumePeriodResponse */ describeProductAmortizedCostByConsumePeriod(request: $_model.DescribeProductAmortizedCostByConsumePeriodRequest): Promise<$_model.DescribeProductAmortizedCostByConsumePeriodResponse>; /** * Queries the coverage details of reserved instances (RIs) or storage capacity units (SCUs). * * @remarks * 1\\. The queried coverage details are the same as those displayed in the table on the Coverage tab of the Manage Reserved Instances page in the Billing Management console. * 2\\. You can call this operation to query the coverage details of RIs or SCUs. * 3\\. You can call this operation to query coverage details at an hourly, daily, or monthly granularity. * * @param request - DescribeResourceCoverageDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeResourceCoverageDetailResponse */ describeResourceCoverageDetailWithOptions(request: $_model.DescribeResourceCoverageDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourceCoverageDetailResponse>; /** * Queries the coverage details of reserved instances (RIs) or storage capacity units (SCUs). * * @remarks * 1\\. The queried coverage details are the same as those displayed in the table on the Coverage tab of the Manage Reserved Instances page in the Billing Management console. * 2\\. You can call this operation to query the coverage details of RIs or SCUs. * 3\\. You can call this operation to query coverage details at an hourly, daily, or monthly granularity. * * @param request - DescribeResourceCoverageDetailRequest * @returns DescribeResourceCoverageDetailResponse */ describeResourceCoverageDetail(request: $_model.DescribeResourceCoverageDetailRequest): Promise<$_model.DescribeResourceCoverageDetailResponse>; /** * Queries the total coverage data of reserved instances (RIs) or storage capacity units (SCUs). * * @remarks * The queried total coverage data is the same as the aggregated data displayed on the Coverage tab of the Manage Reserved Instances page in the Billing Management console. * You can call this operation to query the total coverage data of RIs or SCUs. * * @param request - DescribeResourceCoverageTotalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeResourceCoverageTotalResponse */ describeResourceCoverageTotalWithOptions(request: $_model.DescribeResourceCoverageTotalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourceCoverageTotalResponse>; /** * Queries the total coverage data of reserved instances (RIs) or storage capacity units (SCUs). * * @remarks * The queried total coverage data is the same as the aggregated data displayed on the Coverage tab of the Manage Reserved Instances page in the Billing Management console. * You can call this operation to query the total coverage data of RIs or SCUs. * * @param request - DescribeResourceCoverageTotalRequest * @returns DescribeResourceCoverageTotalResponse */ describeResourceCoverageTotal(request: $_model.DescribeResourceCoverageTotalRequest): Promise<$_model.DescribeResourceCoverageTotalResponse>; /** * Queries the information about resource plans of an Alibaba Cloud service. * * @param request - DescribeResourcePackageProductRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeResourcePackageProductResponse */ describeResourcePackageProductWithOptions(request: $_model.DescribeResourcePackageProductRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourcePackageProductResponse>; /** * Queries the information about resource plans of an Alibaba Cloud service. * * @param request - DescribeResourcePackageProductRequest * @returns DescribeResourcePackageProductResponse */ describeResourcePackageProduct(request: $_model.DescribeResourcePackageProductRequest): Promise<$_model.DescribeResourcePackageProductResponse>; /** * Queries the usage details of reserved instances (RIs) or storage capacity units (SCUs). * * @param request - DescribeResourceUsageDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeResourceUsageDetailResponse */ describeResourceUsageDetailWithOptions(request: $_model.DescribeResourceUsageDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourceUsageDetailResponse>; /** * Queries the usage details of reserved instances (RIs) or storage capacity units (SCUs). * * @param request - DescribeResourceUsageDetailRequest * @returns DescribeResourceUsageDetailResponse */ describeResourceUsageDetail(request: $_model.DescribeResourceUsageDetailRequest): Promise<$_model.DescribeResourceUsageDetailResponse>; /** * Queries the total usage data of reserved instances or storage capacity units (SCUs). * * @param request - DescribeResourceUsageTotalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeResourceUsageTotalResponse */ describeResourceUsageTotalWithOptions(request: $_model.DescribeResourceUsageTotalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourceUsageTotalResponse>; /** * Queries the total usage data of reserved instances or storage capacity units (SCUs). * * @param request - DescribeResourceUsageTotalRequest * @returns DescribeResourceUsageTotalResponse */ describeResourceUsageTotal(request: $_model.DescribeResourceUsageTotalRequest): Promise<$_model.DescribeResourceUsageTotalResponse>; /** * Queries the coverage details of savings plans. * * @param tmpReq - DescribeSavingsPlansCoverageDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSavingsPlansCoverageDetailResponse */ describeSavingsPlansCoverageDetailWithOptions(tmpReq: $_model.DescribeSavingsPlansCoverageDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSavingsPlansCoverageDetailResponse>; /** * Queries the coverage details of savings plans. * * @param request - DescribeSavingsPlansCoverageDetailRequest * @returns DescribeSavingsPlansCoverageDetailResponse */ describeSavingsPlansCoverageDetail(request: $_model.DescribeSavingsPlansCoverageDetailRequest): Promise<$_model.DescribeSavingsPlansCoverageDetailResponse>; /** * Queries the coverage summary of savings plans. * * @param tmpReq - DescribeSavingsPlansCoverageTotalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSavingsPlansCoverageTotalResponse */ describeSavingsPlansCoverageTotalWithOptions(tmpReq: $_model.DescribeSavingsPlansCoverageTotalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSavingsPlansCoverageTotalResponse>; /** * Queries the coverage summary of savings plans. * * @param request - DescribeSavingsPlansCoverageTotalRequest * @returns DescribeSavingsPlansCoverageTotalResponse */ describeSavingsPlansCoverageTotal(request: $_model.DescribeSavingsPlansCoverageTotalRequest): Promise<$_model.DescribeSavingsPlansCoverageTotalResponse>; /** * Queries the usage details of savings plans. * * @param tmpReq - DescribeSavingsPlansUsageDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSavingsPlansUsageDetailResponse */ describeSavingsPlansUsageDetailWithOptions(tmpReq: $_model.DescribeSavingsPlansUsageDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSavingsPlansUsageDetailResponse>; /** * Queries the usage details of savings plans. * * @param request - DescribeSavingsPlansUsageDetailRequest * @returns DescribeSavingsPlansUsageDetailResponse */ describeSavingsPlansUsageDetail(request: $_model.DescribeSavingsPlansUsageDetailRequest): Promise<$_model.DescribeSavingsPlansUsageDetailResponse>; /** * Queries the usage summary of savings plans. * * @param tmpReq - DescribeSavingsPlansUsageTotalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSavingsPlansUsageTotalResponse */ describeSavingsPlansUsageTotalWithOptions(tmpReq: $_model.DescribeSavingsPlansUsageTotalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSavingsPlansUsageTotalResponse>; /** * Queries the usage summary of savings plans. * * @param request - DescribeSavingsPlansUsageTotalRequest * @returns DescribeSavingsPlansUsageTotalResponse */ describeSavingsPlansUsageTotal(request: $_model.DescribeSavingsPlansUsageTotalRequest): Promise<$_model.DescribeSavingsPlansUsageTotalResponse>; /** * Queries split bills. * * @remarks * The data that you query by calling this operation is the same as the data that is queried by billing cycles in the Split Bill module of Cost Allocation. * * You can query split bills that were generated within the last 12 months by calling this operation. * * You can query split bills only after you enable the [Split Bill](https://usercenter2-intl.aliyun.com/finance/split-bill) service in the User Center console. * * @param request - DescribeSplitItemBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSplitItemBillResponse */ describeSplitItemBillWithOptions(request: $_model.DescribeSplitItemBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSplitItemBillResponse>; /** * Queries split bills. * * @remarks * The data that you query by calling this operation is the same as the data that is queried by billing cycles in the Split Bill module of Cost Allocation. * * You can query split bills that were generated within the last 12 months by calling this operation. * * You can query split bills only after you enable the [Split Bill](https://usercenter2-intl.aliyun.com/finance/split-bill) service in the User Center console. * * @param request - DescribeSplitItemBillRequest * @returns DescribeSplitItemBillResponse */ describeSplitItemBill(request: $_model.DescribeSplitItemBillRequest): Promise<$_model.DescribeSplitItemBillResponse>; /** * Queries the details of a financial relationship. * * @param request - GetAccountRelationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAccountRelationResponse */ getAccountRelationWithOptions(request: $_model.GetAccountRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAccountRelationResponse>; /** * Queries the details of a financial relationship. * * @param request - GetAccountRelationRequest * @returns GetAccountRelationResponse */ getAccountRelation(request: $_model.GetAccountRelationRequest): Promise<$_model.GetAccountRelationResponse>; /** * Queries the account information about a customer of a virtual network operator (VNO). * * @param request - GetCustomerAccountInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomerAccountInfoResponse */ getCustomerAccountInfoWithOptions(request: $_model.GetCustomerAccountInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomerAccountInfoResponse>; /** * Queries the account information about a customer of a virtual network operator (VNO). * * @param request - GetCustomerAccountInfoRequest * @returns GetCustomerAccountInfoResponse */ getCustomerAccountInfo(request: $_model.GetCustomerAccountInfoRequest): Promise<$_model.GetCustomerAccountInfoResponse>; /** * Queries the IDs of customers of a virtual network operator (VNO). * * @remarks * The system queries the IDs of customers of a VNO based on the AccessKey pair used in the request. * * @param request - GetCustomerListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomerListResponse */ getCustomerListWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomerListResponse>; /** * Queries the IDs of customers of a virtual network operator (VNO). * * @remarks * The system queries the IDs of customers of a VNO based on the AccessKey pair used in the request. * @returns GetCustomerListResponse */ getCustomerList(): Promise<$_model.GetCustomerListResponse>; /** * Queries the details of an order that belongs to your Alibaba Cloud account or distributors. * * @param request - GetOrderDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetOrderDetailResponse */ getOrderDetailWithOptions(request: $_model.GetOrderDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetOrderDetailResponse>; /** * Queries the details of an order that belongs to your Alibaba Cloud account or distributors. * * @param request - GetOrderDetailRequest * @returns GetOrderDetailResponse */ getOrderDetail(request: $_model.GetOrderDetailRequest): Promise<$_model.GetOrderDetailResponse>; /** * Queries the pay-as-you-go price of an Alibaba Cloud service. * * @remarks * ### Usage notes * 1. Call the QueryProductList operation to obtain the code of the service. For more information, see [QueryProductList](https://help.aliyun.com/document_detail/95984.html). * 2. Call the DescribePricingModule operation to obtain the configuration parameters of the service. For more information, see [DescribePricingModule](https://help.aliyun.com/document_detail/96469.html). * 3. Call the GetPayAsYouGoPrice operation to obtain the pay-as-you-go price of the service based on the returned configuration parameters. * * @param request - GetPayAsYouGoPriceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetPayAsYouGoPriceResponse */ getPayAsYouGoPriceWithOptions(request: $_model.GetPayAsYouGoPriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPayAsYouGoPriceResponse>; /** * Queries the pay-as-you-go price of an Alibaba Cloud service. * * @remarks * ### Usage notes * 1. Call the QueryProductList operation to obtain the code of the service. For more information, see [QueryProductList](https://help.aliyun.com/document_detail/95984.html). * 2. Call the DescribePricingModule operation to obtain the configuration parameters of the service. For more information, see [DescribePricingModule](https://help.aliyun.com/document_detail/96469.html). * 3. Call the GetPayAsYouGoPrice operation to obtain the pay-as-you-go price of the service based on the returned configuration parameters. * * @param request - GetPayAsYouGoPriceRequest * @returns GetPayAsYouGoPriceResponse */ getPayAsYouGoPrice(request: $_model.GetPayAsYouGoPriceRequest): Promise<$_model.GetPayAsYouGoPriceResponse>; /** * Queries the price of a resource plan. * * @param request - GetResourcePackagePriceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetResourcePackagePriceResponse */ getResourcePackagePriceWithOptions(request: $_model.GetResourcePackagePriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetResourcePackagePriceResponse>; /** * Queries the price of a resource plan. * * @param request - GetResourcePackagePriceRequest * @returns GetResourcePackagePriceResponse */ getResourcePackagePrice(request: $_model.GetResourcePackagePriceRequest): Promise<$_model.GetResourcePackagePriceResponse>; /** * Queries the subscription price of an Alibaba Cloud service. * * @remarks * 1. Call the QueryProductList operation to obtain the code of the service. For more information, see [QueryProductList](https://help.aliyun.com/document_detail/95984.html). * 2. Call the DescribePricingModule operation to obtain the configuration parameters of the service. For more information, see [DescribePricingModule](https://help.aliyun.com/document_detail/96469.html). * 3. Call the GetSubscriptionPrice operation to obtain the pricing of the service based on the returned configuration parameters. * * @param request - GetSubscriptionPriceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSubscriptionPriceResponse */ getSubscriptionPriceWithOptions(request: $_model.GetSubscriptionPriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSubscriptionPriceResponse>; /** * Queries the subscription price of an Alibaba Cloud service. * * @remarks * 1. Call the QueryProductList operation to obtain the code of the service. For more information, see [QueryProductList](https://help.aliyun.com/document_detail/95984.html). * 2. Call the DescribePricingModule operation to obtain the configuration parameters of the service. For more information, see [DescribePricingModule](https://help.aliyun.com/document_detail/96469.html). * 3. Call the GetSubscriptionPrice operation to obtain the pricing of the service based on the returned configuration parameters. * * @param request - GetSubscriptionPriceRequest * @returns GetSubscriptionPriceResponse */ getSubscriptionPrice(request: $_model.GetSubscriptionPriceRequest): Promise<$_model.GetSubscriptionPriceResponse>; /** * Queries the refundable amount for an instance from which you want to unsubscribe. * * @remarks * 1. **Check the information about unsubscription and confirm the unsubscription terms and refundable amount. The resource that is unsubscribed cannot be restored.** * 2. Refunds are applicable only for the actual paid amount. Vouchers used for the purchase are non-refundable. * 3. For more information, see [Rules for unsubscribing from resources](https://www.alibabacloud.com/help/en/user-center/user-guide/refund-rules). * * @param request - InquiryPriceRefundInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns InquiryPriceRefundInstanceResponse */ inquiryPriceRefundInstanceWithOptions(request: $_model.InquiryPriceRefundInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InquiryPriceRefundInstanceResponse>; /** * Queries the refundable amount for an instance from which you want to unsubscribe. * * @remarks * 1. **Check the information about unsubscription and confirm the unsubscription terms and refundable amount. The resource that is unsubscribed cannot be restored.** * 2. Refunds are applicable only for the actual paid amount. Vouchers used for the purchase are non-refundable. * 3. For more information, see [Rules for unsubscribing from resources](https://www.alibabacloud.com/help/en/user-center/user-guide/refund-rules). * * @param request - InquiryPriceRefundInstanceRequest * @returns InquiryPriceRefundInstanceResponse */ inquiryPriceRefundInstance(request: $_model.InquiryPriceRefundInstanceRequest): Promise<$_model.InquiryPriceRefundInstanceResponse>; /** * Adds or removes permissions granted to a member in a financial relationship. * * @param request - ModifyAccountRelationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyAccountRelationResponse */ modifyAccountRelationWithOptions(request: $_model.ModifyAccountRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAccountRelationResponse>; /** * Adds or removes permissions granted to a member in a financial relationship. * * @param request - ModifyAccountRelationRequest * @returns ModifyAccountRelationResponse */ modifyAccountRelation(request: $_model.ModifyAccountRelationRequest): Promise<$_model.ModifyAccountRelationResponse>; /** * Modifies one or more cost centers. * * @param request - ModifyCostUnitRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyCostUnitResponse */ modifyCostUnitWithOptions(request: $_model.ModifyCostUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCostUnitResponse>; /** * Modifies one or more cost centers. * * @param request - ModifyCostUnitRequest * @returns ModifyCostUnitResponse */ modifyCostUnit(request: $_model.ModifyCostUnitRequest): Promise<$_model.ModifyCostUnitResponse>; /** * Modifies the configurations of an instance. When you call this operation, the system generates a modification order and automatically completes the payment. You cannot call this operation to modify the configurations of an Elastic Compute Service (ECS) instance or ApsaraDB RDS instance. To modify the configurations of an ECS or ApsaraDB RDS instance, call the dedicated operation of the corresponding service. * * @param request - ModifyInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyInstanceResponse */ modifyInstanceWithOptions(request: $_model.ModifyInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceResponse>; /** * Modifies the configurations of an instance. When you call this operation, the system generates a modification order and automatically completes the payment. You cannot call this operation to modify the configurations of an Elastic Compute Service (ECS) instance or ApsaraDB RDS instance. To modify the configurations of an ECS or ApsaraDB RDS instance, call the dedicated operation of the corresponding service. * * @param request - ModifyInstanceRequest * @returns ModifyInstanceResponse */ modifyInstance(request: $_model.ModifyInstanceRequest): Promise<$_model.ModifyInstanceResponse>; /** * 对客订单支付接口 * * @param request - PayOrderRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PayOrderResponse */ payOrderWithOptions(request: $_model.PayOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PayOrderResponse>; /** * 对客订单支付接口 * * @param request - PayOrderRequest * @returns PayOrderResponse */ payOrder(request: $_model.PayOrderRequest): Promise<$_model.PayOrderResponse>; /** * Queries the balance of your account. * * @param request - QueryAccountBalanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAccountBalanceResponse */ queryAccountBalanceWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.QueryAccountBalanceResponse>; /** * Queries the balance of your account. * @returns QueryAccountBalanceResponse */ queryAccountBalance(): Promise<$_model.QueryAccountBalanceResponse>; /** * Queries the bills of your Alibaba Cloud account within a billing cycle. You can summarize the bills by resource owner. * * @remarks * Before you call this operation, take note of the following items: * * Account bills are summarized based on instance bills. In most cases, the account bills do not include the data generated on the last day of the specified period. * * You can query the data generated in June 2020 or later for Cloud Communications services. However, the query results do not include the data of Alibaba Cloud Domains. * * @param request - QueryAccountBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAccountBillResponse */ queryAccountBillWithOptions(request: $_model.QueryAccountBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAccountBillResponse>; /** * Queries the bills of your Alibaba Cloud account within a billing cycle. You can summarize the bills by resource owner. * * @remarks * Before you call this operation, take note of the following items: * * Account bills are summarized based on instance bills. In most cases, the account bills do not include the data generated on the last day of the specified period. * * You can query the data generated in June 2020 or later for Cloud Communications services. However, the query results do not include the data of Alibaba Cloud Domains. * * @param request - QueryAccountBillRequest * @returns QueryAccountBillResponse */ queryAccountBill(request: $_model.QueryAccountBillRequest): Promise<$_model.QueryAccountBillResponse>; /** * Queries the details of transactions within your account. * * @param request - QueryAccountTransactionDetailsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAccountTransactionDetailsResponse */ queryAccountTransactionDetailsWithOptions(request: $_model.QueryAccountTransactionDetailsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAccountTransactionDetailsResponse>; /** * Queries the details of transactions within your account. * * @param request - QueryAccountTransactionDetailsRequest * @returns QueryAccountTransactionDetailsResponse */ queryAccountTransactionDetails(request: $_model.QueryAccountTransactionDetailsRequest): Promise<$_model.QueryAccountTransactionDetailsResponse>; /** * Queries transactions within your Alibaba Cloud account. * * @param request - QueryAccountTransactionsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAccountTransactionsResponse */ queryAccountTransactionsWithOptions(request: $_model.QueryAccountTransactionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAccountTransactionsResponse>; /** * Queries transactions within your Alibaba Cloud account. * * @param request - QueryAccountTransactionsRequest * @returns QueryAccountTransactionsResponse */ queryAccountTransactions(request: $_model.QueryAccountTransactionsRequest): Promise<$_model.QueryAccountTransactionsResponse>; /** * Queries available instances. * * @param request - QueryAvailableInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAvailableInstancesResponse */ queryAvailableInstancesWithOptions(request: $_model.QueryAvailableInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAvailableInstancesResponse>; /** * Queries available instances. * * @param request - QueryAvailableInstancesRequest * @returns QueryAvailableInstancesResponse */ queryAvailableInstances(request: $_model.QueryAvailableInstancesRequest): Promise<$_model.QueryAvailableInstancesResponse>; /** * Queries the bills in a billing cycle. * * @param request - QueryBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryBillResponse */ queryBillWithOptions(request: $_model.QueryBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryBillResponse>; /** * Queries the bills in a billing cycle. * * @param request - QueryBillRequest * @returns QueryBillResponse */ queryBill(request: $_model.QueryBillRequest): Promise<$_model.QueryBillResponse>; /** * Queries the bill overview information in a billing cycle. * * @param request - QueryBillOverviewRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryBillOverviewResponse */ queryBillOverviewWithOptions(request: $_model.QueryBillOverviewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryBillOverviewResponse>; /** * Queries the bill overview information in a billing cycle. * * @param request - QueryBillOverviewRequest * @returns QueryBillOverviewResponse */ queryBillOverview(request: $_model.QueryBillOverviewRequest): Promise<$_model.QueryBillOverviewResponse>; /** * Queries the subscribed bills that are stored in Object Storage Service (OSS) bucket. * * @param request - QueryBillToOSSSubscriptionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryBillToOSSSubscriptionResponse */ queryBillToOSSSubscriptionWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.QueryBillToOSSSubscriptionResponse>; /** * Queries the subscribed bills that are stored in Object Storage Service (OSS) bucket. * @returns QueryBillToOSSSubscriptionResponse */ queryBillToOSSSubscription(): Promise<$_model.QueryBillToOSSSubscriptionResponse>; /** * Queries the information about vouchers. * * @param request - QueryCashCouponsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCashCouponsResponse */ queryCashCouponsWithOptions(request: $_model.QueryCashCouponsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCashCouponsResponse>; /** * Queries the information about vouchers. * * @param request - QueryCashCouponsRequest * @returns QueryCashCouponsResponse */ queryCashCoupons(request: $_model.QueryCashCouponsRequest): Promise<$_model.QueryCashCouponsResponse>; /** * Queries the information about a service based on the service code. * * @remarks * You can call this operation to query the information about a service based on the service code. * * @param request - QueryCommodityListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCommodityListResponse */ queryCommodityListWithOptions(request: $_model.QueryCommodityListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCommodityListResponse>; /** * Queries the information about a service based on the service code. * * @remarks * You can call this operation to query the information about a service based on the service code. * * @param request - QueryCommodityListRequest * @returns QueryCommodityListResponse */ queryCommodityList(request: $_model.QueryCommodityListRequest): Promise<$_model.QueryCommodityListResponse>; /** * Queries all cost centers within the current node of the cost center tree. If the ParentUnitId parameter is set to -1, all cost centers are queried. * * @param request - QueryCostUnitRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCostUnitResponse */ queryCostUnitWithOptions(request: $_model.QueryCostUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCostUnitResponse>; /** * Queries all cost centers within the current node of the cost center tree. If the ParentUnitId parameter is set to -1, all cost centers are queried. * * @param request - QueryCostUnitRequest * @returns QueryCostUnitResponse */ queryCostUnit(request: $_model.QueryCostUnitRequest): Promise<$_model.QueryCostUnitResponse>; /** * Queries the resource instances that are allocated to a cost center. If the unitId parameter is set to 0, the unallocated primary resource instances and sub-resource instances are queried. * * @param request - QueryCostUnitResourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCostUnitResourceResponse */ queryCostUnitResourceWithOptions(request: $_model.QueryCostUnitResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCostUnitResourceResponse>; /** * Queries the resource instances that are allocated to a cost center. If the unitId parameter is set to 0, the unallocated primary resource instances and sub-resource instances are queried. * * @param request - QueryCostUnitResourceRequest * @returns QueryCostUnitResourceResponse */ queryCostUnitResource(request: $_model.QueryCostUnitResourceRequest): Promise<$_model.QueryCostUnitResourceResponse>; /** * Queries the addresses to which invoices are mailed. * * @param request - QueryCustomerAddressListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCustomerAddressListResponse */ queryCustomerAddressListWithOptions(request: $_model.QueryCustomerAddressListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCustomerAddressListResponse>; /** * Queries the addresses to which invoices are mailed. * * @param request - QueryCustomerAddressListRequest * @returns QueryCustomerAddressListResponse */ queryCustomerAddressList(request: $_model.QueryCustomerAddressListRequest): Promise<$_model.QueryCustomerAddressListResponse>; /** * Queries the usage of resource plans, including reserved instances (RIs) and storage capacity units (SCUs). * * @remarks * Limits: * * Only the usage records within the past year can be queried. * * @param request - QueryDPUtilizationDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryDPUtilizationDetailResponse */ queryDPUtilizationDetailWithOptions(request: $_model.QueryDPUtilizationDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDPUtilizationDetailResponse>; /** * Queries the usage of resource plans, including reserved instances (RIs) and storage capacity units (SCUs). * * @remarks * Limits: * * Only the usage records within the past year can be queried. * * @param request - QueryDPUtilizationDetailRequest * @returns QueryDPUtilizationDetailResponse */ queryDPUtilizationDetail(request: $_model.QueryDPUtilizationDetailRequest): Promise<$_model.QueryDPUtilizationDetailResponse>; /** * Queries the information about the orders for which you want to apply for invoices. * * @param request - QueryEvaluateListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryEvaluateListResponse */ queryEvaluateListWithOptions(request: $_model.QueryEvaluateListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryEvaluateListResponse>; /** * Queries the information about the orders for which you want to apply for invoices. * * @param request - QueryEvaluateListRequest * @returns QueryEvaluateListResponse */ queryEvaluateList(request: $_model.QueryEvaluateListRequest): Promise<$_model.QueryEvaluateListResponse>; /** * Queries the information about a financial account. * * @param request - QueryFinancialAccountInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryFinancialAccountInfoResponse */ queryFinancialAccountInfoWithOptions(request: $_model.QueryFinancialAccountInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryFinancialAccountInfoResponse>; /** * Queries the information about a financial account. * * @param request - QueryFinancialAccountInfoRequest * @returns QueryFinancialAccountInfoResponse */ queryFinancialAccountInfo(request: $_model.QueryFinancialAccountInfoRequest): Promise<$_model.QueryFinancialAccountInfoResponse>; /** * Queries the bills of instances or billable items in a billing cycle. * * @remarks * ## * * This API operation has been upgraded to DescribeInstanceBill. We recommend that you call the [DescribeInstanceBill](https://help.aliyun.com/document_detail/209402.html) operation to query the bills of instances or billable items in a billing cycle. You can call the QueryInstanceBill operation to query a maximum of 50,000 data rows in a bill. * * Instance bills are generated after bills are split. In most cases, the instance bills do not include data generated on the last day of the specified period. * * The instance information changes within a billing cycle. The instance configurations and specifications and the time when the instance was used in the billing cycle are all recorded. For more information, see the corresponding bill details. * * You can query the data generated in June 2020 or later for Cloud Communications services, and the data generated in November 2020 or later for Alibaba Cloud Domains. * * @param request - QueryInstanceBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryInstanceBillResponse */ queryInstanceBillWithOptions(request: $_model.QueryInstanceBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryInstanceBillResponse>; /** * Queries the bills of instances or billable items in a billing cycle. * * @remarks * ## * * This API operation has been upgraded to DescribeInstanceBill. We recommend that you call the [DescribeInstanceBill](https://help.aliyun.com/document_detail/209402.html) operation to query the bills of instances or billable items in a billing cycle. You can call the QueryInstanceBill operation to query a maximum of 50,000 data rows in a bill. * * Instance bills are generated after bills are split. In most cases, the instance bills do not include data generated on the last day of the specified period. * * The instance information changes within a billing cycle. The instance configurations and specifications and the time when the instance was used in the billing cycle are all recorded. For more information, see the corresponding bill details. * * You can query the data generated in June 2020 or later for Cloud Communications services, and the data generated in November 2020 or later for Alibaba Cloud Domains. * * @param request - QueryInstanceBillRequest * @returns QueryInstanceBillResponse */ queryInstanceBill(request: $_model.QueryInstanceBillRequest): Promise<$_model.QueryInstanceBillResponse>; /** * Queries instances by tag. * * @param request - QueryInstanceByTagRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryInstanceByTagResponse */ queryInstanceByTagWithOptions(request: $_model.QueryInstanceByTagRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryInstanceByTagResponse>; /** * Queries instances by tag. * * @param request - QueryInstanceByTagRequest * @returns QueryInstanceByTagResponse */ queryInstanceByTag(request: $_model.QueryInstanceByTagRequest): Promise<$_model.QueryInstanceByTagResponse>; /** * The code of the service. * * @param request - QueryInstanceGaapCostRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryInstanceGaapCostResponse */ queryInstanceGaapCostWithOptions(request: $_model.QueryInstanceGaapCostRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryInstanceGaapCostResponse>; /** * The code of the service. * * @param request - QueryInstanceGaapCostRequest * @returns QueryInstanceGaapCostResponse */ queryInstanceGaapCost(request: $_model.QueryInstanceGaapCostRequest): Promise<$_model.QueryInstanceGaapCostResponse>; /** * Queries the information about invoice titles. * * @param request - QueryInvoicingCustomerListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryInvoicingCustomerListResponse */ queryInvoicingCustomerListWithOptions(request: $_model.QueryInvoicingCustomerListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryInvoicingCustomerListResponse>; /** * Queries the information about invoice titles. * * @param request - QueryInvoicingCustomerListRequest * @returns QueryInvoicingCustomerListResponse */ queryInvoicingCustomerList(request: $_model.QueryInvoicingCustomerListRequest): Promise<$_model.QueryInvoicingCustomerListResponse>; /** * Queries the orders of your Alibaba Cloud account or distributors. By default, orders within the last hour are queried. To query earlier orders, specify the CreateTimeStart and CreateTimeEnd parameters. * * @param request - QueryOrdersRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryOrdersResponse */ queryOrdersWithOptions(request: $_model.QueryOrdersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryOrdersResponse>; /** * Queries the orders of your Alibaba Cloud account or distributors. By default, orders within the last hour are queried. To query earlier orders, specify the CreateTimeStart and CreateTimeEnd parameters. * * @param request - QueryOrdersRequest * @returns QueryOrdersResponse */ queryOrders(request: $_model.QueryOrdersRequest): Promise<$_model.QueryOrdersResponse>; /** * Queries, by relationship ID, permissions granted to accounts between which a management-member relationship is established. * * @param request - QueryPermissionListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryPermissionListResponse */ queryPermissionListWithOptions(request: $_model.QueryPermissionListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPermissionListResponse>; /** * Queries, by relationship ID, permissions granted to accounts between which a management-member relationship is established. * * @param request - QueryPermissionListRequest * @returns QueryPermissionListResponse */ queryPermissionList(request: $_model.QueryPermissionListRequest): Promise<$_model.QueryPermissionListResponse>; /** * Queries prepaid cards. * * @param request - QueryPrepaidCardsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryPrepaidCardsResponse */ queryPrepaidCardsWithOptions(request: $_model.QueryPrepaidCardsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPrepaidCardsResponse>; /** * Queries prepaid cards. * * @param request - QueryPrepaidCardsRequest * @returns QueryPrepaidCardsResponse */ queryPrepaidCards(request: $_model.QueryPrepaidCardsRequest): Promise<$_model.QueryPrepaidCardsResponse>; /** * Queries the billable items of a service. * * @remarks * You can call this operation to query the billable items of a service. A billable item is the minimum unit used to calculate costs. * * @param request - QueryPriceEntityListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryPriceEntityListResponse */ queryPriceEntityListWithOptions(request: $_model.QueryPriceEntityListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPriceEntityListResponse>; /** * Queries the billable items of a service. * * @remarks * You can call this operation to query the billable items of a service. A billable item is the minimum unit used to calculate costs. * * @param request - QueryPriceEntityListRequest * @returns QueryPriceEntityListResponse */ queryPriceEntityList(request: $_model.QueryPriceEntityListRequest): Promise<$_model.QueryPriceEntityListResponse>; /** * Queries the information about all Alibaba Cloud services. * * @param request - QueryProductListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryProductListResponse */ queryProductListWithOptions(request: $_model.QueryProductListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryProductListResponse>; /** * Queries the information about all Alibaba Cloud services. * * @param request - QueryProductListRequest * @returns QueryProductListResponse */ queryProductList(request: $_model.QueryProductListRequest): Promise<$_model.QueryProductListResponse>; /** * Queries the usage details of a reserved instance (RI). * * @param request - QueryRIUtilizationDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryRIUtilizationDetailResponse */ queryRIUtilizationDetailWithOptions(request: $_model.QueryRIUtilizationDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryRIUtilizationDetailResponse>; /** * Queries the usage details of a reserved instance (RI). * * @param request - QueryRIUtilizationDetailRequest * @returns QueryRIUtilizationDetailResponse */ queryRIUtilizationDetail(request: $_model.QueryRIUtilizationDetailRequest): Promise<$_model.QueryRIUtilizationDetailResponse>; /** * Queries the information about a redemption coupon. * * @param request - QueryRedeemRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryRedeemResponse */ queryRedeemWithOptions(request: $_model.QueryRedeemRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryRedeemResponse>; /** * Queries the information about a redemption coupon. * * @param request - QueryRedeemRequest * @returns QueryRedeemResponse */ queryRedeem(request: $_model.QueryRedeemRequest): Promise<$_model.QueryRedeemResponse>; /** * Queries the members of a management account. * * @param request - QueryRelationListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryRelationListResponse */ queryRelationListWithOptions(request: $_model.QueryRelationListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryRelationListResponse>; /** * Queries the members of a management account. * * @param request - QueryRelationListRequest * @returns QueryRelationListResponse */ queryRelationList(request: $_model.QueryRelationListRequest): Promise<$_model.QueryRelationListResponse>; /** * Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call failed. * * @param request - QueryResellerAvailableQuotaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryResellerAvailableQuotaResponse */ queryResellerAvailableQuotaWithOptions(request: $_model.QueryResellerAvailableQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryResellerAvailableQuotaResponse>; /** * Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call failed. * * @param request - QueryResellerAvailableQuotaRequest * @returns QueryResellerAvailableQuotaResponse */ queryResellerAvailableQuota(request: $_model.QueryResellerAvailableQuotaRequest): Promise<$_model.QueryResellerAvailableQuotaResponse>; /** * 查询用户的信控预警阀值,该接口暂未测试启用 * * @param request - QueryResellerUserAlarmThresholdRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryResellerUserAlarmThresholdResponse */ queryResellerUserAlarmThresholdWithOptions(request: $_model.QueryResellerUserAlarmThresholdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryResellerUserAlarmThresholdResponse>; /** * 查询用户的信控预警阀值,该接口暂未测试启用 * * @param request - QueryResellerUserAlarmThresholdRequest * @returns QueryResellerUserAlarmThresholdResponse */ queryResellerUserAlarmThreshold(request: $_model.QueryResellerUserAlarmThresholdRequest): Promise<$_model.QueryResellerUserAlarmThresholdResponse>; /** * Queries the instances of a resource plan. You can query the resource plans that are expired within one year. * * @param request - QueryResourcePackageInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryResourcePackageInstancesResponse */ queryResourcePackageInstancesWithOptions(request: $_model.QueryResourcePackageInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryResourcePackageInstancesResponse>; /** * Queries the instances of a resource plan. You can query the resource plans that are expired within one year. * * @param request - QueryResourcePackageInstancesRequest * @returns QueryResourcePackageInstancesResponse */ queryResourcePackageInstances(request: $_model.QueryResourcePackageInstancesRequest): Promise<$_model.QueryResourcePackageInstancesResponse>; /** * Queries the deduction details of savings plans. * * @param request - QuerySavingsPlansDeductLogRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySavingsPlansDeductLogResponse */ querySavingsPlansDeductLogWithOptions(request: $_model.QuerySavingsPlansDeductLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySavingsPlansDeductLogResponse>; /** * Queries the deduction details of savings plans. * * @param request - QuerySavingsPlansDeductLogRequest * @returns QuerySavingsPlansDeductLogResponse */ querySavingsPlansDeductLog(request: $_model.QuerySavingsPlansDeductLogRequest): Promise<$_model.QuerySavingsPlansDeductLogResponse>; /** * Queries discounts on savings plans. * * @param request - QuerySavingsPlansDiscountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySavingsPlansDiscountResponse */ querySavingsPlansDiscountWithOptions(request: $_model.QuerySavingsPlansDiscountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySavingsPlansDiscountResponse>; /** * Queries discounts on savings plans. * * @param request - QuerySavingsPlansDiscountRequest * @returns QuerySavingsPlansDiscountResponse */ querySavingsPlansDiscount(request: $_model.QuerySavingsPlansDiscountRequest): Promise<$_model.QuerySavingsPlansDiscountResponse>; /** * Queries the information about savings plan instances of the current user. * * @param request - QuerySavingsPlansInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySavingsPlansInstanceResponse */ querySavingsPlansInstanceWithOptions(request: $_model.QuerySavingsPlansInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySavingsPlansInstanceResponse>; /** * Queries the information about savings plan instances of the current user. * * @param request - QuerySavingsPlansInstanceRequest * @returns QuerySavingsPlansInstanceResponse */ querySavingsPlansInstance(request: $_model.QuerySavingsPlansInstanceRequest): Promise<$_model.QuerySavingsPlansInstanceResponse>; /** * The code of the service. * * @param request - QuerySettleBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySettleBillResponse */ querySettleBillWithOptions(request: $_model.QuerySettleBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySettleBillResponse>; /** * The code of the service. * * @param request - QuerySettleBillRequest * @returns QuerySettleBillResponse */ querySettleBill(request: $_model.QuerySettleBillRequest): Promise<$_model.QuerySettleBillResponse>; /** * Queries the stock keeping units (SKUs) of a service. In most cases, a service has one or more SKUs. A service may even have tens of thousands of SKUs. You can call this operation to query the SKUs of a specific service and the prices of the SKUs. You can configure request parameters to query the specified SKUs based on the configurations of the SKUs. * * @param tmpReq - QuerySkuPriceListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySkuPriceListResponse */ querySkuPriceListWithOptions(tmpReq: $_model.QuerySkuPriceListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySkuPriceListResponse>; /** * Queries the stock keeping units (SKUs) of a service. In most cases, a service has one or more SKUs. A service may even have tens of thousands of SKUs. You can call this operation to query the SKUs of a specific service and the prices of the SKUs. You can configure request parameters to query the specified SKUs based on the configurations of the SKUs. * * @param request - QuerySkuPriceListRequest * @returns QuerySkuPriceListResponse */ querySkuPriceList(request: $_model.QuerySkuPriceListRequest): Promise<$_model.QuerySkuPriceListResponse>; /** * Queries split bills. * * @remarks * This API operation has been upgraded to DescribeSplitItemBill. We recommend that you call the [DescribeSplitItemBill](https://help.aliyun.com/document_detail/208169.html) operation to query split bills. You can call the QuerySplitItemBill operation to query a maximum of 50,000 data rows in a bill. * * The data queried by calling the QuerySplitItemBill operation is consistent with the data that is displayed for the specified billing cycle on the Split Bill page in User Center. * * You can call this operation to query split bills generated within the last 12 months. * * This operation returns split bills only after you activate the [Split Bill](https://usercenter2.aliyun.com/finance/split-bill) service in User Center. * * @param request - QuerySplitItemBillRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySplitItemBillResponse */ querySplitItemBillWithOptions(request: $_model.QuerySplitItemBillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySplitItemBillResponse>; /** * Queries split bills. * * @remarks * This API operation has been upgraded to DescribeSplitItemBill. We recommend that you call the [DescribeSplitItemBill](https://help.aliyun.com/document_detail/208169.html) operation to query split bills. You can call the QuerySplitItemBill operation to query a maximum of 50,000 data rows in a bill. * * The data queried by calling the QuerySplitItemBill operation is consistent with the data that is displayed for the specified billing cycle on the Split Bill page in User Center. * * You can call this operation to query split bills generated within the last 12 months. * * This operation returns split bills only after you activate the [Split Bill](https://usercenter2.aliyun.com/finance/split-bill) service in User Center. * * @param request - QuerySplitItemBillRequest * @returns QuerySplitItemBillResponse */ querySplitItemBill(request: $_model.QuerySplitItemBillRequest): Promise<$_model.QuerySplitItemBillResponse>; /** * Queries the usage data of an Alibaba Cloud service. * * @remarks * You can call this operation to query the usage data of an Alibaba Cloud service. Take note of the following items: * * The service code that you specify for querying the usage data of a specific Alibaba Cloud service must be valid. You can query the usage data by hour or by day. * * The time that you specify must follow the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. * * Latency exists in data pushes. Therefore, if you set the DataType parameter to Hour, the integrity of usage data recorded in the last 24 hours can be ensured. If you set the DataType parameter to Day, the integrity of usage data recorded in the last two days can be ensured. * * You can query the usage data that is recorded in the last quarter. * * @param request - QueryUserOmsDataRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserOmsDataResponse */ queryUserOmsDataWithOptions(request: $_model.QueryUserOmsDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryUserOmsDataResponse>; /** * Queries the usage data of an Alibaba Cloud service. * * @remarks * You can call this operation to query the usage data of an Alibaba Cloud service. Take note of the following items: * * The service code that you specify for querying the usage data of a specific Alibaba Cloud service must be valid. You can query the usage data by hour or by day. * * The time that you specify must follow the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. * * Latency exists in data pushes. Therefore, if you set the DataType parameter to Hour, the integrity of usage data recorded in the last 24 hours can be ensured. If you set the DataType parameter to Day, the integrity of usage data recorded in the last two days can be ensured. * * You can query the usage data that is recorded in the last quarter. * * @param request - QueryUserOmsDataRequest * @returns QueryUserOmsDataResponse */ queryUserOmsData(request: $_model.QueryUserOmsDataRequest): Promise<$_model.QueryUserOmsDataResponse>; /** * Unsubscribes from an instance that is no longer needed. * * @remarks * 1. Refunds are applicable only for the actual paid amount. Vouchers used for the purchase are non-refundable. * 2. Check the information about unsubscription and confirm the unsubscription terms and refundable amount. The resource that is unsubscribed cannot be restored. * 3. For more information, see [Rules for unsubscribing from resources](https://www.alibabacloud.com/help/en/user-center/refund-rules). * * @param request - RefundInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RefundInstanceResponse */ refundInstanceWithOptions(request: $_model.RefundInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RefundInstanceResponse>; /** * Unsubscribes from an instance that is no longer needed. * * @remarks * 1. Refunds are applicable only for the actual paid amount. Vouchers used for the purchase are non-refundable. * 2. Check the information about unsubscription and confirm the unsubscription terms and refundable amount. The resource that is unsubscribed cannot be restored. * 3. For more information, see [Rules for unsubscribing from resources](https://www.alibabacloud.com/help/en/user-center/refund-rules). * * @param request - RefundInstanceRequest * @returns RefundInstanceResponse */ refundInstance(request: $_model.RefundInstanceRequest): Promise<$_model.RefundInstanceResponse>; /** * Releases instances by Virtual Network Operators (VNOs). * * @remarks * This operation is provided for only VNOs to release instances. If a non-specific VNO calls this operation, the request is blocked. * * @param request - ReleaseInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ReleaseInstanceResponse */ releaseInstanceWithOptions(request: $_model.ReleaseInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReleaseInstanceResponse>; /** * Releases instances by Virtual Network Operators (VNOs). * * @remarks * This operation is provided for only VNOs to release instances. If a non-specific VNO calls this operation, the request is blocked. * * @param request - ReleaseInstanceRequest * @returns ReleaseInstanceResponse */ releaseInstance(request: $_model.ReleaseInstanceRequest): Promise<$_model.ReleaseInstanceResponse>; /** * Terminates a financial relationship between the management account and a member. * * @param request - RelieveAccountRelationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RelieveAccountRelationResponse */ relieveAccountRelationWithOptions(request: $_model.RelieveAccountRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RelieveAccountRelationResponse>; /** * Terminates a financial relationship between the management account and a member. * * @param request - RelieveAccountRelationRequest * @returns RelieveAccountRelationResponse */ relieveAccountRelation(request: $_model.RelieveAccountRelationRequest): Promise<$_model.RelieveAccountRelationResponse>; /** * 续费变配接口 * * @param request - RenewChangeInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RenewChangeInstanceResponse */ renewChangeInstanceWithOptions(request: $_model.RenewChangeInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenewChangeInstanceResponse>; /** * 续费变配接口 * * @param request - RenewChangeInstanceRequest * @returns RenewChangeInstanceResponse */ renewChangeInstance(request: $_model.RenewChangeInstanceRequest): Promise<$_model.RenewChangeInstanceResponse>; /** * Renews a specified instance. You cannot call this operation to renew Elastic Compute Service (ECS) instances, ApsaraDB RDS instances, or ApsaraDB for Redis instances. To renew these types of instances, call the dedicated operation of the corresponding service. * * @param request - RenewInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RenewInstanceResponse */ renewInstanceWithOptions(request: $_model.RenewInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenewInstanceResponse>; /** * Renews a specified instance. You cannot call this operation to renew Elastic Compute Service (ECS) instances, ApsaraDB RDS instances, or ApsaraDB for Redis instances. To renew these types of instances, call the dedicated operation of the corresponding service. * * @param request - RenewInstanceRequest * @returns RenewInstanceResponse */ renewInstance(request: $_model.RenewInstanceRequest): Promise<$_model.RenewInstanceResponse>; /** * Renews a resource plan. * * @param request - RenewResourcePackageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RenewResourcePackageResponse */ renewResourcePackageWithOptions(request: $_model.RenewResourcePackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenewResourcePackageResponse>; /** * Renews a resource plan. * * @param request - RenewResourcePackageRequest * @returns RenewResourcePackageResponse */ renewResourcePackage(request: $_model.RenewResourcePackageRequest): Promise<$_model.RenewResourcePackageResponse>; /** * Sets an expiration date for all Elastic Compute Service (ECS) instances. * * @param request - SetAllExpirationDayRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetAllExpirationDayResponse */ setAllExpirationDayWithOptions(request: $_model.SetAllExpirationDayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetAllExpirationDayResponse>; /** * Sets an expiration date for all Elastic Compute Service (ECS) instances. * * @param request - SetAllExpirationDayRequest * @returns SetAllExpirationDayResponse */ setAllExpirationDay(request: $_model.SetAllExpirationDayRequest): Promise<$_model.SetAllExpirationDayResponse>; /** * Enables auto-renewal for an instance. * * @param request - SetRenewalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetRenewalResponse */ setRenewalWithOptions(request: $_model.SetRenewalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetRenewalResponse>; /** * Enables auto-renewal for an instance. * * @param request - SetRenewalRequest * @returns SetRenewalResponse */ setRenewal(request: $_model.SetRenewalRequest): Promise<$_model.SetRenewalResponse>; /** * @param request - SetResellerUserAlarmThresholdRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetResellerUserAlarmThresholdResponse */ setResellerUserAlarmThresholdWithOptions(request: $_model.SetResellerUserAlarmThresholdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetResellerUserAlarmThresholdResponse>; /** * @param request - SetResellerUserAlarmThresholdRequest * @returns SetResellerUserAlarmThresholdResponse */ setResellerUserAlarmThreshold(request: $_model.SetResellerUserAlarmThresholdRequest): Promise<$_model.SetResellerUserAlarmThresholdResponse>; /** * Modify the quota ledger and consumption ledger. * * @param request - SetResellerUserQuotaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetResellerUserQuotaResponse */ setResellerUserQuotaWithOptions(request: $_model.SetResellerUserQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetResellerUserQuotaResponse>; /** * Modify the quota ledger and consumption ledger. * * @param request - SetResellerUserQuotaRequest * @returns SetResellerUserQuotaResponse */ setResellerUserQuota(request: $_model.SetResellerUserQuotaRequest): Promise<$_model.SetResellerUserQuotaResponse>; /** * @param request - SetResellerUserStatusRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetResellerUserStatusResponse */ setResellerUserStatusWithOptions(request: $_model.SetResellerUserStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetResellerUserStatusResponse>; /** * @param request - SetResellerUserStatusRequest * @returns SetResellerUserStatusResponse */ setResellerUserStatus(request: $_model.SetResellerUserStatusRequest): Promise<$_model.SetResellerUserStatusResponse>; /** * 设置节省计划用户级抵扣规则 * * @param tmpReq - SetSavingPlanUserDeductRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetSavingPlanUserDeductRuleResponse */ setSavingPlanUserDeductRuleWithOptions(tmpReq: $_model.SetSavingPlanUserDeductRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetSavingPlanUserDeductRuleResponse>; /** * 设置节省计划用户级抵扣规则 * * @param request - SetSavingPlanUserDeductRuleRequest * @returns SetSavingPlanUserDeductRuleResponse */ setSavingPlanUserDeductRule(request: $_model.SetSavingPlanUserDeductRuleRequest): Promise<$_model.SetSavingPlanUserDeductRuleResponse>; /** * Subscribes to the bills that are stored in Object Storage Service (OSS) buckets. * * @remarks * Before you call this operation, take note of the following items: * * You can subscribe to only one type of bill at a time. * * The bills generated on the previous day are pushed on a daily basis the next day after you subscribe to the bills. The full-data bills for the previous month are pushed on the fourth day of each month. The monthly bills in the PDF format for the previous month are pushed on the fourth day of each month. * * The daily bills may be delayed. The delayed bills are pushed the next day after they are generated. The delayed bills may include the bills that should have been pushed on the previous day. We recommend that you query the full-data bills for the previous month at the beginning of each month. * * The bill subscriber must have the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission. * * The SubscribeBillToOSS operation has the same functionality as the Save Expense Details to OSS Bucket feature in User Center. * * To subscribe to the bills stored in an OSS bucket, make sure that the directory name specified for the OSS bucket conforms to the following naming rules: * 1. 1. The directory name can contain only UTF-8 characters and cannot contain emoticons. * 2. 2. Forward slashes (/) are used to separate paths and can be used to create subdirectories with ease. The directory name cannot start with a forward slash (/), a backslash (\\\\), or consecutive forward slashes (/). * 3. 3. The name of a subdirectory cannot be set to two consecutive periods (..). * 4. 4. The directory name must be 1 to 254 characters in length. * * File names: * * **BillingItemDetailForBillingPeriod** (Detailed bills of billable items) * * File name format for a daily push: `UID_BillingItemDetail_YYYYMMDD`. Example: `169**_BillingItemDetail_20190310`. * * File name format for a full-data push at the beginning of the next month: `UID_BillingItemDetail_YYYYMM`. Example: `169**_BillingItemDetail_201903`. * * **InstanceDetailForBillingPeriod** (Detailed bills of instances) * * File name format for a daily push: `UID_InstanceDetail_YYYYMMDD`. Example: `169**_InstanceDetail_20190310`. * * File name format for a full-data push at the beginning of the next month: `UID_InstanceDetail_YYYYMM`. Example: `169**_InstanceDetail_201903`. * * **InstanceDetailMonthly** (Instance-based bills summarized by billing cycle) * * File name format for a daily push: `UID_InstanceDetailMonthly_YYYYMM`. Example: `169**_InstanceDetailMonthly_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **BillingItemDetailMonthly** (Billable item-based bills summarized by billing cycle) * * File name format for a daily push: `UID_BillingItemDetailMonthly_YYYYMM`. Example: `169**_BillingItemDetailMonthly_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **SplitItemDetailDaily** (Split bills summarized by day) * * File name format for a daily push: `UID_SplitItemDetailDaily_YYYYMM`. Example: `169**_SplitItemDetailDaily_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **MonthBill** (Monthly bill in the PDF format) * * File name format for a monthly push: `UID_MonthBill_YYYYMM`. Example: `169**_MonthBill_201903`. The bill for the previous month is pushed on the fourth day of each month. * * The bills of the MonthBill type are PDF files, whereas the bills of other types are CSV files. If the number of data rows in a bill exceeds a threshold, the bill is automatically split into multiple CSV files. Then, the multiple CSV files are automatically merged and compressed into a ZIP file that has the same name format as the original file. * * @param request - SubscribeBillToOSSRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubscribeBillToOSSResponse */ subscribeBillToOSSWithOptions(request: $_model.SubscribeBillToOSSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubscribeBillToOSSResponse>; /** * Subscribes to the bills that are stored in Object Storage Service (OSS) buckets. * * @remarks * Before you call this operation, take note of the following items: * * You can subscribe to only one type of bill at a time. * * The bills generated on the previous day are pushed on a daily basis the next day after you subscribe to the bills. The full-data bills for the previous month are pushed on the fourth day of each month. The monthly bills in the PDF format for the previous month are pushed on the fourth day of each month. * * The daily bills may be delayed. The delayed bills are pushed the next day after they are generated. The delayed bills may include the bills that should have been pushed on the previous day. We recommend that you query the full-data bills for the previous month at the beginning of each month. * * The bill subscriber must have the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission. * * The SubscribeBillToOSS operation has the same functionality as the Save Expense Details to OSS Bucket feature in User Center. * * To subscribe to the bills stored in an OSS bucket, make sure that the directory name specified for the OSS bucket conforms to the following naming rules: * 1. 1. The directory name can contain only UTF-8 characters and cannot contain emoticons. * 2. 2. Forward slashes (/) are used to separate paths and can be used to create subdirectories with ease. The directory name cannot start with a forward slash (/), a backslash (\\\\), or consecutive forward slashes (/). * 3. 3. The name of a subdirectory cannot be set to two consecutive periods (..). * 4. 4. The directory name must be 1 to 254 characters in length. * * File names: * * **BillingItemDetailForBillingPeriod** (Detailed bills of billable items) * * File name format for a daily push: `UID_BillingItemDetail_YYYYMMDD`. Example: `169**_BillingItemDetail_20190310`. * * File name format for a full-data push at the beginning of the next month: `UID_BillingItemDetail_YYYYMM`. Example: `169**_BillingItemDetail_201903`. * * **InstanceDetailForBillingPeriod** (Detailed bills of instances) * * File name format for a daily push: `UID_InstanceDetail_YYYYMMDD`. Example: `169**_InstanceDetail_20190310`. * * File name format for a full-data push at the beginning of the next month: `UID_InstanceDetail_YYYYMM`. Example: `169**_InstanceDetail_201903`. * * **InstanceDetailMonthly** (Instance-based bills summarized by billing cycle) * * File name format for a daily push: `UID_InstanceDetailMonthly_YYYYMM`. Example: `169**_InstanceDetailMonthly_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **BillingItemDetailMonthly** (Billable item-based bills summarized by billing cycle) * * File name format for a daily push: `UID_BillingItemDetailMonthly_YYYYMM`. Example: `169**_BillingItemDetailMonthly_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **SplitItemDetailDaily** (Split bills summarized by day) * * File name format for a daily push: `UID_SplitItemDetailDaily_YYYYMM`. Example: `169**_SplitItemDetailDaily_201903`. A bill of this type contains the full data generated from the beginning of the month to the current day, and is updated every day until the fourth day of the next month. * * **MonthBill** (Monthly bill in the PDF format) * * File name format for a monthly push: `UID_MonthBill_YYYYMM`. Example: `169**_MonthBill_201903`. The bill for the previous month is pushed on the fourth day of each month. * * The bills of the MonthBill type are PDF files, whereas the bills of other types are CSV files. If the number of data rows in a bill exceeds a threshold, the bill is automatically split into multiple CSV files. Then, the multiple CSV files are automatically merged and compressed into a ZIP file that has the same name format as the original file. * * @param request - SubscribeBillToOSSRequest * @returns SubscribeBillToOSSResponse */ subscribeBillToOSS(request: $_model.SubscribeBillToOSSRequest): Promise<$_model.SubscribeBillToOSSResponse>; /** * Add tags to resources. * * @param request - TagResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns TagResourcesResponse */ tagResourcesWithOptions(request: $_model.TagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>; /** * Add tags to resources. * * @param request - TagResourcesRequest * @returns TagResourcesResponse */ tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>; /** * Unsubscribes from the bills that are stored in Object Storage Service (OSS) buckets. * * @param request - UnsubscribeBillToOSSRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UnsubscribeBillToOSSResponse */ unsubscribeBillToOSSWithOptions(request: $_model.UnsubscribeBillToOSSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UnsubscribeBillToOSSResponse>; /** * Unsubscribes from the bills that are stored in Object Storage Service (OSS) buckets. * * @param request - UnsubscribeBillToOSSRequest * @returns UnsubscribeBillToOSSResponse */ unsubscribeBillToOSS(request: $_model.UnsubscribeBillToOSSRequest): Promise<$_model.UnsubscribeBillToOSSResponse>; /** * Removes tags from resources. * * @param request - UntagResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UntagResourcesResponse */ untagResourcesWithOptions(request: $_model.UntagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse>; /** * Removes tags from resources. * * @param request - UntagResourcesRequest * @returns UntagResourcesResponse */ untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>; /** * Upgrades a resource plan. * * @param request - UpgradeResourcePackageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpgradeResourcePackageResponse */ upgradeResourcePackageWithOptions(request: $_model.UpgradeResourcePackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeResourcePackageResponse>; /** * Upgrades a resource plan. * * @param request - UpgradeResourcePackageRequest * @returns UpgradeResourcePackageResponse */ upgradeResourcePackage(request: $_model.UpgradeResourcePackageRequest): Promise<$_model.UpgradeResourcePackageResponse>; }