@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.
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
* @maxLength 31
|
|
39
39
|
* @pattern ^zone_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
40
40
|
*/
|
|
41
|
-
export type
|
|
41
|
+
export type AvailabilityZoneId = string;
|
|
42
42
|
/**
|
|
43
43
|
* Compute Region TypeID. UUID text is not accepted.
|
|
44
44
|
* @minLength 33
|
|
45
45
|
* @maxLength 33
|
|
46
46
|
* @pattern ^region_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
47
47
|
*/
|
|
48
|
-
export type
|
|
48
|
+
export type RegionId = string;
|
|
49
49
|
export interface AvailabilityZoneResource {
|
|
50
50
|
/** Display name for this zone, shown to tenants (Hong Kong A). The stable handle is code. */
|
|
51
51
|
name: string;
|
|
52
52
|
/** The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
|
|
53
53
|
code: string;
|
|
54
|
-
id:
|
|
55
|
-
region_id:
|
|
54
|
+
id: AvailabilityZoneId;
|
|
55
|
+
region_id: RegionId;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
|
|
@@ -157,6 +157,20 @@ export interface CheckoutOptions {
|
|
|
157
157
|
* @maxLength 2048
|
|
158
158
|
*/
|
|
159
159
|
return_url?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Turns on automatic renewal of every subscription with licensed items that the purchase opens. Off
|
|
162
|
+
* when omitted. It must be the customer's own choice. For a free trial, it converts the trial to paid
|
|
163
|
+
* when the trial ends.
|
|
164
|
+
*/
|
|
165
|
+
auto_renew?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* A free trial grant of the paying billing account that the customer chose to use. The first new
|
|
168
|
+
* subscription of the purchase whose lines the grant's offer all covers, and that has a licensed line and
|
|
169
|
+
* no trial of its own, opens with the offer's free trial. Accepted only in automatic mode; with deferred it is refused with
|
|
170
|
+
* HTTP 400, and the grant is chosen when completing the checkout through Billing. Refused with
|
|
171
|
+
* BILLING_TRIAL_GRANT_INAPPLICABLE when no subscription qualifies or the grant cannot be used now.
|
|
172
|
+
*/
|
|
173
|
+
trial_grant_id?: string;
|
|
160
174
|
}
|
|
161
175
|
/**
|
|
162
176
|
* The line's dimensions, the coordinates Billing prices it at; every meter of the line reads under the same ones, and under its own `resource_dimensions` as well. Pass them to Billing unchanged; they name nothing a client needs to read.
|
|
@@ -202,7 +216,7 @@ export interface BillingMeter {
|
|
|
202
216
|
resource_dimensions: string[];
|
|
203
217
|
}
|
|
204
218
|
/**
|
|
205
|
-
* How one order line of a catalog item is sold in Billing. Read its prices with Billing's `search-prices` by `plan_id`, giving `dimensions` to narrow each price's `rates` to this line.
|
|
219
|
+
* How one order line of a catalog item is sold in Billing. Read its prices with Billing's `search-prices` by `plan_id`, giving `dimensions` to narrow each price's `rates` to this line. Preview a purchase with Billing's `preview-checkout-session`, giving the line `plan_id`, `dimensions` unchanged, and the quantity `quantity` names for the usage type chosen; estimate a metered line with `estimate-usage`, giving each of `meters` the same dimensions and the quantity it names. Prices and amounts are Billing's alone.
|
|
206
220
|
*/
|
|
207
221
|
export interface BillingComponent {
|
|
208
222
|
/** The Billing Plan the line is sold under. */
|
|
@@ -226,13 +240,13 @@ export declare const CancellationMode: {
|
|
|
226
240
|
readonly period_end: "period_end";
|
|
227
241
|
};
|
|
228
242
|
/**
|
|
229
|
-
* A Billing cancellation that Compute created to release a resource and the
|
|
243
|
+
* A Billing cancellation that Compute created to release a resource and the subscription items in its release set. Billing owns it; read its progress and any refund there by `id`.
|
|
230
244
|
*/
|
|
231
245
|
export interface BillingCancellation {
|
|
232
246
|
id: string;
|
|
233
247
|
mode: CancellationMode;
|
|
234
248
|
/**
|
|
235
|
-
* When the
|
|
249
|
+
* When the items end and the resources are released; null while Billing has not fixed it.
|
|
236
250
|
* @nullable
|
|
237
251
|
*/
|
|
238
252
|
scheduled_at: string | null;
|
|
@@ -240,32 +254,32 @@ export interface BillingCancellation {
|
|
|
240
254
|
/**
|
|
241
255
|
* `on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working.
|
|
242
256
|
*/
|
|
243
|
-
export type
|
|
244
|
-
export declare const
|
|
257
|
+
export type ElasticIpLineSaleStatus = (typeof ElasticIpLineSaleStatus)[keyof typeof ElasticIpLineSaleStatus];
|
|
258
|
+
export declare const ElasticIpLineSaleStatus: {
|
|
245
259
|
readonly on_sale: "on_sale";
|
|
246
260
|
readonly off_sale: "off_sale";
|
|
247
261
|
};
|
|
248
262
|
/**
|
|
249
263
|
* Whether an elastic IP of this line can be bought with `internet_charge_type` `traffic`, billed by the bytes it sends. `off_sale` refuses that with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`.
|
|
250
264
|
*/
|
|
251
|
-
export type
|
|
252
|
-
export declare const
|
|
265
|
+
export type ElasticIpLineTrafficSaleStatus = (typeof ElasticIpLineTrafficSaleStatus)[keyof typeof ElasticIpLineTrafficSaleStatus];
|
|
266
|
+
export declare const ElasticIpLineTrafficSaleStatus: {
|
|
253
267
|
readonly on_sale: "on_sale";
|
|
254
268
|
readonly off_sale: "off_sale";
|
|
255
269
|
};
|
|
256
270
|
/**
|
|
257
|
-
* Compute
|
|
271
|
+
* Compute ElasticIpLine TypeID. UUID text is not accepted.
|
|
258
272
|
* @minLength 34
|
|
259
273
|
* @maxLength 34
|
|
260
274
|
* @pattern ^eipline_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
261
275
|
*/
|
|
262
|
-
export type
|
|
276
|
+
export type ElasticIpLineId = string;
|
|
263
277
|
/**
|
|
264
|
-
* The network an elastic IP is bought on: the bandwidth that can be chosen, and the two Billing Plans every elastic IP of the line is paid under in one order. The address
|
|
278
|
+
* The network an elastic IP is bought on: the bandwidth that can be chosen, and the two Billing Plans every elastic IP of the line is paid under in one order. The address item is always used and meters the address while it is held idle, associated with nothing; the network item pays the bandwidth, prepaid or used while associated, or the traffic sent. Contains no supply ranges, gateways or backend execution state.
|
|
265
279
|
*/
|
|
266
|
-
export interface
|
|
267
|
-
id:
|
|
268
|
-
region_id:
|
|
280
|
+
export interface ElasticIpLine {
|
|
281
|
+
id: ElasticIpLineId;
|
|
282
|
+
region_id: RegionId;
|
|
269
283
|
/**
|
|
270
284
|
* @minLength 1
|
|
271
285
|
* @maxLength 128
|
|
@@ -285,18 +299,18 @@ export interface ElasticIPLine {
|
|
|
285
299
|
/** The most bandwidth an elastic IP of this line can be bought with, in Mbps, at most 1000. An elastic IP associated with an instance is also held to the instance type's `max_bandwidth_mbps`. */
|
|
286
300
|
max_bandwidth_mbps: number;
|
|
287
301
|
/** `on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working. */
|
|
288
|
-
sale_status:
|
|
302
|
+
sale_status: ElasticIpLineSaleStatus;
|
|
289
303
|
/** Whether an elastic IP of this line can be bought with `internet_charge_type` `traffic`, billed by the bytes it sends. `off_sale` refuses that with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`. */
|
|
290
|
-
traffic_sale_status:
|
|
304
|
+
traffic_sale_status: ElasticIpLineTrafficSaleStatus;
|
|
291
305
|
created_at: string;
|
|
292
306
|
updated_at: string;
|
|
293
307
|
}
|
|
294
|
-
export interface
|
|
295
|
-
items:
|
|
308
|
+
export interface ElasticIpLineListResponseBody {
|
|
309
|
+
items: ElasticIpLine[];
|
|
296
310
|
pagination: OffsetPagination;
|
|
297
311
|
}
|
|
298
312
|
/**
|
|
299
|
-
* What the network
|
|
313
|
+
* What the network item of an elastic IP charges for. `bandwidth` charges for the bandwidth ceiling, prepaid for a period or by the Mbit/s-second while the address is associated. `traffic` charges for the bytes the address sends upstream, pay-as-you-go only, while the bandwidth is only a ceiling; it is refused with `ELASTIC_IP_TRAFFIC_UNAVAILABLE` on a line whose `traffic_sale_status` is `off_sale`. Inbound traffic is never charged. Prices are set per currency, so a pay-as-you-go purchase whose account currency has no rate on the line for the chosen type is refused before any order with HTTP 403 `ELASTIC_IP_CHARGE_TYPE_NOT_OFFERED`, whether the elastic IP is bought alone or with an instance. A pay-as-you-go elastic IP can move between the two with `update-elastic-ip`.
|
|
300
314
|
*/
|
|
301
315
|
export type InternetChargeType = (typeof InternetChargeType)[keyof typeof InternetChargeType];
|
|
302
316
|
export declare const InternetChargeType: {
|
|
@@ -308,19 +322,19 @@ export declare const InternetChargeType: {
|
|
|
308
322
|
* @maxLength 15
|
|
309
323
|
* @pattern ^(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}$
|
|
310
324
|
*/
|
|
311
|
-
export type
|
|
325
|
+
export type Ipv4HostAddress = string;
|
|
312
326
|
/**
|
|
313
327
|
* The public eip resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
314
328
|
* @minLength 30
|
|
315
329
|
* @maxLength 34
|
|
316
330
|
* @pattern ^eip_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
317
331
|
*/
|
|
318
|
-
export type
|
|
332
|
+
export type ElasticIpId = string;
|
|
319
333
|
/**
|
|
320
334
|
* `pending` until the address is created, with no address allocated before the order is accepted; then `available`. `failed` means no address was allocated; `failure_reason` states why. A value naming an operation in progress (`associating`, `disassociating`, `updating_bandwidth`, `updating_internet_charge_type`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the elastic IP refuses another operation until it ends.
|
|
321
335
|
*/
|
|
322
|
-
export type
|
|
323
|
-
export declare const
|
|
336
|
+
export type ElasticIpStatus = (typeof ElasticIpStatus)[keyof typeof ElasticIpStatus];
|
|
337
|
+
export declare const ElasticIpStatus: {
|
|
324
338
|
readonly pending: "pending";
|
|
325
339
|
readonly available: "available";
|
|
326
340
|
readonly deleted: "deleted";
|
|
@@ -344,13 +358,13 @@ export declare const InstanceReleaseResourceType: {
|
|
|
344
358
|
* @maxLength 30
|
|
345
359
|
* @pattern ^ins_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
346
360
|
*/
|
|
347
|
-
export type
|
|
361
|
+
export type InstanceId = string;
|
|
348
362
|
/**
|
|
349
363
|
* A resource a release set releases.
|
|
350
364
|
*/
|
|
351
365
|
export interface InstanceReleaseResource {
|
|
352
366
|
type: InstanceReleaseResourceType;
|
|
353
|
-
id:
|
|
367
|
+
id: InstanceId;
|
|
354
368
|
/** The current display name of the selected resource. */
|
|
355
369
|
name: string;
|
|
356
370
|
}
|
|
@@ -364,26 +378,26 @@ export declare const VolumeReleaseResourceType: {
|
|
|
364
378
|
* @maxLength 30
|
|
365
379
|
* @pattern ^vol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
366
380
|
*/
|
|
367
|
-
export type
|
|
381
|
+
export type VolumeId = string;
|
|
368
382
|
/**
|
|
369
383
|
* A resource a release set releases.
|
|
370
384
|
*/
|
|
371
385
|
export interface VolumeReleaseResource {
|
|
372
386
|
type: VolumeReleaseResourceType;
|
|
373
|
-
id:
|
|
387
|
+
id: VolumeId;
|
|
374
388
|
/** The current display name of the selected resource. */
|
|
375
389
|
name: string;
|
|
376
390
|
}
|
|
377
|
-
export type
|
|
378
|
-
export declare const
|
|
391
|
+
export type ElasticIpReleaseResourceType = (typeof ElasticIpReleaseResourceType)[keyof typeof ElasticIpReleaseResourceType];
|
|
392
|
+
export declare const ElasticIpReleaseResourceType: {
|
|
379
393
|
readonly elastic_ip: "elastic_ip";
|
|
380
394
|
};
|
|
381
395
|
/**
|
|
382
396
|
* A resource a release set releases.
|
|
383
397
|
*/
|
|
384
|
-
export interface
|
|
385
|
-
type:
|
|
386
|
-
id:
|
|
398
|
+
export interface ElasticIpReleaseResource {
|
|
399
|
+
type: ElasticIpReleaseResourceType;
|
|
400
|
+
id: ElasticIpId;
|
|
387
401
|
/** The current display name of the selected resource. */
|
|
388
402
|
name: string;
|
|
389
403
|
}
|
|
@@ -397,13 +411,13 @@ export declare const VolumeSnapshotReleaseResourceType: {
|
|
|
397
411
|
* @maxLength 38
|
|
398
412
|
* @pattern ^volsnapshot_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
399
413
|
*/
|
|
400
|
-
export type
|
|
414
|
+
export type VolumeSnapshotId = string;
|
|
401
415
|
/**
|
|
402
416
|
* A resource a release set releases.
|
|
403
417
|
*/
|
|
404
418
|
export interface VolumeSnapshotReleaseResource {
|
|
405
419
|
type: VolumeSnapshotReleaseResourceType;
|
|
406
|
-
id:
|
|
420
|
+
id: VolumeSnapshotId;
|
|
407
421
|
/** The current display name of the selected resource. */
|
|
408
422
|
name: string;
|
|
409
423
|
}
|
|
@@ -417,13 +431,13 @@ export declare const VolumeBackupReleaseResourceType: {
|
|
|
417
431
|
* @maxLength 36
|
|
418
432
|
* @pattern ^volbackup_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
419
433
|
*/
|
|
420
|
-
export type
|
|
434
|
+
export type VolumeBackupId = string;
|
|
421
435
|
/**
|
|
422
436
|
* A resource a release set releases.
|
|
423
437
|
*/
|
|
424
438
|
export interface VolumeBackupReleaseResource {
|
|
425
439
|
type: VolumeBackupReleaseResourceType;
|
|
426
|
-
id:
|
|
440
|
+
id: VolumeBackupId;
|
|
427
441
|
/** The current display name of the selected resource. */
|
|
428
442
|
name: string;
|
|
429
443
|
}
|
|
@@ -437,32 +451,34 @@ export declare const PrivateImageReleaseResourceType: {
|
|
|
437
451
|
* @maxLength 32
|
|
438
452
|
* @pattern ^image_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
439
453
|
*/
|
|
440
|
-
export type
|
|
454
|
+
export type ImageId = string;
|
|
441
455
|
/**
|
|
442
456
|
* A resource a release set releases.
|
|
443
457
|
*/
|
|
444
458
|
export interface PrivateImageReleaseResource {
|
|
445
459
|
type: PrivateImageReleaseResourceType;
|
|
446
|
-
id:
|
|
460
|
+
id: ImageId;
|
|
447
461
|
/** The current display name of the selected resource. */
|
|
448
462
|
name: string;
|
|
449
463
|
}
|
|
450
464
|
/**
|
|
451
465
|
* A resource a release set releases.
|
|
452
466
|
*/
|
|
453
|
-
export type ReleaseResource = InstanceReleaseResource | VolumeReleaseResource |
|
|
467
|
+
export type ReleaseResource = InstanceReleaseResource | VolumeReleaseResource | ElasticIpReleaseResource | VolumeSnapshotReleaseResource | VolumeBackupReleaseResource | PrivateImageReleaseResource;
|
|
454
468
|
/**
|
|
455
|
-
* One subscription of a release set and the resource it pays for.
|
|
469
|
+
* One subscription item of a release set and the resource it pays for.
|
|
456
470
|
*/
|
|
457
471
|
export interface ReleaseSetItem {
|
|
472
|
+
subscription_item_id: string;
|
|
473
|
+
/** The subscription the item belongs to. */
|
|
458
474
|
subscription_id: string;
|
|
459
475
|
resource: ReleaseResource;
|
|
460
476
|
}
|
|
461
477
|
/**
|
|
462
478
|
* @nullable
|
|
463
479
|
*/
|
|
464
|
-
export type
|
|
465
|
-
export declare const
|
|
480
|
+
export type ElasticIpAccessState = (typeof ElasticIpAccessState)[keyof typeof ElasticIpAccessState] | null;
|
|
481
|
+
export declare const ElasticIpAccessState: {
|
|
466
482
|
readonly pending: "pending";
|
|
467
483
|
readonly enabled: "enabled";
|
|
468
484
|
readonly suspended: "suspended";
|
|
@@ -472,8 +488,8 @@ export declare const ElasticIPAccessState: {
|
|
|
472
488
|
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this elastic IP is refunded.
|
|
473
489
|
* @nullable
|
|
474
490
|
*/
|
|
475
|
-
export type
|
|
476
|
-
export declare const
|
|
491
|
+
export type ElasticIpFailureReason = (typeof ElasticIpFailureReason)[keyof typeof ElasticIpFailureReason] | null;
|
|
492
|
+
export declare const ElasticIpFailureReason: {
|
|
477
493
|
readonly order_declined: "order_declined";
|
|
478
494
|
readonly order_canceled: "order_canceled";
|
|
479
495
|
readonly order_expired: "order_expired";
|
|
@@ -481,31 +497,31 @@ export declare const ElasticIPFailureReason: {
|
|
|
481
497
|
readonly provisioning_failed: "provisioning_failed";
|
|
482
498
|
};
|
|
483
499
|
/**
|
|
484
|
-
* Compute
|
|
500
|
+
* Compute ElasticIpAssociation TypeID. UUID text is not accepted.
|
|
485
501
|
* @minLength 41
|
|
486
502
|
* @maxLength 41
|
|
487
503
|
* @pattern ^eipassociation_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
488
504
|
*/
|
|
489
|
-
export type
|
|
505
|
+
export type ElasticIpAssociationId = string;
|
|
490
506
|
/**
|
|
491
507
|
* Compute NetworkInterfaceAddress TypeID. UUID text is not accepted.
|
|
492
508
|
* @minLength 37
|
|
493
509
|
* @maxLength 37
|
|
494
510
|
* @pattern ^eniaddress_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
495
511
|
*/
|
|
496
|
-
export type
|
|
497
|
-
export type
|
|
498
|
-
export declare const
|
|
512
|
+
export type NetworkInterfaceAddressId = string;
|
|
513
|
+
export type ElasticIpAssociationState = (typeof ElasticIpAssociationState)[keyof typeof ElasticIpAssociationState];
|
|
514
|
+
export declare const ElasticIpAssociationState: {
|
|
499
515
|
readonly associated: "associated";
|
|
500
516
|
readonly released: "released";
|
|
501
517
|
};
|
|
502
|
-
export interface
|
|
503
|
-
id:
|
|
504
|
-
elastic_ip_id:
|
|
505
|
-
network_interface_address_id:
|
|
506
|
-
public_address:
|
|
507
|
-
private_address:
|
|
508
|
-
state:
|
|
518
|
+
export interface ElasticIpAssociation {
|
|
519
|
+
id: ElasticIpAssociationId;
|
|
520
|
+
elastic_ip_id: ElasticIpId;
|
|
521
|
+
network_interface_address_id: NetworkInterfaceAddressId;
|
|
522
|
+
public_address: Ipv4HostAddress;
|
|
523
|
+
private_address: Ipv4HostAddress;
|
|
524
|
+
state: ElasticIpAssociationState;
|
|
509
525
|
/** @nullable */
|
|
510
526
|
associated_at: string | null;
|
|
511
527
|
/** @nullable */
|
|
@@ -534,15 +550,15 @@ export interface LatestOperation {
|
|
|
534
550
|
}
|
|
535
551
|
/**
|
|
536
552
|
* One public IP resource, including its bandwidth configuration. Bandwidth has no separate Compute resource ID.
|
|
537
|
-
* Two
|
|
538
|
-
* address while it is not associated with anything, and the network
|
|
539
|
-
*
|
|
540
|
-
* allocation.
|
|
553
|
+
* Two items of one Billing subscription pay for it: the address item, always pay-as-you-go, charges for the
|
|
554
|
+
* address while it is not associated with anything, and the network item, on the terms chosen at purchase,
|
|
555
|
+
* charges for the bandwidth or the traffic. The subscription is the elastic IP's own, or the instance's when it
|
|
556
|
+
* was bought with or for one. Changing bandwidth updates this same resource, not another allocation.
|
|
541
557
|
*/
|
|
542
|
-
export interface
|
|
558
|
+
export interface ElasticIp {
|
|
543
559
|
internet_charge_type: InternetChargeType;
|
|
544
560
|
/** The held IPv4 address; null before actual claim. Holding identity is not exposed. */
|
|
545
|
-
address:
|
|
561
|
+
address: Ipv4HostAddress | null;
|
|
546
562
|
/**
|
|
547
563
|
* The actual address holding start time; null before actual claim.
|
|
548
564
|
* @nullable
|
|
@@ -556,11 +572,11 @@ export interface ElasticIP {
|
|
|
556
572
|
/** @nullable */
|
|
557
573
|
bandwidth_mbps: number | null;
|
|
558
574
|
created_at: string;
|
|
559
|
-
id:
|
|
560
|
-
line_id:
|
|
561
|
-
region_id:
|
|
575
|
+
id: ElasticIpId;
|
|
576
|
+
line_id: ElasticIpLineId;
|
|
577
|
+
region_id: RegionId;
|
|
562
578
|
/** `pending` until the address is created, with no address allocated before the order is accepted; then `available`. `failed` means no address was allocated; `failure_reason` states why. A value naming an operation in progress (`associating`, `disassociating`, `updating_bandwidth`, `updating_internet_charge_type`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the elastic IP refuses another operation until it ends. */
|
|
563
|
-
status:
|
|
579
|
+
status: ElasticIpStatus;
|
|
564
580
|
/**
|
|
565
581
|
* The Billing Checkout Session that bought this resource; `order_id` and the order items stay null until its checkout completes. Null when the resource was not bought through one.
|
|
566
582
|
* @nullable
|
|
@@ -574,39 +590,44 @@ export interface ElasticIP {
|
|
|
574
590
|
*/
|
|
575
591
|
address_order_item_id: string | null;
|
|
576
592
|
/**
|
|
577
|
-
* The Billing subscription
|
|
593
|
+
* The Billing subscription the elastic IP renews under. Read it in Billing for the term end, automatic renewal and renewal. It may still be pending; its presence does not imply delivery or metering.
|
|
578
594
|
* @nullable
|
|
579
595
|
*/
|
|
580
|
-
|
|
596
|
+
subscription_id: string | null;
|
|
597
|
+
/**
|
|
598
|
+
* The subscription item of the address, always pay-as-you-go.
|
|
599
|
+
* @nullable
|
|
600
|
+
*/
|
|
601
|
+
address_subscription_item_id: string | null;
|
|
581
602
|
/**
|
|
582
603
|
* The Billing order item of the bandwidth or traffic.
|
|
583
604
|
* @nullable
|
|
584
605
|
*/
|
|
585
606
|
internet_order_item_id: string | null;
|
|
586
607
|
/**
|
|
587
|
-
* The
|
|
608
|
+
* The subscription item of the bandwidth or traffic.
|
|
588
609
|
* @nullable
|
|
589
610
|
*/
|
|
590
|
-
|
|
591
|
-
/** The
|
|
611
|
+
internet_subscription_item_id: string | null;
|
|
612
|
+
/** The subscription items a cancellation through Billing has to cover to release this elastic IP, both the address's and the network's, each with the resource it pays for, so that each line of a cancellation can name what it releases. An item that has ended is not listed, and the set is empty when no item pays for the elastic IP. */
|
|
592
613
|
release_set: ReleaseSetItem[];
|
|
593
614
|
/** @nullable */
|
|
594
|
-
access_state:
|
|
615
|
+
access_state: ElasticIpAccessState;
|
|
595
616
|
/**
|
|
596
617
|
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this elastic IP is refunded.
|
|
597
618
|
* @nullable
|
|
598
619
|
*/
|
|
599
|
-
failure_reason:
|
|
600
|
-
association:
|
|
620
|
+
failure_reason: ElasticIpFailureReason;
|
|
621
|
+
association: ElasticIpAssociation | null;
|
|
601
622
|
/** The most recent operation started on the elastic IP; null when none has been recorded. */
|
|
602
623
|
latest_operation: LatestOperation | null;
|
|
603
624
|
}
|
|
604
625
|
/**
|
|
605
|
-
* The elastic IP as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
626
|
+
* The elastic IP as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
606
627
|
*/
|
|
607
|
-
export interface
|
|
608
|
-
elastic_ip:
|
|
609
|
-
/** The cancellation Compute created for the elastic IP's
|
|
628
|
+
export interface DeleteElasticIpResponseBody {
|
|
629
|
+
elastic_ip: ElasticIp;
|
|
630
|
+
/** The cancellation Compute created for the elastic IP's subscription items; null when none pays for it. */
|
|
610
631
|
cancellation: null | BillingCancellation;
|
|
611
632
|
}
|
|
612
633
|
/**
|
|
@@ -624,14 +645,14 @@ export interface TrafficUsageListResponseBody {
|
|
|
624
645
|
items: TrafficUsage[];
|
|
625
646
|
pagination: OffsetPagination;
|
|
626
647
|
}
|
|
627
|
-
export interface
|
|
648
|
+
export interface ElasticIpListResponseBody {
|
|
628
649
|
/** @nullable */
|
|
629
|
-
items:
|
|
650
|
+
items: ElasticIp[] | null;
|
|
630
651
|
pagination: OffsetPagination;
|
|
631
652
|
}
|
|
632
|
-
export interface
|
|
653
|
+
export interface CreateElasticIpRequestBody {
|
|
633
654
|
internet_charge_type?: InternetChargeType;
|
|
634
|
-
address?:
|
|
655
|
+
address?: Ipv4HostAddress;
|
|
635
656
|
/**
|
|
636
657
|
* The bandwidth ceiling of this address, in Mbit/s, applied to both directions.
|
|
637
658
|
*
|
|
@@ -641,59 +662,51 @@ export interface CreateElasticIPRequestBody {
|
|
|
641
662
|
*
|
|
642
663
|
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise the
|
|
643
664
|
* request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. Changing it
|
|
644
|
-
* later updates the same elastic IP through `
|
|
665
|
+
* later updates the same elastic IP through `change-elastic-ip-bandwidth`, not an independent bandwidth resource.
|
|
645
666
|
* @minimum 1
|
|
646
667
|
* @maximum 1000
|
|
647
668
|
*/
|
|
648
669
|
bandwidth_mbps: number;
|
|
649
|
-
line_id:
|
|
650
|
-
billing
|
|
670
|
+
line_id: ElasticIpLineId;
|
|
671
|
+
billing?: BillingChoice;
|
|
651
672
|
checkout?: CheckoutOptions;
|
|
673
|
+
instance_id?: InstanceId;
|
|
652
674
|
}
|
|
653
|
-
|
|
654
|
-
* The mutable fields of the elastic IP identified by the path, all optional, at least one required. `bandwidth_mbps`
|
|
655
|
-
* and `internet_charge_type` are operational fields and cannot be combined with any other field; such a request is
|
|
656
|
-
* refused with 422 `UPDATE_FIELDS_COMBINED`. This is a configuration change of that resource, not an independent
|
|
657
|
-
* bandwidth resource. Checkout is handled by Billing.
|
|
658
|
-
*/
|
|
659
|
-
export interface UpdateElasticIPRequestBody {
|
|
675
|
+
export interface ChangeElasticIpBandwidthRequestBody {
|
|
660
676
|
/**
|
|
661
|
-
*
|
|
662
|
-
*
|
|
663
|
-
* 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.
|
|
664
|
-
*/
|
|
665
|
-
internet_charge_type?: InternetChargeType;
|
|
666
|
-
/**
|
|
667
|
-
* Applied to both directions
|
|
677
|
+
* The new ceiling in Mbit/s, applied to both directions.
|
|
668
678
|
* @minimum 1
|
|
669
679
|
*/
|
|
670
|
-
bandwidth_mbps
|
|
671
|
-
/** The `proration_date` of the Billing
|
|
680
|
+
bandwidth_mbps: number;
|
|
681
|
+
/** The `proration_date` of the Billing Checkout Session preview for this change, so that the order is priced from the same instant. Only on a prepaid network item, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
672
682
|
proration_date?: string;
|
|
673
683
|
checkout?: CheckoutOptions;
|
|
674
684
|
}
|
|
685
|
+
export interface ChangeElasticIpChargeTypeRequestBody {
|
|
686
|
+
internet_charge_type: InternetChargeType;
|
|
687
|
+
}
|
|
675
688
|
/**
|
|
676
689
|
* An instance; the elastic IP points at the primary private IPv4 address of its primary network interface.
|
|
677
690
|
*/
|
|
678
691
|
export interface InstanceAssociationTarget {
|
|
679
|
-
instance_id:
|
|
692
|
+
instance_id: InstanceId;
|
|
680
693
|
}
|
|
681
694
|
/**
|
|
682
695
|
* One private address of a network interface. One interface may hold several private addresses, each with its own elastic IP.
|
|
683
696
|
*/
|
|
684
697
|
export interface NetworkInterfaceAddressAssociationTarget {
|
|
685
|
-
network_interface_address_id:
|
|
698
|
+
network_interface_address_id: NetworkInterfaceAddressId;
|
|
686
699
|
}
|
|
687
700
|
/**
|
|
688
701
|
* The target an elastic IP points at. Exactly one of the two forms.
|
|
689
702
|
*/
|
|
690
|
-
export type
|
|
703
|
+
export type AssociateElasticIpRequestBody = InstanceAssociationTarget | NetworkInterfaceAddressAssociationTarget;
|
|
691
704
|
/**
|
|
692
705
|
* The new elastic IP, `pending` until its order is accepted, and its Checkout Session. `address` is null until
|
|
693
706
|
* the address is allocated.
|
|
694
707
|
*/
|
|
695
|
-
export interface
|
|
696
|
-
elastic_ip:
|
|
708
|
+
export interface CreateElasticIpResponseBody {
|
|
709
|
+
elastic_ip: ElasticIp;
|
|
697
710
|
/** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
|
|
698
711
|
checkout_session_id: string;
|
|
699
712
|
/**
|
|
@@ -703,17 +716,17 @@ export interface CreateElasticIPResponseBody {
|
|
|
703
716
|
order_id: string | null;
|
|
704
717
|
}
|
|
705
718
|
/**
|
|
706
|
-
* The elastic IP and,
|
|
719
|
+
* The elastic IP and, for a prepaid network item, the Checkout Session for its bandwidth change. The elastic IP is still at its current bandwidth until the change is applied.
|
|
707
720
|
*/
|
|
708
|
-
export interface
|
|
709
|
-
elastic_ip:
|
|
721
|
+
export interface ElasticIpChangeResponseBody {
|
|
722
|
+
elastic_ip: ElasticIp;
|
|
710
723
|
/**
|
|
711
|
-
* The Billing Checkout Session of the purchase; null
|
|
724
|
+
* The Billing Checkout Session of the purchase; null for a pay-as-you-go network item, which changes without checkout. With deferred checkout, the customer completes it in Billing.
|
|
712
725
|
* @nullable
|
|
713
726
|
*/
|
|
714
727
|
checkout_session_id: string | null;
|
|
715
728
|
/**
|
|
716
|
-
* The order created when checkout completes, at once for automatic checkout; null until then and
|
|
729
|
+
* The order created when checkout completes, at once for automatic checkout; null until then and without checkout.
|
|
717
730
|
* @nullable
|
|
718
731
|
*/
|
|
719
732
|
order_id: string | null;
|
|
@@ -724,108 +737,108 @@ export interface UpdateElasticIPResponseBody {
|
|
|
724
737
|
* @maxLength 30
|
|
725
738
|
* @pattern ^eni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
726
739
|
*/
|
|
727
|
-
export type
|
|
740
|
+
export type NetworkInterfaceId = string;
|
|
728
741
|
/**
|
|
729
742
|
* The public lt resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
730
743
|
* @minLength 29
|
|
731
744
|
* @maxLength 29
|
|
732
745
|
* @pattern ^lt_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
733
746
|
*/
|
|
734
|
-
export type
|
|
747
|
+
export type LaunchTemplateId = string;
|
|
735
748
|
/**
|
|
736
749
|
* The public vpc resource identifier. Only this fixed TypeID prefix is accepted; UUID text is not an alternative representation.
|
|
737
750
|
* @minLength 30
|
|
738
751
|
* @maxLength 30
|
|
739
752
|
* @pattern ^vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
740
753
|
*/
|
|
741
|
-
export type
|
|
754
|
+
export type VirtualPrivateCloudId = string;
|
|
742
755
|
/**
|
|
743
756
|
* A virtual private cloud identifier, or `-` to read across every virtual private cloud of the project (AIP-159).
|
|
744
757
|
* @pattern ^(?:-|vpc_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$
|
|
745
758
|
*/
|
|
746
|
-
export type
|
|
759
|
+
export type VirtualPrivateCloudIdOrWildcard = string;
|
|
747
760
|
/**
|
|
748
761
|
* Compute InstanceType TypeID. UUID text is not accepted.
|
|
749
762
|
* @minLength 34
|
|
750
763
|
* @maxLength 34
|
|
751
764
|
* @pattern ^instype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
752
765
|
*/
|
|
753
|
-
export type
|
|
766
|
+
export type InstanceTypeId = string;
|
|
754
767
|
/**
|
|
755
768
|
* Compute InstanceFamily TypeID. UUID text is not accepted.
|
|
756
769
|
* @minLength 36
|
|
757
770
|
* @maxLength 36
|
|
758
771
|
* @pattern ^insfamily_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
759
772
|
*/
|
|
760
|
-
export type
|
|
773
|
+
export type InstanceFamilyId = string;
|
|
761
774
|
/**
|
|
762
775
|
* Compute VolumeType TypeID. UUID text is not accepted.
|
|
763
776
|
* @minLength 34
|
|
764
777
|
* @maxLength 34
|
|
765
778
|
* @pattern ^voltype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
766
779
|
*/
|
|
767
|
-
export type
|
|
780
|
+
export type VolumeTypeId = string;
|
|
768
781
|
/**
|
|
769
782
|
* Compute InstanceVolume TypeID. UUID text is not accepted.
|
|
770
783
|
* @minLength 33
|
|
771
784
|
* @maxLength 33
|
|
772
785
|
* @pattern ^insvol_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
773
786
|
*/
|
|
774
|
-
export type
|
|
787
|
+
export type InstanceVolumeId = string;
|
|
775
788
|
/**
|
|
776
789
|
* Compute SecurityGroup TypeID. UUID text is not accepted.
|
|
777
790
|
* @minLength 29
|
|
778
791
|
* @maxLength 29
|
|
779
792
|
* @pattern ^sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
780
793
|
*/
|
|
781
|
-
export type
|
|
794
|
+
export type SecurityGroupId = string;
|
|
782
795
|
/**
|
|
783
796
|
* A security group identifier, or `-` to read across every security group of the project (AIP-159).
|
|
784
797
|
* @pattern ^(?:-|sg_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25})$
|
|
785
798
|
*/
|
|
786
|
-
export type
|
|
799
|
+
export type SecurityGroupIdOrWildcard = string;
|
|
787
800
|
/**
|
|
788
801
|
* Compute Subnet TypeID. UUID text is not accepted.
|
|
789
802
|
* @minLength 33
|
|
790
803
|
* @maxLength 33
|
|
791
804
|
* @pattern ^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
792
805
|
*/
|
|
793
|
-
export type
|
|
806
|
+
export type SubnetId = string;
|
|
794
807
|
/**
|
|
795
808
|
* Compute InstanceNetworkInterface TypeID. UUID text is not accepted.
|
|
796
809
|
* @minLength 33
|
|
797
810
|
* @maxLength 33
|
|
798
811
|
* @pattern ^inseni_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
799
812
|
*/
|
|
800
|
-
export type
|
|
813
|
+
export type InstanceNetworkInterfaceId = string;
|
|
801
814
|
/**
|
|
802
815
|
* Compute OperationLog TypeID. UUID text is not accepted.
|
|
803
816
|
* @minLength 39
|
|
804
817
|
* @maxLength 39
|
|
805
818
|
* @pattern ^operationlog_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
806
819
|
*/
|
|
807
|
-
export type
|
|
820
|
+
export type OperationLogId = string;
|
|
808
821
|
/**
|
|
809
822
|
* Compute VirtualPrivateCloudPeering TypeID. UUID text is not accepted.
|
|
810
823
|
* @minLength 37
|
|
811
824
|
* @maxLength 37
|
|
812
825
|
* @pattern ^vpcpeering_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
813
826
|
*/
|
|
814
|
-
export type
|
|
827
|
+
export type VirtualPrivateCloudPeeringId = string;
|
|
815
828
|
/**
|
|
816
829
|
* Compute VirtualPrivateCloudRoute TypeID. UUID text is not accepted.
|
|
817
830
|
* @minLength 35
|
|
818
831
|
* @maxLength 35
|
|
819
832
|
* @pattern ^vpcroute_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
820
833
|
*/
|
|
821
|
-
export type
|
|
834
|
+
export type VirtualPrivateCloudRouteId = string;
|
|
822
835
|
/**
|
|
823
836
|
* Compute SecurityGroupRule TypeID. UUID text is not accepted.
|
|
824
837
|
* @minLength 33
|
|
825
838
|
* @maxLength 33
|
|
826
839
|
* @pattern ^sgrule_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$
|
|
827
840
|
*/
|
|
828
|
-
export type
|
|
841
|
+
export type SecurityGroupRuleId = string;
|
|
829
842
|
/**
|
|
830
843
|
* Who makes the CPU the family runs on.
|
|
831
844
|
*/
|
|
@@ -852,8 +865,8 @@ export declare const InstanceFamilyCategory: {
|
|
|
852
865
|
readonly memory_optimized: "memory_optimized";
|
|
853
866
|
};
|
|
854
867
|
export interface InstanceFamily {
|
|
855
|
-
id:
|
|
856
|
-
region_id:
|
|
868
|
+
id: InstanceFamilyId;
|
|
869
|
+
region_id: RegionId;
|
|
857
870
|
/** The family's name, such as `g7`. */
|
|
858
871
|
name: string;
|
|
859
872
|
category: InstanceFamilyCategory;
|
|
@@ -879,11 +892,11 @@ export declare const InstanceTypeSaleStatus: {
|
|
|
879
892
|
readonly sold_out: "sold_out";
|
|
880
893
|
};
|
|
881
894
|
export interface InstanceType {
|
|
882
|
-
availability_zone_id:
|
|
895
|
+
availability_zone_id: AvailabilityZoneId;
|
|
883
896
|
/** `sold_out` takes no new orders for now while the type stays listed; the instances already of it keep working. */
|
|
884
897
|
sale_status: InstanceTypeSaleStatus;
|
|
885
|
-
id:
|
|
886
|
-
instance_family_id:
|
|
898
|
+
id: InstanceTypeId;
|
|
899
|
+
instance_family_id: InstanceFamilyId;
|
|
887
900
|
/**
|
|
888
901
|
* The machine's network rate, in Mbps. **Each** network interface of the machine is limited to it in both directions — per interface rather than shared, so a machine with two interfaces has this rate on each of them; `max_network_interfaces` says how many it may have. Zero is no limit.
|
|
889
902
|
*
|
|
@@ -894,7 +907,7 @@ export interface InstanceType {
|
|
|
894
907
|
max_network_interfaces: number;
|
|
895
908
|
name: string;
|
|
896
909
|
memory_mib: number;
|
|
897
|
-
region_id:
|
|
910
|
+
region_id: RegionId;
|
|
898
911
|
vcpus: number;
|
|
899
912
|
/** The line an instance of this type is. The boot volume and data volumes bought with it are lines of their volume types, and a new elastic IP the two lines of its elastic IP line. */
|
|
900
913
|
billing: BillingComponent;
|
|
@@ -947,11 +960,11 @@ export declare const InstanceStatus: {
|
|
|
947
960
|
};
|
|
948
961
|
/**
|
|
949
962
|
* Why it is held. `operator_suspended` is a suspension by the platform. `billing_suspended` is the instance's
|
|
950
|
-
*
|
|
951
|
-
* after which the instance is released. `boot_volume_suspended`
|
|
952
|
-
* for the subscription of
|
|
953
|
-
* instance cannot run without it, so renewing
|
|
954
|
-
* boot volume is released together with its instance.
|
|
963
|
+
* subscription suspended because its term ended without renewal or the account is in arrears, and
|
|
964
|
+
* `billing_reclaimed` that subscription ending, after which the instance is released. `boot_volume_suspended`
|
|
965
|
+
* and `boot_volume_reclaimed` are the same for the subscription of a volume the instance boots from that was
|
|
966
|
+
* bought on its own: the instance cannot run without it, so renewing that subscription lifts the hold, and a
|
|
967
|
+
* reclaimed boot volume is released together with its instance.
|
|
955
968
|
*/
|
|
956
969
|
export type InstanceRestrictionReason = (typeof InstanceRestrictionReason)[keyof typeof InstanceRestrictionReason];
|
|
957
970
|
export declare const InstanceRestrictionReason: {
|
|
@@ -970,11 +983,11 @@ export declare const InstanceRestrictionReason: {
|
|
|
970
983
|
export interface InstanceRestriction {
|
|
971
984
|
/**
|
|
972
985
|
* Why it is held. `operator_suspended` is a suspension by the platform. `billing_suspended` is the instance's
|
|
973
|
-
*
|
|
974
|
-
* after which the instance is released. `boot_volume_suspended`
|
|
975
|
-
* for the subscription of
|
|
976
|
-
* instance cannot run without it, so renewing
|
|
977
|
-
* boot volume is released together with its instance.
|
|
986
|
+
* subscription suspended because its term ended without renewal or the account is in arrears, and
|
|
987
|
+
* `billing_reclaimed` that subscription ending, after which the instance is released. `boot_volume_suspended`
|
|
988
|
+
* and `boot_volume_reclaimed` are the same for the subscription of a volume the instance boots from that was
|
|
989
|
+
* bought on its own: the instance cannot run without it, so renewing that subscription lifts the hold, and a
|
|
990
|
+
* reclaimed boot volume is released together with its instance.
|
|
978
991
|
*/
|
|
979
992
|
reason: InstanceRestrictionReason;
|
|
980
993
|
/**
|
|
@@ -983,7 +996,7 @@ export interface InstanceRestriction {
|
|
|
983
996
|
*/
|
|
984
997
|
subscription_id: string | null;
|
|
985
998
|
/** The volume the instance boots from, for `boot_volume_suspended` and `boot_volume_reclaimed`; null otherwise. */
|
|
986
|
-
volume_id:
|
|
999
|
+
volume_id: VolumeId | null;
|
|
987
1000
|
/**
|
|
988
1001
|
* When the hold began; null when that instant was not recorded.
|
|
989
1002
|
* @nullable
|
|
@@ -1019,19 +1032,19 @@ export type InstanceLabels = {
|
|
|
1019
1032
|
[key: string]: string;
|
|
1020
1033
|
};
|
|
1021
1034
|
export interface Instance {
|
|
1022
|
-
availability_zone_id:
|
|
1035
|
+
availability_zone_id: AvailabilityZoneId;
|
|
1023
1036
|
created_at: string;
|
|
1024
1037
|
/** Hostname inside the instance; equals the instance id */
|
|
1025
1038
|
hostname: string;
|
|
1026
|
-
id:
|
|
1039
|
+
id: InstanceId;
|
|
1027
1040
|
/** Non-empty when the instance was created from an image, public or private. `image_type` says which collection holds it */
|
|
1028
|
-
image_id:
|
|
1041
|
+
image_id: ImageId | null;
|
|
1029
1042
|
/**
|
|
1030
1043
|
* Which collection `image_id` belongs to. `public` means `/public-images`, `private` means `/private-images`. Null when the instance boots from a volume and therefore has no image
|
|
1031
1044
|
* @nullable
|
|
1032
1045
|
*/
|
|
1033
1046
|
image_type: InstanceImageType;
|
|
1034
|
-
instance_type_id:
|
|
1047
|
+
instance_type_id: InstanceTypeId;
|
|
1035
1048
|
/**
|
|
1036
1049
|
* IPv6 address of the primary network interface. Assigned automatically once IPv6 is enabled on the virtual private cloud
|
|
1037
1050
|
* @nullable
|
|
@@ -1055,16 +1068,16 @@ export interface Instance {
|
|
|
1055
1068
|
* @nullable
|
|
1056
1069
|
*/
|
|
1057
1070
|
private_ip: string | null;
|
|
1058
|
-
virtual_private_cloud_id:
|
|
1071
|
+
virtual_private_cloud_id: VirtualPrivateCloudId | null;
|
|
1059
1072
|
/**
|
|
1060
1073
|
* Elastic IPv4 addresses associated with the primary network interface; an empty array when none are associated
|
|
1061
1074
|
* @nullable
|
|
1062
1075
|
*/
|
|
1063
1076
|
elastic_ip_addresses: string[] | null;
|
|
1064
|
-
region_id:
|
|
1077
|
+
region_id: RegionId;
|
|
1065
1078
|
/** `pending` until the instance is created: before the order is accepted no instance exists and addresses are null. Then `running`. `failed` means the instance was not created; `failure_reason` states why. The other values are the state of the instance in the cloud. A value naming an operation in progress (`starting`, `stopping`, `rebooting`, `rebuilding`, `rescuing`, `unrescuing`, `resizing`, `resetting_password`, `attaching_volume`, `detaching_volume`, `attaching_network_interface`, `detaching_network_interface`, `associating_elastic_ip`, `disassociating_elastic_ip`, `capturing_image`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the instance refuses another operation until it ends. */
|
|
1066
1079
|
status: InstanceStatus;
|
|
1067
|
-
subnet_id:
|
|
1080
|
+
subnet_id: SubnetId | null;
|
|
1068
1081
|
updated_at: string;
|
|
1069
1082
|
restrictions: InstanceRestriction[];
|
|
1070
1083
|
/**
|
|
@@ -1085,19 +1098,25 @@ export interface Instance {
|
|
|
1085
1098
|
*/
|
|
1086
1099
|
order_item_id: string | null;
|
|
1087
1100
|
/**
|
|
1088
|
-
* The Billing subscription
|
|
1089
|
-
*
|
|
1101
|
+
* The Billing subscription the instance renews under, with the volumes and elastic IP bought with it or for it.
|
|
1102
|
+
* Read it in Billing for the term end, automatic renewal and renewal. It may still be pending; its presence
|
|
1103
|
+
* does not imply delivery or metering. Null when no subscription is associated.
|
|
1090
1104
|
* @nullable
|
|
1091
1105
|
*/
|
|
1092
1106
|
subscription_id: string | null;
|
|
1093
|
-
/**
|
|
1107
|
+
/**
|
|
1108
|
+
* The instance's own item of that subscription. Null when no subscription is associated.
|
|
1109
|
+
* @nullable
|
|
1110
|
+
*/
|
|
1111
|
+
subscription_item_id: string | null;
|
|
1112
|
+
/** Subscription items required to release this instance and volumes deleted with it, each with the resource it pays for, so that each line of a cancellation can name what it releases. Billing determines cancellation terms. An empty set does not establish refund eligibility. */
|
|
1094
1113
|
release_set: ReleaseSetItem[];
|
|
1095
1114
|
/** @nullable */
|
|
1096
1115
|
access_state: InstanceAccessState;
|
|
1097
1116
|
/** Non-empty when the instance was created from a volume you already had, instead of from an image */
|
|
1098
|
-
source_volume_id:
|
|
1117
|
+
source_volume_id: VolumeId | null;
|
|
1099
1118
|
/** The launch template the instance was created from; null when none was named. Changing or deleting the template afterwards changes nothing about the instance. */
|
|
1100
|
-
launch_template_id:
|
|
1119
|
+
launch_template_id: LaunchTemplateId | null;
|
|
1101
1120
|
/**
|
|
1102
1121
|
* The version of that launch template it was created from; null when none was named.
|
|
1103
1122
|
* @nullable
|
|
@@ -1116,11 +1135,11 @@ export interface Instance {
|
|
|
1116
1135
|
fleet_machine_id: string | null;
|
|
1117
1136
|
}
|
|
1118
1137
|
/**
|
|
1119
|
-
* The instance as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
1138
|
+
* The instance as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
1120
1139
|
*/
|
|
1121
1140
|
export interface DeleteInstanceResponseBody {
|
|
1122
1141
|
instance: Instance;
|
|
1123
|
-
/** The cancellation Compute created for the instance's
|
|
1142
|
+
/** The cancellation Compute created for the instance's subscription items; null when none pays for it. */
|
|
1124
1143
|
cancellation: null | BillingCancellation;
|
|
1125
1144
|
}
|
|
1126
1145
|
export interface InstanceListResponseBody {
|
|
@@ -1137,7 +1156,7 @@ export type CreateInstanceRequestBodyLabels = {
|
|
|
1137
1156
|
* The launch template a creation starts from.
|
|
1138
1157
|
*/
|
|
1139
1158
|
export interface LaunchTemplateReference {
|
|
1140
|
-
launch_template_id:
|
|
1159
|
+
launch_template_id: LaunchTemplateId;
|
|
1141
1160
|
/**
|
|
1142
1161
|
* A live version of it; the template's `default_version` when omitted.
|
|
1143
1162
|
* @minimum 1
|
|
@@ -1148,7 +1167,7 @@ export interface LaunchTemplateReference {
|
|
|
1148
1167
|
* The compute capacity requested for each instance in this order.
|
|
1149
1168
|
*/
|
|
1150
1169
|
export interface NewCompute {
|
|
1151
|
-
instance_type_id?:
|
|
1170
|
+
instance_type_id?: InstanceTypeId;
|
|
1152
1171
|
billing: BillingChoice;
|
|
1153
1172
|
}
|
|
1154
1173
|
export type NewBootVolumeType = (typeof NewBootVolumeType)[keyof typeof NewBootVolumeType];
|
|
@@ -1168,8 +1187,8 @@ export declare const NewBootVolumeOnInstanceRelease: {
|
|
|
1168
1187
|
*/
|
|
1169
1188
|
export interface NewBootVolume {
|
|
1170
1189
|
type: NewBootVolumeType;
|
|
1171
|
-
image_id:
|
|
1172
|
-
volume_type_id:
|
|
1190
|
+
image_id: ImageId;
|
|
1191
|
+
volume_type_id: VolumeTypeId;
|
|
1173
1192
|
/** @minimum 1 */
|
|
1174
1193
|
size_gib: number;
|
|
1175
1194
|
/** What releasing the instance does to this volume. `delete` deletes it with the instance; `detach` keeps it, still billed on its own terms, for you to attach elsewhere or delete. */
|
|
@@ -1182,7 +1201,7 @@ export declare const ExistingBootVolumeType: {
|
|
|
1182
1201
|
};
|
|
1183
1202
|
export interface ExistingBootVolume {
|
|
1184
1203
|
type: ExistingBootVolumeType;
|
|
1185
|
-
volume_id:
|
|
1204
|
+
volume_id: VolumeId;
|
|
1186
1205
|
/**
|
|
1187
1206
|
* The existing account used to log in to this volume's operating system.
|
|
1188
1207
|
* @minLength 1
|
|
@@ -1206,7 +1225,7 @@ export declare const NewDataVolumeOnInstanceRelease: {
|
|
|
1206
1225
|
* An empty data volume created in the instance's availability zone. Its terms follow the rule shared by every component of the purchase, so a pay-as-you-go instance gets pay-as-you-go data volumes, which stay pay-as-you-go once detached.
|
|
1207
1226
|
*/
|
|
1208
1227
|
export interface NewDataVolume {
|
|
1209
|
-
volume_type_id:
|
|
1228
|
+
volume_type_id: VolumeTypeId;
|
|
1210
1229
|
/**
|
|
1211
1230
|
* Within the volume type's `min_size_gib` and `max_size_gib` and a multiple of its `size_step_gib`.
|
|
1212
1231
|
* @minimum 1
|
|
@@ -1222,13 +1241,13 @@ export declare const NewPrimaryNetworkInterfaceType: {
|
|
|
1222
1241
|
};
|
|
1223
1242
|
export interface NewPrimaryNetworkInterface {
|
|
1224
1243
|
type: NewPrimaryNetworkInterfaceType;
|
|
1225
|
-
subnet_id:
|
|
1244
|
+
subnet_id: SubnetId;
|
|
1226
1245
|
/**
|
|
1227
1246
|
* The security groups of the interface, of the subnet's virtual private cloud. The default security group is not applied automatically.
|
|
1228
1247
|
* @minItems 1
|
|
1229
1248
|
* @maxItems 5
|
|
1230
1249
|
*/
|
|
1231
|
-
security_group_ids:
|
|
1250
|
+
security_group_ids: SecurityGroupId[];
|
|
1232
1251
|
}
|
|
1233
1252
|
export type ExistingPrimaryNetworkInterfaceType = (typeof ExistingPrimaryNetworkInterfaceType)[keyof typeof ExistingPrimaryNetworkInterfaceType];
|
|
1234
1253
|
export declare const ExistingPrimaryNetworkInterfaceType: {
|
|
@@ -1236,22 +1255,22 @@ export declare const ExistingPrimaryNetworkInterfaceType: {
|
|
|
1236
1255
|
};
|
|
1237
1256
|
export interface ExistingPrimaryNetworkInterface {
|
|
1238
1257
|
type: ExistingPrimaryNetworkInterfaceType;
|
|
1239
|
-
network_interface_id:
|
|
1258
|
+
network_interface_id: NetworkInterfaceId;
|
|
1240
1259
|
}
|
|
1241
1260
|
/**
|
|
1242
1261
|
* The instance's primary network interface, its network location. `new` creates one in a subnet, deleted with the instance; `existing` uses one you already hold, detached and kept when the instance is released.
|
|
1243
1262
|
*/
|
|
1244
1263
|
export type PrimaryNetworkInterface = NewPrimaryNetworkInterface | ExistingPrimaryNetworkInterface;
|
|
1245
|
-
export type
|
|
1246
|
-
export declare const
|
|
1264
|
+
export type NewElasticIpType = (typeof NewElasticIpType)[keyof typeof NewElasticIpType];
|
|
1265
|
+
export declare const NewElasticIpType: {
|
|
1247
1266
|
readonly new: "new";
|
|
1248
1267
|
};
|
|
1249
1268
|
/**
|
|
1250
1269
|
* One IPv4 elastic IP created with this bandwidth configuration in the instance's order.
|
|
1251
1270
|
*/
|
|
1252
|
-
export interface
|
|
1253
|
-
type:
|
|
1254
|
-
line_id:
|
|
1271
|
+
export interface NewElasticIp {
|
|
1272
|
+
type: NewElasticIpType;
|
|
1273
|
+
line_id: ElasticIpLineId;
|
|
1255
1274
|
/**
|
|
1256
1275
|
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise refused with `ELASTIC_IP_BANDWIDTH_RANGE`.
|
|
1257
1276
|
* @minimum 1
|
|
@@ -1261,18 +1280,18 @@ export interface NewElasticIP {
|
|
|
1261
1280
|
internet_charge_type?: InternetChargeType;
|
|
1262
1281
|
billing?: BillingChoice;
|
|
1263
1282
|
}
|
|
1264
|
-
export type
|
|
1265
|
-
export declare const
|
|
1283
|
+
export type ExistingElasticIpType = (typeof ExistingElasticIpType)[keyof typeof ExistingElasticIpType];
|
|
1284
|
+
export declare const ExistingElasticIpType: {
|
|
1266
1285
|
readonly existing: "existing";
|
|
1267
1286
|
};
|
|
1268
|
-
export interface
|
|
1269
|
-
type:
|
|
1270
|
-
elastic_ip_id:
|
|
1287
|
+
export interface ExistingElasticIp {
|
|
1288
|
+
type: ExistingElasticIpType;
|
|
1289
|
+
elastic_ip_id: ElasticIpId;
|
|
1271
1290
|
}
|
|
1272
1291
|
/**
|
|
1273
1292
|
* `new` buys an elastic IP in the instance's order; `existing` associates one you already hold. One address is associated with one interface, so either creates only one instance.
|
|
1274
1293
|
*/
|
|
1275
|
-
export type
|
|
1294
|
+
export type InstanceElasticIp = NewElasticIp | ExistingElasticIp;
|
|
1276
1295
|
export type GeneratedPasswordType = (typeof GeneratedPasswordType)[keyof typeof GeneratedPasswordType];
|
|
1277
1296
|
export declare const GeneratedPasswordType: {
|
|
1278
1297
|
readonly generated: "generated";
|
|
@@ -1326,7 +1345,7 @@ export interface CreateInstanceRequestBody {
|
|
|
1326
1345
|
*/
|
|
1327
1346
|
data_volumes?: NewDataVolume[];
|
|
1328
1347
|
network_interface?: PrimaryNetworkInterface;
|
|
1329
|
-
elastic_ip?:
|
|
1348
|
+
elastic_ip?: InstanceElasticIp;
|
|
1330
1349
|
password?: PasswordChoice;
|
|
1331
1350
|
/** Your own classification of each instance, as key-value pairs. A key may not contain a colon, whitespace or control characters */
|
|
1332
1351
|
labels?: CreateInstanceRequestBodyLabels;
|
|
@@ -1350,9 +1369,7 @@ export type UpdateInstanceRequestBodyLabels = {
|
|
|
1350
1369
|
[key: string]: string;
|
|
1351
1370
|
};
|
|
1352
1371
|
/**
|
|
1353
|
-
* The
|
|
1354
|
-
* field: it starts a workflow and cannot be combined with any other field; such a request is refused with 422
|
|
1355
|
-
* `UPDATE_FIELDS_COMBINED`.
|
|
1372
|
+
* The descriptive fields of an instance, all optional, at least one required.
|
|
1356
1373
|
*/
|
|
1357
1374
|
export interface UpdateInstanceRequestBody {
|
|
1358
1375
|
/**
|
|
@@ -1367,10 +1384,6 @@ export interface UpdateInstanceRequestBody {
|
|
|
1367
1384
|
* @maxLength 4096
|
|
1368
1385
|
*/
|
|
1369
1386
|
description?: string;
|
|
1370
|
-
instance_type_id?: InstanceTypeID;
|
|
1371
|
-
/** The `proration_date` of the Billing quote for this change, so that the order is priced from the same instant. Only with `instance_type_id`, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
1372
|
-
proration_date?: string;
|
|
1373
|
-
checkout?: CheckoutOptions;
|
|
1374
1387
|
}
|
|
1375
1388
|
export interface RebootInstanceRequestBody {
|
|
1376
1389
|
/** A forced reboot does not wait for the operating system to shut down and unwritten data is lost; use it when the system is unresponsive. False when omitted */
|
|
@@ -1415,7 +1428,7 @@ export interface ResetInstancePasswordResponseBody {
|
|
|
1415
1428
|
password: string | null;
|
|
1416
1429
|
}
|
|
1417
1430
|
export interface RebuildInstanceRequestBody {
|
|
1418
|
-
image_id:
|
|
1431
|
+
image_id: ImageId;
|
|
1419
1432
|
password?: PasswordChoice;
|
|
1420
1433
|
/** Whether the rebuilt instance joins Leaflow Fleet. If omitted, the instance's current value is retained. Because a rebuild replaces the operating system, the instance enrolls as a new Fleet machine and the previous machine is removed from Fleet. Setting the value to `true` for an image that does not support Fleet is rejected with 422 `INSTANCE_FLEET_UNSUPPORTED`. */
|
|
1421
1434
|
join_fleet?: boolean;
|
|
@@ -1428,20 +1441,22 @@ export interface RebuildInstanceResponseBody {
|
|
|
1428
1441
|
*/
|
|
1429
1442
|
password: string | null;
|
|
1430
1443
|
}
|
|
1444
|
+
export interface ResizeInstanceRequestBody {
|
|
1445
|
+
instance_type_id: InstanceTypeId;
|
|
1446
|
+
/** The `proration_date` of the Billing Checkout Session preview for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
1447
|
+
proration_date?: string;
|
|
1448
|
+
checkout?: CheckoutOptions;
|
|
1449
|
+
}
|
|
1431
1450
|
/**
|
|
1432
|
-
* The instance and
|
|
1433
|
-
*
|
|
1434
|
-
* the resize is applied. Returned with 200 when only descriptive fields changed and with 202 when an operation started.
|
|
1451
|
+
* The instance and the Checkout Session for the resize. The instance is still on its current type, keeps its
|
|
1452
|
+
* ID, and its subscription item keeps its current terms until the resize is applied.
|
|
1435
1453
|
*/
|
|
1436
|
-
export interface
|
|
1454
|
+
export interface ResizeInstanceResponseBody {
|
|
1437
1455
|
instance: Instance;
|
|
1456
|
+
/** The Billing Checkout Session of the purchase. With deferred checkout, the customer completes it in Billing. */
|
|
1457
|
+
checkout_session_id: string;
|
|
1438
1458
|
/**
|
|
1439
|
-
* The
|
|
1440
|
-
* @nullable
|
|
1441
|
-
*/
|
|
1442
|
-
checkout_session_id: string | null;
|
|
1443
|
-
/**
|
|
1444
|
-
* The order created when checkout completes, at once for automatic checkout; null until then and when the update placed no order.
|
|
1459
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
1445
1460
|
* @nullable
|
|
1446
1461
|
*/
|
|
1447
1462
|
order_id: string | null;
|
|
@@ -1476,8 +1491,8 @@ export interface RescueInstanceResponseBody {
|
|
|
1476
1491
|
instance: Instance;
|
|
1477
1492
|
}
|
|
1478
1493
|
export interface LaunchTemplate {
|
|
1479
|
-
id:
|
|
1480
|
-
region_id:
|
|
1494
|
+
id: LaunchTemplateId;
|
|
1495
|
+
region_id: RegionId;
|
|
1481
1496
|
name: string;
|
|
1482
1497
|
description: string;
|
|
1483
1498
|
/** The version a creation naming no version uses. */
|
|
@@ -1500,8 +1515,8 @@ export declare const LaunchTemplateBootVolumeOnInstanceRelease: {
|
|
|
1500
1515
|
* A boot volume created from an image for each instance.
|
|
1501
1516
|
*/
|
|
1502
1517
|
export interface LaunchTemplateBootVolume {
|
|
1503
|
-
image_id:
|
|
1504
|
-
volume_type_id:
|
|
1518
|
+
image_id: ImageId;
|
|
1519
|
+
volume_type_id: VolumeTypeId;
|
|
1505
1520
|
/** @minimum 1 */
|
|
1506
1521
|
size_gib: number;
|
|
1507
1522
|
on_instance_release?: LaunchTemplateBootVolumeOnInstanceRelease;
|
|
@@ -1515,7 +1530,7 @@ export declare const LaunchTemplateDataVolumeOnInstanceRelease: {
|
|
|
1515
1530
|
* An empty data volume created with each instance.
|
|
1516
1531
|
*/
|
|
1517
1532
|
export interface LaunchTemplateDataVolume {
|
|
1518
|
-
volume_type_id:
|
|
1533
|
+
volume_type_id: VolumeTypeId;
|
|
1519
1534
|
/** @minimum 1 */
|
|
1520
1535
|
size_gib: number;
|
|
1521
1536
|
on_instance_release?: LaunchTemplateDataVolumeOnInstanceRelease;
|
|
@@ -1524,18 +1539,18 @@ export interface LaunchTemplateDataVolume {
|
|
|
1524
1539
|
* A new primary network interface for each instance. An interface you already hold serves one instance, so a template cannot name one.
|
|
1525
1540
|
*/
|
|
1526
1541
|
export interface LaunchTemplateNetworkInterface {
|
|
1527
|
-
subnet_id:
|
|
1542
|
+
subnet_id: SubnetId;
|
|
1528
1543
|
/**
|
|
1529
1544
|
* @minItems 1
|
|
1530
1545
|
* @maxItems 5
|
|
1531
1546
|
*/
|
|
1532
|
-
security_group_ids:
|
|
1547
|
+
security_group_ids: SecurityGroupId[];
|
|
1533
1548
|
}
|
|
1534
1549
|
/**
|
|
1535
1550
|
* A new elastic IP bought with each instance. An address you already hold serves one instance, so a template cannot name one.
|
|
1536
1551
|
*/
|
|
1537
|
-
export interface
|
|
1538
|
-
line_id:
|
|
1552
|
+
export interface LaunchTemplateElasticIp {
|
|
1553
|
+
line_id: ElasticIpLineId;
|
|
1539
1554
|
/**
|
|
1540
1555
|
* @minimum 1
|
|
1541
1556
|
* @maximum 1000
|
|
@@ -1555,12 +1570,12 @@ export type NewLaunchTemplateVersionLabels = {
|
|
|
1555
1570
|
export interface NewLaunchTemplateVersion {
|
|
1556
1571
|
/** @maxLength 1024 */
|
|
1557
1572
|
version_description?: string;
|
|
1558
|
-
instance_type_id?:
|
|
1573
|
+
instance_type_id?: InstanceTypeId;
|
|
1559
1574
|
boot_volume?: LaunchTemplateBootVolume;
|
|
1560
1575
|
/** @maxItems 16 */
|
|
1561
1576
|
data_volumes?: LaunchTemplateDataVolume[];
|
|
1562
1577
|
network_interface?: LaunchTemplateNetworkInterface;
|
|
1563
|
-
elastic_ip?:
|
|
1578
|
+
elastic_ip?: LaunchTemplateElasticIp;
|
|
1564
1579
|
/** A key may not contain a colon, whitespace or control characters. */
|
|
1565
1580
|
labels?: NewLaunchTemplateVersionLabels;
|
|
1566
1581
|
/** @maxLength 4096 */
|
|
@@ -1569,7 +1584,7 @@ export interface NewLaunchTemplateVersion {
|
|
|
1569
1584
|
join_fleet?: boolean;
|
|
1570
1585
|
}
|
|
1571
1586
|
export interface CreateLaunchTemplateRequestBody {
|
|
1572
|
-
region_id:
|
|
1587
|
+
region_id: RegionId;
|
|
1573
1588
|
/**
|
|
1574
1589
|
* @minLength 1
|
|
1575
1590
|
* @maxLength 128
|
|
@@ -1587,14 +1602,14 @@ export type LaunchTemplateVersionLabels = {
|
|
|
1587
1602
|
[key: string]: string;
|
|
1588
1603
|
} | null;
|
|
1589
1604
|
export interface LaunchTemplateVersion {
|
|
1590
|
-
launch_template_id:
|
|
1605
|
+
launch_template_id: LaunchTemplateId;
|
|
1591
1606
|
version_number: number;
|
|
1592
1607
|
version_description: string;
|
|
1593
|
-
instance_type_id:
|
|
1608
|
+
instance_type_id: InstanceTypeId | null;
|
|
1594
1609
|
boot_volume: LaunchTemplateBootVolume | null;
|
|
1595
1610
|
data_volumes: LaunchTemplateDataVolume[];
|
|
1596
1611
|
network_interface: LaunchTemplateNetworkInterface | null;
|
|
1597
|
-
elastic_ip:
|
|
1612
|
+
elastic_ip: LaunchTemplateElasticIp | null;
|
|
1598
1613
|
/**
|
|
1599
1614
|
* Null when the version describes no labels.
|
|
1600
1615
|
* @nullable
|
|
@@ -1668,8 +1683,8 @@ export declare const NetworkInterfaceAddressState: {
|
|
|
1668
1683
|
readonly released: "released";
|
|
1669
1684
|
};
|
|
1670
1685
|
export interface NetworkInterfaceAddress {
|
|
1671
|
-
id:
|
|
1672
|
-
subnet_id:
|
|
1686
|
+
id: NetworkInterfaceAddressId;
|
|
1687
|
+
subnet_id: SubnetId;
|
|
1673
1688
|
/**
|
|
1674
1689
|
* @minLength 1
|
|
1675
1690
|
* @maxLength 64
|
|
@@ -1703,9 +1718,9 @@ export declare const NetworkInterfaceAttachmentState: {
|
|
|
1703
1718
|
readonly released: "released";
|
|
1704
1719
|
};
|
|
1705
1720
|
export interface NetworkInterfaceAttachment {
|
|
1706
|
-
id:
|
|
1707
|
-
instance_id:
|
|
1708
|
-
network_interface_id:
|
|
1721
|
+
id: InstanceNetworkInterfaceId;
|
|
1722
|
+
instance_id: InstanceId;
|
|
1723
|
+
network_interface_id: NetworkInterfaceId;
|
|
1709
1724
|
role: NetworkInterfaceAttachmentRole;
|
|
1710
1725
|
/** What releasing the instance does to this interface. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. The primary interface created with the instance is `delete`; an interface you created yourself is `detach`. */
|
|
1711
1726
|
on_instance_release: NetworkInterfaceAttachmentOnInstanceRelease;
|
|
@@ -1718,18 +1733,18 @@ export interface NetworkInterfaceAttachment {
|
|
|
1718
1733
|
released_at: string | null;
|
|
1719
1734
|
}
|
|
1720
1735
|
export interface NetworkInterface {
|
|
1721
|
-
id:
|
|
1736
|
+
id: NetworkInterfaceId;
|
|
1722
1737
|
/** @nullable */
|
|
1723
1738
|
mac_address: string | null;
|
|
1724
1739
|
name: string;
|
|
1725
|
-
virtual_private_cloud_id:
|
|
1740
|
+
virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
1726
1741
|
/**
|
|
1727
1742
|
* Elastic IPv4 addresses associated with this network interface; an empty array when none are associated
|
|
1728
1743
|
* @nullable
|
|
1729
1744
|
*/
|
|
1730
1745
|
elastic_ip_addresses: string[] | null;
|
|
1731
1746
|
/** The security groups the network interface holds. */
|
|
1732
|
-
security_group_ids:
|
|
1747
|
+
security_group_ids: SecurityGroupId[];
|
|
1733
1748
|
addresses?: NetworkInterfaceAddress[];
|
|
1734
1749
|
attachment: NetworkInterfaceAttachment | null;
|
|
1735
1750
|
/** `pending` until the interface is created, then `available`. `error` means its creation failed or the cloud reports it broken; delete it and create another. A value naming an operation in progress (`attaching`, `detaching`, `associating_elastic_ip`, `updating_security_groups`, `adding_address`, `removing_address`, `deleting`) is shown while that operation runs; the interface refuses another operation until it ends. */
|
|
@@ -1743,7 +1758,7 @@ export interface NetworkInterfaceListResponseBody {
|
|
|
1743
1758
|
pagination: OffsetPagination;
|
|
1744
1759
|
}
|
|
1745
1760
|
export interface AttachNetworkInterfaceRequestBody {
|
|
1746
|
-
network_interface_id:
|
|
1761
|
+
network_interface_id: NetworkInterfaceId;
|
|
1747
1762
|
}
|
|
1748
1763
|
export interface CreateNetworkInterfaceRequestBody {
|
|
1749
1764
|
/** @maxLength 128 */
|
|
@@ -1753,8 +1768,8 @@ export interface CreateNetworkInterfaceRequestBody {
|
|
|
1753
1768
|
* @minItems 1
|
|
1754
1769
|
* @nullable
|
|
1755
1770
|
*/
|
|
1756
|
-
security_group_ids:
|
|
1757
|
-
subnet_id:
|
|
1771
|
+
security_group_ids: SecurityGroupId[] | null;
|
|
1772
|
+
subnet_id: SubnetId;
|
|
1758
1773
|
/**
|
|
1759
1774
|
* The private address to assign. Allocated automatically when omitted
|
|
1760
1775
|
* @maxLength 64
|
|
@@ -1762,17 +1777,19 @@ export interface CreateNetworkInterfaceRequestBody {
|
|
|
1762
1777
|
address?: string;
|
|
1763
1778
|
}
|
|
1764
1779
|
/**
|
|
1765
|
-
* The
|
|
1780
|
+
* The descriptive fields of a network interface, all optional, at least one required.
|
|
1766
1781
|
*/
|
|
1767
1782
|
export interface UpdateNetworkInterfaceRequestBody {
|
|
1768
1783
|
/** @maxLength 128 */
|
|
1769
1784
|
name?: string;
|
|
1785
|
+
}
|
|
1786
|
+
export interface ReplaceNetworkInterfaceSecurityGroupsRequestBody {
|
|
1770
1787
|
/**
|
|
1771
1788
|
* The complete new set of security groups, of the network interface's virtual private cloud.
|
|
1772
1789
|
* @minItems 1
|
|
1773
1790
|
* @maxItems 5
|
|
1774
1791
|
*/
|
|
1775
|
-
security_group_ids
|
|
1792
|
+
security_group_ids: SecurityGroupId[];
|
|
1776
1793
|
}
|
|
1777
1794
|
export interface CreateNetworkInterfaceAddressRequestBody {
|
|
1778
1795
|
/**
|
|
@@ -1831,10 +1848,10 @@ export interface OperationLogResource {
|
|
|
1831
1848
|
* @nullable
|
|
1832
1849
|
*/
|
|
1833
1850
|
failure: string | null;
|
|
1834
|
-
id:
|
|
1851
|
+
id: OperationLogId;
|
|
1835
1852
|
/** Path and query parameters of the request. Fields such as passwords are redacted */
|
|
1836
1853
|
payload: OperationLogResourcePayload;
|
|
1837
|
-
region_id:
|
|
1854
|
+
region_id: RegionId | null;
|
|
1838
1855
|
/** Empty for create operations: the id of the new resource is in the response, not in the request path */
|
|
1839
1856
|
subject_id: string;
|
|
1840
1857
|
subject_type: string;
|
|
@@ -1875,8 +1892,8 @@ export declare const PrivateImageResourceFailureReason: {
|
|
|
1875
1892
|
* An image this project captured from one of its instances, used to install instances of this project. Its storage is billed only to this project. Reclaimed for non-payment while instances installed from it remain, it is kept, unusable and no longer charged, and deleted once the last of them is released.
|
|
1876
1893
|
*/
|
|
1877
1894
|
export interface PrivateImageResource {
|
|
1878
|
-
id:
|
|
1879
|
-
region_id:
|
|
1895
|
+
id: ImageId;
|
|
1896
|
+
region_id: RegionId;
|
|
1880
1897
|
name: string;
|
|
1881
1898
|
os_family: string;
|
|
1882
1899
|
os_version: string;
|
|
@@ -1908,7 +1925,7 @@ export interface PrivateImageResource {
|
|
|
1908
1925
|
* @nullable
|
|
1909
1926
|
*/
|
|
1910
1927
|
billing_position: string | null;
|
|
1911
|
-
source_instance_id:
|
|
1928
|
+
source_instance_id: InstanceId;
|
|
1912
1929
|
created_at: string;
|
|
1913
1930
|
/**
|
|
1914
1931
|
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this image is refunded.
|
|
@@ -1931,21 +1948,26 @@ export interface PrivateImageResource {
|
|
|
1931
1948
|
*/
|
|
1932
1949
|
readonly order_item_id: string | null;
|
|
1933
1950
|
/**
|
|
1934
|
-
* The subscription
|
|
1951
|
+
* The Billing subscription of this resource; its presence alone does not imply delivery.
|
|
1935
1952
|
* @nullable
|
|
1936
1953
|
*/
|
|
1937
1954
|
readonly subscription_id: string | null;
|
|
1938
|
-
/**
|
|
1955
|
+
/**
|
|
1956
|
+
* The resource's item of that subscription.
|
|
1957
|
+
* @nullable
|
|
1958
|
+
*/
|
|
1959
|
+
readonly subscription_item_id: string | null;
|
|
1960
|
+
/** The subscription item that pays for this private image, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription item pays for it, and once it is released. */
|
|
1939
1961
|
release_set: ReleaseSetItem[];
|
|
1940
1962
|
/** The most recent operation started on the image; null when none has been recorded. */
|
|
1941
1963
|
latest_operation: LatestOperation | null;
|
|
1942
1964
|
}
|
|
1943
1965
|
/**
|
|
1944
|
-
* The private image as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
1966
|
+
* The private image as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
1945
1967
|
*/
|
|
1946
1968
|
export interface DeletePrivateImageResponseBody {
|
|
1947
1969
|
private_image: PrivateImageResource;
|
|
1948
|
-
/** The cancellation Compute created for the private image's
|
|
1970
|
+
/** The cancellation Compute created for the private image's subscription items; null when none pays for it. */
|
|
1949
1971
|
cancellation: null | BillingCancellation;
|
|
1950
1972
|
}
|
|
1951
1973
|
export interface PrivateImageListResponseBody {
|
|
@@ -1956,7 +1978,7 @@ export interface PrivateImageListResponseBody {
|
|
|
1956
1978
|
* Creation configuration for this resource. Compute project quotas and Billing authorization are checked independently.
|
|
1957
1979
|
*/
|
|
1958
1980
|
export interface CreatePrivateImageRequestBody {
|
|
1959
|
-
instance_id:
|
|
1981
|
+
instance_id: InstanceId;
|
|
1960
1982
|
/**
|
|
1961
1983
|
* @minLength 1
|
|
1962
1984
|
* @maxLength 128
|
|
@@ -1996,8 +2018,8 @@ export declare const PublicImageResourceSaleStatus: {
|
|
|
1996
2018
|
* A platform image offered to every project to install an instance. It carries no ownership and no billing; its storage is the platform's.
|
|
1997
2019
|
*/
|
|
1998
2020
|
export interface PublicImageResource {
|
|
1999
|
-
id:
|
|
2000
|
-
region_id:
|
|
2021
|
+
id: ImageId;
|
|
2022
|
+
region_id: RegionId;
|
|
2001
2023
|
name: string;
|
|
2002
2024
|
os_family: string;
|
|
2003
2025
|
os_version: string;
|
|
@@ -2056,7 +2078,7 @@ export declare const QuotaSource: {
|
|
|
2056
2078
|
*/
|
|
2057
2079
|
export interface ProjectQuota {
|
|
2058
2080
|
readonly project_id: string;
|
|
2059
|
-
region_id:
|
|
2081
|
+
region_id: RegionId;
|
|
2060
2082
|
resource: QuotaResourceType;
|
|
2061
2083
|
/** @minimum 0 */
|
|
2062
2084
|
readonly limit: number;
|
|
@@ -2073,7 +2095,7 @@ export interface RegionResource {
|
|
|
2073
2095
|
name: string;
|
|
2074
2096
|
/** The region's code, the way the outside world names this place (hk-1). Stable and human-written; addressing is by id. */
|
|
2075
2097
|
code: string;
|
|
2076
|
-
id:
|
|
2098
|
+
id: RegionId;
|
|
2077
2099
|
/** The line every snapshot in this region is, metered on the size it stores. */
|
|
2078
2100
|
volume_snapshot_billing: BillingComponent;
|
|
2079
2101
|
/** The line every volume backup in this region is, metered on the size it stores. */
|
|
@@ -2097,8 +2119,8 @@ export declare const SecurityGroupRuleIpVersion: {
|
|
|
2097
2119
|
readonly NUMBER_6: 6;
|
|
2098
2120
|
};
|
|
2099
2121
|
export interface SecurityGroupRule {
|
|
2100
|
-
id:
|
|
2101
|
-
security_group_id:
|
|
2122
|
+
id: SecurityGroupRuleId;
|
|
2123
|
+
security_group_id: SecurityGroupId;
|
|
2102
2124
|
direction: SecurityGroupRuleDirection;
|
|
2103
2125
|
ip_version: SecurityGroupRuleIpVersion;
|
|
2104
2126
|
/**
|
|
@@ -2154,8 +2176,8 @@ export interface CreateSecurityGroupRuleRequestBody {
|
|
|
2154
2176
|
description?: string;
|
|
2155
2177
|
}
|
|
2156
2178
|
export interface SecurityGroup {
|
|
2157
|
-
id:
|
|
2158
|
-
virtual_private_cloud_id:
|
|
2179
|
+
id: SecurityGroupId;
|
|
2180
|
+
virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2159
2181
|
name: string;
|
|
2160
2182
|
description: string;
|
|
2161
2183
|
/** The default security group goes with its virtual private cloud and cannot be deleted on its own. */
|
|
@@ -2168,7 +2190,7 @@ export interface SecurityGroupListResponseBody {
|
|
|
2168
2190
|
pagination: OffsetPagination;
|
|
2169
2191
|
}
|
|
2170
2192
|
export interface CreateSecurityGroupRequestBody {
|
|
2171
|
-
virtual_private_cloud_id:
|
|
2193
|
+
virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2172
2194
|
/**
|
|
2173
2195
|
* @minLength 1
|
|
2174
2196
|
* @maxLength 128
|
|
@@ -2208,13 +2230,13 @@ export declare const VirtualPrivateCloudPeeringResourceStatus: {
|
|
|
2208
2230
|
readonly deleting: "deleting";
|
|
2209
2231
|
};
|
|
2210
2232
|
export interface VirtualPrivateCloudPeeringResource {
|
|
2211
|
-
id:
|
|
2233
|
+
id: VirtualPrivateCloudPeeringId;
|
|
2212
2234
|
name: string;
|
|
2213
|
-
region_id:
|
|
2235
|
+
region_id: RegionId;
|
|
2214
2236
|
requester_project_id: string;
|
|
2215
2237
|
accepter_project_id: string;
|
|
2216
|
-
requester_virtual_private_cloud_id:
|
|
2217
|
-
accepter_virtual_private_cloud_id:
|
|
2238
|
+
requester_virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2239
|
+
accepter_virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2218
2240
|
/** The accepter project's decision. `pending` until it decides; `accept-virtual-private-cloud-peering` and `reject-virtual-private-cloud-peering` make it `accepted` or `rejected`. A rejected peering is `deleted`. */
|
|
2219
2241
|
acceptance: VirtualPrivateCloudPeeringResourceAcceptance;
|
|
2220
2242
|
/** `pending` until the connectivity exists: while acceptance is pending, and after it is accepted while the link is built (`provisioning`). Then `active`. `failed` means the link could not be built; `failure_reason` states why. `deleted` once deleted or rejected. `deleting` runs until the link and its peer routes are gone. */
|
|
@@ -2238,9 +2260,9 @@ export interface CreateVirtualPrivateCloudPeeringRequestBody {
|
|
|
2238
2260
|
* @maxLength 128
|
|
2239
2261
|
*/
|
|
2240
2262
|
name: string;
|
|
2241
|
-
requester_virtual_private_cloud_id:
|
|
2263
|
+
requester_virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2242
2264
|
accepter_project_id: string;
|
|
2243
|
-
accepter_virtual_private_cloud_id:
|
|
2265
|
+
accepter_virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2244
2266
|
}
|
|
2245
2267
|
/**
|
|
2246
2268
|
* Who put the route there. A `tenant` route is created and deleted by the project; a `peering` route is installed by an active peering and removed with it.
|
|
@@ -2251,8 +2273,8 @@ export declare const VirtualPrivateCloudRouteType: {
|
|
|
2251
2273
|
readonly peering: "peering";
|
|
2252
2274
|
};
|
|
2253
2275
|
export interface VirtualPrivateCloudRouteResource {
|
|
2254
|
-
id:
|
|
2255
|
-
virtual_private_cloud_id:
|
|
2276
|
+
id: VirtualPrivateCloudRouteId;
|
|
2277
|
+
virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2256
2278
|
type: VirtualPrivateCloudRouteType;
|
|
2257
2279
|
destination_cidr: string;
|
|
2258
2280
|
/**
|
|
@@ -2261,7 +2283,7 @@ export interface VirtualPrivateCloudRouteResource {
|
|
|
2261
2283
|
*/
|
|
2262
2284
|
next_hop_address: string | null;
|
|
2263
2285
|
/** The peering that wrote the route, null for a tenant route. */
|
|
2264
|
-
virtual_private_cloud_peering_id:
|
|
2286
|
+
virtual_private_cloud_peering_id: VirtualPrivateCloudPeeringId | null;
|
|
2265
2287
|
description: string;
|
|
2266
2288
|
created_at: string;
|
|
2267
2289
|
}
|
|
@@ -2286,8 +2308,8 @@ export interface CreateVirtualPrivateCloudRouteRequestBody {
|
|
|
2286
2308
|
description?: string;
|
|
2287
2309
|
}
|
|
2288
2310
|
export interface VirtualPrivateCloudSubnet {
|
|
2289
|
-
id:
|
|
2290
|
-
virtual_private_cloud_id:
|
|
2311
|
+
id: SubnetId;
|
|
2312
|
+
virtual_private_cloud_id: VirtualPrivateCloudId;
|
|
2291
2313
|
name: string;
|
|
2292
2314
|
/** The subnet's IPv4 range. */
|
|
2293
2315
|
ipv4_cidr: string;
|
|
@@ -2346,8 +2368,8 @@ export declare const VirtualPrivateCloudStatus: {
|
|
|
2346
2368
|
readonly disabling_ipv6: "disabling_ipv6";
|
|
2347
2369
|
};
|
|
2348
2370
|
export interface VirtualPrivateCloud {
|
|
2349
|
-
id:
|
|
2350
|
-
region_id:
|
|
2371
|
+
id: VirtualPrivateCloudId;
|
|
2372
|
+
region_id: RegionId;
|
|
2351
2373
|
name: string;
|
|
2352
2374
|
ipv4_cidr: string;
|
|
2353
2375
|
/**
|
|
@@ -2367,7 +2389,7 @@ export interface VirtualPrivateCloudListResponseBody {
|
|
|
2367
2389
|
pagination: OffsetPagination;
|
|
2368
2390
|
}
|
|
2369
2391
|
export interface CreateVirtualPrivateCloudRequestBody {
|
|
2370
|
-
region_id:
|
|
2392
|
+
region_id: RegionId;
|
|
2371
2393
|
/**
|
|
2372
2394
|
* @minLength 1
|
|
2373
2395
|
* @maxLength 128
|
|
@@ -2425,17 +2447,17 @@ export declare const VolumeBackupResourceFailureReason: {
|
|
|
2425
2447
|
*/
|
|
2426
2448
|
export interface VolumeBackupResource {
|
|
2427
2449
|
created_at: string;
|
|
2428
|
-
id:
|
|
2450
|
+
id: VolumeBackupId;
|
|
2429
2451
|
name: string;
|
|
2430
|
-
region_id:
|
|
2452
|
+
region_id: RegionId;
|
|
2431
2453
|
/** Capacity of the source volume when the backup was created. A restored volume cannot be smaller than this */
|
|
2432
2454
|
size_gib: number;
|
|
2433
2455
|
/** The capacity metered for this backup, in GiB: the size of the source volume when the backup was taken. Usage is this capacity multiplied by the time the backup is retained. */
|
|
2434
2456
|
capacity_gib: number;
|
|
2435
|
-
source_volume_id:
|
|
2457
|
+
source_volume_id: VolumeId;
|
|
2436
2458
|
/** `pending` from the purchase until the backup is taken, then `available`. `failed` means the backup was not created. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the backup refuses another operation until it ends. */
|
|
2437
2459
|
status: VolumeBackupResourceStatus;
|
|
2438
|
-
source_availability_zone_id:
|
|
2460
|
+
source_availability_zone_id: AvailabilityZoneId;
|
|
2439
2461
|
/**
|
|
2440
2462
|
* Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this backup is refunded.
|
|
2441
2463
|
* @nullable
|
|
@@ -2457,21 +2479,26 @@ export interface VolumeBackupResource {
|
|
|
2457
2479
|
*/
|
|
2458
2480
|
readonly order_item_id: string | null;
|
|
2459
2481
|
/**
|
|
2460
|
-
* The subscription
|
|
2482
|
+
* The Billing subscription of this resource; its presence alone does not imply delivery.
|
|
2461
2483
|
* @nullable
|
|
2462
2484
|
*/
|
|
2463
2485
|
readonly subscription_id: string | null;
|
|
2464
|
-
/**
|
|
2486
|
+
/**
|
|
2487
|
+
* The resource's item of that subscription.
|
|
2488
|
+
* @nullable
|
|
2489
|
+
*/
|
|
2490
|
+
readonly subscription_item_id: string | null;
|
|
2491
|
+
/** The subscription item that pays for this volume backup, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription item pays for it, and once it is released. */
|
|
2465
2492
|
release_set: ReleaseSetItem[];
|
|
2466
2493
|
/** The most recent operation started on the backup; null when none has been recorded. */
|
|
2467
2494
|
latest_operation: LatestOperation | null;
|
|
2468
2495
|
}
|
|
2469
2496
|
/**
|
|
2470
|
-
* The volume backup as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
2497
|
+
* The volume backup as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
2471
2498
|
*/
|
|
2472
2499
|
export interface DeleteVolumeBackupResponseBody {
|
|
2473
2500
|
volume_backup: VolumeBackupResource;
|
|
2474
|
-
/** The cancellation Compute created for the volume backup's
|
|
2501
|
+
/** The cancellation Compute created for the volume backup's subscription items; null when none pays for it. */
|
|
2475
2502
|
cancellation: null | BillingCancellation;
|
|
2476
2503
|
}
|
|
2477
2504
|
export interface VolumeBackupListResponseBody {
|
|
@@ -2480,7 +2507,7 @@ export interface VolumeBackupListResponseBody {
|
|
|
2480
2507
|
pagination: OffsetPagination;
|
|
2481
2508
|
}
|
|
2482
2509
|
export interface CreateVolumeBackupRequestBody {
|
|
2483
|
-
volume_id:
|
|
2510
|
+
volume_id: VolumeId;
|
|
2484
2511
|
/**
|
|
2485
2512
|
* @minLength 1
|
|
2486
2513
|
* @maxLength 128
|
|
@@ -2540,12 +2567,12 @@ export declare const VolumeSnapshotResourceFailureReason: {
|
|
|
2540
2567
|
* A snapshot of a volume. Compute project quotas constrain its count; retained storage is metered independently of that quota.
|
|
2541
2568
|
*/
|
|
2542
2569
|
export interface VolumeSnapshotResource {
|
|
2543
|
-
availability_zone_id:
|
|
2570
|
+
availability_zone_id: AvailabilityZoneId;
|
|
2544
2571
|
created_at: string;
|
|
2545
|
-
volume_id:
|
|
2546
|
-
id:
|
|
2572
|
+
volume_id: VolumeId;
|
|
2573
|
+
id: VolumeSnapshotId;
|
|
2547
2574
|
name: string;
|
|
2548
|
-
region_id:
|
|
2575
|
+
region_id: RegionId;
|
|
2549
2576
|
/** Capacity of the source volume when the snapshot was created. A volume restored from it cannot be smaller */
|
|
2550
2577
|
size_gib: number;
|
|
2551
2578
|
/** `pending` once a quota slot is reserved and until the snapshot is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the snapshot refuses another operation until it ends. */
|
|
@@ -2571,21 +2598,26 @@ export interface VolumeSnapshotResource {
|
|
|
2571
2598
|
*/
|
|
2572
2599
|
readonly order_item_id: string | null;
|
|
2573
2600
|
/**
|
|
2574
|
-
* The subscription
|
|
2601
|
+
* The Billing subscription of this resource; its presence alone does not imply delivery.
|
|
2575
2602
|
* @nullable
|
|
2576
2603
|
*/
|
|
2577
2604
|
readonly subscription_id: string | null;
|
|
2578
|
-
/**
|
|
2605
|
+
/**
|
|
2606
|
+
* The resource's item of that subscription.
|
|
2607
|
+
* @nullable
|
|
2608
|
+
*/
|
|
2609
|
+
readonly subscription_item_id: string | null;
|
|
2610
|
+
/** The subscription item that pays for this snapshot, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription item pays for it, and once it is released. */
|
|
2579
2611
|
release_set: ReleaseSetItem[];
|
|
2580
2612
|
/** The most recent operation started on the snapshot; null when none has been recorded. */
|
|
2581
2613
|
latest_operation: LatestOperation | null;
|
|
2582
2614
|
}
|
|
2583
2615
|
/**
|
|
2584
|
-
* The snapshot as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
2616
|
+
* The snapshot as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
2585
2617
|
*/
|
|
2586
2618
|
export interface DeleteVolumeSnapshotResponseBody {
|
|
2587
2619
|
volume_snapshot: VolumeSnapshotResource;
|
|
2588
|
-
/** The cancellation Compute created for the snapshot's
|
|
2620
|
+
/** The cancellation Compute created for the snapshot's subscription items; null when none pays for it. */
|
|
2589
2621
|
cancellation: null | BillingCancellation;
|
|
2590
2622
|
}
|
|
2591
2623
|
export interface VolumeSnapshotListResponseBody {
|
|
@@ -2597,7 +2629,7 @@ export interface VolumeSnapshotListResponseBody {
|
|
|
2597
2629
|
* Creation configuration for this resource. Compute project quotas and Billing authorization are checked independently.
|
|
2598
2630
|
*/
|
|
2599
2631
|
export interface CreateVolumeSnapshotRequestBody {
|
|
2600
|
-
volume_id:
|
|
2632
|
+
volume_id: VolumeId;
|
|
2601
2633
|
/**
|
|
2602
2634
|
* @minLength 1
|
|
2603
2635
|
* @maxLength 128
|
|
@@ -2661,15 +2693,15 @@ export interface VolumeTypePerformance {
|
|
|
2661
2693
|
throughput_bytes_per_second: PerformanceFormula;
|
|
2662
2694
|
}
|
|
2663
2695
|
export interface VolumeTypeResource {
|
|
2664
|
-
availability_zone_id:
|
|
2696
|
+
availability_zone_id: AvailabilityZoneId;
|
|
2665
2697
|
/** `sold_out` takes no new orders for now while the type stays listed; the volumes already of it keep working. */
|
|
2666
2698
|
sale_status: VolumeTypeResourceSaleStatus;
|
|
2667
|
-
id:
|
|
2699
|
+
id: VolumeTypeId;
|
|
2668
2700
|
max_size_gib: number;
|
|
2669
2701
|
medium: VolumeTypeResourceMedium;
|
|
2670
2702
|
min_size_gib: number;
|
|
2671
2703
|
name: string;
|
|
2672
|
-
region_id:
|
|
2704
|
+
region_id: RegionId;
|
|
2673
2705
|
size_step_gib: number;
|
|
2674
2706
|
performance: VolumeTypePerformance;
|
|
2675
2707
|
/** The line a volume of this type is, whether bought on its own or as the boot volume or a data volume of an instance. A volume bought on its own is licensed only. */
|
|
@@ -2748,9 +2780,9 @@ export declare const VolumeAttachmentState: {
|
|
|
2748
2780
|
readonly released: "released";
|
|
2749
2781
|
};
|
|
2750
2782
|
export interface VolumeAttachment {
|
|
2751
|
-
id:
|
|
2752
|
-
instance_id:
|
|
2753
|
-
volume_id:
|
|
2783
|
+
id: InstanceVolumeId;
|
|
2784
|
+
instance_id: InstanceId;
|
|
2785
|
+
volume_id: VolumeId;
|
|
2754
2786
|
role: VolumeAttachmentRole;
|
|
2755
2787
|
/** What releasing the instance does to this volume. `delete` deletes it together with the instance; `detach` detaches it and leaves it to you. A volume you attached, or booted the instance from, is `detach`; a volume bought with the instance follows the choice made when it was bought. */
|
|
2756
2788
|
on_instance_release: VolumeAttachmentOnInstanceRelease;
|
|
@@ -2767,12 +2799,12 @@ export interface VolumeAttachment {
|
|
|
2767
2799
|
performance: VolumePerformance | null;
|
|
2768
2800
|
}
|
|
2769
2801
|
export interface VolumeResource {
|
|
2770
|
-
availability_zone_id:
|
|
2802
|
+
availability_zone_id: AvailabilityZoneId;
|
|
2771
2803
|
created_at: string;
|
|
2772
|
-
volume_type_id:
|
|
2773
|
-
id:
|
|
2804
|
+
volume_type_id: VolumeTypeId;
|
|
2805
|
+
id: VolumeId;
|
|
2774
2806
|
name: string;
|
|
2775
|
-
region_id:
|
|
2807
|
+
region_id: RegionId;
|
|
2776
2808
|
size_gib: number;
|
|
2777
2809
|
performance: VolumePerformance;
|
|
2778
2810
|
/** `pending` until the volume is created, with no storage allocated before the order is accepted; then `available`, or `in_use` once attached. `failed` means the volume was not created; `failure_reason` states why. `error` means the cloud reports the volume broken. A value naming an operation in progress (`resizing`, `retyping`, `reverting`, `attaching`, `detaching`, `suspending`, `resuming`, `deleting`) is shown while that operation runs; the volume refuses another operation until it ends. */
|
|
@@ -2790,12 +2822,18 @@ export interface VolumeResource {
|
|
|
2790
2822
|
*/
|
|
2791
2823
|
order_item_id: string | null;
|
|
2792
2824
|
/**
|
|
2793
|
-
* The Billing subscription
|
|
2825
|
+
* The Billing subscription the resource renews under: its own, or the instance's when it was bought with or
|
|
2826
|
+
* for one. Read it in Billing for the term end, automatic renewal and renewal. It may still be pending; its
|
|
2794
2827
|
* presence does not imply delivery or metering. Null when no subscription is associated.
|
|
2795
2828
|
* @nullable
|
|
2796
2829
|
*/
|
|
2797
2830
|
subscription_id: string | null;
|
|
2798
|
-
/**
|
|
2831
|
+
/**
|
|
2832
|
+
* The resource's item of that subscription. Null when no subscription is associated.
|
|
2833
|
+
* @nullable
|
|
2834
|
+
*/
|
|
2835
|
+
subscription_item_id: string | null;
|
|
2836
|
+
/** The subscription items a cancellation through Billing has to cover to release this volume: its own, each with the resource it pays for, so that each line of a cancellation can name what it releases. Snapshots have no individual items. A boot volume is released only with its instance, so for a boot volume the set is that of the instance. Items that have ended are not listed, and the set is empty when no item pays for any of them. */
|
|
2799
2837
|
release_set: ReleaseSetItem[];
|
|
2800
2838
|
/** @nullable */
|
|
2801
2839
|
access_state: VolumeResourceAccessState;
|
|
@@ -2809,11 +2847,11 @@ export interface VolumeResource {
|
|
|
2809
2847
|
latest_operation: LatestOperation | null;
|
|
2810
2848
|
}
|
|
2811
2849
|
/**
|
|
2812
|
-
* The volume as it is when the deletion is accepted, and the Billing cancellation that releases it when
|
|
2850
|
+
* The volume as it is when the deletion is accepted, and the Billing cancellation that releases it when subscription items pay for it.
|
|
2813
2851
|
*/
|
|
2814
2852
|
export interface DeleteVolumeResponseBody {
|
|
2815
2853
|
volume: VolumeResource;
|
|
2816
|
-
/** The cancellation Compute created for the volume's
|
|
2854
|
+
/** The cancellation Compute created for the volume's subscription items; null when none pays for it. */
|
|
2817
2855
|
cancellation: null | BillingCancellation;
|
|
2818
2856
|
}
|
|
2819
2857
|
export interface VolumeListResponseBody {
|
|
@@ -2822,7 +2860,7 @@ export interface VolumeListResponseBody {
|
|
|
2822
2860
|
pagination: OffsetPagination;
|
|
2823
2861
|
}
|
|
2824
2862
|
export interface CreateVolumeRequestBody {
|
|
2825
|
-
volume_type_id:
|
|
2863
|
+
volume_type_id: VolumeTypeId;
|
|
2826
2864
|
/**
|
|
2827
2865
|
* @minLength 1
|
|
2828
2866
|
* @maxLength 128
|
|
@@ -2833,13 +2871,14 @@ export interface CreateVolumeRequestBody {
|
|
|
2833
2871
|
* @minimum 1
|
|
2834
2872
|
*/
|
|
2835
2873
|
size_gib?: number;
|
|
2836
|
-
volume_snapshot_id?:
|
|
2837
|
-
volume_backup_id?:
|
|
2838
|
-
billing
|
|
2874
|
+
volume_snapshot_id?: VolumeSnapshotId;
|
|
2875
|
+
volume_backup_id?: VolumeBackupId;
|
|
2876
|
+
billing?: BillingChoice;
|
|
2839
2877
|
checkout?: CheckoutOptions;
|
|
2878
|
+
instance_id?: InstanceId;
|
|
2840
2879
|
}
|
|
2841
2880
|
/**
|
|
2842
|
-
* The
|
|
2881
|
+
* The descriptive fields of a volume, all optional, at least one required.
|
|
2843
2882
|
*/
|
|
2844
2883
|
export interface UpdateVolumeRequestBody {
|
|
2845
2884
|
/**
|
|
@@ -2847,21 +2886,12 @@ export interface UpdateVolumeRequestBody {
|
|
|
2847
2886
|
* @maxLength 128
|
|
2848
2887
|
*/
|
|
2849
2888
|
name?: string;
|
|
2850
|
-
/**
|
|
2851
|
-
* The new capacity. Must be larger than the current capacity
|
|
2852
|
-
* @minimum 1
|
|
2853
|
-
*/
|
|
2854
|
-
size_gib?: number;
|
|
2855
|
-
volume_type_id?: VolumeTypeID;
|
|
2856
|
-
/** The `proration_date` of the Billing quote for this change, so that the order is priced from the same instant. Only with `size_gib` or `volume_type_id`, and only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
2857
|
-
proration_date?: string;
|
|
2858
|
-
checkout?: CheckoutOptions;
|
|
2859
2889
|
}
|
|
2860
2890
|
export interface RevertVolumeRequestBody {
|
|
2861
|
-
volume_snapshot_id:
|
|
2891
|
+
volume_snapshot_id: VolumeSnapshotId;
|
|
2862
2892
|
}
|
|
2863
2893
|
export interface AttachVolumeRequestBody {
|
|
2864
|
-
volume_id:
|
|
2894
|
+
volume_id: VolumeId;
|
|
2865
2895
|
}
|
|
2866
2896
|
/**
|
|
2867
2897
|
* The new volume, `pending` until its order is accepted, and its Checkout Session. Also returned for a volume restored
|
|
@@ -2878,20 +2908,33 @@ export interface CreateVolumeResponseBody {
|
|
|
2878
2908
|
order_id: string | null;
|
|
2879
2909
|
}
|
|
2880
2910
|
/**
|
|
2881
|
-
* The volume and
|
|
2911
|
+
* The volume and the Checkout Session for its resize or type change. The volume keeps its current size and type until the change is applied.
|
|
2882
2912
|
*/
|
|
2883
|
-
export interface
|
|
2913
|
+
export interface VolumeChangeResponseBody {
|
|
2884
2914
|
volume: VolumeResource;
|
|
2915
|
+
/** The Billing Checkout Session of the purchase. With deferred checkout, the customer completes it in Billing. */
|
|
2916
|
+
checkout_session_id: string;
|
|
2885
2917
|
/**
|
|
2886
|
-
* The
|
|
2918
|
+
* The order created when checkout completes, at once for automatic checkout; null until then.
|
|
2887
2919
|
* @nullable
|
|
2888
2920
|
*/
|
|
2889
|
-
|
|
2921
|
+
order_id: string | null;
|
|
2922
|
+
}
|
|
2923
|
+
export interface ResizeVolumeRequestBody {
|
|
2890
2924
|
/**
|
|
2891
|
-
* The
|
|
2892
|
-
* @
|
|
2925
|
+
* The new capacity. Must be larger than the current capacity
|
|
2926
|
+
* @minimum 1
|
|
2893
2927
|
*/
|
|
2894
|
-
|
|
2928
|
+
size_gib: number;
|
|
2929
|
+
/** The `proration_date` of the Billing Checkout Session preview for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
2930
|
+
proration_date?: string;
|
|
2931
|
+
checkout?: CheckoutOptions;
|
|
2932
|
+
}
|
|
2933
|
+
export interface RetypeVolumeRequestBody {
|
|
2934
|
+
volume_type_id: VolumeTypeId;
|
|
2935
|
+
/** The `proration_date` of the Billing Checkout Session preview for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
|
|
2936
|
+
proration_date?: string;
|
|
2937
|
+
checkout?: CheckoutOptions;
|
|
2895
2938
|
}
|
|
2896
2939
|
export interface VolumeAttachmentList {
|
|
2897
2940
|
items: VolumeAttachment[];
|
|
@@ -2978,7 +3021,7 @@ export type ListAvailabilityZonesParams = {
|
|
|
2978
3021
|
/**
|
|
2979
3022
|
* Return only the zones of this region
|
|
2980
3023
|
*/
|
|
2981
|
-
region_id?:
|
|
3024
|
+
region_id?: RegionId;
|
|
2982
3025
|
/**
|
|
2983
3026
|
* 1-based page number. Defaults to 1.
|
|
2984
3027
|
* @minimum 1
|
|
@@ -2993,7 +3036,7 @@ export type ListAvailabilityZonesParams = {
|
|
|
2993
3036
|
page_size?: number;
|
|
2994
3037
|
};
|
|
2995
3038
|
export type ListElasticIpLinesParams = {
|
|
2996
|
-
region_id?:
|
|
3039
|
+
region_id?: RegionId;
|
|
2997
3040
|
/**
|
|
2998
3041
|
* Search text matched against line names and descriptions; combined with the other filters using AND.
|
|
2999
3042
|
* @minLength 1
|
|
@@ -3060,7 +3103,7 @@ export declare const ListElasticIpTrafficUsageInterval: {
|
|
|
3060
3103
|
readonly day: "day";
|
|
3061
3104
|
};
|
|
3062
3105
|
export type ListInstanceFamiliesParams = {
|
|
3063
|
-
region_id?:
|
|
3106
|
+
region_id?: RegionId;
|
|
3064
3107
|
/**
|
|
3065
3108
|
* 1-based page number. Defaults to 1.
|
|
3066
3109
|
* @minimum 1
|
|
@@ -3075,15 +3118,15 @@ export type ListInstanceFamiliesParams = {
|
|
|
3075
3118
|
page_size?: number;
|
|
3076
3119
|
};
|
|
3077
3120
|
export type ListInstanceTypesParams = {
|
|
3078
|
-
region_id?:
|
|
3121
|
+
region_id?: RegionId;
|
|
3079
3122
|
/**
|
|
3080
3123
|
* Return only the types of this instance family.
|
|
3081
3124
|
*/
|
|
3082
|
-
instance_family_id?:
|
|
3125
|
+
instance_family_id?: InstanceFamilyId;
|
|
3083
3126
|
/**
|
|
3084
3127
|
* Return only the types of this availability zone, sold out or not.
|
|
3085
3128
|
*/
|
|
3086
|
-
availability_zone_id?:
|
|
3129
|
+
availability_zone_id?: AvailabilityZoneId;
|
|
3087
3130
|
/**
|
|
3088
3131
|
* 1-based page number. Defaults to 1.
|
|
3089
3132
|
* @minimum 1
|
|
@@ -3158,7 +3201,7 @@ export type ListLaunchTemplatesParams = {
|
|
|
3158
3201
|
/**
|
|
3159
3202
|
* Only launch templates of this region.
|
|
3160
3203
|
*/
|
|
3161
|
-
region_id?:
|
|
3204
|
+
region_id?: RegionId;
|
|
3162
3205
|
/**
|
|
3163
3206
|
* 1-based page number. Defaults to 1.
|
|
3164
3207
|
* @minimum 1
|
|
@@ -3223,7 +3266,7 @@ export type ListPrivateImagesParams = {
|
|
|
3223
3266
|
/**
|
|
3224
3267
|
* Return only the images of this region
|
|
3225
3268
|
*/
|
|
3226
|
-
region_id?:
|
|
3269
|
+
region_id?: RegionId;
|
|
3227
3270
|
/**
|
|
3228
3271
|
* 1-based page number. Defaults to 1.
|
|
3229
3272
|
* @minimum 1
|
|
@@ -3251,7 +3294,7 @@ export type ListPublicImagesParams = {
|
|
|
3251
3294
|
/**
|
|
3252
3295
|
* Return only the images of this region
|
|
3253
3296
|
*/
|
|
3254
|
-
region_id?:
|
|
3297
|
+
region_id?: RegionId;
|
|
3255
3298
|
/**
|
|
3256
3299
|
* 1-based page number. Defaults to 1.
|
|
3257
3300
|
* @minimum 1
|
|
@@ -3311,11 +3354,11 @@ export type ListSecurityGroupsParams = {
|
|
|
3311
3354
|
/**
|
|
3312
3355
|
* Only security groups in this region.
|
|
3313
3356
|
*/
|
|
3314
|
-
region_id?:
|
|
3357
|
+
region_id?: RegionId;
|
|
3315
3358
|
/**
|
|
3316
3359
|
* Only security groups of this virtual private cloud.
|
|
3317
3360
|
*/
|
|
3318
|
-
virtual_private_cloud_id?:
|
|
3361
|
+
virtual_private_cloud_id?: VirtualPrivateCloudId;
|
|
3319
3362
|
/**
|
|
3320
3363
|
* 1-based page number. Defaults to 1.
|
|
3321
3364
|
* @minimum 1
|
|
@@ -3375,7 +3418,7 @@ export type ListVirtualPrivateCloudsParams = {
|
|
|
3375
3418
|
/**
|
|
3376
3419
|
* Returns every region when omitted
|
|
3377
3420
|
*/
|
|
3378
|
-
region_id?:
|
|
3421
|
+
region_id?: RegionId;
|
|
3379
3422
|
/**
|
|
3380
3423
|
* 1-based page number. Defaults to 1.
|
|
3381
3424
|
* @minimum 1
|
|
@@ -3400,7 +3443,7 @@ export type ListVolumeBackupsParams = {
|
|
|
3400
3443
|
/**
|
|
3401
3444
|
* Return only the backups of this volume
|
|
3402
3445
|
*/
|
|
3403
|
-
volume_id?:
|
|
3446
|
+
volume_id?: VolumeId;
|
|
3404
3447
|
/**
|
|
3405
3448
|
* 1-based page number. Defaults to 1.
|
|
3406
3449
|
* @minimum 1
|
|
@@ -3428,7 +3471,7 @@ export type ListVolumeSnapshotsParams = {
|
|
|
3428
3471
|
/**
|
|
3429
3472
|
* Return only the snapshots of this volume
|
|
3430
3473
|
*/
|
|
3431
|
-
volume_id?:
|
|
3474
|
+
volume_id?: VolumeId;
|
|
3432
3475
|
/**
|
|
3433
3476
|
* 1-based page number. Defaults to 1.
|
|
3434
3477
|
* @minimum 1
|
|
@@ -3453,11 +3496,11 @@ export type DeleteVolumeSnapshotParams = {
|
|
|
3453
3496
|
cancellation_mode?: CancellationModeParameter;
|
|
3454
3497
|
};
|
|
3455
3498
|
export type ListVolumeTypesParams = {
|
|
3456
|
-
region_id?:
|
|
3499
|
+
region_id?: RegionId;
|
|
3457
3500
|
/**
|
|
3458
3501
|
* Return only the types of this availability zone, sold out or not.
|
|
3459
3502
|
*/
|
|
3460
|
-
availability_zone_id?:
|
|
3503
|
+
availability_zone_id?: AvailabilityZoneId;
|
|
3461
3504
|
/**
|
|
3462
3505
|
* 1-based page number. Defaults to 1.
|
|
3463
3506
|
* @minimum 1
|
|
@@ -3472,11 +3515,11 @@ export type ListVolumeTypesParams = {
|
|
|
3472
3515
|
page_size?: number;
|
|
3473
3516
|
};
|
|
3474
3517
|
export type ListVolumesParams = {
|
|
3475
|
-
region_id?:
|
|
3518
|
+
region_id?: RegionId;
|
|
3476
3519
|
/**
|
|
3477
3520
|
* Supplied together with `region_id` to filter attachable volumes
|
|
3478
3521
|
*/
|
|
3479
|
-
availability_zone_id?:
|
|
3522
|
+
availability_zone_id?: AvailabilityZoneId;
|
|
3480
3523
|
/**
|
|
3481
3524
|
* 1-based page number. Defaults to 1.
|
|
3482
3525
|
* @minimum 1
|