@leaflow/sdk 0.212.0 → 0.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/type/checkout/v1/generated/models.d.ts +14 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +9 -0
- package/dist/billing/type/funds/v1/generated/functions.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/functions.js +1 -1
- package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
- package/dist/billing/type/funds/v1/generated/schemas.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/schemas.zod.js +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/type/funds/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/type/funds/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/functions.d.ts +220 -170
- package/dist/billing/v1/generated/functions.js +242 -189
- package/dist/billing/v1/generated/models.d.ts +973 -658
- package/dist/billing/v1/generated/models.js +75 -62
- package/dist/billing/v1/generated/schemas.zod.d.ts +160 -109
- package/dist/billing/v1/generated/schemas.zod.js +176 -121
- package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/activeResource.zod.js +4 -3
- package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowance.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/allowance.zod.js +6 -2
- package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellation.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +6 -5
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/cancellationItemInput.zod.js +13 -0
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +3 -3
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +5 -4
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +5 -3
- package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +9 -8
- package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +4 -1
- package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +10 -1
- package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +272 -7
- package/dist/billing/v1/generated/validators/checkoutSession.zod.js +53 -14
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -3
- package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +3 -10
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +5 -2
- package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +9 -3
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.d.ts +29 -0
- package/dist/billing/v1/generated/validators/checkoutSessionDiscount.zod.js +32 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +32 -2
- package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +62 -8
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemDowngradeRefund.zod.js +15 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.d.ts +42 -0
- package/dist/billing/v1/generated/validators/checkoutSessionItemInput.zod.js +41 -0
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +272 -7
- package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.d.ts +91 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewRequest.zod.js +69 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.d.ts +57 -0
- package/dist/billing/v1/generated/validators/checkoutSessionPreviewSubscription.zod.js +22 -0
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +273 -7
- package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +95 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +53 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.js +13 -0
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.d.ts +24 -0
- package/dist/billing/v1/generated/validators/checkoutSessionTrial.zod.js +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/checkoutSessionUpdate.zod.js +27 -0
- package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/customerAddress.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/customerAddress.zod.js +24 -0
- package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/discountStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlement.zod.js +2 -2
- package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/error.zod.js +1 -1
- package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/errorStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/fieldViolation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItem.zod.js +2 -2
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +2 -2
- package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +2 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listPricesParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/listRenewalOptionsParams.zod.js +24 -0
- package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +5 -2
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +8 -2
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.d.ts +27 -0
- package/dist/billing/v1/generated/validators/listTrialGrantsParams.zod.js +28 -0
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +3 -3
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/money.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
- package/dist/billing/v1/generated/validators/order.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/order.zod.js +3 -3
- package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/orderItem.zod.js +9 -5
- package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +2 -2
- package/dist/billing/v1/generated/validators/orderList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +2 -2
- package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/plan.zod.js +3 -3
- package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
- package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/price.zod.js +3 -3
- package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceSearch.zod.js +3 -3
- package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/product.zod.js +3 -3
- package/dist/billing/v1/generated/validators/productId.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/productId.zod.js +16 -0
- package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundReason.zod.js +2 -2
- package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/refundStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/renewRequest.zod.js +4 -4
- package/dist/billing/v1/generated/validators/renewalOption.zod.d.ts +37 -0
- package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.d.ts +26 -0
- package/dist/billing/v1/generated/validators/renewalOptionItem.zod.js +25 -0
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
- package/dist/billing/v1/generated/validators/renewalOptionList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscription.zod.d.ts +132 -113
- package/dist/billing/v1/generated/validators/subscription.zod.js +40 -74
- package/dist/billing/v1/generated/validators/subscriptionData.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionData.zod.js +27 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.d.ts +25 -0
- package/dist/billing/v1/generated/validators/subscriptionDataInput.zod.js +22 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +104 -0
- package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
- package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.d.ts → subscriptionItemCancellation.zod.d.ts} +5 -5
- package/dist/billing/v1/generated/validators/subscriptionItemCancellation.zod.js +31 -0
- package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +132 -112
- package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +3 -3
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
- package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
- package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/topUpStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionStatus.zod.js +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
- package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +152 -0
- package/dist/billing/v1/generated/validators/trialGrant.zod.js +33 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +159 -0
- package/dist/billing/v1/generated/validators/trialGrantList.zod.js +14 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.d.ts +17 -0
- package/dist/billing/v1/generated/validators/trialGrantStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +136 -0
- package/dist/billing/v1/generated/validators/trialOffer.zod.js +21 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +20 -0
- package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
- package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/usageCharge.zod.js +3 -2
- package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +2 -1
- package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +3 -3
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +1 -1
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +1 -1
- package/dist/canopy/v1/generated/models.d.ts +15 -1
- package/dist/canopy/v1/generated/schemas.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +9 -0
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +2 -0
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
- package/dist/compute/v2/generated/functions.d.ts +373 -285
- package/dist/compute/v2/generated/functions.js +232 -76
- package/dist/compute/v2/generated/models.d.ts +379 -336
- package/dist/compute/v2/generated/models.js +9 -9
- package/dist/compute/v2/generated/schemas.zod.d.ts +176 -98
- package/dist/compute/v2/generated/schemas.zod.js +157 -85
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.d.ts → associateElasticIpRequestBody.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.js → associateElasticIpRequestBody.zod.js} +3 -3
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{imageID.zod.d.ts → availabilityZoneId.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.js → availabilityZoneId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +4 -4
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +3 -3
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{updateElasticIPRequestBody.zod.d.ts → changeElasticIpBandwidthRequestBody.zod.d.ts} +8 -10
- package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +5 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +11 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.d.ts → createElasticIpRequestBody.zod.d.ts} +11 -8
- package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.js → createElasticIpRequestBody.zod.js} +13 -11
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.d.ts → createElasticIpResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.js → createElasticIpResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +6 -6
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +5 -5
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +7 -4
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +11 -9
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.d.ts → deleteElasticIpResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.js → deleteElasticIpResponseBody.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{elasticIP.zod.d.ts → elasticIp.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{elasticIP.zod.js → elasticIp.zod.js} +23 -19
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.d.ts → elasticIpAssociation.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.js → elasticIpAssociation.zod.js} +12 -12
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{updateElasticIPResponseBody.zod.d.ts → elasticIpChangeResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.js → elasticIpChangeResponseBody.zod.js} +8 -8
- package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{elasticIPID.zod.js → elasticIpId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.d.ts → elasticIpLine.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{elasticIPLine.zod.js → elasticIpLine.zod.js} +13 -13
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.d.ts → elasticIpLineListResponseBody.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.js → elasticIpLineListResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.d.ts → elasticIpListResponseBody.zod.d.ts} +9 -7
- package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.js → elasticIpListResponseBody.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.d.ts → elasticIpReleaseResource.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.js → elasticIpReleaseResource.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/error.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/error.zod.js +2 -2
- package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/errorStatus.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.d.ts → existingElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{existingElasticIP.zod.js → existingElasticIp.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +4 -4
- package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/fieldViolation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{imageID.zod.js → imageId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/instance.zod.js +26 -22
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.d.ts → instanceElasticIp.zod.d.ts} +5 -5
- package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.js → instanceElasticIp.zod.js} +6 -6
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +6 -6
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceFamilyID.zod.js → instanceFamilyId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceID.zod.js → instanceId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +5 -5
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.js +10 -10
- package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceTypeID.zod.js → instanceTypeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{instanceVolumeID.zod.js → instanceVolumeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +3 -3
- package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{iPv4HostAddress.zod.js → ipv4HostAddress.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/latestOperation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.d.ts → launchTemplateElasticIp.zod.d.ts} +6 -6
- package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.js → launchTemplateElasticIp.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{launchTemplateID.zod.js → launchTemplateId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +6 -6
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +4 -4
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +8 -8
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +8 -8
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +4 -4
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +6 -6
- package/dist/compute/v2/generated/validators/money.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/money.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +6 -6
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{regionID.zod.d.ts → networkInterfaceAddressId.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +8 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{networkInterfaceID.zod.js → networkInterfaceId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +6 -6
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.js +4 -4
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +4 -4
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.d.ts → newElasticIp.zod.d.ts} +6 -6
- package/dist/compute/v2/generated/validators/{newElasticIP.zod.js → newElasticIp.zod.js} +7 -7
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +6 -6
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +6 -6
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{operationLogID.zod.js → operationLogId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +14 -10
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +4 -4
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +6 -6
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{regionID.zod.js → regionId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +3 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +5 -4
- package/dist/compute/v2/generated/validators/{elasticIPLineID.zod.d.ts → replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts} +8 -8
- package/dist/compute/v2/generated/validators/{elasticIPID.zod.d.ts → replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js} +11 -8
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/{updateInstanceResponseBody.zod.d.ts → resizeInstanceResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/resizeInstanceResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +4 -4
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +6 -6
- package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{securityGroupID.zod.js → securityGroupId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{securityGroupIDOrWildcard.zod.js → securityGroupIdOrWildcard.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +6 -6
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{subnetID.zod.js → subnetId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +2 -12
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +3 -11
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +2 -4
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +3 -11
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +2 -13
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +3 -16
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +6 -6
- package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudID.zod.js → virtualPrivateCloudId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudIDOrWildcard.zod.js → virtualPrivateCloudIdOrWildcard.zod.js} +5 -5
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +9 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +8 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +6 -6
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +8 -8
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeBackupID.zod.js → volumeBackupId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.d.ts → volumeChangeResponseBody.zod.d.ts} +8 -6
- package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.d.ts → volumeChangeResponseBody.zod.js} +15 -8
- package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeID.zod.js → volumeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeSnapshotID.zod.js → volumeSnapshotId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +4 -4
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +4 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +16 -12
- package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/{volumeTypeID.zod.js → volumeTypeId.zod.js} +9 -9
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +8 -8
- package/dist/membership/v1/generated/functions.d.ts +1 -1
- package/dist/membership/v1/generated/functions.js +1 -1
- package/dist/membership/v1/generated/models.d.ts +14 -0
- package/dist/membership/v1/generated/schemas.zod.d.ts +5 -1
- package/dist/membership/v1/generated/schemas.zod.js +1 -1
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +3 -0
- package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +9 -0
- package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +2 -0
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +19 -7
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.js +1 -1
- package/dist/routes.d.ts +84 -36
- package/dist/routes.js +91 -37
- package/dist/swas/v1/generated/models.d.ts +6 -6
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +1 -1
- package/dist/swas/v1/generated/validators/price.zod.js +1 -1
- package/dist/swas/v1/generated/validators/priceOption.zod.js +2 -2
- package/dist/swas/v1/generated/validators/purchase.zod.js +1 -1
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +1 -1
- package/package.json +1 -1
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +0 -13
- package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +0 -11
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +0 -27
- package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +0 -12
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +0 -18
- package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +0 -24
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +0 -18
- package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +0 -24
- package/dist/billing/v1/generated/validators/productID.zod.d.ts +0 -13
- package/dist/billing/v1/generated/validators/productID.zod.js +0 -16
- package/dist/billing/v1/generated/validators/quote.zod.d.ts +0 -105
- package/dist/billing/v1/generated/validators/quote.zod.js +0 -37
- package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +0 -16
- package/dist/billing/v1/generated/validators/quoteAddress.zod.js +0 -22
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +0 -42
- package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +0 -38
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +0 -14
- package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +0 -15
- package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +0 -51
- package/dist/billing/v1/generated/validators/quoteItem.zod.js +0 -70
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +0 -41
- package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +0 -34
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -27
- package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +0 -26
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +0 -27
- package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +0 -24
- package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +0 -101
- package/dist/billing/v1/generated/validators/quoteRequest.zod.js +0 -57
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +0 -29
- package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +0 -32
- package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +0 -33
- package/dist/billing/v1/generated/validators/renewalPrice.zod.js +0 -25
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +0 -40
- package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +0 -14
- package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +0 -31
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +0 -48
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +0 -49
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +0 -39
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +0 -44
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +0 -41
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +0 -41
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* ## Conventions
|
|
12
12
|
*
|
|
13
13
|
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
-
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components,
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, preview the checkout of a proposed purchase, or of a change of a resource by its `subscription_id`, with `preview-checkout-session`; Compute has no pricing or price proxy endpoint and returns no amounts.
|
|
15
15
|
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only descriptive fields, all optional and at least one given, and answers 200. A change that starts an operation or a purchase, such as a resize, is its own method (`:resize`, `:retype`, `:changeBandwidth`).
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
33
|
* OpenAPI spec version: 2.0.0
|
|
34
34
|
*/
|
|
35
|
-
import type {
|
|
35
|
+
import type { AssociateElasticIpRequestBody, AttachNetworkInterfaceRequestBody, AttachVolumeRequestBody, AvailabilityZoneId, AvailabilityZoneListResponseBody, AvailabilityZoneResource, ChangeElasticIpBandwidthRequestBody, ChangeElasticIpChargeTypeRequestBody, ConflictResponse, ConsoleResponseBody, CreateElasticIpRequestBody, CreateElasticIpResponseBody, CreateInstanceRequestBody, CreateInstanceResponseBody, CreateLaunchTemplateRequestBody, CreateLaunchTemplateResponseBody, CreateNetworkInterfaceAddressRequestBody, CreateNetworkInterfaceRequestBody, CreatePrivateImageRequestBody, CreatePrivateImageResponseBody, CreateSecurityGroupRequestBody, CreateSecurityGroupRuleRequestBody, CreateVirtualPrivateCloudPeeringRequestBody, CreateVirtualPrivateCloudRequestBody, CreateVirtualPrivateCloudRouteRequestBody, CreateVirtualPrivateCloudSubnetRequestBody, CreateVolumeBackupRequestBody, CreateVolumeBackupResponseBody, CreateVolumeRequestBody, CreateVolumeResponseBody, CreateVolumeSnapshotRequestBody, CreateVolumeSnapshotResponseBody, DeleteElasticIpParams, DeleteElasticIpResponseBody, DeleteInstanceParams, DeleteInstanceResponseBody, DeletePrivateImageParams, DeletePrivateImageResponseBody, DeleteVolumeBackupParams, DeleteVolumeBackupResponseBody, DeleteVolumeParams, DeleteVolumeResponseBody, DeleteVolumeSnapshotParams, DeleteVolumeSnapshotResponseBody, ElasticIp, ElasticIpAssociation, ElasticIpChangeResponseBody, ElasticIpId, ElasticIpLine, ElasticIpLineId, ElasticIpLineListResponseBody, ElasticIpListResponseBody, Error, FreeSubnetCidr, GetVirtualPrivateCloudFreeSubnetCidrParams, ImageId, Instance, InstanceFamily, InstanceFamilyId, InstanceFamilyListResponseBody, InstanceId, InstanceListResponseBody, InstanceType, InstanceTypeId, InstanceTypeListResponseBody, LaunchTemplate, LaunchTemplateId, LaunchTemplateListResponseBody, LaunchTemplateVersion, LaunchTemplateVersionListResponseBody, ListAvailabilityZonesParams, ListElasticIpLinesParams, ListElasticIpTrafficUsageParams, ListElasticIpsParams, ListInstanceFamiliesParams, ListInstanceNetworkInterfacesParams, ListInstanceTypesParams, ListInstanceVolumesParams, ListInstancesParams, ListLaunchTemplateVersionsParams, ListLaunchTemplatesParams, ListNetworkInterfacesParams, ListOperationLogsParams, ListPrivateImagesParams, ListPublicImagesParams, ListQuotasParams, ListRegionsParams, ListSecurityGroupRulesParams, ListSecurityGroupsParams, ListVirtualPrivateCloudPeeringsParams, ListVirtualPrivateCloudRoutesParams, ListVirtualPrivateCloudSubnetsParams, ListVirtualPrivateCloudsParams, ListVolumeBackupsParams, ListVolumeSnapshotsParams, ListVolumeTypesParams, ListVolumesParams, NetworkInterface, NetworkInterfaceAddressId, NetworkInterfaceAttachmentList, NetworkInterfaceId, NetworkInterfaceListResponseBody, NewLaunchTemplateVersion, OperationLogId, OperationLogListResponseBody, OperationLogResource, PasswordChoice, PrivateImageListResponseBody, PrivateImageResource, ProjectQuota, ProjectQuotaListResponseBody, PublicImageListResponseBody, PublicImageResource, QuotaResourceType, RebootInstanceRequestBody, RebuildInstanceRequestBody, RebuildInstanceResponseBody, RegionId, RegionListResponseBody, RegionResource, ReplaceNetworkInterfaceSecurityGroupsRequestBody, RescueInstanceResponseBody, ResetInstancePasswordResponseBody, ResizeInstanceRequestBody, ResizeInstanceResponseBody, ResizeVolumeRequestBody, RetypeVolumeRequestBody, RevertVolumeRequestBody, RunInstanceCommandRequestBody, RunInstanceCommandResponseBody, SecurityGroup, SecurityGroupId, SecurityGroupIdOrWildcard, SecurityGroupListResponseBody, SecurityGroupRule, SecurityGroupRuleId, SecurityGroupRuleListResponseBody, SubnetId, TrafficUsageListResponseBody, UpdateInstanceRequestBody, UpdateLaunchTemplateRequestBody, UpdateNetworkInterfaceRequestBody, UpdatePrivateImageRequestBody, UpdateSecurityGroupRequestBody, UpdateVirtualPrivateCloudRequestBody, UpdateVirtualPrivateCloudSubnetRequestBody, UpdateVolumeBackupRequestBody, UpdateVolumeRequestBody, UpdateVolumeSnapshotRequestBody, VirtualPrivateCloud, VirtualPrivateCloudId, VirtualPrivateCloudIdOrWildcard, VirtualPrivateCloudListResponseBody, VirtualPrivateCloudPeeringId, VirtualPrivateCloudPeeringListResponseBody, VirtualPrivateCloudPeeringResource, VirtualPrivateCloudRouteId, VirtualPrivateCloudRouteListResponseBody, VirtualPrivateCloudRouteResource, VirtualPrivateCloudSubnet, VirtualPrivateCloudSubnetListResponseBody, VolumeAttachmentList, VolumeBackupId, VolumeBackupListResponseBody, VolumeBackupResource, VolumeChangeResponseBody, VolumeId, VolumeListResponseBody, VolumeResource, VolumeSnapshotId, VolumeSnapshotListResponseBody, VolumeSnapshotResource, VolumeTypeId, VolumeTypeListResponseBody, VolumeTypeResource } from "./models.js";
|
|
36
36
|
export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
|
|
37
37
|
export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
|
|
38
38
|
export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
|
|
@@ -75,14 +75,14 @@ export type getAvailabilityZoneResponseError = getAvailabilityZoneResponseDefaul
|
|
|
75
75
|
headers: Headers;
|
|
76
76
|
};
|
|
77
77
|
export type getAvailabilityZoneResponse = getAvailabilityZoneResponseSuccess | getAvailabilityZoneResponseError;
|
|
78
|
-
export declare const getGetAvailabilityZoneUrl: (availabilityZoneId:
|
|
78
|
+
export declare const getGetAvailabilityZoneUrl: (availabilityZoneId: AvailabilityZoneId) => string;
|
|
79
79
|
/**
|
|
80
80
|
* A volume and an instance must reside in the same availability zone to be attached.
|
|
81
81
|
* @summary Retrieve an availability zone
|
|
82
82
|
*/
|
|
83
|
-
export declare const getAvailabilityZone: (availabilityZoneId:
|
|
83
|
+
export declare const getAvailabilityZone: (availabilityZoneId: AvailabilityZoneId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getAvailabilityZoneResponse>;
|
|
84
84
|
export type listElasticIpLinesResponse200 = {
|
|
85
|
-
data:
|
|
85
|
+
data: ElasticIpLineListResponseBody;
|
|
86
86
|
status: 200;
|
|
87
87
|
};
|
|
88
88
|
export type listElasticIpLinesResponseDefault = {
|
|
@@ -103,7 +103,7 @@ export declare const getListElasticIpLinesUrl: (params?: ListElasticIpLinesParam
|
|
|
103
103
|
*/
|
|
104
104
|
export declare const listElasticIpLines: (params?: ListElasticIpLinesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listElasticIpLinesResponse>;
|
|
105
105
|
export type getElasticIpLineResponse200 = {
|
|
106
|
-
data:
|
|
106
|
+
data: ElasticIpLine;
|
|
107
107
|
status: 200;
|
|
108
108
|
};
|
|
109
109
|
export type getElasticIpLineResponseDefault = {
|
|
@@ -117,14 +117,14 @@ export type getElasticIpLineResponseError = getElasticIpLineResponseDefault & {
|
|
|
117
117
|
headers: Headers;
|
|
118
118
|
};
|
|
119
119
|
export type getElasticIpLineResponse = getElasticIpLineResponseSuccess | getElasticIpLineResponseError;
|
|
120
|
-
export declare const getGetElasticIpLineUrl: (elasticIpLineId:
|
|
120
|
+
export declare const getGetElasticIpLineUrl: (elasticIpLineId: ElasticIpLineId) => string;
|
|
121
121
|
/**
|
|
122
122
|
* Includes lines off sale that existing elastic IPs are on. No inventory or gateway facts are returned.
|
|
123
123
|
* @summary Get an elastic IP line
|
|
124
124
|
*/
|
|
125
|
-
export declare const getElasticIpLine: (elasticIpLineId:
|
|
125
|
+
export declare const getElasticIpLine: (elasticIpLineId: ElasticIpLineId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getElasticIpLineResponse>;
|
|
126
126
|
export type listElasticIpsResponse200 = {
|
|
127
|
-
data:
|
|
127
|
+
data: ElasticIpListResponseBody;
|
|
128
128
|
status: 200;
|
|
129
129
|
};
|
|
130
130
|
export type listElasticIpsResponseDefault = {
|
|
@@ -144,7 +144,7 @@ export declare const getListElasticIpsUrl: (params?: ListElasticIpsParams) => st
|
|
|
144
144
|
*/
|
|
145
145
|
export declare const listElasticIps: (params?: ListElasticIpsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listElasticIpsResponse>;
|
|
146
146
|
export type createElasticIpResponse202 = {
|
|
147
|
-
data:
|
|
147
|
+
data: CreateElasticIpResponseBody;
|
|
148
148
|
status: 202;
|
|
149
149
|
};
|
|
150
150
|
export type createElasticIpResponse409 = {
|
|
@@ -174,12 +174,16 @@ export declare const getCreateElasticIpUrl: () => string;
|
|
|
174
174
|
*
|
|
175
175
|
* Allocation does not select or create a virtual private cloud. A later association selects an assigned network-interface address; Compute then establishes the required network connectivity.
|
|
176
176
|
*
|
|
177
|
+
* An elastic IP bought on its own has a Billing subscription of its own, with two items: the address, always pay-as-you-go and charged while the address is not associated with anything, and the network, on the chosen terms.
|
|
178
|
+
*
|
|
179
|
+
* **Buying for an instance.** With `instance_id`, the elastic IP is associated with the primary network interface of that instance of the project once created, and its two items join the instance's Billing subscription: a prepaid network item is charged up to the instance's term end, the rest of the current period in proportion to the time left, and from then on renews, renews automatically and expires with the instance. `billing` may be omitted to take the instance's terms; given, its usage type and period must be the instance's (422 `ELASTIC_IP_BILLING_TERMS_MISMATCH`). An instance that cannot take another elastic IP, or whose type allows less bandwidth than `bandwidth_mbps`, is refused before anything is ordered, as associating would be.
|
|
180
|
+
*
|
|
177
181
|
* The elastic IP is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
178
182
|
* @summary Allocate an elastic IP
|
|
179
183
|
*/
|
|
180
|
-
export declare const createElasticIp: (
|
|
184
|
+
export declare const createElasticIp: (createElasticIpRequestBody: CreateElasticIpRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createElasticIpResponse>;
|
|
181
185
|
export type getElasticIpResponse200 = {
|
|
182
|
-
data:
|
|
186
|
+
data: ElasticIp;
|
|
183
187
|
status: 200;
|
|
184
188
|
};
|
|
185
189
|
export type getElasticIpResponseDefault = {
|
|
@@ -193,80 +197,99 @@ export type getElasticIpResponseError = getElasticIpResponseDefault & {
|
|
|
193
197
|
headers: Headers;
|
|
194
198
|
};
|
|
195
199
|
export type getElasticIpResponse = getElasticIpResponseSuccess | getElasticIpResponseError;
|
|
196
|
-
export declare const getGetElasticIpUrl: (elasticIpId:
|
|
200
|
+
export declare const getGetElasticIpUrl: (elasticIpId: ElasticIpId) => string;
|
|
197
201
|
/**
|
|
198
202
|
* @summary Retrieve an elastic IP
|
|
199
203
|
*/
|
|
200
|
-
export declare const getElasticIp: (elasticIpId:
|
|
201
|
-
export type
|
|
202
|
-
data:
|
|
203
|
-
status: 200;
|
|
204
|
-
};
|
|
205
|
-
export type updateElasticIpResponse202 = {
|
|
206
|
-
data: UpdateElasticIPResponseBody;
|
|
204
|
+
export declare const getElasticIp: (elasticIpId: ElasticIpId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getElasticIpResponse>;
|
|
205
|
+
export type deleteElasticIpResponse202 = {
|
|
206
|
+
data: DeleteElasticIpResponseBody;
|
|
207
207
|
status: 202;
|
|
208
208
|
};
|
|
209
|
-
export type
|
|
209
|
+
export type deleteElasticIpResponse409 = {
|
|
210
210
|
data: ConflictResponse;
|
|
211
211
|
status: 409;
|
|
212
212
|
};
|
|
213
|
-
export type
|
|
213
|
+
export type deleteElasticIpResponseDefault = {
|
|
214
214
|
data: Error;
|
|
215
|
-
status: Exclude<HTTPStatusCodes,
|
|
215
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
216
216
|
};
|
|
217
|
-
export type
|
|
217
|
+
export type deleteElasticIpResponseSuccess = deleteElasticIpResponse202 & {
|
|
218
218
|
headers: Headers;
|
|
219
219
|
};
|
|
220
|
-
export type
|
|
220
|
+
export type deleteElasticIpResponseError = (deleteElasticIpResponse409 | deleteElasticIpResponseDefault) & {
|
|
221
221
|
headers: Headers;
|
|
222
222
|
};
|
|
223
|
-
export type
|
|
224
|
-
export declare const
|
|
223
|
+
export type deleteElasticIpResponse = deleteElasticIpResponseSuccess | deleteElasticIpResponseError;
|
|
224
|
+
export declare const getDeleteElasticIpUrl: (elasticIpId: ElasticIpId, params?: DeleteElasticIpParams) => string;
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* Releases the elastic IP after dissociating it. The elastic IP is `deleting` until cleanup is confirmed; the address then immediately returns to available inventory, with no cooldown period. Deleting the association or replacing it alone does not release the address.
|
|
227
227
|
*
|
|
228
|
-
*
|
|
228
|
+
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
229
229
|
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
230
|
+
* While subscription items pay for the elastic IP (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the elastic IP working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
231
|
+
* @summary Release an elastic IP
|
|
232
|
+
*/
|
|
233
|
+
export declare const deleteElasticIp: (elasticIpId: ElasticIpId, params?: DeleteElasticIpParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteElasticIpResponse>;
|
|
234
|
+
export type changeElasticIpBandwidthResponse202 = {
|
|
235
|
+
data: ElasticIpChangeResponseBody;
|
|
236
|
+
status: 202;
|
|
237
|
+
};
|
|
238
|
+
export type changeElasticIpBandwidthResponse409 = {
|
|
239
|
+
data: ConflictResponse;
|
|
240
|
+
status: 409;
|
|
241
|
+
};
|
|
242
|
+
export type changeElasticIpBandwidthResponseDefault = {
|
|
243
|
+
data: Error;
|
|
244
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
245
|
+
};
|
|
246
|
+
export type changeElasticIpBandwidthResponseSuccess = changeElasticIpBandwidthResponse202 & {
|
|
247
|
+
headers: Headers;
|
|
248
|
+
};
|
|
249
|
+
export type changeElasticIpBandwidthResponseError = (changeElasticIpBandwidthResponse409 | changeElasticIpBandwidthResponseDefault) & {
|
|
250
|
+
headers: Headers;
|
|
251
|
+
};
|
|
252
|
+
export type changeElasticIpBandwidthResponse = changeElasticIpBandwidthResponseSuccess | changeElasticIpBandwidthResponseError;
|
|
253
|
+
export declare const getChangeElasticIpBandwidthUrl: (elasticIpId: ElasticIpId) => string;
|
|
254
|
+
/**
|
|
255
|
+
* Changes the bandwidth ceiling of this elastic IP. No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network item:
|
|
232
256
|
*
|
|
233
|
-
*
|
|
257
|
+
* - **Prepaid**: the change goes through a Checkout Session that changes the network item, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
258
|
+
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
234
259
|
*
|
|
235
260
|
* The elastic IP is `updating_bandwidth` until the change is applied or ends, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied.
|
|
236
261
|
*
|
|
237
262
|
* While the address is associated with an instance, the limit must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`. The limit of an address that is not associated is checked when the address is associated with an instance.
|
|
238
|
-
* @summary
|
|
263
|
+
* @summary Change the bandwidth of an elastic IP
|
|
239
264
|
*/
|
|
240
|
-
export declare const
|
|
241
|
-
export type
|
|
242
|
-
data:
|
|
265
|
+
export declare const changeElasticIpBandwidth: (elasticIpId: ElasticIpId, changeElasticIpBandwidthRequestBody: ChangeElasticIpBandwidthRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<changeElasticIpBandwidthResponse>;
|
|
266
|
+
export type changeElasticIpChargeTypeResponse202 = {
|
|
267
|
+
data: ElasticIp;
|
|
243
268
|
status: 202;
|
|
244
269
|
};
|
|
245
|
-
export type
|
|
270
|
+
export type changeElasticIpChargeTypeResponse409 = {
|
|
246
271
|
data: ConflictResponse;
|
|
247
272
|
status: 409;
|
|
248
273
|
};
|
|
249
|
-
export type
|
|
274
|
+
export type changeElasticIpChargeTypeResponseDefault = {
|
|
250
275
|
data: Error;
|
|
251
276
|
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
252
277
|
};
|
|
253
|
-
export type
|
|
278
|
+
export type changeElasticIpChargeTypeResponseSuccess = changeElasticIpChargeTypeResponse202 & {
|
|
254
279
|
headers: Headers;
|
|
255
280
|
};
|
|
256
|
-
export type
|
|
281
|
+
export type changeElasticIpChargeTypeResponseError = (changeElasticIpChargeTypeResponse409 | changeElasticIpChargeTypeResponseDefault) & {
|
|
257
282
|
headers: Headers;
|
|
258
283
|
};
|
|
259
|
-
export type
|
|
260
|
-
export declare const
|
|
284
|
+
export type changeElasticIpChargeTypeResponse = changeElasticIpChargeTypeResponseSuccess | changeElasticIpChargeTypeResponseError;
|
|
285
|
+
export declare const getChangeElasticIpChargeTypeUrl: (elasticIpId: ElasticIpId) => string;
|
|
261
286
|
/**
|
|
262
|
-
*
|
|
287
|
+
* Moves a pay-as-you-go elastic IP between charging for its bandwidth and charging for its traffic, within the same network item and without checkout. A prepaid network item has paid for its bandwidth and is refused with `ELASTIC_IP_CHARGE_TYPE_PREPAID`; `traffic` on a line whose `traffic_sale_status` is `off_sale` is refused with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`, the type already in effect with `ELASTIC_IP_CHARGE_TYPE_UNCHANGED`, and a type the currency of the network item does not offer on the line with HTTP 403 `ELASTIC_IP_CHARGE_TYPE_NOT_OFFERED`: prices are set per currency, and a currency without one there does not sell that type.
|
|
263
288
|
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* While subscriptions pay for the elastic IP (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the elastic IP working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
267
|
-
* @summary Release an elastic IP
|
|
289
|
+
* The change takes effect at the instant it is applied: bandwidth stops being metered then and traffic starts being, or the other way round. Traffic is counted in windows, and a window is charged the way the elastic IP was charged for most of it, so a report that arrives late is still charged as it was at the time and a window the change falls in is never charged both ways. `bandwidth_mbps` stays the ceiling either way. The elastic IP is `updating_internet_charge_type` until the change is applied.
|
|
290
|
+
* @summary Change what an elastic IP is charged for
|
|
268
291
|
*/
|
|
269
|
-
export declare const
|
|
292
|
+
export declare const changeElasticIpChargeType: (elasticIpId: ElasticIpId, changeElasticIpChargeTypeRequestBody: ChangeElasticIpChargeTypeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<changeElasticIpChargeTypeResponse>;
|
|
270
293
|
export type listElasticIpTrafficUsageResponse200 = {
|
|
271
294
|
data: TrafficUsageListResponseBody;
|
|
272
295
|
status: 200;
|
|
@@ -282,16 +305,16 @@ export type listElasticIpTrafficUsageResponseError = listElasticIpTrafficUsageRe
|
|
|
282
305
|
headers: Headers;
|
|
283
306
|
};
|
|
284
307
|
export type listElasticIpTrafficUsageResponse = listElasticIpTrafficUsageResponseSuccess | listElasticIpTrafficUsageResponseError;
|
|
285
|
-
export declare const getListElasticIpTrafficUsageUrl: (elasticIpId:
|
|
308
|
+
export declare const getListElasticIpTrafficUsageUrl: (elasticIpId: ElasticIpId, params: ListElasticIpTrafficUsageParams) => string;
|
|
286
309
|
/**
|
|
287
310
|
* The bytes and packets the elastic IP's address sent upstream while the elastic IP held it, summed by hour or by day in UTC over `[start_time, end_time)`. Only intervals with traffic are listed. Inbound traffic is not measured.
|
|
288
311
|
*
|
|
289
312
|
* Traffic is reported by the region's collectors and appears some minutes after it is sent. Every elastic IP's traffic is shown, whatever it is billed by; only one billed by traffic is charged for it. A span longer than 31 days by hour, or 366 days by day, is refused with `TRAFFIC_USAGE_QUERY_INVALID`.
|
|
290
313
|
* @summary List the traffic an elastic IP sent
|
|
291
314
|
*/
|
|
292
|
-
export declare const listElasticIpTrafficUsage: (elasticIpId:
|
|
315
|
+
export declare const listElasticIpTrafficUsage: (elasticIpId: ElasticIpId, params: ListElasticIpTrafficUsageParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listElasticIpTrafficUsageResponse>;
|
|
293
316
|
export type getElasticIpAssociationResponse200 = {
|
|
294
|
-
data:
|
|
317
|
+
data: ElasticIpAssociation;
|
|
295
318
|
status: 200;
|
|
296
319
|
};
|
|
297
320
|
export type getElasticIpAssociationResponseDefault = {
|
|
@@ -305,16 +328,16 @@ export type getElasticIpAssociationResponseError = getElasticIpAssociationRespon
|
|
|
305
328
|
headers: Headers;
|
|
306
329
|
};
|
|
307
330
|
export type getElasticIpAssociationResponse = getElasticIpAssociationResponseSuccess | getElasticIpAssociationResponseError;
|
|
308
|
-
export declare const getGetElasticIpAssociationUrl: (elasticIpId:
|
|
331
|
+
export declare const getGetElasticIpAssociationUrl: (elasticIpId: ElasticIpId) => string;
|
|
309
332
|
/**
|
|
310
333
|
* The private address of a network interface this elastic IP currently points at. Returns the stored state; it does not query the cloud.
|
|
311
334
|
*
|
|
312
335
|
* An elastic IP that points at nothing has no association: the request is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
|
|
313
336
|
* @summary Retrieve the association of an elastic IP
|
|
314
337
|
*/
|
|
315
|
-
export declare const getElasticIpAssociation: (elasticIpId:
|
|
338
|
+
export declare const getElasticIpAssociation: (elasticIpId: ElasticIpId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getElasticIpAssociationResponse>;
|
|
316
339
|
export type associateElasticIpResponse202 = {
|
|
317
|
-
data:
|
|
340
|
+
data: ElasticIp;
|
|
318
341
|
status: 202;
|
|
319
342
|
};
|
|
320
343
|
export type associateElasticIpResponse409 = {
|
|
@@ -332,7 +355,7 @@ export type associateElasticIpResponseError = (associateElasticIpResponse409 | a
|
|
|
332
355
|
headers: Headers;
|
|
333
356
|
};
|
|
334
357
|
export type associateElasticIpResponse = associateElasticIpResponseSuccess | associateElasticIpResponseError;
|
|
335
|
-
export declare const getAssociateElasticIpUrl: (elasticIpId:
|
|
358
|
+
export declare const getAssociateElasticIpUrl: (elasticIpId: ElasticIpId) => string;
|
|
336
359
|
/**
|
|
337
360
|
* Points the elastic IP at a target: an instance, which means the primary private IPv4 address of its primary network interface, or a network interface address (`network_interface_address_id`) given directly. Exactly one of `instance_id` and `network_interface_address_id`. A network interface address must be an assigned, unreleased IPv4 address on a network interface in this project and region; IPv6 addresses are rejected.
|
|
338
361
|
*
|
|
@@ -341,9 +364,9 @@ export declare const getAssociateElasticIpUrl: (elasticIpId: ElasticIPID) => str
|
|
|
341
364
|
* The elastic IP must be in the same region as the target. With an instance as the target, the elastic IP's `bandwidth_mbps` must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`.
|
|
342
365
|
* @summary Associate an elastic IP with a target
|
|
343
366
|
*/
|
|
344
|
-
export declare const associateElasticIp: (elasticIpId:
|
|
367
|
+
export declare const associateElasticIp: (elasticIpId: ElasticIpId, associateElasticIpRequestBody: AssociateElasticIpRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<associateElasticIpResponse>;
|
|
345
368
|
export type disassociateElasticIpResponse202 = {
|
|
346
|
-
data:
|
|
369
|
+
data: ElasticIp;
|
|
347
370
|
status: 202;
|
|
348
371
|
};
|
|
349
372
|
export type disassociateElasticIpResponse409 = {
|
|
@@ -361,12 +384,12 @@ export type disassociateElasticIpResponseError = (disassociateElasticIpResponse4
|
|
|
361
384
|
headers: Headers;
|
|
362
385
|
};
|
|
363
386
|
export type disassociateElasticIpResponse = disassociateElasticIpResponseSuccess | disassociateElasticIpResponseError;
|
|
364
|
-
export declare const getDisassociateElasticIpUrl: (elasticIpId:
|
|
387
|
+
export declare const getDisassociateElasticIpUrl: (elasticIpId: ElasticIpId) => string;
|
|
365
388
|
/**
|
|
366
389
|
* The address remains held by the project and simply no longer points at any network interface. The elastic IP is `disassociating` until the change is confirmed, and an instance whose primary interface it pointed at is `disassociating_elastic_ip`. Removing an association that does not exist is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
|
|
367
390
|
* @summary Remove the association of an elastic IP
|
|
368
391
|
*/
|
|
369
|
-
export declare const disassociateElasticIp: (elasticIpId:
|
|
392
|
+
export declare const disassociateElasticIp: (elasticIpId: ElasticIpId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<disassociateElasticIpResponse>;
|
|
370
393
|
export type listInstanceFamiliesResponse200 = {
|
|
371
394
|
data: InstanceFamilyListResponseBody;
|
|
372
395
|
status: 200;
|
|
@@ -403,12 +426,12 @@ export type getInstanceFamilyResponseError = getInstanceFamilyResponseDefault &
|
|
|
403
426
|
headers: Headers;
|
|
404
427
|
};
|
|
405
428
|
export type getInstanceFamilyResponse = getInstanceFamilyResponseSuccess | getInstanceFamilyResponseError;
|
|
406
|
-
export declare const getGetInstanceFamilyUrl: (instanceFamilyId:
|
|
429
|
+
export declare const getGetInstanceFamilyUrl: (instanceFamilyId: InstanceFamilyId) => string;
|
|
407
430
|
/**
|
|
408
431
|
* Returns an instance family under the same rule as listing; a family with no instance type on sale or sold out returns 404.
|
|
409
432
|
* @summary Get an instance family
|
|
410
433
|
*/
|
|
411
|
-
export declare const getInstanceFamily: (instanceFamilyId:
|
|
434
|
+
export declare const getInstanceFamily: (instanceFamilyId: InstanceFamilyId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getInstanceFamilyResponse>;
|
|
412
435
|
export type listInstanceTypesResponse200 = {
|
|
413
436
|
data: InstanceTypeListResponseBody;
|
|
414
437
|
status: 200;
|
|
@@ -445,12 +468,12 @@ export type getInstanceTypeResponseError = getInstanceTypeResponseDefault & {
|
|
|
445
468
|
headers: Headers;
|
|
446
469
|
};
|
|
447
470
|
export type getInstanceTypeResponse = getInstanceTypeResponseSuccess | getInstanceTypeResponseError;
|
|
448
|
-
export declare const getGetInstanceTypeUrl: (instanceTypeId:
|
|
471
|
+
export declare const getGetInstanceTypeUrl: (instanceTypeId: InstanceTypeId) => string;
|
|
449
472
|
/**
|
|
450
473
|
* Returns an instance type on sale or sold out, under the same access rules as listing. Off-sale, retired or absent types return 404.
|
|
451
474
|
* @summary Get an instance type
|
|
452
475
|
*/
|
|
453
|
-
export declare const getInstanceType: (instanceTypeId:
|
|
476
|
+
export declare const getInstanceType: (instanceTypeId: InstanceTypeId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getInstanceTypeResponse>;
|
|
454
477
|
export type listInstancesResponse200 = {
|
|
455
478
|
data: InstanceListResponseBody;
|
|
456
479
|
status: 200;
|
|
@@ -499,7 +522,7 @@ export declare const getCreateInstanceUrl: () => string;
|
|
|
499
522
|
*
|
|
500
523
|
* The instances are created in the availability zone of their instance type, and the volumes bought with them have to be of volume types of that zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`). The types have to have room for all of them, checked before anything is ordered: refused with 409 `INSTANCE_TYPE_SOLD_OUT` or `VOLUME_TYPE_SOLD_OUT` when a type takes no new orders for now, `INSTANCE_TYPE_CAPACITY_REACHED` or `VOLUME_TYPE_CAPACITY_REACHED` when what is sold of it is used up, `INSTANCE_TYPE_NO_HOST_ROOM` when no host of the zone can take the machine, `VOLUME_TYPE_NO_POOL_ROOM` when the storage of the zone cannot take the boot volume, and `ELASTIC_IP_LINE_EXHAUSTED` when the line of the new elastic IPs has fewer addresses left than instances. Two orders placed at the same moment can both pass; an instance that finds a type full when its order is accepted is not created and is refunded, ending `failed` with `provisioning_failed`.
|
|
501
524
|
*
|
|
502
|
-
* Choose an image or existing volume through boot_volume, and exactly one of network_interface_id or subnet_id. Existing network interfaces, boot volumes or elastic IPs require count=1. They are not held while the instance is pending; if one is no longer usable when the order is accepted, the instance ends `failed` with `provisioning_failed`. Image boots require boot_volume; existing volumes retain their own subscription.
|
|
525
|
+
* Choose an image or existing volume through boot_volume, and exactly one of network_interface_id or subnet_id. Existing network interfaces, boot volumes or elastic IPs require count=1. They are not held while the instance is pending; if one is no longer usable when the order is accepted, the instance ends `failed` with `provisioning_failed`. Image boots require boot_volume; existing volumes retain their own subscription. Each instance gets its own Billing subscription, with the boot volume, data volumes and elastic IP bought with it as items of it: they renew, renew automatically and expire with the machine as a whole, while each can still be changed or released alone. `checkout.auto_renew` turns automatic renewal on for each machine.
|
|
503
526
|
*
|
|
504
527
|
* Instances of one request succeed or fail individually. Each instance, with its boot volume, network interface and elastic IP, is created or fails as a whole. Instances that were created are kept; each failed instance ends `failed` with `provisioning_failed`, its part of the order is refunded, and the order then ends `partially_completed`. An instance is delivered whole or not at all: when the customer cancels any of its order items before the order is accepted, it is not created, its remaining items are canceled and refunded, and it ends `failed` with `order_canceled`. Each instance is named after this request with a number appended.
|
|
505
528
|
*
|
|
@@ -524,53 +547,37 @@ export type getInstanceResponseError = getInstanceResponseDefault & {
|
|
|
524
547
|
headers: Headers;
|
|
525
548
|
};
|
|
526
549
|
export type getInstanceResponse = getInstanceResponseSuccess | getInstanceResponseError;
|
|
527
|
-
export declare const getGetInstanceUrl: (instanceId:
|
|
550
|
+
export declare const getGetInstanceUrl: (instanceId: InstanceId) => string;
|
|
528
551
|
/**
|
|
529
552
|
* Returns the stored state of the instance; it does not query the cloud. Use it to poll creation progress.
|
|
530
553
|
* @summary Retrieve an instance
|
|
531
554
|
*/
|
|
532
|
-
export declare const getInstance: (instanceId:
|
|
555
|
+
export declare const getInstance: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getInstanceResponse>;
|
|
533
556
|
export type updateInstanceResponse200 = {
|
|
534
|
-
data:
|
|
557
|
+
data: Instance;
|
|
535
558
|
status: 200;
|
|
536
559
|
};
|
|
537
|
-
export type updateInstanceResponse202 = {
|
|
538
|
-
data: UpdateInstanceResponseBody;
|
|
539
|
-
status: 202;
|
|
540
|
-
};
|
|
541
|
-
export type updateInstanceResponse409 = {
|
|
542
|
-
data: ConflictResponse;
|
|
543
|
-
status: 409;
|
|
544
|
-
};
|
|
545
560
|
export type updateInstanceResponseDefault = {
|
|
546
561
|
data: Error;
|
|
547
|
-
status: Exclude<HTTPStatusCodes, 200
|
|
562
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
548
563
|
};
|
|
549
|
-
export type updateInstanceResponseSuccess =
|
|
564
|
+
export type updateInstanceResponseSuccess = updateInstanceResponse200 & {
|
|
550
565
|
headers: Headers;
|
|
551
566
|
};
|
|
552
|
-
export type updateInstanceResponseError =
|
|
567
|
+
export type updateInstanceResponseError = updateInstanceResponseDefault & {
|
|
553
568
|
headers: Headers;
|
|
554
569
|
};
|
|
555
570
|
export type updateInstanceResponse = updateInstanceResponseSuccess | updateInstanceResponseError;
|
|
556
|
-
export declare const getUpdateInstanceUrl: (instanceId:
|
|
571
|
+
export declare const getUpdateInstanceUrl: (instanceId: InstanceId) => string;
|
|
557
572
|
/**
|
|
558
|
-
* Changes the descriptive fields
|
|
559
|
-
*
|
|
560
|
-
* `instance_type_id` starts a workflow and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the `instance_type_id` change and are accepted only together with it.
|
|
561
|
-
*
|
|
562
|
-
* **Descriptive fields** are not operations and are accepted at any time, whatever the instance is doing. The request returns 200 with `checkout_session_id` and `order_id` null.
|
|
573
|
+
* Changes the descriptive fields `name`, `labels` and `description`; all are optional and at least one is required. They are not operations and are accepted at any time, whatever the instance is doing. Changing the instance type is the `:resize` method; starting and stopping are `:start` and `:stop`.
|
|
563
574
|
*
|
|
564
575
|
* - `name` changes the display name only. The hostname inside the instance is unchanged; it equals the instance id.
|
|
565
576
|
* - `labels` records what this instance is for, as key-value pairs. Nothing on the platform reads them. **The whole set is replaced**: whatever is absent from the request is removed, and an empty object clears them all. Do not put credentials here. Labels are visible to platform operators.
|
|
566
|
-
* - `
|
|
567
|
-
*
|
|
568
|
-
* **`instance_type_id`** changes the instance's type **cold**: the instance has to be stopped, and is refused with 409 `INSTANCE_RESIZE_REQUIRES_STOP` otherwise. Its operating system is not booted for the change, and it is still stopped once the change is applied; start it when you are ready. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once and stop it again. A target type that cannot hold what the instance already uses is refused before anything is ordered: fewer network interfaces than are attached with 409 `INSTANCE_RESIZE_NETWORK_INTERFACES_EXCEED`, fewer elastic IPs than are associated with 409 `INSTANCE_RESIZE_ELASTIC_IPS_EXCEED`, and less purchasable bandwidth than an associated elastic IP has with 409 `INSTANCE_BANDWIDTH_CEILING` naming it in `meta.elastic_ip_id`. The request returns 202 with the instance and the Checkout Session for the change, including for metered terms. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. The resize starts once Billing accepts the order. Do not submit the change again after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
|
|
569
|
-
*
|
|
570
|
-
* The instance is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If checkout is not completed, the order is not accepted or the resize fails, the instance keeps its current type and Billing shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
|
|
577
|
+
* - `description` is a free-text note about this instance: what it runs, and what to be careful about before touching it. **The whole note is replaced**; send an empty string to clear it. Do not put credentials here. The note is visible to platform operators.
|
|
571
578
|
* @summary Update an instance
|
|
572
579
|
*/
|
|
573
|
-
export declare const updateInstance: (instanceId:
|
|
580
|
+
export declare const updateInstance: (instanceId: InstanceId, updateInstanceRequestBody: UpdateInstanceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateInstanceResponse>;
|
|
574
581
|
export type deleteInstanceResponse202 = {
|
|
575
582
|
data: DeleteInstanceResponseBody;
|
|
576
583
|
status: 202;
|
|
@@ -590,7 +597,7 @@ export type deleteInstanceResponseError = (deleteInstanceResponse409 | deleteIns
|
|
|
590
597
|
headers: Headers;
|
|
591
598
|
};
|
|
592
599
|
export type deleteInstanceResponse = deleteInstanceResponseSuccess | deleteInstanceResponseError;
|
|
593
|
-
export declare const getDeleteInstanceUrl: (instanceId:
|
|
600
|
+
export declare const getDeleteInstanceUrl: (instanceId: InstanceId, params?: DeleteInstanceParams) => string;
|
|
594
601
|
/**
|
|
595
602
|
* The boot volume is deleted with the instance, and **snapshots created from the boot volume are deleted with it**. Data volumes are detached and kept, and their snapshots and backups are unaffected. The primary network interface is released with the instance.
|
|
596
603
|
*
|
|
@@ -598,10 +605,37 @@ export declare const getDeleteInstanceUrl: (instanceId: InstanceID, params?: Del
|
|
|
598
605
|
*
|
|
599
606
|
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
600
607
|
*
|
|
601
|
-
* While
|
|
608
|
+
* While subscription items pay for the instance (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the instance working until `scheduled_at` and releases it then. Volumes and elastic IPs kept after the release keep their items, and the subscription continues with them. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
602
609
|
* @summary Release an instance
|
|
603
610
|
*/
|
|
604
|
-
export declare const deleteInstance: (instanceId:
|
|
611
|
+
export declare const deleteInstance: (instanceId: InstanceId, params?: DeleteInstanceParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteInstanceResponse>;
|
|
612
|
+
export type resizeInstanceResponse202 = {
|
|
613
|
+
data: ResizeInstanceResponseBody;
|
|
614
|
+
status: 202;
|
|
615
|
+
};
|
|
616
|
+
export type resizeInstanceResponse409 = {
|
|
617
|
+
data: ConflictResponse;
|
|
618
|
+
status: 409;
|
|
619
|
+
};
|
|
620
|
+
export type resizeInstanceResponseDefault = {
|
|
621
|
+
data: Error;
|
|
622
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
623
|
+
};
|
|
624
|
+
export type resizeInstanceResponseSuccess = resizeInstanceResponse202 & {
|
|
625
|
+
headers: Headers;
|
|
626
|
+
};
|
|
627
|
+
export type resizeInstanceResponseError = (resizeInstanceResponse409 | resizeInstanceResponseDefault) & {
|
|
628
|
+
headers: Headers;
|
|
629
|
+
};
|
|
630
|
+
export type resizeInstanceResponse = resizeInstanceResponseSuccess | resizeInstanceResponseError;
|
|
631
|
+
export declare const getResizeInstanceUrl: (instanceId: InstanceId) => string;
|
|
632
|
+
/**
|
|
633
|
+
* Changes the instance's type **cold**, through a change of its subscription item purchased in Billing: the instance has to be stopped, and is refused with 409 `INSTANCE_RESIZE_REQUIRES_STOP` otherwise. Its operating system is not booted for the change, and it is still stopped once the change is applied; start it when you are ready. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once and stop it again. A target type that cannot hold what the instance already uses is refused before anything is ordered: fewer network interfaces than are attached with 409 `INSTANCE_RESIZE_NETWORK_INTERFACES_EXCEED`, fewer elastic IPs than are associated with 409 `INSTANCE_RESIZE_ELASTIC_IPS_EXCEED`, and less purchasable bandwidth than an associated elastic IP has with 409 `INSTANCE_BANDWIDTH_CEILING` naming it in `meta.elastic_ip_id`. The request returns 202 with the instance and the Checkout Session for the change, including for metered terms. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. The resize starts once Billing accepts the order. Do not submit the change again after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
|
|
634
|
+
*
|
|
635
|
+
* The instance is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If checkout is not completed, the order is not accepted or the resize fails, the instance keeps its current type and Billing shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
|
|
636
|
+
* @summary Resize an instance
|
|
637
|
+
*/
|
|
638
|
+
export declare const resizeInstance: (instanceId: InstanceId, resizeInstanceRequestBody: ResizeInstanceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<resizeInstanceResponse>;
|
|
605
639
|
export type startInstanceResponse202 = {
|
|
606
640
|
data: Instance;
|
|
607
641
|
status: 202;
|
|
@@ -621,14 +655,14 @@ export type startInstanceResponseError = (startInstanceResponse409 | startInstan
|
|
|
621
655
|
headers: Headers;
|
|
622
656
|
};
|
|
623
657
|
export type startInstanceResponse = startInstanceResponseSuccess | startInstanceResponseError;
|
|
624
|
-
export declare const getStartInstanceUrl: (instanceId:
|
|
658
|
+
export declare const getStartInstanceUrl: (instanceId: InstanceId) => string;
|
|
625
659
|
/**
|
|
626
660
|
* Boots the stopped instance on the host it kept; outstanding restrictions can prevent starting. It is `starting` until it is running or the start has failed. Starting a running instance changes nothing.
|
|
627
661
|
*
|
|
628
662
|
* When its boot volume grew since it was last connected, the start connects its volumes afresh so that the boot volume runs at the performance of its new size: the instance is taken off its host for that moment and placed again. Only then can the start find no room in the zone; it is refused with 409 `INSTANCE_START_NO_HOST_ROOM`, or ends with the instance still stopped, and can be tried again later. An instance stopped by the legacy stop, which released its host, is placed again the same way.
|
|
629
663
|
* @summary Start an instance
|
|
630
664
|
*/
|
|
631
|
-
export declare const startInstance: (instanceId:
|
|
665
|
+
export declare const startInstance: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<startInstanceResponse>;
|
|
632
666
|
export type stopInstanceResponse202 = {
|
|
633
667
|
data: Instance;
|
|
634
668
|
status: 202;
|
|
@@ -648,14 +682,14 @@ export type stopInstanceResponseError = (stopInstanceResponse409 | stopInstanceR
|
|
|
648
682
|
headers: Headers;
|
|
649
683
|
};
|
|
650
684
|
export type stopInstanceResponse = stopInstanceResponseSuccess | stopInstanceResponseError;
|
|
651
|
-
export declare const getStopInstanceUrl: (instanceId:
|
|
685
|
+
export declare const getStopInstanceUrl: (instanceId: InstanceId) => string;
|
|
652
686
|
/**
|
|
653
687
|
* Shuts the instance down **on its host**, as Alibaba Cloud's ordinary stop does: it keeps its volumes, network interfaces, addresses and quota, and the vCPU and memory of its host stay reserved for it, so it starts again without asking for room. **A metered instance keeps being charged for compute while stopped**; its volumes and elastic IPs are charged as always. An instance stopped by a suspension, for non-payment or by the platform, is not charged for compute while the suspension lasts. It is `stopping` until it is stopped. Stopping a stopped instance changes nothing.
|
|
654
688
|
*
|
|
655
|
-
*
|
|
689
|
+
* Resizing is done on a stopped instance and only then. A stopped instance can also be rebuilt and have network interfaces and volumes attached and detached; rescuing it needs it running.
|
|
656
690
|
* @summary Stop an instance
|
|
657
691
|
*/
|
|
658
|
-
export declare const stopInstance: (instanceId:
|
|
692
|
+
export declare const stopInstance: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<stopInstanceResponse>;
|
|
659
693
|
export type runInstanceCommandResponse200 = {
|
|
660
694
|
data: RunInstanceCommandResponseBody;
|
|
661
695
|
status: 200;
|
|
@@ -671,7 +705,7 @@ export type runInstanceCommandResponseError = runInstanceCommandResponseDefault
|
|
|
671
705
|
headers: Headers;
|
|
672
706
|
};
|
|
673
707
|
export type runInstanceCommandResponse = runInstanceCommandResponseSuccess | runInstanceCommandResponseError;
|
|
674
|
-
export declare const getRunInstanceCommandUrl: (instanceId:
|
|
708
|
+
export declare const getRunInstanceCommandUrl: (instanceId: InstanceId) => string;
|
|
675
709
|
/**
|
|
676
710
|
* Runs one command over SSH and returns what it wrote. **This is not a shell.** There is no terminal, no standard input and no way to answer a prompt: a command that waits for input produces nothing and is killed at the timeout. Chain steps with `&&`, or write a script and run that.
|
|
677
711
|
*
|
|
@@ -692,30 +726,30 @@ export declare const getRunInstanceCommandUrl: (instanceId: InstanceID) => strin
|
|
|
692
726
|
* Each stream is capped at 1 MiB. Beyond that the rest is discarded and `truncated` is true.
|
|
693
727
|
* @summary Run a command on an instance
|
|
694
728
|
*/
|
|
695
|
-
export declare const runInstanceCommand: (instanceId:
|
|
696
|
-
export type
|
|
729
|
+
export declare const runInstanceCommand: (instanceId: InstanceId, runInstanceCommandRequestBody: RunInstanceCommandRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<runInstanceCommandResponse>;
|
|
730
|
+
export type createInstanceConsoleUrlResponse200 = {
|
|
697
731
|
data: ConsoleResponseBody;
|
|
698
732
|
status: 200;
|
|
699
733
|
};
|
|
700
|
-
export type
|
|
734
|
+
export type createInstanceConsoleUrlResponseDefault = {
|
|
701
735
|
data: Error;
|
|
702
736
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
703
737
|
};
|
|
704
|
-
export type
|
|
738
|
+
export type createInstanceConsoleUrlResponseSuccess = createInstanceConsoleUrlResponse200 & {
|
|
705
739
|
headers: Headers;
|
|
706
740
|
};
|
|
707
|
-
export type
|
|
741
|
+
export type createInstanceConsoleUrlResponseError = createInstanceConsoleUrlResponseDefault & {
|
|
708
742
|
headers: Headers;
|
|
709
743
|
};
|
|
710
|
-
export type
|
|
711
|
-
export declare const
|
|
744
|
+
export type createInstanceConsoleUrlResponse = createInstanceConsoleUrlResponseSuccess | createInstanceConsoleUrlResponseError;
|
|
745
|
+
export declare const getCreateInstanceConsoleUrlUrl: (instanceId: InstanceId) => string;
|
|
712
746
|
/**
|
|
713
|
-
*
|
|
747
|
+
* Issues an address for the instance's VNC console, operated from a browser through a noVNC client. It does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
|
|
714
748
|
*
|
|
715
|
-
* The
|
|
716
|
-
* @summary
|
|
749
|
+
* The address is single-use and expires within minutes. Every request issues a new address, so request one before each use and do not cache the response.
|
|
750
|
+
* @summary Create a VNC console address
|
|
717
751
|
*/
|
|
718
|
-
export declare const
|
|
752
|
+
export declare const createInstanceConsoleUrl: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createInstanceConsoleUrlResponse>;
|
|
719
753
|
export type resetInstancePasswordResponse200 = {
|
|
720
754
|
data: ResetInstancePasswordResponseBody;
|
|
721
755
|
status: 200;
|
|
@@ -735,7 +769,7 @@ export type resetInstancePasswordResponseError = (resetInstancePasswordResponse4
|
|
|
735
769
|
headers: Headers;
|
|
736
770
|
};
|
|
737
771
|
export type resetInstancePasswordResponse = resetInstancePasswordResponseSuccess | resetInstancePasswordResponseError;
|
|
738
|
-
export declare const getResetInstancePasswordUrl: (instanceId:
|
|
772
|
+
export declare const getResetInstancePasswordUrl: (instanceId: InstanceId) => string;
|
|
739
773
|
/**
|
|
740
774
|
* Sets the password of the login account (`login_username`) without a reboot; root is never given one. The instance must be running.
|
|
741
775
|
*
|
|
@@ -744,7 +778,7 @@ export declare const getResetInstancePasswordUrl: (instanceId: InstanceID) => st
|
|
|
744
778
|
* The request is also rejected when the image is marked as supported but the corresponding component has been removed or stopped inside the instance.
|
|
745
779
|
* @summary Reset the login password
|
|
746
780
|
*/
|
|
747
|
-
export declare const resetInstancePassword: (instanceId:
|
|
781
|
+
export declare const resetInstancePassword: (instanceId: InstanceId, passwordChoice: PasswordChoice, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<resetInstancePasswordResponse>;
|
|
748
782
|
export type rebootInstanceResponse202 = {
|
|
749
783
|
data: Instance;
|
|
750
784
|
status: 202;
|
|
@@ -764,7 +798,7 @@ export type rebootInstanceResponseError = (rebootInstanceResponse409 | rebootIns
|
|
|
764
798
|
headers: Headers;
|
|
765
799
|
};
|
|
766
800
|
export type rebootInstanceResponse = rebootInstanceResponseSuccess | rebootInstanceResponseError;
|
|
767
|
-
export declare const getRebootInstanceUrl: (instanceId:
|
|
801
|
+
export declare const getRebootInstanceUrl: (instanceId: InstanceId) => string;
|
|
768
802
|
/**
|
|
769
803
|
* A reboot defaults to soft, in which the operating system shuts down normally before starting again.
|
|
770
804
|
*
|
|
@@ -777,7 +811,7 @@ export declare const getRebootInstanceUrl: (instanceId: InstanceID) => string;
|
|
|
777
811
|
* The instance is `rebooting` until the reboot has finished.
|
|
778
812
|
* @summary Reboot an instance
|
|
779
813
|
*/
|
|
780
|
-
export declare const rebootInstance: (instanceId:
|
|
814
|
+
export declare const rebootInstance: (instanceId: InstanceId, rebootInstanceRequestBody: RebootInstanceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<rebootInstanceResponse>;
|
|
781
815
|
export type rebuildInstanceResponse202 = {
|
|
782
816
|
data: RebuildInstanceResponseBody;
|
|
783
817
|
status: 202;
|
|
@@ -797,7 +831,7 @@ export type rebuildInstanceResponseError = (rebuildInstanceResponse409 | rebuild
|
|
|
797
831
|
headers: Headers;
|
|
798
832
|
};
|
|
799
833
|
export type rebuildInstanceResponse = rebuildInstanceResponseSuccess | rebuildInstanceResponseError;
|
|
800
|
-
export declare const getRebuildInstanceUrl: (instanceId:
|
|
834
|
+
export declare const getRebuildInstanceUrl: (instanceId: InstanceId) => string;
|
|
801
835
|
/**
|
|
802
836
|
* **All data on the boot volume is erased and cannot be recovered.** Attached data volumes are unaffected.
|
|
803
837
|
*
|
|
@@ -808,7 +842,7 @@ export declare const getRebuildInstanceUrl: (instanceId: InstanceID) => string;
|
|
|
808
842
|
* The instance is `rebuilding` until the rebuild has finished.
|
|
809
843
|
* @summary Rebuild an instance
|
|
810
844
|
*/
|
|
811
|
-
export declare const rebuildInstance: (instanceId:
|
|
845
|
+
export declare const rebuildInstance: (instanceId: InstanceId, rebuildInstanceRequestBody: RebuildInstanceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<rebuildInstanceResponse>;
|
|
812
846
|
export type listInstanceVolumesResponse200 = {
|
|
813
847
|
data: VolumeAttachmentList;
|
|
814
848
|
status: 200;
|
|
@@ -824,11 +858,11 @@ export type listInstanceVolumesResponseError = listInstanceVolumesResponseDefaul
|
|
|
824
858
|
headers: Headers;
|
|
825
859
|
};
|
|
826
860
|
export type listInstanceVolumesResponse = listInstanceVolumesResponseSuccess | listInstanceVolumesResponseError;
|
|
827
|
-
export declare const getListInstanceVolumesUrl: (instanceId:
|
|
861
|
+
export declare const getListInstanceVolumesUrl: (instanceId: InstanceId, params?: ListInstanceVolumesParams) => string;
|
|
828
862
|
/**
|
|
829
863
|
* @summary List the volumes attached to an instance
|
|
830
864
|
*/
|
|
831
|
-
export declare const listInstanceVolumes: (instanceId:
|
|
865
|
+
export declare const listInstanceVolumes: (instanceId: InstanceId, params?: ListInstanceVolumesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInstanceVolumesResponse>;
|
|
832
866
|
export type attachInstanceVolumeResponse202 = {
|
|
833
867
|
data: VolumeResource;
|
|
834
868
|
status: 202;
|
|
@@ -848,12 +882,12 @@ export type attachInstanceVolumeResponseError = (attachInstanceVolumeResponse409
|
|
|
848
882
|
headers: Headers;
|
|
849
883
|
};
|
|
850
884
|
export type attachInstanceVolumeResponse = attachInstanceVolumeResponseSuccess | attachInstanceVolumeResponseError;
|
|
851
|
-
export declare const getAttachInstanceVolumeUrl: (instanceId:
|
|
885
|
+
export declare const getAttachInstanceVolumeUrl: (instanceId: InstanceId) => string;
|
|
852
886
|
/**
|
|
853
887
|
* The volume must be in the same region and availability zone as the instance. Returns the volume; the instance is `attaching_volume` and the volume is `attaching` until the attachment is confirmed. Partition the volume and mount the file system inside the instance once it is attached.
|
|
854
888
|
* @summary Attach a volume
|
|
855
889
|
*/
|
|
856
|
-
export declare const attachInstanceVolume: (instanceId:
|
|
890
|
+
export declare const attachInstanceVolume: (instanceId: InstanceId, attachVolumeRequestBody: AttachVolumeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<attachInstanceVolumeResponse>;
|
|
857
891
|
export type detachInstanceVolumeResponse202 = {
|
|
858
892
|
data: VolumeResource;
|
|
859
893
|
status: 202;
|
|
@@ -873,7 +907,7 @@ export type detachInstanceVolumeResponseError = (detachInstanceVolumeResponse409
|
|
|
873
907
|
headers: Headers;
|
|
874
908
|
};
|
|
875
909
|
export type detachInstanceVolumeResponse = detachInstanceVolumeResponseSuccess | detachInstanceVolumeResponseError;
|
|
876
|
-
export declare const getDetachInstanceVolumeUrl: (instanceId:
|
|
910
|
+
export declare const getDetachInstanceVolumeUrl: (instanceId: InstanceId, volumeId: VolumeId) => string;
|
|
877
911
|
/**
|
|
878
912
|
* Unmount the device inside the instance before calling this endpoint. Forcibly detaching a file system that is being written to corrupts data.
|
|
879
913
|
*
|
|
@@ -882,7 +916,7 @@ export declare const getDetachInstanceVolumeUrl: (instanceId: InstanceID, volume
|
|
|
882
916
|
* Returns the volume; the instance is `detaching_volume` and the volume is `detaching` until the volume is detached.
|
|
883
917
|
* @summary Detach a volume
|
|
884
918
|
*/
|
|
885
|
-
export declare const detachInstanceVolume: (instanceId:
|
|
919
|
+
export declare const detachInstanceVolume: (instanceId: InstanceId, volumeId: VolumeId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<detachInstanceVolumeResponse>;
|
|
886
920
|
export type listInstanceNetworkInterfacesResponse200 = {
|
|
887
921
|
data: NetworkInterfaceAttachmentList;
|
|
888
922
|
status: 200;
|
|
@@ -898,11 +932,11 @@ export type listInstanceNetworkInterfacesResponseError = listInstanceNetworkInte
|
|
|
898
932
|
headers: Headers;
|
|
899
933
|
};
|
|
900
934
|
export type listInstanceNetworkInterfacesResponse = listInstanceNetworkInterfacesResponseSuccess | listInstanceNetworkInterfacesResponseError;
|
|
901
|
-
export declare const getListInstanceNetworkInterfacesUrl: (instanceId:
|
|
935
|
+
export declare const getListInstanceNetworkInterfacesUrl: (instanceId: InstanceId, params?: ListInstanceNetworkInterfacesParams) => string;
|
|
902
936
|
/**
|
|
903
937
|
* @summary List the network interfaces of an instance
|
|
904
938
|
*/
|
|
905
|
-
export declare const listInstanceNetworkInterfaces: (instanceId:
|
|
939
|
+
export declare const listInstanceNetworkInterfaces: (instanceId: InstanceId, params?: ListInstanceNetworkInterfacesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInstanceNetworkInterfacesResponse>;
|
|
906
940
|
export type attachInstanceNetworkInterfaceResponse202 = {
|
|
907
941
|
data: NetworkInterface;
|
|
908
942
|
status: 202;
|
|
@@ -922,12 +956,12 @@ export type attachInstanceNetworkInterfaceResponseError = (attachInstanceNetwork
|
|
|
922
956
|
headers: Headers;
|
|
923
957
|
};
|
|
924
958
|
export type attachInstanceNetworkInterfaceResponse = attachInstanceNetworkInterfaceResponseSuccess | attachInstanceNetworkInterfaceResponseError;
|
|
925
|
-
export declare const getAttachInstanceNetworkInterfaceUrl: (instanceId:
|
|
959
|
+
export declare const getAttachInstanceNetworkInterfaceUrl: (instanceId: InstanceId) => string;
|
|
926
960
|
/**
|
|
927
961
|
* Returns the network interface; the instance is `attaching_network_interface` and the interface is `attaching` until the attachment is confirmed. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
|
|
928
962
|
* @summary Attach a network interface
|
|
929
963
|
*/
|
|
930
|
-
export declare const attachInstanceNetworkInterface: (instanceId:
|
|
964
|
+
export declare const attachInstanceNetworkInterface: (instanceId: InstanceId, attachNetworkInterfaceRequestBody: AttachNetworkInterfaceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<attachInstanceNetworkInterfaceResponse>;
|
|
931
965
|
export type detachInstanceNetworkInterfaceResponse202 = {
|
|
932
966
|
data: NetworkInterface;
|
|
933
967
|
status: 202;
|
|
@@ -947,14 +981,14 @@ export type detachInstanceNetworkInterfaceResponseError = (detachInstanceNetwork
|
|
|
947
981
|
headers: Headers;
|
|
948
982
|
};
|
|
949
983
|
export type detachInstanceNetworkInterfaceResponse = detachInstanceNetworkInterfaceResponseSuccess | detachInstanceNetworkInterfaceResponseError;
|
|
950
|
-
export declare const getDetachInstanceNetworkInterfaceUrl: (instanceId:
|
|
984
|
+
export declare const getDetachInstanceNetworkInterfaceUrl: (instanceId: InstanceId, networkInterfaceId: NetworkInterfaceId) => string;
|
|
951
985
|
/**
|
|
952
986
|
* The primary network interface cannot be detached; the instance would lose its network address. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
|
|
953
987
|
*
|
|
954
988
|
* Returns the network interface; the instance is `detaching_network_interface` and the interface is `detaching` until it is detached.
|
|
955
989
|
* @summary Detach a network interface
|
|
956
990
|
*/
|
|
957
|
-
export declare const detachInstanceNetworkInterface: (instanceId:
|
|
991
|
+
export declare const detachInstanceNetworkInterface: (instanceId: InstanceId, networkInterfaceId: NetworkInterfaceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<detachInstanceNetworkInterfaceResponse>;
|
|
958
992
|
export type rescueInstanceResponse202 = {
|
|
959
993
|
data: RescueInstanceResponseBody;
|
|
960
994
|
status: 202;
|
|
@@ -974,7 +1008,7 @@ export type rescueInstanceResponseError = (rescueInstanceResponse409 | rescueIns
|
|
|
974
1008
|
headers: Headers;
|
|
975
1009
|
};
|
|
976
1010
|
export type rescueInstanceResponse = rescueInstanceResponseSuccess | rescueInstanceResponseError;
|
|
977
|
-
export declare const getRescueInstanceUrl: (instanceId:
|
|
1011
|
+
export declare const getRescueInstanceUrl: (instanceId: InstanceId) => string;
|
|
978
1012
|
/**
|
|
979
1013
|
* Boots a temporary rescue environment in place of the instance's own system, with the original boot volume attached to it as a further disk to repair. A running instance can be rescued, and so can one in `error`. A stopped instance is refused with 409 `INSTANCE_NOT_RUNNING`; start it first, which works even when its operating system no longer boots.
|
|
980
1014
|
*
|
|
@@ -987,7 +1021,7 @@ export declare const getRescueInstanceUrl: (instanceId: InstanceID) => string;
|
|
|
987
1021
|
* The request does not name an image. The rescue image is the region's enabled rescue image for the architecture of the instance's boot volume. A region and architecture with no enabled rescue image is refused with `RESCUE_IMAGE_NOT_CONFIGURED` (409).
|
|
988
1022
|
* @summary Put an instance into rescue mode
|
|
989
1023
|
*/
|
|
990
|
-
export declare const rescueInstance: (instanceId:
|
|
1024
|
+
export declare const rescueInstance: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<rescueInstanceResponse>;
|
|
991
1025
|
export type unrescueInstanceResponse202 = {
|
|
992
1026
|
data: Instance;
|
|
993
1027
|
status: 202;
|
|
@@ -1007,12 +1041,12 @@ export type unrescueInstanceResponseError = (unrescueInstanceResponse409 | unres
|
|
|
1007
1041
|
headers: Headers;
|
|
1008
1042
|
};
|
|
1009
1043
|
export type unrescueInstanceResponse = unrescueInstanceResponseSuccess | unrescueInstanceResponseError;
|
|
1010
|
-
export declare const getUnrescueInstanceUrl: (instanceId:
|
|
1044
|
+
export declare const getUnrescueInstanceUrl: (instanceId: InstanceId) => string;
|
|
1011
1045
|
/**
|
|
1012
1046
|
* Restores boot from the original boot volume. Completion is shown by the instance state, and the instance is `unrescuing` until then.
|
|
1013
1047
|
* @summary Take an instance out of rescue mode
|
|
1014
1048
|
*/
|
|
1015
|
-
export declare const unrescueInstance: (instanceId:
|
|
1049
|
+
export declare const unrescueInstance: (instanceId: InstanceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<unrescueInstanceResponse>;
|
|
1016
1050
|
export type listLaunchTemplatesResponse200 = {
|
|
1017
1051
|
data: LaunchTemplateListResponseBody;
|
|
1018
1052
|
status: 200;
|
|
@@ -1073,11 +1107,11 @@ export type getLaunchTemplateResponseError = getLaunchTemplateResponseDefault &
|
|
|
1073
1107
|
headers: Headers;
|
|
1074
1108
|
};
|
|
1075
1109
|
export type getLaunchTemplateResponse = getLaunchTemplateResponseSuccess | getLaunchTemplateResponseError;
|
|
1076
|
-
export declare const getGetLaunchTemplateUrl: (launchTemplateId:
|
|
1110
|
+
export declare const getGetLaunchTemplateUrl: (launchTemplateId: LaunchTemplateId) => string;
|
|
1077
1111
|
/**
|
|
1078
1112
|
* @summary Get a launch template
|
|
1079
1113
|
*/
|
|
1080
|
-
export declare const getLaunchTemplate: (launchTemplateId:
|
|
1114
|
+
export declare const getLaunchTemplate: (launchTemplateId: LaunchTemplateId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getLaunchTemplateResponse>;
|
|
1081
1115
|
export type updateLaunchTemplateResponse200 = {
|
|
1082
1116
|
data: LaunchTemplate;
|
|
1083
1117
|
status: 200;
|
|
@@ -1093,12 +1127,12 @@ export type updateLaunchTemplateResponseError = updateLaunchTemplateResponseDefa
|
|
|
1093
1127
|
headers: Headers;
|
|
1094
1128
|
};
|
|
1095
1129
|
export type updateLaunchTemplateResponse = updateLaunchTemplateResponseSuccess | updateLaunchTemplateResponseError;
|
|
1096
|
-
export declare const getUpdateLaunchTemplateUrl: (launchTemplateId:
|
|
1130
|
+
export declare const getUpdateLaunchTemplateUrl: (launchTemplateId: LaunchTemplateId) => string;
|
|
1097
1131
|
/**
|
|
1098
1132
|
* Changes the name or description, or makes another live version the default, the one a creation naming no version uses. Versions themselves never change; describe something else by creating a version.
|
|
1099
1133
|
* @summary Update a launch template
|
|
1100
1134
|
*/
|
|
1101
|
-
export declare const updateLaunchTemplate: (launchTemplateId:
|
|
1135
|
+
export declare const updateLaunchTemplate: (launchTemplateId: LaunchTemplateId, updateLaunchTemplateRequestBody: UpdateLaunchTemplateRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateLaunchTemplateResponse>;
|
|
1102
1136
|
export type deleteLaunchTemplateResponse204 = {
|
|
1103
1137
|
data: void;
|
|
1104
1138
|
status: 204;
|
|
@@ -1114,12 +1148,12 @@ export type deleteLaunchTemplateResponseError = deleteLaunchTemplateResponseDefa
|
|
|
1114
1148
|
headers: Headers;
|
|
1115
1149
|
};
|
|
1116
1150
|
export type deleteLaunchTemplateResponse = deleteLaunchTemplateResponseSuccess | deleteLaunchTemplateResponseError;
|
|
1117
|
-
export declare const getDeleteLaunchTemplateUrl: (launchTemplateId:
|
|
1151
|
+
export declare const getDeleteLaunchTemplateUrl: (launchTemplateId: LaunchTemplateId) => string;
|
|
1118
1152
|
/**
|
|
1119
1153
|
* Deletes the template with every version. Instances created from it are not affected and keep naming the version they were created from.
|
|
1120
1154
|
* @summary Delete a launch template
|
|
1121
1155
|
*/
|
|
1122
|
-
export declare const deleteLaunchTemplate: (launchTemplateId:
|
|
1156
|
+
export declare const deleteLaunchTemplate: (launchTemplateId: LaunchTemplateId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteLaunchTemplateResponse>;
|
|
1123
1157
|
export type listLaunchTemplateVersionsResponse200 = {
|
|
1124
1158
|
data: LaunchTemplateVersionListResponseBody;
|
|
1125
1159
|
status: 200;
|
|
@@ -1135,12 +1169,12 @@ export type listLaunchTemplateVersionsResponseError = listLaunchTemplateVersions
|
|
|
1135
1169
|
headers: Headers;
|
|
1136
1170
|
};
|
|
1137
1171
|
export type listLaunchTemplateVersionsResponse = listLaunchTemplateVersionsResponseSuccess | listLaunchTemplateVersionsResponseError;
|
|
1138
|
-
export declare const getListLaunchTemplateVersionsUrl: (launchTemplateId:
|
|
1172
|
+
export declare const getListLaunchTemplateVersionsUrl: (launchTemplateId: LaunchTemplateId, params?: ListLaunchTemplateVersionsParams) => string;
|
|
1139
1173
|
/**
|
|
1140
1174
|
* Newest first.
|
|
1141
1175
|
* @summary List the versions of a launch template
|
|
1142
1176
|
*/
|
|
1143
|
-
export declare const listLaunchTemplateVersions: (launchTemplateId:
|
|
1177
|
+
export declare const listLaunchTemplateVersions: (launchTemplateId: LaunchTemplateId, params?: ListLaunchTemplateVersionsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listLaunchTemplateVersionsResponse>;
|
|
1144
1178
|
export type createLaunchTemplateVersionResponse201 = {
|
|
1145
1179
|
data: LaunchTemplateVersion;
|
|
1146
1180
|
status: 201;
|
|
@@ -1156,12 +1190,12 @@ export type createLaunchTemplateVersionResponseError = createLaunchTemplateVersi
|
|
|
1156
1190
|
headers: Headers;
|
|
1157
1191
|
};
|
|
1158
1192
|
export type createLaunchTemplateVersionResponse = createLaunchTemplateVersionResponseSuccess | createLaunchTemplateVersionResponseError;
|
|
1159
|
-
export declare const getCreateLaunchTemplateVersionUrl: (launchTemplateId:
|
|
1193
|
+
export declare const getCreateLaunchTemplateVersionUrl: (launchTemplateId: LaunchTemplateId) => string;
|
|
1160
1194
|
/**
|
|
1161
1195
|
* Adds a version, numbered after every version the template ever had, so a deleted version's number is never reused. It does not become the default by itself; set `default_version_number` on the template for that. A template holds at most 100 live versions (`LAUNCH_TEMPLATE_VERSION_LIMIT`).
|
|
1162
1196
|
* @summary Create a launch template version
|
|
1163
1197
|
*/
|
|
1164
|
-
export declare const createLaunchTemplateVersion: (launchTemplateId:
|
|
1198
|
+
export declare const createLaunchTemplateVersion: (launchTemplateId: LaunchTemplateId, newLaunchTemplateVersion: NewLaunchTemplateVersion, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createLaunchTemplateVersionResponse>;
|
|
1165
1199
|
export type getLaunchTemplateVersionResponse200 = {
|
|
1166
1200
|
data: LaunchTemplateVersion;
|
|
1167
1201
|
status: 200;
|
|
@@ -1177,11 +1211,11 @@ export type getLaunchTemplateVersionResponseError = getLaunchTemplateVersionResp
|
|
|
1177
1211
|
headers: Headers;
|
|
1178
1212
|
};
|
|
1179
1213
|
export type getLaunchTemplateVersionResponse = getLaunchTemplateVersionResponseSuccess | getLaunchTemplateVersionResponseError;
|
|
1180
|
-
export declare const getGetLaunchTemplateVersionUrl: (launchTemplateId:
|
|
1214
|
+
export declare const getGetLaunchTemplateVersionUrl: (launchTemplateId: LaunchTemplateId, versionNumber: number) => string;
|
|
1181
1215
|
/**
|
|
1182
1216
|
* @summary Get a launch template version
|
|
1183
1217
|
*/
|
|
1184
|
-
export declare const getLaunchTemplateVersion: (launchTemplateId:
|
|
1218
|
+
export declare const getLaunchTemplateVersion: (launchTemplateId: LaunchTemplateId, versionNumber: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getLaunchTemplateVersionResponse>;
|
|
1185
1219
|
export type deleteLaunchTemplateVersionResponse204 = {
|
|
1186
1220
|
data: void;
|
|
1187
1221
|
status: 204;
|
|
@@ -1197,12 +1231,12 @@ export type deleteLaunchTemplateVersionResponseError = deleteLaunchTemplateVersi
|
|
|
1197
1231
|
headers: Headers;
|
|
1198
1232
|
};
|
|
1199
1233
|
export type deleteLaunchTemplateVersionResponse = deleteLaunchTemplateVersionResponseSuccess | deleteLaunchTemplateVersionResponseError;
|
|
1200
|
-
export declare const getDeleteLaunchTemplateVersionUrl: (launchTemplateId:
|
|
1234
|
+
export declare const getDeleteLaunchTemplateVersionUrl: (launchTemplateId: LaunchTemplateId, versionNumber: number) => string;
|
|
1201
1235
|
/**
|
|
1202
1236
|
* The default version cannot be deleted (`LAUNCH_TEMPLATE_VERSION_DEFAULT`); make another version the default first.
|
|
1203
1237
|
* @summary Delete a launch template version
|
|
1204
1238
|
*/
|
|
1205
|
-
export declare const deleteLaunchTemplateVersion: (launchTemplateId:
|
|
1239
|
+
export declare const deleteLaunchTemplateVersion: (launchTemplateId: LaunchTemplateId, versionNumber: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteLaunchTemplateVersionResponse>;
|
|
1206
1240
|
export type listNetworkInterfacesResponse200 = {
|
|
1207
1241
|
data: NetworkInterfaceListResponseBody;
|
|
1208
1242
|
status: 200;
|
|
@@ -1259,42 +1293,35 @@ export type getNetworkInterfaceResponseError = getNetworkInterfaceResponseDefaul
|
|
|
1259
1293
|
headers: Headers;
|
|
1260
1294
|
};
|
|
1261
1295
|
export type getNetworkInterfaceResponse = getNetworkInterfaceResponseSuccess | getNetworkInterfaceResponseError;
|
|
1262
|
-
export declare const getGetNetworkInterfaceUrl: (networkInterfaceId:
|
|
1296
|
+
export declare const getGetNetworkInterfaceUrl: (networkInterfaceId: NetworkInterfaceId) => string;
|
|
1263
1297
|
/**
|
|
1264
1298
|
* Returns the stored state of the network interface; it does not query the cloud.
|
|
1265
1299
|
* @summary Retrieve a network interface
|
|
1266
1300
|
*/
|
|
1267
|
-
export declare const getNetworkInterface: (networkInterfaceId:
|
|
1301
|
+
export declare const getNetworkInterface: (networkInterfaceId: NetworkInterfaceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getNetworkInterfaceResponse>;
|
|
1268
1302
|
export type updateNetworkInterfaceResponse200 = {
|
|
1269
1303
|
data: NetworkInterface;
|
|
1270
1304
|
status: 200;
|
|
1271
1305
|
};
|
|
1272
|
-
export type updateNetworkInterfaceResponse202 = {
|
|
1273
|
-
data: NetworkInterface;
|
|
1274
|
-
status: 202;
|
|
1275
|
-
};
|
|
1276
1306
|
export type updateNetworkInterfaceResponseDefault = {
|
|
1277
1307
|
data: Error;
|
|
1278
|
-
status: Exclude<HTTPStatusCodes, 200
|
|
1308
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
1279
1309
|
};
|
|
1280
|
-
export type updateNetworkInterfaceResponseSuccess =
|
|
1310
|
+
export type updateNetworkInterfaceResponseSuccess = updateNetworkInterfaceResponse200 & {
|
|
1281
1311
|
headers: Headers;
|
|
1282
1312
|
};
|
|
1283
1313
|
export type updateNetworkInterfaceResponseError = updateNetworkInterfaceResponseDefault & {
|
|
1284
1314
|
headers: Headers;
|
|
1285
1315
|
};
|
|
1286
1316
|
export type updateNetworkInterfaceResponse = updateNetworkInterfaceResponseSuccess | updateNetworkInterfaceResponseError;
|
|
1287
|
-
export declare const getUpdateNetworkInterfaceUrl: (networkInterfaceId:
|
|
1317
|
+
export declare const getUpdateNetworkInterfaceUrl: (networkInterfaceId: NetworkInterfaceId) => string;
|
|
1288
1318
|
/**
|
|
1289
|
-
* Changes the name
|
|
1290
|
-
*
|
|
1291
|
-
* - `name` is not an operation, is accepted at any time and answers 200.
|
|
1292
|
-
* - `security_group_ids` is the complete new set, one to five groups of the network interface's virtual private cloud; groups left out are removed. It applies to traffic of the running instance as soon as it is in place, and answers 202 with the network interface `updating_security_groups` until then.
|
|
1319
|
+
* Changes the name. It is not an operation and is accepted at any time. Replacing the security groups is `:replaceSecurityGroups`.
|
|
1293
1320
|
*
|
|
1294
1321
|
* Secondary IPv4 addresses are added and removed under `/network-interfaces/{networkInterfaceId}/addresses`.
|
|
1295
1322
|
* @summary Update a network interface
|
|
1296
1323
|
*/
|
|
1297
|
-
export declare const updateNetworkInterface: (networkInterfaceId:
|
|
1324
|
+
export declare const updateNetworkInterface: (networkInterfaceId: NetworkInterfaceId, updateNetworkInterfaceRequestBody: UpdateNetworkInterfaceRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateNetworkInterfaceResponse>;
|
|
1298
1325
|
export type deleteNetworkInterfaceResponse202 = {
|
|
1299
1326
|
data: NetworkInterface;
|
|
1300
1327
|
status: 202;
|
|
@@ -1314,12 +1341,37 @@ export type deleteNetworkInterfaceResponseError = (deleteNetworkInterfaceRespons
|
|
|
1314
1341
|
headers: Headers;
|
|
1315
1342
|
};
|
|
1316
1343
|
export type deleteNetworkInterfaceResponse = deleteNetworkInterfaceResponseSuccess | deleteNetworkInterfaceResponseError;
|
|
1317
|
-
export declare const getDeleteNetworkInterfaceUrl: (networkInterfaceId:
|
|
1344
|
+
export declare const getDeleteNetworkInterfaceUrl: (networkInterfaceId: NetworkInterfaceId) => string;
|
|
1318
1345
|
/**
|
|
1319
1346
|
* The primary network interface cannot be deleted on its own, as it is released with the instance. A network interface still attached to an instance cannot be deleted either.
|
|
1320
1347
|
* @summary Delete a network interface
|
|
1321
1348
|
*/
|
|
1322
|
-
export declare const deleteNetworkInterface: (networkInterfaceId:
|
|
1349
|
+
export declare const deleteNetworkInterface: (networkInterfaceId: NetworkInterfaceId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteNetworkInterfaceResponse>;
|
|
1350
|
+
export type replaceNetworkInterfaceSecurityGroupsResponse202 = {
|
|
1351
|
+
data: NetworkInterface;
|
|
1352
|
+
status: 202;
|
|
1353
|
+
};
|
|
1354
|
+
export type replaceNetworkInterfaceSecurityGroupsResponse409 = {
|
|
1355
|
+
data: ConflictResponse;
|
|
1356
|
+
status: 409;
|
|
1357
|
+
};
|
|
1358
|
+
export type replaceNetworkInterfaceSecurityGroupsResponseDefault = {
|
|
1359
|
+
data: Error;
|
|
1360
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
1361
|
+
};
|
|
1362
|
+
export type replaceNetworkInterfaceSecurityGroupsResponseSuccess = replaceNetworkInterfaceSecurityGroupsResponse202 & {
|
|
1363
|
+
headers: Headers;
|
|
1364
|
+
};
|
|
1365
|
+
export type replaceNetworkInterfaceSecurityGroupsResponseError = (replaceNetworkInterfaceSecurityGroupsResponse409 | replaceNetworkInterfaceSecurityGroupsResponseDefault) & {
|
|
1366
|
+
headers: Headers;
|
|
1367
|
+
};
|
|
1368
|
+
export type replaceNetworkInterfaceSecurityGroupsResponse = replaceNetworkInterfaceSecurityGroupsResponseSuccess | replaceNetworkInterfaceSecurityGroupsResponseError;
|
|
1369
|
+
export declare const getReplaceNetworkInterfaceSecurityGroupsUrl: (networkInterfaceId: NetworkInterfaceId) => string;
|
|
1370
|
+
/**
|
|
1371
|
+
* `security_group_ids` is the complete new set, one to five groups of the network interface's virtual private cloud; groups left out are removed. It applies to traffic of the running instance as soon as it is in place, and the network interface is `updating_security_groups` until then.
|
|
1372
|
+
* @summary Replace the security groups of a network interface
|
|
1373
|
+
*/
|
|
1374
|
+
export declare const replaceNetworkInterfaceSecurityGroups: (networkInterfaceId: NetworkInterfaceId, replaceNetworkInterfaceSecurityGroupsRequestBody: ReplaceNetworkInterfaceSecurityGroupsRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<replaceNetworkInterfaceSecurityGroupsResponse>;
|
|
1323
1375
|
export type createNetworkInterfaceAddressResponse202 = {
|
|
1324
1376
|
data: NetworkInterface;
|
|
1325
1377
|
status: 202;
|
|
@@ -1335,7 +1387,7 @@ export type createNetworkInterfaceAddressResponseError = createNetworkInterfaceA
|
|
|
1335
1387
|
headers: Headers;
|
|
1336
1388
|
};
|
|
1337
1389
|
export type createNetworkInterfaceAddressResponse = createNetworkInterfaceAddressResponseSuccess | createNetworkInterfaceAddressResponseError;
|
|
1338
|
-
export declare const getCreateNetworkInterfaceAddressUrl: (networkInterfaceId:
|
|
1390
|
+
export declare const getCreateNetworkInterfaceAddressUrl: (networkInterfaceId: NetworkInterfaceId) => string;
|
|
1339
1391
|
/**
|
|
1340
1392
|
* Adds an IPv4 address in the network interface's subnet, given or chosen by the network, and answers 202 with the network interface `adding_address` until the address is in place; it then appears among `addresses` with `role` `secondary`. An elastic IP can be associated with it like the primary address.
|
|
1341
1393
|
*
|
|
@@ -1344,7 +1396,7 @@ export declare const getCreateNetworkInterfaceAddressUrl: (networkInterfaceId: N
|
|
|
1344
1396
|
* A network interface holds at most its instance's instance type's `max_ipv4_per_network_interface` IPv4 addresses while attached, and 50 otherwise (409 `NETWORK_INTERFACE_ADDRESS_CEILING`). An address already in use in the subnet is refused with 409 `NETWORK_INTERFACE_ADDRESS_ALREADY_TAKEN`, a full subnet with 409 `NETWORK_INTERFACE_SUBNET_EXHAUSTED`.
|
|
1345
1397
|
* @summary Add a secondary IPv4 address
|
|
1346
1398
|
*/
|
|
1347
|
-
export declare const createNetworkInterfaceAddress: (networkInterfaceId:
|
|
1399
|
+
export declare const createNetworkInterfaceAddress: (networkInterfaceId: NetworkInterfaceId, createNetworkInterfaceAddressRequestBody: CreateNetworkInterfaceAddressRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createNetworkInterfaceAddressResponse>;
|
|
1348
1400
|
export type deleteNetworkInterfaceAddressResponse202 = {
|
|
1349
1401
|
data: NetworkInterface;
|
|
1350
1402
|
status: 202;
|
|
@@ -1360,12 +1412,12 @@ export type deleteNetworkInterfaceAddressResponseError = deleteNetworkInterfaceA
|
|
|
1360
1412
|
headers: Headers;
|
|
1361
1413
|
};
|
|
1362
1414
|
export type deleteNetworkInterfaceAddressResponse = deleteNetworkInterfaceAddressResponseSuccess | deleteNetworkInterfaceAddressResponseError;
|
|
1363
|
-
export declare const getDeleteNetworkInterfaceAddressUrl: (networkInterfaceId:
|
|
1415
|
+
export declare const getDeleteNetworkInterfaceAddressUrl: (networkInterfaceId: NetworkInterfaceId, addressId: NetworkInterfaceAddressId) => string;
|
|
1364
1416
|
/**
|
|
1365
1417
|
* Removes a secondary IPv4 address and answers 202 with the network interface `removing_address` until it is gone. The primary address goes only with the network interface (409 `NETWORK_INTERFACE_ADDRESS_PRIMARY`), and an address an elastic IP is associated with is refused until it is disassociated (409 `NETWORK_INTERFACE_ADDRESS_ASSOCIATED`).
|
|
1366
1418
|
* @summary Remove a secondary IPv4 address
|
|
1367
1419
|
*/
|
|
1368
|
-
export declare const deleteNetworkInterfaceAddress: (networkInterfaceId:
|
|
1420
|
+
export declare const deleteNetworkInterfaceAddress: (networkInterfaceId: NetworkInterfaceId, addressId: NetworkInterfaceAddressId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteNetworkInterfaceAddressResponse>;
|
|
1369
1421
|
export type listOperationLogsResponse200 = {
|
|
1370
1422
|
data: OperationLogListResponseBody;
|
|
1371
1423
|
status: 200;
|
|
@@ -1406,12 +1458,12 @@ export type getOperationLogResponseError = getOperationLogResponseDefault & {
|
|
|
1406
1458
|
headers: Headers;
|
|
1407
1459
|
};
|
|
1408
1460
|
export type getOperationLogResponse = getOperationLogResponseSuccess | getOperationLogResponseError;
|
|
1409
|
-
export declare const getGetOperationLogUrl: (operationLogId:
|
|
1461
|
+
export declare const getGetOperationLogUrl: (operationLogId: OperationLogId) => string;
|
|
1410
1462
|
/**
|
|
1411
1463
|
* Returns one entry of the project's operation log. Like the listing, it never discloses the individual operator of an operation performed by the platform.
|
|
1412
1464
|
* @summary Retrieve an operation log entry
|
|
1413
1465
|
*/
|
|
1414
|
-
export declare const getOperationLog: (operationLogId:
|
|
1466
|
+
export declare const getOperationLog: (operationLogId: OperationLogId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getOperationLogResponse>;
|
|
1415
1467
|
export type listPrivateImagesResponse200 = {
|
|
1416
1468
|
data: PrivateImageListResponseBody;
|
|
1417
1469
|
status: 200;
|
|
@@ -1481,12 +1533,12 @@ export type getPrivateImageResponseError = getPrivateImageResponseDefault & {
|
|
|
1481
1533
|
headers: Headers;
|
|
1482
1534
|
};
|
|
1483
1535
|
export type getPrivateImageResponse = getPrivateImageResponseSuccess | getPrivateImageResponseError;
|
|
1484
|
-
export declare const getGetPrivateImageUrl: (privateImageId:
|
|
1536
|
+
export declare const getGetPrivateImageUrl: (privateImageId: ImageId) => string;
|
|
1485
1537
|
/**
|
|
1486
1538
|
* Returns a private image of this project; any other image, public images included, is reported as not found. Use this endpoint to poll capture progress. When `status` is `failed`, `failure` describes the outcome.
|
|
1487
1539
|
* @summary Retrieve a private image
|
|
1488
1540
|
*/
|
|
1489
|
-
export declare const getPrivateImage: (privateImageId:
|
|
1541
|
+
export declare const getPrivateImage: (privateImageId: ImageId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getPrivateImageResponse>;
|
|
1490
1542
|
export type updatePrivateImageResponse200 = {
|
|
1491
1543
|
data: PrivateImageResource;
|
|
1492
1544
|
status: 200;
|
|
@@ -1502,12 +1554,12 @@ export type updatePrivateImageResponseError = updatePrivateImageResponseDefault
|
|
|
1502
1554
|
headers: Headers;
|
|
1503
1555
|
};
|
|
1504
1556
|
export type updatePrivateImageResponse = updatePrivateImageResponseSuccess | updatePrivateImageResponseError;
|
|
1505
|
-
export declare const getUpdatePrivateImageUrl: (privateImageId:
|
|
1557
|
+
export declare const getUpdatePrivateImageUrl: (privateImageId: ImageId) => string;
|
|
1506
1558
|
/**
|
|
1507
1559
|
* Renames a private image of this project. Any other image, public images included, is reported as not found.
|
|
1508
1560
|
* @summary Update a private image
|
|
1509
1561
|
*/
|
|
1510
|
-
export declare const updatePrivateImage: (privateImageId:
|
|
1562
|
+
export declare const updatePrivateImage: (privateImageId: ImageId, updatePrivateImageRequestBody: UpdatePrivateImageRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updatePrivateImageResponse>;
|
|
1511
1563
|
export type deletePrivateImageResponse202 = {
|
|
1512
1564
|
data: DeletePrivateImageResponseBody;
|
|
1513
1565
|
status: 202;
|
|
@@ -1527,7 +1579,7 @@ export type deletePrivateImageResponseError = (deletePrivateImageResponse409 | d
|
|
|
1527
1579
|
headers: Headers;
|
|
1528
1580
|
};
|
|
1529
1581
|
export type deletePrivateImageResponse = deletePrivateImageResponseSuccess | deletePrivateImageResponseError;
|
|
1530
|
-
export declare const getDeletePrivateImageUrl: (privateImageId:
|
|
1582
|
+
export declare const getDeletePrivateImageUrl: (privateImageId: ImageId, params?: DeletePrivateImageParams) => string;
|
|
1531
1583
|
/**
|
|
1532
1584
|
* Deletes a private image of this project; any other image, public images included, is reported as not found.
|
|
1533
1585
|
*
|
|
@@ -1539,10 +1591,10 @@ export declare const getDeletePrivateImageUrl: (privateImageId: ImageID, params?
|
|
|
1539
1591
|
*
|
|
1540
1592
|
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
1541
1593
|
*
|
|
1542
|
-
* While
|
|
1594
|
+
* While subscription items pay for the private image (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the private image working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
1543
1595
|
* @summary Delete a private image
|
|
1544
1596
|
*/
|
|
1545
|
-
export declare const deletePrivateImage: (privateImageId:
|
|
1597
|
+
export declare const deletePrivateImage: (privateImageId: ImageId, params?: DeletePrivateImageParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deletePrivateImageResponse>;
|
|
1546
1598
|
export type listPublicImagesResponse200 = {
|
|
1547
1599
|
data: PublicImageListResponseBody;
|
|
1548
1600
|
status: 200;
|
|
@@ -1583,12 +1635,12 @@ export type getPublicImageResponseError = getPublicImageResponseDefault & {
|
|
|
1583
1635
|
headers: Headers;
|
|
1584
1636
|
};
|
|
1585
1637
|
export type getPublicImageResponse = getPublicImageResponseSuccess | getPublicImageResponseError;
|
|
1586
|
-
export declare const getGetPublicImageUrl: (publicImageId:
|
|
1638
|
+
export declare const getGetPublicImageUrl: (publicImageId: ImageId) => string;
|
|
1587
1639
|
/**
|
|
1588
1640
|
* Returns a public image, on sale or withdrawn. A withdrawn image (`sale_status` is `off_sale`) is still returned because instances may keep running it; it cannot be chosen for a new instance and can only be rebuilt onto by an instance that already runs it. A private image id is reported as not found here; use `/private-images`.
|
|
1589
1641
|
* @summary Retrieve a public image
|
|
1590
1642
|
*/
|
|
1591
|
-
export declare const getPublicImage: (publicImageId:
|
|
1643
|
+
export declare const getPublicImage: (publicImageId: ImageId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getPublicImageResponse>;
|
|
1592
1644
|
export type listQuotasResponse200 = {
|
|
1593
1645
|
data: ProjectQuotaListResponseBody;
|
|
1594
1646
|
status: 200;
|
|
@@ -1604,12 +1656,12 @@ export type listQuotasResponseError = listQuotasResponseDefault & {
|
|
|
1604
1656
|
headers: Headers;
|
|
1605
1657
|
};
|
|
1606
1658
|
export type listQuotasResponse = listQuotasResponseSuccess | listQuotasResponseError;
|
|
1607
|
-
export declare const getListQuotasUrl: (regionId:
|
|
1659
|
+
export declare const getListQuotasUrl: (regionId: RegionId, params?: ListQuotasParams) => string;
|
|
1608
1660
|
/**
|
|
1609
1661
|
* Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns every resource's limit for the project in the region through shared pagination, the platform default included where no limit was set. A quota is per region, since each region has its own capacity; what the project holds in one region never counts against another. An unknown region is refused with 404. No usage is returned.
|
|
1610
1662
|
* @summary List project quotas in a region
|
|
1611
1663
|
*/
|
|
1612
|
-
export declare const listQuotas: (regionId:
|
|
1664
|
+
export declare const listQuotas: (regionId: RegionId, params?: ListQuotasParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listQuotasResponse>;
|
|
1613
1665
|
export type getQuotaResponse200 = {
|
|
1614
1666
|
data: ProjectQuota;
|
|
1615
1667
|
status: 200;
|
|
@@ -1625,12 +1677,12 @@ export type getQuotaResponseError = getQuotaResponseDefault & {
|
|
|
1625
1677
|
headers: Headers;
|
|
1626
1678
|
};
|
|
1627
1679
|
export type getQuotaResponse = getQuotaResponseSuccess | getQuotaResponseError;
|
|
1628
|
-
export declare const getGetQuotaUrl: (regionId:
|
|
1680
|
+
export declare const getGetQuotaUrl: (regionId: RegionId, resource: QuotaResourceType) => string;
|
|
1629
1681
|
/**
|
|
1630
1682
|
* Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns the limit in force, the platform default when no limit was set. Unknown resource values are rejected; an unknown region is refused with 404.
|
|
1631
1683
|
* @summary Get a project quota in a region
|
|
1632
1684
|
*/
|
|
1633
|
-
export declare const getQuota: (regionId:
|
|
1685
|
+
export declare const getQuota: (regionId: RegionId, resource: QuotaResourceType, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getQuotaResponse>;
|
|
1634
1686
|
export type listRegionsResponse200 = {
|
|
1635
1687
|
data: RegionListResponseBody;
|
|
1636
1688
|
status: 200;
|
|
@@ -1666,12 +1718,12 @@ export type getRegionResponseError = getRegionResponseDefault & {
|
|
|
1666
1718
|
headers: Headers;
|
|
1667
1719
|
};
|
|
1668
1720
|
export type getRegionResponse = getRegionResponseSuccess | getRegionResponseError;
|
|
1669
|
-
export declare const getGetRegionUrl: (regionId:
|
|
1721
|
+
export declare const getGetRegionUrl: (regionId: RegionId) => string;
|
|
1670
1722
|
/**
|
|
1671
1723
|
* The availability zones of a region are listed by `list-availability-zones` with `region_id`.
|
|
1672
1724
|
* @summary Retrieve a region
|
|
1673
1725
|
*/
|
|
1674
|
-
export declare const getRegion: (regionId:
|
|
1726
|
+
export declare const getRegion: (regionId: RegionId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getRegionResponse>;
|
|
1675
1727
|
export type listSecurityGroupRulesResponse200 = {
|
|
1676
1728
|
data: SecurityGroupRuleListResponseBody;
|
|
1677
1729
|
status: 200;
|
|
@@ -1687,12 +1739,12 @@ export type listSecurityGroupRulesResponseError = listSecurityGroupRulesResponse
|
|
|
1687
1739
|
headers: Headers;
|
|
1688
1740
|
};
|
|
1689
1741
|
export type listSecurityGroupRulesResponse = listSecurityGroupRulesResponseSuccess | listSecurityGroupRulesResponseError;
|
|
1690
|
-
export declare const getListSecurityGroupRulesUrl: (securityGroupId:
|
|
1742
|
+
export declare const getListSecurityGroupRulesUrl: (securityGroupId: SecurityGroupIdOrWildcard, params?: ListSecurityGroupRulesParams) => string;
|
|
1691
1743
|
/**
|
|
1692
1744
|
* The rules of the security group, or with `-` those of every security group of the project.
|
|
1693
1745
|
* @summary List security group rules
|
|
1694
1746
|
*/
|
|
1695
|
-
export declare const listSecurityGroupRules: (securityGroupId:
|
|
1747
|
+
export declare const listSecurityGroupRules: (securityGroupId: SecurityGroupIdOrWildcard, params?: ListSecurityGroupRulesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listSecurityGroupRulesResponse>;
|
|
1696
1748
|
export type createSecurityGroupRuleResponse201 = {
|
|
1697
1749
|
data: SecurityGroupRule;
|
|
1698
1750
|
status: 201;
|
|
@@ -1708,12 +1760,12 @@ export type createSecurityGroupRuleResponseError = createSecurityGroupRuleRespon
|
|
|
1708
1760
|
headers: Headers;
|
|
1709
1761
|
};
|
|
1710
1762
|
export type createSecurityGroupRuleResponse = createSecurityGroupRuleResponseSuccess | createSecurityGroupRuleResponseError;
|
|
1711
|
-
export declare const getCreateSecurityGroupRuleUrl: (securityGroupId:
|
|
1763
|
+
export declare const getCreateSecurityGroupRuleUrl: (securityGroupId: SecurityGroupId) => string;
|
|
1712
1764
|
/**
|
|
1713
1765
|
* Refused when the group already has a rule meaning the same thing; `0.0.0.0/0`, `::/0` and an omitted remote prefix all mean every address. Rules cannot be changed; replace one by creating the new rule and deleting the old one.
|
|
1714
1766
|
* @summary Create a security group rule
|
|
1715
1767
|
*/
|
|
1716
|
-
export declare const createSecurityGroupRule: (securityGroupId:
|
|
1768
|
+
export declare const createSecurityGroupRule: (securityGroupId: SecurityGroupId, createSecurityGroupRuleRequestBody: CreateSecurityGroupRuleRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createSecurityGroupRuleResponse>;
|
|
1717
1769
|
export type getSecurityGroupRuleResponse200 = {
|
|
1718
1770
|
data: SecurityGroupRule;
|
|
1719
1771
|
status: 200;
|
|
@@ -1729,11 +1781,11 @@ export type getSecurityGroupRuleResponseError = getSecurityGroupRuleResponseDefa
|
|
|
1729
1781
|
headers: Headers;
|
|
1730
1782
|
};
|
|
1731
1783
|
export type getSecurityGroupRuleResponse = getSecurityGroupRuleResponseSuccess | getSecurityGroupRuleResponseError;
|
|
1732
|
-
export declare const getGetSecurityGroupRuleUrl: (securityGroupId:
|
|
1784
|
+
export declare const getGetSecurityGroupRuleUrl: (securityGroupId: SecurityGroupId, securityGroupRuleId: SecurityGroupRuleId) => string;
|
|
1733
1785
|
/**
|
|
1734
1786
|
* @summary Get a security group rule
|
|
1735
1787
|
*/
|
|
1736
|
-
export declare const getSecurityGroupRule: (securityGroupId:
|
|
1788
|
+
export declare const getSecurityGroupRule: (securityGroupId: SecurityGroupId, securityGroupRuleId: SecurityGroupRuleId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getSecurityGroupRuleResponse>;
|
|
1737
1789
|
export type deleteSecurityGroupRuleResponse204 = {
|
|
1738
1790
|
data: void;
|
|
1739
1791
|
status: 204;
|
|
@@ -1749,11 +1801,11 @@ export type deleteSecurityGroupRuleResponseError = deleteSecurityGroupRuleRespon
|
|
|
1749
1801
|
headers: Headers;
|
|
1750
1802
|
};
|
|
1751
1803
|
export type deleteSecurityGroupRuleResponse = deleteSecurityGroupRuleResponseSuccess | deleteSecurityGroupRuleResponseError;
|
|
1752
|
-
export declare const getDeleteSecurityGroupRuleUrl: (securityGroupId:
|
|
1804
|
+
export declare const getDeleteSecurityGroupRuleUrl: (securityGroupId: SecurityGroupId, securityGroupRuleId: SecurityGroupRuleId) => string;
|
|
1753
1805
|
/**
|
|
1754
1806
|
* @summary Delete a security group rule
|
|
1755
1807
|
*/
|
|
1756
|
-
export declare const deleteSecurityGroupRule: (securityGroupId:
|
|
1808
|
+
export declare const deleteSecurityGroupRule: (securityGroupId: SecurityGroupId, securityGroupRuleId: SecurityGroupRuleId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteSecurityGroupRuleResponse>;
|
|
1757
1809
|
export type listSecurityGroupsResponse200 = {
|
|
1758
1810
|
data: SecurityGroupListResponseBody;
|
|
1759
1811
|
status: 200;
|
|
@@ -1810,11 +1862,11 @@ export type getSecurityGroupResponseError = getSecurityGroupResponseDefault & {
|
|
|
1810
1862
|
headers: Headers;
|
|
1811
1863
|
};
|
|
1812
1864
|
export type getSecurityGroupResponse = getSecurityGroupResponseSuccess | getSecurityGroupResponseError;
|
|
1813
|
-
export declare const getGetSecurityGroupUrl: (securityGroupId:
|
|
1865
|
+
export declare const getGetSecurityGroupUrl: (securityGroupId: SecurityGroupId) => string;
|
|
1814
1866
|
/**
|
|
1815
1867
|
* @summary Get a security group
|
|
1816
1868
|
*/
|
|
1817
|
-
export declare const getSecurityGroup: (securityGroupId:
|
|
1869
|
+
export declare const getSecurityGroup: (securityGroupId: SecurityGroupId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getSecurityGroupResponse>;
|
|
1818
1870
|
export type updateSecurityGroupResponse200 = {
|
|
1819
1871
|
data: SecurityGroup;
|
|
1820
1872
|
status: 200;
|
|
@@ -1830,12 +1882,12 @@ export type updateSecurityGroupResponseError = updateSecurityGroupResponseDefaul
|
|
|
1830
1882
|
headers: Headers;
|
|
1831
1883
|
};
|
|
1832
1884
|
export type updateSecurityGroupResponse = updateSecurityGroupResponseSuccess | updateSecurityGroupResponseError;
|
|
1833
|
-
export declare const getUpdateSecurityGroupUrl: (securityGroupId:
|
|
1885
|
+
export declare const getUpdateSecurityGroupUrl: (securityGroupId: SecurityGroupId) => string;
|
|
1834
1886
|
/**
|
|
1835
1887
|
* Changes the name or description. Rules are resources of their own, created and deleted under `/security-group-rules`.
|
|
1836
1888
|
* @summary Update a security group
|
|
1837
1889
|
*/
|
|
1838
|
-
export declare const updateSecurityGroup: (securityGroupId:
|
|
1890
|
+
export declare const updateSecurityGroup: (securityGroupId: SecurityGroupId, updateSecurityGroupRequestBody: UpdateSecurityGroupRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateSecurityGroupResponse>;
|
|
1839
1891
|
export type deleteSecurityGroupResponse204 = {
|
|
1840
1892
|
data: void;
|
|
1841
1893
|
status: 204;
|
|
@@ -1851,12 +1903,12 @@ export type deleteSecurityGroupResponseError = deleteSecurityGroupResponseDefaul
|
|
|
1851
1903
|
headers: Headers;
|
|
1852
1904
|
};
|
|
1853
1905
|
export type deleteSecurityGroupResponse = deleteSecurityGroupResponseSuccess | deleteSecurityGroupResponseError;
|
|
1854
|
-
export declare const getDeleteSecurityGroupUrl: (securityGroupId:
|
|
1906
|
+
export declare const getDeleteSecurityGroupUrl: (securityGroupId: SecurityGroupId) => string;
|
|
1855
1907
|
/**
|
|
1856
1908
|
* Refused while a network interface uses the group. The default security group cannot be deleted; it goes with its virtual private cloud.
|
|
1857
1909
|
* @summary Delete a security group
|
|
1858
1910
|
*/
|
|
1859
|
-
export declare const deleteSecurityGroup: (securityGroupId:
|
|
1911
|
+
export declare const deleteSecurityGroup: (securityGroupId: SecurityGroupId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteSecurityGroupResponse>;
|
|
1860
1912
|
export type listVirtualPrivateCloudPeeringsResponse200 = {
|
|
1861
1913
|
data: VirtualPrivateCloudPeeringListResponseBody;
|
|
1862
1914
|
status: 200;
|
|
@@ -1913,11 +1965,11 @@ export type getVirtualPrivateCloudPeeringResponseError = getVirtualPrivateCloudP
|
|
|
1913
1965
|
headers: Headers;
|
|
1914
1966
|
};
|
|
1915
1967
|
export type getVirtualPrivateCloudPeeringResponse = getVirtualPrivateCloudPeeringResponseSuccess | getVirtualPrivateCloudPeeringResponseError;
|
|
1916
|
-
export declare const getGetVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId:
|
|
1968
|
+
export declare const getGetVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId) => string;
|
|
1917
1969
|
/**
|
|
1918
1970
|
* @summary Get peering
|
|
1919
1971
|
*/
|
|
1920
|
-
export declare const getVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId:
|
|
1972
|
+
export declare const getVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVirtualPrivateCloudPeeringResponse>;
|
|
1921
1973
|
export type deleteVirtualPrivateCloudPeeringResponse202 = {
|
|
1922
1974
|
data: VirtualPrivateCloudPeeringResource;
|
|
1923
1975
|
status: 202;
|
|
@@ -1937,11 +1989,11 @@ export type deleteVirtualPrivateCloudPeeringResponseError = (deleteVirtualPrivat
|
|
|
1937
1989
|
headers: Headers;
|
|
1938
1990
|
};
|
|
1939
1991
|
export type deleteVirtualPrivateCloudPeeringResponse = deleteVirtualPrivateCloudPeeringResponseSuccess | deleteVirtualPrivateCloudPeeringResponseError;
|
|
1940
|
-
export declare const getDeleteVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId:
|
|
1992
|
+
export declare const getDeleteVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId) => string;
|
|
1941
1993
|
/**
|
|
1942
1994
|
* @summary Delete peering
|
|
1943
1995
|
*/
|
|
1944
|
-
export declare const deleteVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId:
|
|
1996
|
+
export declare const deleteVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVirtualPrivateCloudPeeringResponse>;
|
|
1945
1997
|
export type acceptVirtualPrivateCloudPeeringResponse202 = {
|
|
1946
1998
|
data: VirtualPrivateCloudPeeringResource;
|
|
1947
1999
|
status: 202;
|
|
@@ -1961,12 +2013,12 @@ export type acceptVirtualPrivateCloudPeeringResponseError = (acceptVirtualPrivat
|
|
|
1961
2013
|
headers: Headers;
|
|
1962
2014
|
};
|
|
1963
2015
|
export type acceptVirtualPrivateCloudPeeringResponse = acceptVirtualPrivateCloudPeeringResponseSuccess | acceptVirtualPrivateCloudPeeringResponseError;
|
|
1964
|
-
export declare const getAcceptVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId:
|
|
2016
|
+
export declare const getAcceptVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId) => string;
|
|
1965
2017
|
/**
|
|
1966
2018
|
* Starts the provisioning of the connectivity; the peering is `provisioning` until it is `active`. It does not change security groups or provide transitive routing. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
|
|
1967
2019
|
* @summary Accept a peering
|
|
1968
2020
|
*/
|
|
1969
|
-
export declare const acceptVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId:
|
|
2021
|
+
export declare const acceptVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<acceptVirtualPrivateCloudPeeringResponse>;
|
|
1970
2022
|
export type rejectVirtualPrivateCloudPeeringResponse200 = {
|
|
1971
2023
|
data: VirtualPrivateCloudPeeringResource;
|
|
1972
2024
|
status: 200;
|
|
@@ -1986,12 +2038,12 @@ export type rejectVirtualPrivateCloudPeeringResponseError = (rejectVirtualPrivat
|
|
|
1986
2038
|
headers: Headers;
|
|
1987
2039
|
};
|
|
1988
2040
|
export type rejectVirtualPrivateCloudPeeringResponse = rejectVirtualPrivateCloudPeeringResponseSuccess | rejectVirtualPrivateCloudPeeringResponseError;
|
|
1989
|
-
export declare const getRejectVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId:
|
|
2041
|
+
export declare const getRejectVirtualPrivateCloudPeeringUrl: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId) => string;
|
|
1990
2042
|
/**
|
|
1991
2043
|
* Ends the peering with its `acceptance` `rejected` and its `status` `deleted`; no connectivity is ever created. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
|
|
1992
2044
|
* @summary Reject a peering
|
|
1993
2045
|
*/
|
|
1994
|
-
export declare const rejectVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId:
|
|
2046
|
+
export declare const rejectVirtualPrivateCloudPeering: (virtualPrivateCloudPeeringId: VirtualPrivateCloudPeeringId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<rejectVirtualPrivateCloudPeeringResponse>;
|
|
1995
2047
|
export type listVirtualPrivateCloudRoutesResponse200 = {
|
|
1996
2048
|
data: VirtualPrivateCloudRouteListResponseBody;
|
|
1997
2049
|
status: 200;
|
|
@@ -2007,12 +2059,12 @@ export type listVirtualPrivateCloudRoutesResponseError = listVirtualPrivateCloud
|
|
|
2007
2059
|
headers: Headers;
|
|
2008
2060
|
};
|
|
2009
2061
|
export type listVirtualPrivateCloudRoutesResponse = listVirtualPrivateCloudRoutesResponseSuccess | listVirtualPrivateCloudRoutesResponseError;
|
|
2010
|
-
export declare const getListVirtualPrivateCloudRoutesUrl: (virtualPrivateCloudId:
|
|
2062
|
+
export declare const getListVirtualPrivateCloudRoutesUrl: (virtualPrivateCloudId: VirtualPrivateCloudIdOrWildcard, params?: ListVirtualPrivateCloudRoutesParams) => string;
|
|
2011
2063
|
/**
|
|
2012
2064
|
* Static routes of the virtual private cloud, or with `-` those of every virtual private cloud of the project, including the routes peerings write, which show `type` peering.
|
|
2013
2065
|
* @summary List routes
|
|
2014
2066
|
*/
|
|
2015
|
-
export declare const listVirtualPrivateCloudRoutes: (virtualPrivateCloudId:
|
|
2067
|
+
export declare const listVirtualPrivateCloudRoutes: (virtualPrivateCloudId: VirtualPrivateCloudIdOrWildcard, params?: ListVirtualPrivateCloudRoutesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listVirtualPrivateCloudRoutesResponse>;
|
|
2016
2068
|
export type createVirtualPrivateCloudRouteResponse201 = {
|
|
2017
2069
|
data: VirtualPrivateCloudRouteResource;
|
|
2018
2070
|
status: 201;
|
|
@@ -2028,12 +2080,12 @@ export type createVirtualPrivateCloudRouteResponseError = createVirtualPrivateCl
|
|
|
2028
2080
|
headers: Headers;
|
|
2029
2081
|
};
|
|
2030
2082
|
export type createVirtualPrivateCloudRouteResponse = createVirtualPrivateCloudRouteResponseSuccess | createVirtualPrivateCloudRouteResponseError;
|
|
2031
|
-
export declare const getCreateVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId:
|
|
2083
|
+
export declare const getCreateVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2032
2084
|
/**
|
|
2033
2085
|
* Three forms that would sever connectivity are refused: a destination of `0.0.0.0/0`, which overrides the default route and takes every elastic IP offline immediately; a destination equal to the CIDR of a subnet, which overrides its directly connected route; and a next hop equal to the gateway of a subnet, which points back at the router itself. A destination overlapping a peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_OVERLAPS_PEERING`.
|
|
2034
2086
|
* @summary Create a static route
|
|
2035
2087
|
*/
|
|
2036
|
-
export declare const createVirtualPrivateCloudRoute: (virtualPrivateCloudId:
|
|
2088
|
+
export declare const createVirtualPrivateCloudRoute: (virtualPrivateCloudId: VirtualPrivateCloudId, createVirtualPrivateCloudRouteRequestBody: CreateVirtualPrivateCloudRouteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createVirtualPrivateCloudRouteResponse>;
|
|
2037
2089
|
export type getVirtualPrivateCloudRouteResponse200 = {
|
|
2038
2090
|
data: VirtualPrivateCloudRouteResource;
|
|
2039
2091
|
status: 200;
|
|
@@ -2049,11 +2101,11 @@ export type getVirtualPrivateCloudRouteResponseError = getVirtualPrivateCloudRou
|
|
|
2049
2101
|
headers: Headers;
|
|
2050
2102
|
};
|
|
2051
2103
|
export type getVirtualPrivateCloudRouteResponse = getVirtualPrivateCloudRouteResponseSuccess | getVirtualPrivateCloudRouteResponseError;
|
|
2052
|
-
export declare const getGetVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId:
|
|
2104
|
+
export declare const getGetVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, virtualPrivateCloudRouteId: VirtualPrivateCloudRouteId) => string;
|
|
2053
2105
|
/**
|
|
2054
2106
|
* @summary Get a route
|
|
2055
2107
|
*/
|
|
2056
|
-
export declare const getVirtualPrivateCloudRoute: (virtualPrivateCloudId:
|
|
2108
|
+
export declare const getVirtualPrivateCloudRoute: (virtualPrivateCloudId: VirtualPrivateCloudId, virtualPrivateCloudRouteId: VirtualPrivateCloudRouteId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVirtualPrivateCloudRouteResponse>;
|
|
2057
2109
|
export type deleteVirtualPrivateCloudRouteResponse204 = {
|
|
2058
2110
|
data: void;
|
|
2059
2111
|
status: 204;
|
|
@@ -2069,12 +2121,12 @@ export type deleteVirtualPrivateCloudRouteResponseError = deleteVirtualPrivateCl
|
|
|
2069
2121
|
headers: Headers;
|
|
2070
2122
|
};
|
|
2071
2123
|
export type deleteVirtualPrivateCloudRouteResponse = deleteVirtualPrivateCloudRouteResponseSuccess | deleteVirtualPrivateCloudRouteResponseError;
|
|
2072
|
-
export declare const getDeleteVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId:
|
|
2124
|
+
export declare const getDeleteVirtualPrivateCloudRouteUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, virtualPrivateCloudRouteId: VirtualPrivateCloudRouteId) => string;
|
|
2073
2125
|
/**
|
|
2074
2126
|
* A route has no update; replace it by creating the new route and deleting the old one. A peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_HELD_BY_PEERING` and goes away with its peering.
|
|
2075
2127
|
* @summary Delete a static route
|
|
2076
2128
|
*/
|
|
2077
|
-
export declare const deleteVirtualPrivateCloudRoute: (virtualPrivateCloudId:
|
|
2129
|
+
export declare const deleteVirtualPrivateCloudRoute: (virtualPrivateCloudId: VirtualPrivateCloudId, virtualPrivateCloudRouteId: VirtualPrivateCloudRouteId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVirtualPrivateCloudRouteResponse>;
|
|
2078
2130
|
export type listVirtualPrivateCloudSubnetsResponse200 = {
|
|
2079
2131
|
data: VirtualPrivateCloudSubnetListResponseBody;
|
|
2080
2132
|
status: 200;
|
|
@@ -2090,12 +2142,12 @@ export type listVirtualPrivateCloudSubnetsResponseError = listVirtualPrivateClou
|
|
|
2090
2142
|
headers: Headers;
|
|
2091
2143
|
};
|
|
2092
2144
|
export type listVirtualPrivateCloudSubnetsResponse = listVirtualPrivateCloudSubnetsResponseSuccess | listVirtualPrivateCloudSubnetsResponseError;
|
|
2093
|
-
export declare const getListVirtualPrivateCloudSubnetsUrl: (virtualPrivateCloudId:
|
|
2145
|
+
export declare const getListVirtualPrivateCloudSubnetsUrl: (virtualPrivateCloudId: VirtualPrivateCloudIdOrWildcard, params?: ListVirtualPrivateCloudSubnetsParams) => string;
|
|
2094
2146
|
/**
|
|
2095
2147
|
* The subnets of the virtual private cloud, or with `-` those of every virtual private cloud of the project. A subnet is dual-stack once IPv6 is enabled on its virtual private cloud, which gives every subnet a /64 of the cloud's /56.
|
|
2096
2148
|
* @summary List subnets
|
|
2097
2149
|
*/
|
|
2098
|
-
export declare const listVirtualPrivateCloudSubnets: (virtualPrivateCloudId:
|
|
2150
|
+
export declare const listVirtualPrivateCloudSubnets: (virtualPrivateCloudId: VirtualPrivateCloudIdOrWildcard, params?: ListVirtualPrivateCloudSubnetsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listVirtualPrivateCloudSubnetsResponse>;
|
|
2099
2151
|
export type createVirtualPrivateCloudSubnetResponse201 = {
|
|
2100
2152
|
data: VirtualPrivateCloudSubnet;
|
|
2101
2153
|
status: 201;
|
|
@@ -2111,12 +2163,12 @@ export type createVirtualPrivateCloudSubnetResponseError = createVirtualPrivateC
|
|
|
2111
2163
|
headers: Headers;
|
|
2112
2164
|
};
|
|
2113
2165
|
export type createVirtualPrivateCloudSubnetResponse = createVirtualPrivateCloudSubnetResponseSuccess | createVirtualPrivateCloudSubnetResponseError;
|
|
2114
|
-
export declare const getCreateVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId:
|
|
2166
|
+
export declare const getCreateVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2115
2167
|
/**
|
|
2116
2168
|
* The IPv4 CIDR must fall inside the virtual private cloud's CIDR and must not overlap another subnet of it; to find a free one, read the virtual private cloud's `free-subnet-cidr`. In a virtual private cloud with IPv6 enabled the subnet also takes the lowest free /64 of the cloud's /56, refused with 409 `VIRTUAL_PRIVATE_CLOUD_SUBNET_IPV6_CIDR_EXHAUSTED` when none is left.
|
|
2117
2169
|
* @summary Create a subnet
|
|
2118
2170
|
*/
|
|
2119
|
-
export declare const createVirtualPrivateCloudSubnet: (virtualPrivateCloudId:
|
|
2171
|
+
export declare const createVirtualPrivateCloudSubnet: (virtualPrivateCloudId: VirtualPrivateCloudId, createVirtualPrivateCloudSubnetRequestBody: CreateVirtualPrivateCloudSubnetRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createVirtualPrivateCloudSubnetResponse>;
|
|
2120
2172
|
export type getVirtualPrivateCloudSubnetResponse200 = {
|
|
2121
2173
|
data: VirtualPrivateCloudSubnet;
|
|
2122
2174
|
status: 200;
|
|
@@ -2132,11 +2184,11 @@ export type getVirtualPrivateCloudSubnetResponseError = getVirtualPrivateCloudSu
|
|
|
2132
2184
|
headers: Headers;
|
|
2133
2185
|
};
|
|
2134
2186
|
export type getVirtualPrivateCloudSubnetResponse = getVirtualPrivateCloudSubnetResponseSuccess | getVirtualPrivateCloudSubnetResponseError;
|
|
2135
|
-
export declare const getGetVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId:
|
|
2187
|
+
export declare const getGetVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId) => string;
|
|
2136
2188
|
/**
|
|
2137
2189
|
* @summary Get a subnet
|
|
2138
2190
|
*/
|
|
2139
|
-
export declare const getVirtualPrivateCloudSubnet: (virtualPrivateCloudId:
|
|
2191
|
+
export declare const getVirtualPrivateCloudSubnet: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVirtualPrivateCloudSubnetResponse>;
|
|
2140
2192
|
export type updateVirtualPrivateCloudSubnetResponse200 = {
|
|
2141
2193
|
data: VirtualPrivateCloudSubnet;
|
|
2142
2194
|
status: 200;
|
|
@@ -2152,12 +2204,12 @@ export type updateVirtualPrivateCloudSubnetResponseError = updateVirtualPrivateC
|
|
|
2152
2204
|
headers: Headers;
|
|
2153
2205
|
};
|
|
2154
2206
|
export type updateVirtualPrivateCloudSubnetResponse = updateVirtualPrivateCloudSubnetResponseSuccess | updateVirtualPrivateCloudSubnetResponseError;
|
|
2155
|
-
export declare const getUpdateVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId:
|
|
2207
|
+
export declare const getUpdateVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId) => string;
|
|
2156
2208
|
/**
|
|
2157
2209
|
* Only the name can change. The CIDR is fixed for the subnet's life, because addresses already handed out inside it would fall outside a changed range.
|
|
2158
2210
|
* @summary Update a subnet
|
|
2159
2211
|
*/
|
|
2160
|
-
export declare const updateVirtualPrivateCloudSubnet: (virtualPrivateCloudId:
|
|
2212
|
+
export declare const updateVirtualPrivateCloudSubnet: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId, updateVirtualPrivateCloudSubnetRequestBody: UpdateVirtualPrivateCloudSubnetRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateVirtualPrivateCloudSubnetResponse>;
|
|
2161
2213
|
export type deleteVirtualPrivateCloudSubnetResponse204 = {
|
|
2162
2214
|
data: void;
|
|
2163
2215
|
status: 204;
|
|
@@ -2173,12 +2225,12 @@ export type deleteVirtualPrivateCloudSubnetResponseError = deleteVirtualPrivateC
|
|
|
2173
2225
|
headers: Headers;
|
|
2174
2226
|
};
|
|
2175
2227
|
export type deleteVirtualPrivateCloudSubnetResponse = deleteVirtualPrivateCloudSubnetResponseSuccess | deleteVirtualPrivateCloudSubnetResponseError;
|
|
2176
|
-
export declare const getDeleteVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId:
|
|
2228
|
+
export declare const getDeleteVirtualPrivateCloudSubnetUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId) => string;
|
|
2177
2229
|
/**
|
|
2178
2230
|
* Refused while network interfaces remain in the subnet, or while a static route has a next hop inside its CIDR. Its /64 goes back to the virtual private cloud's /56.
|
|
2179
2231
|
* @summary Delete a subnet
|
|
2180
2232
|
*/
|
|
2181
|
-
export declare const deleteVirtualPrivateCloudSubnet: (virtualPrivateCloudId:
|
|
2233
|
+
export declare const deleteVirtualPrivateCloudSubnet: (virtualPrivateCloudId: VirtualPrivateCloudId, subnetId: SubnetId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVirtualPrivateCloudSubnetResponse>;
|
|
2182
2234
|
export type listVirtualPrivateCloudsResponse200 = {
|
|
2183
2235
|
data: VirtualPrivateCloudListResponseBody;
|
|
2184
2236
|
status: 200;
|
|
@@ -2235,11 +2287,11 @@ export type getVirtualPrivateCloudResponseError = getVirtualPrivateCloudResponse
|
|
|
2235
2287
|
headers: Headers;
|
|
2236
2288
|
};
|
|
2237
2289
|
export type getVirtualPrivateCloudResponse = getVirtualPrivateCloudResponseSuccess | getVirtualPrivateCloudResponseError;
|
|
2238
|
-
export declare const getGetVirtualPrivateCloudUrl: (virtualPrivateCloudId:
|
|
2290
|
+
export declare const getGetVirtualPrivateCloudUrl: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2239
2291
|
/**
|
|
2240
2292
|
* @summary Retrieve a virtual private cloud
|
|
2241
2293
|
*/
|
|
2242
|
-
export declare const getVirtualPrivateCloud: (virtualPrivateCloudId:
|
|
2294
|
+
export declare const getVirtualPrivateCloud: (virtualPrivateCloudId: VirtualPrivateCloudId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVirtualPrivateCloudResponse>;
|
|
2243
2295
|
export type updateVirtualPrivateCloudResponse200 = {
|
|
2244
2296
|
data: VirtualPrivateCloud;
|
|
2245
2297
|
status: 200;
|
|
@@ -2255,12 +2307,12 @@ export type updateVirtualPrivateCloudResponseError = updateVirtualPrivateCloudRe
|
|
|
2255
2307
|
headers: Headers;
|
|
2256
2308
|
};
|
|
2257
2309
|
export type updateVirtualPrivateCloudResponse = updateVirtualPrivateCloudResponseSuccess | updateVirtualPrivateCloudResponseError;
|
|
2258
|
-
export declare const getUpdateVirtualPrivateCloudUrl: (virtualPrivateCloudId:
|
|
2310
|
+
export declare const getUpdateVirtualPrivateCloudUrl: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2259
2311
|
/**
|
|
2260
2312
|
* Only the name can change. The CIDR is fixed for the network's life, because every subnet and address inside it was allocated from it.
|
|
2261
2313
|
* @summary Update a virtual private cloud
|
|
2262
2314
|
*/
|
|
2263
|
-
export declare const updateVirtualPrivateCloud: (virtualPrivateCloudId:
|
|
2315
|
+
export declare const updateVirtualPrivateCloud: (virtualPrivateCloudId: VirtualPrivateCloudId, updateVirtualPrivateCloudRequestBody: UpdateVirtualPrivateCloudRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateVirtualPrivateCloudResponse>;
|
|
2264
2316
|
export type deleteVirtualPrivateCloudResponse202 = {
|
|
2265
2317
|
data: VirtualPrivateCloud;
|
|
2266
2318
|
status: 202;
|
|
@@ -2280,12 +2332,12 @@ export type deleteVirtualPrivateCloudResponseError = (deleteVirtualPrivateCloudR
|
|
|
2280
2332
|
headers: Headers;
|
|
2281
2333
|
};
|
|
2282
2334
|
export type deleteVirtualPrivateCloudResponse = deleteVirtualPrivateCloudResponseSuccess | deleteVirtualPrivateCloudResponseError;
|
|
2283
|
-
export declare const getDeleteVirtualPrivateCloudUrl: (virtualPrivateCloudId:
|
|
2335
|
+
export declare const getDeleteVirtualPrivateCloudUrl: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2284
2336
|
/**
|
|
2285
2337
|
* Deletion is rejected while instances or network interfaces remain in the network. Its subnets, routes, security groups and IPv6 configuration are removed with it.
|
|
2286
2338
|
* @summary Release a virtual private cloud
|
|
2287
2339
|
*/
|
|
2288
|
-
export declare const deleteVirtualPrivateCloud: (virtualPrivateCloudId:
|
|
2340
|
+
export declare const deleteVirtualPrivateCloud: (virtualPrivateCloudId: VirtualPrivateCloudId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVirtualPrivateCloudResponse>;
|
|
2289
2341
|
export type enableVirtualPrivateCloudIpv6Response202 = {
|
|
2290
2342
|
data: VirtualPrivateCloud;
|
|
2291
2343
|
status: 202;
|
|
@@ -2305,14 +2357,14 @@ export type enableVirtualPrivateCloudIpv6ResponseError = (enableVirtualPrivateCl
|
|
|
2305
2357
|
headers: Headers;
|
|
2306
2358
|
};
|
|
2307
2359
|
export type enableVirtualPrivateCloudIpv6Response = enableVirtualPrivateCloudIpv6ResponseSuccess | enableVirtualPrivateCloudIpv6ResponseError;
|
|
2308
|
-
export declare const getEnableVirtualPrivateCloudIpv6Url: (virtualPrivateCloudId:
|
|
2360
|
+
export declare const getEnableVirtualPrivateCloudIpv6Url: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2309
2361
|
/**
|
|
2310
2362
|
* Gives the virtual private cloud a /56 that is routed to it, and every subnet of it a /64 of that /56; a subnet created afterwards takes its /64 at creation. It requires no elastic IP or NAT gateway: IPv6 is routed, not translated. A network interface created afterwards receives an address of its subnet's /64; addresses cannot be requested or released individually, and security groups apply to them as to IPv4. An interface created before IPv6 was enabled keeps only its IPv4 address.
|
|
2311
2363
|
*
|
|
2312
2364
|
* Enabling IPv6 that is already enabled answers with the virtual private cloud as it is.
|
|
2313
2365
|
* @summary Enable IPv6 on a virtual private cloud
|
|
2314
2366
|
*/
|
|
2315
|
-
export declare const enableVirtualPrivateCloudIpv6: (virtualPrivateCloudId:
|
|
2367
|
+
export declare const enableVirtualPrivateCloudIpv6: (virtualPrivateCloudId: VirtualPrivateCloudId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<enableVirtualPrivateCloudIpv6Response>;
|
|
2316
2368
|
export type disableVirtualPrivateCloudIpv6Response202 = {
|
|
2317
2369
|
data: VirtualPrivateCloud;
|
|
2318
2370
|
status: 202;
|
|
@@ -2332,12 +2384,12 @@ export type disableVirtualPrivateCloudIpv6ResponseError = (disableVirtualPrivate
|
|
|
2332
2384
|
headers: Headers;
|
|
2333
2385
|
};
|
|
2334
2386
|
export type disableVirtualPrivateCloudIpv6Response = disableVirtualPrivateCloudIpv6ResponseSuccess | disableVirtualPrivateCloudIpv6ResponseError;
|
|
2335
|
-
export declare const getDisableVirtualPrivateCloudIpv6Url: (virtualPrivateCloudId:
|
|
2387
|
+
export declare const getDisableVirtualPrivateCloudIpv6Url: (virtualPrivateCloudId: VirtualPrivateCloudId) => string;
|
|
2336
2388
|
/**
|
|
2337
2389
|
* Removes the IPv6 of every subnet and gives the /56 back. Refused while a network interface remains in the virtual private cloud, since its IPv6 address would stop working with nothing reporting it.
|
|
2338
2390
|
* @summary Disable IPv6 on a virtual private cloud
|
|
2339
2391
|
*/
|
|
2340
|
-
export declare const disableVirtualPrivateCloudIpv6: (virtualPrivateCloudId:
|
|
2392
|
+
export declare const disableVirtualPrivateCloudIpv6: (virtualPrivateCloudId: VirtualPrivateCloudId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<disableVirtualPrivateCloudIpv6Response>;
|
|
2341
2393
|
export type getVirtualPrivateCloudFreeSubnetCidrResponse200 = {
|
|
2342
2394
|
data: FreeSubnetCidr;
|
|
2343
2395
|
status: 200;
|
|
@@ -2353,12 +2405,12 @@ export type getVirtualPrivateCloudFreeSubnetCidrResponseError = getVirtualPrivat
|
|
|
2353
2405
|
headers: Headers;
|
|
2354
2406
|
};
|
|
2355
2407
|
export type getVirtualPrivateCloudFreeSubnetCidrResponse = getVirtualPrivateCloudFreeSubnetCidrResponseSuccess | getVirtualPrivateCloudFreeSubnetCidrResponseError;
|
|
2356
|
-
export declare const getGetVirtualPrivateCloudFreeSubnetCidrUrl: (virtualPrivateCloudId:
|
|
2408
|
+
export declare const getGetVirtualPrivateCloudFreeSubnetCidrUrl: (virtualPrivateCloudId: VirtualPrivateCloudId, params?: GetVirtualPrivateCloudFreeSubnetCidrParams) => string;
|
|
2357
2409
|
/**
|
|
2358
2410
|
* The first CIDR of the given prefix length inside the virtual private cloud that no subnet overlaps. It is not reserved; creating the subnet checks it again.
|
|
2359
2411
|
* @summary Get a free subnet CIDR
|
|
2360
2412
|
*/
|
|
2361
|
-
export declare const getVirtualPrivateCloudFreeSubnetCidr: (virtualPrivateCloudId:
|
|
2413
|
+
export declare const getVirtualPrivateCloudFreeSubnetCidr: (virtualPrivateCloudId: VirtualPrivateCloudId, params?: GetVirtualPrivateCloudFreeSubnetCidrParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVirtualPrivateCloudFreeSubnetCidrResponse>;
|
|
2362
2414
|
export type listVolumeBackupsResponse200 = {
|
|
2363
2415
|
data: VolumeBackupListResponseBody;
|
|
2364
2416
|
status: 200;
|
|
@@ -2423,12 +2475,12 @@ export type getVolumeBackupResponseError = getVolumeBackupResponseDefault & {
|
|
|
2423
2475
|
headers: Headers;
|
|
2424
2476
|
};
|
|
2425
2477
|
export type getVolumeBackupResponse = getVolumeBackupResponseSuccess | getVolumeBackupResponseError;
|
|
2426
|
-
export declare const getGetVolumeBackupUrl: (volumeBackupId:
|
|
2478
|
+
export declare const getGetVolumeBackupUrl: (volumeBackupId: VolumeBackupId) => string;
|
|
2427
2479
|
/**
|
|
2428
2480
|
* Returns the stored state of the backup; it does not query the cloud. Use it to poll creation progress.
|
|
2429
2481
|
* @summary Retrieve a volume backup
|
|
2430
2482
|
*/
|
|
2431
|
-
export declare const getVolumeBackup: (volumeBackupId:
|
|
2483
|
+
export declare const getVolumeBackup: (volumeBackupId: VolumeBackupId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVolumeBackupResponse>;
|
|
2432
2484
|
export type updateVolumeBackupResponse200 = {
|
|
2433
2485
|
data: VolumeBackupResource;
|
|
2434
2486
|
status: 200;
|
|
@@ -2444,12 +2496,12 @@ export type updateVolumeBackupResponseError = updateVolumeBackupResponseDefault
|
|
|
2444
2496
|
headers: Headers;
|
|
2445
2497
|
};
|
|
2446
2498
|
export type updateVolumeBackupResponse = updateVolumeBackupResponseSuccess | updateVolumeBackupResponseError;
|
|
2447
|
-
export declare const getUpdateVolumeBackupUrl: (volumeBackupId:
|
|
2499
|
+
export declare const getUpdateVolumeBackupUrl: (volumeBackupId: VolumeBackupId) => string;
|
|
2448
2500
|
/**
|
|
2449
2501
|
* Changes the name only. A backup's source volume and capacity cannot be changed.
|
|
2450
2502
|
* @summary Update a volume backup
|
|
2451
2503
|
*/
|
|
2452
|
-
export declare const updateVolumeBackup: (volumeBackupId:
|
|
2504
|
+
export declare const updateVolumeBackup: (volumeBackupId: VolumeBackupId, updateVolumeBackupRequestBody: UpdateVolumeBackupRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateVolumeBackupResponse>;
|
|
2453
2505
|
export type deleteVolumeBackupResponse202 = {
|
|
2454
2506
|
data: DeleteVolumeBackupResponseBody;
|
|
2455
2507
|
status: 202;
|
|
@@ -2469,7 +2521,7 @@ export type deleteVolumeBackupResponseError = (deleteVolumeBackupResponse409 | d
|
|
|
2469
2521
|
headers: Headers;
|
|
2470
2522
|
};
|
|
2471
2523
|
export type deleteVolumeBackupResponse = deleteVolumeBackupResponseSuccess | deleteVolumeBackupResponseError;
|
|
2472
|
-
export declare const getDeleteVolumeBackupUrl: (volumeBackupId:
|
|
2524
|
+
export declare const getDeleteVolumeBackupUrl: (volumeBackupId: VolumeBackupId, params?: DeleteVolumeBackupParams) => string;
|
|
2473
2525
|
/**
|
|
2474
2526
|
* Independent of the source volume: deletion succeeds whether or not that volume still exists. Metering of the backup ends once it is deleted.
|
|
2475
2527
|
*
|
|
@@ -2477,10 +2529,10 @@ export declare const getDeleteVolumeBackupUrl: (volumeBackupId: VolumeBackupID,
|
|
|
2477
2529
|
*
|
|
2478
2530
|
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
2479
2531
|
*
|
|
2480
|
-
* While
|
|
2532
|
+
* While subscription items pay for the volume backup (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the volume backup working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2481
2533
|
* @summary Delete a volume backup
|
|
2482
2534
|
*/
|
|
2483
|
-
export declare const deleteVolumeBackup: (volumeBackupId:
|
|
2535
|
+
export declare const deleteVolumeBackup: (volumeBackupId: VolumeBackupId, params?: DeleteVolumeBackupParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVolumeBackupResponse>;
|
|
2484
2536
|
export type listVolumeSnapshotsResponse200 = {
|
|
2485
2537
|
data: VolumeSnapshotListResponseBody;
|
|
2486
2538
|
status: 200;
|
|
@@ -2545,11 +2597,11 @@ export type getVolumeSnapshotResponseError = getVolumeSnapshotResponseDefault &
|
|
|
2545
2597
|
headers: Headers;
|
|
2546
2598
|
};
|
|
2547
2599
|
export type getVolumeSnapshotResponse = getVolumeSnapshotResponseSuccess | getVolumeSnapshotResponseError;
|
|
2548
|
-
export declare const getGetVolumeSnapshotUrl: (volumeSnapshotId:
|
|
2600
|
+
export declare const getGetVolumeSnapshotUrl: (volumeSnapshotId: VolumeSnapshotId) => string;
|
|
2549
2601
|
/**
|
|
2550
2602
|
* @summary Retrieve a snapshot
|
|
2551
2603
|
*/
|
|
2552
|
-
export declare const getVolumeSnapshot: (volumeSnapshotId:
|
|
2604
|
+
export declare const getVolumeSnapshot: (volumeSnapshotId: VolumeSnapshotId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVolumeSnapshotResponse>;
|
|
2553
2605
|
export type updateVolumeSnapshotResponse200 = {
|
|
2554
2606
|
data: VolumeSnapshotResource;
|
|
2555
2607
|
status: 200;
|
|
@@ -2565,12 +2617,12 @@ export type updateVolumeSnapshotResponseError = updateVolumeSnapshotResponseDefa
|
|
|
2565
2617
|
headers: Headers;
|
|
2566
2618
|
};
|
|
2567
2619
|
export type updateVolumeSnapshotResponse = updateVolumeSnapshotResponseSuccess | updateVolumeSnapshotResponseError;
|
|
2568
|
-
export declare const getUpdateVolumeSnapshotUrl: (volumeSnapshotId:
|
|
2620
|
+
export declare const getUpdateVolumeSnapshotUrl: (volumeSnapshotId: VolumeSnapshotId) => string;
|
|
2569
2621
|
/**
|
|
2570
2622
|
* Changes the name only. A snapshot's source volume and capacity cannot be changed.
|
|
2571
2623
|
* @summary Update a snapshot
|
|
2572
2624
|
*/
|
|
2573
|
-
export declare const updateVolumeSnapshot: (volumeSnapshotId:
|
|
2625
|
+
export declare const updateVolumeSnapshot: (volumeSnapshotId: VolumeSnapshotId, updateVolumeSnapshotRequestBody: UpdateVolumeSnapshotRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateVolumeSnapshotResponse>;
|
|
2574
2626
|
export type deleteVolumeSnapshotResponse202 = {
|
|
2575
2627
|
data: DeleteVolumeSnapshotResponseBody;
|
|
2576
2628
|
status: 202;
|
|
@@ -2590,16 +2642,16 @@ export type deleteVolumeSnapshotResponseError = (deleteVolumeSnapshotResponse409
|
|
|
2590
2642
|
headers: Headers;
|
|
2591
2643
|
};
|
|
2592
2644
|
export type deleteVolumeSnapshotResponse = deleteVolumeSnapshotResponseSuccess | deleteVolumeSnapshotResponseError;
|
|
2593
|
-
export declare const getDeleteVolumeSnapshotUrl: (volumeSnapshotId:
|
|
2645
|
+
export declare const getDeleteVolumeSnapshotUrl: (volumeSnapshotId: VolumeSnapshotId, params?: DeleteVolumeSnapshotParams) => string;
|
|
2594
2646
|
/**
|
|
2595
2647
|
* Deletes this resource. Quota capacity and storage metering are released only after cleanup is confirmed.
|
|
2596
2648
|
*
|
|
2597
2649
|
* A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
|
|
2598
2650
|
*
|
|
2599
|
-
* While
|
|
2651
|
+
* While subscription items pay for the snapshot (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the snapshot working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2600
2652
|
* @summary Delete a snapshot
|
|
2601
2653
|
*/
|
|
2602
|
-
export declare const deleteVolumeSnapshot: (volumeSnapshotId:
|
|
2654
|
+
export declare const deleteVolumeSnapshot: (volumeSnapshotId: VolumeSnapshotId, params?: DeleteVolumeSnapshotParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVolumeSnapshotResponse>;
|
|
2603
2655
|
export type listVolumeTypesResponse200 = {
|
|
2604
2656
|
data: VolumeTypeListResponseBody;
|
|
2605
2657
|
status: 200;
|
|
@@ -2636,12 +2688,12 @@ export type getVolumeTypeResponseError = getVolumeTypeResponseDefault & {
|
|
|
2636
2688
|
headers: Headers;
|
|
2637
2689
|
};
|
|
2638
2690
|
export type getVolumeTypeResponse = getVolumeTypeResponseSuccess | getVolumeTypeResponseError;
|
|
2639
|
-
export declare const getGetVolumeTypeUrl: (volumeTypeId:
|
|
2691
|
+
export declare const getGetVolumeTypeUrl: (volumeTypeId: VolumeTypeId) => string;
|
|
2640
2692
|
/**
|
|
2641
2693
|
* Retrieve capacity and performance constraints for an existing volume, including types withdrawn from sale.
|
|
2642
2694
|
* @summary Get a volume type
|
|
2643
2695
|
*/
|
|
2644
|
-
export declare const getVolumeType: (volumeTypeId:
|
|
2696
|
+
export declare const getVolumeType: (volumeTypeId: VolumeTypeId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVolumeTypeResponse>;
|
|
2645
2697
|
export type listVolumesResponse200 = {
|
|
2646
2698
|
data: VolumeListResponseBody;
|
|
2647
2699
|
status: 200;
|
|
@@ -2695,7 +2747,9 @@ export declare const getCreateVolumeUrl: () => string;
|
|
|
2695
2747
|
*
|
|
2696
2748
|
* A volume type that is off sale is rejected with `VOLUME_TYPE_OFF_SALE`, even though its identifier still resolves. Types that are off sale do not appear in the volume type listing; volumes already bought on one keep working and can still be resized.
|
|
2697
2749
|
*
|
|
2698
|
-
* A volume bought on its own is licensed: `billing.usage_type` `metered` is refused with `VOLUME_USAGE_TYPE_UNAVAILABLE`. A volume created with an instance follows the machine's terms instead and may be metered.
|
|
2750
|
+
* A volume bought on its own is licensed, with a Billing subscription of its own: `billing.usage_type` `metered` is refused with `VOLUME_USAGE_TYPE_UNAVAILABLE`. A volume created with an instance follows the machine's terms instead and may be metered.
|
|
2751
|
+
*
|
|
2752
|
+
* **Buying for an instance.** With `instance_id`, the volume is attached to that instance of the project once created, and becomes an item of the instance's Billing subscription: it is charged up to the instance's term end, the rest of the current period in proportion to the time left, and from then on renews, renews automatically and expires with the instance. Its volume type has to be of the instance's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`). `billing` may be omitted to take the instance's terms; given, its usage type and period must be the instance's (422 `VOLUME_BILLING_TERMS_MISMATCH`), while its termination policy may differ. An instance with no room for another volume is refused before anything is ordered, as attaching would be.
|
|
2699
2753
|
*
|
|
2700
2754
|
* The volume is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
|
|
2701
2755
|
* @summary Create a volume
|
|
@@ -2716,51 +2770,33 @@ export type getVolumeResponseError = getVolumeResponseDefault & {
|
|
|
2716
2770
|
headers: Headers;
|
|
2717
2771
|
};
|
|
2718
2772
|
export type getVolumeResponse = getVolumeResponseSuccess | getVolumeResponseError;
|
|
2719
|
-
export declare const getGetVolumeUrl: (volumeId:
|
|
2773
|
+
export declare const getGetVolumeUrl: (volumeId: VolumeId) => string;
|
|
2720
2774
|
/**
|
|
2721
2775
|
* Returns the stored state of the volume; it does not query the cloud.
|
|
2722
2776
|
* @summary Retrieve a volume
|
|
2723
2777
|
*/
|
|
2724
|
-
export declare const getVolume: (volumeId:
|
|
2778
|
+
export declare const getVolume: (volumeId: VolumeId, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getVolumeResponse>;
|
|
2725
2779
|
export type updateVolumeResponse200 = {
|
|
2726
|
-
data:
|
|
2780
|
+
data: VolumeResource;
|
|
2727
2781
|
status: 200;
|
|
2728
2782
|
};
|
|
2729
|
-
export type updateVolumeResponse202 = {
|
|
2730
|
-
data: UpdateVolumeResponseBody;
|
|
2731
|
-
status: 202;
|
|
2732
|
-
};
|
|
2733
|
-
export type updateVolumeResponse409 = {
|
|
2734
|
-
data: ConflictResponse;
|
|
2735
|
-
status: 409;
|
|
2736
|
-
};
|
|
2737
2783
|
export type updateVolumeResponseDefault = {
|
|
2738
2784
|
data: Error;
|
|
2739
|
-
status: Exclude<HTTPStatusCodes, 200
|
|
2785
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
2740
2786
|
};
|
|
2741
|
-
export type updateVolumeResponseSuccess =
|
|
2787
|
+
export type updateVolumeResponseSuccess = updateVolumeResponse200 & {
|
|
2742
2788
|
headers: Headers;
|
|
2743
2789
|
};
|
|
2744
|
-
export type updateVolumeResponseError =
|
|
2790
|
+
export type updateVolumeResponseError = updateVolumeResponseDefault & {
|
|
2745
2791
|
headers: Headers;
|
|
2746
2792
|
};
|
|
2747
2793
|
export type updateVolumeResponse = updateVolumeResponseSuccess | updateVolumeResponseError;
|
|
2748
|
-
export declare const getUpdateVolumeUrl: (volumeId:
|
|
2794
|
+
export declare const getUpdateVolumeUrl: (volumeId: VolumeId) => string;
|
|
2749
2795
|
/**
|
|
2750
|
-
* Changes the name
|
|
2751
|
-
*
|
|
2752
|
-
* `size_gib` and `volume_type_id` are operational fields: each starts a change and cannot be combined with any other field in the same request, including the other one. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the change and are accepted only together with one of them.
|
|
2753
|
-
*
|
|
2754
|
-
* **Renaming** is not an operation and is accepted at any time. It returns 200 with `checkout_session_id` and `order_id` null.
|
|
2755
|
-
*
|
|
2756
|
-
* **Resizing** accepts only an increase; a smaller `size_gib` is refused with `VOLUME_CANNOT_SHRINK` (422), since a file system cannot be shrunk from outside the instance. It returns 202 with the volume and the Checkout Session for the resize, which keeps the volume's usage type and period. The volume is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The volume keeps its current size until the resize is applied; once `size_gib` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the volume keeps its size and Billing shows the outcome.
|
|
2757
|
-
*
|
|
2758
|
-
* **Changing the type** moves the volume to another volume type at the same capacity, priced as that type, and returns 202 with the volume and the Checkout Session for the change, which keeps the volume's usage type and period. The volume has to be detached (409 `VOLUME_RETYPE_ATTACHED`), so a boot volume cannot change its type. The target has to be on sale (`VOLUME_TYPE_OFF_SALE`), in the volume's region (422 `VOLUME_RETYPE_OTHER_REGION`), of the volume's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`) with room for the volume (409 `VOLUME_TYPE_SOLD_OUT`, `VOLUME_TYPE_CAPACITY_REACHED`, `VOLUME_TYPE_NO_POOL_ROOM`), admit the volume's capacity (422 `VOLUME_SIZE_OUT_OF_RANGE`, `VOLUME_SIZE_NOT_ON_STEP`) and differ from the current one (422 `VOLUME_RETYPE_SAME_TYPE`). The volume is `retyping` until the change is applied, its Checkout Session expires or its order is canceled. A target on the same storage backend takes effect at once; one on another backend copies the volume's data there first, which takes longer the larger the volume is. The volume keeps its type until `volume_type_id` shows the new one, and its `performance` follows from then on; a change that did not take effect leaves the volume as it was and is refunded.
|
|
2759
|
-
*
|
|
2760
|
-
* An attached volume, including a boot volume, can be resized. The capacity is usable at once, and the volume's `performance` shows what its type gives the new size. **That performance applies from the volume's next attachment, or the next start of its stopped instance**: the storage reads a volume's limits only while connecting it. Until then the attachment's `performance` shows what is in effect.
|
|
2796
|
+
* Changes the name. It is not an operation and is accepted at any time. Growing the volume is `:resize` and moving it to another type is `:retype`.
|
|
2761
2797
|
* @summary Update a volume
|
|
2762
2798
|
*/
|
|
2763
|
-
export declare const updateVolume: (volumeId:
|
|
2799
|
+
export declare const updateVolume: (volumeId: VolumeId, updateVolumeRequestBody: UpdateVolumeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateVolumeResponse>;
|
|
2764
2800
|
export type deleteVolumeResponse202 = {
|
|
2765
2801
|
data: DeleteVolumeResponseBody;
|
|
2766
2802
|
status: 202;
|
|
@@ -2780,16 +2816,68 @@ export type deleteVolumeResponseError = (deleteVolumeResponse409 | deleteVolumeR
|
|
|
2780
2816
|
headers: Headers;
|
|
2781
2817
|
};
|
|
2782
2818
|
export type deleteVolumeResponse = deleteVolumeResponseSuccess | deleteVolumeResponseError;
|
|
2783
|
-
export declare const getDeleteVolumeUrl: (volumeId:
|
|
2819
|
+
export declare const getDeleteVolumeUrl: (volumeId: VolumeId, params?: DeleteVolumeParams) => string;
|
|
2784
2820
|
/**
|
|
2785
2821
|
* Deletion is rejected while the volume is attached, or while snapshots created from it still exist.
|
|
2786
2822
|
*
|
|
2787
2823
|
* Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
|
|
2788
2824
|
*
|
|
2789
|
-
* While
|
|
2825
|
+
* While subscription items pay for the volume (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the volume working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
|
|
2790
2826
|
* @summary Delete a volume
|
|
2791
2827
|
*/
|
|
2792
|
-
export declare const deleteVolume: (volumeId:
|
|
2828
|
+
export declare const deleteVolume: (volumeId: VolumeId, params?: DeleteVolumeParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteVolumeResponse>;
|
|
2829
|
+
export type resizeVolumeResponse202 = {
|
|
2830
|
+
data: VolumeChangeResponseBody;
|
|
2831
|
+
status: 202;
|
|
2832
|
+
};
|
|
2833
|
+
export type resizeVolumeResponse409 = {
|
|
2834
|
+
data: ConflictResponse;
|
|
2835
|
+
status: 409;
|
|
2836
|
+
};
|
|
2837
|
+
export type resizeVolumeResponseDefault = {
|
|
2838
|
+
data: Error;
|
|
2839
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
2840
|
+
};
|
|
2841
|
+
export type resizeVolumeResponseSuccess = resizeVolumeResponse202 & {
|
|
2842
|
+
headers: Headers;
|
|
2843
|
+
};
|
|
2844
|
+
export type resizeVolumeResponseError = (resizeVolumeResponse409 | resizeVolumeResponseDefault) & {
|
|
2845
|
+
headers: Headers;
|
|
2846
|
+
};
|
|
2847
|
+
export type resizeVolumeResponse = resizeVolumeResponseSuccess | resizeVolumeResponseError;
|
|
2848
|
+
export declare const getResizeVolumeUrl: (volumeId: VolumeId) => string;
|
|
2849
|
+
/**
|
|
2850
|
+
* Grows the volume through a change of its subscription item purchased in Billing. Only an increase is accepted; a smaller `size_gib` is refused with `VOLUME_CANNOT_SHRINK` (422), since a file system cannot be shrunk from outside the instance. It returns 202 with the volume and the Checkout Session for the resize, which keeps the volume's usage type and period. The volume is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The volume keeps its current size until the resize is applied; once `size_gib` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the volume keeps its size and Billing shows the outcome.
|
|
2851
|
+
*
|
|
2852
|
+
* An attached volume, including a boot volume, can be resized. The capacity is usable at once, and the volume's `performance` shows what its type gives the new size. **That performance applies from the volume's next attachment, or the next start of its stopped instance**: the storage reads a volume's limits only while connecting it. Until then the attachment's `performance` shows what is in effect.
|
|
2853
|
+
* @summary Resize a volume
|
|
2854
|
+
*/
|
|
2855
|
+
export declare const resizeVolume: (volumeId: VolumeId, resizeVolumeRequestBody: ResizeVolumeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<resizeVolumeResponse>;
|
|
2856
|
+
export type retypeVolumeResponse202 = {
|
|
2857
|
+
data: VolumeChangeResponseBody;
|
|
2858
|
+
status: 202;
|
|
2859
|
+
};
|
|
2860
|
+
export type retypeVolumeResponse409 = {
|
|
2861
|
+
data: ConflictResponse;
|
|
2862
|
+
status: 409;
|
|
2863
|
+
};
|
|
2864
|
+
export type retypeVolumeResponseDefault = {
|
|
2865
|
+
data: Error;
|
|
2866
|
+
status: Exclude<HTTPStatusCodes, 202 | 409>;
|
|
2867
|
+
};
|
|
2868
|
+
export type retypeVolumeResponseSuccess = retypeVolumeResponse202 & {
|
|
2869
|
+
headers: Headers;
|
|
2870
|
+
};
|
|
2871
|
+
export type retypeVolumeResponseError = (retypeVolumeResponse409 | retypeVolumeResponseDefault) & {
|
|
2872
|
+
headers: Headers;
|
|
2873
|
+
};
|
|
2874
|
+
export type retypeVolumeResponse = retypeVolumeResponseSuccess | retypeVolumeResponseError;
|
|
2875
|
+
export declare const getRetypeVolumeUrl: (volumeId: VolumeId) => string;
|
|
2876
|
+
/**
|
|
2877
|
+
* Moves the volume to another volume type at the same capacity, priced as that type, through a change of its subscription item purchased in Billing, and returns 202 with the volume and the Checkout Session for the change, which keeps the volume's usage type and period. The volume has to be detached (409 `VOLUME_RETYPE_ATTACHED`), so a boot volume cannot change its type. The target has to be on sale (`VOLUME_TYPE_OFF_SALE`), in the volume's region (422 `VOLUME_RETYPE_OTHER_REGION`), of the volume's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`) with room for the volume (409 `VOLUME_TYPE_SOLD_OUT`, `VOLUME_TYPE_CAPACITY_REACHED`, `VOLUME_TYPE_NO_POOL_ROOM`), admit the volume's capacity (422 `VOLUME_SIZE_OUT_OF_RANGE`, `VOLUME_SIZE_NOT_ON_STEP`) and differ from the current one (422 `VOLUME_RETYPE_SAME_TYPE`). The volume is `retyping` until the change is applied, its Checkout Session expires or its order is canceled. A target on the same storage backend takes effect at once; one on another backend copies the volume's data there first, which takes longer the larger the volume is. The volume keeps its type until `volume_type_id` shows the new one, and its `performance` follows from then on; a change that did not take effect leaves the volume as it was and is refunded.
|
|
2878
|
+
* @summary Change the type of a volume
|
|
2879
|
+
*/
|
|
2880
|
+
export declare const retypeVolume: (volumeId: VolumeId, retypeVolumeRequestBody: RetypeVolumeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<retypeVolumeResponse>;
|
|
2793
2881
|
export type revertVolumeResponse202 = {
|
|
2794
2882
|
data: VolumeResource;
|
|
2795
2883
|
status: 202;
|
|
@@ -2809,7 +2897,7 @@ export type revertVolumeResponseError = (revertVolumeResponse409 | revertVolumeR
|
|
|
2809
2897
|
headers: Headers;
|
|
2810
2898
|
};
|
|
2811
2899
|
export type revertVolumeResponse = revertVolumeResponseSuccess | revertVolumeResponseError;
|
|
2812
|
-
export declare const getRevertVolumeUrl: (volumeId:
|
|
2900
|
+
export declare const getRevertVolumeUrl: (volumeId: VolumeId) => string;
|
|
2813
2901
|
/**
|
|
2814
2902
|
* Restores the contents of the volume to the moment the snapshot was taken. **All data written after that moment is lost and cannot be recovered.**
|
|
2815
2903
|
*
|
|
@@ -2818,4 +2906,4 @@ export declare const getRevertVolumeUrl: (volumeId: VolumeID) => string;
|
|
|
2818
2906
|
* The revert is a request of its own rather than a state of the volume: the response is the volume, which is `reverting` until the revert is complete.
|
|
2819
2907
|
* @summary Revert a volume to a snapshot
|
|
2820
2908
|
*/
|
|
2821
|
-
export declare const revertVolume: (volumeId:
|
|
2909
|
+
export declare const revertVolume: (volumeId: VolumeId, revertVolumeRequestBody: RevertVolumeRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<revertVolumeResponse>;
|