linode_openapi_client 4.177.1
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.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +1366 -0
- data/Rakefile +10 -0
- data/docs/Account.md +56 -0
- data/docs/AccountActivePromotionsInner.md +32 -0
- data/docs/AccountApi.md +4930 -0
- data/docs/AccountAvailability.md +22 -0
- data/docs/AccountSettings.md +26 -0
- data/docs/AddedGetAccountLogins200.md +24 -0
- data/docs/AddedGetAccountLogins200DataInner.md +28 -0
- data/docs/AddedGetAvailability200.md +24 -0
- data/docs/AddedGetAvailability200AllOfData.md +22 -0
- data/docs/AddedGetChildAccounts200.md +24 -0
- data/docs/AddedGetChildAccounts200DataInner.md +54 -0
- data/docs/AddedGetChildAccounts200DataInnerCreditCard.md +20 -0
- data/docs/AddedGetClients200.md +24 -0
- data/docs/AddedGetClients200DataInner.md +30 -0
- data/docs/AddedGetEnrolledBetaPrograms200.md +24 -0
- data/docs/AddedGetEnrolledBetaPrograms200AllOfData.md +28 -0
- data/docs/AddedGetEntityTransfers200.md +24 -0
- data/docs/AddedGetEntityTransfers200AllOfData.md +30 -0
- data/docs/AddedGetEntityTransfers200AllOfEntities.md +18 -0
- data/docs/AddedGetEvents200.md +24 -0
- data/docs/AddedGetEvents200DataInner.md +44 -0
- data/docs/AddedGetEvents200DataInnerEntity.md +24 -0
- data/docs/AddedGetInvoiceItems200.md +24 -0
- data/docs/AddedGetInvoiceItems200DataInner.md +36 -0
- data/docs/AddedGetInvoices200.md +24 -0
- data/docs/AddedGetInvoices200DataInner.md +32 -0
- data/docs/AddedGetMaintenance200.md +24 -0
- data/docs/AddedGetMaintenance200DataInner.md +26 -0
- data/docs/AddedGetMaintenance200DataInnerEntity.md +24 -0
- data/docs/AddedGetNotifications200.md +24 -0
- data/docs/AddedGetNotifications200DataInner.md +32 -0
- data/docs/AddedGetNotifications200DataInnerEntity.md +24 -0
- data/docs/AddedGetPaymentMethods200.md +24 -0
- data/docs/AddedGetPaymentMethods200DataInner.md +26 -0
- data/docs/AddedGetPaymentMethods200DataInnerData.md +51 -0
- data/docs/AddedGetPayments200.md +24 -0
- data/docs/AddedGetServiceTransfers200.md +24 -0
- data/docs/AddedGetServiceTransfers200DataInner.md +30 -0
- data/docs/AddedGetUser200.md +34 -0
- data/docs/AddedGetUsers200.md +24 -0
- data/docs/AddedGetUsers200DataInner.md +34 -0
- data/docs/AddedPostBetaProgram.md +18 -0
- data/docs/AddedPostCancelAccount.md +18 -0
- data/docs/AddedPostCancelAccount200.md +18 -0
- data/docs/AddedPostCancelAccount409.md +18 -0
- data/docs/AddedPostClient.md +30 -0
- data/docs/AddedPostEntityTransfer.md +18 -0
- data/docs/AddedPostPayPalPayment200.md +20 -0
- data/docs/AddedPostPayment.md +20 -0
- data/docs/AddedPostPaymentMethod.md +22 -0
- data/docs/AddedPostPaymentMethodData.md +24 -0
- data/docs/AddedPostPromoCredit.md +18 -0
- data/docs/AddedPostServiceTransfer.md +18 -0
- data/docs/AddedPostUser.md +32 -0
- data/docs/AddedPutUser200.md +34 -0
- data/docs/AddedPutUser200AllOfLastLogin.md +20 -0
- data/docs/Agreements.md +22 -0
- data/docs/BetaProgramEnrolled.md +28 -0
- data/docs/BetaProgramsApi.md +161 -0
- data/docs/ChildAccount.md +54 -0
- data/docs/CreditCard.md +22 -0
- data/docs/CreditCard1.md +22 -0
- data/docs/CreditCard2.md +22 -0
- data/docs/CreditCardData.md +22 -0
- data/docs/DatabasesApi.md +2518 -0
- data/docs/Domain.md +44 -0
- data/docs/Domain1.md +44 -0
- data/docs/Domain2.md +44 -0
- data/docs/Domain3.md +44 -0
- data/docs/Domain4.md +44 -0
- data/docs/Domain5.md +44 -0
- data/docs/Domain6.md +44 -0
- data/docs/Domain7.md +44 -0
- data/docs/DomainsApi.md +1008 -0
- data/docs/Entities.md +18 -0
- data/docs/EntityTransfer.md +30 -0
- data/docs/ErrorObject.md +20 -0
- data/docs/Event.md +44 -0
- data/docs/EventEntity.md +24 -0
- data/docs/EventSecondaryEntity.md +24 -0
- data/docs/FilterAndSortCriteria.md +36 -0
- data/docs/GetAccount200Response.md +56 -0
- data/docs/GetAccount200ResponseActivePromotionsInner.md +32 -0
- data/docs/GetAccount200ResponseCreditCard.md +20 -0
- data/docs/GetAccountAgreements200Response.md +22 -0
- data/docs/GetAccountAvailability200Response.md +22 -0
- data/docs/GetAccountLogin200Response.md +28 -0
- data/docs/GetAccountLogins200Response.md +24 -0
- data/docs/GetAccountLogins200ResponseDataInner.md +28 -0
- data/docs/GetAccountSettings200Response.md +26 -0
- data/docs/GetAvailability200Response.md +24 -0
- data/docs/GetAvailability200ResponseAllOfDataInner.md +22 -0
- data/docs/GetBackup200Response.md +36 -0
- data/docs/GetBackup200ResponseDisksInner.md +22 -0
- data/docs/GetBackups200Response.md +20 -0
- data/docs/GetBackups200ResponseAutomaticInner.md +36 -0
- data/docs/GetBackups200ResponseAutomaticInnerAllOfDisksInner.md +22 -0
- data/docs/GetBackups200ResponseSnapshot.md +20 -0
- data/docs/GetBackups200ResponseSnapshotCurrent.md +36 -0
- data/docs/GetBackups200ResponseSnapshotCurrentDisksInner.md +22 -0
- data/docs/GetBackups200ResponseSnapshotInProgress.md +36 -0
- data/docs/GetBetaProgram200Response.md +30 -0
- data/docs/GetBetaPrograms200Response.md +24 -0
- data/docs/GetBetaPrograms200ResponseAllOfDataInner.md +30 -0
- data/docs/GetChildAccount200Response.md +54 -0
- data/docs/GetChildAccount200ResponseCreditCard.md +20 -0
- data/docs/GetChildAccounts200Response.md +24 -0
- data/docs/GetChildAccounts200ResponseDataInner.md +54 -0
- data/docs/GetClient200Response.md +30 -0
- data/docs/GetClients200Response.md +24 -0
- data/docs/GetClients200ResponseDataInner.md +30 -0
- data/docs/GetDatabasesEngine200Response.md +26 -0
- data/docs/GetDatabasesEngines200Response.md +24 -0
- data/docs/GetDatabasesEngines200ResponseAllOfDataInner.md +26 -0
- data/docs/GetDatabasesInstances200Response.md +24 -0
- data/docs/GetDatabasesInstances200ResponseAllOfDataInner.md +46 -0
- data/docs/GetDatabasesInstances200ResponseAllOfDataInnerHosts.md +20 -0
- data/docs/GetDatabasesInstances200ResponseAllOfDataInnerUpdates.md +26 -0
- data/docs/GetDatabasesMysqlInstance200Response.md +54 -0
- data/docs/GetDatabasesMysqlInstance200ResponseUpdates.md +26 -0
- data/docs/GetDatabasesMysqlInstanceBackup200Response.md +24 -0
- data/docs/GetDatabasesMysqlInstanceBackups200Response.md +24 -0
- data/docs/GetDatabasesMysqlInstanceBackups200ResponseAllOfDataInner.md +24 -0
- data/docs/GetDatabasesMysqlInstances200Response.md +24 -0
- data/docs/GetDatabasesMysqlInstances200ResponseAllOfDataInner.md +54 -0
- data/docs/GetDatabasesPostgreSqlInstance200Response.md +56 -0
- data/docs/GetDatabasesPostgreSqlInstance200ResponseHosts.md +20 -0
- data/docs/GetDatabasesPostgreSqlInstance200ResponseUpdates.md +26 -0
- data/docs/GetDatabasesPostgreSqlInstanceBackups200Response.md +24 -0
- data/docs/GetDatabasesPostgreSqlInstanceBackups200ResponseAllOfDataInner.md +24 -0
- data/docs/GetDatabasesPostgreSqlInstanceCredentials200Response.md +20 -0
- data/docs/GetDatabasesPostgreSqlInstances200Response.md +24 -0
- data/docs/GetDatabasesPostgreSqlInstances200ResponseAllOfDataInner.md +56 -0
- data/docs/GetDatabasesPostgreSqlInstances200ResponseAllOfDataInnerHosts.md +20 -0
- data/docs/GetDatabasesPostgreSqlInstances200ResponseAllOfDataInnerUpdates.md +26 -0
- data/docs/GetDatabasesPostgresqlInstanceBackup200Response.md +24 -0
- data/docs/GetDatabasesPostgresqlInstanceSsl200Response.md +18 -0
- data/docs/GetDatabasesType200Response.md +32 -0
- data/docs/GetDatabasesType200ResponseEngines.md +20 -0
- data/docs/GetDatabasesType200ResponseEnginesPostgresqlInner.md +20 -0
- data/docs/GetDatabasesType200ResponseEnginesPostgresqlInnerPrice.md +20 -0
- data/docs/GetDatabasesTypes200Response.md +24 -0
- data/docs/GetDatabasesTypes200ResponseAllOfDataInner.md +32 -0
- data/docs/GetDatabasesTypes200ResponseAllOfDataInnerEngines.md +20 -0
- data/docs/GetDatabasesTypes200ResponseAllOfDataInnerEnginesMysqlInner.md +20 -0
- data/docs/GetDatabasesTypes200ResponseAllOfDataInnerEnginesPostgresqlInner.md +20 -0
- data/docs/GetDatabasesTypes200ResponseAllOfDataInnerEnginesPostgresqlInnerPrice.md +20 -0
- data/docs/GetDevices200Response.md +24 -0
- data/docs/GetDevices200ResponseDataInner.md +28 -0
- data/docs/GetDomainRecord200Response.md +42 -0
- data/docs/GetDomainRecords200Response.md +24 -0
- data/docs/GetDomainRecords200ResponseDataInner.md +42 -0
- data/docs/GetDomainZone200Response.md +18 -0
- data/docs/GetDomains200Response.md +24 -0
- data/docs/GetEnrolledBetaProgram200Response.md +28 -0
- data/docs/GetEnrolledBetaPrograms200Response.md +24 -0
- data/docs/GetEnrolledBetaPrograms200ResponseAllOfDataInner.md +28 -0
- data/docs/GetEntityTransfer200Response.md +30 -0
- data/docs/GetEntityTransfers200Response.md +24 -0
- data/docs/GetEntityTransfers200ResponseAllOfDataInner.md +30 -0
- data/docs/GetEntityTransfers200ResponseAllOfDataInnerEntities.md +18 -0
- data/docs/GetEvent200Response.md +44 -0
- data/docs/GetEvent200ResponseEntity.md +24 -0
- data/docs/GetEvent200ResponseSecondaryEntity.md +24 -0
- data/docs/GetEvents200Response.md +24 -0
- data/docs/GetEvents200ResponseDataInner.md +44 -0
- data/docs/GetEvents200ResponseDataInnerEntity.md +24 -0
- data/docs/GetEvents200ResponseDataInnerSecondaryEntity.md +24 -0
- data/docs/GetFirewall200Response.md +30 -0
- data/docs/GetFirewall200ResponseRules.md +24 -0
- data/docs/GetFirewall200ResponseRulesInboundInner.md +28 -0
- data/docs/GetFirewall200ResponseRulesInboundInnerAddresses.md +20 -0
- data/docs/GetFirewall200ResponseRulesOutboundInner.md +28 -0
- data/docs/GetFirewall200ResponseRulesOutboundInnerAddresses.md +20 -0
- data/docs/GetFirewallDevice200Response.md +24 -0
- data/docs/GetFirewallDevice200ResponseEntity.md +24 -0
- data/docs/GetFirewallDevices200Response.md +24 -0
- data/docs/GetFirewallDevices200ResponseDataInner.md +24 -0
- data/docs/GetFirewallDevices200ResponseDataInnerEntity.md +24 -0
- data/docs/GetFirewallRules200Response.md +24 -0
- data/docs/GetFirewallRules200ResponseOutboundInner.md +28 -0
- data/docs/GetFirewalls200Response.md +24 -0
- data/docs/GetFirewalls200ResponseDataInner.md +30 -0
- data/docs/GetFirewalls200ResponseDataInnerRules.md +24 -0
- data/docs/GetFirewalls200ResponseDataInnerRulesInboundInner.md +28 -0
- data/docs/GetFirewalls200ResponseDataInnerRulesOutboundInner.md +28 -0
- data/docs/GetImage200Response.md +52 -0
- data/docs/GetImages200Response.md +24 -0
- data/docs/GetImages200ResponseDataInner.md +52 -0
- data/docs/GetImages200ResponseDataInnerRegionsInner.md +20 -0
- data/docs/GetInvoice200Response.md +32 -0
- data/docs/GetInvoice200ResponseTaxSummaryInner.md +20 -0
- data/docs/GetInvoiceItems200Response.md +24 -0
- data/docs/GetInvoiceItems200ResponseDataInner.md +36 -0
- data/docs/GetInvoices200Response.md +24 -0
- data/docs/GetInvoices200ResponseDataInner.md +32 -0
- data/docs/GetInvoices200ResponseDataInnerTaxSummaryInner.md +20 -0
- data/docs/GetIp200Response.md +36 -0
- data/docs/GetIps200Response.md +24 -0
- data/docs/GetIps200ResponseAllOfDataInner.md +36 -0
- data/docs/GetIps200ResponseAllOfDataInnerVpcNat11.md +22 -0
- data/docs/GetIpv6Pools200Response.md +24 -0
- data/docs/GetIpv6Pools200ResponseDataInner.md +24 -0
- data/docs/GetIpv6Range200Response.md +26 -0
- data/docs/GetIpv6Ranges200Response.md +24 -0
- data/docs/GetIpv6Ranges200ResponseDataInner.md +24 -0
- data/docs/GetKernel200Response.md +32 -0
- data/docs/GetKernels200Response.md +24 -0
- data/docs/GetKernels200ResponseDataInner.md +32 -0
- data/docs/GetLinodeConfig200Response.md +38 -0
- data/docs/GetLinodeConfig200ResponseDevices.md +32 -0
- data/docs/GetLinodeConfig200ResponseInterfacesInner.md +36 -0
- data/docs/GetLinodeConfigInterface200Response.md +36 -0
- data/docs/GetLinodeConfigInterfaces200ResponseInner.md +36 -0
- data/docs/GetLinodeConfigs200Response.md +24 -0
- data/docs/GetLinodeConfigs200ResponseDataInner.md +38 -0
- data/docs/GetLinodeConfigs200ResponseDataInnerDevices.md +32 -0
- data/docs/GetLinodeConfigs200ResponseDataInnerHelpers.md +26 -0
- data/docs/GetLinodeConfigs200ResponseDataInnerInterfacesInner.md +36 -0
- data/docs/GetLinodeDisk200Response.md +30 -0
- data/docs/GetLinodeDisks200Response.md +24 -0
- data/docs/GetLinodeDisks200ResponseDataInner.md +30 -0
- data/docs/GetLinodeFirewalls200Response.md +24 -0
- data/docs/GetLinodeFirewalls200ResponseDataInner.md +30 -0
- data/docs/GetLinodeFirewalls200ResponseDataInnerRules.md +24 -0
- data/docs/GetLinodeFirewalls200ResponseDataInnerRulesInboundInner.md +28 -0
- data/docs/GetLinodeFirewalls200ResponseDataInnerRulesOutboundInner.md +28 -0
- data/docs/GetLinodeInstances200Response.md +24 -0
- data/docs/GetLinodeInstancesXFilterParameter.md +49 -0
- data/docs/GetLinodeIp200Response.md +36 -0
- data/docs/GetLinodeIp200ResponseVpcNat11.md +22 -0
- data/docs/GetLinodeIps200Response.md +20 -0
- data/docs/GetLinodeIps200ResponseIpv4.md +26 -0
- data/docs/GetLinodeIps200ResponseIpv4PrivateInner.md +34 -0
- data/docs/GetLinodeIps200ResponseIpv4PublicInner.md +36 -0
- data/docs/GetLinodeIps200ResponseIpv4ReservedInner.md +36 -0
- data/docs/GetLinodeIps200ResponseIpv4ReservedInnerVpcNat11.md +22 -0
- data/docs/GetLinodeIps200ResponseIpv4SharedInner.md +36 -0
- data/docs/GetLinodeIps200ResponseIpv4VpcInner.md +48 -0
- data/docs/GetLinodeIps200ResponseIpv6.md +22 -0
- data/docs/GetLinodeIps200ResponseIpv6LinkLocal.md +34 -0
- data/docs/GetLinodeIps200ResponseIpv6Slaac.md +34 -0
- data/docs/GetLinodeNodeBalancers200Response.md +24 -0
- data/docs/GetLinodeStats200Response.md +26 -0
- data/docs/GetLinodeStats200ResponseIo.md +20 -0
- data/docs/GetLinodeStats200ResponseNetv4.md +24 -0
- data/docs/GetLinodeStats200ResponseNetv6.md +24 -0
- data/docs/GetLinodeStatsByYearMonth200Response.md +26 -0
- data/docs/GetLinodeStatsByYearMonth200ResponseNetv4.md +24 -0
- data/docs/GetLinodeStatsByYearMonth200ResponseNetv6.md +24 -0
- data/docs/GetLinodeTransfer200Response.md +22 -0
- data/docs/GetLinodeTransferByYearMonth200Response.md +22 -0
- data/docs/GetLinodeType200Response.md +42 -0
- data/docs/GetLinodeType200ResponseAddons.md +18 -0
- data/docs/GetLinodeType200ResponseAddonsBackups.md +20 -0
- data/docs/GetLinodeType200ResponseAddonsBackupsRegionPricesInner.md +22 -0
- data/docs/GetLinodeType200ResponseRegionPricesInner.md +22 -0
- data/docs/GetLinodeTypes200Response.md +24 -0
- data/docs/GetLinodeTypes200ResponseDataInner.md +42 -0
- data/docs/GetLinodeTypes200ResponseDataInnerAddons.md +18 -0
- data/docs/GetLinodeTypes200ResponseDataInnerAddonsBackups.md +20 -0
- data/docs/GetLinodeTypes200ResponseDataInnerAddonsBackupsPrice.md +20 -0
- data/docs/GetLinodeTypes200ResponseDataInnerAddonsBackupsRegionPricesInner.md +22 -0
- data/docs/GetLinodeTypes200ResponseDataInnerPrice.md +20 -0
- data/docs/GetLinodeTypes200ResponseDataInnerRegionPricesInner.md +22 -0
- data/docs/GetLinodeVolumes200Response.md +24 -0
- data/docs/GetLkeCluster200Response.md +32 -0
- data/docs/GetLkeClusterApiEndpoints200Response.md +24 -0
- data/docs/GetLkeClusterApiEndpoints200ResponseDataInner.md +18 -0
- data/docs/GetLkeClusterDashboard200Response.md +18 -0
- data/docs/GetLkeClusterKubeconfig200Response.md +18 -0
- data/docs/GetLkeClusterNode200Response.md +22 -0
- data/docs/GetLkeClusterPools200Response.md +24 -0
- data/docs/GetLkeClusterPools200ResponseDataInner.md +34 -0
- data/docs/GetLkeClusterPools200ResponseDataInnerAutoscaler.md +22 -0
- data/docs/GetLkeClusterPools200ResponseDataInnerDisksInner.md +20 -0
- data/docs/GetLkeClusterPools200ResponseDataInnerLabels.md +20 -0
- data/docs/GetLkeClusterPools200ResponseDataInnerNodesInner.md +22 -0
- data/docs/GetLkeClusterPools200ResponseDataInnerTaintsInner.md +22 -0
- data/docs/GetLkeClusters200Response.md +24 -0
- data/docs/GetLkeClusters200ResponseDataInner.md +32 -0
- data/docs/GetLkeClusters200ResponseDataInnerControlPlane.md +18 -0
- data/docs/GetLkeNodePool200Response.md +34 -0
- data/docs/GetLkeNodePool200ResponseNodesInner.md +22 -0
- data/docs/GetLkeVersions200Response.md +24 -0
- data/docs/GetLkeVersions200ResponseDataInner.md +18 -0
- data/docs/GetLongviewClient200Response.md +30 -0
- data/docs/GetLongviewClient200ResponseApps.md +22 -0
- data/docs/GetLongviewClients200Response.md +24 -0
- data/docs/GetLongviewClients200ResponseDataInner.md +30 -0
- data/docs/GetLongviewClients200ResponseDataInnerApps.md +22 -0
- data/docs/GetLongviewPlan200Response.md +24 -0
- data/docs/GetLongviewPlan200ResponsePrice.md +20 -0
- data/docs/GetLongviewSubscription200Response.md +24 -0
- data/docs/GetLongviewSubscriptions200Response.md +24 -0
- data/docs/GetLongviewSubscriptions200ResponseDataInner.md +24 -0
- data/docs/GetMaintenance200Response.md +24 -0
- data/docs/GetMaintenance200ResponseDataInner.md +26 -0
- data/docs/GetMaintenance200ResponseDataInnerEntity.md +24 -0
- data/docs/GetManagedContact200Response.md +28 -0
- data/docs/GetManagedContacts200Response.md +24 -0
- data/docs/GetManagedContacts200ResponseDataInner.md +28 -0
- data/docs/GetManagedContacts200ResponseDataInnerPhone.md +20 -0
- data/docs/GetManagedCredential200Response.md +22 -0
- data/docs/GetManagedCredentials200Response.md +24 -0
- data/docs/GetManagedCredentials200ResponseDataInner.md +22 -0
- data/docs/GetManagedIssue200Response.md +24 -0
- data/docs/GetManagedIssue200ResponseEntity.md +24 -0
- data/docs/GetManagedIssues200Response.md +24 -0
- data/docs/GetManagedIssues200ResponseDataInner.md +24 -0
- data/docs/GetManagedIssues200ResponseDataInnerEntity.md +24 -0
- data/docs/GetManagedLinodeSetting200Response.md +24 -0
- data/docs/GetManagedLinodeSetting200ResponseSsh.md +24 -0
- data/docs/GetManagedLinodeSettings200Response.md +24 -0
- data/docs/GetManagedLinodeSettings200ResponseDataInner.md +24 -0
- data/docs/GetManagedLinodeSettings200ResponseDataInnerSsh.md +24 -0
- data/docs/GetManagedService200Response.md +42 -0
- data/docs/GetManagedServices200Response.md +24 -0
- data/docs/GetManagedServices200ResponseDataInner.md +42 -0
- data/docs/GetManagedSshKey200Response.md +18 -0
- data/docs/GetManagedStats200Response.md +18 -0
- data/docs/GetManagedStats200ResponseData.md +63 -0
- data/docs/GetNodeBalancerConfig200Response.md +56 -0
- data/docs/GetNodeBalancerConfig200ResponseNodesStatus.md +20 -0
- data/docs/GetNodeBalancerConfigNodes200Response.md +24 -0
- data/docs/GetNodeBalancerConfigNodes200ResponseDataInner.md +32 -0
- data/docs/GetNodeBalancerConfigs200Response.md +24 -0
- data/docs/GetNodeBalancerConfigs200ResponseDataInner.md +56 -0
- data/docs/GetNodeBalancerFirewalls200Response.md +24 -0
- data/docs/GetNodeBalancerFirewalls200ResponseAllOfDataInner.md +30 -0
- data/docs/GetNodeBalancerFirewalls200ResponseAllOfDataInnerRules.md +24 -0
- data/docs/GetNodeBalancerFirewalls200ResponseAllOfDataInnerRulesInboundInner.md +28 -0
- data/docs/GetNodeBalancerFirewalls200ResponseAllOfDataInnerRulesOutboundInner.md +28 -0
- data/docs/GetNodeBalancerNode200Response.md +32 -0
- data/docs/GetNodeBalancerStats200Response.md +20 -0
- data/docs/GetNodeBalancerStats200ResponseData.md +20 -0
- data/docs/GetNodeBalancerStats200ResponseDataTraffic.md +20 -0
- data/docs/GetNodeBalancers200Response.md +24 -0
- data/docs/GetNotifications200Response.md +24 -0
- data/docs/GetNotifications200ResponseDataInner.md +32 -0
- data/docs/GetNotifications200ResponseDataInnerEntity.md +24 -0
- data/docs/GetObjectStorageBucket200Response.md +30 -0
- data/docs/GetObjectStorageBucketAcl200Response.md +20 -0
- data/docs/GetObjectStorageBucketContent200Response.md +22 -0
- data/docs/GetObjectStorageBucketContent200ResponseDataInner.md +26 -0
- data/docs/GetObjectStorageBucketinCluster200Response.md +24 -0
- data/docs/GetObjectStorageBucketinCluster200ResponseDataInner.md +30 -0
- data/docs/GetObjectStorageBuckets200Response.md +24 -0
- data/docs/GetObjectStorageBuckets200ResponseDataInner.md +30 -0
- data/docs/GetObjectStorageCluster200Response.md +26 -0
- data/docs/GetObjectStorageClusters200Response.md +24 -0
- data/docs/GetObjectStorageClusters200ResponseDataInner.md +26 -0
- data/docs/GetObjectStorageKey200Response.md +30 -0
- data/docs/GetObjectStorageKey200ResponseBucketAccessInner.md +24 -0
- data/docs/GetObjectStorageKey200ResponseRegionsInner.md +20 -0
- data/docs/GetObjectStorageKeys200Response.md +24 -0
- data/docs/GetObjectStorageKeys200ResponseDataInner.md +30 -0
- data/docs/GetObjectStorageKeys200ResponseDataInnerBucketAccessInner.md +24 -0
- data/docs/GetObjectStorageSsl200Response.md +18 -0
- data/docs/GetObjectStorageTransfer200Response.md +18 -0
- data/docs/GetPaymentMethod200Response.md +26 -0
- data/docs/GetPaymentMethod200ResponseData.md +51 -0
- data/docs/GetPaymentMethods200Response.md +24 -0
- data/docs/GetPaymentMethods200ResponseDataInner.md +26 -0
- data/docs/GetPaymentMethods200ResponseDataInnerData.md +51 -0
- data/docs/GetPayments200Response.md +24 -0
- data/docs/GetPayments200ResponseDataInner.md +22 -0
- data/docs/GetPersonalAccessToken200Response.md +28 -0
- data/docs/GetPersonalAccessTokens200Response.md +24 -0
- data/docs/GetPersonalAccessTokens200ResponseDataInner.md +28 -0
- data/docs/GetPlacementGroup200Response.md +30 -0
- data/docs/GetPlacementGroups200Response.md +24 -0
- data/docs/GetPlacementGroups200ResponseDataInner.md +30 -0
- data/docs/GetProfile200Response.md +42 -0
- data/docs/GetProfile200ResponseReferrals.md +28 -0
- data/docs/GetProfileApp200Response.md +30 -0
- data/docs/GetProfileApps200Response.md +24 -0
- data/docs/GetProfileApps200ResponseDataInner.md +30 -0
- data/docs/GetProfileGrants200Response.md +40 -0
- data/docs/GetProfileGrants200ResponseGlobal.md +46 -0
- data/docs/GetProfileLogin200Response.md +28 -0
- data/docs/GetProfileLogins200Response.md +24 -0
- data/docs/GetProfileLogins200ResponseDataInner.md +28 -0
- data/docs/GetRegion200Response.md +32 -0
- data/docs/GetRegionAvailability200ResponseInner.md +22 -0
- data/docs/GetRegions200Response.md +24 -0
- data/docs/GetRegions200ResponseDataInner.md +32 -0
- data/docs/GetRegions200ResponseDataInnerPlacementGroupLimits.md +20 -0
- data/docs/GetRegions200ResponseDataInnerResolvers.md +20 -0
- data/docs/GetRegionsAvailability200Response.md +24 -0
- data/docs/GetRegionsAvailability200ResponseAllOfDataInner.md +22 -0
- data/docs/GetSecurityQuestions200Response.md +18 -0
- data/docs/GetSecurityQuestions200ResponseSecurityQuestionsInner.md +22 -0
- data/docs/GetServiceTransfer200Response.md +30 -0
- data/docs/GetServiceTransfer200ResponseEntities.md +18 -0
- data/docs/GetServiceTransfers200Response.md +24 -0
- data/docs/GetServiceTransfers200ResponseDataInner.md +30 -0
- data/docs/GetSshKey200Response.md +24 -0
- data/docs/GetSshKeys200Response.md +24 -0
- data/docs/GetStackScript200Response.md +46 -0
- data/docs/GetStackScript200ResponseUserDefinedFieldsInner.md +28 -0
- data/docs/GetStackScripts200Response.md +24 -0
- data/docs/GetStackScripts200ResponseDataInner.md +46 -0
- data/docs/GetStackScripts200ResponseDataInnerUserDefinedFieldsInner.md +28 -0
- data/docs/GetTaggedObjects200Response.md +24 -0
- data/docs/GetTaggedObjects200ResponseDataInner.md +20 -0
- data/docs/GetTaggedObjects200ResponseDataInnerData.md +67 -0
- data/docs/GetTags200Response.md +24 -0
- data/docs/GetTags200ResponseDataInner.md +18 -0
- data/docs/GetTicket200Response.md +42 -0
- data/docs/GetTicket200ResponseEntity.md +24 -0
- data/docs/GetTicketReplies200Response.md +24 -0
- data/docs/GetTicketReplies200ResponseDataInner.md +28 -0
- data/docs/GetTickets200Response.md +24 -0
- data/docs/GetTickets200ResponseDataInner.md +42 -0
- data/docs/GetTickets200ResponseDataInnerEntity.md +24 -0
- data/docs/GetTransfer200Response.md +24 -0
- data/docs/GetTransfer200ResponseRegionTransfersInner.md +24 -0
- data/docs/GetTrustedDevice200Response.md +28 -0
- data/docs/GetUser200Response.md +34 -0
- data/docs/GetUserGrants200Response.md +40 -0
- data/docs/GetUserGrants200ResponseGlobal.md +46 -0
- data/docs/GetUserGrants200ResponseLongviewInner.md +22 -0
- data/docs/GetUserGrants200ResponsePlacementGroupInner.md +22 -0
- data/docs/GetUserGrants200ResponseStackscriptInner.md +22 -0
- data/docs/GetUsers200Response.md +24 -0
- data/docs/GetUsers200ResponseDataInner.md +34 -0
- data/docs/GetUsers200ResponseDataInnerAllOfLastLogin.md +20 -0
- data/docs/GetUsersDefaultResponse.md +18 -0
- data/docs/GetUsersDefaultResponseErrorsInner.md +20 -0
- data/docs/GetVlans200Response.md +24 -0
- data/docs/GetVlans200ResponseDataInner.md +24 -0
- data/docs/GetVolumes200Response.md +24 -0
- data/docs/GetVpc200Response.md +30 -0
- data/docs/GetVpc200ResponseSubnetsInner.md +28 -0
- data/docs/GetVpcIps200Response.md +48 -0
- data/docs/GetVpcSubnet200Response.md +28 -0
- data/docs/GetVpcSubnets200Response.md +24 -0
- data/docs/GetVpcSubnets200ResponseAllOfDataInner.md +28 -0
- data/docs/GetVpcSubnets200ResponseAllOfDataInnerLinodesInner.md +20 -0
- data/docs/GetVpcSubnets200ResponseAllOfDataInnerLinodesInnerInterfacesInner.md +20 -0
- data/docs/GetVpcs200Response.md +24 -0
- data/docs/GetVpcs200ResponseAllOfDataInner.md +30 -0
- data/docs/GetVpcs200ResponseAllOfDataInnerSubnetsInner.md +28 -0
- data/docs/GetVpcs200ResponseAllOfDataInnerSubnetsInnerLinodesInner.md +20 -0
- data/docs/GetVpcsIps200Response.md +24 -0
- data/docs/GetVpcsIps200ResponseDataInner.md +48 -0
- data/docs/GooglePay.md +22 -0
- data/docs/GooglePay1.md +22 -0
- data/docs/GooglePay2.md +22 -0
- data/docs/GooglePay3.md +22 -0
- data/docs/GooglePayData.md +22 -0
- data/docs/Grant.md +22 -0
- data/docs/GrantsResponse.md +40 -0
- data/docs/GrantsResponseGlobal.md +46 -0
- data/docs/ImagesApi.md +544 -0
- data/docs/Invoice.md +32 -0
- data/docs/InvoiceItem.md +36 -0
- data/docs/Linode.md +56 -0
- data/docs/Linode1.md +56 -0
- data/docs/Linode1Alerts.md +26 -0
- data/docs/Linode1Backups.md +24 -0
- data/docs/Linode1BackupsSchedule.md +20 -0
- data/docs/Linode1PlacementGroup.md +24 -0
- data/docs/Linode1Specs.md +26 -0
- data/docs/Linode2.md +56 -0
- data/docs/Linode2Alerts.md +26 -0
- data/docs/Linode2Backups.md +24 -0
- data/docs/Linode2PlacementGroup.md +24 -0
- data/docs/Linode2Specs.md +26 -0
- data/docs/Linode3.md +56 -0
- data/docs/Linode3Alerts.md +26 -0
- data/docs/Linode3Backups.md +24 -0
- data/docs/Linode3PlacementGroup.md +24 -0
- data/docs/Linode3Specs.md +26 -0
- data/docs/Linode4.md +56 -0
- data/docs/Linode4Alerts.md +26 -0
- data/docs/Linode4PlacementGroup.md +24 -0
- data/docs/Linode5.md +56 -0
- data/docs/Linode5Alerts.md +26 -0
- data/docs/Linode5Backups.md +24 -0
- data/docs/Linode5PlacementGroup.md +24 -0
- data/docs/Linode5Specs.md +26 -0
- data/docs/Linode6.md +56 -0
- data/docs/Linode6PlacementGroup.md +24 -0
- data/docs/Linode6Specs.md +26 -0
- data/docs/Linode7.md +56 -0
- data/docs/Linode7Alerts.md +26 -0
- data/docs/Linode7Backups.md +24 -0
- data/docs/Linode7PlacementGroup.md +24 -0
- data/docs/LinodeAlerts.md +26 -0
- data/docs/LinodeBackups.md +24 -0
- data/docs/LinodeBackupsSchedule.md +20 -0
- data/docs/LinodeInstancesApi.md +4321 -0
- data/docs/LinodeKubernetesEngineLKEApi.md +1758 -0
- data/docs/LinodePlacementGroup.md +24 -0
- data/docs/LinodeSpecs.md +26 -0
- data/docs/LinodeStackScriptsApi.md +390 -0
- data/docs/Login.md +28 -0
- data/docs/LongviewApi.md +674 -0
- data/docs/Maintenance.md +26 -0
- data/docs/ManagedApi.md +1910 -0
- data/docs/NetworkingApi.md +1926 -0
- data/docs/NodeBalancer.md +38 -0
- data/docs/NodeBalancer1.md +38 -0
- data/docs/NodeBalancer2.md +38 -0
- data/docs/NodeBalancer2Transfer.md +22 -0
- data/docs/NodeBalancer3.md +38 -0
- data/docs/NodeBalancer4.md +38 -0
- data/docs/NodeBalancer4Transfer.md +22 -0
- data/docs/NodeBalancer5.md +38 -0
- data/docs/NodeBalancer6.md +38 -0
- data/docs/NodeBalancerTransfer.md +22 -0
- data/docs/NodeBalancersApi.md +1411 -0
- data/docs/Notification.md +32 -0
- data/docs/NotificationEntity.md +24 -0
- data/docs/OauthClient.md +30 -0
- data/docs/ObjectStorageApi.md +1772 -0
- data/docs/PaginationEnvelope.md +22 -0
- data/docs/Payment.md +22 -0
- data/docs/PaymentMethod.md +26 -0
- data/docs/PaymentMethodData.md +51 -0
- data/docs/Paypal.md +20 -0
- data/docs/Paypal1.md +20 -0
- data/docs/PaypalData.md +20 -0
- data/docs/PaypalExecute.md +20 -0
- data/docs/PlacementGroupsApi.md +542 -0
- data/docs/PostAccountAgreementsRequest.md +22 -0
- data/docs/PostAddLinodeConfig200Response.md +38 -0
- data/docs/PostAddLinodeConfig200ResponseDevices.md +32 -0
- data/docs/PostAddLinodeConfig200ResponseHelpers.md +26 -0
- data/docs/PostAddLinodeConfig200ResponseInterfacesInner.md +36 -0
- data/docs/PostAddLinodeConfigRequest.md +38 -0
- data/docs/PostAddLinodeConfigRequestAllOfDevices.md +32 -0
- data/docs/PostAddLinodeConfigRequestAllOfHelpers.md +26 -0
- data/docs/PostAddLinodeConfigRequestAllOfInterfacesInner.md +36 -0
- data/docs/PostAddLinodeDisk200Response.md +30 -0
- data/docs/PostAddLinodeDiskRequest.md +34 -0
- data/docs/PostAddLinodeIp200Response.md +36 -0
- data/docs/PostAddLinodeIpRequest.md +20 -0
- data/docs/PostAddSshKey200Response.md +24 -0
- data/docs/PostAddStackScript200Response.md +46 -0
- data/docs/PostAddStackScript200ResponseUserDefinedFieldsInner.md +28 -0
- data/docs/PostAddStackScriptRequest.md +46 -0
- data/docs/PostAddStackScriptRequestAllOfUserDefinedFieldsInner.md +28 -0
- data/docs/PostAllocateIp200Response.md +36 -0
- data/docs/PostAllocateIp200ResponseVpcNat11.md +22 -0
- data/docs/PostAllocateIpRequest.md +22 -0
- data/docs/PostAssignIpsRequest.md +20 -0
- data/docs/PostAssignIpsRequestAssignmentsInner.md +20 -0
- data/docs/PostAssignIpv4sRequest.md +20 -0
- data/docs/PostAssignIpv4sRequestAssignmentsInner.md +20 -0
- data/docs/PostAttachVolumeRequest.md +22 -0
- data/docs/PostBetaProgramRequest.md +18 -0
- data/docs/PostBootLinodeInstanceRequest.md +18 -0
- data/docs/PostCancelAccount200Response.md +18 -0
- data/docs/PostCancelAccount409Response.md +18 -0
- data/docs/PostCancelAccount409ResponseErrorsInner.md +18 -0
- data/docs/PostCancelAccountRequest.md +18 -0
- data/docs/PostChildAccountToken200Response.md +28 -0
- data/docs/PostClient200Response.md +30 -0
- data/docs/PostClientRequest.md +30 -0
- data/docs/PostCloneDomainRequest.md +18 -0
- data/docs/PostCloneLinodeDisk200Response.md +30 -0
- data/docs/PostCloneLinodeInstanceRequest.md +38 -0
- data/docs/PostCloneLinodeInstanceRequestPlacementGroup.md +18 -0
- data/docs/PostCloneVolumeRequest.md +18 -0
- data/docs/PostCreditCardRequest.md +24 -0
- data/docs/PostDatabasesMysqlInstanceBackupRequest.md +20 -0
- data/docs/PostDatabasesMysqlInstances200Response.md +54 -0
- data/docs/PostDatabasesMysqlInstances200ResponseUpdates.md +26 -0
- data/docs/PostDatabasesMysqlInstancesRequest.md +34 -0
- data/docs/PostDatabasesPostgreSqlInstanceBackupRequest.md +20 -0
- data/docs/PostDatabasesPostgreSqlInstances200Response.md +56 -0
- data/docs/PostDatabasesPostgreSqlInstances200ResponseUpdates.md +26 -0
- data/docs/PostDatabasesPostgreSqlInstancesRequest.md +36 -0
- data/docs/PostDisableManagedService200Response.md +42 -0
- data/docs/PostDomainRecord200Response.md +42 -0
- data/docs/PostDomainRecordRequest.md +42 -0
- data/docs/PostDomainRequest.md +44 -0
- data/docs/PostEnableManagedService200Response.md +42 -0
- data/docs/PostEntityTransfer200Response.md +30 -0
- data/docs/PostEntityTransferRequest.md +18 -0
- data/docs/PostExecutePayPalPayment299Response.md +18 -0
- data/docs/PostExecutePayPalPayment299ResponseWarningsInner.md +20 -0
- data/docs/PostExecutePayPalPaymentRequest.md +20 -0
- data/docs/PostFirewallDevice200Response.md +24 -0
- data/docs/PostFirewallDevice200ResponseEntity.md +24 -0
- data/docs/PostFirewallDeviceRequest.md +24 -0
- data/docs/PostFirewalls200Response.md +30 -0
- data/docs/PostFirewalls200ResponseRules.md +24 -0
- data/docs/PostFirewalls200ResponseRulesInboundInner.md +28 -0
- data/docs/PostFirewalls200ResponseRulesOutboundInner.md +28 -0
- data/docs/PostFirewallsRequest.md +32 -0
- data/docs/PostFirewallsRequestAllOfRules.md +24 -0
- data/docs/PostFirewallsRequestAllOfRulesInboundInner.md +28 -0
- data/docs/PostFirewallsRequestAllOfRulesOutboundInner.md +28 -0
- data/docs/PostFirewallsRequestDevices.md +20 -0
- data/docs/PostFirewallsRequestRules.md +20 -0
- data/docs/PostGroupAddLinode200Response.md +30 -0
- data/docs/PostGroupAddLinode200ResponseMembersInner.md +20 -0
- data/docs/PostGroupAddLinodeRequest.md +18 -0
- data/docs/PostGroupUnassign200Response.md +30 -0
- data/docs/PostGroupUnassign200ResponseMembersInner.md +20 -0
- data/docs/PostImage200Response.md +52 -0
- data/docs/PostImageRequest.md +26 -0
- data/docs/PostImportDomainRequest.md +20 -0
- data/docs/PostIpv6Range200Response.md +20 -0
- data/docs/PostIpv6RangeRequest.md +22 -0
- data/docs/PostLinodeConfigInterface200Response.md +36 -0
- data/docs/PostLinodeConfigInterfaceRequest.md +36 -0
- data/docs/PostLinodeConfigInterfacesRequest.md +18 -0
- data/docs/PostLinodeInstanceRequest.md +56 -0
- data/docs/PostLinodeInstanceRequestAllOfInterfacesInner.md +36 -0
- data/docs/PostLinodeInstanceRequestAllOfInterfacesInnerIpv4.md +20 -0
- data/docs/PostLinodeInstanceRequestAllOfMetadata.md +18 -0
- data/docs/PostLinodeInstanceRequestAllOfPlacementGroup.md +18 -0
- data/docs/PostLkeCluster200Response.md +32 -0
- data/docs/PostLkeClusterPools200Response.md +34 -0
- data/docs/PostLkeClusterPools200ResponseAutoscaler.md +22 -0
- data/docs/PostLkeClusterPools200ResponseLabels.md +20 -0
- data/docs/PostLkeClusterPools200ResponseNodesInner.md +22 -0
- data/docs/PostLkeClusterPools200ResponseTaintsInner.md +22 -0
- data/docs/PostLkeClusterPoolsRequest.md +30 -0
- data/docs/PostLkeClusterPoolsRequestAllOfAutoscaler.md +22 -0
- data/docs/PostLkeClusterRegenerateRequest.md +20 -0
- data/docs/PostLkeClusterRequest.md +28 -0
- data/docs/PostLkeClusterRequestControlPlane.md +18 -0
- data/docs/PostLkeClusterRequestNodePoolsInner.md +30 -0
- data/docs/PostLkeClusterRequestNodePoolsInnerAutoscaler.md +22 -0
- data/docs/PostLkeClusterRequestNodePoolsInnerDisksInner.md +20 -0
- data/docs/PostLkeClusterRequestNodePoolsInnerTaintsInner.md +22 -0
- data/docs/PostLongviewClient200Response.md +30 -0
- data/docs/PostLongviewClientRequest.md +30 -0
- data/docs/PostManagedContact200Response.md +28 -0
- data/docs/PostManagedContact200ResponsePhone.md +20 -0
- data/docs/PostManagedContactRequest.md +28 -0
- data/docs/PostManagedCredential200Response.md +22 -0
- data/docs/PostManagedCredentialRequest.md +26 -0
- data/docs/PostManagedCredentialRevokeDefaultResponse.md +18 -0
- data/docs/PostManagedCredentialRevokeDefaultResponseErrorsInner.md +20 -0
- data/docs/PostManagedCredentialUsernamePasswordRequest.md +20 -0
- data/docs/PostManagedService200Response.md +42 -0
- data/docs/PostManagedServiceRequest.md +42 -0
- data/docs/PostMigrateLinodeInstanceRequest.md +24 -0
- data/docs/PostMigrateLinodeInstanceRequestPlacementGroup.md +18 -0
- data/docs/PostMutateLinodeInstanceRequest.md +18 -0
- data/docs/PostNodeBalancerConfig200Response.md +56 -0
- data/docs/PostNodeBalancerConfigRequest.md +56 -0
- data/docs/PostNodeBalancerConfigRequestNodesStatus.md +20 -0
- data/docs/PostNodeBalancerNode200Response.md +32 -0
- data/docs/PostNodeBalancerNodeRequest.md +32 -0
- data/docs/PostNodeBalancerRequest.md +28 -0
- data/docs/PostNodeBalancerRequestConfigsInner.md +48 -0
- data/docs/PostNodeBalancerRequestConfigsInnerNodesInner.md +32 -0
- data/docs/PostObjectStorageBucket200Response.md +30 -0
- data/docs/PostObjectStorageBucketAccessRequest.md +20 -0
- data/docs/PostObjectStorageBucketRequest.md +24 -0
- data/docs/PostObjectStorageKeys200Response.md +30 -0
- data/docs/PostObjectStorageKeys200ResponseBucketAccessInner.md +24 -0
- data/docs/PostObjectStorageKeysRequest.md +22 -0
- data/docs/PostObjectStorageKeysRequestBucketAccessInner.md +22 -0
- data/docs/PostObjectStorageObjectUrl200Response.md +18 -0
- data/docs/PostObjectStorageObjectUrlRequest.md +24 -0
- data/docs/PostObjectStorageSslRequest.md +24 -0
- data/docs/PostPayPalPayment200Response.md +20 -0
- data/docs/PostPayPalPaymentRequest.md +22 -0
- data/docs/PostPayment200Response.md +22 -0
- data/docs/PostPayment202Response.md +18 -0
- data/docs/PostPayment202ResponseWarningsInner.md +20 -0
- data/docs/PostPaymentMethodRequest.md +22 -0
- data/docs/PostPaymentRequest.md +20 -0
- data/docs/PostPersonalAccessToken200Response.md +28 -0
- data/docs/PostPersonalAccessTokenRequest.md +22 -0
- data/docs/PostPlacementGroup200Response.md +30 -0
- data/docs/PostPlacementGroupRequest.md +24 -0
- data/docs/PostProfilePhoneNumberRequest.md +20 -0
- data/docs/PostProfilePhoneNumberVerifyRequest.md +18 -0
- data/docs/PostPromoCredit200Response.md +32 -0
- data/docs/PostPromoCreditRequest.md +18 -0
- data/docs/PostRebootLinodeInstanceRequest.md +18 -0
- data/docs/PostRebuildLinodeInstanceRequest.md +34 -0
- data/docs/PostRebuildNodeBalancerConfig200Response.md +56 -0
- data/docs/PostRebuildNodeBalancerConfigRequest.md +58 -0
- data/docs/PostRebuildNodeBalancerConfigRequestAllOfNodesInner.md +26 -0
- data/docs/PostReplicateImage200Response.md +52 -0
- data/docs/PostReplicateImageRequest.md +18 -0
- data/docs/PostRescueLinodeInstanceRequest.md +18 -0
- data/docs/PostRescueLinodeInstanceRequestDevices.md +30 -0
- data/docs/PostRescueLinodeInstanceRequestDevicesSdb.md +20 -0
- data/docs/PostRescueLinodeInstanceRequestDevicesSdd.md +20 -0
- data/docs/PostResetClientSecret200Response.md +30 -0
- data/docs/PostResetDiskPasswordRequest.md +18 -0
- data/docs/PostResetLinodePasswordRequest.md +18 -0
- data/docs/PostResizeDiskRequest.md +18 -0
- data/docs/PostResizeLinodeInstanceRequest.md +22 -0
- data/docs/PostResizeVolumeRequest.md +18 -0
- data/docs/PostRestoreBackupRequest.md +20 -0
- data/docs/PostSecurityQuestions200Response.md +18 -0
- data/docs/PostSecurityQuestions200ResponseSecurityQuestionsInner.md +22 -0
- data/docs/PostSecurityQuestionsRequest.md +18 -0
- data/docs/PostSecurityQuestionsRequestSecurityQuestionsInner.md +22 -0
- data/docs/PostServiceTransfer200Response.md +30 -0
- data/docs/PostServiceTransferRequest.md +18 -0
- data/docs/PostShareIpsRequest.md +20 -0
- data/docs/PostSnapshot200Response.md +36 -0
- data/docs/PostSnapshotRequest.md +18 -0
- data/docs/PostTagRequest.md +26 -0
- data/docs/PostTfaConfirm200Response.md +18 -0
- data/docs/PostTfaConfirmRequest.md +18 -0
- data/docs/PostTfaEnable200Response.md +20 -0
- data/docs/PostTicket200Response.md +42 -0
- data/docs/PostTicket200ResponseEntity.md +24 -0
- data/docs/PostTicketReply200Response.md +28 -0
- data/docs/PostTicketReplyRequest.md +18 -0
- data/docs/PostTicketRequest.md +44 -0
- data/docs/PostUploadImage200Response.md +20 -0
- data/docs/PostUploadImage200ResponseImage.md +52 -0
- data/docs/PostUploadImage200ResponseImageRegionsInner.md +20 -0
- data/docs/PostUploadImageRequest.md +26 -0
- data/docs/PostUser200Response.md +32 -0
- data/docs/PostUserRequest.md +32 -0
- data/docs/PostUserRequestAllOfLastLogin.md +20 -0
- data/docs/PostVolumeRequest.md +28 -0
- data/docs/PostVpc200Response.md +30 -0
- data/docs/PostVpc200ResponseSubnetsInner.md +28 -0
- data/docs/PostVpcRequest.md +30 -0
- data/docs/PostVpcRequestAllOfSubnetsInner.md +28 -0
- data/docs/PostVpcRequestAllOfSubnetsInnerLinodesInner.md +20 -0
- data/docs/PostVpcSubnet200Response.md +28 -0
- data/docs/PostVpcSubnet200ResponseLinodesInner.md +20 -0
- data/docs/PostVpcSubnet200ResponseLinodesInnerInterfacesInner.md +20 -0
- data/docs/PostVpcSubnetRequest.md +20 -0
- data/docs/ProfileApi.md +2332 -0
- data/docs/Promotion.md +32 -0
- data/docs/PropertiesEntities.md +18 -0
- data/docs/ProxyUserToken.md +28 -0
- data/docs/PutAccount200Response.md +56 -0
- data/docs/PutAccount200ResponseActivePromotionsInner.md +32 -0
- data/docs/PutAccountRequest.md +56 -0
- data/docs/PutAccountRequestActivePromotionsInner.md +32 -0
- data/docs/PutAccountRequestCreditCard.md +20 -0
- data/docs/PutAccountSettings200Response.md +26 -0
- data/docs/PutAccountSettingsRequest.md +26 -0
- data/docs/PutClient200Response.md +30 -0
- data/docs/PutClientRequest.md +30 -0
- data/docs/PutDatabasesMysqlInstance200Response.md +54 -0
- data/docs/PutDatabasesMysqlInstance200ResponseUpdates.md +26 -0
- data/docs/PutDatabasesMysqlInstanceRequest.md +24 -0
- data/docs/PutDatabasesMysqlInstanceRequestUpdates.md +26 -0
- data/docs/PutDatabasesPostgreSqlInstance200Response.md +56 -0
- data/docs/PutDatabasesPostgreSqlInstance200ResponseUpdates.md +26 -0
- data/docs/PutDatabasesPostgreSqlInstanceRequest.md +24 -0
- data/docs/PutDisk200Response.md +30 -0
- data/docs/PutDiskRequest.md +18 -0
- data/docs/PutDomainRecord200Response.md +42 -0
- data/docs/PutDomainRecordRequest.md +34 -0
- data/docs/PutFirewall200Response.md +30 -0
- data/docs/PutFirewall200ResponseRules.md +24 -0
- data/docs/PutFirewall200ResponseRulesInboundInner.md +28 -0
- data/docs/PutFirewall200ResponseRulesOutboundInner.md +28 -0
- data/docs/PutFirewallRequest.md +22 -0
- data/docs/PutFirewallRules200Response.md +24 -0
- data/docs/PutFirewallRules200ResponseInboundInner.md +28 -0
- data/docs/PutFirewallRules200ResponseOutboundInner.md +28 -0
- data/docs/PutFirewallRulesRequest.md +24 -0
- data/docs/PutFirewallRulesRequestAllOfInboundInner.md +28 -0
- data/docs/PutFirewallRulesRequestAllOfOutboundInner.md +28 -0
- data/docs/PutImage200Response.md +52 -0
- data/docs/PutImageRequest.md +52 -0
- data/docs/PutIp200Response.md +36 -0
- data/docs/PutIpRequest.md +18 -0
- data/docs/PutLinodeConfig200Response.md +38 -0
- data/docs/PutLinodeConfig200ResponseDevices.md +32 -0
- data/docs/PutLinodeConfig200ResponseHelpers.md +26 -0
- data/docs/PutLinodeConfig200ResponseInterfacesInner.md +36 -0
- data/docs/PutLinodeConfigInterface200Response.md +36 -0
- data/docs/PutLinodeConfigInterfaceRequest.md +22 -0
- data/docs/PutLinodeConfigInterfaceRequestIpv4.md +20 -0
- data/docs/PutLinodeConfigRequest.md +38 -0
- data/docs/PutLinodeConfigRequestDevices.md +32 -0
- data/docs/PutLinodeConfigRequestInterfacesInner.md +36 -0
- data/docs/PutLinodeIp200Response.md +36 -0
- data/docs/PutLinodeIp200ResponseVpcNat11.md +22 -0
- data/docs/PutLinodeIpRequest.md +18 -0
- data/docs/PutLkeCluster200Response.md +28 -0
- data/docs/PutLkeClusterRequest.md +24 -0
- data/docs/PutLkeClusterRequestControlPlane.md +18 -0
- data/docs/PutLkeNodePool200Response.md +34 -0
- data/docs/PutLkeNodePool200ResponseAutoscaler.md +22 -0
- data/docs/PutLkeNodePool200ResponseTaintsInner.md +22 -0
- data/docs/PutLkeNodePoolRequest.md +24 -0
- data/docs/PutLkeNodePoolRequestAutoscaler.md +22 -0
- data/docs/PutLongviewClient200Response.md +30 -0
- data/docs/PutLongviewClient200ResponseApps.md +22 -0
- data/docs/PutLongviewClientRequest.md +30 -0
- data/docs/PutLongviewPlan200Response.md +24 -0
- data/docs/PutLongviewPlan200ResponsePrice.md +20 -0
- data/docs/PutLongviewPlanRequest.md +18 -0
- data/docs/PutManagedContact200Response.md +28 -0
- data/docs/PutManagedContactRequest.md +28 -0
- data/docs/PutManagedLinodeSetting200Response.md +24 -0
- data/docs/PutManagedLinodeSetting200ResponseSsh.md +24 -0
- data/docs/PutManagedLinodeSettingRequest.md +24 -0
- data/docs/PutManagedLinodeSettingRequestSsh.md +24 -0
- data/docs/PutManagedService200Response.md +42 -0
- data/docs/PutManagedServiceRequest.md +42 -0
- data/docs/PutNodeBalancerConfig200Response.md +56 -0
- data/docs/PutNodeBalancerConfigRequest.md +56 -0
- data/docs/PutNodeBalancerNode200Response.md +32 -0
- data/docs/PutNodeBalancerNodeRequest.md +32 -0
- data/docs/PutObjectStorageBucketAcl200Response.md +20 -0
- data/docs/PutObjectStorageBucketAclRequest.md +20 -0
- data/docs/PutObjectStorageKey200Response.md +28 -0
- data/docs/PutObjectStorageKey200ResponseRegionsInner.md +20 -0
- data/docs/PutObjectStorageKeyRequest.md +20 -0
- data/docs/PutPersonalAccessToken200Response.md +28 -0
- data/docs/PutPersonalAccessTokenRequest.md +28 -0
- data/docs/PutPlacementGroup200Response.md +30 -0
- data/docs/PutPlacementGroupRequest.md +18 -0
- data/docs/PutProfile200Response.md +42 -0
- data/docs/PutProfile200ResponseReferrals.md +28 -0
- data/docs/PutProfileRequest.md +42 -0
- data/docs/PutProfileRequestReferrals.md +28 -0
- data/docs/PutSshKeyRequest.md +18 -0
- data/docs/PutStackScript200Response.md +46 -0
- data/docs/PutStackScript200ResponseUserDefinedFieldsInner.md +28 -0
- data/docs/PutStackScriptRequest.md +46 -0
- data/docs/PutStackScriptRequestUserDefinedFieldsInner.md +28 -0
- data/docs/PutStorageBucketAccessRequest.md +20 -0
- data/docs/PutUser200Response.md +34 -0
- data/docs/PutUserGrants200Response.md +40 -0
- data/docs/PutUserGrants200ResponseGlobal.md +46 -0
- data/docs/PutUserGrantsRequest.md +40 -0
- data/docs/PutUserGrantsRequestGlobal.md +46 -0
- data/docs/PutUserGrantsRequestStackscriptInner.md +22 -0
- data/docs/PutUserRequest.md +32 -0
- data/docs/PutVolumeRequest.md +40 -0
- data/docs/PutVpc200Response.md +30 -0
- data/docs/PutVpc200ResponseSubnetsInner.md +28 -0
- data/docs/PutVpcRequest.md +20 -0
- data/docs/PutVpcSubnet200Response.md +28 -0
- data/docs/PutVpcSubnetRequest.md +18 -0
- data/docs/RegionsApi.md +271 -0
- data/docs/ServiceTransfer.md +30 -0
- data/docs/StatsAvailable.md +26 -0
- data/docs/StatsAvailableCpuInner.md +20 -0
- data/docs/StatsAvailableNetOutInner.md +20 -0
- data/docs/SupportApi.md +548 -0
- data/docs/TagsApi.md +319 -0
- data/docs/Transfer.md +24 -0
- data/docs/TransferRegionTransfersInner.md +24 -0
- data/docs/User.md +32 -0
- data/docs/UserType.md +18 -0
- data/docs/VPCsApi.md +939 -0
- data/docs/Volume.md +40 -0
- data/docs/Volume1.md +40 -0
- data/docs/Volume2.md +40 -0
- data/docs/Volume3.md +40 -0
- data/docs/Volume4.md +40 -0
- data/docs/Volume5.md +40 -0
- data/docs/Volume6.md +40 -0
- data/docs/Volume7.md +40 -0
- data/docs/Volume8.md +40 -0
- data/docs/VolumesApi.md +700 -0
- data/docs/WarningObject.md +20 -0
- data/git_push.sh +57 -0
- data/lib/linode_openapi_client/api/account_api.rb +5025 -0
- data/lib/linode_openapi_client/api/beta_programs_api.rb +182 -0
- data/lib/linode_openapi_client/api/databases_api.rb +2678 -0
- data/lib/linode_openapi_client/api/domains_api.rb +1082 -0
- data/lib/linode_openapi_client/api/images_api.rb +576 -0
- data/lib/linode_openapi_client/api/linode_instances_api.rb +4675 -0
- data/lib/linode_openapi_client/api/linode_kubernetes_engine_lke_api.rb +1787 -0
- data/lib/linode_openapi_client/api/linode_stack_scripts_api.rb +416 -0
- data/lib/linode_openapi_client/api/longview_api.rb +727 -0
- data/lib/linode_openapi_client/api/managed_api.rb +1956 -0
- data/lib/linode_openapi_client/api/networking_api.rb +2010 -0
- data/lib/linode_openapi_client/api/node_balancers_api.rb +1541 -0
- data/lib/linode_openapi_client/api/object_storage_api.rb +1831 -0
- data/lib/linode_openapi_client/api/placement_groups_api.rb +590 -0
- data/lib/linode_openapi_client/api/profile_api.rb +2326 -0
- data/lib/linode_openapi_client/api/regions_api.rb +306 -0
- data/lib/linode_openapi_client/api/support_api.rb +594 -0
- data/lib/linode_openapi_client/api/tags_api.rb +349 -0
- data/lib/linode_openapi_client/api/volumes_api.rb +767 -0
- data/lib/linode_openapi_client/api/vpcs_api.rb +1026 -0
- data/lib/linode_openapi_client/api_client.rb +394 -0
- data/lib/linode_openapi_client/api_error.rb +58 -0
- data/lib/linode_openapi_client/configuration.rb +1065 -0
- data/lib/linode_openapi_client/models/account.rb +632 -0
- data/lib/linode_openapi_client/models/account_active_promotions_inner.rb +320 -0
- data/lib/linode_openapi_client/models/account_availability.rb +240 -0
- data/lib/linode_openapi_client/models/account_settings.rb +292 -0
- data/lib/linode_openapi_client/models/added_get_account_logins200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_account_logins200_data_inner.rb +300 -0
- data/lib/linode_openapi_client/models/added_get_availability200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_availability200_all_of_data.rb +240 -0
- data/lib/linode_openapi_client/models/added_get_child_accounts200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_child_accounts200_data_inner.rb +621 -0
- data/lib/linode_openapi_client/models/added_get_child_accounts200_data_inner_credit_card.rb +226 -0
- data/lib/linode_openapi_client/models/added_get_clients200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_clients200_data_inner.rb +341 -0
- data/lib/linode_openapi_client/models/added_get_enrolled_beta_programs200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_enrolled_beta_programs200_all_of_data.rb +268 -0
- data/lib/linode_openapi_client/models/added_get_entity_transfers200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_entity_transfers200_all_of_data.rb +309 -0
- data/lib/linode_openapi_client/models/added_get_entity_transfers200_all_of_entities.rb +218 -0
- data/lib/linode_openapi_client/models/added_get_events200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_events200_data_inner.rb +393 -0
- data/lib/linode_openapi_client/models/added_get_events200_data_inner_entity.rb +280 -0
- data/lib/linode_openapi_client/models/added_get_invoice_items200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_invoice_items200_data_inner.rb +341 -0
- data/lib/linode_openapi_client/models/added_get_invoices200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_invoices200_data_inner.rb +322 -0
- data/lib/linode_openapi_client/models/added_get_maintenance200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_maintenance200_data_inner.rb +301 -0
- data/lib/linode_openapi_client/models/added_get_maintenance200_data_inner_entity.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_notifications200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_notifications200_data_inner.rb +332 -0
- data/lib/linode_openapi_client/models/added_get_notifications200_data_inner_entity.rb +283 -0
- data/lib/linode_openapi_client/models/added_get_payment_methods200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_payment_methods200_data_inner.rb +289 -0
- data/lib/linode_openapi_client/models/added_get_payment_methods200_data_inner_data.rb +106 -0
- data/lib/linode_openapi_client/models/added_get_payments200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_service_transfers200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_service_transfers200_data_inner.rb +309 -0
- data/lib/linode_openapi_client/models/added_get_user200.rb +372 -0
- data/lib/linode_openapi_client/models/added_get_users200.rb +246 -0
- data/lib/linode_openapi_client/models/added_get_users200_data_inner.rb +372 -0
- data/lib/linode_openapi_client/models/added_post_beta_program.rb +223 -0
- data/lib/linode_openapi_client/models/added_post_cancel_account.rb +215 -0
- data/lib/linode_openapi_client/models/added_post_cancel_account200.rb +215 -0
- data/lib/linode_openapi_client/models/added_post_cancel_account409.rb +216 -0
- data/lib/linode_openapi_client/models/added_post_client.rb +354 -0
- data/lib/linode_openapi_client/models/added_post_entity_transfer.rb +221 -0
- data/lib/linode_openapi_client/models/added_post_pay_pal_payment200.rb +225 -0
- data/lib/linode_openapi_client/models/added_post_payment.rb +246 -0
- data/lib/linode_openapi_client/models/added_post_payment_method.rb +290 -0
- data/lib/linode_openapi_client/models/added_post_payment_method_data.rb +368 -0
- data/lib/linode_openapi_client/models/added_post_promo_credit.rb +250 -0
- data/lib/linode_openapi_client/models/added_post_service_transfer.rb +221 -0
- data/lib/linode_openapi_client/models/added_post_user.rb +342 -0
- data/lib/linode_openapi_client/models/added_put_user200.rb +372 -0
- data/lib/linode_openapi_client/models/added_put_user200_all_of_last_login.rb +260 -0
- data/lib/linode_openapi_client/models/agreements.rb +236 -0
- data/lib/linode_openapi_client/models/beta_program_enrolled.rb +268 -0
- data/lib/linode_openapi_client/models/child_account.rb +621 -0
- data/lib/linode_openapi_client/models/credit_card.rb +236 -0
- data/lib/linode_openapi_client/models/credit_card1.rb +236 -0
- data/lib/linode_openapi_client/models/credit_card2.rb +236 -0
- data/lib/linode_openapi_client/models/credit_card_data.rb +236 -0
- data/lib/linode_openapi_client/models/domain.rb +503 -0
- data/lib/linode_openapi_client/models/domain1.rb +503 -0
- data/lib/linode_openapi_client/models/domain2.rb +503 -0
- data/lib/linode_openapi_client/models/domain3.rb +503 -0
- data/lib/linode_openapi_client/models/domain4.rb +503 -0
- data/lib/linode_openapi_client/models/domain5.rb +503 -0
- data/lib/linode_openapi_client/models/domain6.rb +503 -0
- data/lib/linode_openapi_client/models/domain7.rb +503 -0
- data/lib/linode_openapi_client/models/entities.rb +218 -0
- data/lib/linode_openapi_client/models/entity_transfer.rb +309 -0
- data/lib/linode_openapi_client/models/error_object.rb +226 -0
- data/lib/linode_openapi_client/models/event.rb +393 -0
- data/lib/linode_openapi_client/models/event_entity.rb +280 -0
- data/lib/linode_openapi_client/models/event_secondary_entity.rb +246 -0
- data/lib/linode_openapi_client/models/filter_and_sort_criteria.rb +345 -0
- data/lib/linode_openapi_client/models/get_account200_response.rb +632 -0
- data/lib/linode_openapi_client/models/get_account200_response_active_promotions_inner.rb +320 -0
- data/lib/linode_openapi_client/models/get_account200_response_credit_card.rb +226 -0
- data/lib/linode_openapi_client/models/get_account_agreements200_response.rb +236 -0
- data/lib/linode_openapi_client/models/get_account_availability200_response.rb +240 -0
- data/lib/linode_openapi_client/models/get_account_login200_response.rb +300 -0
- data/lib/linode_openapi_client/models/get_account_logins200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_account_logins200_response_data_inner.rb +300 -0
- data/lib/linode_openapi_client/models/get_account_settings200_response.rb +292 -0
- data/lib/linode_openapi_client/models/get_availability200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_availability200_response_all_of_data_inner.rb +240 -0
- data/lib/linode_openapi_client/models/get_backup200_response.rb +357 -0
- data/lib/linode_openapi_client/models/get_backup200_response_disks_inner.rb +267 -0
- data/lib/linode_openapi_client/models/get_backups200_response.rb +225 -0
- data/lib/linode_openapi_client/models/get_backups200_response_automatic_inner.rb +343 -0
- data/lib/linode_openapi_client/models/get_backups200_response_automatic_inner_all_of_disks_inner.rb +267 -0
- data/lib/linode_openapi_client/models/get_backups200_response_snapshot.rb +223 -0
- data/lib/linode_openapi_client/models/get_backups200_response_snapshot_current.rb +357 -0
- data/lib/linode_openapi_client/models/get_backups200_response_snapshot_current_disks_inner.rb +267 -0
- data/lib/linode_openapi_client/models/get_backups200_response_snapshot_in_progress.rb +357 -0
- data/lib/linode_openapi_client/models/get_beta_program200_response.rb +279 -0
- data/lib/linode_openapi_client/models/get_beta_programs200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_beta_programs200_response_all_of_data_inner.rb +279 -0
- data/lib/linode_openapi_client/models/get_child_account200_response.rb +621 -0
- data/lib/linode_openapi_client/models/get_child_account200_response_credit_card.rb +226 -0
- data/lib/linode_openapi_client/models/get_child_accounts200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_child_accounts200_response_data_inner.rb +621 -0
- data/lib/linode_openapi_client/models/get_client200_response.rb +341 -0
- data/lib/linode_openapi_client/models/get_clients200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_clients200_response_data_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_databases_engine200_response.rb +256 -0
- data/lib/linode_openapi_client/models/get_databases_engines200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_engines200_response_all_of_data_inner.rb +256 -0
- data/lib/linode_openapi_client/models/get_databases_instances200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_instances200_response_all_of_data_inner.rb +446 -0
- data/lib/linode_openapi_client/models/get_databases_instances200_response_all_of_data_inner_hosts.rb +228 -0
- data/lib/linode_openapi_client/models/get_databases_instances200_response_all_of_data_inner_updates.rb +401 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instance200_response.rb +488 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instance200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instance_backup200_response.rb +299 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instance_backups200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instance_backups200_response_all_of_data_inner.rb +299 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instances200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_mysql_instances200_response_all_of_data_inner.rb +488 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance200_response.rb +512 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance200_response_hosts.rb +228 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance_backups200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance_backups200_response_all_of_data_inner.rb +299 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instance_credentials200_response.rb +226 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instances200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instances200_response_all_of_data_inner.rb +512 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instances200_response_all_of_data_inner_hosts.rb +228 -0
- data/lib/linode_openapi_client/models/get_databases_postgre_sql_instances200_response_all_of_data_inner_updates.rb +401 -0
- data/lib/linode_openapi_client/models/get_databases_postgresql_instance_backup200_response.rb +299 -0
- data/lib/linode_openapi_client/models/get_databases_postgresql_instance_ssl200_response.rb +216 -0
- data/lib/linode_openapi_client/models/get_databases_type200_response.rb +285 -0
- data/lib/linode_openapi_client/models/get_databases_type200_response_engines.rb +229 -0
- data/lib/linode_openapi_client/models/get_databases_type200_response_engines_postgresql_inner.rb +258 -0
- data/lib/linode_openapi_client/models/get_databases_type200_response_engines_postgresql_inner_price.rb +226 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response_all_of_data_inner.rb +285 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response_all_of_data_inner_engines.rb +229 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response_all_of_data_inner_engines_mysql_inner.rb +258 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response_all_of_data_inner_engines_postgresql_inner.rb +258 -0
- data/lib/linode_openapi_client/models/get_databases_types200_response_all_of_data_inner_engines_postgresql_inner_price.rb +226 -0
- data/lib/linode_openapi_client/models/get_devices200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_devices200_response_data_inner.rb +266 -0
- data/lib/linode_openapi_client/models/get_domain_record200_response.rb +516 -0
- data/lib/linode_openapi_client/models/get_domain_records200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_domain_records200_response_data_inner.rb +516 -0
- data/lib/linode_openapi_client/models/get_domain_zone200_response.rb +217 -0
- data/lib/linode_openapi_client/models/get_domains200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_enrolled_beta_program200_response.rb +268 -0
- data/lib/linode_openapi_client/models/get_enrolled_beta_programs200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_enrolled_beta_programs200_response_all_of_data_inner.rb +268 -0
- data/lib/linode_openapi_client/models/get_entity_transfer200_response.rb +309 -0
- data/lib/linode_openapi_client/models/get_entity_transfers200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_entity_transfers200_response_all_of_data_inner.rb +309 -0
- data/lib/linode_openapi_client/models/get_entity_transfers200_response_all_of_data_inner_entities.rb +218 -0
- data/lib/linode_openapi_client/models/get_event200_response.rb +393 -0
- data/lib/linode_openapi_client/models/get_event200_response_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_event200_response_secondary_entity.rb +246 -0
- data/lib/linode_openapi_client/models/get_events200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_events200_response_data_inner.rb +393 -0
- data/lib/linode_openapi_client/models/get_events200_response_data_inner_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_events200_response_data_inner_secondary_entity.rb +246 -0
- data/lib/linode_openapi_client/models/get_firewall200_response.rb +350 -0
- data/lib/linode_openapi_client/models/get_firewall200_response_rules.rb +296 -0
- data/lib/linode_openapi_client/models/get_firewall200_response_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_firewall200_response_rules_inbound_inner_addresses.rb +230 -0
- data/lib/linode_openapi_client/models/get_firewall200_response_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_firewall200_response_rules_outbound_inner_addresses.rb +230 -0
- data/lib/linode_openapi_client/models/get_firewall_device200_response.rb +245 -0
- data/lib/linode_openapi_client/models/get_firewall_device200_response_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_firewall_devices200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_firewall_devices200_response_data_inner.rb +245 -0
- data/lib/linode_openapi_client/models/get_firewall_devices200_response_data_inner_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_firewall_rules200_response.rb +296 -0
- data/lib/linode_openapi_client/models/get_firewall_rules200_response_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_firewalls200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_firewalls200_response_data_inner.rb +350 -0
- data/lib/linode_openapi_client/models/get_firewalls200_response_data_inner_rules.rb +296 -0
- data/lib/linode_openapi_client/models/get_firewalls200_response_data_inner_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_firewalls200_response_data_inner_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_image200_response.rb +494 -0
- data/lib/linode_openapi_client/models/get_images200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_images200_response_data_inner.rb +494 -0
- data/lib/linode_openapi_client/models/get_images200_response_data_inner_regions_inner.rb +259 -0
- data/lib/linode_openapi_client/models/get_invoice200_response.rb +322 -0
- data/lib/linode_openapi_client/models/get_invoice200_response_tax_summary_inner.rb +225 -0
- data/lib/linode_openapi_client/models/get_invoice_items200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_invoice_items200_response_data_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_invoices200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_invoices200_response_data_inner.rb +322 -0
- data/lib/linode_openapi_client/models/get_invoices200_response_data_inner_tax_summary_inner.rb +225 -0
- data/lib/linode_openapi_client/models/get_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/get_ips200_response.rb +248 -0
- data/lib/linode_openapi_client/models/get_ips200_response_all_of_data_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_ips200_response_all_of_data_inner_vpc_nat11.rb +236 -0
- data/lib/linode_openapi_client/models/get_ipv6_pools200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_ipv6_pools200_response_data_inner.rb +247 -0
- data/lib/linode_openapi_client/models/get_ipv6_range200_response.rb +258 -0
- data/lib/linode_openapi_client/models/get_ipv6_ranges200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_ipv6_ranges200_response_data_inner.rb +246 -0
- data/lib/linode_openapi_client/models/get_kernel200_response.rb +320 -0
- data/lib/linode_openapi_client/models/get_kernels200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_kernels200_response_data_inner.rb +320 -0
- data/lib/linode_openapi_client/models/get_linode_config200_response.rb +441 -0
- data/lib/linode_openapi_client/models/get_linode_config200_response_devices.rb +278 -0
- data/lib/linode_openapi_client/models/get_linode_config200_response_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/get_linode_config_interface200_response.rb +388 -0
- data/lib/linode_openapi_client/models/get_linode_config_interfaces200_response_inner.rb +388 -0
- data/lib/linode_openapi_client/models/get_linode_configs200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_configs200_response_data_inner.rb +441 -0
- data/lib/linode_openapi_client/models/get_linode_configs200_response_data_inner_devices.rb +278 -0
- data/lib/linode_openapi_client/models/get_linode_configs200_response_data_inner_helpers.rb +256 -0
- data/lib/linode_openapi_client/models/get_linode_configs200_response_data_inner_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/get_linode_disk200_response.rb +349 -0
- data/lib/linode_openapi_client/models/get_linode_disks200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_disks200_response_data_inner.rb +349 -0
- data/lib/linode_openapi_client/models/get_linode_firewalls200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_firewalls200_response_data_inner.rb +350 -0
- data/lib/linode_openapi_client/models/get_linode_firewalls200_response_data_inner_rules.rb +296 -0
- data/lib/linode_openapi_client/models/get_linode_firewalls200_response_data_inner_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_linode_firewalls200_response_data_inner_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_linode_instances200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_instances_x_filter_parameter.rb +106 -0
- data/lib/linode_openapi_client/models/get_linode_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/get_linode_ip200_response_vpc_nat11.rb +236 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response.rb +223 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4.rb +266 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_private_inner.rb +296 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_public_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_reserved_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_reserved_inner_vpc_nat11.rb +236 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_shared_inner.rb +341 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv4_vpc_inner.rb +370 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv6.rb +236 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv6_link_local.rb +296 -0
- data/lib/linode_openapi_client/models/get_linode_ips200_response_ipv6_slaac.rb +296 -0
- data/lib/linode_openapi_client/models/get_linode_node_balancers200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_stats200_response.rb +255 -0
- data/lib/linode_openapi_client/models/get_linode_stats200_response_io.rb +230 -0
- data/lib/linode_openapi_client/models/get_linode_stats200_response_netv4.rb +254 -0
- data/lib/linode_openapi_client/models/get_linode_stats200_response_netv6.rb +254 -0
- data/lib/linode_openapi_client/models/get_linode_stats_by_year_month200_response.rb +255 -0
- data/lib/linode_openapi_client/models/get_linode_stats_by_year_month200_response_netv4.rb +254 -0
- data/lib/linode_openapi_client/models/get_linode_stats_by_year_month200_response_netv6.rb +254 -0
- data/lib/linode_openapi_client/models/get_linode_transfer200_response.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_transfer_by_year_month200_response.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_type200_response.rb +370 -0
- data/lib/linode_openapi_client/models/get_linode_type200_response_addons.rb +215 -0
- data/lib/linode_openapi_client/models/get_linode_type200_response_addons_backups.rb +226 -0
- data/lib/linode_openapi_client/models/get_linode_type200_response_addons_backups_region_prices_inner.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_type200_response_region_prices_inner.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner.rb +370 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_addons.rb +215 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_addons_backups.rb +226 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_addons_backups_price.rb +226 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_addons_backups_region_prices_inner.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_price.rb +226 -0
- data/lib/linode_openapi_client/models/get_linode_types200_response_data_inner_region_prices_inner.rb +235 -0
- data/lib/linode_openapi_client/models/get_linode_volumes200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_lke_cluster200_response.rb +315 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_api_endpoints200_response.rb +247 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_api_endpoints200_response_data_inner.rb +215 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_dashboard200_response.rb +215 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_kubeconfig200_response.rb +215 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_node200_response.rb +269 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner.rb +330 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner_disks_inner.rb +260 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner_labels.rb +304 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner_nodes_inner.rb +270 -0
- data/lib/linode_openapi_client/models/get_lke_cluster_pools200_response_data_inner_taints_inner.rb +347 -0
- data/lib/linode_openapi_client/models/get_lke_clusters200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_lke_clusters200_response_data_inner.rb +315 -0
- data/lib/linode_openapi_client/models/get_lke_clusters200_response_data_inner_control_plane.rb +216 -0
- data/lib/linode_openapi_client/models/get_lke_node_pool200_response.rb +330 -0
- data/lib/linode_openapi_client/models/get_lke_node_pool200_response_nodes_inner.rb +270 -0
- data/lib/linode_openapi_client/models/get_lke_versions200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_lke_versions200_response_data_inner.rb +216 -0
- data/lib/linode_openapi_client/models/get_longview_client200_response.rb +314 -0
- data/lib/linode_openapi_client/models/get_longview_client200_response_apps.rb +236 -0
- data/lib/linode_openapi_client/models/get_longview_clients200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_longview_clients200_response_data_inner.rb +314 -0
- data/lib/linode_openapi_client/models/get_longview_clients200_response_data_inner_apps.rb +236 -0
- data/lib/linode_openapi_client/models/get_longview_plan200_response.rb +279 -0
- data/lib/linode_openapi_client/models/get_longview_plan200_response_price.rb +226 -0
- data/lib/linode_openapi_client/models/get_longview_subscription200_response.rb +279 -0
- data/lib/linode_openapi_client/models/get_longview_subscriptions200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_longview_subscriptions200_response_data_inner.rb +279 -0
- data/lib/linode_openapi_client/models/get_maintenance200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_maintenance200_response_data_inner.rb +301 -0
- data/lib/linode_openapi_client/models/get_maintenance200_response_data_inner_entity.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_contact200_response.rb +329 -0
- data/lib/linode_openapi_client/models/get_managed_contacts200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_contacts200_response_data_inner.rb +329 -0
- data/lib/linode_openapi_client/models/get_managed_contacts200_response_data_inner_phone.rb +228 -0
- data/lib/linode_openapi_client/models/get_managed_credential200_response.rb +275 -0
- data/lib/linode_openapi_client/models/get_managed_credentials200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_credentials200_response_data_inner.rb +275 -0
- data/lib/linode_openapi_client/models/get_managed_issue200_response.rb +247 -0
- data/lib/linode_openapi_client/models/get_managed_issue200_response_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_managed_issues200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_issues200_response_data_inner.rb +247 -0
- data/lib/linode_openapi_client/models/get_managed_issues200_response_data_inner_entity.rb +280 -0
- data/lib/linode_openapi_client/models/get_managed_linode_setting200_response.rb +245 -0
- data/lib/linode_openapi_client/models/get_managed_linode_setting200_response_ssh.rb +300 -0
- data/lib/linode_openapi_client/models/get_managed_linode_settings200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_linode_settings200_response_data_inner.rb +245 -0
- data/lib/linode_openapi_client/models/get_managed_linode_settings200_response_data_inner_ssh.rb +300 -0
- data/lib/linode_openapi_client/models/get_managed_service200_response.rb +533 -0
- data/lib/linode_openapi_client/models/get_managed_services200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_managed_services200_response_data_inner.rb +533 -0
- data/lib/linode_openapi_client/models/get_managed_ssh_key200_response.rb +216 -0
- data/lib/linode_openapi_client/models/get_managed_stats200_response.rb +214 -0
- data/lib/linode_openapi_client/models/get_managed_stats200_response_data.rb +43 -0
- data/lib/linode_openapi_client/models/get_node_balancer_config200_response.rb +628 -0
- data/lib/linode_openapi_client/models/get_node_balancer_config200_response_nodes_status.rb +226 -0
- data/lib/linode_openapi_client/models/get_node_balancer_config_nodes200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_node_balancer_config_nodes200_response_data_inner.rb +399 -0
- data/lib/linode_openapi_client/models/get_node_balancer_configs200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_node_balancer_configs200_response_data_inner.rb +628 -0
- data/lib/linode_openapi_client/models/get_node_balancer_firewalls200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_node_balancer_firewalls200_response_all_of_data_inner.rb +350 -0
- data/lib/linode_openapi_client/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules.rb +296 -0
- data/lib/linode_openapi_client/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/get_node_balancer_node200_response.rb +399 -0
- data/lib/linode_openapi_client/models/get_node_balancer_stats200_response.rb +225 -0
- data/lib/linode_openapi_client/models/get_node_balancer_stats200_response_data.rb +227 -0
- data/lib/linode_openapi_client/models/get_node_balancer_stats200_response_data_traffic.rb +230 -0
- data/lib/linode_openapi_client/models/get_node_balancers200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_notifications200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_notifications200_response_data_inner.rb +332 -0
- data/lib/linode_openapi_client/models/get_notifications200_response_data_inner_entity.rb +283 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucket200_response.rb +276 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucket_acl200_response.rb +259 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucket_content200_response.rb +237 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucket_content200_response_data_inner.rb +256 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucketin_cluster200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_object_storage_bucketin_cluster200_response_data_inner.rb +276 -0
- data/lib/linode_openapi_client/models/get_object_storage_buckets200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_object_storage_buckets200_response_data_inner.rb +276 -0
- data/lib/linode_openapi_client/models/get_object_storage_cluster200_response.rb +290 -0
- data/lib/linode_openapi_client/models/get_object_storage_clusters200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_object_storage_clusters200_response_data_inner.rb +290 -0
- data/lib/linode_openapi_client/models/get_object_storage_key200_response.rb +280 -0
- data/lib/linode_openapi_client/models/get_object_storage_key200_response_bucket_access_inner.rb +279 -0
- data/lib/linode_openapi_client/models/get_object_storage_key200_response_regions_inner.rb +225 -0
- data/lib/linode_openapi_client/models/get_object_storage_keys200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_object_storage_keys200_response_data_inner.rb +280 -0
- data/lib/linode_openapi_client/models/get_object_storage_keys200_response_data_inner_bucket_access_inner.rb +279 -0
- data/lib/linode_openapi_client/models/get_object_storage_ssl200_response.rb +216 -0
- data/lib/linode_openapi_client/models/get_object_storage_transfer200_response.rb +215 -0
- data/lib/linode_openapi_client/models/get_payment_method200_response.rb +289 -0
- data/lib/linode_openapi_client/models/get_payment_method200_response_data.rb +106 -0
- data/lib/linode_openapi_client/models/get_payment_methods200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_payment_methods200_response_data_inner.rb +289 -0
- data/lib/linode_openapi_client/models/get_payment_methods200_response_data_inner_data.rb +106 -0
- data/lib/linode_openapi_client/models/get_payments200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_payments200_response_data_inner.rb +236 -0
- data/lib/linode_openapi_client/models/get_personal_access_token200_response.rb +294 -0
- data/lib/linode_openapi_client/models/get_personal_access_tokens200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_personal_access_tokens200_response_data_inner.rb +294 -0
- data/lib/linode_openapi_client/models/get_placement_group200_response.rb +342 -0
- data/lib/linode_openapi_client/models/get_placement_groups200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_placement_groups200_response_data_inner.rb +342 -0
- data/lib/linode_openapi_client/models/get_profile200_response.rb +385 -0
- data/lib/linode_openapi_client/models/get_profile200_response_referrals.rb +266 -0
- data/lib/linode_openapi_client/models/get_profile_app200_response.rb +277 -0
- data/lib/linode_openapi_client/models/get_profile_apps200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_profile_apps200_response_data_inner.rb +277 -0
- data/lib/linode_openapi_client/models/get_profile_grants200_response.rb +347 -0
- data/lib/linode_openapi_client/models/get_profile_grants200_response_global.rb +392 -0
- data/lib/linode_openapi_client/models/get_profile_login200_response.rb +300 -0
- data/lib/linode_openapi_client/models/get_profile_logins200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_profile_logins200_response_data_inner.rb +300 -0
- data/lib/linode_openapi_client/models/get_region200_response.rb +332 -0
- data/lib/linode_openapi_client/models/get_region_availability200_response_inner.rb +236 -0
- data/lib/linode_openapi_client/models/get_regions200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_regions200_response_data_inner.rb +332 -0
- data/lib/linode_openapi_client/models/get_regions200_response_data_inner_placement_group_limits.rb +227 -0
- data/lib/linode_openapi_client/models/get_regions200_response_data_inner_resolvers.rb +225 -0
- data/lib/linode_openapi_client/models/get_regions_availability200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_regions_availability200_response_all_of_data_inner.rb +236 -0
- data/lib/linode_openapi_client/models/get_security_questions200_response.rb +218 -0
- data/lib/linode_openapi_client/models/get_security_questions200_response_security_questions_inner.rb +264 -0
- data/lib/linode_openapi_client/models/get_service_transfer200_response.rb +309 -0
- data/lib/linode_openapi_client/models/get_service_transfer200_response_entities.rb +218 -0
- data/lib/linode_openapi_client/models/get_service_transfers200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_service_transfers200_response_data_inner.rb +309 -0
- data/lib/linode_openapi_client/models/get_ssh_key200_response.rb +274 -0
- data/lib/linode_openapi_client/models/get_ssh_keys200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_stack_script200_response.rb +388 -0
- data/lib/linode_openapi_client/models/get_stack_script200_response_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/get_stack_scripts200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_stack_scripts200_response_data_inner.rb +388 -0
- data/lib/linode_openapi_client/models/get_stack_scripts200_response_data_inner_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/get_tagged_objects200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_tagged_objects200_response_data_inner.rb +223 -0
- data/lib/linode_openapi_client/models/get_tagged_objects200_response_data_inner_data.rb +45 -0
- data/lib/linode_openapi_client/models/get_tags200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_tags200_response_data_inner.rb +216 -0
- data/lib/linode_openapi_client/models/get_ticket200_response.rb +430 -0
- data/lib/linode_openapi_client/models/get_ticket200_response_entity.rb +246 -0
- data/lib/linode_openapi_client/models/get_ticket_replies200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_ticket_replies200_response_data_inner.rb +266 -0
- data/lib/linode_openapi_client/models/get_tickets200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_tickets200_response_data_inner.rb +430 -0
- data/lib/linode_openapi_client/models/get_tickets200_response_data_inner_entity.rb +246 -0
- data/lib/linode_openapi_client/models/get_transfer200_response.rb +247 -0
- data/lib/linode_openapi_client/models/get_transfer200_response_region_transfers_inner.rb +245 -0
- data/lib/linode_openapi_client/models/get_trusted_device200_response.rb +266 -0
- data/lib/linode_openapi_client/models/get_user200_response.rb +372 -0
- data/lib/linode_openapi_client/models/get_user_grants200_response.rb +347 -0
- data/lib/linode_openapi_client/models/get_user_grants200_response_global.rb +392 -0
- data/lib/linode_openapi_client/models/get_user_grants200_response_longview_inner.rb +271 -0
- data/lib/linode_openapi_client/models/get_user_grants200_response_placement_group_inner.rb +271 -0
- data/lib/linode_openapi_client/models/get_user_grants200_response_stackscript_inner.rb +271 -0
- data/lib/linode_openapi_client/models/get_users200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_users200_response_data_inner.rb +372 -0
- data/lib/linode_openapi_client/models/get_users200_response_data_inner_all_of_last_login.rb +260 -0
- data/lib/linode_openapi_client/models/get_users_default_response.rb +216 -0
- data/lib/linode_openapi_client/models/get_users_default_response_errors_inner.rb +226 -0
- data/lib/linode_openapi_client/models/get_vlans200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_vlans200_response_data_inner.rb +248 -0
- data/lib/linode_openapi_client/models/get_volumes200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_vpc200_response.rb +328 -0
- data/lib/linode_openapi_client/models/get_vpc200_response_subnets_inner.rb +297 -0
- data/lib/linode_openapi_client/models/get_vpc_ips200_response.rb +370 -0
- data/lib/linode_openapi_client/models/get_vpc_subnet200_response.rb +297 -0
- data/lib/linode_openapi_client/models/get_vpc_subnets200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_vpc_subnets200_response_all_of_data_inner.rb +297 -0
- data/lib/linode_openapi_client/models/get_vpc_subnets200_response_all_of_data_inner_linodes_inner.rb +227 -0
- data/lib/linode_openapi_client/models/get_vpc_subnets200_response_all_of_data_inner_linodes_inner_interfaces_inner.rb +225 -0
- data/lib/linode_openapi_client/models/get_vpcs200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_vpcs200_response_all_of_data_inner.rb +328 -0
- data/lib/linode_openapi_client/models/get_vpcs200_response_all_of_data_inner_subnets_inner.rb +297 -0
- data/lib/linode_openapi_client/models/get_vpcs200_response_all_of_data_inner_subnets_inner_linodes_inner.rb +227 -0
- data/lib/linode_openapi_client/models/get_vpcs_ips200_response.rb +246 -0
- data/lib/linode_openapi_client/models/get_vpcs_ips200_response_data_inner.rb +370 -0
- data/lib/linode_openapi_client/models/google_pay.rb +236 -0
- data/lib/linode_openapi_client/models/google_pay1.rb +236 -0
- data/lib/linode_openapi_client/models/google_pay2.rb +236 -0
- data/lib/linode_openapi_client/models/google_pay3.rb +236 -0
- data/lib/linode_openapi_client/models/google_pay_data.rb +236 -0
- data/lib/linode_openapi_client/models/grant.rb +271 -0
- data/lib/linode_openapi_client/models/grants_response.rb +347 -0
- data/lib/linode_openapi_client/models/grants_response_global.rb +392 -0
- data/lib/linode_openapi_client/models/invoice.rb +322 -0
- data/lib/linode_openapi_client/models/invoice_item.rb +341 -0
- data/lib/linode_openapi_client/models/linode.rb +492 -0
- data/lib/linode_openapi_client/models/linode1.rb +492 -0
- data/lib/linode_openapi_client/models/linode1_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode1_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode1_backups_schedule.rb +273 -0
- data/lib/linode_openapi_client/models/linode1_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode1_specs.rb +256 -0
- data/lib/linode_openapi_client/models/linode2.rb +492 -0
- data/lib/linode_openapi_client/models/linode2_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode2_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode2_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode2_specs.rb +256 -0
- data/lib/linode_openapi_client/models/linode3.rb +492 -0
- data/lib/linode_openapi_client/models/linode3_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode3_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode3_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode3_specs.rb +256 -0
- data/lib/linode_openapi_client/models/linode4.rb +492 -0
- data/lib/linode_openapi_client/models/linode4_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode4_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode5.rb +492 -0
- data/lib/linode_openapi_client/models/linode5_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode5_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode5_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode5_specs.rb +256 -0
- data/lib/linode_openapi_client/models/linode6.rb +492 -0
- data/lib/linode_openapi_client/models/linode6_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode6_specs.rb +256 -0
- data/lib/linode_openapi_client/models/linode7.rb +492 -0
- data/lib/linode_openapi_client/models/linode7_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode7_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode7_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode_alerts.rb +255 -0
- data/lib/linode_openapi_client/models/linode_backups.rb +245 -0
- data/lib/linode_openapi_client/models/linode_backups_schedule.rb +273 -0
- data/lib/linode_openapi_client/models/linode_placement_group.rb +311 -0
- data/lib/linode_openapi_client/models/linode_specs.rb +256 -0
- data/lib/linode_openapi_client/models/login.rb +300 -0
- data/lib/linode_openapi_client/models/maintenance.rb +301 -0
- data/lib/linode_openapi_client/models/node_balancer.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer1.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer2.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer2_transfer.rb +239 -0
- data/lib/linode_openapi_client/models/node_balancer3.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer4.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer4_transfer.rb +239 -0
- data/lib/linode_openapi_client/models/node_balancer5.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer6.rb +385 -0
- data/lib/linode_openapi_client/models/node_balancer_transfer.rb +239 -0
- data/lib/linode_openapi_client/models/notification.rb +332 -0
- data/lib/linode_openapi_client/models/notification_entity.rb +283 -0
- data/lib/linode_openapi_client/models/oauth_client.rb +341 -0
- data/lib/linode_openapi_client/models/pagination_envelope.rb +236 -0
- data/lib/linode_openapi_client/models/payment.rb +236 -0
- data/lib/linode_openapi_client/models/payment_method.rb +289 -0
- data/lib/linode_openapi_client/models/payment_method_data.rb +106 -0
- data/lib/linode_openapi_client/models/paypal.rb +226 -0
- data/lib/linode_openapi_client/models/paypal1.rb +226 -0
- data/lib/linode_openapi_client/models/paypal_data.rb +226 -0
- data/lib/linode_openapi_client/models/paypal_execute.rb +240 -0
- data/lib/linode_openapi_client/models/post_account_agreements_request.rb +236 -0
- data/lib/linode_openapi_client/models/post_add_linode_config200_response.rb +441 -0
- data/lib/linode_openapi_client/models/post_add_linode_config200_response_devices.rb +278 -0
- data/lib/linode_openapi_client/models/post_add_linode_config200_response_helpers.rb +256 -0
- data/lib/linode_openapi_client/models/post_add_linode_config200_response_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/post_add_linode_config_request.rb +455 -0
- data/lib/linode_openapi_client/models/post_add_linode_config_request_all_of_devices.rb +278 -0
- data/lib/linode_openapi_client/models/post_add_linode_config_request_all_of_helpers.rb +256 -0
- data/lib/linode_openapi_client/models/post_add_linode_config_request_all_of_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/post_add_linode_disk200_response.rb +349 -0
- data/lib/linode_openapi_client/models/post_add_linode_disk_request.rb +406 -0
- data/lib/linode_openapi_client/models/post_add_linode_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/post_add_linode_ip_request.rb +273 -0
- data/lib/linode_openapi_client/models/post_add_ssh_key200_response.rb +274 -0
- data/lib/linode_openapi_client/models/post_add_stack_script200_response.rb +388 -0
- data/lib/linode_openapi_client/models/post_add_stack_script200_response_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/post_add_stack_script_request.rb +408 -0
- data/lib/linode_openapi_client/models/post_add_stack_script_request_all_of_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/post_allocate_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/post_allocate_ip200_response_vpc_nat11.rb +236 -0
- data/lib/linode_openapi_client/models/post_allocate_ip_request.rb +290 -0
- data/lib/linode_openapi_client/models/post_assign_ips_request.rb +242 -0
- data/lib/linode_openapi_client/models/post_assign_ips_request_assignments_inner.rb +239 -0
- data/lib/linode_openapi_client/models/post_assign_ipv4s_request.rb +242 -0
- data/lib/linode_openapi_client/models/post_assign_ipv4s_request_assignments_inner.rb +239 -0
- data/lib/linode_openapi_client/models/post_attach_volume_request.rb +242 -0
- data/lib/linode_openapi_client/models/post_beta_program_request.rb +223 -0
- data/lib/linode_openapi_client/models/post_boot_linode_instance_request.rb +215 -0
- data/lib/linode_openapi_client/models/post_cancel_account200_response.rb +215 -0
- data/lib/linode_openapi_client/models/post_cancel_account409_response.rb +216 -0
- data/lib/linode_openapi_client/models/post_cancel_account409_response_errors_inner.rb +215 -0
- data/lib/linode_openapi_client/models/post_cancel_account_request.rb +215 -0
- data/lib/linode_openapi_client/models/post_child_account_token200_response.rb +294 -0
- data/lib/linode_openapi_client/models/post_client200_response.rb +341 -0
- data/lib/linode_openapi_client/models/post_client_request.rb +354 -0
- data/lib/linode_openapi_client/models/post_clone_domain_request.rb +261 -0
- data/lib/linode_openapi_client/models/post_clone_linode_disk200_response.rb +349 -0
- data/lib/linode_openapi_client/models/post_clone_linode_instance_request.rb +345 -0
- data/lib/linode_openapi_client/models/post_clone_linode_instance_request_placement_group.rb +223 -0
- data/lib/linode_openapi_client/models/post_clone_volume_request.rb +261 -0
- data/lib/linode_openapi_client/models/post_credit_card_request.rb +368 -0
- data/lib/linode_openapi_client/models/post_databases_mysql_instance_backup_request.rb +297 -0
- data/lib/linode_openapi_client/models/post_databases_mysql_instances200_response.rb +488 -0
- data/lib/linode_openapi_client/models/post_databases_mysql_instances200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/post_databases_mysql_instances_request.rb +406 -0
- data/lib/linode_openapi_client/models/post_databases_postgre_sql_instance_backup_request.rb +297 -0
- data/lib/linode_openapi_client/models/post_databases_postgre_sql_instances200_response.rb +512 -0
- data/lib/linode_openapi_client/models/post_databases_postgre_sql_instances200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/post_databases_postgre_sql_instances_request.rb +430 -0
- data/lib/linode_openapi_client/models/post_disable_managed_service200_response.rb +533 -0
- data/lib/linode_openapi_client/models/post_domain_record200_response.rb +516 -0
- data/lib/linode_openapi_client/models/post_domain_record_request.rb +522 -0
- data/lib/linode_openapi_client/models/post_domain_request.rb +516 -0
- data/lib/linode_openapi_client/models/post_enable_managed_service200_response.rb +533 -0
- data/lib/linode_openapi_client/models/post_entity_transfer200_response.rb +309 -0
- data/lib/linode_openapi_client/models/post_entity_transfer_request.rb +221 -0
- data/lib/linode_openapi_client/models/post_execute_pay_pal_payment299_response.rb +216 -0
- data/lib/linode_openapi_client/models/post_execute_pay_pal_payment299_response_warnings_inner.rb +226 -0
- data/lib/linode_openapi_client/models/post_execute_pay_pal_payment_request.rb +240 -0
- data/lib/linode_openapi_client/models/post_firewall_device200_response.rb +245 -0
- data/lib/linode_openapi_client/models/post_firewall_device200_response_entity.rb +280 -0
- data/lib/linode_openapi_client/models/post_firewall_device_request.rb +293 -0
- data/lib/linode_openapi_client/models/post_firewalls200_response.rb +350 -0
- data/lib/linode_openapi_client/models/post_firewalls200_response_rules.rb +296 -0
- data/lib/linode_openapi_client/models/post_firewalls200_response_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/post_firewalls200_response_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/post_firewalls_request.rb +372 -0
- data/lib/linode_openapi_client/models/post_firewalls_request_all_of_rules.rb +296 -0
- data/lib/linode_openapi_client/models/post_firewalls_request_all_of_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/post_firewalls_request_all_of_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/post_firewalls_request_devices.rb +230 -0
- data/lib/linode_openapi_client/models/post_firewalls_request_rules.rb +225 -0
- data/lib/linode_openapi_client/models/post_group_add_linode200_response.rb +342 -0
- data/lib/linode_openapi_client/models/post_group_add_linode200_response_members_inner.rb +225 -0
- data/lib/linode_openapi_client/models/post_group_add_linode_request.rb +218 -0
- data/lib/linode_openapi_client/models/post_group_unassign200_response.rb +342 -0
- data/lib/linode_openapi_client/models/post_group_unassign200_response_members_inner.rb +225 -0
- data/lib/linode_openapi_client/models/post_image200_response.rb +494 -0
- data/lib/linode_openapi_client/models/post_image_request.rb +292 -0
- data/lib/linode_openapi_client/models/post_import_domain_request.rb +239 -0
- data/lib/linode_openapi_client/models/post_ipv6_range200_response.rb +225 -0
- data/lib/linode_openapi_client/models/post_ipv6_range_request.rb +276 -0
- data/lib/linode_openapi_client/models/post_linode_config_interface200_response.rb +388 -0
- data/lib/linode_openapi_client/models/post_linode_config_interface_request.rb +387 -0
- data/lib/linode_openapi_client/models/post_linode_config_interfaces_request.rb +225 -0
- data/lib/linode_openapi_client/models/post_linode_instance_request.rb +534 -0
- data/lib/linode_openapi_client/models/post_linode_instance_request_all_of_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/post_linode_instance_request_all_of_interfaces_inner_ipv4.rb +228 -0
- data/lib/linode_openapi_client/models/post_linode_instance_request_all_of_metadata.rb +216 -0
- data/lib/linode_openapi_client/models/post_linode_instance_request_all_of_placement_group.rb +216 -0
- data/lib/linode_openapi_client/models/post_lke_cluster200_response.rb +315 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools200_response.rb +330 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools200_response_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools200_response_labels.rb +304 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools200_response_nodes_inner.rb +270 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools200_response_taints_inner.rb +347 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools_request.rb +340 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_pools_request_all_of_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_regenerate_request.rb +229 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request.rb +323 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request_control_plane.rb +216 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request_node_pools_inner.rb +341 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request_node_pools_inner_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request_node_pools_inner_disks_inner.rb +260 -0
- data/lib/linode_openapi_client/models/post_lke_cluster_request_node_pools_inner_taints_inner.rb +368 -0
- data/lib/linode_openapi_client/models/post_longview_client200_response.rb +314 -0
- data/lib/linode_openapi_client/models/post_longview_client_request.rb +314 -0
- data/lib/linode_openapi_client/models/post_managed_contact200_response.rb +329 -0
- data/lib/linode_openapi_client/models/post_managed_contact200_response_phone.rb +228 -0
- data/lib/linode_openapi_client/models/post_managed_contact_request.rb +329 -0
- data/lib/linode_openapi_client/models/post_managed_credential200_response.rb +275 -0
- data/lib/linode_openapi_client/models/post_managed_credential_request.rb +336 -0
- data/lib/linode_openapi_client/models/post_managed_credential_revoke_default_response.rb +216 -0
- data/lib/linode_openapi_client/models/post_managed_credential_revoke_default_response_errors_inner.rb +226 -0
- data/lib/linode_openapi_client/models/post_managed_credential_username_password_request.rb +260 -0
- data/lib/linode_openapi_client/models/post_managed_service200_response.rb +533 -0
- data/lib/linode_openapi_client/models/post_managed_service_request.rb +560 -0
- data/lib/linode_openapi_client/models/post_migrate_linode_instance_request.rb +282 -0
- data/lib/linode_openapi_client/models/post_migrate_linode_instance_request_placement_group.rb +223 -0
- data/lib/linode_openapi_client/models/post_mutate_linode_instance_request.rb +217 -0
- data/lib/linode_openapi_client/models/post_node_balancer_config200_response.rb +628 -0
- data/lib/linode_openapi_client/models/post_node_balancer_config_request.rb +628 -0
- data/lib/linode_openapi_client/models/post_node_balancer_config_request_nodes_status.rb +226 -0
- data/lib/linode_openapi_client/models/post_node_balancer_node200_response.rb +399 -0
- data/lib/linode_openapi_client/models/post_node_balancer_node_request.rb +412 -0
- data/lib/linode_openapi_client/models/post_node_balancer_request.rb +343 -0
- data/lib/linode_openapi_client/models/post_node_balancer_request_configs_inner.rb +598 -0
- data/lib/linode_openapi_client/models/post_node_balancer_request_configs_inner_nodes_inner.rb +399 -0
- data/lib/linode_openapi_client/models/post_object_storage_bucket200_response.rb +276 -0
- data/lib/linode_openapi_client/models/post_object_storage_bucket_access_request.rb +259 -0
- data/lib/linode_openapi_client/models/post_object_storage_bucket_request.rb +311 -0
- data/lib/linode_openapi_client/models/post_object_storage_keys200_response.rb +280 -0
- data/lib/linode_openapi_client/models/post_object_storage_keys200_response_bucket_access_inner.rb +279 -0
- data/lib/linode_openapi_client/models/post_object_storage_keys_request.rb +239 -0
- data/lib/linode_openapi_client/models/post_object_storage_keys_request_bucket_access_inner.rb +269 -0
- data/lib/linode_openapi_client/models/post_object_storage_object_url200_response.rb +215 -0
- data/lib/linode_openapi_client/models/post_object_storage_object_url_request.rb +289 -0
- data/lib/linode_openapi_client/models/post_object_storage_ssl_request.rb +240 -0
- data/lib/linode_openapi_client/models/post_pay_pal_payment200_response.rb +225 -0
- data/lib/linode_openapi_client/models/post_pay_pal_payment_request.rb +257 -0
- data/lib/linode_openapi_client/models/post_payment200_response.rb +236 -0
- data/lib/linode_openapi_client/models/post_payment202_response.rb +216 -0
- data/lib/linode_openapi_client/models/post_payment202_response_warnings_inner.rb +226 -0
- data/lib/linode_openapi_client/models/post_payment_method_request.rb +290 -0
- data/lib/linode_openapi_client/models/post_payment_request.rb +246 -0
- data/lib/linode_openapi_client/models/post_personal_access_token200_response.rb +294 -0
- data/lib/linode_openapi_client/models/post_personal_access_token_request.rb +263 -0
- data/lib/linode_openapi_client/models/post_placement_group200_response.rb +342 -0
- data/lib/linode_openapi_client/models/post_placement_group_request.rb +338 -0
- data/lib/linode_openapi_client/models/post_profile_phone_number_request.rb +239 -0
- data/lib/linode_openapi_client/models/post_profile_phone_number_verify_request.rb +222 -0
- data/lib/linode_openapi_client/models/post_promo_credit200_response.rb +320 -0
- data/lib/linode_openapi_client/models/post_promo_credit_request.rb +250 -0
- data/lib/linode_openapi_client/models/post_reboot_linode_instance_request.rb +215 -0
- data/lib/linode_openapi_client/models/post_rebuild_linode_instance_request.rb +352 -0
- data/lib/linode_openapi_client/models/post_rebuild_node_balancer_config200_response.rb +628 -0
- data/lib/linode_openapi_client/models/post_rebuild_node_balancer_config_request.rb +646 -0
- data/lib/linode_openapi_client/models/post_rebuild_node_balancer_config_request_all_of_nodes_inner.rb +357 -0
- data/lib/linode_openapi_client/models/post_replicate_image200_response.rb +494 -0
- data/lib/linode_openapi_client/models/post_replicate_image_request.rb +218 -0
- data/lib/linode_openapi_client/models/post_rescue_linode_instance_request.rb +214 -0
- data/lib/linode_openapi_client/models/post_rescue_linode_instance_request_devices.rb +268 -0
- data/lib/linode_openapi_client/models/post_rescue_linode_instance_request_devices_sdb.rb +226 -0
- data/lib/linode_openapi_client/models/post_rescue_linode_instance_request_devices_sdd.rb +226 -0
- data/lib/linode_openapi_client/models/post_reset_client_secret200_response.rb +341 -0
- data/lib/linode_openapi_client/models/post_reset_disk_password_request.rb +222 -0
- data/lib/linode_openapi_client/models/post_reset_linode_password_request.rb +222 -0
- data/lib/linode_openapi_client/models/post_resize_disk_request.rb +241 -0
- data/lib/linode_openapi_client/models/post_resize_linode_instance_request.rb +280 -0
- data/lib/linode_openapi_client/models/post_resize_volume_request.rb +241 -0
- data/lib/linode_openapi_client/models/post_restore_backup_request.rb +232 -0
- data/lib/linode_openapi_client/models/post_security_questions200_response.rb +218 -0
- data/lib/linode_openapi_client/models/post_security_questions200_response_security_questions_inner.rb +264 -0
- data/lib/linode_openapi_client/models/post_security_questions_request.rb +218 -0
- data/lib/linode_openapi_client/models/post_security_questions_request_security_questions_inner.rb +264 -0
- data/lib/linode_openapi_client/models/post_service_transfer200_response.rb +309 -0
- data/lib/linode_openapi_client/models/post_service_transfer_request.rb +221 -0
- data/lib/linode_openapi_client/models/post_share_ips_request.rb +242 -0
- data/lib/linode_openapi_client/models/post_snapshot200_response.rb +357 -0
- data/lib/linode_openapi_client/models/post_snapshot_request.rb +250 -0
- data/lib/linode_openapi_client/models/post_tag_request.rb +298 -0
- data/lib/linode_openapi_client/models/post_tfa_confirm200_response.rb +215 -0
- data/lib/linode_openapi_client/models/post_tfa_confirm_request.rb +215 -0
- data/lib/linode_openapi_client/models/post_tfa_enable200_response.rb +225 -0
- data/lib/linode_openapi_client/models/post_ticket200_response.rb +430 -0
- data/lib/linode_openapi_client/models/post_ticket200_response_entity.rb +246 -0
- data/lib/linode_openapi_client/models/post_ticket_reply200_response.rb +266 -0
- data/lib/linode_openapi_client/models/post_ticket_reply_request.rb +250 -0
- data/lib/linode_openapi_client/models/post_ticket_request.rb +416 -0
- data/lib/linode_openapi_client/models/post_upload_image200_response.rb +224 -0
- data/lib/linode_openapi_client/models/post_upload_image200_response_image.rb +494 -0
- data/lib/linode_openapi_client/models/post_upload_image200_response_image_regions_inner.rb +259 -0
- data/lib/linode_openapi_client/models/post_upload_image_request.rb +299 -0
- data/lib/linode_openapi_client/models/post_user200_response.rb +329 -0
- data/lib/linode_openapi_client/models/post_user_request.rb +342 -0
- data/lib/linode_openapi_client/models/post_user_request_all_of_last_login.rb +260 -0
- data/lib/linode_openapi_client/models/post_volume_request.rb +315 -0
- data/lib/linode_openapi_client/models/post_vpc200_response.rb +328 -0
- data/lib/linode_openapi_client/models/post_vpc200_response_subnets_inner.rb +297 -0
- data/lib/linode_openapi_client/models/post_vpc_request.rb +341 -0
- data/lib/linode_openapi_client/models/post_vpc_request_all_of_subnets_inner.rb +297 -0
- data/lib/linode_openapi_client/models/post_vpc_request_all_of_subnets_inner_linodes_inner.rb +227 -0
- data/lib/linode_openapi_client/models/post_vpc_subnet200_response.rb +297 -0
- data/lib/linode_openapi_client/models/post_vpc_subnet200_response_linodes_inner.rb +227 -0
- data/lib/linode_openapi_client/models/post_vpc_subnet200_response_linodes_inner_interfaces_inner.rb +225 -0
- data/lib/linode_openapi_client/models/post_vpc_subnet_request.rb +268 -0
- data/lib/linode_openapi_client/models/promotion.rb +320 -0
- data/lib/linode_openapi_client/models/properties_entities.rb +218 -0
- data/lib/linode_openapi_client/models/proxy_user_token.rb +294 -0
- data/lib/linode_openapi_client/models/put_account200_response.rb +632 -0
- data/lib/linode_openapi_client/models/put_account200_response_active_promotions_inner.rb +320 -0
- data/lib/linode_openapi_client/models/put_account_request.rb +632 -0
- data/lib/linode_openapi_client/models/put_account_request_active_promotions_inner.rb +320 -0
- data/lib/linode_openapi_client/models/put_account_request_credit_card.rb +226 -0
- data/lib/linode_openapi_client/models/put_account_settings200_response.rb +292 -0
- data/lib/linode_openapi_client/models/put_account_settings_request.rb +292 -0
- data/lib/linode_openapi_client/models/put_client200_response.rb +341 -0
- data/lib/linode_openapi_client/models/put_client_request.rb +341 -0
- data/lib/linode_openapi_client/models/put_databases_mysql_instance200_response.rb +488 -0
- data/lib/linode_openapi_client/models/put_databases_mysql_instance200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/put_databases_mysql_instance_request.rb +275 -0
- data/lib/linode_openapi_client/models/put_databases_mysql_instance_request_updates.rb +401 -0
- data/lib/linode_openapi_client/models/put_databases_postgre_sql_instance200_response.rb +512 -0
- data/lib/linode_openapi_client/models/put_databases_postgre_sql_instance200_response_updates.rb +401 -0
- data/lib/linode_openapi_client/models/put_databases_postgre_sql_instance_request.rb +275 -0
- data/lib/linode_openapi_client/models/put_disk200_response.rb +349 -0
- data/lib/linode_openapi_client/models/put_disk_request.rb +243 -0
- data/lib/linode_openapi_client/models/put_domain_record200_response.rb +516 -0
- data/lib/linode_openapi_client/models/put_domain_record_request.rb +464 -0
- data/lib/linode_openapi_client/models/put_firewall200_response.rb +350 -0
- data/lib/linode_openapi_client/models/put_firewall200_response_rules.rb +296 -0
- data/lib/linode_openapi_client/models/put_firewall200_response_rules_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_firewall200_response_rules_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_firewall_request.rb +310 -0
- data/lib/linode_openapi_client/models/put_firewall_rules200_response.rb +296 -0
- data/lib/linode_openapi_client/models/put_firewall_rules200_response_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_firewall_rules200_response_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_firewall_rules_request.rb +291 -0
- data/lib/linode_openapi_client/models/put_firewall_rules_request_all_of_inbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_firewall_rules_request_all_of_outbound_inner.rb +368 -0
- data/lib/linode_openapi_client/models/put_image200_response.rb +494 -0
- data/lib/linode_openapi_client/models/put_image_request.rb +494 -0
- data/lib/linode_openapi_client/models/put_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/put_ip_request.rb +218 -0
- data/lib/linode_openapi_client/models/put_linode_config200_response.rb +441 -0
- data/lib/linode_openapi_client/models/put_linode_config200_response_devices.rb +278 -0
- data/lib/linode_openapi_client/models/put_linode_config200_response_helpers.rb +256 -0
- data/lib/linode_openapi_client/models/put_linode_config200_response_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/put_linode_config_interface200_response.rb +388 -0
- data/lib/linode_openapi_client/models/put_linode_config_interface_request.rb +238 -0
- data/lib/linode_openapi_client/models/put_linode_config_interface_request_ipv4.rb +228 -0
- data/lib/linode_openapi_client/models/put_linode_config_request.rb +441 -0
- data/lib/linode_openapi_client/models/put_linode_config_request_devices.rb +278 -0
- data/lib/linode_openapi_client/models/put_linode_config_request_interfaces_inner.rb +388 -0
- data/lib/linode_openapi_client/models/put_linode_ip200_response.rb +341 -0
- data/lib/linode_openapi_client/models/put_linode_ip200_response_vpc_nat11.rb +236 -0
- data/lib/linode_openapi_client/models/put_linode_ip_request.rb +218 -0
- data/lib/linode_openapi_client/models/put_lke_cluster200_response.rb +295 -0
- data/lib/linode_openapi_client/models/put_lke_cluster_request.rb +274 -0
- data/lib/linode_openapi_client/models/put_lke_cluster_request_control_plane.rb +216 -0
- data/lib/linode_openapi_client/models/put_lke_node_pool200_response.rb +330 -0
- data/lib/linode_openapi_client/models/put_lke_node_pool200_response_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/put_lke_node_pool200_response_taints_inner.rb +347 -0
- data/lib/linode_openapi_client/models/put_lke_node_pool_request.rb +292 -0
- data/lib/linode_openapi_client/models/put_lke_node_pool_request_autoscaler.rb +292 -0
- data/lib/linode_openapi_client/models/put_longview_client200_response.rb +314 -0
- data/lib/linode_openapi_client/models/put_longview_client200_response_apps.rb +236 -0
- data/lib/linode_openapi_client/models/put_longview_client_request.rb +314 -0
- data/lib/linode_openapi_client/models/put_longview_plan200_response.rb +279 -0
- data/lib/linode_openapi_client/models/put_longview_plan200_response_price.rb +226 -0
- data/lib/linode_openapi_client/models/put_longview_plan_request.rb +251 -0
- data/lib/linode_openapi_client/models/put_managed_contact200_response.rb +329 -0
- data/lib/linode_openapi_client/models/put_managed_contact_request.rb +329 -0
- data/lib/linode_openapi_client/models/put_managed_linode_setting200_response.rb +245 -0
- data/lib/linode_openapi_client/models/put_managed_linode_setting200_response_ssh.rb +300 -0
- data/lib/linode_openapi_client/models/put_managed_linode_setting_request.rb +245 -0
- data/lib/linode_openapi_client/models/put_managed_linode_setting_request_ssh.rb +300 -0
- data/lib/linode_openapi_client/models/put_managed_service200_response.rb +533 -0
- data/lib/linode_openapi_client/models/put_managed_service_request.rb +533 -0
- data/lib/linode_openapi_client/models/put_node_balancer_config200_response.rb +628 -0
- data/lib/linode_openapi_client/models/put_node_balancer_config_request.rb +628 -0
- data/lib/linode_openapi_client/models/put_node_balancer_node200_response.rb +399 -0
- data/lib/linode_openapi_client/models/put_node_balancer_node_request.rb +399 -0
- data/lib/linode_openapi_client/models/put_object_storage_bucket_acl200_response.rb +259 -0
- data/lib/linode_openapi_client/models/put_object_storage_bucket_acl_request.rb +273 -0
- data/lib/linode_openapi_client/models/put_object_storage_key200_response.rb +268 -0
- data/lib/linode_openapi_client/models/put_object_storage_key200_response_regions_inner.rb +225 -0
- data/lib/linode_openapi_client/models/put_object_storage_key_request.rb +227 -0
- data/lib/linode_openapi_client/models/put_personal_access_token200_response.rb +294 -0
- data/lib/linode_openapi_client/models/put_personal_access_token_request.rb +294 -0
- data/lib/linode_openapi_client/models/put_placement_group200_response.rb +342 -0
- data/lib/linode_openapi_client/models/put_placement_group_request.rb +234 -0
- data/lib/linode_openapi_client/models/put_profile200_response.rb +385 -0
- data/lib/linode_openapi_client/models/put_profile200_response_referrals.rb +266 -0
- data/lib/linode_openapi_client/models/put_profile_request.rb +385 -0
- data/lib/linode_openapi_client/models/put_profile_request_referrals.rb +266 -0
- data/lib/linode_openapi_client/models/put_ssh_key_request.rb +243 -0
- data/lib/linode_openapi_client/models/put_stack_script200_response.rb +388 -0
- data/lib/linode_openapi_client/models/put_stack_script200_response_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/put_stack_script_request.rb +388 -0
- data/lib/linode_openapi_client/models/put_stack_script_request_user_defined_fields_inner.rb +287 -0
- data/lib/linode_openapi_client/models/put_storage_bucket_access_request.rb +259 -0
- data/lib/linode_openapi_client/models/put_user200_response.rb +372 -0
- data/lib/linode_openapi_client/models/put_user_grants200_response.rb +347 -0
- data/lib/linode_openapi_client/models/put_user_grants200_response_global.rb +392 -0
- data/lib/linode_openapi_client/models/put_user_grants_request.rb +347 -0
- data/lib/linode_openapi_client/models/put_user_grants_request_global.rb +392 -0
- data/lib/linode_openapi_client/models/put_user_grants_request_stackscript_inner.rb +271 -0
- data/lib/linode_openapi_client/models/put_user_request.rb +329 -0
- data/lib/linode_openapi_client/models/put_volume_request.rb +413 -0
- data/lib/linode_openapi_client/models/put_vpc200_response.rb +328 -0
- data/lib/linode_openapi_client/models/put_vpc200_response_subnets_inner.rb +297 -0
- data/lib/linode_openapi_client/models/put_vpc_request.rb +275 -0
- data/lib/linode_openapi_client/models/put_vpc_subnet200_response.rb +297 -0
- data/lib/linode_openapi_client/models/put_vpc_subnet_request.rb +244 -0
- data/lib/linode_openapi_client/models/service_transfer.rb +309 -0
- data/lib/linode_openapi_client/models/stats_available.rb +266 -0
- data/lib/linode_openapi_client/models/stats_available_cpu_inner.rb +226 -0
- data/lib/linode_openapi_client/models/stats_available_net_out_inner.rb +226 -0
- data/lib/linode_openapi_client/models/transfer.rb +247 -0
- data/lib/linode_openapi_client/models/transfer_region_transfers_inner.rb +245 -0
- data/lib/linode_openapi_client/models/user.rb +329 -0
- data/lib/linode_openapi_client/models/user_type.rb +250 -0
- data/lib/linode_openapi_client/models/volume.rb +434 -0
- data/lib/linode_openapi_client/models/volume1.rb +434 -0
- data/lib/linode_openapi_client/models/volume2.rb +434 -0
- data/lib/linode_openapi_client/models/volume3.rb +434 -0
- data/lib/linode_openapi_client/models/volume4.rb +434 -0
- data/lib/linode_openapi_client/models/volume5.rb +434 -0
- data/lib/linode_openapi_client/models/volume6.rb +434 -0
- data/lib/linode_openapi_client/models/volume7.rb +434 -0
- data/lib/linode_openapi_client/models/volume8.rb +434 -0
- data/lib/linode_openapi_client/models/warning_object.rb +226 -0
- data/lib/linode_openapi_client/version.rb +15 -0
- data/lib/linode_openapi_client.rb +905 -0
- data/linode_openapi_client-1.0.0.gem +0 -0
- data/linode_openapi_client.gemspec +39 -0
- data/spec/api/account_api_spec.rb +889 -0
- data/spec/api/beta_programs_api_spec.rb +62 -0
- data/spec/api/databases_api_spec.rb +487 -0
- data/spec/api/domains_api_spec.rb +214 -0
- data/spec/api/images_api_spec.rb +129 -0
- data/spec/api/linode_instances_api_spec.rb +823 -0
- data/spec/api/linode_kubernetes_engine_lke_api_spec.rb +343 -0
- data/spec/api/linode_stack_scripts_api_spec.rb +102 -0
- data/spec/api/longview_api_spec.rb +154 -0
- data/spec/api/managed_api_spec.rb +366 -0
- data/spec/api/networking_api_spec.rb +372 -0
- data/spec/api/node_balancers_api_spec.rb +292 -0
- data/spec/api/object_storage_api_spec.rb +351 -0
- data/spec/api/placement_groups_api_spec.rb +130 -0
- data/spec/api/profile_api_spec.rb +432 -0
- data/spec/api/regions_api_spec.rb +85 -0
- data/spec/api/support_api_spec.rb +131 -0
- data/spec/api/tags_api_spec.rb +90 -0
- data/spec/api/volumes_api_spec.rb +159 -0
- data/spec/api/vpcs_api_spec.rb +203 -0
- data/spec/models/account_active_promotions_inner_spec.rb +82 -0
- data/spec/models/account_availability_spec.rb +48 -0
- data/spec/models/account_settings_spec.rb +64 -0
- data/spec/models/account_spec.rb +154 -0
- data/spec/models/added_get_account_logins200_data_inner_spec.rb +70 -0
- data/spec/models/added_get_account_logins200_spec.rb +54 -0
- data/spec/models/added_get_availability200_all_of_data_spec.rb +48 -0
- data/spec/models/added_get_availability200_spec.rb +54 -0
- data/spec/models/added_get_child_accounts200_data_inner_credit_card_spec.rb +42 -0
- data/spec/models/added_get_child_accounts200_data_inner_spec.rb +148 -0
- data/spec/models/added_get_child_accounts200_spec.rb +54 -0
- data/spec/models/added_get_clients200_data_inner_spec.rb +76 -0
- data/spec/models/added_get_clients200_spec.rb +54 -0
- data/spec/models/added_get_enrolled_beta_programs200_all_of_data_spec.rb +66 -0
- data/spec/models/added_get_enrolled_beta_programs200_spec.rb +54 -0
- data/spec/models/added_get_entity_transfers200_all_of_data_spec.rb +76 -0
- data/spec/models/added_get_entity_transfers200_all_of_entities_spec.rb +36 -0
- data/spec/models/added_get_entity_transfers200_spec.rb +54 -0
- data/spec/models/added_get_events200_data_inner_entity_spec.rb +58 -0
- data/spec/models/added_get_events200_data_inner_spec.rb +122 -0
- data/spec/models/added_get_events200_spec.rb +54 -0
- data/spec/models/added_get_invoice_items200_data_inner_spec.rb +94 -0
- data/spec/models/added_get_invoice_items200_spec.rb +54 -0
- data/spec/models/added_get_invoices200_data_inner_spec.rb +82 -0
- data/spec/models/added_get_invoices200_spec.rb +54 -0
- data/spec/models/added_get_maintenance200_data_inner_entity_spec.rb +54 -0
- data/spec/models/added_get_maintenance200_data_inner_spec.rb +68 -0
- data/spec/models/added_get_maintenance200_spec.rb +54 -0
- data/spec/models/added_get_notifications200_data_inner_entity_spec.rb +58 -0
- data/spec/models/added_get_notifications200_data_inner_spec.rb +86 -0
- data/spec/models/added_get_notifications200_spec.rb +54 -0
- data/spec/models/added_get_payment_methods200_data_inner_data_spec.rb +32 -0
- data/spec/models/added_get_payment_methods200_data_inner_spec.rb +64 -0
- data/spec/models/added_get_payment_methods200_spec.rb +54 -0
- data/spec/models/added_get_payments200_spec.rb +54 -0
- data/spec/models/added_get_service_transfers200_data_inner_spec.rb +76 -0
- data/spec/models/added_get_service_transfers200_spec.rb +54 -0
- data/spec/models/added_get_user200_spec.rb +88 -0
- data/spec/models/added_get_users200_data_inner_spec.rb +88 -0
- data/spec/models/added_get_users200_spec.rb +54 -0
- data/spec/models/added_post_beta_program_spec.rb +36 -0
- data/spec/models/added_post_cancel_account200_spec.rb +36 -0
- data/spec/models/added_post_cancel_account409_spec.rb +36 -0
- data/spec/models/added_post_cancel_account_spec.rb +36 -0
- data/spec/models/added_post_client_spec.rb +76 -0
- data/spec/models/added_post_entity_transfer_spec.rb +36 -0
- data/spec/models/added_post_pay_pal_payment200_spec.rb +42 -0
- data/spec/models/added_post_payment_method_data_spec.rb +54 -0
- data/spec/models/added_post_payment_method_spec.rb +52 -0
- data/spec/models/added_post_payment_spec.rb +42 -0
- data/spec/models/added_post_promo_credit_spec.rb +36 -0
- data/spec/models/added_post_service_transfer_spec.rb +36 -0
- data/spec/models/added_post_user_spec.rb +78 -0
- data/spec/models/added_put_user200_all_of_last_login_spec.rb +46 -0
- data/spec/models/added_put_user200_spec.rb +88 -0
- data/spec/models/agreements_spec.rb +48 -0
- data/spec/models/beta_program_enrolled_spec.rb +66 -0
- data/spec/models/child_account_spec.rb +148 -0
- data/spec/models/credit_card1_spec.rb +48 -0
- data/spec/models/credit_card2_spec.rb +48 -0
- data/spec/models/credit_card_data_spec.rb +48 -0
- data/spec/models/credit_card_spec.rb +48 -0
- data/spec/models/domain1_spec.rb +122 -0
- data/spec/models/domain2_spec.rb +122 -0
- data/spec/models/domain3_spec.rb +122 -0
- data/spec/models/domain4_spec.rb +122 -0
- data/spec/models/domain5_spec.rb +122 -0
- data/spec/models/domain6_spec.rb +122 -0
- data/spec/models/domain7_spec.rb +122 -0
- data/spec/models/domain_spec.rb +122 -0
- data/spec/models/entities_spec.rb +36 -0
- data/spec/models/entity_transfer_spec.rb +76 -0
- data/spec/models/error_object_spec.rb +42 -0
- data/spec/models/event_entity_spec.rb +58 -0
- data/spec/models/event_secondary_entity_spec.rb +54 -0
- data/spec/models/event_spec.rb +122 -0
- data/spec/models/filter_and_sort_criteria_spec.rb +94 -0
- data/spec/models/get_account200_response_active_promotions_inner_spec.rb +82 -0
- data/spec/models/get_account200_response_credit_card_spec.rb +42 -0
- data/spec/models/get_account200_response_spec.rb +154 -0
- data/spec/models/get_account_agreements200_response_spec.rb +48 -0
- data/spec/models/get_account_availability200_response_spec.rb +48 -0
- data/spec/models/get_account_login200_response_spec.rb +70 -0
- data/spec/models/get_account_logins200_response_data_inner_spec.rb +70 -0
- data/spec/models/get_account_logins200_response_spec.rb +54 -0
- data/spec/models/get_account_settings200_response_spec.rb +64 -0
- data/spec/models/get_availability200_response_all_of_data_inner_spec.rb +48 -0
- data/spec/models/get_availability200_response_spec.rb +54 -0
- data/spec/models/get_backup200_response_disks_inner_spec.rb +52 -0
- data/spec/models/get_backup200_response_spec.rb +98 -0
- data/spec/models/get_backups200_response_automatic_inner_all_of_disks_inner_spec.rb +52 -0
- data/spec/models/get_backups200_response_automatic_inner_spec.rb +94 -0
- data/spec/models/get_backups200_response_snapshot_current_disks_inner_spec.rb +52 -0
- data/spec/models/get_backups200_response_snapshot_current_spec.rb +98 -0
- data/spec/models/get_backups200_response_snapshot_in_progress_spec.rb +98 -0
- data/spec/models/get_backups200_response_snapshot_spec.rb +42 -0
- data/spec/models/get_backups200_response_spec.rb +42 -0
- data/spec/models/get_beta_program200_response_spec.rb +72 -0
- data/spec/models/get_beta_programs200_response_all_of_data_inner_spec.rb +72 -0
- data/spec/models/get_beta_programs200_response_spec.rb +54 -0
- data/spec/models/get_child_account200_response_credit_card_spec.rb +42 -0
- data/spec/models/get_child_account200_response_spec.rb +148 -0
- data/spec/models/get_child_accounts200_response_data_inner_spec.rb +148 -0
- data/spec/models/get_child_accounts200_response_spec.rb +54 -0
- data/spec/models/get_client200_response_spec.rb +76 -0
- data/spec/models/get_clients200_response_data_inner_spec.rb +76 -0
- data/spec/models/get_clients200_response_spec.rb +54 -0
- data/spec/models/get_databases_engine200_response_spec.rb +60 -0
- data/spec/models/get_databases_engines200_response_all_of_data_inner_spec.rb +60 -0
- data/spec/models/get_databases_engines200_response_spec.rb +54 -0
- data/spec/models/get_databases_instances200_response_all_of_data_inner_hosts_spec.rb +42 -0
- data/spec/models/get_databases_instances200_response_all_of_data_inner_spec.rb +132 -0
- data/spec/models/get_databases_instances200_response_all_of_data_inner_updates_spec.rb +64 -0
- data/spec/models/get_databases_instances200_response_spec.rb +54 -0
- data/spec/models/get_databases_mysql_instance200_response_spec.rb +156 -0
- data/spec/models/get_databases_mysql_instance200_response_updates_spec.rb +64 -0
- data/spec/models/get_databases_mysql_instance_backup200_response_spec.rb +58 -0
- data/spec/models/get_databases_mysql_instance_backups200_response_all_of_data_inner_spec.rb +58 -0
- data/spec/models/get_databases_mysql_instance_backups200_response_spec.rb +54 -0
- data/spec/models/get_databases_mysql_instances200_response_all_of_data_inner_spec.rb +156 -0
- data/spec/models/get_databases_mysql_instances200_response_spec.rb +54 -0
- data/spec/models/get_databases_postgre_sql_instance200_response_hosts_spec.rb +42 -0
- data/spec/models/get_databases_postgre_sql_instance200_response_spec.rb +166 -0
- data/spec/models/get_databases_postgre_sql_instance200_response_updates_spec.rb +64 -0
- data/spec/models/get_databases_postgre_sql_instance_backups200_response_all_of_data_inner_spec.rb +58 -0
- data/spec/models/get_databases_postgre_sql_instance_backups200_response_spec.rb +54 -0
- data/spec/models/get_databases_postgre_sql_instance_credentials200_response_spec.rb +42 -0
- data/spec/models/get_databases_postgre_sql_instances200_response_all_of_data_inner_hosts_spec.rb +42 -0
- data/spec/models/get_databases_postgre_sql_instances200_response_all_of_data_inner_spec.rb +166 -0
- data/spec/models/get_databases_postgre_sql_instances200_response_all_of_data_inner_updates_spec.rb +64 -0
- data/spec/models/get_databases_postgre_sql_instances200_response_spec.rb +54 -0
- data/spec/models/get_databases_postgresql_instance_backup200_response_spec.rb +58 -0
- data/spec/models/get_databases_postgresql_instance_ssl200_response_spec.rb +36 -0
- data/spec/models/get_databases_type200_response_engines_postgresql_inner_price_spec.rb +42 -0
- data/spec/models/get_databases_type200_response_engines_postgresql_inner_spec.rb +46 -0
- data/spec/models/get_databases_type200_response_engines_spec.rb +42 -0
- data/spec/models/get_databases_type200_response_spec.rb +78 -0
- data/spec/models/get_databases_types200_response_all_of_data_inner_engines_mysql_inner_spec.rb +46 -0
- data/spec/models/get_databases_types200_response_all_of_data_inner_engines_postgresql_inner_price_spec.rb +42 -0
- data/spec/models/get_databases_types200_response_all_of_data_inner_engines_postgresql_inner_spec.rb +46 -0
- data/spec/models/get_databases_types200_response_all_of_data_inner_engines_spec.rb +42 -0
- data/spec/models/get_databases_types200_response_all_of_data_inner_spec.rb +78 -0
- data/spec/models/get_databases_types200_response_spec.rb +54 -0
- data/spec/models/get_devices200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_devices200_response_spec.rb +54 -0
- data/spec/models/get_domain_record200_response_spec.rb +116 -0
- data/spec/models/get_domain_records200_response_data_inner_spec.rb +116 -0
- data/spec/models/get_domain_records200_response_spec.rb +54 -0
- data/spec/models/get_domain_zone200_response_spec.rb +36 -0
- data/spec/models/get_domains200_response_spec.rb +54 -0
- data/spec/models/get_enrolled_beta_program200_response_spec.rb +66 -0
- data/spec/models/get_enrolled_beta_programs200_response_all_of_data_inner_spec.rb +66 -0
- data/spec/models/get_enrolled_beta_programs200_response_spec.rb +54 -0
- data/spec/models/get_entity_transfer200_response_spec.rb +76 -0
- data/spec/models/get_entity_transfers200_response_all_of_data_inner_entities_spec.rb +36 -0
- data/spec/models/get_entity_transfers200_response_all_of_data_inner_spec.rb +76 -0
- data/spec/models/get_entity_transfers200_response_spec.rb +54 -0
- data/spec/models/get_event200_response_entity_spec.rb +58 -0
- data/spec/models/get_event200_response_secondary_entity_spec.rb +54 -0
- data/spec/models/get_event200_response_spec.rb +122 -0
- data/spec/models/get_events200_response_data_inner_entity_spec.rb +58 -0
- data/spec/models/get_events200_response_data_inner_secondary_entity_spec.rb +54 -0
- data/spec/models/get_events200_response_data_inner_spec.rb +122 -0
- data/spec/models/get_events200_response_spec.rb +54 -0
- data/spec/models/get_firewall200_response_rules_inbound_inner_addresses_spec.rb +42 -0
- data/spec/models/get_firewall200_response_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/get_firewall200_response_rules_outbound_inner_addresses_spec.rb +42 -0
- data/spec/models/get_firewall200_response_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/get_firewall200_response_rules_spec.rb +62 -0
- data/spec/models/get_firewall200_response_spec.rb +76 -0
- data/spec/models/get_firewall_device200_response_entity_spec.rb +58 -0
- data/spec/models/get_firewall_device200_response_spec.rb +54 -0
- data/spec/models/get_firewall_devices200_response_data_inner_entity_spec.rb +58 -0
- data/spec/models/get_firewall_devices200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_firewall_devices200_response_spec.rb +54 -0
- data/spec/models/get_firewall_rules200_response_outbound_inner_spec.rb +74 -0
- data/spec/models/get_firewall_rules200_response_spec.rb +62 -0
- data/spec/models/get_firewalls200_response_data_inner_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/get_firewalls200_response_data_inner_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/get_firewalls200_response_data_inner_rules_spec.rb +62 -0
- data/spec/models/get_firewalls200_response_data_inner_spec.rb +76 -0
- data/spec/models/get_firewalls200_response_spec.rb +54 -0
- data/spec/models/get_image200_response_spec.rb +146 -0
- data/spec/models/get_images200_response_data_inner_regions_inner_spec.rb +46 -0
- data/spec/models/get_images200_response_data_inner_spec.rb +146 -0
- data/spec/models/get_images200_response_spec.rb +54 -0
- data/spec/models/get_invoice200_response_spec.rb +82 -0
- data/spec/models/get_invoice200_response_tax_summary_inner_spec.rb +42 -0
- data/spec/models/get_invoice_items200_response_data_inner_spec.rb +94 -0
- data/spec/models/get_invoice_items200_response_spec.rb +54 -0
- data/spec/models/get_invoices200_response_data_inner_spec.rb +82 -0
- data/spec/models/get_invoices200_response_data_inner_tax_summary_inner_spec.rb +42 -0
- data/spec/models/get_invoices200_response_spec.rb +54 -0
- data/spec/models/get_ip200_response_spec.rb +94 -0
- data/spec/models/get_ips200_response_all_of_data_inner_spec.rb +94 -0
- data/spec/models/get_ips200_response_all_of_data_inner_vpc_nat11_spec.rb +48 -0
- data/spec/models/get_ips200_response_spec.rb +54 -0
- data/spec/models/get_ipv6_pools200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_ipv6_pools200_response_spec.rb +54 -0
- data/spec/models/get_ipv6_range200_response_spec.rb +60 -0
- data/spec/models/get_ipv6_ranges200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_ipv6_ranges200_response_spec.rb +54 -0
- data/spec/models/get_kernel200_response_spec.rb +82 -0
- data/spec/models/get_kernels200_response_data_inner_spec.rb +82 -0
- data/spec/models/get_kernels200_response_spec.rb +54 -0
- data/spec/models/get_linode_config200_response_devices_spec.rb +78 -0
- data/spec/models/get_linode_config200_response_interfaces_inner_spec.rb +94 -0
- data/spec/models/get_linode_config200_response_spec.rb +104 -0
- data/spec/models/get_linode_config_interface200_response_spec.rb +94 -0
- data/spec/models/get_linode_config_interfaces200_response_inner_spec.rb +94 -0
- data/spec/models/get_linode_configs200_response_data_inner_devices_spec.rb +78 -0
- data/spec/models/get_linode_configs200_response_data_inner_helpers_spec.rb +60 -0
- data/spec/models/get_linode_configs200_response_data_inner_interfaces_inner_spec.rb +94 -0
- data/spec/models/get_linode_configs200_response_data_inner_spec.rb +104 -0
- data/spec/models/get_linode_configs200_response_spec.rb +54 -0
- data/spec/models/get_linode_disk200_response_spec.rb +80 -0
- data/spec/models/get_linode_disks200_response_data_inner_spec.rb +80 -0
- data/spec/models/get_linode_disks200_response_spec.rb +54 -0
- data/spec/models/get_linode_firewalls200_response_data_inner_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/get_linode_firewalls200_response_data_inner_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/get_linode_firewalls200_response_data_inner_rules_spec.rb +62 -0
- data/spec/models/get_linode_firewalls200_response_data_inner_spec.rb +76 -0
- data/spec/models/get_linode_firewalls200_response_spec.rb +54 -0
- data/spec/models/get_linode_instances200_response_spec.rb +54 -0
- data/spec/models/get_linode_instances_x_filter_parameter_spec.rb +32 -0
- data/spec/models/get_linode_ip200_response_spec.rb +94 -0
- data/spec/models/get_linode_ip200_response_vpc_nat11_spec.rb +48 -0
- data/spec/models/get_linode_ips200_response_ipv4_private_inner_spec.rb +84 -0
- data/spec/models/get_linode_ips200_response_ipv4_public_inner_spec.rb +94 -0
- data/spec/models/get_linode_ips200_response_ipv4_reserved_inner_spec.rb +94 -0
- data/spec/models/get_linode_ips200_response_ipv4_reserved_inner_vpc_nat11_spec.rb +48 -0
- data/spec/models/get_linode_ips200_response_ipv4_shared_inner_spec.rb +94 -0
- data/spec/models/get_linode_ips200_response_ipv4_spec.rb +60 -0
- data/spec/models/get_linode_ips200_response_ipv4_vpc_inner_spec.rb +126 -0
- data/spec/models/get_linode_ips200_response_ipv6_link_local_spec.rb +84 -0
- data/spec/models/get_linode_ips200_response_ipv6_slaac_spec.rb +84 -0
- data/spec/models/get_linode_ips200_response_ipv6_spec.rb +48 -0
- data/spec/models/get_linode_ips200_response_spec.rb +42 -0
- data/spec/models/get_linode_node_balancers200_response_spec.rb +54 -0
- data/spec/models/get_linode_stats200_response_io_spec.rb +42 -0
- data/spec/models/get_linode_stats200_response_netv4_spec.rb +54 -0
- data/spec/models/get_linode_stats200_response_netv6_spec.rb +54 -0
- data/spec/models/get_linode_stats200_response_spec.rb +60 -0
- data/spec/models/get_linode_stats_by_year_month200_response_netv4_spec.rb +54 -0
- data/spec/models/get_linode_stats_by_year_month200_response_netv6_spec.rb +54 -0
- data/spec/models/get_linode_stats_by_year_month200_response_spec.rb +60 -0
- data/spec/models/get_linode_transfer200_response_spec.rb +48 -0
- data/spec/models/get_linode_transfer_by_year_month200_response_spec.rb +48 -0
- data/spec/models/get_linode_type200_response_addons_backups_region_prices_inner_spec.rb +48 -0
- data/spec/models/get_linode_type200_response_addons_backups_spec.rb +42 -0
- data/spec/models/get_linode_type200_response_addons_spec.rb +36 -0
- data/spec/models/get_linode_type200_response_region_prices_inner_spec.rb +48 -0
- data/spec/models/get_linode_type200_response_spec.rb +112 -0
- data/spec/models/get_linode_types200_response_data_inner_addons_backups_price_spec.rb +42 -0
- data/spec/models/get_linode_types200_response_data_inner_addons_backups_region_prices_inner_spec.rb +48 -0
- data/spec/models/get_linode_types200_response_data_inner_addons_backups_spec.rb +42 -0
- data/spec/models/get_linode_types200_response_data_inner_addons_spec.rb +36 -0
- data/spec/models/get_linode_types200_response_data_inner_price_spec.rb +42 -0
- data/spec/models/get_linode_types200_response_data_inner_region_prices_inner_spec.rb +48 -0
- data/spec/models/get_linode_types200_response_data_inner_spec.rb +112 -0
- data/spec/models/get_linode_types200_response_spec.rb +54 -0
- data/spec/models/get_linode_volumes200_response_spec.rb +54 -0
- data/spec/models/get_lke_cluster200_response_spec.rb +78 -0
- data/spec/models/get_lke_cluster_api_endpoints200_response_data_inner_spec.rb +36 -0
- data/spec/models/get_lke_cluster_api_endpoints200_response_spec.rb +54 -0
- data/spec/models/get_lke_cluster_dashboard200_response_spec.rb +36 -0
- data/spec/models/get_lke_cluster_kubeconfig200_response_spec.rb +36 -0
- data/spec/models/get_lke_cluster_node200_response_spec.rb +52 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_autoscaler_spec.rb +48 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_disks_inner_spec.rb +46 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_labels_spec.rb +42 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_nodes_inner_spec.rb +52 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_spec.rb +84 -0
- data/spec/models/get_lke_cluster_pools200_response_data_inner_taints_inner_spec.rb +52 -0
- data/spec/models/get_lke_cluster_pools200_response_spec.rb +54 -0
- data/spec/models/get_lke_clusters200_response_data_inner_control_plane_spec.rb +36 -0
- data/spec/models/get_lke_clusters200_response_data_inner_spec.rb +78 -0
- data/spec/models/get_lke_clusters200_response_spec.rb +54 -0
- data/spec/models/get_lke_node_pool200_response_nodes_inner_spec.rb +52 -0
- data/spec/models/get_lke_node_pool200_response_spec.rb +84 -0
- data/spec/models/get_lke_versions200_response_data_inner_spec.rb +36 -0
- data/spec/models/get_lke_versions200_response_spec.rb +54 -0
- data/spec/models/get_longview_client200_response_apps_spec.rb +48 -0
- data/spec/models/get_longview_client200_response_spec.rb +72 -0
- data/spec/models/get_longview_clients200_response_data_inner_apps_spec.rb +48 -0
- data/spec/models/get_longview_clients200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_longview_clients200_response_spec.rb +54 -0
- data/spec/models/get_longview_plan200_response_price_spec.rb +42 -0
- data/spec/models/get_longview_plan200_response_spec.rb +58 -0
- data/spec/models/get_longview_subscription200_response_spec.rb +58 -0
- data/spec/models/get_longview_subscriptions200_response_data_inner_spec.rb +58 -0
- data/spec/models/get_longview_subscriptions200_response_spec.rb +54 -0
- data/spec/models/get_maintenance200_response_data_inner_entity_spec.rb +54 -0
- data/spec/models/get_maintenance200_response_data_inner_spec.rb +68 -0
- data/spec/models/get_maintenance200_response_spec.rb +54 -0
- data/spec/models/get_managed_contact200_response_spec.rb +66 -0
- data/spec/models/get_managed_contacts200_response_data_inner_phone_spec.rb +42 -0
- data/spec/models/get_managed_contacts200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_managed_contacts200_response_spec.rb +54 -0
- data/spec/models/get_managed_credential200_response_spec.rb +48 -0
- data/spec/models/get_managed_credentials200_response_data_inner_spec.rb +48 -0
- data/spec/models/get_managed_credentials200_response_spec.rb +54 -0
- data/spec/models/get_managed_issue200_response_entity_spec.rb +58 -0
- data/spec/models/get_managed_issue200_response_spec.rb +54 -0
- data/spec/models/get_managed_issues200_response_data_inner_entity_spec.rb +58 -0
- data/spec/models/get_managed_issues200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_managed_issues200_response_spec.rb +54 -0
- data/spec/models/get_managed_linode_setting200_response_spec.rb +54 -0
- data/spec/models/get_managed_linode_setting200_response_ssh_spec.rb +54 -0
- data/spec/models/get_managed_linode_settings200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_managed_linode_settings200_response_data_inner_ssh_spec.rb +54 -0
- data/spec/models/get_managed_linode_settings200_response_spec.rb +54 -0
- data/spec/models/get_managed_service200_response_spec.rb +116 -0
- data/spec/models/get_managed_services200_response_data_inner_spec.rb +116 -0
- data/spec/models/get_managed_services200_response_spec.rb +54 -0
- data/spec/models/get_managed_ssh_key200_response_spec.rb +36 -0
- data/spec/models/get_managed_stats200_response_data_spec.rb +38 -0
- data/spec/models/get_managed_stats200_response_spec.rb +36 -0
- data/spec/models/get_node_balancer_config200_response_nodes_status_spec.rb +42 -0
- data/spec/models/get_node_balancer_config200_response_spec.rb +174 -0
- data/spec/models/get_node_balancer_config_nodes200_response_data_inner_spec.rb +86 -0
- data/spec/models/get_node_balancer_config_nodes200_response_spec.rb +54 -0
- data/spec/models/get_node_balancer_configs200_response_data_inner_spec.rb +174 -0
- data/spec/models/get_node_balancer_configs200_response_spec.rb +54 -0
- data/spec/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/get_node_balancer_firewalls200_response_all_of_data_inner_rules_spec.rb +62 -0
- data/spec/models/get_node_balancer_firewalls200_response_all_of_data_inner_spec.rb +76 -0
- data/spec/models/get_node_balancer_firewalls200_response_spec.rb +54 -0
- data/spec/models/get_node_balancer_node200_response_spec.rb +86 -0
- data/spec/models/get_node_balancer_stats200_response_data_spec.rb +42 -0
- data/spec/models/get_node_balancer_stats200_response_data_traffic_spec.rb +42 -0
- data/spec/models/get_node_balancer_stats200_response_spec.rb +42 -0
- data/spec/models/get_node_balancers200_response_spec.rb +54 -0
- data/spec/models/get_notifications200_response_data_inner_entity_spec.rb +58 -0
- data/spec/models/get_notifications200_response_data_inner_spec.rb +86 -0
- data/spec/models/get_notifications200_response_spec.rb +54 -0
- data/spec/models/get_object_storage_bucket200_response_spec.rb +72 -0
- data/spec/models/get_object_storage_bucket_acl200_response_spec.rb +46 -0
- data/spec/models/get_object_storage_bucket_content200_response_data_inner_spec.rb +60 -0
- data/spec/models/get_object_storage_bucket_content200_response_spec.rb +48 -0
- data/spec/models/get_object_storage_bucketin_cluster200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_object_storage_bucketin_cluster200_response_spec.rb +54 -0
- data/spec/models/get_object_storage_buckets200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_object_storage_buckets200_response_spec.rb +54 -0
- data/spec/models/get_object_storage_cluster200_response_spec.rb +64 -0
- data/spec/models/get_object_storage_clusters200_response_data_inner_spec.rb +64 -0
- data/spec/models/get_object_storage_clusters200_response_spec.rb +54 -0
- data/spec/models/get_object_storage_key200_response_bucket_access_inner_spec.rb +58 -0
- data/spec/models/get_object_storage_key200_response_regions_inner_spec.rb +42 -0
- data/spec/models/get_object_storage_key200_response_spec.rb +72 -0
- data/spec/models/get_object_storage_keys200_response_data_inner_bucket_access_inner_spec.rb +58 -0
- data/spec/models/get_object_storage_keys200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_object_storage_keys200_response_spec.rb +54 -0
- data/spec/models/get_object_storage_ssl200_response_spec.rb +36 -0
- data/spec/models/get_object_storage_transfer200_response_spec.rb +36 -0
- data/spec/models/get_payment_method200_response_data_spec.rb +32 -0
- data/spec/models/get_payment_method200_response_spec.rb +64 -0
- data/spec/models/get_payment_methods200_response_data_inner_data_spec.rb +32 -0
- data/spec/models/get_payment_methods200_response_data_inner_spec.rb +64 -0
- data/spec/models/get_payment_methods200_response_spec.rb +54 -0
- data/spec/models/get_payments200_response_data_inner_spec.rb +48 -0
- data/spec/models/get_payments200_response_spec.rb +54 -0
- data/spec/models/get_personal_access_token200_response_spec.rb +66 -0
- data/spec/models/get_personal_access_tokens200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_personal_access_tokens200_response_spec.rb +54 -0
- data/spec/models/get_placement_group200_response_spec.rb +80 -0
- data/spec/models/get_placement_groups200_response_data_inner_spec.rb +80 -0
- data/spec/models/get_placement_groups200_response_spec.rb +54 -0
- data/spec/models/get_profile200_response_referrals_spec.rb +66 -0
- data/spec/models/get_profile200_response_spec.rb +116 -0
- data/spec/models/get_profile_app200_response_spec.rb +72 -0
- data/spec/models/get_profile_apps200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_profile_apps200_response_spec.rb +54 -0
- data/spec/models/get_profile_grants200_response_global_spec.rb +124 -0
- data/spec/models/get_profile_grants200_response_spec.rb +102 -0
- data/spec/models/get_profile_login200_response_spec.rb +70 -0
- data/spec/models/get_profile_logins200_response_data_inner_spec.rb +70 -0
- data/spec/models/get_profile_logins200_response_spec.rb +54 -0
- data/spec/models/get_region200_response_spec.rb +86 -0
- data/spec/models/get_region_availability200_response_inner_spec.rb +48 -0
- data/spec/models/get_regions200_response_data_inner_placement_group_limits_spec.rb +42 -0
- data/spec/models/get_regions200_response_data_inner_resolvers_spec.rb +42 -0
- data/spec/models/get_regions200_response_data_inner_spec.rb +86 -0
- data/spec/models/get_regions200_response_spec.rb +54 -0
- data/spec/models/get_regions_availability200_response_all_of_data_inner_spec.rb +48 -0
- data/spec/models/get_regions_availability200_response_spec.rb +54 -0
- data/spec/models/get_security_questions200_response_security_questions_inner_spec.rb +48 -0
- data/spec/models/get_security_questions200_response_spec.rb +36 -0
- data/spec/models/get_service_transfer200_response_entities_spec.rb +36 -0
- data/spec/models/get_service_transfer200_response_spec.rb +76 -0
- data/spec/models/get_service_transfers200_response_data_inner_spec.rb +76 -0
- data/spec/models/get_service_transfers200_response_spec.rb +54 -0
- data/spec/models/get_ssh_key200_response_spec.rb +54 -0
- data/spec/models/get_ssh_keys200_response_spec.rb +54 -0
- data/spec/models/get_stack_script200_response_spec.rb +120 -0
- data/spec/models/get_stack_script200_response_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/get_stack_scripts200_response_data_inner_spec.rb +120 -0
- data/spec/models/get_stack_scripts200_response_data_inner_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/get_stack_scripts200_response_spec.rb +54 -0
- data/spec/models/get_tagged_objects200_response_data_inner_data_spec.rb +38 -0
- data/spec/models/get_tagged_objects200_response_data_inner_spec.rb +42 -0
- data/spec/models/get_tagged_objects200_response_spec.rb +54 -0
- data/spec/models/get_tags200_response_data_inner_spec.rb +36 -0
- data/spec/models/get_tags200_response_spec.rb +54 -0
- data/spec/models/get_ticket200_response_entity_spec.rb +54 -0
- data/spec/models/get_ticket200_response_spec.rb +112 -0
- data/spec/models/get_ticket_replies200_response_data_inner_spec.rb +66 -0
- data/spec/models/get_ticket_replies200_response_spec.rb +54 -0
- data/spec/models/get_tickets200_response_data_inner_entity_spec.rb +54 -0
- data/spec/models/get_tickets200_response_data_inner_spec.rb +112 -0
- data/spec/models/get_tickets200_response_spec.rb +54 -0
- data/spec/models/get_transfer200_response_region_transfers_inner_spec.rb +54 -0
- data/spec/models/get_transfer200_response_spec.rb +54 -0
- data/spec/models/get_trusted_device200_response_spec.rb +66 -0
- data/spec/models/get_user200_response_spec.rb +88 -0
- data/spec/models/get_user_grants200_response_global_spec.rb +124 -0
- data/spec/models/get_user_grants200_response_longview_inner_spec.rb +52 -0
- data/spec/models/get_user_grants200_response_placement_group_inner_spec.rb +52 -0
- data/spec/models/get_user_grants200_response_spec.rb +102 -0
- data/spec/models/get_user_grants200_response_stackscript_inner_spec.rb +52 -0
- data/spec/models/get_users200_response_data_inner_all_of_last_login_spec.rb +46 -0
- data/spec/models/get_users200_response_data_inner_spec.rb +88 -0
- data/spec/models/get_users200_response_spec.rb +54 -0
- data/spec/models/get_users_default_response_errors_inner_spec.rb +42 -0
- data/spec/models/get_users_default_response_spec.rb +36 -0
- data/spec/models/get_vlans200_response_data_inner_spec.rb +54 -0
- data/spec/models/get_vlans200_response_spec.rb +54 -0
- data/spec/models/get_volumes200_response_spec.rb +54 -0
- data/spec/models/get_vpc200_response_spec.rb +72 -0
- data/spec/models/get_vpc200_response_subnets_inner_spec.rb +66 -0
- data/spec/models/get_vpc_ips200_response_spec.rb +126 -0
- data/spec/models/get_vpc_subnet200_response_spec.rb +66 -0
- data/spec/models/get_vpc_subnets200_response_all_of_data_inner_linodes_inner_interfaces_inner_spec.rb +42 -0
- data/spec/models/get_vpc_subnets200_response_all_of_data_inner_linodes_inner_spec.rb +42 -0
- data/spec/models/get_vpc_subnets200_response_all_of_data_inner_spec.rb +66 -0
- data/spec/models/get_vpc_subnets200_response_spec.rb +54 -0
- data/spec/models/get_vpcs200_response_all_of_data_inner_spec.rb +72 -0
- data/spec/models/get_vpcs200_response_all_of_data_inner_subnets_inner_linodes_inner_spec.rb +42 -0
- data/spec/models/get_vpcs200_response_all_of_data_inner_subnets_inner_spec.rb +66 -0
- data/spec/models/get_vpcs200_response_spec.rb +54 -0
- data/spec/models/get_vpcs_ips200_response_data_inner_spec.rb +126 -0
- data/spec/models/get_vpcs_ips200_response_spec.rb +54 -0
- data/spec/models/google_pay1_spec.rb +48 -0
- data/spec/models/google_pay2_spec.rb +48 -0
- data/spec/models/google_pay3_spec.rb +48 -0
- data/spec/models/google_pay_data_spec.rb +48 -0
- data/spec/models/google_pay_spec.rb +48 -0
- data/spec/models/grant_spec.rb +52 -0
- data/spec/models/grants_response_global_spec.rb +124 -0
- data/spec/models/grants_response_spec.rb +102 -0
- data/spec/models/invoice_item_spec.rb +94 -0
- data/spec/models/invoice_spec.rb +82 -0
- data/spec/models/linode1_alerts_spec.rb +60 -0
- data/spec/models/linode1_backups_schedule_spec.rb +50 -0
- data/spec/models/linode1_backups_spec.rb +54 -0
- data/spec/models/linode1_placement_group_spec.rb +62 -0
- data/spec/models/linode1_spec.rb +158 -0
- data/spec/models/linode1_specs_spec.rb +60 -0
- data/spec/models/linode2_alerts_spec.rb +60 -0
- data/spec/models/linode2_backups_spec.rb +54 -0
- data/spec/models/linode2_placement_group_spec.rb +62 -0
- data/spec/models/linode2_spec.rb +158 -0
- data/spec/models/linode2_specs_spec.rb +60 -0
- data/spec/models/linode3_alerts_spec.rb +60 -0
- data/spec/models/linode3_backups_spec.rb +54 -0
- data/spec/models/linode3_placement_group_spec.rb +62 -0
- data/spec/models/linode3_spec.rb +158 -0
- data/spec/models/linode3_specs_spec.rb +60 -0
- data/spec/models/linode4_alerts_spec.rb +60 -0
- data/spec/models/linode4_placement_group_spec.rb +62 -0
- data/spec/models/linode4_spec.rb +158 -0
- data/spec/models/linode5_alerts_spec.rb +60 -0
- data/spec/models/linode5_backups_spec.rb +54 -0
- data/spec/models/linode5_placement_group_spec.rb +62 -0
- data/spec/models/linode5_spec.rb +158 -0
- data/spec/models/linode5_specs_spec.rb +60 -0
- data/spec/models/linode6_placement_group_spec.rb +62 -0
- data/spec/models/linode6_spec.rb +158 -0
- data/spec/models/linode6_specs_spec.rb +60 -0
- data/spec/models/linode7_alerts_spec.rb +60 -0
- data/spec/models/linode7_backups_spec.rb +54 -0
- data/spec/models/linode7_placement_group_spec.rb +62 -0
- data/spec/models/linode7_spec.rb +158 -0
- data/spec/models/linode_alerts_spec.rb +60 -0
- data/spec/models/linode_backups_schedule_spec.rb +50 -0
- data/spec/models/linode_backups_spec.rb +54 -0
- data/spec/models/linode_placement_group_spec.rb +62 -0
- data/spec/models/linode_spec.rb +158 -0
- data/spec/models/linode_specs_spec.rb +60 -0
- data/spec/models/login_spec.rb +70 -0
- data/spec/models/maintenance_spec.rb +68 -0
- data/spec/models/node_balancer1_spec.rb +96 -0
- data/spec/models/node_balancer2_spec.rb +96 -0
- data/spec/models/node_balancer2_transfer_spec.rb +48 -0
- data/spec/models/node_balancer3_spec.rb +96 -0
- data/spec/models/node_balancer4_spec.rb +96 -0
- data/spec/models/node_balancer4_transfer_spec.rb +48 -0
- data/spec/models/node_balancer5_spec.rb +96 -0
- data/spec/models/node_balancer6_spec.rb +96 -0
- data/spec/models/node_balancer_spec.rb +96 -0
- data/spec/models/node_balancer_transfer_spec.rb +48 -0
- data/spec/models/notification_entity_spec.rb +58 -0
- data/spec/models/notification_spec.rb +86 -0
- data/spec/models/oauth_client_spec.rb +76 -0
- data/spec/models/pagination_envelope_spec.rb +48 -0
- data/spec/models/payment_method_data_spec.rb +32 -0
- data/spec/models/payment_method_spec.rb +64 -0
- data/spec/models/payment_spec.rb +48 -0
- data/spec/models/paypal1_spec.rb +42 -0
- data/spec/models/paypal_data_spec.rb +42 -0
- data/spec/models/paypal_execute_spec.rb +42 -0
- data/spec/models/paypal_spec.rb +42 -0
- data/spec/models/post_account_agreements_request_spec.rb +48 -0
- data/spec/models/post_add_linode_config200_response_devices_spec.rb +78 -0
- data/spec/models/post_add_linode_config200_response_helpers_spec.rb +60 -0
- data/spec/models/post_add_linode_config200_response_interfaces_inner_spec.rb +94 -0
- data/spec/models/post_add_linode_config200_response_spec.rb +104 -0
- data/spec/models/post_add_linode_config_request_all_of_devices_spec.rb +78 -0
- data/spec/models/post_add_linode_config_request_all_of_helpers_spec.rb +60 -0
- data/spec/models/post_add_linode_config_request_all_of_interfaces_inner_spec.rb +94 -0
- data/spec/models/post_add_linode_config_request_spec.rb +104 -0
- data/spec/models/post_add_linode_disk200_response_spec.rb +80 -0
- data/spec/models/post_add_linode_disk_request_spec.rb +88 -0
- data/spec/models/post_add_linode_ip200_response_spec.rb +94 -0
- data/spec/models/post_add_linode_ip_request_spec.rb +46 -0
- data/spec/models/post_add_ssh_key200_response_spec.rb +54 -0
- data/spec/models/post_add_stack_script200_response_spec.rb +120 -0
- data/spec/models/post_add_stack_script200_response_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/post_add_stack_script_request_all_of_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/post_add_stack_script_request_spec.rb +120 -0
- data/spec/models/post_allocate_ip200_response_spec.rb +94 -0
- data/spec/models/post_allocate_ip200_response_vpc_nat11_spec.rb +48 -0
- data/spec/models/post_allocate_ip_request_spec.rb +52 -0
- data/spec/models/post_assign_ips_request_assignments_inner_spec.rb +42 -0
- data/spec/models/post_assign_ips_request_spec.rb +42 -0
- data/spec/models/post_assign_ipv4s_request_assignments_inner_spec.rb +42 -0
- data/spec/models/post_assign_ipv4s_request_spec.rb +42 -0
- data/spec/models/post_attach_volume_request_spec.rb +48 -0
- data/spec/models/post_beta_program_request_spec.rb +36 -0
- data/spec/models/post_boot_linode_instance_request_spec.rb +36 -0
- data/spec/models/post_cancel_account200_response_spec.rb +36 -0
- data/spec/models/post_cancel_account409_response_errors_inner_spec.rb +36 -0
- data/spec/models/post_cancel_account409_response_spec.rb +36 -0
- data/spec/models/post_cancel_account_request_spec.rb +36 -0
- data/spec/models/post_child_account_token200_response_spec.rb +66 -0
- data/spec/models/post_client200_response_spec.rb +76 -0
- data/spec/models/post_client_request_spec.rb +76 -0
- data/spec/models/post_clone_domain_request_spec.rb +36 -0
- data/spec/models/post_clone_linode_disk200_response_spec.rb +80 -0
- data/spec/models/post_clone_linode_instance_request_placement_group_spec.rb +36 -0
- data/spec/models/post_clone_linode_instance_request_spec.rb +96 -0
- data/spec/models/post_clone_volume_request_spec.rb +36 -0
- data/spec/models/post_credit_card_request_spec.rb +54 -0
- data/spec/models/post_databases_mysql_instance_backup_request_spec.rb +46 -0
- data/spec/models/post_databases_mysql_instances200_response_spec.rb +156 -0
- data/spec/models/post_databases_mysql_instances200_response_updates_spec.rb +64 -0
- data/spec/models/post_databases_mysql_instances_request_spec.rb +92 -0
- data/spec/models/post_databases_postgre_sql_instance_backup_request_spec.rb +46 -0
- data/spec/models/post_databases_postgre_sql_instances200_response_spec.rb +166 -0
- data/spec/models/post_databases_postgre_sql_instances200_response_updates_spec.rb +64 -0
- data/spec/models/post_databases_postgre_sql_instances_request_spec.rb +102 -0
- data/spec/models/post_disable_managed_service200_response_spec.rb +116 -0
- data/spec/models/post_domain_record200_response_spec.rb +116 -0
- data/spec/models/post_domain_record_request_spec.rb +116 -0
- data/spec/models/post_domain_request_spec.rb +122 -0
- data/spec/models/post_enable_managed_service200_response_spec.rb +116 -0
- data/spec/models/post_entity_transfer200_response_spec.rb +76 -0
- data/spec/models/post_entity_transfer_request_spec.rb +36 -0
- data/spec/models/post_execute_pay_pal_payment299_response_spec.rb +36 -0
- data/spec/models/post_execute_pay_pal_payment299_response_warnings_inner_spec.rb +42 -0
- data/spec/models/post_execute_pay_pal_payment_request_spec.rb +42 -0
- data/spec/models/post_firewall_device200_response_entity_spec.rb +58 -0
- data/spec/models/post_firewall_device200_response_spec.rb +54 -0
- data/spec/models/post_firewall_device_request_spec.rb +58 -0
- data/spec/models/post_firewalls200_response_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/post_firewalls200_response_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/post_firewalls200_response_rules_spec.rb +62 -0
- data/spec/models/post_firewalls200_response_spec.rb +76 -0
- data/spec/models/post_firewalls_request_all_of_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/post_firewalls_request_all_of_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/post_firewalls_request_all_of_rules_spec.rb +62 -0
- data/spec/models/post_firewalls_request_devices_spec.rb +42 -0
- data/spec/models/post_firewalls_request_rules_spec.rb +42 -0
- data/spec/models/post_firewalls_request_spec.rb +82 -0
- data/spec/models/post_group_add_linode200_response_members_inner_spec.rb +42 -0
- data/spec/models/post_group_add_linode200_response_spec.rb +80 -0
- data/spec/models/post_group_add_linode_request_spec.rb +36 -0
- data/spec/models/post_group_unassign200_response_members_inner_spec.rb +42 -0
- data/spec/models/post_group_unassign200_response_spec.rb +80 -0
- data/spec/models/post_image200_response_spec.rb +146 -0
- data/spec/models/post_image_request_spec.rb +60 -0
- data/spec/models/post_import_domain_request_spec.rb +42 -0
- data/spec/models/post_ipv6_range200_response_spec.rb +42 -0
- data/spec/models/post_ipv6_range_request_spec.rb +52 -0
- data/spec/models/post_linode_config_interface200_response_spec.rb +94 -0
- data/spec/models/post_linode_config_interface_request_spec.rb +94 -0
- data/spec/models/post_linode_config_interfaces_request_spec.rb +36 -0
- data/spec/models/post_linode_instance_request_all_of_interfaces_inner_ipv4_spec.rb +42 -0
- data/spec/models/post_linode_instance_request_all_of_interfaces_inner_spec.rb +94 -0
- data/spec/models/post_linode_instance_request_all_of_metadata_spec.rb +36 -0
- data/spec/models/post_linode_instance_request_all_of_placement_group_spec.rb +36 -0
- data/spec/models/post_linode_instance_request_spec.rb +150 -0
- data/spec/models/post_lke_cluster200_response_spec.rb +78 -0
- data/spec/models/post_lke_cluster_pools200_response_autoscaler_spec.rb +48 -0
- data/spec/models/post_lke_cluster_pools200_response_labels_spec.rb +42 -0
- data/spec/models/post_lke_cluster_pools200_response_nodes_inner_spec.rb +52 -0
- data/spec/models/post_lke_cluster_pools200_response_spec.rb +84 -0
- data/spec/models/post_lke_cluster_pools200_response_taints_inner_spec.rb +52 -0
- data/spec/models/post_lke_cluster_pools_request_all_of_autoscaler_spec.rb +48 -0
- data/spec/models/post_lke_cluster_pools_request_spec.rb +72 -0
- data/spec/models/post_lke_cluster_regenerate_request_spec.rb +42 -0
- data/spec/models/post_lke_cluster_request_control_plane_spec.rb +36 -0
- data/spec/models/post_lke_cluster_request_node_pools_inner_autoscaler_spec.rb +48 -0
- data/spec/models/post_lke_cluster_request_node_pools_inner_disks_inner_spec.rb +46 -0
- data/spec/models/post_lke_cluster_request_node_pools_inner_spec.rb +72 -0
- data/spec/models/post_lke_cluster_request_node_pools_inner_taints_inner_spec.rb +52 -0
- data/spec/models/post_lke_cluster_request_spec.rb +66 -0
- data/spec/models/post_longview_client200_response_spec.rb +72 -0
- data/spec/models/post_longview_client_request_spec.rb +72 -0
- data/spec/models/post_managed_contact200_response_phone_spec.rb +42 -0
- data/spec/models/post_managed_contact200_response_spec.rb +66 -0
- data/spec/models/post_managed_contact_request_spec.rb +66 -0
- data/spec/models/post_managed_credential200_response_spec.rb +48 -0
- data/spec/models/post_managed_credential_request_spec.rb +60 -0
- data/spec/models/post_managed_credential_revoke_default_response_errors_inner_spec.rb +42 -0
- data/spec/models/post_managed_credential_revoke_default_response_spec.rb +36 -0
- data/spec/models/post_managed_credential_username_password_request_spec.rb +42 -0
- data/spec/models/post_managed_service200_response_spec.rb +116 -0
- data/spec/models/post_managed_service_request_spec.rb +116 -0
- data/spec/models/post_migrate_linode_instance_request_placement_group_spec.rb +36 -0
- data/spec/models/post_migrate_linode_instance_request_spec.rb +58 -0
- data/spec/models/post_mutate_linode_instance_request_spec.rb +36 -0
- data/spec/models/post_node_balancer_config200_response_spec.rb +174 -0
- data/spec/models/post_node_balancer_config_request_nodes_status_spec.rb +42 -0
- data/spec/models/post_node_balancer_config_request_spec.rb +174 -0
- data/spec/models/post_node_balancer_node200_response_spec.rb +86 -0
- data/spec/models/post_node_balancer_node_request_spec.rb +86 -0
- data/spec/models/post_node_balancer_request_configs_inner_nodes_inner_spec.rb +86 -0
- data/spec/models/post_node_balancer_request_configs_inner_spec.rb +150 -0
- data/spec/models/post_node_balancer_request_spec.rb +66 -0
- data/spec/models/post_object_storage_bucket200_response_spec.rb +72 -0
- data/spec/models/post_object_storage_bucket_access_request_spec.rb +46 -0
- data/spec/models/post_object_storage_bucket_request_spec.rb +58 -0
- data/spec/models/post_object_storage_keys200_response_bucket_access_inner_spec.rb +58 -0
- data/spec/models/post_object_storage_keys200_response_spec.rb +72 -0
- data/spec/models/post_object_storage_keys_request_bucket_access_inner_spec.rb +52 -0
- data/spec/models/post_object_storage_keys_request_spec.rb +48 -0
- data/spec/models/post_object_storage_object_url200_response_spec.rb +36 -0
- data/spec/models/post_object_storage_object_url_request_spec.rb +54 -0
- data/spec/models/post_object_storage_ssl_request_spec.rb +42 -0
- data/spec/models/post_pay_pal_payment200_response_spec.rb +42 -0
- data/spec/models/post_pay_pal_payment_request_spec.rb +48 -0
- data/spec/models/post_payment200_response_spec.rb +48 -0
- data/spec/models/post_payment202_response_spec.rb +36 -0
- data/spec/models/post_payment202_response_warnings_inner_spec.rb +42 -0
- data/spec/models/post_payment_method_request_spec.rb +52 -0
- data/spec/models/post_payment_request_spec.rb +42 -0
- data/spec/models/post_personal_access_token200_response_spec.rb +66 -0
- data/spec/models/post_personal_access_token_request_spec.rb +48 -0
- data/spec/models/post_placement_group200_response_spec.rb +80 -0
- data/spec/models/post_placement_group_request_spec.rb +62 -0
- data/spec/models/post_profile_phone_number_request_spec.rb +42 -0
- data/spec/models/post_profile_phone_number_verify_request_spec.rb +36 -0
- data/spec/models/post_promo_credit200_response_spec.rb +82 -0
- data/spec/models/post_promo_credit_request_spec.rb +36 -0
- data/spec/models/post_reboot_linode_instance_request_spec.rb +36 -0
- data/spec/models/post_rebuild_linode_instance_request_spec.rb +84 -0
- data/spec/models/post_rebuild_node_balancer_config200_response_spec.rb +174 -0
- data/spec/models/post_rebuild_node_balancer_config_request_all_of_nodes_inner_spec.rb +64 -0
- data/spec/models/post_rebuild_node_balancer_config_request_spec.rb +180 -0
- data/spec/models/post_replicate_image200_response_spec.rb +146 -0
- data/spec/models/post_replicate_image_request_spec.rb +36 -0
- data/spec/models/post_rescue_linode_instance_request_devices_sdb_spec.rb +42 -0
- data/spec/models/post_rescue_linode_instance_request_devices_sdd_spec.rb +42 -0
- data/spec/models/post_rescue_linode_instance_request_devices_spec.rb +72 -0
- data/spec/models/post_rescue_linode_instance_request_spec.rb +36 -0
- data/spec/models/post_reset_client_secret200_response_spec.rb +76 -0
- data/spec/models/post_reset_disk_password_request_spec.rb +36 -0
- data/spec/models/post_reset_linode_password_request_spec.rb +36 -0
- data/spec/models/post_resize_disk_request_spec.rb +36 -0
- data/spec/models/post_resize_linode_instance_request_spec.rb +52 -0
- data/spec/models/post_resize_volume_request_spec.rb +36 -0
- data/spec/models/post_restore_backup_request_spec.rb +42 -0
- data/spec/models/post_security_questions200_response_security_questions_inner_spec.rb +48 -0
- data/spec/models/post_security_questions200_response_spec.rb +36 -0
- data/spec/models/post_security_questions_request_security_questions_inner_spec.rb +48 -0
- data/spec/models/post_security_questions_request_spec.rb +36 -0
- data/spec/models/post_service_transfer200_response_spec.rb +76 -0
- data/spec/models/post_service_transfer_request_spec.rb +36 -0
- data/spec/models/post_share_ips_request_spec.rb +42 -0
- data/spec/models/post_snapshot200_response_spec.rb +98 -0
- data/spec/models/post_snapshot_request_spec.rb +36 -0
- data/spec/models/post_tag_request_spec.rb +60 -0
- data/spec/models/post_tfa_confirm200_response_spec.rb +36 -0
- data/spec/models/post_tfa_confirm_request_spec.rb +36 -0
- data/spec/models/post_tfa_enable200_response_spec.rb +42 -0
- data/spec/models/post_ticket200_response_entity_spec.rb +54 -0
- data/spec/models/post_ticket200_response_spec.rb +112 -0
- data/spec/models/post_ticket_reply200_response_spec.rb +66 -0
- data/spec/models/post_ticket_reply_request_spec.rb +36 -0
- data/spec/models/post_ticket_request_spec.rb +114 -0
- data/spec/models/post_upload_image200_response_image_regions_inner_spec.rb +46 -0
- data/spec/models/post_upload_image200_response_image_spec.rb +146 -0
- data/spec/models/post_upload_image200_response_spec.rb +42 -0
- data/spec/models/post_upload_image_request_spec.rb +60 -0
- data/spec/models/post_user200_response_spec.rb +78 -0
- data/spec/models/post_user_request_all_of_last_login_spec.rb +46 -0
- data/spec/models/post_user_request_spec.rb +78 -0
- data/spec/models/post_volume_request_spec.rb +66 -0
- data/spec/models/post_vpc200_response_spec.rb +72 -0
- data/spec/models/post_vpc200_response_subnets_inner_spec.rb +66 -0
- data/spec/models/post_vpc_request_all_of_subnets_inner_linodes_inner_spec.rb +42 -0
- data/spec/models/post_vpc_request_all_of_subnets_inner_spec.rb +66 -0
- data/spec/models/post_vpc_request_spec.rb +72 -0
- data/spec/models/post_vpc_subnet200_response_linodes_inner_interfaces_inner_spec.rb +42 -0
- data/spec/models/post_vpc_subnet200_response_linodes_inner_spec.rb +42 -0
- data/spec/models/post_vpc_subnet200_response_spec.rb +66 -0
- data/spec/models/post_vpc_subnet_request_spec.rb +42 -0
- data/spec/models/promotion_spec.rb +82 -0
- data/spec/models/properties_entities_spec.rb +36 -0
- data/spec/models/proxy_user_token_spec.rb +66 -0
- data/spec/models/put_account200_response_active_promotions_inner_spec.rb +82 -0
- data/spec/models/put_account200_response_spec.rb +154 -0
- data/spec/models/put_account_request_active_promotions_inner_spec.rb +82 -0
- data/spec/models/put_account_request_credit_card_spec.rb +42 -0
- data/spec/models/put_account_request_spec.rb +154 -0
- data/spec/models/put_account_settings200_response_spec.rb +64 -0
- data/spec/models/put_account_settings_request_spec.rb +64 -0
- data/spec/models/put_client200_response_spec.rb +76 -0
- data/spec/models/put_client_request_spec.rb +76 -0
- data/spec/models/put_databases_mysql_instance200_response_spec.rb +156 -0
- data/spec/models/put_databases_mysql_instance200_response_updates_spec.rb +64 -0
- data/spec/models/put_databases_mysql_instance_request_spec.rb +54 -0
- data/spec/models/put_databases_mysql_instance_request_updates_spec.rb +64 -0
- data/spec/models/put_databases_postgre_sql_instance200_response_spec.rb +166 -0
- data/spec/models/put_databases_postgre_sql_instance200_response_updates_spec.rb +64 -0
- data/spec/models/put_databases_postgre_sql_instance_request_spec.rb +54 -0
- data/spec/models/put_disk200_response_spec.rb +80 -0
- data/spec/models/put_disk_request_spec.rb +36 -0
- data/spec/models/put_domain_record200_response_spec.rb +116 -0
- data/spec/models/put_domain_record_request_spec.rb +88 -0
- data/spec/models/put_firewall200_response_rules_inbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall200_response_rules_outbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall200_response_rules_spec.rb +62 -0
- data/spec/models/put_firewall200_response_spec.rb +76 -0
- data/spec/models/put_firewall_request_spec.rb +52 -0
- data/spec/models/put_firewall_rules200_response_inbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall_rules200_response_outbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall_rules200_response_spec.rb +62 -0
- data/spec/models/put_firewall_rules_request_all_of_inbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall_rules_request_all_of_outbound_inner_spec.rb +74 -0
- data/spec/models/put_firewall_rules_request_spec.rb +62 -0
- data/spec/models/put_image200_response_spec.rb +146 -0
- data/spec/models/put_image_request_spec.rb +146 -0
- data/spec/models/put_ip200_response_spec.rb +94 -0
- data/spec/models/put_ip_request_spec.rb +36 -0
- data/spec/models/put_linode_config200_response_devices_spec.rb +78 -0
- data/spec/models/put_linode_config200_response_helpers_spec.rb +60 -0
- data/spec/models/put_linode_config200_response_interfaces_inner_spec.rb +94 -0
- data/spec/models/put_linode_config200_response_spec.rb +104 -0
- data/spec/models/put_linode_config_interface200_response_spec.rb +94 -0
- data/spec/models/put_linode_config_interface_request_ipv4_spec.rb +42 -0
- data/spec/models/put_linode_config_interface_request_spec.rb +48 -0
- data/spec/models/put_linode_config_request_devices_spec.rb +78 -0
- data/spec/models/put_linode_config_request_interfaces_inner_spec.rb +94 -0
- data/spec/models/put_linode_config_request_spec.rb +104 -0
- data/spec/models/put_linode_ip200_response_spec.rb +94 -0
- data/spec/models/put_linode_ip200_response_vpc_nat11_spec.rb +48 -0
- data/spec/models/put_linode_ip_request_spec.rb +36 -0
- data/spec/models/put_lke_cluster200_response_spec.rb +66 -0
- data/spec/models/put_lke_cluster_request_control_plane_spec.rb +36 -0
- data/spec/models/put_lke_cluster_request_spec.rb +54 -0
- data/spec/models/put_lke_node_pool200_response_autoscaler_spec.rb +48 -0
- data/spec/models/put_lke_node_pool200_response_spec.rb +84 -0
- data/spec/models/put_lke_node_pool200_response_taints_inner_spec.rb +52 -0
- data/spec/models/put_lke_node_pool_request_autoscaler_spec.rb +48 -0
- data/spec/models/put_lke_node_pool_request_spec.rb +54 -0
- data/spec/models/put_longview_client200_response_apps_spec.rb +48 -0
- data/spec/models/put_longview_client200_response_spec.rb +72 -0
- data/spec/models/put_longview_client_request_spec.rb +72 -0
- data/spec/models/put_longview_plan200_response_price_spec.rb +42 -0
- data/spec/models/put_longview_plan200_response_spec.rb +58 -0
- data/spec/models/put_longview_plan_request_spec.rb +40 -0
- data/spec/models/put_managed_contact200_response_spec.rb +66 -0
- data/spec/models/put_managed_contact_request_spec.rb +66 -0
- data/spec/models/put_managed_linode_setting200_response_spec.rb +54 -0
- data/spec/models/put_managed_linode_setting200_response_ssh_spec.rb +54 -0
- data/spec/models/put_managed_linode_setting_request_spec.rb +54 -0
- data/spec/models/put_managed_linode_setting_request_ssh_spec.rb +54 -0
- data/spec/models/put_managed_service200_response_spec.rb +116 -0
- data/spec/models/put_managed_service_request_spec.rb +116 -0
- data/spec/models/put_node_balancer_config200_response_spec.rb +174 -0
- data/spec/models/put_node_balancer_config_request_spec.rb +174 -0
- data/spec/models/put_node_balancer_node200_response_spec.rb +86 -0
- data/spec/models/put_node_balancer_node_request_spec.rb +86 -0
- data/spec/models/put_object_storage_bucket_acl200_response_spec.rb +46 -0
- data/spec/models/put_object_storage_bucket_acl_request_spec.rb +46 -0
- data/spec/models/put_object_storage_key200_response_regions_inner_spec.rb +42 -0
- data/spec/models/put_object_storage_key200_response_spec.rb +66 -0
- data/spec/models/put_object_storage_key_request_spec.rb +42 -0
- data/spec/models/put_personal_access_token200_response_spec.rb +66 -0
- data/spec/models/put_personal_access_token_request_spec.rb +66 -0
- data/spec/models/put_placement_group200_response_spec.rb +80 -0
- data/spec/models/put_placement_group_request_spec.rb +36 -0
- data/spec/models/put_profile200_response_referrals_spec.rb +66 -0
- data/spec/models/put_profile200_response_spec.rb +116 -0
- data/spec/models/put_profile_request_referrals_spec.rb +66 -0
- data/spec/models/put_profile_request_spec.rb +116 -0
- data/spec/models/put_ssh_key_request_spec.rb +36 -0
- data/spec/models/put_stack_script200_response_spec.rb +120 -0
- data/spec/models/put_stack_script200_response_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/put_stack_script_request_spec.rb +120 -0
- data/spec/models/put_stack_script_request_user_defined_fields_inner_spec.rb +66 -0
- data/spec/models/put_storage_bucket_access_request_spec.rb +46 -0
- data/spec/models/put_user200_response_spec.rb +88 -0
- data/spec/models/put_user_grants200_response_global_spec.rb +124 -0
- data/spec/models/put_user_grants200_response_spec.rb +102 -0
- data/spec/models/put_user_grants_request_global_spec.rb +124 -0
- data/spec/models/put_user_grants_request_spec.rb +102 -0
- data/spec/models/put_user_grants_request_stackscript_inner_spec.rb +52 -0
- data/spec/models/put_user_request_spec.rb +78 -0
- data/spec/models/put_volume_request_spec.rb +110 -0
- data/spec/models/put_vpc200_response_spec.rb +72 -0
- data/spec/models/put_vpc200_response_subnets_inner_spec.rb +66 -0
- data/spec/models/put_vpc_request_spec.rb +42 -0
- data/spec/models/put_vpc_subnet200_response_spec.rb +66 -0
- data/spec/models/put_vpc_subnet_request_spec.rb +36 -0
- data/spec/models/service_transfer_spec.rb +76 -0
- data/spec/models/stats_available_cpu_inner_spec.rb +42 -0
- data/spec/models/stats_available_net_out_inner_spec.rb +42 -0
- data/spec/models/stats_available_spec.rb +60 -0
- data/spec/models/transfer_region_transfers_inner_spec.rb +54 -0
- data/spec/models/transfer_spec.rb +54 -0
- data/spec/models/user_spec.rb +78 -0
- data/spec/models/user_type_spec.rb +40 -0
- data/spec/models/volume1_spec.rb +110 -0
- data/spec/models/volume2_spec.rb +110 -0
- data/spec/models/volume3_spec.rb +110 -0
- data/spec/models/volume4_spec.rb +110 -0
- data/spec/models/volume5_spec.rb +110 -0
- data/spec/models/volume6_spec.rb +110 -0
- data/spec/models/volume7_spec.rb +110 -0
- data/spec/models/volume8_spec.rb +110 -0
- data/spec/models/volume_spec.rb +110 -0
- data/spec/models/warning_object_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +3560 -0
@@ -0,0 +1,4321 @@
|
|
1
|
+
# LinodeOpenapiClient::LinodeInstancesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.linode.com*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**delete_disk**](LinodeInstancesApi.md#delete_disk) | **DELETE** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} | Delete a disk |
|
8
|
+
| [**delete_linode_config**](LinodeInstancesApi.md#delete_linode_config) | **DELETE** /{apiVersion}/linode/instances/{linodeId}/configs/{configId} | Delete a config profile |
|
9
|
+
| [**delete_linode_config_interface**](LinodeInstancesApi.md#delete_linode_config_interface) | **DELETE** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} | Delete a configuration profile interface |
|
10
|
+
| [**delete_linode_instance**](LinodeInstancesApi.md#delete_linode_instance) | **DELETE** /{apiVersion}/linode/instances/{linodeId} | Delete a Linode |
|
11
|
+
| [**delete_linode_ip**](LinodeInstancesApi.md#delete_linode_ip) | **DELETE** /{apiVersion}/linode/instances/{linodeId}/ips/{address} | Delete an IPv4 address |
|
12
|
+
| [**get_backup**](LinodeInstancesApi.md#get_backup) | **GET** /{apiVersion}/linode/instances/{linodeId}/backups/{backupId} | Get a backup |
|
13
|
+
| [**get_backups**](LinodeInstancesApi.md#get_backups) | **GET** /{apiVersion}/linode/instances/{linodeId}/backups | List backups |
|
14
|
+
| [**get_kernel**](LinodeInstancesApi.md#get_kernel) | **GET** /{apiVersion}/linode/kernels/{kernelId} | Get a kernel |
|
15
|
+
| [**get_kernels**](LinodeInstancesApi.md#get_kernels) | **GET** /{apiVersion}/linode/kernels | List kernels |
|
16
|
+
| [**get_linode_config**](LinodeInstancesApi.md#get_linode_config) | **GET** /{apiVersion}/linode/instances/{linodeId}/configs/{configId} | Get a config profile |
|
17
|
+
| [**get_linode_config_interface**](LinodeInstancesApi.md#get_linode_config_interface) | **GET** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} | Get a configuration profile interface |
|
18
|
+
| [**get_linode_config_interfaces**](LinodeInstancesApi.md#get_linode_config_interfaces) | **GET** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces | List configuration profile interfaces |
|
19
|
+
| [**get_linode_configs**](LinodeInstancesApi.md#get_linode_configs) | **GET** /{apiVersion}/linode/instances/{linodeId}/configs | List config profiles |
|
20
|
+
| [**get_linode_disk**](LinodeInstancesApi.md#get_linode_disk) | **GET** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} | Get a disk |
|
21
|
+
| [**get_linode_disks**](LinodeInstancesApi.md#get_linode_disks) | **GET** /{apiVersion}/linode/instances/{linodeId}/disks | List disks |
|
22
|
+
| [**get_linode_firewalls**](LinodeInstancesApi.md#get_linode_firewalls) | **GET** /{apiVersion}/linode/instances/{linodeId}/firewalls | List a Linode's firewalls |
|
23
|
+
| [**get_linode_instance**](LinodeInstancesApi.md#get_linode_instance) | **GET** /{apiVersion}/linode/instances/{linodeId} | Get a Linode |
|
24
|
+
| [**get_linode_instances**](LinodeInstancesApi.md#get_linode_instances) | **GET** /{apiVersion}/linode/instances | List Linodes |
|
25
|
+
| [**get_linode_ip**](LinodeInstancesApi.md#get_linode_ip) | **GET** /{apiVersion}/linode/instances/{linodeId}/ips/{address} | Get a Linode's IP address |
|
26
|
+
| [**get_linode_ips**](LinodeInstancesApi.md#get_linode_ips) | **GET** /{apiVersion}/linode/instances/{linodeId}/ips | Get networking information |
|
27
|
+
| [**get_linode_node_balancers**](LinodeInstancesApi.md#get_linode_node_balancers) | **GET** /{apiVersion}/linode/instances/{linodeId}/nodebalancers | List Linode NodeBalancers |
|
28
|
+
| [**get_linode_stats**](LinodeInstancesApi.md#get_linode_stats) | **GET** /{apiVersion}/linode/instances/{linodeId}/stats | Get Linode statistics |
|
29
|
+
| [**get_linode_stats_by_year_month**](LinodeInstancesApi.md#get_linode_stats_by_year_month) | **GET** /{apiVersion}/linode/instances/{linodeId}/stats/{year}/{month} | Get monthly statistics |
|
30
|
+
| [**get_linode_transfer**](LinodeInstancesApi.md#get_linode_transfer) | **GET** /{apiVersion}/linode/instances/{linodeId}/transfer | Get a network transfer |
|
31
|
+
| [**get_linode_transfer_by_year_month**](LinodeInstancesApi.md#get_linode_transfer_by_year_month) | **GET** /{apiVersion}/linode/instances/{linodeId}/transfer/{year}/{month} | Get monthly network transfer stats |
|
32
|
+
| [**get_linode_type**](LinodeInstancesApi.md#get_linode_type) | **GET** /{apiVersion}/linode/types/{typeId} | Get a type |
|
33
|
+
| [**get_linode_types**](LinodeInstancesApi.md#get_linode_types) | **GET** /{apiVersion}/linode/types | List types |
|
34
|
+
| [**get_linode_volumes**](LinodeInstancesApi.md#get_linode_volumes) | **GET** /{apiVersion}/linode/instances/{linodeId}/volumes | List a Linode's volumes |
|
35
|
+
| [**post_add_linode_config**](LinodeInstancesApi.md#post_add_linode_config) | **POST** /{apiVersion}/linode/instances/{linodeId}/configs | Create a config profile |
|
36
|
+
| [**post_add_linode_disk**](LinodeInstancesApi.md#post_add_linode_disk) | **POST** /{apiVersion}/linode/instances/{linodeId}/disks | Create a disk |
|
37
|
+
| [**post_add_linode_ip**](LinodeInstancesApi.md#post_add_linode_ip) | **POST** /{apiVersion}/linode/instances/{linodeId}/ips | Allocate an IPv4 address |
|
38
|
+
| [**post_boot_linode_instance**](LinodeInstancesApi.md#post_boot_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/boot | Boot a Linode |
|
39
|
+
| [**post_cancel_backups**](LinodeInstancesApi.md#post_cancel_backups) | **POST** /{apiVersion}/linode/instances/{linodeId}/backups/cancel | Cancel backups |
|
40
|
+
| [**post_clone_linode_disk**](LinodeInstancesApi.md#post_clone_linode_disk) | **POST** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/clone | Clone a disk |
|
41
|
+
| [**post_clone_linode_instance**](LinodeInstancesApi.md#post_clone_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/clone | Clone a Linode |
|
42
|
+
| [**post_enable_backups**](LinodeInstancesApi.md#post_enable_backups) | **POST** /{apiVersion}/linode/instances/{linodeId}/backups/enable | Enable backups |
|
43
|
+
| [**post_linode_config_interface**](LinodeInstancesApi.md#post_linode_config_interface) | **POST** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces | Add a configuration profile interface |
|
44
|
+
| [**post_linode_config_interfaces**](LinodeInstancesApi.md#post_linode_config_interfaces) | **POST** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/order | Reorder configuration profile interfaces |
|
45
|
+
| [**post_linode_instance**](LinodeInstancesApi.md#post_linode_instance) | **POST** /{apiVersion}/linode/instances | Create a Linode |
|
46
|
+
| [**post_migrate_linode_instance**](LinodeInstancesApi.md#post_migrate_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/migrate | Initiate a DC migration/pending host migration |
|
47
|
+
| [**post_mutate_linode_instance**](LinodeInstancesApi.md#post_mutate_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/mutate | Upgrade a Linode |
|
48
|
+
| [**post_reboot_linode_instance**](LinodeInstancesApi.md#post_reboot_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/reboot | Reboot a Linode |
|
49
|
+
| [**post_rebuild_linode_instance**](LinodeInstancesApi.md#post_rebuild_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/rebuild | Rebuild a Linode |
|
50
|
+
| [**post_rescue_linode_instance**](LinodeInstancesApi.md#post_rescue_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/rescue | Boot a Linode into rescue mode |
|
51
|
+
| [**post_reset_disk_password**](LinodeInstancesApi.md#post_reset_disk_password) | **POST** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/password | Reset a disk root password |
|
52
|
+
| [**post_reset_linode_password**](LinodeInstancesApi.md#post_reset_linode_password) | **POST** /{apiVersion}/linode/instances/{linodeId}/password | Reset a Linode's root password |
|
53
|
+
| [**post_resize_disk**](LinodeInstancesApi.md#post_resize_disk) | **POST** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/resize | Resize a disk |
|
54
|
+
| [**post_resize_linode_instance**](LinodeInstancesApi.md#post_resize_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/resize | Resize a Linode |
|
55
|
+
| [**post_restore_backup**](LinodeInstancesApi.md#post_restore_backup) | **POST** /{apiVersion}/linode/instances/{linodeId}/backups/{backupId}/restore | Restore a backup |
|
56
|
+
| [**post_shutdown_linode_instance**](LinodeInstancesApi.md#post_shutdown_linode_instance) | **POST** /{apiVersion}/linode/instances/{linodeId}/shutdown | Shut down a Linode |
|
57
|
+
| [**post_snapshot**](LinodeInstancesApi.md#post_snapshot) | **POST** /{apiVersion}/linode/instances/{linodeId}/backups | Create a snapshot |
|
58
|
+
| [**put_disk**](LinodeInstancesApi.md#put_disk) | **PUT** /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} | Update a disk |
|
59
|
+
| [**put_linode_config**](LinodeInstancesApi.md#put_linode_config) | **PUT** /{apiVersion}/linode/instances/{linodeId}/configs/{configId} | Update a config profile |
|
60
|
+
| [**put_linode_config_interface**](LinodeInstancesApi.md#put_linode_config_interface) | **PUT** /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} | Update a configuration profile interface |
|
61
|
+
| [**put_linode_instance**](LinodeInstancesApi.md#put_linode_instance) | **PUT** /{apiVersion}/linode/instances/{linodeId} | Update a Linode |
|
62
|
+
| [**put_linode_ip**](LinodeInstancesApi.md#put_linode_ip) | **PUT** /{apiVersion}/linode/instances/{linodeId}/ips/{address} | Update an IP address's RDNS for a Linode |
|
63
|
+
|
64
|
+
|
65
|
+
## delete_disk
|
66
|
+
|
67
|
+
> Object delete_disk(api_version, linode_id, disk_id)
|
68
|
+
|
69
|
+
Delete a disk
|
70
|
+
|
71
|
+
Deletes a Disk you have permission to `read_write`. __Deleting a Disk is a destructive action and cannot be undone.__ <<LB>> --- - __CLI__. ``` linode-cli linodes disk-delete 123 24674 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
72
|
+
|
73
|
+
### Examples
|
74
|
+
|
75
|
+
```ruby
|
76
|
+
require 'time'
|
77
|
+
require 'linode_openapi_client'
|
78
|
+
# setup authorization
|
79
|
+
LinodeOpenapiClient.configure do |config|
|
80
|
+
# Configure Bearer authorization: personalAccessToken
|
81
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
82
|
+
|
83
|
+
# Configure OAuth2 access token for authorization: oauth
|
84
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
85
|
+
end
|
86
|
+
|
87
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
88
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
89
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
90
|
+
disk_id = 56 # Integer | ID of the Disk to look up.
|
91
|
+
|
92
|
+
begin
|
93
|
+
# Delete a disk
|
94
|
+
result = api_instance.delete_disk(api_version, linode_id, disk_id)
|
95
|
+
p result
|
96
|
+
rescue LinodeOpenapiClient::ApiError => e
|
97
|
+
puts "Error when calling LinodeInstancesApi->delete_disk: #{e}"
|
98
|
+
end
|
99
|
+
```
|
100
|
+
|
101
|
+
#### Using the delete_disk_with_http_info variant
|
102
|
+
|
103
|
+
This returns an Array which contains the response data, status code and headers.
|
104
|
+
|
105
|
+
> <Array(Object, Integer, Hash)> delete_disk_with_http_info(api_version, linode_id, disk_id)
|
106
|
+
|
107
|
+
```ruby
|
108
|
+
begin
|
109
|
+
# Delete a disk
|
110
|
+
data, status_code, headers = api_instance.delete_disk_with_http_info(api_version, linode_id, disk_id)
|
111
|
+
p status_code # => 2xx
|
112
|
+
p headers # => { ... }
|
113
|
+
p data # => Object
|
114
|
+
rescue LinodeOpenapiClient::ApiError => e
|
115
|
+
puts "Error when calling LinodeInstancesApi->delete_disk_with_http_info: #{e}"
|
116
|
+
end
|
117
|
+
```
|
118
|
+
|
119
|
+
### Parameters
|
120
|
+
|
121
|
+
| Name | Type | Description | Notes |
|
122
|
+
| ---- | ---- | ----------- | ----- |
|
123
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
124
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
125
|
+
| **disk_id** | **Integer** | ID of the Disk to look up. | |
|
126
|
+
|
127
|
+
### Return type
|
128
|
+
|
129
|
+
**Object**
|
130
|
+
|
131
|
+
### Authorization
|
132
|
+
|
133
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
134
|
+
|
135
|
+
### HTTP request headers
|
136
|
+
|
137
|
+
- **Content-Type**: Not defined
|
138
|
+
- **Accept**: application/json
|
139
|
+
|
140
|
+
|
141
|
+
## delete_linode_config
|
142
|
+
|
143
|
+
> Object delete_linode_config(api_version, linode_id, config_id)
|
144
|
+
|
145
|
+
Delete a config profile
|
146
|
+
|
147
|
+
Deletes the specified Configuration profile from the specified Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes config-delete 123 23456 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
148
|
+
|
149
|
+
### Examples
|
150
|
+
|
151
|
+
```ruby
|
152
|
+
require 'time'
|
153
|
+
require 'linode_openapi_client'
|
154
|
+
# setup authorization
|
155
|
+
LinodeOpenapiClient.configure do |config|
|
156
|
+
# Configure Bearer authorization: personalAccessToken
|
157
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
158
|
+
|
159
|
+
# Configure OAuth2 access token for authorization: oauth
|
160
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
161
|
+
end
|
162
|
+
|
163
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
164
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
165
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
166
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
167
|
+
|
168
|
+
begin
|
169
|
+
# Delete a config profile
|
170
|
+
result = api_instance.delete_linode_config(api_version, linode_id, config_id)
|
171
|
+
p result
|
172
|
+
rescue LinodeOpenapiClient::ApiError => e
|
173
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_config: #{e}"
|
174
|
+
end
|
175
|
+
```
|
176
|
+
|
177
|
+
#### Using the delete_linode_config_with_http_info variant
|
178
|
+
|
179
|
+
This returns an Array which contains the response data, status code and headers.
|
180
|
+
|
181
|
+
> <Array(Object, Integer, Hash)> delete_linode_config_with_http_info(api_version, linode_id, config_id)
|
182
|
+
|
183
|
+
```ruby
|
184
|
+
begin
|
185
|
+
# Delete a config profile
|
186
|
+
data, status_code, headers = api_instance.delete_linode_config_with_http_info(api_version, linode_id, config_id)
|
187
|
+
p status_code # => 2xx
|
188
|
+
p headers # => { ... }
|
189
|
+
p data # => Object
|
190
|
+
rescue LinodeOpenapiClient::ApiError => e
|
191
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_config_with_http_info: #{e}"
|
192
|
+
end
|
193
|
+
```
|
194
|
+
|
195
|
+
### Parameters
|
196
|
+
|
197
|
+
| Name | Type | Description | Notes |
|
198
|
+
| ---- | ---- | ----------- | ----- |
|
199
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
200
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
201
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
202
|
+
|
203
|
+
### Return type
|
204
|
+
|
205
|
+
**Object**
|
206
|
+
|
207
|
+
### Authorization
|
208
|
+
|
209
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
210
|
+
|
211
|
+
### HTTP request headers
|
212
|
+
|
213
|
+
- **Content-Type**: Not defined
|
214
|
+
- **Accept**: application/json
|
215
|
+
|
216
|
+
|
217
|
+
## delete_linode_config_interface
|
218
|
+
|
219
|
+
> Object delete_linode_config_interface(api_version, linode_id, config_id, interface_id)
|
220
|
+
|
221
|
+
Delete a configuration profile interface
|
222
|
+
|
223
|
+
Deletes an Interface from the Configuration Profile. - The User accessing this operation must have `read_write` grants to the Linode. - A successful request triggers a `linode_config_update` event. - Active Interfaces cannot be deleted. The associated Linode must first be shut down (or restarted using another Configuration Profile) before such Interfaces can be deleted from a Configuration Profile. <<LB>> --- - __CLI__. ``` linode-cli linodes config-delete $linodeId $configId $interfaceId ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
224
|
+
|
225
|
+
### Examples
|
226
|
+
|
227
|
+
```ruby
|
228
|
+
require 'time'
|
229
|
+
require 'linode_openapi_client'
|
230
|
+
# setup authorization
|
231
|
+
LinodeOpenapiClient.configure do |config|
|
232
|
+
# Configure Bearer authorization: personalAccessToken
|
233
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
234
|
+
|
235
|
+
# Configure OAuth2 access token for authorization: oauth
|
236
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
237
|
+
end
|
238
|
+
|
239
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
240
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
241
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
242
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
243
|
+
interface_id = 56 # Integer | The `id` of the Linode Configuration Profile Interface.
|
244
|
+
|
245
|
+
begin
|
246
|
+
# Delete a configuration profile interface
|
247
|
+
result = api_instance.delete_linode_config_interface(api_version, linode_id, config_id, interface_id)
|
248
|
+
p result
|
249
|
+
rescue LinodeOpenapiClient::ApiError => e
|
250
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_config_interface: #{e}"
|
251
|
+
end
|
252
|
+
```
|
253
|
+
|
254
|
+
#### Using the delete_linode_config_interface_with_http_info variant
|
255
|
+
|
256
|
+
This returns an Array which contains the response data, status code and headers.
|
257
|
+
|
258
|
+
> <Array(Object, Integer, Hash)> delete_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id)
|
259
|
+
|
260
|
+
```ruby
|
261
|
+
begin
|
262
|
+
# Delete a configuration profile interface
|
263
|
+
data, status_code, headers = api_instance.delete_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id)
|
264
|
+
p status_code # => 2xx
|
265
|
+
p headers # => { ... }
|
266
|
+
p data # => Object
|
267
|
+
rescue LinodeOpenapiClient::ApiError => e
|
268
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_config_interface_with_http_info: #{e}"
|
269
|
+
end
|
270
|
+
```
|
271
|
+
|
272
|
+
### Parameters
|
273
|
+
|
274
|
+
| Name | Type | Description | Notes |
|
275
|
+
| ---- | ---- | ----------- | ----- |
|
276
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
277
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
278
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
279
|
+
| **interface_id** | **Integer** | The `id` of the Linode Configuration Profile Interface. | |
|
280
|
+
|
281
|
+
### Return type
|
282
|
+
|
283
|
+
**Object**
|
284
|
+
|
285
|
+
### Authorization
|
286
|
+
|
287
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
288
|
+
|
289
|
+
### HTTP request headers
|
290
|
+
|
291
|
+
- **Content-Type**: Not defined
|
292
|
+
- **Accept**: application/json
|
293
|
+
|
294
|
+
|
295
|
+
## delete_linode_instance
|
296
|
+
|
297
|
+
> Object delete_linode_instance(api_version, linode_id)
|
298
|
+
|
299
|
+
Delete a Linode
|
300
|
+
|
301
|
+
Deletes a Linode you have permission to `read_write`. __Deleting a Linode is a destructive action and cannot be undone.__ Additionally, deleting a Linode: - Gives up any IP addresses the Linode was assigned. - Deletes all Disks, Backups, Configs, etc. - Detaches any Volumes associated with the Linode. - Stops billing for the Linode and its associated services. You will be billed for time used within the billing period the Linode was active. Linodes that are in the process of [cloning](https://techdocs.akamai.com/linode-api/reference/post-clone-linode-instance) or [backup restoration](https://techdocs.akamai.com/linode-api/reference/post-restore-backup) cannot be deleted. <<LB>> --- - __CLI__. ``` linode-cli linodes delete 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
302
|
+
|
303
|
+
### Examples
|
304
|
+
|
305
|
+
```ruby
|
306
|
+
require 'time'
|
307
|
+
require 'linode_openapi_client'
|
308
|
+
# setup authorization
|
309
|
+
LinodeOpenapiClient.configure do |config|
|
310
|
+
# Configure Bearer authorization: personalAccessToken
|
311
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
312
|
+
|
313
|
+
# Configure OAuth2 access token for authorization: oauth
|
314
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
315
|
+
end
|
316
|
+
|
317
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
318
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
319
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
320
|
+
|
321
|
+
begin
|
322
|
+
# Delete a Linode
|
323
|
+
result = api_instance.delete_linode_instance(api_version, linode_id)
|
324
|
+
p result
|
325
|
+
rescue LinodeOpenapiClient::ApiError => e
|
326
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_instance: #{e}"
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
#### Using the delete_linode_instance_with_http_info variant
|
331
|
+
|
332
|
+
This returns an Array which contains the response data, status code and headers.
|
333
|
+
|
334
|
+
> <Array(Object, Integer, Hash)> delete_linode_instance_with_http_info(api_version, linode_id)
|
335
|
+
|
336
|
+
```ruby
|
337
|
+
begin
|
338
|
+
# Delete a Linode
|
339
|
+
data, status_code, headers = api_instance.delete_linode_instance_with_http_info(api_version, linode_id)
|
340
|
+
p status_code # => 2xx
|
341
|
+
p headers # => { ... }
|
342
|
+
p data # => Object
|
343
|
+
rescue LinodeOpenapiClient::ApiError => e
|
344
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_instance_with_http_info: #{e}"
|
345
|
+
end
|
346
|
+
```
|
347
|
+
|
348
|
+
### Parameters
|
349
|
+
|
350
|
+
| Name | Type | Description | Notes |
|
351
|
+
| ---- | ---- | ----------- | ----- |
|
352
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
353
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
354
|
+
|
355
|
+
### Return type
|
356
|
+
|
357
|
+
**Object**
|
358
|
+
|
359
|
+
### Authorization
|
360
|
+
|
361
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
362
|
+
|
363
|
+
### HTTP request headers
|
364
|
+
|
365
|
+
- **Content-Type**: Not defined
|
366
|
+
- **Accept**: application/json
|
367
|
+
|
368
|
+
|
369
|
+
## delete_linode_ip
|
370
|
+
|
371
|
+
> Object delete_linode_ip(api_version, linode_id, address)
|
372
|
+
|
373
|
+
Delete an IPv4 address
|
374
|
+
|
375
|
+
Deletes a public or private IPv4 address associated with this Linode. This will fail if it is the Linode's last remaining public IPv4 address, or if the address has a 1:1 NAT with an active VPC Subnet address. <<LB>> --- - __CLI__. ``` linode-cli linodes ip-delete 97.107.143.141 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
376
|
+
|
377
|
+
### Examples
|
378
|
+
|
379
|
+
```ruby
|
380
|
+
require 'time'
|
381
|
+
require 'linode_openapi_client'
|
382
|
+
# setup authorization
|
383
|
+
LinodeOpenapiClient.configure do |config|
|
384
|
+
# Configure Bearer authorization: personalAccessToken
|
385
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
386
|
+
|
387
|
+
# Configure OAuth2 access token for authorization: oauth
|
388
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
389
|
+
end
|
390
|
+
|
391
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
392
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
393
|
+
linode_id = 56 # Integer | The ID of the Linode.
|
394
|
+
address = 'address_example' # String | The IP address.
|
395
|
+
|
396
|
+
begin
|
397
|
+
# Delete an IPv4 address
|
398
|
+
result = api_instance.delete_linode_ip(api_version, linode_id, address)
|
399
|
+
p result
|
400
|
+
rescue LinodeOpenapiClient::ApiError => e
|
401
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_ip: #{e}"
|
402
|
+
end
|
403
|
+
```
|
404
|
+
|
405
|
+
#### Using the delete_linode_ip_with_http_info variant
|
406
|
+
|
407
|
+
This returns an Array which contains the response data, status code and headers.
|
408
|
+
|
409
|
+
> <Array(Object, Integer, Hash)> delete_linode_ip_with_http_info(api_version, linode_id, address)
|
410
|
+
|
411
|
+
```ruby
|
412
|
+
begin
|
413
|
+
# Delete an IPv4 address
|
414
|
+
data, status_code, headers = api_instance.delete_linode_ip_with_http_info(api_version, linode_id, address)
|
415
|
+
p status_code # => 2xx
|
416
|
+
p headers # => { ... }
|
417
|
+
p data # => Object
|
418
|
+
rescue LinodeOpenapiClient::ApiError => e
|
419
|
+
puts "Error when calling LinodeInstancesApi->delete_linode_ip_with_http_info: #{e}"
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
### Parameters
|
424
|
+
|
425
|
+
| Name | Type | Description | Notes |
|
426
|
+
| ---- | ---- | ----------- | ----- |
|
427
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
428
|
+
| **linode_id** | **Integer** | The ID of the Linode. | |
|
429
|
+
| **address** | **String** | The IP address. | |
|
430
|
+
|
431
|
+
### Return type
|
432
|
+
|
433
|
+
**Object**
|
434
|
+
|
435
|
+
### Authorization
|
436
|
+
|
437
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
438
|
+
|
439
|
+
### HTTP request headers
|
440
|
+
|
441
|
+
- **Content-Type**: Not defined
|
442
|
+
- **Accept**: application/json
|
443
|
+
|
444
|
+
|
445
|
+
## get_backup
|
446
|
+
|
447
|
+
> <GetBackup200Response> get_backup(api_version, linode_id, backup_id)
|
448
|
+
|
449
|
+
Get a backup
|
450
|
+
|
451
|
+
Returns information about a Backup. <<LB>> --- - __CLI__. ``` linode-cli linodes backup-view 123 123456 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
452
|
+
|
453
|
+
### Examples
|
454
|
+
|
455
|
+
```ruby
|
456
|
+
require 'time'
|
457
|
+
require 'linode_openapi_client'
|
458
|
+
# setup authorization
|
459
|
+
LinodeOpenapiClient.configure do |config|
|
460
|
+
# Configure Bearer authorization: personalAccessToken
|
461
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
462
|
+
|
463
|
+
# Configure OAuth2 access token for authorization: oauth
|
464
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
465
|
+
end
|
466
|
+
|
467
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
468
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
469
|
+
linode_id = 56 # Integer | The ID of the Linode the Backup belongs to.
|
470
|
+
backup_id = 56 # Integer | The ID of the Backup to look up.
|
471
|
+
|
472
|
+
begin
|
473
|
+
# Get a backup
|
474
|
+
result = api_instance.get_backup(api_version, linode_id, backup_id)
|
475
|
+
p result
|
476
|
+
rescue LinodeOpenapiClient::ApiError => e
|
477
|
+
puts "Error when calling LinodeInstancesApi->get_backup: #{e}"
|
478
|
+
end
|
479
|
+
```
|
480
|
+
|
481
|
+
#### Using the get_backup_with_http_info variant
|
482
|
+
|
483
|
+
This returns an Array which contains the response data, status code and headers.
|
484
|
+
|
485
|
+
> <Array(<GetBackup200Response>, Integer, Hash)> get_backup_with_http_info(api_version, linode_id, backup_id)
|
486
|
+
|
487
|
+
```ruby
|
488
|
+
begin
|
489
|
+
# Get a backup
|
490
|
+
data, status_code, headers = api_instance.get_backup_with_http_info(api_version, linode_id, backup_id)
|
491
|
+
p status_code # => 2xx
|
492
|
+
p headers # => { ... }
|
493
|
+
p data # => <GetBackup200Response>
|
494
|
+
rescue LinodeOpenapiClient::ApiError => e
|
495
|
+
puts "Error when calling LinodeInstancesApi->get_backup_with_http_info: #{e}"
|
496
|
+
end
|
497
|
+
```
|
498
|
+
|
499
|
+
### Parameters
|
500
|
+
|
501
|
+
| Name | Type | Description | Notes |
|
502
|
+
| ---- | ---- | ----------- | ----- |
|
503
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
504
|
+
| **linode_id** | **Integer** | The ID of the Linode the Backup belongs to. | |
|
505
|
+
| **backup_id** | **Integer** | The ID of the Backup to look up. | |
|
506
|
+
|
507
|
+
### Return type
|
508
|
+
|
509
|
+
[**GetBackup200Response**](GetBackup200Response.md)
|
510
|
+
|
511
|
+
### Authorization
|
512
|
+
|
513
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
514
|
+
|
515
|
+
### HTTP request headers
|
516
|
+
|
517
|
+
- **Content-Type**: Not defined
|
518
|
+
- **Accept**: application/json
|
519
|
+
|
520
|
+
|
521
|
+
## get_backups
|
522
|
+
|
523
|
+
> <GetBackups200Response> get_backups(api_version, linode_id)
|
524
|
+
|
525
|
+
List backups
|
526
|
+
|
527
|
+
Returns information about this Linode's available backups. <<LB>> --- - __CLI__. ``` linode-cli linodes backups-list 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
528
|
+
|
529
|
+
### Examples
|
530
|
+
|
531
|
+
```ruby
|
532
|
+
require 'time'
|
533
|
+
require 'linode_openapi_client'
|
534
|
+
# setup authorization
|
535
|
+
LinodeOpenapiClient.configure do |config|
|
536
|
+
# Configure Bearer authorization: personalAccessToken
|
537
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
538
|
+
|
539
|
+
# Configure OAuth2 access token for authorization: oauth
|
540
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
541
|
+
end
|
542
|
+
|
543
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
544
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
545
|
+
linode_id = 56 # Integer | The ID of the Linode the backups belong to.
|
546
|
+
|
547
|
+
begin
|
548
|
+
# List backups
|
549
|
+
result = api_instance.get_backups(api_version, linode_id)
|
550
|
+
p result
|
551
|
+
rescue LinodeOpenapiClient::ApiError => e
|
552
|
+
puts "Error when calling LinodeInstancesApi->get_backups: #{e}"
|
553
|
+
end
|
554
|
+
```
|
555
|
+
|
556
|
+
#### Using the get_backups_with_http_info variant
|
557
|
+
|
558
|
+
This returns an Array which contains the response data, status code and headers.
|
559
|
+
|
560
|
+
> <Array(<GetBackups200Response>, Integer, Hash)> get_backups_with_http_info(api_version, linode_id)
|
561
|
+
|
562
|
+
```ruby
|
563
|
+
begin
|
564
|
+
# List backups
|
565
|
+
data, status_code, headers = api_instance.get_backups_with_http_info(api_version, linode_id)
|
566
|
+
p status_code # => 2xx
|
567
|
+
p headers # => { ... }
|
568
|
+
p data # => <GetBackups200Response>
|
569
|
+
rescue LinodeOpenapiClient::ApiError => e
|
570
|
+
puts "Error when calling LinodeInstancesApi->get_backups_with_http_info: #{e}"
|
571
|
+
end
|
572
|
+
```
|
573
|
+
|
574
|
+
### Parameters
|
575
|
+
|
576
|
+
| Name | Type | Description | Notes |
|
577
|
+
| ---- | ---- | ----------- | ----- |
|
578
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
579
|
+
| **linode_id** | **Integer** | The ID of the Linode the backups belong to. | |
|
580
|
+
|
581
|
+
### Return type
|
582
|
+
|
583
|
+
[**GetBackups200Response**](GetBackups200Response.md)
|
584
|
+
|
585
|
+
### Authorization
|
586
|
+
|
587
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
588
|
+
|
589
|
+
### HTTP request headers
|
590
|
+
|
591
|
+
- **Content-Type**: Not defined
|
592
|
+
- **Accept**: application/json
|
593
|
+
|
594
|
+
|
595
|
+
## get_kernel
|
596
|
+
|
597
|
+
> <GetKernel200Response> get_kernel(api_version, kernel_id)
|
598
|
+
|
599
|
+
Get a kernel
|
600
|
+
|
601
|
+
Returns information about a single Kernel. <<LB>> --- - __CLI__. ``` linode-cli kernels view latest-64bit ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/)
|
602
|
+
|
603
|
+
### Examples
|
604
|
+
|
605
|
+
```ruby
|
606
|
+
require 'time'
|
607
|
+
require 'linode_openapi_client'
|
608
|
+
|
609
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
610
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
611
|
+
kernel_id = 'kernel_id_example' # String | ID of the Kernel to look up.
|
612
|
+
|
613
|
+
begin
|
614
|
+
# Get a kernel
|
615
|
+
result = api_instance.get_kernel(api_version, kernel_id)
|
616
|
+
p result
|
617
|
+
rescue LinodeOpenapiClient::ApiError => e
|
618
|
+
puts "Error when calling LinodeInstancesApi->get_kernel: #{e}"
|
619
|
+
end
|
620
|
+
```
|
621
|
+
|
622
|
+
#### Using the get_kernel_with_http_info variant
|
623
|
+
|
624
|
+
This returns an Array which contains the response data, status code and headers.
|
625
|
+
|
626
|
+
> <Array(<GetKernel200Response>, Integer, Hash)> get_kernel_with_http_info(api_version, kernel_id)
|
627
|
+
|
628
|
+
```ruby
|
629
|
+
begin
|
630
|
+
# Get a kernel
|
631
|
+
data, status_code, headers = api_instance.get_kernel_with_http_info(api_version, kernel_id)
|
632
|
+
p status_code # => 2xx
|
633
|
+
p headers # => { ... }
|
634
|
+
p data # => <GetKernel200Response>
|
635
|
+
rescue LinodeOpenapiClient::ApiError => e
|
636
|
+
puts "Error when calling LinodeInstancesApi->get_kernel_with_http_info: #{e}"
|
637
|
+
end
|
638
|
+
```
|
639
|
+
|
640
|
+
### Parameters
|
641
|
+
|
642
|
+
| Name | Type | Description | Notes |
|
643
|
+
| ---- | ---- | ----------- | ----- |
|
644
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
645
|
+
| **kernel_id** | **String** | ID of the Kernel to look up. | |
|
646
|
+
|
647
|
+
### Return type
|
648
|
+
|
649
|
+
[**GetKernel200Response**](GetKernel200Response.md)
|
650
|
+
|
651
|
+
### Authorization
|
652
|
+
|
653
|
+
No authorization required
|
654
|
+
|
655
|
+
### HTTP request headers
|
656
|
+
|
657
|
+
- **Content-Type**: Not defined
|
658
|
+
- **Accept**: application/json
|
659
|
+
|
660
|
+
|
661
|
+
## get_kernels
|
662
|
+
|
663
|
+
> <GetKernels200Response> get_kernels(api_version, opts)
|
664
|
+
|
665
|
+
List kernels
|
666
|
+
|
667
|
+
Lists available Kernels. Due to the extensive list of available kernels, please keep [pagination](https://techdocs.akamai.com/linode-api/reference/pagination) controls in mind when managing responses to this operation. <<LB>> --- - __CLI__. ``` linode-cli kernels list ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/)
|
668
|
+
|
669
|
+
### Examples
|
670
|
+
|
671
|
+
```ruby
|
672
|
+
require 'time'
|
673
|
+
require 'linode_openapi_client'
|
674
|
+
|
675
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
676
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
677
|
+
opts = {
|
678
|
+
page: 56, # Integer | The page of a collection to return.
|
679
|
+
page_size: 56 # Integer | The number of items to return per page.
|
680
|
+
}
|
681
|
+
|
682
|
+
begin
|
683
|
+
# List kernels
|
684
|
+
result = api_instance.get_kernels(api_version, opts)
|
685
|
+
p result
|
686
|
+
rescue LinodeOpenapiClient::ApiError => e
|
687
|
+
puts "Error when calling LinodeInstancesApi->get_kernels: #{e}"
|
688
|
+
end
|
689
|
+
```
|
690
|
+
|
691
|
+
#### Using the get_kernels_with_http_info variant
|
692
|
+
|
693
|
+
This returns an Array which contains the response data, status code and headers.
|
694
|
+
|
695
|
+
> <Array(<GetKernels200Response>, Integer, Hash)> get_kernels_with_http_info(api_version, opts)
|
696
|
+
|
697
|
+
```ruby
|
698
|
+
begin
|
699
|
+
# List kernels
|
700
|
+
data, status_code, headers = api_instance.get_kernels_with_http_info(api_version, opts)
|
701
|
+
p status_code # => 2xx
|
702
|
+
p headers # => { ... }
|
703
|
+
p data # => <GetKernels200Response>
|
704
|
+
rescue LinodeOpenapiClient::ApiError => e
|
705
|
+
puts "Error when calling LinodeInstancesApi->get_kernels_with_http_info: #{e}"
|
706
|
+
end
|
707
|
+
```
|
708
|
+
|
709
|
+
### Parameters
|
710
|
+
|
711
|
+
| Name | Type | Description | Notes |
|
712
|
+
| ---- | ---- | ----------- | ----- |
|
713
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
714
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
715
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
716
|
+
|
717
|
+
### Return type
|
718
|
+
|
719
|
+
[**GetKernels200Response**](GetKernels200Response.md)
|
720
|
+
|
721
|
+
### Authorization
|
722
|
+
|
723
|
+
No authorization required
|
724
|
+
|
725
|
+
### HTTP request headers
|
726
|
+
|
727
|
+
- **Content-Type**: Not defined
|
728
|
+
- **Accept**: application/json
|
729
|
+
|
730
|
+
|
731
|
+
## get_linode_config
|
732
|
+
|
733
|
+
> <GetLinodeConfig200Response> get_linode_config(api_version, linode_id, config_id)
|
734
|
+
|
735
|
+
Get a config profile
|
736
|
+
|
737
|
+
Returns information about a specific Configuration profile. <<LB>> --- - __CLI__. ``` linode-cli linodes config-view 123 23456 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
738
|
+
|
739
|
+
### Examples
|
740
|
+
|
741
|
+
```ruby
|
742
|
+
require 'time'
|
743
|
+
require 'linode_openapi_client'
|
744
|
+
# setup authorization
|
745
|
+
LinodeOpenapiClient.configure do |config|
|
746
|
+
# Configure Bearer authorization: personalAccessToken
|
747
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
748
|
+
|
749
|
+
# Configure OAuth2 access token for authorization: oauth
|
750
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
751
|
+
end
|
752
|
+
|
753
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
754
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
755
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
756
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
757
|
+
|
758
|
+
begin
|
759
|
+
# Get a config profile
|
760
|
+
result = api_instance.get_linode_config(api_version, linode_id, config_id)
|
761
|
+
p result
|
762
|
+
rescue LinodeOpenapiClient::ApiError => e
|
763
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config: #{e}"
|
764
|
+
end
|
765
|
+
```
|
766
|
+
|
767
|
+
#### Using the get_linode_config_with_http_info variant
|
768
|
+
|
769
|
+
This returns an Array which contains the response data, status code and headers.
|
770
|
+
|
771
|
+
> <Array(<GetLinodeConfig200Response>, Integer, Hash)> get_linode_config_with_http_info(api_version, linode_id, config_id)
|
772
|
+
|
773
|
+
```ruby
|
774
|
+
begin
|
775
|
+
# Get a config profile
|
776
|
+
data, status_code, headers = api_instance.get_linode_config_with_http_info(api_version, linode_id, config_id)
|
777
|
+
p status_code # => 2xx
|
778
|
+
p headers # => { ... }
|
779
|
+
p data # => <GetLinodeConfig200Response>
|
780
|
+
rescue LinodeOpenapiClient::ApiError => e
|
781
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config_with_http_info: #{e}"
|
782
|
+
end
|
783
|
+
```
|
784
|
+
|
785
|
+
### Parameters
|
786
|
+
|
787
|
+
| Name | Type | Description | Notes |
|
788
|
+
| ---- | ---- | ----------- | ----- |
|
789
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
790
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
791
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
792
|
+
|
793
|
+
### Return type
|
794
|
+
|
795
|
+
[**GetLinodeConfig200Response**](GetLinodeConfig200Response.md)
|
796
|
+
|
797
|
+
### Authorization
|
798
|
+
|
799
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
800
|
+
|
801
|
+
### HTTP request headers
|
802
|
+
|
803
|
+
- **Content-Type**: Not defined
|
804
|
+
- **Accept**: application/json
|
805
|
+
|
806
|
+
|
807
|
+
## get_linode_config_interface
|
808
|
+
|
809
|
+
> <GetLinodeConfigInterface200Response> get_linode_config_interface(api_version, linode_id, config_id, interface_id)
|
810
|
+
|
811
|
+
Get a configuration profile interface
|
812
|
+
|
813
|
+
Returns a single Configuration Profile Interface. - The User accessing this operation must have at least `read_only` grants to the Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes config-interface-view $linodeId $configId $interfaceId ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
814
|
+
|
815
|
+
### Examples
|
816
|
+
|
817
|
+
```ruby
|
818
|
+
require 'time'
|
819
|
+
require 'linode_openapi_client'
|
820
|
+
# setup authorization
|
821
|
+
LinodeOpenapiClient.configure do |config|
|
822
|
+
# Configure Bearer authorization: personalAccessToken
|
823
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
824
|
+
|
825
|
+
# Configure OAuth2 access token for authorization: oauth
|
826
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
827
|
+
end
|
828
|
+
|
829
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
830
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
831
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
832
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
833
|
+
interface_id = 56 # Integer | The `id` of the Linode Configuration Profile Interface.
|
834
|
+
|
835
|
+
begin
|
836
|
+
# Get a configuration profile interface
|
837
|
+
result = api_instance.get_linode_config_interface(api_version, linode_id, config_id, interface_id)
|
838
|
+
p result
|
839
|
+
rescue LinodeOpenapiClient::ApiError => e
|
840
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config_interface: #{e}"
|
841
|
+
end
|
842
|
+
```
|
843
|
+
|
844
|
+
#### Using the get_linode_config_interface_with_http_info variant
|
845
|
+
|
846
|
+
This returns an Array which contains the response data, status code and headers.
|
847
|
+
|
848
|
+
> <Array(<GetLinodeConfigInterface200Response>, Integer, Hash)> get_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id)
|
849
|
+
|
850
|
+
```ruby
|
851
|
+
begin
|
852
|
+
# Get a configuration profile interface
|
853
|
+
data, status_code, headers = api_instance.get_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id)
|
854
|
+
p status_code # => 2xx
|
855
|
+
p headers # => { ... }
|
856
|
+
p data # => <GetLinodeConfigInterface200Response>
|
857
|
+
rescue LinodeOpenapiClient::ApiError => e
|
858
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config_interface_with_http_info: #{e}"
|
859
|
+
end
|
860
|
+
```
|
861
|
+
|
862
|
+
### Parameters
|
863
|
+
|
864
|
+
| Name | Type | Description | Notes |
|
865
|
+
| ---- | ---- | ----------- | ----- |
|
866
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
867
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
868
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
869
|
+
| **interface_id** | **Integer** | The `id` of the Linode Configuration Profile Interface. | |
|
870
|
+
|
871
|
+
### Return type
|
872
|
+
|
873
|
+
[**GetLinodeConfigInterface200Response**](GetLinodeConfigInterface200Response.md)
|
874
|
+
|
875
|
+
### Authorization
|
876
|
+
|
877
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
878
|
+
|
879
|
+
### HTTP request headers
|
880
|
+
|
881
|
+
- **Content-Type**: Not defined
|
882
|
+
- **Accept**: application/json
|
883
|
+
|
884
|
+
|
885
|
+
## get_linode_config_interfaces
|
886
|
+
|
887
|
+
> <Array<GetLinodeConfigInterfaces200ResponseInner>> get_linode_config_interfaces(api_version, linode_id, config_id)
|
888
|
+
|
889
|
+
List configuration profile interfaces
|
890
|
+
|
891
|
+
Returns an ordered array of all Interfaces associated with this Configuration Profile. - The User accessing this operation must have at least `read_only` grants to the Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes config-interfaces-list $linodeId $configId ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
892
|
+
|
893
|
+
### Examples
|
894
|
+
|
895
|
+
```ruby
|
896
|
+
require 'time'
|
897
|
+
require 'linode_openapi_client'
|
898
|
+
# setup authorization
|
899
|
+
LinodeOpenapiClient.configure do |config|
|
900
|
+
# Configure Bearer authorization: personalAccessToken
|
901
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
902
|
+
|
903
|
+
# Configure OAuth2 access token for authorization: oauth
|
904
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
905
|
+
end
|
906
|
+
|
907
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
908
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
909
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
910
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
911
|
+
|
912
|
+
begin
|
913
|
+
# List configuration profile interfaces
|
914
|
+
result = api_instance.get_linode_config_interfaces(api_version, linode_id, config_id)
|
915
|
+
p result
|
916
|
+
rescue LinodeOpenapiClient::ApiError => e
|
917
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config_interfaces: #{e}"
|
918
|
+
end
|
919
|
+
```
|
920
|
+
|
921
|
+
#### Using the get_linode_config_interfaces_with_http_info variant
|
922
|
+
|
923
|
+
This returns an Array which contains the response data, status code and headers.
|
924
|
+
|
925
|
+
> <Array(<Array<GetLinodeConfigInterfaces200ResponseInner>>, Integer, Hash)> get_linode_config_interfaces_with_http_info(api_version, linode_id, config_id)
|
926
|
+
|
927
|
+
```ruby
|
928
|
+
begin
|
929
|
+
# List configuration profile interfaces
|
930
|
+
data, status_code, headers = api_instance.get_linode_config_interfaces_with_http_info(api_version, linode_id, config_id)
|
931
|
+
p status_code # => 2xx
|
932
|
+
p headers # => { ... }
|
933
|
+
p data # => <Array<GetLinodeConfigInterfaces200ResponseInner>>
|
934
|
+
rescue LinodeOpenapiClient::ApiError => e
|
935
|
+
puts "Error when calling LinodeInstancesApi->get_linode_config_interfaces_with_http_info: #{e}"
|
936
|
+
end
|
937
|
+
```
|
938
|
+
|
939
|
+
### Parameters
|
940
|
+
|
941
|
+
| Name | Type | Description | Notes |
|
942
|
+
| ---- | ---- | ----------- | ----- |
|
943
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
944
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
945
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
946
|
+
|
947
|
+
### Return type
|
948
|
+
|
949
|
+
[**Array<GetLinodeConfigInterfaces200ResponseInner>**](GetLinodeConfigInterfaces200ResponseInner.md)
|
950
|
+
|
951
|
+
### Authorization
|
952
|
+
|
953
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
954
|
+
|
955
|
+
### HTTP request headers
|
956
|
+
|
957
|
+
- **Content-Type**: Not defined
|
958
|
+
- **Accept**: application/json
|
959
|
+
|
960
|
+
|
961
|
+
## get_linode_configs
|
962
|
+
|
963
|
+
> <GetLinodeConfigs200Response> get_linode_configs(api_version, linode_id, opts)
|
964
|
+
|
965
|
+
List config profiles
|
966
|
+
|
967
|
+
Lists Configuration profiles associated with a Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes configs-list 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
968
|
+
|
969
|
+
### Examples
|
970
|
+
|
971
|
+
```ruby
|
972
|
+
require 'time'
|
973
|
+
require 'linode_openapi_client'
|
974
|
+
# setup authorization
|
975
|
+
LinodeOpenapiClient.configure do |config|
|
976
|
+
# Configure Bearer authorization: personalAccessToken
|
977
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
978
|
+
|
979
|
+
# Configure OAuth2 access token for authorization: oauth
|
980
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
981
|
+
end
|
982
|
+
|
983
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
984
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
985
|
+
linode_id = 56 # Integer | ID of the Linode to look up Configuration profiles for.
|
986
|
+
opts = {
|
987
|
+
page: 56, # Integer | The page of a collection to return.
|
988
|
+
page_size: 56 # Integer | The number of items to return per page.
|
989
|
+
}
|
990
|
+
|
991
|
+
begin
|
992
|
+
# List config profiles
|
993
|
+
result = api_instance.get_linode_configs(api_version, linode_id, opts)
|
994
|
+
p result
|
995
|
+
rescue LinodeOpenapiClient::ApiError => e
|
996
|
+
puts "Error when calling LinodeInstancesApi->get_linode_configs: #{e}"
|
997
|
+
end
|
998
|
+
```
|
999
|
+
|
1000
|
+
#### Using the get_linode_configs_with_http_info variant
|
1001
|
+
|
1002
|
+
This returns an Array which contains the response data, status code and headers.
|
1003
|
+
|
1004
|
+
> <Array(<GetLinodeConfigs200Response>, Integer, Hash)> get_linode_configs_with_http_info(api_version, linode_id, opts)
|
1005
|
+
|
1006
|
+
```ruby
|
1007
|
+
begin
|
1008
|
+
# List config profiles
|
1009
|
+
data, status_code, headers = api_instance.get_linode_configs_with_http_info(api_version, linode_id, opts)
|
1010
|
+
p status_code # => 2xx
|
1011
|
+
p headers # => { ... }
|
1012
|
+
p data # => <GetLinodeConfigs200Response>
|
1013
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1014
|
+
puts "Error when calling LinodeInstancesApi->get_linode_configs_with_http_info: #{e}"
|
1015
|
+
end
|
1016
|
+
```
|
1017
|
+
|
1018
|
+
### Parameters
|
1019
|
+
|
1020
|
+
| Name | Type | Description | Notes |
|
1021
|
+
| ---- | ---- | ----------- | ----- |
|
1022
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1023
|
+
| **linode_id** | **Integer** | ID of the Linode to look up Configuration profiles for. | |
|
1024
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
1025
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
1026
|
+
|
1027
|
+
### Return type
|
1028
|
+
|
1029
|
+
[**GetLinodeConfigs200Response**](GetLinodeConfigs200Response.md)
|
1030
|
+
|
1031
|
+
### Authorization
|
1032
|
+
|
1033
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1034
|
+
|
1035
|
+
### HTTP request headers
|
1036
|
+
|
1037
|
+
- **Content-Type**: Not defined
|
1038
|
+
- **Accept**: application/json
|
1039
|
+
|
1040
|
+
|
1041
|
+
## get_linode_disk
|
1042
|
+
|
1043
|
+
> <GetLinodeDisk200Response> get_linode_disk(api_version, linode_id, disk_id)
|
1044
|
+
|
1045
|
+
Get a disk
|
1046
|
+
|
1047
|
+
View Disk information for a Disk associated with this Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-view 123 25674 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1048
|
+
|
1049
|
+
### Examples
|
1050
|
+
|
1051
|
+
```ruby
|
1052
|
+
require 'time'
|
1053
|
+
require 'linode_openapi_client'
|
1054
|
+
# setup authorization
|
1055
|
+
LinodeOpenapiClient.configure do |config|
|
1056
|
+
# Configure Bearer authorization: personalAccessToken
|
1057
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1058
|
+
|
1059
|
+
# Configure OAuth2 access token for authorization: oauth
|
1060
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1064
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1065
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1066
|
+
disk_id = 56 # Integer | ID of the Disk to look up.
|
1067
|
+
|
1068
|
+
begin
|
1069
|
+
# Get a disk
|
1070
|
+
result = api_instance.get_linode_disk(api_version, linode_id, disk_id)
|
1071
|
+
p result
|
1072
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1073
|
+
puts "Error when calling LinodeInstancesApi->get_linode_disk: #{e}"
|
1074
|
+
end
|
1075
|
+
```
|
1076
|
+
|
1077
|
+
#### Using the get_linode_disk_with_http_info variant
|
1078
|
+
|
1079
|
+
This returns an Array which contains the response data, status code and headers.
|
1080
|
+
|
1081
|
+
> <Array(<GetLinodeDisk200Response>, Integer, Hash)> get_linode_disk_with_http_info(api_version, linode_id, disk_id)
|
1082
|
+
|
1083
|
+
```ruby
|
1084
|
+
begin
|
1085
|
+
# Get a disk
|
1086
|
+
data, status_code, headers = api_instance.get_linode_disk_with_http_info(api_version, linode_id, disk_id)
|
1087
|
+
p status_code # => 2xx
|
1088
|
+
p headers # => { ... }
|
1089
|
+
p data # => <GetLinodeDisk200Response>
|
1090
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1091
|
+
puts "Error when calling LinodeInstancesApi->get_linode_disk_with_http_info: #{e}"
|
1092
|
+
end
|
1093
|
+
```
|
1094
|
+
|
1095
|
+
### Parameters
|
1096
|
+
|
1097
|
+
| Name | Type | Description | Notes |
|
1098
|
+
| ---- | ---- | ----------- | ----- |
|
1099
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1100
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1101
|
+
| **disk_id** | **Integer** | ID of the Disk to look up. | |
|
1102
|
+
|
1103
|
+
### Return type
|
1104
|
+
|
1105
|
+
[**GetLinodeDisk200Response**](GetLinodeDisk200Response.md)
|
1106
|
+
|
1107
|
+
### Authorization
|
1108
|
+
|
1109
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1110
|
+
|
1111
|
+
### HTTP request headers
|
1112
|
+
|
1113
|
+
- **Content-Type**: Not defined
|
1114
|
+
- **Accept**: application/json
|
1115
|
+
|
1116
|
+
|
1117
|
+
## get_linode_disks
|
1118
|
+
|
1119
|
+
> <GetLinodeDisks200Response> get_linode_disks(api_version, linode_id, opts)
|
1120
|
+
|
1121
|
+
List disks
|
1122
|
+
|
1123
|
+
View Disk information for Disks associated with this Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes disks-list 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1124
|
+
|
1125
|
+
### Examples
|
1126
|
+
|
1127
|
+
```ruby
|
1128
|
+
require 'time'
|
1129
|
+
require 'linode_openapi_client'
|
1130
|
+
# setup authorization
|
1131
|
+
LinodeOpenapiClient.configure do |config|
|
1132
|
+
# Configure Bearer authorization: personalAccessToken
|
1133
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1134
|
+
|
1135
|
+
# Configure OAuth2 access token for authorization: oauth
|
1136
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1140
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1141
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1142
|
+
opts = {
|
1143
|
+
page: 56, # Integer | The page of a collection to return.
|
1144
|
+
page_size: 56 # Integer | The number of items to return per page.
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
begin
|
1148
|
+
# List disks
|
1149
|
+
result = api_instance.get_linode_disks(api_version, linode_id, opts)
|
1150
|
+
p result
|
1151
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1152
|
+
puts "Error when calling LinodeInstancesApi->get_linode_disks: #{e}"
|
1153
|
+
end
|
1154
|
+
```
|
1155
|
+
|
1156
|
+
#### Using the get_linode_disks_with_http_info variant
|
1157
|
+
|
1158
|
+
This returns an Array which contains the response data, status code and headers.
|
1159
|
+
|
1160
|
+
> <Array(<GetLinodeDisks200Response>, Integer, Hash)> get_linode_disks_with_http_info(api_version, linode_id, opts)
|
1161
|
+
|
1162
|
+
```ruby
|
1163
|
+
begin
|
1164
|
+
# List disks
|
1165
|
+
data, status_code, headers = api_instance.get_linode_disks_with_http_info(api_version, linode_id, opts)
|
1166
|
+
p status_code # => 2xx
|
1167
|
+
p headers # => { ... }
|
1168
|
+
p data # => <GetLinodeDisks200Response>
|
1169
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1170
|
+
puts "Error when calling LinodeInstancesApi->get_linode_disks_with_http_info: #{e}"
|
1171
|
+
end
|
1172
|
+
```
|
1173
|
+
|
1174
|
+
### Parameters
|
1175
|
+
|
1176
|
+
| Name | Type | Description | Notes |
|
1177
|
+
| ---- | ---- | ----------- | ----- |
|
1178
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1179
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1180
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
1181
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
1182
|
+
|
1183
|
+
### Return type
|
1184
|
+
|
1185
|
+
[**GetLinodeDisks200Response**](GetLinodeDisks200Response.md)
|
1186
|
+
|
1187
|
+
### Authorization
|
1188
|
+
|
1189
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1190
|
+
|
1191
|
+
### HTTP request headers
|
1192
|
+
|
1193
|
+
- **Content-Type**: Not defined
|
1194
|
+
- **Accept**: application/json
|
1195
|
+
|
1196
|
+
|
1197
|
+
## get_linode_firewalls
|
1198
|
+
|
1199
|
+
> <GetLinodeFirewalls200Response> get_linode_firewalls(api_version, linode_id, opts)
|
1200
|
+
|
1201
|
+
List a Linode's firewalls
|
1202
|
+
|
1203
|
+
View Firewall information for Firewalls assigned to this Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes firewalls-list 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1204
|
+
|
1205
|
+
### Examples
|
1206
|
+
|
1207
|
+
```ruby
|
1208
|
+
require 'time'
|
1209
|
+
require 'linode_openapi_client'
|
1210
|
+
# setup authorization
|
1211
|
+
LinodeOpenapiClient.configure do |config|
|
1212
|
+
# Configure Bearer authorization: personalAccessToken
|
1213
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1214
|
+
|
1215
|
+
# Configure OAuth2 access token for authorization: oauth
|
1216
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1220
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1221
|
+
linode_id = 56 # Integer | ID of the Linode to access.
|
1222
|
+
opts = {
|
1223
|
+
page: 56, # Integer | The page of a collection to return.
|
1224
|
+
page_size: 56 # Integer | The number of items to return per page.
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
begin
|
1228
|
+
# List a Linode's firewalls
|
1229
|
+
result = api_instance.get_linode_firewalls(api_version, linode_id, opts)
|
1230
|
+
p result
|
1231
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1232
|
+
puts "Error when calling LinodeInstancesApi->get_linode_firewalls: #{e}"
|
1233
|
+
end
|
1234
|
+
```
|
1235
|
+
|
1236
|
+
#### Using the get_linode_firewalls_with_http_info variant
|
1237
|
+
|
1238
|
+
This returns an Array which contains the response data, status code and headers.
|
1239
|
+
|
1240
|
+
> <Array(<GetLinodeFirewalls200Response>, Integer, Hash)> get_linode_firewalls_with_http_info(api_version, linode_id, opts)
|
1241
|
+
|
1242
|
+
```ruby
|
1243
|
+
begin
|
1244
|
+
# List a Linode's firewalls
|
1245
|
+
data, status_code, headers = api_instance.get_linode_firewalls_with_http_info(api_version, linode_id, opts)
|
1246
|
+
p status_code # => 2xx
|
1247
|
+
p headers # => { ... }
|
1248
|
+
p data # => <GetLinodeFirewalls200Response>
|
1249
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1250
|
+
puts "Error when calling LinodeInstancesApi->get_linode_firewalls_with_http_info: #{e}"
|
1251
|
+
end
|
1252
|
+
```
|
1253
|
+
|
1254
|
+
### Parameters
|
1255
|
+
|
1256
|
+
| Name | Type | Description | Notes |
|
1257
|
+
| ---- | ---- | ----------- | ----- |
|
1258
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1259
|
+
| **linode_id** | **Integer** | ID of the Linode to access. | |
|
1260
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
1261
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
1262
|
+
|
1263
|
+
### Return type
|
1264
|
+
|
1265
|
+
[**GetLinodeFirewalls200Response**](GetLinodeFirewalls200Response.md)
|
1266
|
+
|
1267
|
+
### Authorization
|
1268
|
+
|
1269
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1270
|
+
|
1271
|
+
### HTTP request headers
|
1272
|
+
|
1273
|
+
- **Content-Type**: Not defined
|
1274
|
+
- **Accept**: application/json
|
1275
|
+
|
1276
|
+
|
1277
|
+
## get_linode_instance
|
1278
|
+
|
1279
|
+
> <Linode4> get_linode_instance(api_version, linode_id)
|
1280
|
+
|
1281
|
+
Get a Linode
|
1282
|
+
|
1283
|
+
Get a specific Linode by ID. <<LB>> --- - __CLI__. ``` linode-cli linodes view 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1284
|
+
|
1285
|
+
### Examples
|
1286
|
+
|
1287
|
+
```ruby
|
1288
|
+
require 'time'
|
1289
|
+
require 'linode_openapi_client'
|
1290
|
+
# setup authorization
|
1291
|
+
LinodeOpenapiClient.configure do |config|
|
1292
|
+
# Configure Bearer authorization: personalAccessToken
|
1293
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1294
|
+
|
1295
|
+
# Configure OAuth2 access token for authorization: oauth
|
1296
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1300
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1301
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1302
|
+
|
1303
|
+
begin
|
1304
|
+
# Get a Linode
|
1305
|
+
result = api_instance.get_linode_instance(api_version, linode_id)
|
1306
|
+
p result
|
1307
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1308
|
+
puts "Error when calling LinodeInstancesApi->get_linode_instance: #{e}"
|
1309
|
+
end
|
1310
|
+
```
|
1311
|
+
|
1312
|
+
#### Using the get_linode_instance_with_http_info variant
|
1313
|
+
|
1314
|
+
This returns an Array which contains the response data, status code and headers.
|
1315
|
+
|
1316
|
+
> <Array(<Linode4>, Integer, Hash)> get_linode_instance_with_http_info(api_version, linode_id)
|
1317
|
+
|
1318
|
+
```ruby
|
1319
|
+
begin
|
1320
|
+
# Get a Linode
|
1321
|
+
data, status_code, headers = api_instance.get_linode_instance_with_http_info(api_version, linode_id)
|
1322
|
+
p status_code # => 2xx
|
1323
|
+
p headers # => { ... }
|
1324
|
+
p data # => <Linode4>
|
1325
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1326
|
+
puts "Error when calling LinodeInstancesApi->get_linode_instance_with_http_info: #{e}"
|
1327
|
+
end
|
1328
|
+
```
|
1329
|
+
|
1330
|
+
### Parameters
|
1331
|
+
|
1332
|
+
| Name | Type | Description | Notes |
|
1333
|
+
| ---- | ---- | ----------- | ----- |
|
1334
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1335
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1336
|
+
|
1337
|
+
### Return type
|
1338
|
+
|
1339
|
+
[**Linode4**](Linode4.md)
|
1340
|
+
|
1341
|
+
### Authorization
|
1342
|
+
|
1343
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1344
|
+
|
1345
|
+
### HTTP request headers
|
1346
|
+
|
1347
|
+
- **Content-Type**: Not defined
|
1348
|
+
- **Accept**: application/json
|
1349
|
+
|
1350
|
+
|
1351
|
+
## get_linode_instances
|
1352
|
+
|
1353
|
+
> <GetLinodeInstances200Response> get_linode_instances(api_version, opts)
|
1354
|
+
|
1355
|
+
List Linodes
|
1356
|
+
|
1357
|
+
Returns a paginated list of Linodes you have permission to view. <<LB>> --- - __CLI__. ``` linode-cli linodes list ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1358
|
+
|
1359
|
+
### Examples
|
1360
|
+
|
1361
|
+
```ruby
|
1362
|
+
require 'time'
|
1363
|
+
require 'linode_openapi_client'
|
1364
|
+
# setup authorization
|
1365
|
+
LinodeOpenapiClient.configure do |config|
|
1366
|
+
# Configure Bearer authorization: personalAccessToken
|
1367
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1368
|
+
|
1369
|
+
# Configure OAuth2 access token for authorization: oauth
|
1370
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1374
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1375
|
+
opts = {
|
1376
|
+
x_filter: LinodeOpenapiClient::FilterAndSortCriteria.new, # GetLinodeInstancesXFilterParameter | Specifies a JSON object to filter down the results. See [Filtering and sorting](filtering-and-sorting) for details.
|
1377
|
+
page: 56, # Integer | The page of a collection to return.
|
1378
|
+
page_size: 56 # Integer | The number of items to return per page.
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
begin
|
1382
|
+
# List Linodes
|
1383
|
+
result = api_instance.get_linode_instances(api_version, opts)
|
1384
|
+
p result
|
1385
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1386
|
+
puts "Error when calling LinodeInstancesApi->get_linode_instances: #{e}"
|
1387
|
+
end
|
1388
|
+
```
|
1389
|
+
|
1390
|
+
#### Using the get_linode_instances_with_http_info variant
|
1391
|
+
|
1392
|
+
This returns an Array which contains the response data, status code and headers.
|
1393
|
+
|
1394
|
+
> <Array(<GetLinodeInstances200Response>, Integer, Hash)> get_linode_instances_with_http_info(api_version, opts)
|
1395
|
+
|
1396
|
+
```ruby
|
1397
|
+
begin
|
1398
|
+
# List Linodes
|
1399
|
+
data, status_code, headers = api_instance.get_linode_instances_with_http_info(api_version, opts)
|
1400
|
+
p status_code # => 2xx
|
1401
|
+
p headers # => { ... }
|
1402
|
+
p data # => <GetLinodeInstances200Response>
|
1403
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1404
|
+
puts "Error when calling LinodeInstancesApi->get_linode_instances_with_http_info: #{e}"
|
1405
|
+
end
|
1406
|
+
```
|
1407
|
+
|
1408
|
+
### Parameters
|
1409
|
+
|
1410
|
+
| Name | Type | Description | Notes |
|
1411
|
+
| ---- | ---- | ----------- | ----- |
|
1412
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1413
|
+
| **x_filter** | [**GetLinodeInstancesXFilterParameter**](.md) | Specifies a JSON object to filter down the results. See [Filtering and sorting](filtering-and-sorting) for details. | [optional] |
|
1414
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
1415
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
1416
|
+
|
1417
|
+
### Return type
|
1418
|
+
|
1419
|
+
[**GetLinodeInstances200Response**](GetLinodeInstances200Response.md)
|
1420
|
+
|
1421
|
+
### Authorization
|
1422
|
+
|
1423
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1424
|
+
|
1425
|
+
### HTTP request headers
|
1426
|
+
|
1427
|
+
- **Content-Type**: Not defined
|
1428
|
+
- **Accept**: application/json
|
1429
|
+
|
1430
|
+
|
1431
|
+
## get_linode_ip
|
1432
|
+
|
1433
|
+
> <GetLinodeIp200Response> get_linode_ip(api_version, linode_id, address)
|
1434
|
+
|
1435
|
+
Get a Linode's IP address
|
1436
|
+
|
1437
|
+
View information about the specified IP address associated with the specified Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes ip-view 123 97.107.143.141 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1438
|
+
|
1439
|
+
### Examples
|
1440
|
+
|
1441
|
+
```ruby
|
1442
|
+
require 'time'
|
1443
|
+
require 'linode_openapi_client'
|
1444
|
+
# setup authorization
|
1445
|
+
LinodeOpenapiClient.configure do |config|
|
1446
|
+
# Configure Bearer authorization: personalAccessToken
|
1447
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1448
|
+
|
1449
|
+
# Configure OAuth2 access token for authorization: oauth
|
1450
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1454
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1455
|
+
linode_id = 56 # Integer | The ID of the Linode.
|
1456
|
+
address = 'address_example' # String | The IP address.
|
1457
|
+
|
1458
|
+
begin
|
1459
|
+
# Get a Linode's IP address
|
1460
|
+
result = api_instance.get_linode_ip(api_version, linode_id, address)
|
1461
|
+
p result
|
1462
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1463
|
+
puts "Error when calling LinodeInstancesApi->get_linode_ip: #{e}"
|
1464
|
+
end
|
1465
|
+
```
|
1466
|
+
|
1467
|
+
#### Using the get_linode_ip_with_http_info variant
|
1468
|
+
|
1469
|
+
This returns an Array which contains the response data, status code and headers.
|
1470
|
+
|
1471
|
+
> <Array(<GetLinodeIp200Response>, Integer, Hash)> get_linode_ip_with_http_info(api_version, linode_id, address)
|
1472
|
+
|
1473
|
+
```ruby
|
1474
|
+
begin
|
1475
|
+
# Get a Linode's IP address
|
1476
|
+
data, status_code, headers = api_instance.get_linode_ip_with_http_info(api_version, linode_id, address)
|
1477
|
+
p status_code # => 2xx
|
1478
|
+
p headers # => { ... }
|
1479
|
+
p data # => <GetLinodeIp200Response>
|
1480
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1481
|
+
puts "Error when calling LinodeInstancesApi->get_linode_ip_with_http_info: #{e}"
|
1482
|
+
end
|
1483
|
+
```
|
1484
|
+
|
1485
|
+
### Parameters
|
1486
|
+
|
1487
|
+
| Name | Type | Description | Notes |
|
1488
|
+
| ---- | ---- | ----------- | ----- |
|
1489
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1490
|
+
| **linode_id** | **Integer** | The ID of the Linode. | |
|
1491
|
+
| **address** | **String** | The IP address. | |
|
1492
|
+
|
1493
|
+
### Return type
|
1494
|
+
|
1495
|
+
[**GetLinodeIp200Response**](GetLinodeIp200Response.md)
|
1496
|
+
|
1497
|
+
### Authorization
|
1498
|
+
|
1499
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1500
|
+
|
1501
|
+
### HTTP request headers
|
1502
|
+
|
1503
|
+
- **Content-Type**: Not defined
|
1504
|
+
- **Accept**: application/json
|
1505
|
+
|
1506
|
+
|
1507
|
+
## get_linode_ips
|
1508
|
+
|
1509
|
+
> <GetLinodeIps200Response> get_linode_ips(api_version, linode_id)
|
1510
|
+
|
1511
|
+
Get networking information
|
1512
|
+
|
1513
|
+
Returns networking information for a single Linode. __Note__. If the target Linode has several configuration profiles that include a Virtual Private Cloud (VPC) interface, address information for all of VPCs will be listed in the response. <<LB>> --- - __CLI__. ``` linode-cli linodes ips-list 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1514
|
+
|
1515
|
+
### Examples
|
1516
|
+
|
1517
|
+
```ruby
|
1518
|
+
require 'time'
|
1519
|
+
require 'linode_openapi_client'
|
1520
|
+
# setup authorization
|
1521
|
+
LinodeOpenapiClient.configure do |config|
|
1522
|
+
# Configure Bearer authorization: personalAccessToken
|
1523
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1524
|
+
|
1525
|
+
# Configure OAuth2 access token for authorization: oauth
|
1526
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1530
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1531
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1532
|
+
|
1533
|
+
begin
|
1534
|
+
# Get networking information
|
1535
|
+
result = api_instance.get_linode_ips(api_version, linode_id)
|
1536
|
+
p result
|
1537
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1538
|
+
puts "Error when calling LinodeInstancesApi->get_linode_ips: #{e}"
|
1539
|
+
end
|
1540
|
+
```
|
1541
|
+
|
1542
|
+
#### Using the get_linode_ips_with_http_info variant
|
1543
|
+
|
1544
|
+
This returns an Array which contains the response data, status code and headers.
|
1545
|
+
|
1546
|
+
> <Array(<GetLinodeIps200Response>, Integer, Hash)> get_linode_ips_with_http_info(api_version, linode_id)
|
1547
|
+
|
1548
|
+
```ruby
|
1549
|
+
begin
|
1550
|
+
# Get networking information
|
1551
|
+
data, status_code, headers = api_instance.get_linode_ips_with_http_info(api_version, linode_id)
|
1552
|
+
p status_code # => 2xx
|
1553
|
+
p headers # => { ... }
|
1554
|
+
p data # => <GetLinodeIps200Response>
|
1555
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1556
|
+
puts "Error when calling LinodeInstancesApi->get_linode_ips_with_http_info: #{e}"
|
1557
|
+
end
|
1558
|
+
```
|
1559
|
+
|
1560
|
+
### Parameters
|
1561
|
+
|
1562
|
+
| Name | Type | Description | Notes |
|
1563
|
+
| ---- | ---- | ----------- | ----- |
|
1564
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1565
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1566
|
+
|
1567
|
+
### Return type
|
1568
|
+
|
1569
|
+
[**GetLinodeIps200Response**](GetLinodeIps200Response.md)
|
1570
|
+
|
1571
|
+
### Authorization
|
1572
|
+
|
1573
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1574
|
+
|
1575
|
+
### HTTP request headers
|
1576
|
+
|
1577
|
+
- **Content-Type**: Not defined
|
1578
|
+
- **Accept**: application/json
|
1579
|
+
|
1580
|
+
|
1581
|
+
## get_linode_node_balancers
|
1582
|
+
|
1583
|
+
> <GetLinodeNodeBalancers200Response> get_linode_node_balancers(api_version, linode_id)
|
1584
|
+
|
1585
|
+
List Linode NodeBalancers
|
1586
|
+
|
1587
|
+
Returns a list of NodeBalancers that are assigned to this Linode and readable by the requesting User. Read permission to a NodeBalancer can be given to a User by accessing the [Update a user's grants](https://techdocs.akamai.com/linode-api/reference/put-user-grants) operation. <<LB>> --- - __CLI__. ``` linode-cli linodes nodebalancers 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1588
|
+
|
1589
|
+
### Examples
|
1590
|
+
|
1591
|
+
```ruby
|
1592
|
+
require 'time'
|
1593
|
+
require 'linode_openapi_client'
|
1594
|
+
# setup authorization
|
1595
|
+
LinodeOpenapiClient.configure do |config|
|
1596
|
+
# Configure Bearer authorization: personalAccessToken
|
1597
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1598
|
+
|
1599
|
+
# Configure OAuth2 access token for authorization: oauth
|
1600
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1604
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1605
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1606
|
+
|
1607
|
+
begin
|
1608
|
+
# List Linode NodeBalancers
|
1609
|
+
result = api_instance.get_linode_node_balancers(api_version, linode_id)
|
1610
|
+
p result
|
1611
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1612
|
+
puts "Error when calling LinodeInstancesApi->get_linode_node_balancers: #{e}"
|
1613
|
+
end
|
1614
|
+
```
|
1615
|
+
|
1616
|
+
#### Using the get_linode_node_balancers_with_http_info variant
|
1617
|
+
|
1618
|
+
This returns an Array which contains the response data, status code and headers.
|
1619
|
+
|
1620
|
+
> <Array(<GetLinodeNodeBalancers200Response>, Integer, Hash)> get_linode_node_balancers_with_http_info(api_version, linode_id)
|
1621
|
+
|
1622
|
+
```ruby
|
1623
|
+
begin
|
1624
|
+
# List Linode NodeBalancers
|
1625
|
+
data, status_code, headers = api_instance.get_linode_node_balancers_with_http_info(api_version, linode_id)
|
1626
|
+
p status_code # => 2xx
|
1627
|
+
p headers # => { ... }
|
1628
|
+
p data # => <GetLinodeNodeBalancers200Response>
|
1629
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1630
|
+
puts "Error when calling LinodeInstancesApi->get_linode_node_balancers_with_http_info: #{e}"
|
1631
|
+
end
|
1632
|
+
```
|
1633
|
+
|
1634
|
+
### Parameters
|
1635
|
+
|
1636
|
+
| Name | Type | Description | Notes |
|
1637
|
+
| ---- | ---- | ----------- | ----- |
|
1638
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1639
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1640
|
+
|
1641
|
+
### Return type
|
1642
|
+
|
1643
|
+
[**GetLinodeNodeBalancers200Response**](GetLinodeNodeBalancers200Response.md)
|
1644
|
+
|
1645
|
+
### Authorization
|
1646
|
+
|
1647
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1648
|
+
|
1649
|
+
### HTTP request headers
|
1650
|
+
|
1651
|
+
- **Content-Type**: Not defined
|
1652
|
+
- **Accept**: application/json
|
1653
|
+
|
1654
|
+
|
1655
|
+
## get_linode_stats
|
1656
|
+
|
1657
|
+
> <GetLinodeStats200Response> get_linode_stats(api_version, linode_id)
|
1658
|
+
|
1659
|
+
Get Linode statistics
|
1660
|
+
|
1661
|
+
Returns CPU, IO, IPv4, and IPv6 statistics for your Linode for the past 24 hours. <<LB>> --- - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1662
|
+
|
1663
|
+
### Examples
|
1664
|
+
|
1665
|
+
```ruby
|
1666
|
+
require 'time'
|
1667
|
+
require 'linode_openapi_client'
|
1668
|
+
# setup authorization
|
1669
|
+
LinodeOpenapiClient.configure do |config|
|
1670
|
+
# Configure Bearer authorization: personalAccessToken
|
1671
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1672
|
+
|
1673
|
+
# Configure OAuth2 access token for authorization: oauth
|
1674
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1678
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1679
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1680
|
+
|
1681
|
+
begin
|
1682
|
+
# Get Linode statistics
|
1683
|
+
result = api_instance.get_linode_stats(api_version, linode_id)
|
1684
|
+
p result
|
1685
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1686
|
+
puts "Error when calling LinodeInstancesApi->get_linode_stats: #{e}"
|
1687
|
+
end
|
1688
|
+
```
|
1689
|
+
|
1690
|
+
#### Using the get_linode_stats_with_http_info variant
|
1691
|
+
|
1692
|
+
This returns an Array which contains the response data, status code and headers.
|
1693
|
+
|
1694
|
+
> <Array(<GetLinodeStats200Response>, Integer, Hash)> get_linode_stats_with_http_info(api_version, linode_id)
|
1695
|
+
|
1696
|
+
```ruby
|
1697
|
+
begin
|
1698
|
+
# Get Linode statistics
|
1699
|
+
data, status_code, headers = api_instance.get_linode_stats_with_http_info(api_version, linode_id)
|
1700
|
+
p status_code # => 2xx
|
1701
|
+
p headers # => { ... }
|
1702
|
+
p data # => <GetLinodeStats200Response>
|
1703
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1704
|
+
puts "Error when calling LinodeInstancesApi->get_linode_stats_with_http_info: #{e}"
|
1705
|
+
end
|
1706
|
+
```
|
1707
|
+
|
1708
|
+
### Parameters
|
1709
|
+
|
1710
|
+
| Name | Type | Description | Notes |
|
1711
|
+
| ---- | ---- | ----------- | ----- |
|
1712
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1713
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1714
|
+
|
1715
|
+
### Return type
|
1716
|
+
|
1717
|
+
[**GetLinodeStats200Response**](GetLinodeStats200Response.md)
|
1718
|
+
|
1719
|
+
### Authorization
|
1720
|
+
|
1721
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1722
|
+
|
1723
|
+
### HTTP request headers
|
1724
|
+
|
1725
|
+
- **Content-Type**: Not defined
|
1726
|
+
- **Accept**: application/json
|
1727
|
+
|
1728
|
+
|
1729
|
+
## get_linode_stats_by_year_month
|
1730
|
+
|
1731
|
+
> <GetLinodeStatsByYearMonth200Response> get_linode_stats_by_year_month(api_version, linode_id, year, month)
|
1732
|
+
|
1733
|
+
Get monthly statistics
|
1734
|
+
|
1735
|
+
Returns statistics for a specific month. The year/month values must be either a date in the past, or the current month. If the current month, statistics will be retrieved for the past 30 days. <<LB>> --- - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1736
|
+
|
1737
|
+
### Examples
|
1738
|
+
|
1739
|
+
```ruby
|
1740
|
+
require 'time'
|
1741
|
+
require 'linode_openapi_client'
|
1742
|
+
# setup authorization
|
1743
|
+
LinodeOpenapiClient.configure do |config|
|
1744
|
+
# Configure Bearer authorization: personalAccessToken
|
1745
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1746
|
+
|
1747
|
+
# Configure OAuth2 access token for authorization: oauth
|
1748
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1752
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1753
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1754
|
+
year = 56 # Integer | Numeric value representing the year to look up.
|
1755
|
+
month = 56 # Integer | Numeric value representing the month to look up.
|
1756
|
+
|
1757
|
+
begin
|
1758
|
+
# Get monthly statistics
|
1759
|
+
result = api_instance.get_linode_stats_by_year_month(api_version, linode_id, year, month)
|
1760
|
+
p result
|
1761
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1762
|
+
puts "Error when calling LinodeInstancesApi->get_linode_stats_by_year_month: #{e}"
|
1763
|
+
end
|
1764
|
+
```
|
1765
|
+
|
1766
|
+
#### Using the get_linode_stats_by_year_month_with_http_info variant
|
1767
|
+
|
1768
|
+
This returns an Array which contains the response data, status code and headers.
|
1769
|
+
|
1770
|
+
> <Array(<GetLinodeStatsByYearMonth200Response>, Integer, Hash)> get_linode_stats_by_year_month_with_http_info(api_version, linode_id, year, month)
|
1771
|
+
|
1772
|
+
```ruby
|
1773
|
+
begin
|
1774
|
+
# Get monthly statistics
|
1775
|
+
data, status_code, headers = api_instance.get_linode_stats_by_year_month_with_http_info(api_version, linode_id, year, month)
|
1776
|
+
p status_code # => 2xx
|
1777
|
+
p headers # => { ... }
|
1778
|
+
p data # => <GetLinodeStatsByYearMonth200Response>
|
1779
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1780
|
+
puts "Error when calling LinodeInstancesApi->get_linode_stats_by_year_month_with_http_info: #{e}"
|
1781
|
+
end
|
1782
|
+
```
|
1783
|
+
|
1784
|
+
### Parameters
|
1785
|
+
|
1786
|
+
| Name | Type | Description | Notes |
|
1787
|
+
| ---- | ---- | ----------- | ----- |
|
1788
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1789
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1790
|
+
| **year** | **Integer** | Numeric value representing the year to look up. | |
|
1791
|
+
| **month** | **Integer** | Numeric value representing the month to look up. | |
|
1792
|
+
|
1793
|
+
### Return type
|
1794
|
+
|
1795
|
+
[**GetLinodeStatsByYearMonth200Response**](GetLinodeStatsByYearMonth200Response.md)
|
1796
|
+
|
1797
|
+
### Authorization
|
1798
|
+
|
1799
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1800
|
+
|
1801
|
+
### HTTP request headers
|
1802
|
+
|
1803
|
+
- **Content-Type**: Not defined
|
1804
|
+
- **Accept**: application/json
|
1805
|
+
|
1806
|
+
|
1807
|
+
## get_linode_transfer
|
1808
|
+
|
1809
|
+
> <GetLinodeTransfer200Response> get_linode_transfer(api_version, linode_id)
|
1810
|
+
|
1811
|
+
Get a network transfer
|
1812
|
+
|
1813
|
+
Returns a Linode's network transfer pool statistics for the current month. <<LB>> --- - __CLI__. ``` linode-cli linodes transfer-view 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1814
|
+
|
1815
|
+
### Examples
|
1816
|
+
|
1817
|
+
```ruby
|
1818
|
+
require 'time'
|
1819
|
+
require 'linode_openapi_client'
|
1820
|
+
# setup authorization
|
1821
|
+
LinodeOpenapiClient.configure do |config|
|
1822
|
+
# Configure Bearer authorization: personalAccessToken
|
1823
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1824
|
+
|
1825
|
+
# Configure OAuth2 access token for authorization: oauth
|
1826
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1830
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1831
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1832
|
+
|
1833
|
+
begin
|
1834
|
+
# Get a network transfer
|
1835
|
+
result = api_instance.get_linode_transfer(api_version, linode_id)
|
1836
|
+
p result
|
1837
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1838
|
+
puts "Error when calling LinodeInstancesApi->get_linode_transfer: #{e}"
|
1839
|
+
end
|
1840
|
+
```
|
1841
|
+
|
1842
|
+
#### Using the get_linode_transfer_with_http_info variant
|
1843
|
+
|
1844
|
+
This returns an Array which contains the response data, status code and headers.
|
1845
|
+
|
1846
|
+
> <Array(<GetLinodeTransfer200Response>, Integer, Hash)> get_linode_transfer_with_http_info(api_version, linode_id)
|
1847
|
+
|
1848
|
+
```ruby
|
1849
|
+
begin
|
1850
|
+
# Get a network transfer
|
1851
|
+
data, status_code, headers = api_instance.get_linode_transfer_with_http_info(api_version, linode_id)
|
1852
|
+
p status_code # => 2xx
|
1853
|
+
p headers # => { ... }
|
1854
|
+
p data # => <GetLinodeTransfer200Response>
|
1855
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1856
|
+
puts "Error when calling LinodeInstancesApi->get_linode_transfer_with_http_info: #{e}"
|
1857
|
+
end
|
1858
|
+
```
|
1859
|
+
|
1860
|
+
### Parameters
|
1861
|
+
|
1862
|
+
| Name | Type | Description | Notes |
|
1863
|
+
| ---- | ---- | ----------- | ----- |
|
1864
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1865
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1866
|
+
|
1867
|
+
### Return type
|
1868
|
+
|
1869
|
+
[**GetLinodeTransfer200Response**](GetLinodeTransfer200Response.md)
|
1870
|
+
|
1871
|
+
### Authorization
|
1872
|
+
|
1873
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1874
|
+
|
1875
|
+
### HTTP request headers
|
1876
|
+
|
1877
|
+
- **Content-Type**: Not defined
|
1878
|
+
- **Accept**: application/json
|
1879
|
+
|
1880
|
+
|
1881
|
+
## get_linode_transfer_by_year_month
|
1882
|
+
|
1883
|
+
> <GetLinodeTransferByYearMonth200Response> get_linode_transfer_by_year_month(api_version, linode_id, year, month)
|
1884
|
+
|
1885
|
+
Get monthly network transfer stats
|
1886
|
+
|
1887
|
+
Returns a Linode's network transfer statistics for a specific month. The year/month values must be either a date in the past, or the current month. <<LB>> --- - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
1888
|
+
|
1889
|
+
### Examples
|
1890
|
+
|
1891
|
+
```ruby
|
1892
|
+
require 'time'
|
1893
|
+
require 'linode_openapi_client'
|
1894
|
+
# setup authorization
|
1895
|
+
LinodeOpenapiClient.configure do |config|
|
1896
|
+
# Configure Bearer authorization: personalAccessToken
|
1897
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1898
|
+
|
1899
|
+
# Configure OAuth2 access token for authorization: oauth
|
1900
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1904
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1905
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
1906
|
+
year = 56 # Integer | Numeric value representing the year to look up.
|
1907
|
+
month = 56 # Integer | Numeric value representing the month to look up.
|
1908
|
+
|
1909
|
+
begin
|
1910
|
+
# Get monthly network transfer stats
|
1911
|
+
result = api_instance.get_linode_transfer_by_year_month(api_version, linode_id, year, month)
|
1912
|
+
p result
|
1913
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1914
|
+
puts "Error when calling LinodeInstancesApi->get_linode_transfer_by_year_month: #{e}"
|
1915
|
+
end
|
1916
|
+
```
|
1917
|
+
|
1918
|
+
#### Using the get_linode_transfer_by_year_month_with_http_info variant
|
1919
|
+
|
1920
|
+
This returns an Array which contains the response data, status code and headers.
|
1921
|
+
|
1922
|
+
> <Array(<GetLinodeTransferByYearMonth200Response>, Integer, Hash)> get_linode_transfer_by_year_month_with_http_info(api_version, linode_id, year, month)
|
1923
|
+
|
1924
|
+
```ruby
|
1925
|
+
begin
|
1926
|
+
# Get monthly network transfer stats
|
1927
|
+
data, status_code, headers = api_instance.get_linode_transfer_by_year_month_with_http_info(api_version, linode_id, year, month)
|
1928
|
+
p status_code # => 2xx
|
1929
|
+
p headers # => { ... }
|
1930
|
+
p data # => <GetLinodeTransferByYearMonth200Response>
|
1931
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1932
|
+
puts "Error when calling LinodeInstancesApi->get_linode_transfer_by_year_month_with_http_info: #{e}"
|
1933
|
+
end
|
1934
|
+
```
|
1935
|
+
|
1936
|
+
### Parameters
|
1937
|
+
|
1938
|
+
| Name | Type | Description | Notes |
|
1939
|
+
| ---- | ---- | ----------- | ----- |
|
1940
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
1941
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
1942
|
+
| **year** | **Integer** | Numeric value representing the year to look up. | |
|
1943
|
+
| **month** | **Integer** | Numeric value representing the month to look up. | |
|
1944
|
+
|
1945
|
+
### Return type
|
1946
|
+
|
1947
|
+
[**GetLinodeTransferByYearMonth200Response**](GetLinodeTransferByYearMonth200Response.md)
|
1948
|
+
|
1949
|
+
### Authorization
|
1950
|
+
|
1951
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
1952
|
+
|
1953
|
+
### HTTP request headers
|
1954
|
+
|
1955
|
+
- **Content-Type**: Not defined
|
1956
|
+
- **Accept**: application/json
|
1957
|
+
|
1958
|
+
|
1959
|
+
## get_linode_type
|
1960
|
+
|
1961
|
+
> <GetLinodeType200Response> get_linode_type(api_version, type_id)
|
1962
|
+
|
1963
|
+
Get a type
|
1964
|
+
|
1965
|
+
Returns information about a specific Linode Type, including pricing and specifications. This is used when [creating](https://techdocs.akamai.com/linode-api/reference/post-linode-instance) or [resizing](https://techdocs.akamai.com/linode-api/reference/post-resize-linode-instance) Linodes. <<LB>> --- - __CLI__. ``` linode-cli linodes type-view g6-standard-2 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/)
|
1966
|
+
|
1967
|
+
### Examples
|
1968
|
+
|
1969
|
+
```ruby
|
1970
|
+
require 'time'
|
1971
|
+
require 'linode_openapi_client'
|
1972
|
+
|
1973
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
1974
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
1975
|
+
type_id = 'type_id_example' # String | The ID of the Linode Type to look up.
|
1976
|
+
|
1977
|
+
begin
|
1978
|
+
# Get a type
|
1979
|
+
result = api_instance.get_linode_type(api_version, type_id)
|
1980
|
+
p result
|
1981
|
+
rescue LinodeOpenapiClient::ApiError => e
|
1982
|
+
puts "Error when calling LinodeInstancesApi->get_linode_type: #{e}"
|
1983
|
+
end
|
1984
|
+
```
|
1985
|
+
|
1986
|
+
#### Using the get_linode_type_with_http_info variant
|
1987
|
+
|
1988
|
+
This returns an Array which contains the response data, status code and headers.
|
1989
|
+
|
1990
|
+
> <Array(<GetLinodeType200Response>, Integer, Hash)> get_linode_type_with_http_info(api_version, type_id)
|
1991
|
+
|
1992
|
+
```ruby
|
1993
|
+
begin
|
1994
|
+
# Get a type
|
1995
|
+
data, status_code, headers = api_instance.get_linode_type_with_http_info(api_version, type_id)
|
1996
|
+
p status_code # => 2xx
|
1997
|
+
p headers # => { ... }
|
1998
|
+
p data # => <GetLinodeType200Response>
|
1999
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2000
|
+
puts "Error when calling LinodeInstancesApi->get_linode_type_with_http_info: #{e}"
|
2001
|
+
end
|
2002
|
+
```
|
2003
|
+
|
2004
|
+
### Parameters
|
2005
|
+
|
2006
|
+
| Name | Type | Description | Notes |
|
2007
|
+
| ---- | ---- | ----------- | ----- |
|
2008
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2009
|
+
| **type_id** | **String** | The ID of the Linode Type to look up. | |
|
2010
|
+
|
2011
|
+
### Return type
|
2012
|
+
|
2013
|
+
[**GetLinodeType200Response**](GetLinodeType200Response.md)
|
2014
|
+
|
2015
|
+
### Authorization
|
2016
|
+
|
2017
|
+
No authorization required
|
2018
|
+
|
2019
|
+
### HTTP request headers
|
2020
|
+
|
2021
|
+
- **Content-Type**: Not defined
|
2022
|
+
- **Accept**: application/json
|
2023
|
+
|
2024
|
+
|
2025
|
+
## get_linode_types
|
2026
|
+
|
2027
|
+
> <GetLinodeTypes200Response> get_linode_types(api_version)
|
2028
|
+
|
2029
|
+
List types
|
2030
|
+
|
2031
|
+
Returns collection of Linode Types, including pricing and specifications for each Type. These are used when [creating](https://techdocs.akamai.com/linode-api/reference/post-linode-instance) or [resizing](https://techdocs.akamai.com/linode-api/reference/post-resize-linode-instance) Linodes. <<LB>> --- - __CLI__. ``` linode-cli linodes types ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/)
|
2032
|
+
|
2033
|
+
### Examples
|
2034
|
+
|
2035
|
+
```ruby
|
2036
|
+
require 'time'
|
2037
|
+
require 'linode_openapi_client'
|
2038
|
+
|
2039
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2040
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2041
|
+
|
2042
|
+
begin
|
2043
|
+
# List types
|
2044
|
+
result = api_instance.get_linode_types(api_version)
|
2045
|
+
p result
|
2046
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2047
|
+
puts "Error when calling LinodeInstancesApi->get_linode_types: #{e}"
|
2048
|
+
end
|
2049
|
+
```
|
2050
|
+
|
2051
|
+
#### Using the get_linode_types_with_http_info variant
|
2052
|
+
|
2053
|
+
This returns an Array which contains the response data, status code and headers.
|
2054
|
+
|
2055
|
+
> <Array(<GetLinodeTypes200Response>, Integer, Hash)> get_linode_types_with_http_info(api_version)
|
2056
|
+
|
2057
|
+
```ruby
|
2058
|
+
begin
|
2059
|
+
# List types
|
2060
|
+
data, status_code, headers = api_instance.get_linode_types_with_http_info(api_version)
|
2061
|
+
p status_code # => 2xx
|
2062
|
+
p headers # => { ... }
|
2063
|
+
p data # => <GetLinodeTypes200Response>
|
2064
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2065
|
+
puts "Error when calling LinodeInstancesApi->get_linode_types_with_http_info: #{e}"
|
2066
|
+
end
|
2067
|
+
```
|
2068
|
+
|
2069
|
+
### Parameters
|
2070
|
+
|
2071
|
+
| Name | Type | Description | Notes |
|
2072
|
+
| ---- | ---- | ----------- | ----- |
|
2073
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2074
|
+
|
2075
|
+
### Return type
|
2076
|
+
|
2077
|
+
[**GetLinodeTypes200Response**](GetLinodeTypes200Response.md)
|
2078
|
+
|
2079
|
+
### Authorization
|
2080
|
+
|
2081
|
+
No authorization required
|
2082
|
+
|
2083
|
+
### HTTP request headers
|
2084
|
+
|
2085
|
+
- **Content-Type**: Not defined
|
2086
|
+
- **Accept**: application/json
|
2087
|
+
|
2088
|
+
|
2089
|
+
## get_linode_volumes
|
2090
|
+
|
2091
|
+
> <GetLinodeVolumes200Response> get_linode_volumes(api_version, linode_id, opts)
|
2092
|
+
|
2093
|
+
List a Linode's volumes
|
2094
|
+
|
2095
|
+
View Block Storage Volumes attached to this Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes volumes 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_only ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2096
|
+
|
2097
|
+
### Examples
|
2098
|
+
|
2099
|
+
```ruby
|
2100
|
+
require 'time'
|
2101
|
+
require 'linode_openapi_client'
|
2102
|
+
# setup authorization
|
2103
|
+
LinodeOpenapiClient.configure do |config|
|
2104
|
+
# Configure Bearer authorization: personalAccessToken
|
2105
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2106
|
+
|
2107
|
+
# Configure OAuth2 access token for authorization: oauth
|
2108
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2112
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2113
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
2114
|
+
opts = {
|
2115
|
+
page: 56, # Integer | The page of a collection to return.
|
2116
|
+
page_size: 56 # Integer | The number of items to return per page.
|
2117
|
+
}
|
2118
|
+
|
2119
|
+
begin
|
2120
|
+
# List a Linode's volumes
|
2121
|
+
result = api_instance.get_linode_volumes(api_version, linode_id, opts)
|
2122
|
+
p result
|
2123
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2124
|
+
puts "Error when calling LinodeInstancesApi->get_linode_volumes: #{e}"
|
2125
|
+
end
|
2126
|
+
```
|
2127
|
+
|
2128
|
+
#### Using the get_linode_volumes_with_http_info variant
|
2129
|
+
|
2130
|
+
This returns an Array which contains the response data, status code and headers.
|
2131
|
+
|
2132
|
+
> <Array(<GetLinodeVolumes200Response>, Integer, Hash)> get_linode_volumes_with_http_info(api_version, linode_id, opts)
|
2133
|
+
|
2134
|
+
```ruby
|
2135
|
+
begin
|
2136
|
+
# List a Linode's volumes
|
2137
|
+
data, status_code, headers = api_instance.get_linode_volumes_with_http_info(api_version, linode_id, opts)
|
2138
|
+
p status_code # => 2xx
|
2139
|
+
p headers # => { ... }
|
2140
|
+
p data # => <GetLinodeVolumes200Response>
|
2141
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2142
|
+
puts "Error when calling LinodeInstancesApi->get_linode_volumes_with_http_info: #{e}"
|
2143
|
+
end
|
2144
|
+
```
|
2145
|
+
|
2146
|
+
### Parameters
|
2147
|
+
|
2148
|
+
| Name | Type | Description | Notes |
|
2149
|
+
| ---- | ---- | ----------- | ----- |
|
2150
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2151
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
2152
|
+
| **page** | **Integer** | The page of a collection to return. | [optional][default to 1] |
|
2153
|
+
| **page_size** | **Integer** | The number of items to return per page. | [optional][default to 100] |
|
2154
|
+
|
2155
|
+
### Return type
|
2156
|
+
|
2157
|
+
[**GetLinodeVolumes200Response**](GetLinodeVolumes200Response.md)
|
2158
|
+
|
2159
|
+
### Authorization
|
2160
|
+
|
2161
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2162
|
+
|
2163
|
+
### HTTP request headers
|
2164
|
+
|
2165
|
+
- **Content-Type**: Not defined
|
2166
|
+
- **Accept**: application/json
|
2167
|
+
|
2168
|
+
|
2169
|
+
## post_add_linode_config
|
2170
|
+
|
2171
|
+
> <PostAddLinodeConfig200Response> post_add_linode_config(api_version, linode_id, post_add_linode_config_request)
|
2172
|
+
|
2173
|
+
Create a config profile
|
2174
|
+
|
2175
|
+
Adds a new Configuration profile to a Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes config-create 7590910 \\ --label \"My Config\" \\ --devices.sda.disk_id 123456 \\ --devices.sdb.disk_id 123457 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2176
|
+
|
2177
|
+
### Examples
|
2178
|
+
|
2179
|
+
```ruby
|
2180
|
+
require 'time'
|
2181
|
+
require 'linode_openapi_client'
|
2182
|
+
# setup authorization
|
2183
|
+
LinodeOpenapiClient.configure do |config|
|
2184
|
+
# Configure Bearer authorization: personalAccessToken
|
2185
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2186
|
+
|
2187
|
+
# Configure OAuth2 access token for authorization: oauth
|
2188
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2192
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2193
|
+
linode_id = 56 # Integer | ID of the Linode to look up Configuration profiles for.
|
2194
|
+
post_add_linode_config_request = LinodeOpenapiClient::PostAddLinodeConfigRequest.new({label: 'My Config', devices: LinodeOpenapiClient::PostAddLinodeConfigRequestAllOfDevices.new}) # PostAddLinodeConfigRequest | The parameters to set when creating the Configuration profile. This determines which kernel, devices, how much memory, etc. a Linode boots with.
|
2195
|
+
|
2196
|
+
begin
|
2197
|
+
# Create a config profile
|
2198
|
+
result = api_instance.post_add_linode_config(api_version, linode_id, post_add_linode_config_request)
|
2199
|
+
p result
|
2200
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2201
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_config: #{e}"
|
2202
|
+
end
|
2203
|
+
```
|
2204
|
+
|
2205
|
+
#### Using the post_add_linode_config_with_http_info variant
|
2206
|
+
|
2207
|
+
This returns an Array which contains the response data, status code and headers.
|
2208
|
+
|
2209
|
+
> <Array(<PostAddLinodeConfig200Response>, Integer, Hash)> post_add_linode_config_with_http_info(api_version, linode_id, post_add_linode_config_request)
|
2210
|
+
|
2211
|
+
```ruby
|
2212
|
+
begin
|
2213
|
+
# Create a config profile
|
2214
|
+
data, status_code, headers = api_instance.post_add_linode_config_with_http_info(api_version, linode_id, post_add_linode_config_request)
|
2215
|
+
p status_code # => 2xx
|
2216
|
+
p headers # => { ... }
|
2217
|
+
p data # => <PostAddLinodeConfig200Response>
|
2218
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2219
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_config_with_http_info: #{e}"
|
2220
|
+
end
|
2221
|
+
```
|
2222
|
+
|
2223
|
+
### Parameters
|
2224
|
+
|
2225
|
+
| Name | Type | Description | Notes |
|
2226
|
+
| ---- | ---- | ----------- | ----- |
|
2227
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2228
|
+
| **linode_id** | **Integer** | ID of the Linode to look up Configuration profiles for. | |
|
2229
|
+
| **post_add_linode_config_request** | [**PostAddLinodeConfigRequest**](PostAddLinodeConfigRequest.md) | The parameters to set when creating the Configuration profile. This determines which kernel, devices, how much memory, etc. a Linode boots with. | |
|
2230
|
+
|
2231
|
+
### Return type
|
2232
|
+
|
2233
|
+
[**PostAddLinodeConfig200Response**](PostAddLinodeConfig200Response.md)
|
2234
|
+
|
2235
|
+
### Authorization
|
2236
|
+
|
2237
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2238
|
+
|
2239
|
+
### HTTP request headers
|
2240
|
+
|
2241
|
+
- **Content-Type**: application/json
|
2242
|
+
- **Accept**: application/json
|
2243
|
+
|
2244
|
+
|
2245
|
+
## post_add_linode_disk
|
2246
|
+
|
2247
|
+
> <PostAddLinodeDisk200Response> post_add_linode_disk(api_version, linode_id, post_add_linode_disk_request)
|
2248
|
+
|
2249
|
+
Create a disk
|
2250
|
+
|
2251
|
+
Adds a new Disk to a Linode. - You can optionally create a Disk from an Image or an Empty Disk if no Image is provided with a request. - When creating an Empty Disk, providing a `label` is required. - If no `label` is provided, an `image` is required instead. - When creating a Disk from an Image, `root_pass` is required. - The default filesystem for new Disks is `ext4`. If creating a Disk from an Image, the filesystem of the Image is used unless otherwise specified. - When deploying a StackScript on a Disk: - Run [List StackScripts](https://techdocs.akamai.com/linode-api/reference/get-stack-scripts) for a list of available StackScripts. - Requires a compatible Image to be supplied. - Run [Get a StackScript](https://techdocs.akamai.com/linode-api/reference/get-stack-script) for compatible Images. - It is recommended to supply SSH keys for the root User using the `authorized_keys` field. - You may also supply a list of usernames via the `authorized_users` field. - These users must have an SSH Key associated with their Profiles first. See [Add an SSH key](https://techdocs.akamai.com/linode-api/reference/post-add-ssh-key) for more information. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-create 123 \\ --size 1300 \\ --authorized_keys \"ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer\" \\ --authorized_users \"myUser\" \\ --authorized_users \"secondaryUser\" \\ --root_pass aComplex@Password \\ --image \"linode/debian9\" \\ --stackscript_id 10079 \\ --stackscript_data '{\"gh_username\": \"linode\"}' ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2252
|
+
|
2253
|
+
### Examples
|
2254
|
+
|
2255
|
+
```ruby
|
2256
|
+
require 'time'
|
2257
|
+
require 'linode_openapi_client'
|
2258
|
+
# setup authorization
|
2259
|
+
LinodeOpenapiClient.configure do |config|
|
2260
|
+
# Configure Bearer authorization: personalAccessToken
|
2261
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2262
|
+
|
2263
|
+
# Configure OAuth2 access token for authorization: oauth
|
2264
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2265
|
+
end
|
2266
|
+
|
2267
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2268
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2269
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
2270
|
+
post_add_linode_disk_request = LinodeOpenapiClient::PostAddLinodeDiskRequest.new({size: 48640}) # PostAddLinodeDiskRequest | The parameters to set when creating the Disk.
|
2271
|
+
|
2272
|
+
begin
|
2273
|
+
# Create a disk
|
2274
|
+
result = api_instance.post_add_linode_disk(api_version, linode_id, post_add_linode_disk_request)
|
2275
|
+
p result
|
2276
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2277
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_disk: #{e}"
|
2278
|
+
end
|
2279
|
+
```
|
2280
|
+
|
2281
|
+
#### Using the post_add_linode_disk_with_http_info variant
|
2282
|
+
|
2283
|
+
This returns an Array which contains the response data, status code and headers.
|
2284
|
+
|
2285
|
+
> <Array(<PostAddLinodeDisk200Response>, Integer, Hash)> post_add_linode_disk_with_http_info(api_version, linode_id, post_add_linode_disk_request)
|
2286
|
+
|
2287
|
+
```ruby
|
2288
|
+
begin
|
2289
|
+
# Create a disk
|
2290
|
+
data, status_code, headers = api_instance.post_add_linode_disk_with_http_info(api_version, linode_id, post_add_linode_disk_request)
|
2291
|
+
p status_code # => 2xx
|
2292
|
+
p headers # => { ... }
|
2293
|
+
p data # => <PostAddLinodeDisk200Response>
|
2294
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2295
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_disk_with_http_info: #{e}"
|
2296
|
+
end
|
2297
|
+
```
|
2298
|
+
|
2299
|
+
### Parameters
|
2300
|
+
|
2301
|
+
| Name | Type | Description | Notes |
|
2302
|
+
| ---- | ---- | ----------- | ----- |
|
2303
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2304
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
2305
|
+
| **post_add_linode_disk_request** | [**PostAddLinodeDiskRequest**](PostAddLinodeDiskRequest.md) | The parameters to set when creating the Disk. | |
|
2306
|
+
|
2307
|
+
### Return type
|
2308
|
+
|
2309
|
+
[**PostAddLinodeDisk200Response**](PostAddLinodeDisk200Response.md)
|
2310
|
+
|
2311
|
+
### Authorization
|
2312
|
+
|
2313
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2314
|
+
|
2315
|
+
### HTTP request headers
|
2316
|
+
|
2317
|
+
- **Content-Type**: application/json
|
2318
|
+
- **Accept**: application/json
|
2319
|
+
|
2320
|
+
|
2321
|
+
## post_add_linode_ip
|
2322
|
+
|
2323
|
+
> <PostAddLinodeIp200Response> post_add_linode_ip(api_version, linode_id, post_add_linode_ip_request)
|
2324
|
+
|
2325
|
+
Allocate an IPv4 address
|
2326
|
+
|
2327
|
+
Allocates a public or private IPv4 address to a Linode. Public IP Addresses, after the one included with each Linode, incur an additional monthly charge. If you need an additional public IP Address you must request one - please [Open a support ticket](https://techdocs.akamai.com/linode-api/reference/post-ticket). You may not add more than one private IPv4 address to a single Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes ip-add 123 \\ --type ipv4 \\ --public true ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2328
|
+
|
2329
|
+
### Examples
|
2330
|
+
|
2331
|
+
```ruby
|
2332
|
+
require 'time'
|
2333
|
+
require 'linode_openapi_client'
|
2334
|
+
# setup authorization
|
2335
|
+
LinodeOpenapiClient.configure do |config|
|
2336
|
+
# Configure Bearer authorization: personalAccessToken
|
2337
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2338
|
+
|
2339
|
+
# Configure OAuth2 access token for authorization: oauth
|
2340
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2344
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2345
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
2346
|
+
post_add_linode_ip_request = LinodeOpenapiClient::PostAddLinodeIpRequest.new({type: 'ipv4', public: true}) # PostAddLinodeIpRequest | Information about the address you are creating.
|
2347
|
+
|
2348
|
+
begin
|
2349
|
+
# Allocate an IPv4 address
|
2350
|
+
result = api_instance.post_add_linode_ip(api_version, linode_id, post_add_linode_ip_request)
|
2351
|
+
p result
|
2352
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2353
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_ip: #{e}"
|
2354
|
+
end
|
2355
|
+
```
|
2356
|
+
|
2357
|
+
#### Using the post_add_linode_ip_with_http_info variant
|
2358
|
+
|
2359
|
+
This returns an Array which contains the response data, status code and headers.
|
2360
|
+
|
2361
|
+
> <Array(<PostAddLinodeIp200Response>, Integer, Hash)> post_add_linode_ip_with_http_info(api_version, linode_id, post_add_linode_ip_request)
|
2362
|
+
|
2363
|
+
```ruby
|
2364
|
+
begin
|
2365
|
+
# Allocate an IPv4 address
|
2366
|
+
data, status_code, headers = api_instance.post_add_linode_ip_with_http_info(api_version, linode_id, post_add_linode_ip_request)
|
2367
|
+
p status_code # => 2xx
|
2368
|
+
p headers # => { ... }
|
2369
|
+
p data # => <PostAddLinodeIp200Response>
|
2370
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2371
|
+
puts "Error when calling LinodeInstancesApi->post_add_linode_ip_with_http_info: #{e}"
|
2372
|
+
end
|
2373
|
+
```
|
2374
|
+
|
2375
|
+
### Parameters
|
2376
|
+
|
2377
|
+
| Name | Type | Description | Notes |
|
2378
|
+
| ---- | ---- | ----------- | ----- |
|
2379
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2380
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
2381
|
+
| **post_add_linode_ip_request** | [**PostAddLinodeIpRequest**](PostAddLinodeIpRequest.md) | Information about the address you are creating. | |
|
2382
|
+
|
2383
|
+
### Return type
|
2384
|
+
|
2385
|
+
[**PostAddLinodeIp200Response**](PostAddLinodeIp200Response.md)
|
2386
|
+
|
2387
|
+
### Authorization
|
2388
|
+
|
2389
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2390
|
+
|
2391
|
+
### HTTP request headers
|
2392
|
+
|
2393
|
+
- **Content-Type**: application/json
|
2394
|
+
- **Accept**: application/json
|
2395
|
+
|
2396
|
+
|
2397
|
+
## post_boot_linode_instance
|
2398
|
+
|
2399
|
+
> Object post_boot_linode_instance(api_version, linode_id, opts)
|
2400
|
+
|
2401
|
+
Boot a Linode
|
2402
|
+
|
2403
|
+
Boots a Linode you have permission to modify. If no parameters are given, a Config profile will be chosen for this boot based on the following criteria: - If there is only one Config profile for this Linode, it will be used. - If there is more than one Config profile, the last booted config will be used. - If there is more than one Config profile and none were the last to be booted (because the Linode was never booted or the last booted config was deleted) an error will be returned. <<LB>> --- - __CLI__. ``` linode-cli linodes boot 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2404
|
+
|
2405
|
+
### Examples
|
2406
|
+
|
2407
|
+
```ruby
|
2408
|
+
require 'time'
|
2409
|
+
require 'linode_openapi_client'
|
2410
|
+
# setup authorization
|
2411
|
+
LinodeOpenapiClient.configure do |config|
|
2412
|
+
# Configure Bearer authorization: personalAccessToken
|
2413
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2414
|
+
|
2415
|
+
# Configure OAuth2 access token for authorization: oauth
|
2416
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2420
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2421
|
+
linode_id = 56 # Integer | The ID of the Linode to boot.
|
2422
|
+
opts = {
|
2423
|
+
post_boot_linode_instance_request: LinodeOpenapiClient::PostBootLinodeInstanceRequest.new # PostBootLinodeInstanceRequest | Optional configuration to boot into (see above).
|
2424
|
+
}
|
2425
|
+
|
2426
|
+
begin
|
2427
|
+
# Boot a Linode
|
2428
|
+
result = api_instance.post_boot_linode_instance(api_version, linode_id, opts)
|
2429
|
+
p result
|
2430
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2431
|
+
puts "Error when calling LinodeInstancesApi->post_boot_linode_instance: #{e}"
|
2432
|
+
end
|
2433
|
+
```
|
2434
|
+
|
2435
|
+
#### Using the post_boot_linode_instance_with_http_info variant
|
2436
|
+
|
2437
|
+
This returns an Array which contains the response data, status code and headers.
|
2438
|
+
|
2439
|
+
> <Array(Object, Integer, Hash)> post_boot_linode_instance_with_http_info(api_version, linode_id, opts)
|
2440
|
+
|
2441
|
+
```ruby
|
2442
|
+
begin
|
2443
|
+
# Boot a Linode
|
2444
|
+
data, status_code, headers = api_instance.post_boot_linode_instance_with_http_info(api_version, linode_id, opts)
|
2445
|
+
p status_code # => 2xx
|
2446
|
+
p headers # => { ... }
|
2447
|
+
p data # => Object
|
2448
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2449
|
+
puts "Error when calling LinodeInstancesApi->post_boot_linode_instance_with_http_info: #{e}"
|
2450
|
+
end
|
2451
|
+
```
|
2452
|
+
|
2453
|
+
### Parameters
|
2454
|
+
|
2455
|
+
| Name | Type | Description | Notes |
|
2456
|
+
| ---- | ---- | ----------- | ----- |
|
2457
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2458
|
+
| **linode_id** | **Integer** | The ID of the Linode to boot. | |
|
2459
|
+
| **post_boot_linode_instance_request** | [**PostBootLinodeInstanceRequest**](PostBootLinodeInstanceRequest.md) | Optional configuration to boot into (see above). | [optional] |
|
2460
|
+
|
2461
|
+
### Return type
|
2462
|
+
|
2463
|
+
**Object**
|
2464
|
+
|
2465
|
+
### Authorization
|
2466
|
+
|
2467
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2468
|
+
|
2469
|
+
### HTTP request headers
|
2470
|
+
|
2471
|
+
- **Content-Type**: application/json
|
2472
|
+
- **Accept**: application/json
|
2473
|
+
|
2474
|
+
|
2475
|
+
## post_cancel_backups
|
2476
|
+
|
2477
|
+
> Object post_cancel_backups(api_version, linode_id)
|
2478
|
+
|
2479
|
+
Cancel backups
|
2480
|
+
|
2481
|
+
Cancels the Backup service on the given Linode. Deletes all of this Linode's existing backups forever. <<LB>> --- - __CLI__. ``` linode-cli linodes backups-cancel 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2482
|
+
|
2483
|
+
### Examples
|
2484
|
+
|
2485
|
+
```ruby
|
2486
|
+
require 'time'
|
2487
|
+
require 'linode_openapi_client'
|
2488
|
+
# setup authorization
|
2489
|
+
LinodeOpenapiClient.configure do |config|
|
2490
|
+
# Configure Bearer authorization: personalAccessToken
|
2491
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2492
|
+
|
2493
|
+
# Configure OAuth2 access token for authorization: oauth
|
2494
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2498
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2499
|
+
linode_id = 56 # Integer | The ID of the Linode to cancel backup service for.
|
2500
|
+
|
2501
|
+
begin
|
2502
|
+
# Cancel backups
|
2503
|
+
result = api_instance.post_cancel_backups(api_version, linode_id)
|
2504
|
+
p result
|
2505
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2506
|
+
puts "Error when calling LinodeInstancesApi->post_cancel_backups: #{e}"
|
2507
|
+
end
|
2508
|
+
```
|
2509
|
+
|
2510
|
+
#### Using the post_cancel_backups_with_http_info variant
|
2511
|
+
|
2512
|
+
This returns an Array which contains the response data, status code and headers.
|
2513
|
+
|
2514
|
+
> <Array(Object, Integer, Hash)> post_cancel_backups_with_http_info(api_version, linode_id)
|
2515
|
+
|
2516
|
+
```ruby
|
2517
|
+
begin
|
2518
|
+
# Cancel backups
|
2519
|
+
data, status_code, headers = api_instance.post_cancel_backups_with_http_info(api_version, linode_id)
|
2520
|
+
p status_code # => 2xx
|
2521
|
+
p headers # => { ... }
|
2522
|
+
p data # => Object
|
2523
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2524
|
+
puts "Error when calling LinodeInstancesApi->post_cancel_backups_with_http_info: #{e}"
|
2525
|
+
end
|
2526
|
+
```
|
2527
|
+
|
2528
|
+
### Parameters
|
2529
|
+
|
2530
|
+
| Name | Type | Description | Notes |
|
2531
|
+
| ---- | ---- | ----------- | ----- |
|
2532
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2533
|
+
| **linode_id** | **Integer** | The ID of the Linode to cancel backup service for. | |
|
2534
|
+
|
2535
|
+
### Return type
|
2536
|
+
|
2537
|
+
**Object**
|
2538
|
+
|
2539
|
+
### Authorization
|
2540
|
+
|
2541
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2542
|
+
|
2543
|
+
### HTTP request headers
|
2544
|
+
|
2545
|
+
- **Content-Type**: Not defined
|
2546
|
+
- **Accept**: application/json
|
2547
|
+
|
2548
|
+
|
2549
|
+
## post_clone_linode_disk
|
2550
|
+
|
2551
|
+
> <PostCloneLinodeDisk200Response> post_clone_linode_disk(api_version, linode_id, disk_id)
|
2552
|
+
|
2553
|
+
Clone a disk
|
2554
|
+
|
2555
|
+
Copies a disk, byte-for-byte, into a new Disk belonging to the same Linode. The Linode must have enough storage space available to accept a new Disk of the same size as this one or this operation will fail. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-clone ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2556
|
+
|
2557
|
+
### Examples
|
2558
|
+
|
2559
|
+
```ruby
|
2560
|
+
require 'time'
|
2561
|
+
require 'linode_openapi_client'
|
2562
|
+
# setup authorization
|
2563
|
+
LinodeOpenapiClient.configure do |config|
|
2564
|
+
# Configure Bearer authorization: personalAccessToken
|
2565
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2566
|
+
|
2567
|
+
# Configure OAuth2 access token for authorization: oauth
|
2568
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2572
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2573
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
2574
|
+
disk_id = 56 # Integer | ID of the Disk to clone.
|
2575
|
+
|
2576
|
+
begin
|
2577
|
+
# Clone a disk
|
2578
|
+
result = api_instance.post_clone_linode_disk(api_version, linode_id, disk_id)
|
2579
|
+
p result
|
2580
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2581
|
+
puts "Error when calling LinodeInstancesApi->post_clone_linode_disk: #{e}"
|
2582
|
+
end
|
2583
|
+
```
|
2584
|
+
|
2585
|
+
#### Using the post_clone_linode_disk_with_http_info variant
|
2586
|
+
|
2587
|
+
This returns an Array which contains the response data, status code and headers.
|
2588
|
+
|
2589
|
+
> <Array(<PostCloneLinodeDisk200Response>, Integer, Hash)> post_clone_linode_disk_with_http_info(api_version, linode_id, disk_id)
|
2590
|
+
|
2591
|
+
```ruby
|
2592
|
+
begin
|
2593
|
+
# Clone a disk
|
2594
|
+
data, status_code, headers = api_instance.post_clone_linode_disk_with_http_info(api_version, linode_id, disk_id)
|
2595
|
+
p status_code # => 2xx
|
2596
|
+
p headers # => { ... }
|
2597
|
+
p data # => <PostCloneLinodeDisk200Response>
|
2598
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2599
|
+
puts "Error when calling LinodeInstancesApi->post_clone_linode_disk_with_http_info: #{e}"
|
2600
|
+
end
|
2601
|
+
```
|
2602
|
+
|
2603
|
+
### Parameters
|
2604
|
+
|
2605
|
+
| Name | Type | Description | Notes |
|
2606
|
+
| ---- | ---- | ----------- | ----- |
|
2607
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2608
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
2609
|
+
| **disk_id** | **Integer** | ID of the Disk to clone. | |
|
2610
|
+
|
2611
|
+
### Return type
|
2612
|
+
|
2613
|
+
[**PostCloneLinodeDisk200Response**](PostCloneLinodeDisk200Response.md)
|
2614
|
+
|
2615
|
+
### Authorization
|
2616
|
+
|
2617
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2618
|
+
|
2619
|
+
### HTTP request headers
|
2620
|
+
|
2621
|
+
- **Content-Type**: Not defined
|
2622
|
+
- **Accept**: application/json
|
2623
|
+
|
2624
|
+
|
2625
|
+
## post_clone_linode_instance
|
2626
|
+
|
2627
|
+
> <Linode2> post_clone_linode_instance(api_version, linode_id, post_clone_linode_instance_request)
|
2628
|
+
|
2629
|
+
Clone a Linode
|
2630
|
+
|
2631
|
+
You can clone your Linode's existing Disks or Configuration profiles to another Linode on your Account. In order for this request to complete successfully, your User must have the `add_linodes` grant. Cloning to a new Linode will incur a charge on your Account. If cloning to an existing Linode, any actions currently running or queued must be completed first before you can clone to it. Up to five clone operations from any given source Linode can be run concurrently. If more concurrent clones are attempted, an HTTP 400 error will be returned by this operation. Any [tags](https://techdocs.akamai.com/linode-api/reference/get-tags) existing on the source Linode will be cloned to the target Linode. Linodes utilizing Metadata (`\"has_user_data\": true`) must be cloned to a new Linode with `metadata.user_data` included with the clone request. `vpc` details - If the Linode you are cloning has a `vpc` purpose Interface on its active Configuration Profile that includes a 1:1 NAT, the resulting clone is configured with an `any` 1:1 NAT. - See the [VPC documentation](https://www.linode.com/docs/products/networking/vpc/#technical-specifications) guide for its specifications and limitations. `vlan` details - Only Next Generation Network (NGN) data centers support VLANs. If a VLAN is attached to your Linode and you attempt clone it to a non-NGN data center, the cloning will not initiate. If a Linode cannot be cloned because of an incompatibility, you will be prompted to select a different data center or contact support. - See the [VLANs Overview](https://www.linode.com/docs/products/networking/vlans/#technical-specifications) guide to view additional specifications and limitations. <<LB>> --- - __CLI__. ``` linode-cli linodes clone 123 \\ --linode_id 124 \\ --region us-east \\ --type g6-standard-2 \\ --label cloned-linode \\ --backups_enabled true \\ --placement_group.id 528 \\ --disks 25674 \\ --configs 23456 \\ --private_ip true \\ --metadata.user_data I2Nsb3VkLWNvbmZpZw== ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2632
|
+
|
2633
|
+
### Examples
|
2634
|
+
|
2635
|
+
```ruby
|
2636
|
+
require 'time'
|
2637
|
+
require 'linode_openapi_client'
|
2638
|
+
# setup authorization
|
2639
|
+
LinodeOpenapiClient.configure do |config|
|
2640
|
+
# Configure Bearer authorization: personalAccessToken
|
2641
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2642
|
+
|
2643
|
+
# Configure OAuth2 access token for authorization: oauth
|
2644
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2645
|
+
end
|
2646
|
+
|
2647
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2648
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2649
|
+
linode_id = 56 # Integer | ID of the Linode to clone.
|
2650
|
+
post_clone_linode_instance_request = LinodeOpenapiClient::PostCloneLinodeInstanceRequest.new # PostCloneLinodeInstanceRequest | The requested state your Linode will be cloned into.
|
2651
|
+
|
2652
|
+
begin
|
2653
|
+
# Clone a Linode
|
2654
|
+
result = api_instance.post_clone_linode_instance(api_version, linode_id, post_clone_linode_instance_request)
|
2655
|
+
p result
|
2656
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2657
|
+
puts "Error when calling LinodeInstancesApi->post_clone_linode_instance: #{e}"
|
2658
|
+
end
|
2659
|
+
```
|
2660
|
+
|
2661
|
+
#### Using the post_clone_linode_instance_with_http_info variant
|
2662
|
+
|
2663
|
+
This returns an Array which contains the response data, status code and headers.
|
2664
|
+
|
2665
|
+
> <Array(<Linode2>, Integer, Hash)> post_clone_linode_instance_with_http_info(api_version, linode_id, post_clone_linode_instance_request)
|
2666
|
+
|
2667
|
+
```ruby
|
2668
|
+
begin
|
2669
|
+
# Clone a Linode
|
2670
|
+
data, status_code, headers = api_instance.post_clone_linode_instance_with_http_info(api_version, linode_id, post_clone_linode_instance_request)
|
2671
|
+
p status_code # => 2xx
|
2672
|
+
p headers # => { ... }
|
2673
|
+
p data # => <Linode2>
|
2674
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2675
|
+
puts "Error when calling LinodeInstancesApi->post_clone_linode_instance_with_http_info: #{e}"
|
2676
|
+
end
|
2677
|
+
```
|
2678
|
+
|
2679
|
+
### Parameters
|
2680
|
+
|
2681
|
+
| Name | Type | Description | Notes |
|
2682
|
+
| ---- | ---- | ----------- | ----- |
|
2683
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2684
|
+
| **linode_id** | **Integer** | ID of the Linode to clone. | |
|
2685
|
+
| **post_clone_linode_instance_request** | [**PostCloneLinodeInstanceRequest**](PostCloneLinodeInstanceRequest.md) | The requested state your Linode will be cloned into. | |
|
2686
|
+
|
2687
|
+
### Return type
|
2688
|
+
|
2689
|
+
[**Linode2**](Linode2.md)
|
2690
|
+
|
2691
|
+
### Authorization
|
2692
|
+
|
2693
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2694
|
+
|
2695
|
+
### HTTP request headers
|
2696
|
+
|
2697
|
+
- **Content-Type**: application/json
|
2698
|
+
- **Accept**: application/json
|
2699
|
+
|
2700
|
+
|
2701
|
+
## post_enable_backups
|
2702
|
+
|
2703
|
+
> Object post_enable_backups(api_version, linode_id)
|
2704
|
+
|
2705
|
+
Enable backups
|
2706
|
+
|
2707
|
+
Enables backups for the specified Linode. __Note__. Backups are not encrypted even when they are taken from an encrypted disk. When a backup is restored, and if encryption is enabled, the data stored on the disk is encrypted again. <<LB>> --- - __CLI__. ``` linode-cli linodes backups-enable 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2708
|
+
|
2709
|
+
### Examples
|
2710
|
+
|
2711
|
+
```ruby
|
2712
|
+
require 'time'
|
2713
|
+
require 'linode_openapi_client'
|
2714
|
+
# setup authorization
|
2715
|
+
LinodeOpenapiClient.configure do |config|
|
2716
|
+
# Configure Bearer authorization: personalAccessToken
|
2717
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2718
|
+
|
2719
|
+
# Configure OAuth2 access token for authorization: oauth
|
2720
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2721
|
+
end
|
2722
|
+
|
2723
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2724
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2725
|
+
linode_id = 56 # Integer | The ID of the Linode to enable backup service for.
|
2726
|
+
|
2727
|
+
begin
|
2728
|
+
# Enable backups
|
2729
|
+
result = api_instance.post_enable_backups(api_version, linode_id)
|
2730
|
+
p result
|
2731
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2732
|
+
puts "Error when calling LinodeInstancesApi->post_enable_backups: #{e}"
|
2733
|
+
end
|
2734
|
+
```
|
2735
|
+
|
2736
|
+
#### Using the post_enable_backups_with_http_info variant
|
2737
|
+
|
2738
|
+
This returns an Array which contains the response data, status code and headers.
|
2739
|
+
|
2740
|
+
> <Array(Object, Integer, Hash)> post_enable_backups_with_http_info(api_version, linode_id)
|
2741
|
+
|
2742
|
+
```ruby
|
2743
|
+
begin
|
2744
|
+
# Enable backups
|
2745
|
+
data, status_code, headers = api_instance.post_enable_backups_with_http_info(api_version, linode_id)
|
2746
|
+
p status_code # => 2xx
|
2747
|
+
p headers # => { ... }
|
2748
|
+
p data # => Object
|
2749
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2750
|
+
puts "Error when calling LinodeInstancesApi->post_enable_backups_with_http_info: #{e}"
|
2751
|
+
end
|
2752
|
+
```
|
2753
|
+
|
2754
|
+
### Parameters
|
2755
|
+
|
2756
|
+
| Name | Type | Description | Notes |
|
2757
|
+
| ---- | ---- | ----------- | ----- |
|
2758
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2759
|
+
| **linode_id** | **Integer** | The ID of the Linode to enable backup service for. | |
|
2760
|
+
|
2761
|
+
### Return type
|
2762
|
+
|
2763
|
+
**Object**
|
2764
|
+
|
2765
|
+
### Authorization
|
2766
|
+
|
2767
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2768
|
+
|
2769
|
+
### HTTP request headers
|
2770
|
+
|
2771
|
+
- **Content-Type**: Not defined
|
2772
|
+
- **Accept**: application/json
|
2773
|
+
|
2774
|
+
|
2775
|
+
## post_linode_config_interface
|
2776
|
+
|
2777
|
+
> <PostLinodeConfigInterface200Response> post_linode_config_interface(api_version, linode_id, config_id, post_linode_config_interface_request)
|
2778
|
+
|
2779
|
+
Add a configuration profile interface
|
2780
|
+
|
2781
|
+
Creates and appends a single Interface to the end of the `interfaces` array for an existing Configuration Profile. - The User accessing this operation must have `read_write` grants to the Linode. - A successful request triggers a `linode_config_update` event. - If the new Interface is added with `\"primary\": true`, then any existing primary Interface is changed to `\"primary\": false`. Reboot the Linode with this Configuration Profile to activate an Interface that was added with this operation. <<LB>> --- - __CLI__. ``` linode-cli linodes config-interface-add $linodeId $configId \\ --purpose vpc \\ --primary false \\ --subnet_id 101 \\ --ipv4.vpc \"10.0.1.2\" \\ --ipv4.nat_1_1 \"203.0.113.2\" ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2782
|
+
|
2783
|
+
### Examples
|
2784
|
+
|
2785
|
+
```ruby
|
2786
|
+
require 'time'
|
2787
|
+
require 'linode_openapi_client'
|
2788
|
+
# setup authorization
|
2789
|
+
LinodeOpenapiClient.configure do |config|
|
2790
|
+
# Configure Bearer authorization: personalAccessToken
|
2791
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2792
|
+
|
2793
|
+
# Configure OAuth2 access token for authorization: oauth
|
2794
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2795
|
+
end
|
2796
|
+
|
2797
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2798
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2799
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
2800
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
2801
|
+
post_linode_config_interface_request = LinodeOpenapiClient::PostLinodeConfigInterfaceRequest.new({purpose: 'public'}) # PostLinodeConfigInterfaceRequest | The Interface to add to the Configuration Profile.
|
2802
|
+
|
2803
|
+
begin
|
2804
|
+
# Add a configuration profile interface
|
2805
|
+
result = api_instance.post_linode_config_interface(api_version, linode_id, config_id, post_linode_config_interface_request)
|
2806
|
+
p result
|
2807
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2808
|
+
puts "Error when calling LinodeInstancesApi->post_linode_config_interface: #{e}"
|
2809
|
+
end
|
2810
|
+
```
|
2811
|
+
|
2812
|
+
#### Using the post_linode_config_interface_with_http_info variant
|
2813
|
+
|
2814
|
+
This returns an Array which contains the response data, status code and headers.
|
2815
|
+
|
2816
|
+
> <Array(<PostLinodeConfigInterface200Response>, Integer, Hash)> post_linode_config_interface_with_http_info(api_version, linode_id, config_id, post_linode_config_interface_request)
|
2817
|
+
|
2818
|
+
```ruby
|
2819
|
+
begin
|
2820
|
+
# Add a configuration profile interface
|
2821
|
+
data, status_code, headers = api_instance.post_linode_config_interface_with_http_info(api_version, linode_id, config_id, post_linode_config_interface_request)
|
2822
|
+
p status_code # => 2xx
|
2823
|
+
p headers # => { ... }
|
2824
|
+
p data # => <PostLinodeConfigInterface200Response>
|
2825
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2826
|
+
puts "Error when calling LinodeInstancesApi->post_linode_config_interface_with_http_info: #{e}"
|
2827
|
+
end
|
2828
|
+
```
|
2829
|
+
|
2830
|
+
### Parameters
|
2831
|
+
|
2832
|
+
| Name | Type | Description | Notes |
|
2833
|
+
| ---- | ---- | ----------- | ----- |
|
2834
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2835
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
2836
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
2837
|
+
| **post_linode_config_interface_request** | [**PostLinodeConfigInterfaceRequest**](PostLinodeConfigInterfaceRequest.md) | The Interface to add to the Configuration Profile. | |
|
2838
|
+
|
2839
|
+
### Return type
|
2840
|
+
|
2841
|
+
[**PostLinodeConfigInterface200Response**](PostLinodeConfigInterface200Response.md)
|
2842
|
+
|
2843
|
+
### Authorization
|
2844
|
+
|
2845
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2846
|
+
|
2847
|
+
### HTTP request headers
|
2848
|
+
|
2849
|
+
- **Content-Type**: application/json
|
2850
|
+
- **Accept**: application/json
|
2851
|
+
|
2852
|
+
|
2853
|
+
## post_linode_config_interfaces
|
2854
|
+
|
2855
|
+
> Object post_linode_config_interfaces(api_version, linode_id, config_id, post_linode_config_interfaces_request)
|
2856
|
+
|
2857
|
+
Reorder configuration profile interfaces
|
2858
|
+
|
2859
|
+
Reorders the existing Interfaces of a Configuration Profile. - The User accessing this operation must have `read_write` grants to the Linode. <<LB>> --- - __CLI__. ``` linode-cli linodes config-interfaces-order $linodeId $configId \\ --ids 101 --ids 102 --ids 103 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2860
|
+
|
2861
|
+
### Examples
|
2862
|
+
|
2863
|
+
```ruby
|
2864
|
+
require 'time'
|
2865
|
+
require 'linode_openapi_client'
|
2866
|
+
# setup authorization
|
2867
|
+
LinodeOpenapiClient.configure do |config|
|
2868
|
+
# Configure Bearer authorization: personalAccessToken
|
2869
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2870
|
+
|
2871
|
+
# Configure OAuth2 access token for authorization: oauth
|
2872
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2876
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2877
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
2878
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
2879
|
+
post_linode_config_interfaces_request = LinodeOpenapiClient::PostLinodeConfigInterfacesRequest.new({ids: [101]}) # PostLinodeConfigInterfacesRequest | The desired Interface order for the Configuration Profile.
|
2880
|
+
|
2881
|
+
begin
|
2882
|
+
# Reorder configuration profile interfaces
|
2883
|
+
result = api_instance.post_linode_config_interfaces(api_version, linode_id, config_id, post_linode_config_interfaces_request)
|
2884
|
+
p result
|
2885
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2886
|
+
puts "Error when calling LinodeInstancesApi->post_linode_config_interfaces: #{e}"
|
2887
|
+
end
|
2888
|
+
```
|
2889
|
+
|
2890
|
+
#### Using the post_linode_config_interfaces_with_http_info variant
|
2891
|
+
|
2892
|
+
This returns an Array which contains the response data, status code and headers.
|
2893
|
+
|
2894
|
+
> <Array(Object, Integer, Hash)> post_linode_config_interfaces_with_http_info(api_version, linode_id, config_id, post_linode_config_interfaces_request)
|
2895
|
+
|
2896
|
+
```ruby
|
2897
|
+
begin
|
2898
|
+
# Reorder configuration profile interfaces
|
2899
|
+
data, status_code, headers = api_instance.post_linode_config_interfaces_with_http_info(api_version, linode_id, config_id, post_linode_config_interfaces_request)
|
2900
|
+
p status_code # => 2xx
|
2901
|
+
p headers # => { ... }
|
2902
|
+
p data # => Object
|
2903
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2904
|
+
puts "Error when calling LinodeInstancesApi->post_linode_config_interfaces_with_http_info: #{e}"
|
2905
|
+
end
|
2906
|
+
```
|
2907
|
+
|
2908
|
+
### Parameters
|
2909
|
+
|
2910
|
+
| Name | Type | Description | Notes |
|
2911
|
+
| ---- | ---- | ----------- | ----- |
|
2912
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2913
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
2914
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
2915
|
+
| **post_linode_config_interfaces_request** | [**PostLinodeConfigInterfacesRequest**](PostLinodeConfigInterfacesRequest.md) | The desired Interface order for the Configuration Profile. | |
|
2916
|
+
|
2917
|
+
### Return type
|
2918
|
+
|
2919
|
+
**Object**
|
2920
|
+
|
2921
|
+
### Authorization
|
2922
|
+
|
2923
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2924
|
+
|
2925
|
+
### HTTP request headers
|
2926
|
+
|
2927
|
+
- **Content-Type**: application/json
|
2928
|
+
- **Accept**: application/json
|
2929
|
+
|
2930
|
+
|
2931
|
+
## post_linode_instance
|
2932
|
+
|
2933
|
+
> <Linode1> post_linode_instance(api_version, post_linode_instance_request)
|
2934
|
+
|
2935
|
+
Create a Linode
|
2936
|
+
|
2937
|
+
Creates a Linode Instance on your Account. In order for this request to complete successfully, your User must have the `add_linodes` grant. Creating a new Linode will incur a charge on your Account. Linodes can be created using one of the available Types. Run [List Linode types](https://techdocs.akamai.com/linode-api/reference/get-linode-types) to get more information about each Type's specs and cost. Linodes can be created in any one of our available Regions, which are accessible from the [List regions](https://techdocs.akamai.com/linode-api/reference/get-regions) operation. In an effort to fight spam, Linode restricts outbound connections on ports 25, 465, and 587 on all Linodes for new accounts created after November 5th, 2019. For more information, see our guide on [Running a Mail Server](https://www.linode.com/docs/guides/running-a-mail-server/). __Important__. You must be an unrestricted User in order to add or modify tags on Linodes. Linodes can be created in a number of ways: - Using a Linode Public Image distribution or a Private Image you created based on another Linode. - Run the [List images](https://techdocs.akamai.com/linode-api/reference/get-images) operation with authentication to view all available Images. - The Linode will be `running` after it completes `provisioning`. - A default config with two Disks, one being a 512 swap disk, is created. - `swap_size` can be used to customize the swap disk size. - Requires a `root_pass` be supplied to use for the root User's Account. - It is recommended to supply SSH keys for the root User using the `authorized_keys` field. - You may also supply a list of usernames via the `authorized_users` field. - These users must have an SSH Key associated with your Profile first. See the [Add an SSH key](https://techdocs.akamai.com/linode-api/reference/post-add-ssh-key)) operation for more information. - Using cloud-init with [Metadata](https://www.linode.com/docs/products/compute/compute-instances/guides/metadata/). - Automate system configuration and software installation by providing a base-64 encoded [cloud-config](https://www.linode.com/docs/products/compute/compute-instances/guides/metadata-cloud-config/) file. - Requires a compatible Image. You can determine compatible Images by checking for `cloud-init` under `capabilities` when running [List images](https://techdocs.akamai.com/linode-api/reference/get-images). - Requires a compatible Region. You can determine compatible Regions by checking for `Metadata` under `capabilities` when running [List regions](https://techdocs.akamai.com/linode-api/reference/get-regions). - Using a StackScript. - Run [List StackScripts](https://techdocs.akamai.com/linode-api/reference/get-stack-scripts) for a list of available StackScripts. - The Linode will be `running` after it completes `provisioning`. - Requires a compatible Image to be supplied. - Run [Get a StackScript](https://techdocs.akamai.com/linode-api/reference/get-stack-script) for compatible Images. - Requires a `root_pass` be supplied to use for the root User's Account. - It is recommended to supply SSH keys for the root User using the `authorized_keys` field. - You may also supply a list of usernames via the `authorized_users` field. - These users must have an SSH Key associated with your Profile first. See [Add an SSH key](https://techdocs.akamai.com/linode-api/reference/post-add-ssh-key) for more information. - Using one of your other Linode's backups. - You must create a Linode large enough to accommodate the Backup's size. - The Disks and Config will match that of the Linode that was backed up. - The `root_pass` will match that of the Linode that was backed up. - Attached to a private VLAN. - Review the `interfaces` property of the [Request Body Schema](https://techdocs.akamai.com/linode-api/reference/post-linode-instance) for details. - For more information, see our guide on [Getting Started with VLANs](https://www.linode.com/docs/products/networking/vlans/get-started/). - Create an empty Linode. - The Linode will remain `offline` and must be manually started. - Run [Boot a Linode](https://techdocs.akamai.com/linode-api/reference/post-boot-linode-instance). - Disks and Configs must be created manually. - This is only recommended for advanced use cases. <<LB>> --- - __CLI__. ``` linode-cli linodes create \\ --label linode123 \\ --root_pass aComplex@Password \\ --booted true \\ --stackscript_id 10079 \\ --stackscript_data '{\"gh_username\": \"linode\"}' \\ --region us-east \\ --disk_encryption enabled\\ --placement_group.id 528 \\ --type g6-standard-2 \\ --authorized_keys \"ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer\" \\ --authorized_users \"myUser\" \\ --authorized_users \"secondaryUser\" \\ --metadata.user_data \"I2Nsb3VkLWNvbmZpZw==\" \\ --firewall_id 9000 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
2938
|
+
|
2939
|
+
### Examples
|
2940
|
+
|
2941
|
+
```ruby
|
2942
|
+
require 'time'
|
2943
|
+
require 'linode_openapi_client'
|
2944
|
+
# setup authorization
|
2945
|
+
LinodeOpenapiClient.configure do |config|
|
2946
|
+
# Configure Bearer authorization: personalAccessToken
|
2947
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2948
|
+
|
2949
|
+
# Configure OAuth2 access token for authorization: oauth
|
2950
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
2954
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
2955
|
+
post_linode_instance_request = LinodeOpenapiClient::PostLinodeInstanceRequest.new({type: 'g6-standard-2', region: 'us-east'}) # PostLinodeInstanceRequest | The requested initial state of a new Linode.
|
2956
|
+
|
2957
|
+
begin
|
2958
|
+
# Create a Linode
|
2959
|
+
result = api_instance.post_linode_instance(api_version, post_linode_instance_request)
|
2960
|
+
p result
|
2961
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2962
|
+
puts "Error when calling LinodeInstancesApi->post_linode_instance: #{e}"
|
2963
|
+
end
|
2964
|
+
```
|
2965
|
+
|
2966
|
+
#### Using the post_linode_instance_with_http_info variant
|
2967
|
+
|
2968
|
+
This returns an Array which contains the response data, status code and headers.
|
2969
|
+
|
2970
|
+
> <Array(<Linode1>, Integer, Hash)> post_linode_instance_with_http_info(api_version, post_linode_instance_request)
|
2971
|
+
|
2972
|
+
```ruby
|
2973
|
+
begin
|
2974
|
+
# Create a Linode
|
2975
|
+
data, status_code, headers = api_instance.post_linode_instance_with_http_info(api_version, post_linode_instance_request)
|
2976
|
+
p status_code # => 2xx
|
2977
|
+
p headers # => { ... }
|
2978
|
+
p data # => <Linode1>
|
2979
|
+
rescue LinodeOpenapiClient::ApiError => e
|
2980
|
+
puts "Error when calling LinodeInstancesApi->post_linode_instance_with_http_info: #{e}"
|
2981
|
+
end
|
2982
|
+
```
|
2983
|
+
|
2984
|
+
### Parameters
|
2985
|
+
|
2986
|
+
| Name | Type | Description | Notes |
|
2987
|
+
| ---- | ---- | ----------- | ----- |
|
2988
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
2989
|
+
| **post_linode_instance_request** | [**PostLinodeInstanceRequest**](PostLinodeInstanceRequest.md) | The requested initial state of a new Linode. | |
|
2990
|
+
|
2991
|
+
### Return type
|
2992
|
+
|
2993
|
+
[**Linode1**](Linode1.md)
|
2994
|
+
|
2995
|
+
### Authorization
|
2996
|
+
|
2997
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
2998
|
+
|
2999
|
+
### HTTP request headers
|
3000
|
+
|
3001
|
+
- **Content-Type**: application/json
|
3002
|
+
- **Accept**: application/json
|
3003
|
+
|
3004
|
+
|
3005
|
+
## post_migrate_linode_instance
|
3006
|
+
|
3007
|
+
> Object post_migrate_linode_instance(api_version, linode_id, opts)
|
3008
|
+
|
3009
|
+
Initiate a DC migration/pending host migration
|
3010
|
+
|
3011
|
+
Initiate a pending host migration that has been scheduled by Linode or initiate a cross data center (DC) migration. A list of pending migrations, if any, can be accessed from [List notifications](https://techdocs.akamai.com/linode-api/reference/get-notifications). When the migration begins, your Linode will be shutdown if not already off. If the migration initiated the shutdown, it will reboot the Linode when completed. To initiate a cross DC migration, you must pass a `region` parameter to the request body specifying the target data center region. You can view a list of all available regions and their feature capabilities from [List regions](https://techdocs.akamai.com/linode-api/reference/get-regions). See our [Pricing Page](https://www.linode.com/pricing/) for Region-specific pricing, which applies after migration is complete. If your Linode has a DC migration already queued or you have initiated a previously scheduled migration, you will not be able to initiate a DC migration until it has completed. `vpc` details - Cross DC migrations are not allowed for Linodes that have a `vpc` purpose Configuration Profile Interface. Host migrations within the same DC are permitted. - See the [VPC documentation](https://www.linode.com/docs/products/networking/vpc/#technical-specifications) guide for its specifications and limitations. `vlan` details - Only Next Generation Network (NGN) data centers support VLANs. Run the [List regions](https://techdocs.akamai.com/linode-api/reference/get-regions) operation to view the capabilities of data center regions. If a VLAN is attached to your Linode and you attempt to migrate or clone it to a non-NGN data center, the migration or cloning will not initiate. If a Linode cannot be migrated or cloned because of an incompatibility, you will be prompted to select a different data center or contact support. - Next Generation Network (NGN) data centers do not support IPv6 `/116` pools or IP Failover. If you have these features enabled on your Linode and attempt to migrate to an NGN data center, the migration will not initiate. If a Linode cannot be migrated because of an incompatibility, you will be prompted to select a different data center or contact support. - See the [VLANs Overview](https://www.linode.com/docs/products/networking/vlans/#technical-specifications) guide to view additional specifications and limitations. <<LB>> --- - __CLI__. ``` linode-cli linodes migrate 123 \\ --region us-central \\ --placement_group.id 528 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3012
|
+
|
3013
|
+
### Examples
|
3014
|
+
|
3015
|
+
```ruby
|
3016
|
+
require 'time'
|
3017
|
+
require 'linode_openapi_client'
|
3018
|
+
# setup authorization
|
3019
|
+
LinodeOpenapiClient.configure do |config|
|
3020
|
+
# Configure Bearer authorization: personalAccessToken
|
3021
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3022
|
+
|
3023
|
+
# Configure OAuth2 access token for authorization: oauth
|
3024
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3025
|
+
end
|
3026
|
+
|
3027
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3028
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3029
|
+
linode_id = 56 # Integer | ID of the Linode to migrate.
|
3030
|
+
opts = {
|
3031
|
+
post_migrate_linode_instance_request: LinodeOpenapiClient::PostMigrateLinodeInstanceRequest.new # PostMigrateLinodeInstanceRequest |
|
3032
|
+
}
|
3033
|
+
|
3034
|
+
begin
|
3035
|
+
# Initiate a DC migration/pending host migration
|
3036
|
+
result = api_instance.post_migrate_linode_instance(api_version, linode_id, opts)
|
3037
|
+
p result
|
3038
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3039
|
+
puts "Error when calling LinodeInstancesApi->post_migrate_linode_instance: #{e}"
|
3040
|
+
end
|
3041
|
+
```
|
3042
|
+
|
3043
|
+
#### Using the post_migrate_linode_instance_with_http_info variant
|
3044
|
+
|
3045
|
+
This returns an Array which contains the response data, status code and headers.
|
3046
|
+
|
3047
|
+
> <Array(Object, Integer, Hash)> post_migrate_linode_instance_with_http_info(api_version, linode_id, opts)
|
3048
|
+
|
3049
|
+
```ruby
|
3050
|
+
begin
|
3051
|
+
# Initiate a DC migration/pending host migration
|
3052
|
+
data, status_code, headers = api_instance.post_migrate_linode_instance_with_http_info(api_version, linode_id, opts)
|
3053
|
+
p status_code # => 2xx
|
3054
|
+
p headers # => { ... }
|
3055
|
+
p data # => Object
|
3056
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3057
|
+
puts "Error when calling LinodeInstancesApi->post_migrate_linode_instance_with_http_info: #{e}"
|
3058
|
+
end
|
3059
|
+
```
|
3060
|
+
|
3061
|
+
### Parameters
|
3062
|
+
|
3063
|
+
| Name | Type | Description | Notes |
|
3064
|
+
| ---- | ---- | ----------- | ----- |
|
3065
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3066
|
+
| **linode_id** | **Integer** | ID of the Linode to migrate. | |
|
3067
|
+
| **post_migrate_linode_instance_request** | [**PostMigrateLinodeInstanceRequest**](PostMigrateLinodeInstanceRequest.md) | | [optional] |
|
3068
|
+
|
3069
|
+
### Return type
|
3070
|
+
|
3071
|
+
**Object**
|
3072
|
+
|
3073
|
+
### Authorization
|
3074
|
+
|
3075
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3076
|
+
|
3077
|
+
### HTTP request headers
|
3078
|
+
|
3079
|
+
- **Content-Type**: application/json
|
3080
|
+
- **Accept**: application/json
|
3081
|
+
|
3082
|
+
|
3083
|
+
## post_mutate_linode_instance
|
3084
|
+
|
3085
|
+
> Object post_mutate_linode_instance(api_version, linode_id, opts)
|
3086
|
+
|
3087
|
+
Upgrade a Linode
|
3088
|
+
|
3089
|
+
Linodes created with now-deprecated Types are entitled to a free upgrade to the next generation. A mutating Linode will be allocated any new resources the upgraded Type provides, and will be subsequently restarted if it was currently running. If any actions are currently running or queued, those actions must be completed first before you can initiate a mutate. <<LB>> --- - __CLI__. ``` linode-cli linodes upgrade 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3090
|
+
|
3091
|
+
### Examples
|
3092
|
+
|
3093
|
+
```ruby
|
3094
|
+
require 'time'
|
3095
|
+
require 'linode_openapi_client'
|
3096
|
+
# setup authorization
|
3097
|
+
LinodeOpenapiClient.configure do |config|
|
3098
|
+
# Configure Bearer authorization: personalAccessToken
|
3099
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3100
|
+
|
3101
|
+
# Configure OAuth2 access token for authorization: oauth
|
3102
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3103
|
+
end
|
3104
|
+
|
3105
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3106
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3107
|
+
linode_id = 56 # Integer | ID of the Linode to mutate.
|
3108
|
+
opts = {
|
3109
|
+
post_mutate_linode_instance_request: LinodeOpenapiClient::PostMutateLinodeInstanceRequest.new # PostMutateLinodeInstanceRequest | Whether to automatically resize disks or not.
|
3110
|
+
}
|
3111
|
+
|
3112
|
+
begin
|
3113
|
+
# Upgrade a Linode
|
3114
|
+
result = api_instance.post_mutate_linode_instance(api_version, linode_id, opts)
|
3115
|
+
p result
|
3116
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3117
|
+
puts "Error when calling LinodeInstancesApi->post_mutate_linode_instance: #{e}"
|
3118
|
+
end
|
3119
|
+
```
|
3120
|
+
|
3121
|
+
#### Using the post_mutate_linode_instance_with_http_info variant
|
3122
|
+
|
3123
|
+
This returns an Array which contains the response data, status code and headers.
|
3124
|
+
|
3125
|
+
> <Array(Object, Integer, Hash)> post_mutate_linode_instance_with_http_info(api_version, linode_id, opts)
|
3126
|
+
|
3127
|
+
```ruby
|
3128
|
+
begin
|
3129
|
+
# Upgrade a Linode
|
3130
|
+
data, status_code, headers = api_instance.post_mutate_linode_instance_with_http_info(api_version, linode_id, opts)
|
3131
|
+
p status_code # => 2xx
|
3132
|
+
p headers # => { ... }
|
3133
|
+
p data # => Object
|
3134
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3135
|
+
puts "Error when calling LinodeInstancesApi->post_mutate_linode_instance_with_http_info: #{e}"
|
3136
|
+
end
|
3137
|
+
```
|
3138
|
+
|
3139
|
+
### Parameters
|
3140
|
+
|
3141
|
+
| Name | Type | Description | Notes |
|
3142
|
+
| ---- | ---- | ----------- | ----- |
|
3143
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3144
|
+
| **linode_id** | **Integer** | ID of the Linode to mutate. | |
|
3145
|
+
| **post_mutate_linode_instance_request** | [**PostMutateLinodeInstanceRequest**](PostMutateLinodeInstanceRequest.md) | Whether to automatically resize disks or not. | [optional] |
|
3146
|
+
|
3147
|
+
### Return type
|
3148
|
+
|
3149
|
+
**Object**
|
3150
|
+
|
3151
|
+
### Authorization
|
3152
|
+
|
3153
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3154
|
+
|
3155
|
+
### HTTP request headers
|
3156
|
+
|
3157
|
+
- **Content-Type**: application/json
|
3158
|
+
- **Accept**: application/json
|
3159
|
+
|
3160
|
+
|
3161
|
+
## post_reboot_linode_instance
|
3162
|
+
|
3163
|
+
> Object post_reboot_linode_instance(api_version, linode_id, opts)
|
3164
|
+
|
3165
|
+
Reboot a Linode
|
3166
|
+
|
3167
|
+
Reboots a Linode you have permission to modify. If any actions are currently running or queued, those actions must be completed first before you can initiate a reboot. <<LB>> --- - __CLI__. ``` linode-cli linodes reboot 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3168
|
+
|
3169
|
+
### Examples
|
3170
|
+
|
3171
|
+
```ruby
|
3172
|
+
require 'time'
|
3173
|
+
require 'linode_openapi_client'
|
3174
|
+
# setup authorization
|
3175
|
+
LinodeOpenapiClient.configure do |config|
|
3176
|
+
# Configure Bearer authorization: personalAccessToken
|
3177
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3178
|
+
|
3179
|
+
# Configure OAuth2 access token for authorization: oauth
|
3180
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3181
|
+
end
|
3182
|
+
|
3183
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3184
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3185
|
+
linode_id = 56 # Integer | ID of the linode to reboot.
|
3186
|
+
opts = {
|
3187
|
+
post_reboot_linode_instance_request: LinodeOpenapiClient::PostRebootLinodeInstanceRequest.new # PostRebootLinodeInstanceRequest | Optional reboot parameters.
|
3188
|
+
}
|
3189
|
+
|
3190
|
+
begin
|
3191
|
+
# Reboot a Linode
|
3192
|
+
result = api_instance.post_reboot_linode_instance(api_version, linode_id, opts)
|
3193
|
+
p result
|
3194
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3195
|
+
puts "Error when calling LinodeInstancesApi->post_reboot_linode_instance: #{e}"
|
3196
|
+
end
|
3197
|
+
```
|
3198
|
+
|
3199
|
+
#### Using the post_reboot_linode_instance_with_http_info variant
|
3200
|
+
|
3201
|
+
This returns an Array which contains the response data, status code and headers.
|
3202
|
+
|
3203
|
+
> <Array(Object, Integer, Hash)> post_reboot_linode_instance_with_http_info(api_version, linode_id, opts)
|
3204
|
+
|
3205
|
+
```ruby
|
3206
|
+
begin
|
3207
|
+
# Reboot a Linode
|
3208
|
+
data, status_code, headers = api_instance.post_reboot_linode_instance_with_http_info(api_version, linode_id, opts)
|
3209
|
+
p status_code # => 2xx
|
3210
|
+
p headers # => { ... }
|
3211
|
+
p data # => Object
|
3212
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3213
|
+
puts "Error when calling LinodeInstancesApi->post_reboot_linode_instance_with_http_info: #{e}"
|
3214
|
+
end
|
3215
|
+
```
|
3216
|
+
|
3217
|
+
### Parameters
|
3218
|
+
|
3219
|
+
| Name | Type | Description | Notes |
|
3220
|
+
| ---- | ---- | ----------- | ----- |
|
3221
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3222
|
+
| **linode_id** | **Integer** | ID of the linode to reboot. | |
|
3223
|
+
| **post_reboot_linode_instance_request** | [**PostRebootLinodeInstanceRequest**](PostRebootLinodeInstanceRequest.md) | Optional reboot parameters. | [optional] |
|
3224
|
+
|
3225
|
+
### Return type
|
3226
|
+
|
3227
|
+
**Object**
|
3228
|
+
|
3229
|
+
### Authorization
|
3230
|
+
|
3231
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3232
|
+
|
3233
|
+
### HTTP request headers
|
3234
|
+
|
3235
|
+
- **Content-Type**: application/json
|
3236
|
+
- **Accept**: application/json
|
3237
|
+
|
3238
|
+
|
3239
|
+
## post_rebuild_linode_instance
|
3240
|
+
|
3241
|
+
> <Linode7> post_rebuild_linode_instance(api_version, linode_id, post_rebuild_linode_instance_request)
|
3242
|
+
|
3243
|
+
Rebuild a Linode
|
3244
|
+
|
3245
|
+
Rebuilds a Linode you have the `read_write` permission to modify. A rebuild will first shut down the Linode, delete all disks and configs on the Linode, and then deploy a new `image` to the Linode with the given attributes. Additionally: - Requires an `image` be supplied. - Requires a `root_pass` be supplied to use for the root User's Account. - It is recommended to supply SSH keys for the root User using the `authorized_keys` field. - Linodes utilizing Metadata (`\"has_user_data\": true`) should include `metadata.user_data` in the rebuild request to continue using the service. During a rebuild, you can `enable` or `disable` local disk encryption. If disk encryption is not included in the request, the previous `disk_encryption` value is used. Disk encryption cannot be disabled if the compute instance is attached to a LKE nodepool. You also have the option to resize the Linode to a different plan by including the `type` parameter with your request. Note that resizing involves migrating the Linode to a new hardware host, while rebuilding without resizing maintains the same hardware host. Resizing also requires significantly more time for completion of this operation. The following additional conditions apply: - The Linode must not have a pending migration. - Your Account cannot have an outstanding balance. - The Linode must not have more disk allocation than the new Type allows. - In that situation, you must first delete or resize the disk to be smaller. <<LB>> --- - __CLI__. ``` linode-cli linodes rebuild 123 \\ --image \"linode/debian9\" \\ --root_pass aComplex@Password \\ --disk_encryption disabled \\ --authorized_keys \"ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer\" \\ --authorized_users \"myUsername\" \\ --authorized_users \"secondaryUsername\" \\ --booted true \\ --stackscript_id 10079 \\ --stackscript_data '{\"gh_username\": \"linode\"}' \\ --type \"g6-standard-2\" \\ --metadata.userdata \"I2Nsb3VkLWNvbmZpZw==\" ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3246
|
+
|
3247
|
+
### Examples
|
3248
|
+
|
3249
|
+
```ruby
|
3250
|
+
require 'time'
|
3251
|
+
require 'linode_openapi_client'
|
3252
|
+
# setup authorization
|
3253
|
+
LinodeOpenapiClient.configure do |config|
|
3254
|
+
# Configure Bearer authorization: personalAccessToken
|
3255
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3256
|
+
|
3257
|
+
# Configure OAuth2 access token for authorization: oauth
|
3258
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3262
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3263
|
+
linode_id = 56 # Integer | ID of the Linode to rebuild.
|
3264
|
+
post_rebuild_linode_instance_request = LinodeOpenapiClient::PostRebuildLinodeInstanceRequest.new({root_pass: 'aComplexP@ssword', image: 'linode/debian9'}) # PostRebuildLinodeInstanceRequest | The requested state your Linode will be rebuilt into.
|
3265
|
+
|
3266
|
+
begin
|
3267
|
+
# Rebuild a Linode
|
3268
|
+
result = api_instance.post_rebuild_linode_instance(api_version, linode_id, post_rebuild_linode_instance_request)
|
3269
|
+
p result
|
3270
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3271
|
+
puts "Error when calling LinodeInstancesApi->post_rebuild_linode_instance: #{e}"
|
3272
|
+
end
|
3273
|
+
```
|
3274
|
+
|
3275
|
+
#### Using the post_rebuild_linode_instance_with_http_info variant
|
3276
|
+
|
3277
|
+
This returns an Array which contains the response data, status code and headers.
|
3278
|
+
|
3279
|
+
> <Array(<Linode7>, Integer, Hash)> post_rebuild_linode_instance_with_http_info(api_version, linode_id, post_rebuild_linode_instance_request)
|
3280
|
+
|
3281
|
+
```ruby
|
3282
|
+
begin
|
3283
|
+
# Rebuild a Linode
|
3284
|
+
data, status_code, headers = api_instance.post_rebuild_linode_instance_with_http_info(api_version, linode_id, post_rebuild_linode_instance_request)
|
3285
|
+
p status_code # => 2xx
|
3286
|
+
p headers # => { ... }
|
3287
|
+
p data # => <Linode7>
|
3288
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3289
|
+
puts "Error when calling LinodeInstancesApi->post_rebuild_linode_instance_with_http_info: #{e}"
|
3290
|
+
end
|
3291
|
+
```
|
3292
|
+
|
3293
|
+
### Parameters
|
3294
|
+
|
3295
|
+
| Name | Type | Description | Notes |
|
3296
|
+
| ---- | ---- | ----------- | ----- |
|
3297
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3298
|
+
| **linode_id** | **Integer** | ID of the Linode to rebuild. | |
|
3299
|
+
| **post_rebuild_linode_instance_request** | [**PostRebuildLinodeInstanceRequest**](PostRebuildLinodeInstanceRequest.md) | The requested state your Linode will be rebuilt into. | |
|
3300
|
+
|
3301
|
+
### Return type
|
3302
|
+
|
3303
|
+
[**Linode7**](Linode7.md)
|
3304
|
+
|
3305
|
+
### Authorization
|
3306
|
+
|
3307
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3308
|
+
|
3309
|
+
### HTTP request headers
|
3310
|
+
|
3311
|
+
- **Content-Type**: application/json
|
3312
|
+
- **Accept**: application/json
|
3313
|
+
|
3314
|
+
|
3315
|
+
## post_rescue_linode_instance
|
3316
|
+
|
3317
|
+
> Object post_rescue_linode_instance(api_version, linode_id, opts)
|
3318
|
+
|
3319
|
+
Boot a Linode into rescue mode
|
3320
|
+
|
3321
|
+
Rescue Mode is a safe environment for performing many system recovery and disk management tasks. Rescue Mode is based on the Finnix recovery distribution, a self-contained and bootable Linux distribution. You can also use Rescue Mode for tasks other than disaster recovery, such as formatting disks to use different filesystems, copying data between disks, and downloading files from a disk via SSH and SFTP. - Note that `sdh` is reserved and unavailable during rescue. <<LB>> --- - __CLI__. ``` linode-cli linodes rescue 123 \\ --devices.sda.disk_id 124458 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3322
|
+
|
3323
|
+
### Examples
|
3324
|
+
|
3325
|
+
```ruby
|
3326
|
+
require 'time'
|
3327
|
+
require 'linode_openapi_client'
|
3328
|
+
# setup authorization
|
3329
|
+
LinodeOpenapiClient.configure do |config|
|
3330
|
+
# Configure Bearer authorization: personalAccessToken
|
3331
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3332
|
+
|
3333
|
+
# Configure OAuth2 access token for authorization: oauth
|
3334
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3335
|
+
end
|
3336
|
+
|
3337
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3338
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3339
|
+
linode_id = 56 # Integer | ID of the Linode to rescue.
|
3340
|
+
opts = {
|
3341
|
+
post_rescue_linode_instance_request: LinodeOpenapiClient::PostRescueLinodeInstanceRequest.new # PostRescueLinodeInstanceRequest | Optional object of devices to be mounted.
|
3342
|
+
}
|
3343
|
+
|
3344
|
+
begin
|
3345
|
+
# Boot a Linode into rescue mode
|
3346
|
+
result = api_instance.post_rescue_linode_instance(api_version, linode_id, opts)
|
3347
|
+
p result
|
3348
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3349
|
+
puts "Error when calling LinodeInstancesApi->post_rescue_linode_instance: #{e}"
|
3350
|
+
end
|
3351
|
+
```
|
3352
|
+
|
3353
|
+
#### Using the post_rescue_linode_instance_with_http_info variant
|
3354
|
+
|
3355
|
+
This returns an Array which contains the response data, status code and headers.
|
3356
|
+
|
3357
|
+
> <Array(Object, Integer, Hash)> post_rescue_linode_instance_with_http_info(api_version, linode_id, opts)
|
3358
|
+
|
3359
|
+
```ruby
|
3360
|
+
begin
|
3361
|
+
# Boot a Linode into rescue mode
|
3362
|
+
data, status_code, headers = api_instance.post_rescue_linode_instance_with_http_info(api_version, linode_id, opts)
|
3363
|
+
p status_code # => 2xx
|
3364
|
+
p headers # => { ... }
|
3365
|
+
p data # => Object
|
3366
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3367
|
+
puts "Error when calling LinodeInstancesApi->post_rescue_linode_instance_with_http_info: #{e}"
|
3368
|
+
end
|
3369
|
+
```
|
3370
|
+
|
3371
|
+
### Parameters
|
3372
|
+
|
3373
|
+
| Name | Type | Description | Notes |
|
3374
|
+
| ---- | ---- | ----------- | ----- |
|
3375
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3376
|
+
| **linode_id** | **Integer** | ID of the Linode to rescue. | |
|
3377
|
+
| **post_rescue_linode_instance_request** | [**PostRescueLinodeInstanceRequest**](PostRescueLinodeInstanceRequest.md) | Optional object of devices to be mounted. | [optional] |
|
3378
|
+
|
3379
|
+
### Return type
|
3380
|
+
|
3381
|
+
**Object**
|
3382
|
+
|
3383
|
+
### Authorization
|
3384
|
+
|
3385
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3386
|
+
|
3387
|
+
### HTTP request headers
|
3388
|
+
|
3389
|
+
- **Content-Type**: application/json
|
3390
|
+
- **Accept**: application/json
|
3391
|
+
|
3392
|
+
|
3393
|
+
## post_reset_disk_password
|
3394
|
+
|
3395
|
+
> Object post_reset_disk_password(api_version, linode_id, disk_id, post_reset_disk_password_request)
|
3396
|
+
|
3397
|
+
Reset a disk root password
|
3398
|
+
|
3399
|
+
Resets the password of a Disk you have permission to `read_write`. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-reset-password \\ 123 25674 \\ --password aComplex@Password ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3400
|
+
|
3401
|
+
### Examples
|
3402
|
+
|
3403
|
+
```ruby
|
3404
|
+
require 'time'
|
3405
|
+
require 'linode_openapi_client'
|
3406
|
+
# setup authorization
|
3407
|
+
LinodeOpenapiClient.configure do |config|
|
3408
|
+
# Configure Bearer authorization: personalAccessToken
|
3409
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3410
|
+
|
3411
|
+
# Configure OAuth2 access token for authorization: oauth
|
3412
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3413
|
+
end
|
3414
|
+
|
3415
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3416
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3417
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
3418
|
+
disk_id = 56 # Integer | ID of the Disk to look up.
|
3419
|
+
post_reset_disk_password_request = LinodeOpenapiClient::PostResetDiskPasswordRequest.new({password: 'another@complex^Password123'}) # PostResetDiskPasswordRequest | The new password.
|
3420
|
+
|
3421
|
+
begin
|
3422
|
+
# Reset a disk root password
|
3423
|
+
result = api_instance.post_reset_disk_password(api_version, linode_id, disk_id, post_reset_disk_password_request)
|
3424
|
+
p result
|
3425
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3426
|
+
puts "Error when calling LinodeInstancesApi->post_reset_disk_password: #{e}"
|
3427
|
+
end
|
3428
|
+
```
|
3429
|
+
|
3430
|
+
#### Using the post_reset_disk_password_with_http_info variant
|
3431
|
+
|
3432
|
+
This returns an Array which contains the response data, status code and headers.
|
3433
|
+
|
3434
|
+
> <Array(Object, Integer, Hash)> post_reset_disk_password_with_http_info(api_version, linode_id, disk_id, post_reset_disk_password_request)
|
3435
|
+
|
3436
|
+
```ruby
|
3437
|
+
begin
|
3438
|
+
# Reset a disk root password
|
3439
|
+
data, status_code, headers = api_instance.post_reset_disk_password_with_http_info(api_version, linode_id, disk_id, post_reset_disk_password_request)
|
3440
|
+
p status_code # => 2xx
|
3441
|
+
p headers # => { ... }
|
3442
|
+
p data # => Object
|
3443
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3444
|
+
puts "Error when calling LinodeInstancesApi->post_reset_disk_password_with_http_info: #{e}"
|
3445
|
+
end
|
3446
|
+
```
|
3447
|
+
|
3448
|
+
### Parameters
|
3449
|
+
|
3450
|
+
| Name | Type | Description | Notes |
|
3451
|
+
| ---- | ---- | ----------- | ----- |
|
3452
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3453
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
3454
|
+
| **disk_id** | **Integer** | ID of the Disk to look up. | |
|
3455
|
+
| **post_reset_disk_password_request** | [**PostResetDiskPasswordRequest**](PostResetDiskPasswordRequest.md) | The new password. | |
|
3456
|
+
|
3457
|
+
### Return type
|
3458
|
+
|
3459
|
+
**Object**
|
3460
|
+
|
3461
|
+
### Authorization
|
3462
|
+
|
3463
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3464
|
+
|
3465
|
+
### HTTP request headers
|
3466
|
+
|
3467
|
+
- **Content-Type**: application/json
|
3468
|
+
- **Accept**: application/json
|
3469
|
+
|
3470
|
+
|
3471
|
+
## post_reset_linode_password
|
3472
|
+
|
3473
|
+
> Object post_reset_linode_password(api_version, linode_id, opts)
|
3474
|
+
|
3475
|
+
Reset a Linode's root password
|
3476
|
+
|
3477
|
+
Resets the root password for this Linode. - Your Linode must be [shut down](https://techdocs.akamai.com/linode-api/reference/post-shutdown-linode-instance) for a password reset to complete. - If your Linode has more than one disk (not counting its swap disk), run the [Reset a disk root password](https://techdocs.akamai.com/linode-api/reference/post-reset-disk-password) operation to update a specific disk's root password. - A `password_reset` event is generated when a root password reset is successful. <<LB>> --- - __CLI__. ``` linode-cli linodes linode-reset-password 123 a$eCure4assw0rd!43v51 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3478
|
+
|
3479
|
+
### Examples
|
3480
|
+
|
3481
|
+
```ruby
|
3482
|
+
require 'time'
|
3483
|
+
require 'linode_openapi_client'
|
3484
|
+
# setup authorization
|
3485
|
+
LinodeOpenapiClient.configure do |config|
|
3486
|
+
# Configure Bearer authorization: personalAccessToken
|
3487
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3488
|
+
|
3489
|
+
# Configure OAuth2 access token for authorization: oauth
|
3490
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3491
|
+
end
|
3492
|
+
|
3493
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3494
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3495
|
+
linode_id = 56 # Integer | ID of the Linode for which to reset its root password.
|
3496
|
+
opts = {
|
3497
|
+
post_reset_linode_password_request: LinodeOpenapiClient::PostResetLinodePasswordRequest.new({root_pass: 'a$eCure4assw0rd!43v51'}) # PostResetLinodePasswordRequest | This Linode's new root password.
|
3498
|
+
}
|
3499
|
+
|
3500
|
+
begin
|
3501
|
+
# Reset a Linode's root password
|
3502
|
+
result = api_instance.post_reset_linode_password(api_version, linode_id, opts)
|
3503
|
+
p result
|
3504
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3505
|
+
puts "Error when calling LinodeInstancesApi->post_reset_linode_password: #{e}"
|
3506
|
+
end
|
3507
|
+
```
|
3508
|
+
|
3509
|
+
#### Using the post_reset_linode_password_with_http_info variant
|
3510
|
+
|
3511
|
+
This returns an Array which contains the response data, status code and headers.
|
3512
|
+
|
3513
|
+
> <Array(Object, Integer, Hash)> post_reset_linode_password_with_http_info(api_version, linode_id, opts)
|
3514
|
+
|
3515
|
+
```ruby
|
3516
|
+
begin
|
3517
|
+
# Reset a Linode's root password
|
3518
|
+
data, status_code, headers = api_instance.post_reset_linode_password_with_http_info(api_version, linode_id, opts)
|
3519
|
+
p status_code # => 2xx
|
3520
|
+
p headers # => { ... }
|
3521
|
+
p data # => Object
|
3522
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3523
|
+
puts "Error when calling LinodeInstancesApi->post_reset_linode_password_with_http_info: #{e}"
|
3524
|
+
end
|
3525
|
+
```
|
3526
|
+
|
3527
|
+
### Parameters
|
3528
|
+
|
3529
|
+
| Name | Type | Description | Notes |
|
3530
|
+
| ---- | ---- | ----------- | ----- |
|
3531
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3532
|
+
| **linode_id** | **Integer** | ID of the Linode for which to reset its root password. | |
|
3533
|
+
| **post_reset_linode_password_request** | [**PostResetLinodePasswordRequest**](PostResetLinodePasswordRequest.md) | This Linode's new root password. | [optional] |
|
3534
|
+
|
3535
|
+
### Return type
|
3536
|
+
|
3537
|
+
**Object**
|
3538
|
+
|
3539
|
+
### Authorization
|
3540
|
+
|
3541
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3542
|
+
|
3543
|
+
### HTTP request headers
|
3544
|
+
|
3545
|
+
- **Content-Type**: application/json
|
3546
|
+
- **Accept**: application/json
|
3547
|
+
|
3548
|
+
|
3549
|
+
## post_resize_disk
|
3550
|
+
|
3551
|
+
> Object post_resize_disk(api_version, linode_id, disk_id, post_resize_disk_request)
|
3552
|
+
|
3553
|
+
Resize a disk
|
3554
|
+
|
3555
|
+
Resizes a Disk you have permission to `read_write`. The Disk must not be in use. If the Disk is in use, the request will succeed but the resize will ultimately fail. For a request to succeed, the Linode must be shut down prior to resizing the Disk, or the Disk must not be assigned to the Linode's active Configuration Profile. If you are resizing the Disk to a smaller size, it cannot be made smaller than what is required by the total size of the files current on the Disk. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-resize 123 25674 \\ --size 2048 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3556
|
+
|
3557
|
+
### Examples
|
3558
|
+
|
3559
|
+
```ruby
|
3560
|
+
require 'time'
|
3561
|
+
require 'linode_openapi_client'
|
3562
|
+
# setup authorization
|
3563
|
+
LinodeOpenapiClient.configure do |config|
|
3564
|
+
# Configure Bearer authorization: personalAccessToken
|
3565
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3566
|
+
|
3567
|
+
# Configure OAuth2 access token for authorization: oauth
|
3568
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3572
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3573
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
3574
|
+
disk_id = 56 # Integer | ID of the Disk to look up.
|
3575
|
+
post_resize_disk_request = LinodeOpenapiClient::PostResizeDiskRequest.new({size: 2048}) # PostResizeDiskRequest | The new size of the Disk.
|
3576
|
+
|
3577
|
+
begin
|
3578
|
+
# Resize a disk
|
3579
|
+
result = api_instance.post_resize_disk(api_version, linode_id, disk_id, post_resize_disk_request)
|
3580
|
+
p result
|
3581
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3582
|
+
puts "Error when calling LinodeInstancesApi->post_resize_disk: #{e}"
|
3583
|
+
end
|
3584
|
+
```
|
3585
|
+
|
3586
|
+
#### Using the post_resize_disk_with_http_info variant
|
3587
|
+
|
3588
|
+
This returns an Array which contains the response data, status code and headers.
|
3589
|
+
|
3590
|
+
> <Array(Object, Integer, Hash)> post_resize_disk_with_http_info(api_version, linode_id, disk_id, post_resize_disk_request)
|
3591
|
+
|
3592
|
+
```ruby
|
3593
|
+
begin
|
3594
|
+
# Resize a disk
|
3595
|
+
data, status_code, headers = api_instance.post_resize_disk_with_http_info(api_version, linode_id, disk_id, post_resize_disk_request)
|
3596
|
+
p status_code # => 2xx
|
3597
|
+
p headers # => { ... }
|
3598
|
+
p data # => Object
|
3599
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3600
|
+
puts "Error when calling LinodeInstancesApi->post_resize_disk_with_http_info: #{e}"
|
3601
|
+
end
|
3602
|
+
```
|
3603
|
+
|
3604
|
+
### Parameters
|
3605
|
+
|
3606
|
+
| Name | Type | Description | Notes |
|
3607
|
+
| ---- | ---- | ----------- | ----- |
|
3608
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3609
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
3610
|
+
| **disk_id** | **Integer** | ID of the Disk to look up. | |
|
3611
|
+
| **post_resize_disk_request** | [**PostResizeDiskRequest**](PostResizeDiskRequest.md) | The new size of the Disk. | |
|
3612
|
+
|
3613
|
+
### Return type
|
3614
|
+
|
3615
|
+
**Object**
|
3616
|
+
|
3617
|
+
### Authorization
|
3618
|
+
|
3619
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3620
|
+
|
3621
|
+
### HTTP request headers
|
3622
|
+
|
3623
|
+
- **Content-Type**: application/json
|
3624
|
+
- **Accept**: application/json
|
3625
|
+
|
3626
|
+
|
3627
|
+
## post_resize_linode_instance
|
3628
|
+
|
3629
|
+
> Object post_resize_linode_instance(api_version, linode_id, post_resize_linode_instance_request)
|
3630
|
+
|
3631
|
+
Resize a Linode
|
3632
|
+
|
3633
|
+
Resizes a Linode you have the `read_write` permission to a different Type. If any actions are currently running or queued, those actions must be completed first before you can initiate a resize. Additionally, the following criteria must be met in order to resize a Linode: - The Linode must not have a pending migration. - Your Account cannot have an outstanding balance. - The Linode must not have more disk allocation than the new Type allows. - In that situation, you must first delete or resize the disk to be smaller. You can also resize a Linode when using the [Rebuild a Linode](https://techdocs.akamai.com/linode-api/reference/post-rebuild-linode-instance) operation. <<LB>> --- - __CLI__. ``` linode-cli linodes resize 123 \\ --type g6-standard-2 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3634
|
+
|
3635
|
+
### Examples
|
3636
|
+
|
3637
|
+
```ruby
|
3638
|
+
require 'time'
|
3639
|
+
require 'linode_openapi_client'
|
3640
|
+
# setup authorization
|
3641
|
+
LinodeOpenapiClient.configure do |config|
|
3642
|
+
# Configure Bearer authorization: personalAccessToken
|
3643
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3644
|
+
|
3645
|
+
# Configure OAuth2 access token for authorization: oauth
|
3646
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3650
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3651
|
+
linode_id = 56 # Integer | ID of the Linode to resize.
|
3652
|
+
post_resize_linode_instance_request = LinodeOpenapiClient::PostResizeLinodeInstanceRequest.new({type: 'g6-standard-2'}) # PostResizeLinodeInstanceRequest | The Type your current Linode will resize to, and whether to attempt to automatically resize the Linode's disks.
|
3653
|
+
|
3654
|
+
begin
|
3655
|
+
# Resize a Linode
|
3656
|
+
result = api_instance.post_resize_linode_instance(api_version, linode_id, post_resize_linode_instance_request)
|
3657
|
+
p result
|
3658
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3659
|
+
puts "Error when calling LinodeInstancesApi->post_resize_linode_instance: #{e}"
|
3660
|
+
end
|
3661
|
+
```
|
3662
|
+
|
3663
|
+
#### Using the post_resize_linode_instance_with_http_info variant
|
3664
|
+
|
3665
|
+
This returns an Array which contains the response data, status code and headers.
|
3666
|
+
|
3667
|
+
> <Array(Object, Integer, Hash)> post_resize_linode_instance_with_http_info(api_version, linode_id, post_resize_linode_instance_request)
|
3668
|
+
|
3669
|
+
```ruby
|
3670
|
+
begin
|
3671
|
+
# Resize a Linode
|
3672
|
+
data, status_code, headers = api_instance.post_resize_linode_instance_with_http_info(api_version, linode_id, post_resize_linode_instance_request)
|
3673
|
+
p status_code # => 2xx
|
3674
|
+
p headers # => { ... }
|
3675
|
+
p data # => Object
|
3676
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3677
|
+
puts "Error when calling LinodeInstancesApi->post_resize_linode_instance_with_http_info: #{e}"
|
3678
|
+
end
|
3679
|
+
```
|
3680
|
+
|
3681
|
+
### Parameters
|
3682
|
+
|
3683
|
+
| Name | Type | Description | Notes |
|
3684
|
+
| ---- | ---- | ----------- | ----- |
|
3685
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3686
|
+
| **linode_id** | **Integer** | ID of the Linode to resize. | |
|
3687
|
+
| **post_resize_linode_instance_request** | [**PostResizeLinodeInstanceRequest**](PostResizeLinodeInstanceRequest.md) | The Type your current Linode will resize to, and whether to attempt to automatically resize the Linode's disks. | |
|
3688
|
+
|
3689
|
+
### Return type
|
3690
|
+
|
3691
|
+
**Object**
|
3692
|
+
|
3693
|
+
### Authorization
|
3694
|
+
|
3695
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3696
|
+
|
3697
|
+
### HTTP request headers
|
3698
|
+
|
3699
|
+
- **Content-Type**: application/json
|
3700
|
+
- **Accept**: application/json
|
3701
|
+
|
3702
|
+
|
3703
|
+
## post_restore_backup
|
3704
|
+
|
3705
|
+
> Object post_restore_backup(api_version, linode_id, backup_id, post_restore_backup_request)
|
3706
|
+
|
3707
|
+
Restore a backup
|
3708
|
+
|
3709
|
+
Restores a Linode's Backup to the specified Linode. The following conditions apply: - Backups may not be restored across Regions. - Only successfully completed Backups that are not undergoing maintenance can be restored. - The Linode that the Backup is being restored to must not itself be in the process of creating a Backup. __Note__. When you restore a backup, the restored disk is assigned the same [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) as the original disk. In most cases, this is acceptable and does not cause issues. However, if you attempt to mount both the original disk and the corresponding restore disk at the same time (by assigning them both to devices in your Configuration Profile's __Block Device Assignment__), you will encounter a UUID \"collision\". When this happens, the system selects, and mounts, only one of the disks at random. This is due to both disks sharing the same UUID, and your instance _may fail to boot_ since it will not be clear which disk is root. If your system does boot, you will not see any immediate indication if you are booted into the restored disk or the original disk, and you will be unable to access both disks at the same time. To avoid this, we recommend only restoring a backup to the same Compute Instance if you do not intend on mounting them at the same time or are comfortable modifying UUIDs. If you need access to files on both the original disk and the restored disk simultaneously (such as needing to copy files between them), we suggest either restoring the backup to a separate Compute Instance or [creating](https://techdocs.akamai.com/linode-api/reference/post-linode-instance) a new Compute Instance with the desired `backup_id`. To learn more about block device assignments and viewing your disks' UUIDs, see our guide on [Configuration Profiles](https://www.linode.com/docs/products/compute/compute-instances/guides/configuration-profiles/#block-device-assignment). __Note__. Backups are not encrypted even when they are taken from an encrypted disk. When a backup is restored, and if encryption is enabled, the data stored on the disk is encrypted again. <<LB>> --- - __CLI__. ``` linode-cli linodes backup-restore 123 123456 \\ --linode_id 234 \\ --overwrite true ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3710
|
+
|
3711
|
+
### Examples
|
3712
|
+
|
3713
|
+
```ruby
|
3714
|
+
require 'time'
|
3715
|
+
require 'linode_openapi_client'
|
3716
|
+
# setup authorization
|
3717
|
+
LinodeOpenapiClient.configure do |config|
|
3718
|
+
# Configure Bearer authorization: personalAccessToken
|
3719
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3720
|
+
|
3721
|
+
# Configure OAuth2 access token for authorization: oauth
|
3722
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3723
|
+
end
|
3724
|
+
|
3725
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3726
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3727
|
+
linode_id = 56 # Integer | The ID of the Linode that the Backup belongs to.
|
3728
|
+
backup_id = 56 # Integer | The ID of the Backup to restore.
|
3729
|
+
post_restore_backup_request = LinodeOpenapiClient::PostRestoreBackupRequest.new({linode_id: 234}) # PostRestoreBackupRequest | Parameters to provide when restoring the Backup.
|
3730
|
+
|
3731
|
+
begin
|
3732
|
+
# Restore a backup
|
3733
|
+
result = api_instance.post_restore_backup(api_version, linode_id, backup_id, post_restore_backup_request)
|
3734
|
+
p result
|
3735
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3736
|
+
puts "Error when calling LinodeInstancesApi->post_restore_backup: #{e}"
|
3737
|
+
end
|
3738
|
+
```
|
3739
|
+
|
3740
|
+
#### Using the post_restore_backup_with_http_info variant
|
3741
|
+
|
3742
|
+
This returns an Array which contains the response data, status code and headers.
|
3743
|
+
|
3744
|
+
> <Array(Object, Integer, Hash)> post_restore_backup_with_http_info(api_version, linode_id, backup_id, post_restore_backup_request)
|
3745
|
+
|
3746
|
+
```ruby
|
3747
|
+
begin
|
3748
|
+
# Restore a backup
|
3749
|
+
data, status_code, headers = api_instance.post_restore_backup_with_http_info(api_version, linode_id, backup_id, post_restore_backup_request)
|
3750
|
+
p status_code # => 2xx
|
3751
|
+
p headers # => { ... }
|
3752
|
+
p data # => Object
|
3753
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3754
|
+
puts "Error when calling LinodeInstancesApi->post_restore_backup_with_http_info: #{e}"
|
3755
|
+
end
|
3756
|
+
```
|
3757
|
+
|
3758
|
+
### Parameters
|
3759
|
+
|
3760
|
+
| Name | Type | Description | Notes |
|
3761
|
+
| ---- | ---- | ----------- | ----- |
|
3762
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3763
|
+
| **linode_id** | **Integer** | The ID of the Linode that the Backup belongs to. | |
|
3764
|
+
| **backup_id** | **Integer** | The ID of the Backup to restore. | |
|
3765
|
+
| **post_restore_backup_request** | [**PostRestoreBackupRequest**](PostRestoreBackupRequest.md) | Parameters to provide when restoring the Backup. | |
|
3766
|
+
|
3767
|
+
### Return type
|
3768
|
+
|
3769
|
+
**Object**
|
3770
|
+
|
3771
|
+
### Authorization
|
3772
|
+
|
3773
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3774
|
+
|
3775
|
+
### HTTP request headers
|
3776
|
+
|
3777
|
+
- **Content-Type**: application/json
|
3778
|
+
- **Accept**: application/json
|
3779
|
+
|
3780
|
+
|
3781
|
+
## post_shutdown_linode_instance
|
3782
|
+
|
3783
|
+
> Object post_shutdown_linode_instance(api_version, linode_id)
|
3784
|
+
|
3785
|
+
Shut down a Linode
|
3786
|
+
|
3787
|
+
Shuts down a Linode you have permission to modify. If any actions are currently running or queued, those actions must be completed first before you can initiate a shutdown. <<LB>> --- - __CLI__. ``` linode-cli linodes shutdown 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3788
|
+
|
3789
|
+
### Examples
|
3790
|
+
|
3791
|
+
```ruby
|
3792
|
+
require 'time'
|
3793
|
+
require 'linode_openapi_client'
|
3794
|
+
# setup authorization
|
3795
|
+
LinodeOpenapiClient.configure do |config|
|
3796
|
+
# Configure Bearer authorization: personalAccessToken
|
3797
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3798
|
+
|
3799
|
+
# Configure OAuth2 access token for authorization: oauth
|
3800
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3801
|
+
end
|
3802
|
+
|
3803
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3804
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3805
|
+
linode_id = 56 # Integer | ID of the Linode to shutdown.
|
3806
|
+
|
3807
|
+
begin
|
3808
|
+
# Shut down a Linode
|
3809
|
+
result = api_instance.post_shutdown_linode_instance(api_version, linode_id)
|
3810
|
+
p result
|
3811
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3812
|
+
puts "Error when calling LinodeInstancesApi->post_shutdown_linode_instance: #{e}"
|
3813
|
+
end
|
3814
|
+
```
|
3815
|
+
|
3816
|
+
#### Using the post_shutdown_linode_instance_with_http_info variant
|
3817
|
+
|
3818
|
+
This returns an Array which contains the response data, status code and headers.
|
3819
|
+
|
3820
|
+
> <Array(Object, Integer, Hash)> post_shutdown_linode_instance_with_http_info(api_version, linode_id)
|
3821
|
+
|
3822
|
+
```ruby
|
3823
|
+
begin
|
3824
|
+
# Shut down a Linode
|
3825
|
+
data, status_code, headers = api_instance.post_shutdown_linode_instance_with_http_info(api_version, linode_id)
|
3826
|
+
p status_code # => 2xx
|
3827
|
+
p headers # => { ... }
|
3828
|
+
p data # => Object
|
3829
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3830
|
+
puts "Error when calling LinodeInstancesApi->post_shutdown_linode_instance_with_http_info: #{e}"
|
3831
|
+
end
|
3832
|
+
```
|
3833
|
+
|
3834
|
+
### Parameters
|
3835
|
+
|
3836
|
+
| Name | Type | Description | Notes |
|
3837
|
+
| ---- | ---- | ----------- | ----- |
|
3838
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3839
|
+
| **linode_id** | **Integer** | ID of the Linode to shutdown. | |
|
3840
|
+
|
3841
|
+
### Return type
|
3842
|
+
|
3843
|
+
**Object**
|
3844
|
+
|
3845
|
+
### Authorization
|
3846
|
+
|
3847
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3848
|
+
|
3849
|
+
### HTTP request headers
|
3850
|
+
|
3851
|
+
- **Content-Type**: Not defined
|
3852
|
+
- **Accept**: application/json
|
3853
|
+
|
3854
|
+
|
3855
|
+
## post_snapshot
|
3856
|
+
|
3857
|
+
> <PostSnapshot200Response> post_snapshot(api_version, linode_id, post_snapshot_request)
|
3858
|
+
|
3859
|
+
Create a snapshot
|
3860
|
+
|
3861
|
+
Creates a snapshot backup of a Linode. __Note__. Backups are not encrypted even when they are taken from an encrypted disk. When a backup is restored, and if encryption is enabled, the data stored on the disk is encrypted again. __Important__. If you already have a snapshot of this Linode, this is a destructive action. The previous snapshot will be deleted. <<LB>> --- - __CLI__. ``` linode-cli linodes snapshot 123 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3862
|
+
|
3863
|
+
### Examples
|
3864
|
+
|
3865
|
+
```ruby
|
3866
|
+
require 'time'
|
3867
|
+
require 'linode_openapi_client'
|
3868
|
+
# setup authorization
|
3869
|
+
LinodeOpenapiClient.configure do |config|
|
3870
|
+
# Configure Bearer authorization: personalAccessToken
|
3871
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3872
|
+
|
3873
|
+
# Configure OAuth2 access token for authorization: oauth
|
3874
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3875
|
+
end
|
3876
|
+
|
3877
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3878
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3879
|
+
linode_id = 56 # Integer | The ID of the Linode the backups belong to.
|
3880
|
+
post_snapshot_request = LinodeOpenapiClient::PostSnapshotRequest.new({label: 'SnapshotLabel'}) # PostSnapshotRequest |
|
3881
|
+
|
3882
|
+
begin
|
3883
|
+
# Create a snapshot
|
3884
|
+
result = api_instance.post_snapshot(api_version, linode_id, post_snapshot_request)
|
3885
|
+
p result
|
3886
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3887
|
+
puts "Error when calling LinodeInstancesApi->post_snapshot: #{e}"
|
3888
|
+
end
|
3889
|
+
```
|
3890
|
+
|
3891
|
+
#### Using the post_snapshot_with_http_info variant
|
3892
|
+
|
3893
|
+
This returns an Array which contains the response data, status code and headers.
|
3894
|
+
|
3895
|
+
> <Array(<PostSnapshot200Response>, Integer, Hash)> post_snapshot_with_http_info(api_version, linode_id, post_snapshot_request)
|
3896
|
+
|
3897
|
+
```ruby
|
3898
|
+
begin
|
3899
|
+
# Create a snapshot
|
3900
|
+
data, status_code, headers = api_instance.post_snapshot_with_http_info(api_version, linode_id, post_snapshot_request)
|
3901
|
+
p status_code # => 2xx
|
3902
|
+
p headers # => { ... }
|
3903
|
+
p data # => <PostSnapshot200Response>
|
3904
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3905
|
+
puts "Error when calling LinodeInstancesApi->post_snapshot_with_http_info: #{e}"
|
3906
|
+
end
|
3907
|
+
```
|
3908
|
+
|
3909
|
+
### Parameters
|
3910
|
+
|
3911
|
+
| Name | Type | Description | Notes |
|
3912
|
+
| ---- | ---- | ----------- | ----- |
|
3913
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3914
|
+
| **linode_id** | **Integer** | The ID of the Linode the backups belong to. | |
|
3915
|
+
| **post_snapshot_request** | [**PostSnapshotRequest**](PostSnapshotRequest.md) | | |
|
3916
|
+
|
3917
|
+
### Return type
|
3918
|
+
|
3919
|
+
[**PostSnapshot200Response**](PostSnapshot200Response.md)
|
3920
|
+
|
3921
|
+
### Authorization
|
3922
|
+
|
3923
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
3924
|
+
|
3925
|
+
### HTTP request headers
|
3926
|
+
|
3927
|
+
- **Content-Type**: application/json
|
3928
|
+
- **Accept**: application/json
|
3929
|
+
|
3930
|
+
|
3931
|
+
## put_disk
|
3932
|
+
|
3933
|
+
> <PutDisk200Response> put_disk(api_version, linode_id, disk_id, put_disk_request)
|
3934
|
+
|
3935
|
+
Update a disk
|
3936
|
+
|
3937
|
+
Updates a Disk that you have permission to `read_write`. <<LB>> --- - __CLI__. ``` linode-cli linodes disk-update 123 25674 \\ --label \"Debian 9 Disk\" ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
3938
|
+
|
3939
|
+
### Examples
|
3940
|
+
|
3941
|
+
```ruby
|
3942
|
+
require 'time'
|
3943
|
+
require 'linode_openapi_client'
|
3944
|
+
# setup authorization
|
3945
|
+
LinodeOpenapiClient.configure do |config|
|
3946
|
+
# Configure Bearer authorization: personalAccessToken
|
3947
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
3948
|
+
|
3949
|
+
# Configure OAuth2 access token for authorization: oauth
|
3950
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
3951
|
+
end
|
3952
|
+
|
3953
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
3954
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
3955
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
3956
|
+
disk_id = 56 # Integer | ID of the Disk to look up.
|
3957
|
+
put_disk_request = LinodeOpenapiClient::PutDiskRequest.new # PutDiskRequest | Updates the parameters of a single Disk.
|
3958
|
+
|
3959
|
+
begin
|
3960
|
+
# Update a disk
|
3961
|
+
result = api_instance.put_disk(api_version, linode_id, disk_id, put_disk_request)
|
3962
|
+
p result
|
3963
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3964
|
+
puts "Error when calling LinodeInstancesApi->put_disk: #{e}"
|
3965
|
+
end
|
3966
|
+
```
|
3967
|
+
|
3968
|
+
#### Using the put_disk_with_http_info variant
|
3969
|
+
|
3970
|
+
This returns an Array which contains the response data, status code and headers.
|
3971
|
+
|
3972
|
+
> <Array(<PutDisk200Response>, Integer, Hash)> put_disk_with_http_info(api_version, linode_id, disk_id, put_disk_request)
|
3973
|
+
|
3974
|
+
```ruby
|
3975
|
+
begin
|
3976
|
+
# Update a disk
|
3977
|
+
data, status_code, headers = api_instance.put_disk_with_http_info(api_version, linode_id, disk_id, put_disk_request)
|
3978
|
+
p status_code # => 2xx
|
3979
|
+
p headers # => { ... }
|
3980
|
+
p data # => <PutDisk200Response>
|
3981
|
+
rescue LinodeOpenapiClient::ApiError => e
|
3982
|
+
puts "Error when calling LinodeInstancesApi->put_disk_with_http_info: #{e}"
|
3983
|
+
end
|
3984
|
+
```
|
3985
|
+
|
3986
|
+
### Parameters
|
3987
|
+
|
3988
|
+
| Name | Type | Description | Notes |
|
3989
|
+
| ---- | ---- | ----------- | ----- |
|
3990
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
3991
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
3992
|
+
| **disk_id** | **Integer** | ID of the Disk to look up. | |
|
3993
|
+
| **put_disk_request** | [**PutDiskRequest**](PutDiskRequest.md) | Updates the parameters of a single Disk. | |
|
3994
|
+
|
3995
|
+
### Return type
|
3996
|
+
|
3997
|
+
[**PutDisk200Response**](PutDisk200Response.md)
|
3998
|
+
|
3999
|
+
### Authorization
|
4000
|
+
|
4001
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
4002
|
+
|
4003
|
+
### HTTP request headers
|
4004
|
+
|
4005
|
+
- **Content-Type**: application/json
|
4006
|
+
- **Accept**: application/json
|
4007
|
+
|
4008
|
+
|
4009
|
+
## put_linode_config
|
4010
|
+
|
4011
|
+
> <PutLinodeConfig200Response> put_linode_config(api_version, linode_id, config_id, put_linode_config_request)
|
4012
|
+
|
4013
|
+
Update a config profile
|
4014
|
+
|
4015
|
+
Updates a Configuration profile. <<LB>> --- - __CLI__. ``` linode-cli linodes config-update 123 23456 \\ --kernel \"linode/latest-64bit\" \\ --comments \"This is my main Config\" \\ --memory_limit 2048 \\ --run_level default \\ --virt_mode paravirt \\ --helpers.updatedb_disabled true \\ --helpers.distro true \\ --helpers.modules_dep true \\ --helpers.network true \\ --helpers.devtmpfs_automount false \\ --label \"My Config\" \\ --devices.sda.disk_id 123456 \\ --devices.sdb.disk_id 123457 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
4016
|
+
|
4017
|
+
### Examples
|
4018
|
+
|
4019
|
+
```ruby
|
4020
|
+
require 'time'
|
4021
|
+
require 'linode_openapi_client'
|
4022
|
+
# setup authorization
|
4023
|
+
LinodeOpenapiClient.configure do |config|
|
4024
|
+
# Configure Bearer authorization: personalAccessToken
|
4025
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
4026
|
+
|
4027
|
+
# Configure OAuth2 access token for authorization: oauth
|
4028
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
4029
|
+
end
|
4030
|
+
|
4031
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
4032
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
4033
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
4034
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
4035
|
+
put_linode_config_request = LinodeOpenapiClient::PutLinodeConfigRequest.new # PutLinodeConfigRequest | The Configuration profile parameters to modify.
|
4036
|
+
|
4037
|
+
begin
|
4038
|
+
# Update a config profile
|
4039
|
+
result = api_instance.put_linode_config(api_version, linode_id, config_id, put_linode_config_request)
|
4040
|
+
p result
|
4041
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4042
|
+
puts "Error when calling LinodeInstancesApi->put_linode_config: #{e}"
|
4043
|
+
end
|
4044
|
+
```
|
4045
|
+
|
4046
|
+
#### Using the put_linode_config_with_http_info variant
|
4047
|
+
|
4048
|
+
This returns an Array which contains the response data, status code and headers.
|
4049
|
+
|
4050
|
+
> <Array(<PutLinodeConfig200Response>, Integer, Hash)> put_linode_config_with_http_info(api_version, linode_id, config_id, put_linode_config_request)
|
4051
|
+
|
4052
|
+
```ruby
|
4053
|
+
begin
|
4054
|
+
# Update a config profile
|
4055
|
+
data, status_code, headers = api_instance.put_linode_config_with_http_info(api_version, linode_id, config_id, put_linode_config_request)
|
4056
|
+
p status_code # => 2xx
|
4057
|
+
p headers # => { ... }
|
4058
|
+
p data # => <PutLinodeConfig200Response>
|
4059
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4060
|
+
puts "Error when calling LinodeInstancesApi->put_linode_config_with_http_info: #{e}"
|
4061
|
+
end
|
4062
|
+
```
|
4063
|
+
|
4064
|
+
### Parameters
|
4065
|
+
|
4066
|
+
| Name | Type | Description | Notes |
|
4067
|
+
| ---- | ---- | ----------- | ----- |
|
4068
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
4069
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
4070
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
4071
|
+
| **put_linode_config_request** | [**PutLinodeConfigRequest**](PutLinodeConfigRequest.md) | The Configuration profile parameters to modify. | |
|
4072
|
+
|
4073
|
+
### Return type
|
4074
|
+
|
4075
|
+
[**PutLinodeConfig200Response**](PutLinodeConfig200Response.md)
|
4076
|
+
|
4077
|
+
### Authorization
|
4078
|
+
|
4079
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
4080
|
+
|
4081
|
+
### HTTP request headers
|
4082
|
+
|
4083
|
+
- **Content-Type**: application/json
|
4084
|
+
- **Accept**: application/json
|
4085
|
+
|
4086
|
+
|
4087
|
+
## put_linode_config_interface
|
4088
|
+
|
4089
|
+
> <PutLinodeConfigInterface200Response> put_linode_config_interface(api_version, linode_id, config_id, interface_id, put_linode_config_interface_request)
|
4090
|
+
|
4091
|
+
Update a configuration profile interface
|
4092
|
+
|
4093
|
+
Updates a `vpc` or `public` purpose Interface for this Configuration Profile. - The User accessing this operation must have `read_write` grants to the Linode. - A successful request triggers a `linode_config_update` event. - The Interface `purpose` cannot be updated with this operation. - VPC Subnets cannot be updated on an Interface. A new `vpc` purpose Interface must be created to assign a different Subnet to a Configuration Profile. - Only `primary` can be updated for `public` purpose Interfaces. - This operation not currently allowed for `vlan` purpose Interfaces. <<LB>> --- - __CLI__. ``` linode-cli linodes config-interface-update $linodeId $configId $interfaceId \\ --primary true \\ --ipv4.vpc \"10.0.1.2\" \\ --ipv4.nat_1_1 \"203.0.113.2\" ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
4094
|
+
|
4095
|
+
### Examples
|
4096
|
+
|
4097
|
+
```ruby
|
4098
|
+
require 'time'
|
4099
|
+
require 'linode_openapi_client'
|
4100
|
+
# setup authorization
|
4101
|
+
LinodeOpenapiClient.configure do |config|
|
4102
|
+
# Configure Bearer authorization: personalAccessToken
|
4103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
4104
|
+
|
4105
|
+
# Configure OAuth2 access token for authorization: oauth
|
4106
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
4107
|
+
end
|
4108
|
+
|
4109
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
4110
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
4111
|
+
linode_id = 56 # Integer | The `id` of the Linode.
|
4112
|
+
config_id = 56 # Integer | The `id` of the Configuration Profile.
|
4113
|
+
interface_id = 56 # Integer | The `id` of the Linode Configuration Profile Interface.
|
4114
|
+
put_linode_config_interface_request = LinodeOpenapiClient::PutLinodeConfigInterfaceRequest.new # PutLinodeConfigInterfaceRequest | The updated Interface.
|
4115
|
+
|
4116
|
+
begin
|
4117
|
+
# Update a configuration profile interface
|
4118
|
+
result = api_instance.put_linode_config_interface(api_version, linode_id, config_id, interface_id, put_linode_config_interface_request)
|
4119
|
+
p result
|
4120
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4121
|
+
puts "Error when calling LinodeInstancesApi->put_linode_config_interface: #{e}"
|
4122
|
+
end
|
4123
|
+
```
|
4124
|
+
|
4125
|
+
#### Using the put_linode_config_interface_with_http_info variant
|
4126
|
+
|
4127
|
+
This returns an Array which contains the response data, status code and headers.
|
4128
|
+
|
4129
|
+
> <Array(<PutLinodeConfigInterface200Response>, Integer, Hash)> put_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id, put_linode_config_interface_request)
|
4130
|
+
|
4131
|
+
```ruby
|
4132
|
+
begin
|
4133
|
+
# Update a configuration profile interface
|
4134
|
+
data, status_code, headers = api_instance.put_linode_config_interface_with_http_info(api_version, linode_id, config_id, interface_id, put_linode_config_interface_request)
|
4135
|
+
p status_code # => 2xx
|
4136
|
+
p headers # => { ... }
|
4137
|
+
p data # => <PutLinodeConfigInterface200Response>
|
4138
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4139
|
+
puts "Error when calling LinodeInstancesApi->put_linode_config_interface_with_http_info: #{e}"
|
4140
|
+
end
|
4141
|
+
```
|
4142
|
+
|
4143
|
+
### Parameters
|
4144
|
+
|
4145
|
+
| Name | Type | Description | Notes |
|
4146
|
+
| ---- | ---- | ----------- | ----- |
|
4147
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
4148
|
+
| **linode_id** | **Integer** | The `id` of the Linode. | |
|
4149
|
+
| **config_id** | **Integer** | The `id` of the Configuration Profile. | |
|
4150
|
+
| **interface_id** | **Integer** | The `id` of the Linode Configuration Profile Interface. | |
|
4151
|
+
| **put_linode_config_interface_request** | [**PutLinodeConfigInterfaceRequest**](PutLinodeConfigInterfaceRequest.md) | The updated Interface. | |
|
4152
|
+
|
4153
|
+
### Return type
|
4154
|
+
|
4155
|
+
[**PutLinodeConfigInterface200Response**](PutLinodeConfigInterface200Response.md)
|
4156
|
+
|
4157
|
+
### Authorization
|
4158
|
+
|
4159
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
4160
|
+
|
4161
|
+
### HTTP request headers
|
4162
|
+
|
4163
|
+
- **Content-Type**: application/json
|
4164
|
+
- **Accept**: application/json
|
4165
|
+
|
4166
|
+
|
4167
|
+
## put_linode_instance
|
4168
|
+
|
4169
|
+
> <Linode6> put_linode_instance(api_version, linode_id, linode5)
|
4170
|
+
|
4171
|
+
Update a Linode
|
4172
|
+
|
4173
|
+
Updates a Linode that you have permission to `read_write`. __Important__. You must be an unrestricted User in order to add or modify tags on Linodes. <<LB>> --- - __CLI__. ``` linode-cli linodes update 7833080 \\ --label linode123 \\ --backups.schedule.day \"Saturday\" \\ --backups.schedule.window \"W22\" \\ --alerts.cpu 180 \\ --alerts.network_in 10 \\ --alerts.network_out 10 \\ --alerts.transfer_quota 80 \\ --alerts.io 10000 ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
4174
|
+
|
4175
|
+
### Examples
|
4176
|
+
|
4177
|
+
```ruby
|
4178
|
+
require 'time'
|
4179
|
+
require 'linode_openapi_client'
|
4180
|
+
# setup authorization
|
4181
|
+
LinodeOpenapiClient.configure do |config|
|
4182
|
+
# Configure Bearer authorization: personalAccessToken
|
4183
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
4184
|
+
|
4185
|
+
# Configure OAuth2 access token for authorization: oauth
|
4186
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
4187
|
+
end
|
4188
|
+
|
4189
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
4190
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
4191
|
+
linode_id = 56 # Integer | ID of the Linode to look up.
|
4192
|
+
linode5 = LinodeOpenapiClient::Linode5.new # Linode5 | Any field that is not marked as `readOnly` may be updated. Fields that are marked `readOnly` will be ignored. If any updated field fails to pass validation, the Linode will not be updated.
|
4193
|
+
|
4194
|
+
begin
|
4195
|
+
# Update a Linode
|
4196
|
+
result = api_instance.put_linode_instance(api_version, linode_id, linode5)
|
4197
|
+
p result
|
4198
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4199
|
+
puts "Error when calling LinodeInstancesApi->put_linode_instance: #{e}"
|
4200
|
+
end
|
4201
|
+
```
|
4202
|
+
|
4203
|
+
#### Using the put_linode_instance_with_http_info variant
|
4204
|
+
|
4205
|
+
This returns an Array which contains the response data, status code and headers.
|
4206
|
+
|
4207
|
+
> <Array(<Linode6>, Integer, Hash)> put_linode_instance_with_http_info(api_version, linode_id, linode5)
|
4208
|
+
|
4209
|
+
```ruby
|
4210
|
+
begin
|
4211
|
+
# Update a Linode
|
4212
|
+
data, status_code, headers = api_instance.put_linode_instance_with_http_info(api_version, linode_id, linode5)
|
4213
|
+
p status_code # => 2xx
|
4214
|
+
p headers # => { ... }
|
4215
|
+
p data # => <Linode6>
|
4216
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4217
|
+
puts "Error when calling LinodeInstancesApi->put_linode_instance_with_http_info: #{e}"
|
4218
|
+
end
|
4219
|
+
```
|
4220
|
+
|
4221
|
+
### Parameters
|
4222
|
+
|
4223
|
+
| Name | Type | Description | Notes |
|
4224
|
+
| ---- | ---- | ----------- | ----- |
|
4225
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
4226
|
+
| **linode_id** | **Integer** | ID of the Linode to look up. | |
|
4227
|
+
| **linode5** | [**Linode5**](Linode5.md) | Any field that is not marked as `readOnly` may be updated. Fields that are marked `readOnly` will be ignored. If any updated field fails to pass validation, the Linode will not be updated. | |
|
4228
|
+
|
4229
|
+
### Return type
|
4230
|
+
|
4231
|
+
[**Linode6**](Linode6.md)
|
4232
|
+
|
4233
|
+
### Authorization
|
4234
|
+
|
4235
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
4236
|
+
|
4237
|
+
### HTTP request headers
|
4238
|
+
|
4239
|
+
- **Content-Type**: application/json
|
4240
|
+
- **Accept**: application/json
|
4241
|
+
|
4242
|
+
|
4243
|
+
## put_linode_ip
|
4244
|
+
|
4245
|
+
> <PutLinodeIp200Response> put_linode_ip(api_version, linode_id, address, opts)
|
4246
|
+
|
4247
|
+
Update an IP address's RDNS for a Linode
|
4248
|
+
|
4249
|
+
Updates the reverse DNS (RDNS) for a Linode's IP Address. This may be done for both IPv4 and IPv6 addresses. Setting the RDNS to `null` for a public IPv4 address, resets it to the default `ip.linodeusercontent.com` RDNS value. <<LB>> --- - __CLI__. ``` linode-cli linodes ip-update 123 \\ 203.0.113.1 \\ --rdns test.example.org ``` [Learn more...](https://www.linode.com/docs/products/tools/cli/get-started/) - __OAuth scopes__. ``` linodes:read_write ``` [Learn more...](https://techdocs.akamai.com/linode-api/reference/get-started#oauth)
|
4250
|
+
|
4251
|
+
### Examples
|
4252
|
+
|
4253
|
+
```ruby
|
4254
|
+
require 'time'
|
4255
|
+
require 'linode_openapi_client'
|
4256
|
+
# setup authorization
|
4257
|
+
LinodeOpenapiClient.configure do |config|
|
4258
|
+
# Configure Bearer authorization: personalAccessToken
|
4259
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
4260
|
+
|
4261
|
+
# Configure OAuth2 access token for authorization: oauth
|
4262
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
4263
|
+
end
|
4264
|
+
|
4265
|
+
api_instance = LinodeOpenapiClient::LinodeInstancesApi.new
|
4266
|
+
api_version = 'v4' # String | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta.
|
4267
|
+
linode_id = 56 # Integer | The ID of the Linode.
|
4268
|
+
address = 'address_example' # String | The IP address.
|
4269
|
+
opts = {
|
4270
|
+
put_linode_ip_request: LinodeOpenapiClient::PutLinodeIpRequest.new({rdns: 'test.example.org'}) # PutLinodeIpRequest | The information to update for the IP address.
|
4271
|
+
}
|
4272
|
+
|
4273
|
+
begin
|
4274
|
+
# Update an IP address's RDNS for a Linode
|
4275
|
+
result = api_instance.put_linode_ip(api_version, linode_id, address, opts)
|
4276
|
+
p result
|
4277
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4278
|
+
puts "Error when calling LinodeInstancesApi->put_linode_ip: #{e}"
|
4279
|
+
end
|
4280
|
+
```
|
4281
|
+
|
4282
|
+
#### Using the put_linode_ip_with_http_info variant
|
4283
|
+
|
4284
|
+
This returns an Array which contains the response data, status code and headers.
|
4285
|
+
|
4286
|
+
> <Array(<PutLinodeIp200Response>, Integer, Hash)> put_linode_ip_with_http_info(api_version, linode_id, address, opts)
|
4287
|
+
|
4288
|
+
```ruby
|
4289
|
+
begin
|
4290
|
+
# Update an IP address's RDNS for a Linode
|
4291
|
+
data, status_code, headers = api_instance.put_linode_ip_with_http_info(api_version, linode_id, address, opts)
|
4292
|
+
p status_code # => 2xx
|
4293
|
+
p headers # => { ... }
|
4294
|
+
p data # => <PutLinodeIp200Response>
|
4295
|
+
rescue LinodeOpenapiClient::ApiError => e
|
4296
|
+
puts "Error when calling LinodeInstancesApi->put_linode_ip_with_http_info: #{e}"
|
4297
|
+
end
|
4298
|
+
```
|
4299
|
+
|
4300
|
+
### Parameters
|
4301
|
+
|
4302
|
+
| Name | Type | Description | Notes |
|
4303
|
+
| ---- | ---- | ----------- | ----- |
|
4304
|
+
| **api_version** | **String** | __Enum__ Call either the `v4` URL, or `v4beta` for operations still in Beta. | [default to 'v4'] |
|
4305
|
+
| **linode_id** | **Integer** | The ID of the Linode. | |
|
4306
|
+
| **address** | **String** | The IP address. | |
|
4307
|
+
| **put_linode_ip_request** | [**PutLinodeIpRequest**](PutLinodeIpRequest.md) | The information to update for the IP address. | [optional] |
|
4308
|
+
|
4309
|
+
### Return type
|
4310
|
+
|
4311
|
+
[**PutLinodeIp200Response**](PutLinodeIp200Response.md)
|
4312
|
+
|
4313
|
+
### Authorization
|
4314
|
+
|
4315
|
+
[personalAccessToken](../README.md#personalAccessToken), [oauth](../README.md#oauth)
|
4316
|
+
|
4317
|
+
### HTTP request headers
|
4318
|
+
|
4319
|
+
- **Content-Type**: application/json
|
4320
|
+
- **Accept**: application/json
|
4321
|
+
|