Skip to content

zliang-akamai/openapi-generator-linode-go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for openapi

Read the API documentation.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 4.189.2
  • Package version: 1.0.0
  • Generator version: 7.10.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://linode.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.linode.com

Class Method HTTP request Description
AccountAPI DeleteClient Delete /{apiVersion}/account/oauth-clients/{clientId} Delete an OAuth client
AccountAPI DeleteEntityTransfer Delete /{apiVersion}/account/entity-transfers/{token} Cancel an entity transfer
AccountAPI DeletePaymentMethod Delete /{apiVersion}/account/payment-methods/{paymentMethodId} Delete a payment method
AccountAPI DeleteServiceTransfer Delete /{apiVersion}/account/service-transfers/{token} Cancel a service transfer
AccountAPI DeleteUser Delete /{apiVersion}/account/users/{username} Delete a user
AccountAPI GetAccount Get /{apiVersion}/account Get your account
AccountAPI GetAccountAgreements Get /{apiVersion}/account/agreements List agreements
AccountAPI GetAccountAvailability Get /{apiVersion}/account/availability/{id} Get a region's service availability
AccountAPI GetAccountLogin Get /{apiVersion}/account/logins/{loginId} Get an account login
AccountAPI GetAccountLogins Get /{apiVersion}/account/logins List user logins
AccountAPI GetAccountSettings Get /{apiVersion}/account/settings Get account settings
AccountAPI GetAvailability Get /{apiVersion}/account/availability List available services
AccountAPI GetChildAccount Get /{apiVersion}/account/child-accounts/{euuid} Get a child account
AccountAPI GetChildAccounts Get /{apiVersion}/account/child-accounts List child accounts
AccountAPI GetClient Get /{apiVersion}/account/oauth-clients/{clientId} Get an OAuth client
AccountAPI GetClientThumbnail Get /{apiVersion}/account/oauth-clients/{clientId}/thumbnail Get the OAuth client's thumbnail
AccountAPI GetClients Get /{apiVersion}/account/oauth-clients List OAuth clients
AccountAPI GetEnrolledBetaProgram Get /{apiVersion}/account/betas/{betaId} Get an enrolled Beta program
AccountAPI GetEnrolledBetaPrograms Get /{apiVersion}/account/betas List enrolled Beta programs
AccountAPI GetEntityTransfer Get /{apiVersion}/account/entity-transfers/{token} Get an entity transfer
AccountAPI GetEntityTransfers Get /{apiVersion}/account/entity-transfers List entity transfers
AccountAPI GetEvent Get /{apiVersion}/account/events/{eventId} Get an event
AccountAPI GetEvents Get /{apiVersion}/account/events List events
AccountAPI GetInvoice Get /{apiVersion}/account/invoices/{invoiceId} Get an invoice
AccountAPI GetInvoiceItems Get /{apiVersion}/account/invoices/{invoiceId}/items List invoice items
AccountAPI GetInvoices Get /{apiVersion}/account/invoices List invoices
AccountAPI GetMaintenance Get /{apiVersion}/account/maintenance List maintenances
AccountAPI GetNotifications Get /{apiVersion}/account/notifications List notifications
AccountAPI GetPayment Get /{apiVersion}/account/payments/{paymentId} Get a payment
AccountAPI GetPaymentMethod Get /{apiVersion}/account/payment-methods/{paymentMethodId} Get a payment method
AccountAPI GetPaymentMethods Get /{apiVersion}/account/payment-methods List payment methods
AccountAPI GetPayments Get /{apiVersion}/account/payments List payments
AccountAPI GetServiceTransfer Get /{apiVersion}/account/service-transfers/{token} Get a service transfer request
AccountAPI GetServiceTransfers Get /{apiVersion}/account/service-transfers List service transfers
AccountAPI GetTransfer Get /{apiVersion}/account/transfer Get network usage
AccountAPI GetUser Get /{apiVersion}/account/users/{username} Get a user
AccountAPI GetUserGrants Get /{apiVersion}/account/users/{username}/grants List a user's grants
AccountAPI GetUsers Get /{apiVersion}/account/users List users
AccountAPI PostAcceptEntityTransfer Post /{apiVersion}/account/entity-transfers/{token}/accept Accept an entity transfer
AccountAPI PostAcceptServiceTransfer Post /{apiVersion}/account/service-transfers/{token}/accept Accept a service transfer
AccountAPI PostAccountAgreements Post /{apiVersion}/account/agreements Acknowledge agreements
AccountAPI PostBetaProgram Post /{apiVersion}/account/betas Enroll in a Beta program
AccountAPI PostCancelAccount Post /{apiVersion}/account/cancel Cancel your account
AccountAPI PostChildAccountToken Post /{apiVersion}/account/child-accounts/{euuid}/token Create a proxy user token
AccountAPI PostClient Post /{apiVersion}/account/oauth-clients Create an OAuth client
AccountAPI PostCreditCard Post /{apiVersion}/account/credit-card Add or edit a credit card
AccountAPI PostEnableAccountManaged Post /{apiVersion}/account/settings/managed-enable Enable Linode Managed
AccountAPI PostEntityTransfer Post /{apiVersion}/account/entity-transfers Create an entity transfer
AccountAPI PostEventRead Post /{apiVersion}/account/events/{eventId}/read Mark an event as read
AccountAPI PostEventSeen Post /{apiVersion}/account/events/{eventId}/seen Mark an event as seen
AccountAPI PostExecutePayPalPayment Post /{apiVersion}/account/payments/paypal/execute Execute a PayPal payment
AccountAPI PostMakePaymentMethodDefault Post /{apiVersion}/account/payment-methods/{paymentMethodId}/make-default Set a default payment method
AccountAPI PostPayPalPayment Post /{apiVersion}/account/payments/paypal Stage a PayPal payment
AccountAPI PostPayment Post /{apiVersion}/account/payments Make a payment
AccountAPI PostPaymentMethod Post /{apiVersion}/account/payment-methods Add a payment method
AccountAPI PostPromoCredit Post /{apiVersion}/account/promo-codes Add a promo credit
AccountAPI PostResetClientSecret Post /{apiVersion}/account/oauth-clients/{clientId}/reset-secret Reset an OAuth client secret
AccountAPI PostServiceTransfer Post /{apiVersion}/account/service-transfers Request a service transfer
AccountAPI PostUser Post /{apiVersion}/account/users Create a user
AccountAPI PutAccount Put /{apiVersion}/account Update your account
AccountAPI PutAccountSettings Put /{apiVersion}/account/settings Update account settings
AccountAPI PutClient Put /{apiVersion}/account/oauth-clients/{clientId} Update an OAuth client
AccountAPI PutClientThumbnail Put /{apiVersion}/account/oauth-clients/{clientId}/thumbnail Update the OAuth client's thumbnail
AccountAPI PutUser Put /{apiVersion}/account/users/{username} Update a user
AccountAPI PutUserGrants Put /{apiVersion}/account/users/{username}/grants Update a user's grants
BetaProgramsAPI GetBetaProgram Get /{apiVersion}/betas/{betaId} Get a Beta program
BetaProgramsAPI GetBetaPrograms Get /{apiVersion}/betas List Beta programs
DatabasesAPI DeleteDatabaseMysqlInstanceBackup Delete /{apiVersion}/databases/mysql/instances/{instanceId}/backups/{backupId} Delete a managed MySQL database backup
DatabasesAPI DeleteDatabasePostgreSqlInstanceBackup Delete /{apiVersion}/databases/postgresql/instances/{instanceId}/backups/{backupId} Delete a managed PostgreSQL database backup
DatabasesAPI DeleteDatabasesMysqlInstance Delete /{apiVersion}/databases/mysql/instances/{instanceId} Delete a managed MySQL database
DatabasesAPI DeleteDatabasesPostgreSqlInstance Delete /{apiVersion}/databases/postgresql/instances/{instanceId} Delete a managed PostgreSQL database
DatabasesAPI GetDatabasesEngine Get /{apiVersion}/databases/engines/{engineId} Get a managed database engine
DatabasesAPI GetDatabasesEngines Get /{apiVersion}/databases/engines List managed database engines
DatabasesAPI GetDatabasesInstances Get /{apiVersion}/databases/instances List managed databases
DatabasesAPI GetDatabasesMysqlInstance Get /{apiVersion}/databases/mysql/instances/{instanceId} Get a managed MySQL database
DatabasesAPI GetDatabasesMysqlInstanceBackup Get /{apiVersion}/databases/mysql/instances/{instanceId}/backups/{backupId} Get a managed MySQL database backup
DatabasesAPI GetDatabasesMysqlInstanceBackups Get /{apiVersion}/databases/mysql/instances/{instanceId}/backups List managed MySQL database backups
DatabasesAPI GetDatabasesMysqlInstanceCredentials Get /{apiVersion}/databases/mysql/instances/{instanceId}/credentials Get managed MySQL database credentials
DatabasesAPI GetDatabasesMysqlInstanceSsl Get /{apiVersion}/databases/mysql/instances/{instanceId}/ssl Get a managed MySQL database SSL certificate
DatabasesAPI GetDatabasesMysqlInstances Get /{apiVersion}/databases/mysql/instances List managed MySQL databases
DatabasesAPI GetDatabasesPostgreSqlInstance Get /{apiVersion}/databases/postgresql/instances/{instanceId} Get a managed PostgreSQL database
DatabasesAPI GetDatabasesPostgreSqlInstanceBackups Get /{apiVersion}/databases/postgresql/instances/{instanceId}/backups List managed PostgreSQL database backups
DatabasesAPI GetDatabasesPostgreSqlInstanceCredentials Get /{apiVersion}/databases/postgresql/instances/{instanceId}/credentials Get managed PostgreSQL database credentials
DatabasesAPI GetDatabasesPostgreSqlInstances Get /{apiVersion}/databases/postgresql/instances List managed PostgreSQL databases
DatabasesAPI GetDatabasesPostgresqlInstanceBackup Get /{apiVersion}/databases/postgresql/instances/{instanceId}/backups/{backupId} Get a managed PostgreSQL database backup
DatabasesAPI GetDatabasesPostgresqlInstanceSsl Get /{apiVersion}/databases/postgresql/instances/{instanceId}/ssl Get a managed PostgreSQL database SSL certificate
DatabasesAPI GetDatabasesType Get /{apiVersion}/databases/types/{typeId} Get a managed database type
DatabasesAPI GetDatabasesTypes Get /{apiVersion}/databases/types List managed database types
DatabasesAPI PostDatabasesMysqlInstanceBackup Post /{apiVersion}/databases/mysql/instances/{instanceId}/backups Create a managed MySQL database backup snapshot
DatabasesAPI PostDatabasesMysqlInstanceBackupRestore Post /{apiVersion}/databases/mysql/instances/{instanceId}/backups/{backupId}/restore Restore a managed MySQL database backup
DatabasesAPI PostDatabasesMysqlInstanceCredentialsReset Post /{apiVersion}/databases/mysql/instances/{instanceId}/credentials/reset Reset managed MySQL database credentials
DatabasesAPI PostDatabasesMysqlInstancePatch Post /{apiVersion}/databases/mysql/instances/{instanceId}/patch Patch a managed MySQL database
DatabasesAPI PostDatabasesMysqlInstances Post /{apiVersion}/databases/mysql/instances Create a managed MySQL database
DatabasesAPI PostDatabasesPostgreSqlInstanceBackup Post /{apiVersion}/databases/postgresql/instances/{instanceId}/backups Create a managed PostgreSQL database backup snapshot
DatabasesAPI PostDatabasesPostgreSqlInstanceBackupRestore Post /{apiVersion}/databases/postgresql/instances/{instanceId}/backups/{backupId}/restore Restore a managed PostgreSQL database backup
DatabasesAPI PostDatabasesPostgreSqlInstanceCredentialsReset Post /{apiVersion}/databases/postgresql/instances/{instanceId}/credentials/reset Reset managed PostgreSQL database credentials
DatabasesAPI PostDatabasesPostgreSqlInstancePatch Post /{apiVersion}/databases/postgresql/instances/{instanceId}/patch Patch a managed PostgreSQL database
DatabasesAPI PostDatabasesPostgreSqlInstances Post /{apiVersion}/databases/postgresql/instances Create a managed PostgreSQL database
DatabasesAPI PutDatabasesMysqlInstance Put /{apiVersion}/databases/mysql/instances/{instanceId} Update a managed MySQL database
DatabasesAPI PutDatabasesPostgreSqlInstance Put /{apiVersion}/databases/postgresql/instances/{instanceId} Update a managed PostgreSQL database
DomainsAPI DeleteDomain Delete /{apiVersion}/domains/{domainId} Delete a domain
DomainsAPI DeleteDomainRecord Delete /{apiVersion}/domains/{domainId}/records/{recordId} Delete a domain record
DomainsAPI GetDomain Get /{apiVersion}/domains/{domainId} Get a domain
DomainsAPI GetDomainRecord Get /{apiVersion}/domains/{domainId}/records/{recordId} Get a domain record
DomainsAPI GetDomainRecords Get /{apiVersion}/domains/{domainId}/records List domain records
DomainsAPI GetDomainZone Get /{apiVersion}/domains/{domainId}/zone-file Get a domain zone file
DomainsAPI GetDomains Get /{apiVersion}/domains List domains
DomainsAPI PostCloneDomain Post /{apiVersion}/domains/{domainId}/clone Clone a domain
DomainsAPI PostDomain Post /{apiVersion}/domains Create a domain
DomainsAPI PostDomainRecord Post /{apiVersion}/domains/{domainId}/records Create a domain record
DomainsAPI PostImportDomain Post /{apiVersion}/domains/import Import a domain
DomainsAPI PutDomain Put /{apiVersion}/domains/{domainId} Update a domain
DomainsAPI PutDomainRecord Put /{apiVersion}/domains/{domainId}/records/{recordId} Update a domain record
ImagesAPI DeleteImage Delete /{apiVersion}/images/{imageId} Delete an image
ImagesAPI GetImage Get /{apiVersion}/images/{imageId} Get an image
ImagesAPI GetImages Get /{apiVersion}/images List images
ImagesAPI PostImage Post /{apiVersion}/images Create an image
ImagesAPI PostReplicateImage Post /{apiVersion}/images/{imageId}/regions Replicate an image
ImagesAPI PostUploadImage Post /{apiVersion}/images/upload Upload an image
ImagesAPI PutImage Put /{apiVersion}/images/{imageId} Update an image
LinodeInstancesAPI DeleteDisk Delete /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} Delete a disk
LinodeInstancesAPI DeleteLinodeConfig Delete /{apiVersion}/linode/instances/{linodeId}/configs/{configId} Delete a config profile
LinodeInstancesAPI DeleteLinodeConfigInterface Delete /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} Delete a configuration profile interface
LinodeInstancesAPI DeleteLinodeInstance Delete /{apiVersion}/linode/instances/{linodeId} Delete a Linode
LinodeInstancesAPI DeleteLinodeIp Delete /{apiVersion}/linode/instances/{linodeId}/ips/{address} Delete an IPv4 address
LinodeInstancesAPI GetBackup Get /{apiVersion}/linode/instances/{linodeId}/backups/{backupId} Get a backup
LinodeInstancesAPI GetBackups Get /{apiVersion}/linode/instances/{linodeId}/backups List backups
LinodeInstancesAPI GetKernel Get /{apiVersion}/linode/kernels/{kernelId} Get a kernel
LinodeInstancesAPI GetKernels Get /{apiVersion}/linode/kernels List kernels
LinodeInstancesAPI GetLinodeConfig Get /{apiVersion}/linode/instances/{linodeId}/configs/{configId} Get a config profile
LinodeInstancesAPI GetLinodeConfigInterface Get /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} Get a configuration profile interface
LinodeInstancesAPI GetLinodeConfigInterfaces Get /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces List configuration profile interfaces
LinodeInstancesAPI GetLinodeConfigs Get /{apiVersion}/linode/instances/{linodeId}/configs List config profiles
LinodeInstancesAPI GetLinodeDisk Get /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} Get a disk
LinodeInstancesAPI GetLinodeDisks Get /{apiVersion}/linode/instances/{linodeId}/disks List disks
LinodeInstancesAPI GetLinodeFirewalls Get /{apiVersion}/linode/instances/{linodeId}/firewalls List a Linode's firewalls
LinodeInstancesAPI GetLinodeInstance Get /{apiVersion}/linode/instances/{linodeId} Get a Linode
LinodeInstancesAPI GetLinodeInstances Get /{apiVersion}/linode/instances List Linodes
LinodeInstancesAPI GetLinodeIp Get /{apiVersion}/linode/instances/{linodeId}/ips/{address} Get a Linode's IP address
LinodeInstancesAPI GetLinodeIps Get /{apiVersion}/linode/instances/{linodeId}/ips Get networking information
LinodeInstancesAPI GetLinodeNodeBalancers Get /{apiVersion}/linode/instances/{linodeId}/nodebalancers List Linode NodeBalancers
LinodeInstancesAPI GetLinodeStats Get /{apiVersion}/linode/instances/{linodeId}/stats Get Linode statistics
LinodeInstancesAPI GetLinodeStatsByYearMonth Get /{apiVersion}/linode/instances/{linodeId}/stats/{year}/{month} Get monthly statistics
LinodeInstancesAPI GetLinodeTransfer Get /{apiVersion}/linode/instances/{linodeId}/transfer Get a network transfer
LinodeInstancesAPI GetLinodeTransferByYearMonth Get /{apiVersion}/linode/instances/{linodeId}/transfer/{year}/{month} Get monthly network transfer stats
LinodeInstancesAPI GetLinodeType Get /{apiVersion}/linode/types/{typeId} Get a type
LinodeInstancesAPI GetLinodeTypes Get /{apiVersion}/linode/types List types
LinodeInstancesAPI GetLinodeVolumes Get /{apiVersion}/linode/instances/{linodeId}/volumes List a Linode's volumes
LinodeInstancesAPI PostAddLinodeConfig Post /{apiVersion}/linode/instances/{linodeId}/configs Create a config profile
LinodeInstancesAPI PostAddLinodeDisk Post /{apiVersion}/linode/instances/{linodeId}/disks Create a disk
LinodeInstancesAPI PostAddLinodeIp Post /{apiVersion}/linode/instances/{linodeId}/ips Allocate an IPv4 address
LinodeInstancesAPI PostApplyFirewalls Post /{apiVersion}/linode/instances/{linodeId}/firewalls/apply Apply a Linode's firewalls
LinodeInstancesAPI PostBootLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/boot Boot a Linode
LinodeInstancesAPI PostCancelBackups Post /{apiVersion}/linode/instances/{linodeId}/backups/cancel Cancel backups
LinodeInstancesAPI PostCloneLinodeDisk Post /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/clone Clone a disk
LinodeInstancesAPI PostCloneLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/clone Clone a Linode
LinodeInstancesAPI PostEnableBackups Post /{apiVersion}/linode/instances/{linodeId}/backups/enable Enable backups
LinodeInstancesAPI PostLinodeConfigInterface Post /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces Add a configuration profile interface
LinodeInstancesAPI PostLinodeConfigInterfaces Post /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/order Reorder configuration profile interfaces
LinodeInstancesAPI PostLinodeInstance Post /{apiVersion}/linode/instances Create a Linode
LinodeInstancesAPI PostMigrateLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/migrate Initiate a DC migration/pending host migration
LinodeInstancesAPI PostMutateLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/mutate Upgrade a Linode
LinodeInstancesAPI PostRebootLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/reboot Reboot a Linode
LinodeInstancesAPI PostRebuildLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/rebuild Rebuild a Linode
LinodeInstancesAPI PostRescueLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/rescue Boot a Linode into rescue mode
LinodeInstancesAPI PostResetDiskPassword Post /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/password Reset a disk root password
LinodeInstancesAPI PostResetLinodePassword Post /{apiVersion}/linode/instances/{linodeId}/password Reset a Linode's root password
LinodeInstancesAPI PostResizeDisk Post /{apiVersion}/linode/instances/{linodeId}/disks/{diskId}/resize Resize a disk
LinodeInstancesAPI PostResizeLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/resize Resize a Linode
LinodeInstancesAPI PostRestoreBackup Post /{apiVersion}/linode/instances/{linodeId}/backups/{backupId}/restore Restore a backup
LinodeInstancesAPI PostShutdownLinodeInstance Post /{apiVersion}/linode/instances/{linodeId}/shutdown Shut down a Linode
LinodeInstancesAPI PostSnapshot Post /{apiVersion}/linode/instances/{linodeId}/backups Create a snapshot
LinodeInstancesAPI PutDisk Put /{apiVersion}/linode/instances/{linodeId}/disks/{diskId} Update a disk
LinodeInstancesAPI PutLinodeConfig Put /{apiVersion}/linode/instances/{linodeId}/configs/{configId} Update a config profile
LinodeInstancesAPI PutLinodeConfigInterface Put /{apiVersion}/linode/instances/{linodeId}/configs/{configId}/interfaces/{interfaceId} Update a configuration profile interface
LinodeInstancesAPI PutLinodeInstance Put /{apiVersion}/linode/instances/{linodeId} Update a Linode
LinodeInstancesAPI PutLinodeIp Put /{apiVersion}/linode/instances/{linodeId}/ips/{address} Update an IP address's RDNS for a Linode
LinodeKubernetesEngineLKEAPI DeleteLkeCluster Delete /{apiVersion}/lke/clusters/{clusterId} Delete a Kubernetes cluster
LinodeKubernetesEngineLKEAPI DeleteLkeClusterAcl Delete /{apiVersion}/lke/clusters/{clusterId}/control_plane_acl Delete the control plane access control list
LinodeKubernetesEngineLKEAPI DeleteLkeClusterKubeconfig Delete /{apiVersion}/lke/clusters/{clusterId}/kubeconfig Delete a Kubeconfig
LinodeKubernetesEngineLKEAPI DeleteLkeClusterNode Delete /{apiVersion}/lke/clusters/{clusterId}/nodes/{nodeId} Delete a node
LinodeKubernetesEngineLKEAPI DeleteLkeNodePool Delete /{apiVersion}/lke/clusters/{clusterId}/pools/{poolId} Delete a node pool
LinodeKubernetesEngineLKEAPI DeleteLkeServiceToken Delete /{apiVersion}/lke/clusters/{clusterId}/servicetoken Delete a service token
LinodeKubernetesEngineLKEAPI GetLkeCluster Get /{apiVersion}/lke/clusters/{clusterId} Get a Kubernetes cluster
LinodeKubernetesEngineLKEAPI GetLkeClusterAcl Get /{apiVersion}/lke/clusters/{clusterId}/control_plane_acl Get the control plane access control list
LinodeKubernetesEngineLKEAPI GetLkeClusterApiEndpoints Get /{apiVersion}/lke/clusters/{clusterId}/api-endpoints List Kubernetes API endpoints
LinodeKubernetesEngineLKEAPI GetLkeClusterDashboard Get /{apiVersion}/lke/clusters/{clusterId}/dashboard Get a Kubernetes cluster dashboard URL
LinodeKubernetesEngineLKEAPI GetLkeClusterKubeconfig Get /{apiVersion}/lke/clusters/{clusterId}/kubeconfig Get a Kubeconfig
LinodeKubernetesEngineLKEAPI GetLkeClusterNode Get /{apiVersion}/lke/clusters/{clusterId}/nodes/{nodeId} Get a node
LinodeKubernetesEngineLKEAPI GetLkeClusterPools Get /{apiVersion}/lke/clusters/{clusterId}/pools List node pools
LinodeKubernetesEngineLKEAPI GetLkeClusters Get /{apiVersion}/lke/clusters List Kubernetes clusters
LinodeKubernetesEngineLKEAPI GetLkeNodePool Get /{apiVersion}/lke/clusters/{clusterId}/pools/{poolId} Get a node pool
LinodeKubernetesEngineLKEAPI GetLkeTypes Get /{apiVersion}/lke/types List Kubernetes types
LinodeKubernetesEngineLKEAPI GetLkeVersion Get /{apiVersion}/lke/versions/{version} Get a Kubernetes version
LinodeKubernetesEngineLKEAPI GetLkeVersions Get /{apiVersion}/lke/versions List Kubernetes versions
LinodeKubernetesEngineLKEAPI PostLkeCluster Post /{apiVersion}/lke/clusters Create a Kubernetes cluster
LinodeKubernetesEngineLKEAPI PostLkeClusterNodeRecycle Post /{apiVersion}/lke/clusters/{clusterId}/nodes/{nodeId}/recycle Recycle a node
LinodeKubernetesEngineLKEAPI PostLkeClusterPoolRecycle Post /{apiVersion}/lke/clusters/{clusterId}/pools/{poolId}/recycle Recycle a node pool
LinodeKubernetesEngineLKEAPI PostLkeClusterPools Post /{apiVersion}/lke/clusters/{clusterId}/pools Create a node pool
LinodeKubernetesEngineLKEAPI PostLkeClusterRecycle Post /{apiVersion}/lke/clusters/{clusterId}/recycle Recycle cluster nodes
LinodeKubernetesEngineLKEAPI PostLkeClusterRegenerate Post /{apiVersion}/lke/clusters/{clusterId}/regenerate Regenerate a Kubernetes cluster
LinodeKubernetesEngineLKEAPI PutLkeCluster Put /{apiVersion}/lke/clusters/{clusterId} Update a Kubernetes cluster
LinodeKubernetesEngineLKEAPI PutLkeClusterAcl Put /{apiVersion}/lke/clusters/{clusterId}/control_plane_acl Update the control plane access control list
LinodeKubernetesEngineLKEAPI PutLkeNodePool Put /{apiVersion}/lke/clusters/{clusterId}/pools/{poolId} Update a node pool
LinodeStackScriptsAPI DeleteStackScript Delete /{apiVersion}/linode/stackscripts/{stackscriptId} Delete a StackScript
LinodeStackScriptsAPI GetStackScript Get /{apiVersion}/linode/stackscripts/{stackscriptId} Get a StackScript
LinodeStackScriptsAPI GetStackScripts Get /{apiVersion}/linode/stackscripts List StackScripts
LinodeStackScriptsAPI PostAddStackScript Post /{apiVersion}/linode/stackscripts Create a StackScript
LinodeStackScriptsAPI PutStackScript Put /{apiVersion}/linode/stackscripts/{stackscriptId} Update a StackScript
LongviewAPI DeleteLongviewClient Delete /{apiVersion}/longview/clients/{clientId} Delete a Longview client
LongviewAPI GetLongviewClient Get /{apiVersion}/longview/clients/{clientId} Get a Longview client
LongviewAPI GetLongviewClients Get /{apiVersion}/longview/clients List Longview clients
LongviewAPI GetLongviewPlan Get /{apiVersion}/longview/plan Get a Longview plan
LongviewAPI GetLongviewSubscription Get /{apiVersion}/longview/subscriptions/{subscriptionId} Get a Longview subscription
LongviewAPI GetLongviewSubscriptions Get /{apiVersion}/longview/subscriptions List Longview subscriptions
LongviewAPI GetLongviewTypes Get /{apiVersion}/longview/types List Longview types
LongviewAPI PostLongviewClient Post /{apiVersion}/longview/clients Create a Longview client
LongviewAPI PutLongviewClient Put /{apiVersion}/longview/clients/{clientId} Update a Longview client
LongviewAPI PutLongviewPlan Put /{apiVersion}/longview/plan Update a Longview plan
ManagedAPI DeleteManagedContact Delete /{apiVersion}/managed/contacts/{contactId} Delete a managed contact
ManagedAPI DeleteManagedService Delete /{apiVersion}/managed/services/{serviceId} Delete a managed service
ManagedAPI GetManagedContact Get /{apiVersion}/managed/contacts/{contactId} Get a managed contact
ManagedAPI GetManagedContacts Get /{apiVersion}/managed/contacts List managed contacts
ManagedAPI GetManagedCredential Get /{apiVersion}/managed/credentials/{credentialId} Get a managed credential
ManagedAPI GetManagedCredentials Get /{apiVersion}/managed/credentials List managed credentials
ManagedAPI GetManagedIssue Get /{apiVersion}/managed/issues/{issueId} Get a managed issue
ManagedAPI GetManagedIssues Get /{apiVersion}/managed/issues List managed issues
ManagedAPI GetManagedLinodeSetting Get /{apiVersion}/managed/linode-settings/{linodeId} Get a Linode's managed settings
ManagedAPI GetManagedLinodeSettings Get /{apiVersion}/managed/linode-settings List managed Linode settings
ManagedAPI GetManagedService Get /{apiVersion}/managed/services/{serviceId} Get a managed service
ManagedAPI GetManagedServices Get /{apiVersion}/managed/services List managed services
ManagedAPI GetManagedSshKey Get /{apiVersion}/managed/credentials/sshkey Get a managed SSH key
ManagedAPI GetManagedStats Get /{apiVersion}/managed/stats List managed stats
ManagedAPI PostDisableManagedService Post /{apiVersion}/managed/services/{serviceId}/disable Disable a managed service
ManagedAPI PostEnableManagedService Post /{apiVersion}/managed/services/{serviceId}/enable Enable a managed service
ManagedAPI PostManagedContact Post /{apiVersion}/managed/contacts Create a managed contact
ManagedAPI PostManagedCredential Post /{apiVersion}/managed/credentials Create a managed credential
ManagedAPI PostManagedCredentialRevoke Post /{apiVersion}/managed/credentials/{credentialId}/revoke Delete a managed credential
ManagedAPI PostManagedCredentialUsernamePassword Post /{apiVersion}/managed/credentials/{credentialId}/update Update a managed credential's username and password
ManagedAPI PostManagedService Post /{apiVersion}/managed/services Create a managed service
ManagedAPI PutManagedContact Put /{apiVersion}/managed/contacts/{contactId} Update a managed contact
ManagedAPI PutManagedCredential Put /{apiVersion}/managed/credentials/{credentialId} Update a managed credential
ManagedAPI PutManagedLinodeSetting Put /{apiVersion}/managed/linode-settings/{linodeId} Update a Linode's managed settings
ManagedAPI PutManagedService Put /{apiVersion}/managed/services/{serviceId} Update a managed service
NetworkTransferPricesAPI GetNetworkTransferPrices Get /{apiVersion}/network-transfer/prices List network transfer prices
NetworkingAPI DeleteFirewall Delete /{apiVersion}/networking/firewalls/{firewallId} Delete a firewall
NetworkingAPI DeleteFirewallDevice Delete /{apiVersion}/networking/firewalls/{firewallId}/devices/{deviceId} Delete a firewall device
NetworkingAPI DeleteIpv6Range Delete /{apiVersion}/networking/ipv6/ranges/{range} Delete an IPv6 range
NetworkingAPI GetFirewall Get /{apiVersion}/networking/firewalls/{firewallId} Get a firewall
NetworkingAPI GetFirewallDevice Get /{apiVersion}/networking/firewalls/{firewallId}/devices/{deviceId} Get a firewall device
NetworkingAPI GetFirewallDevices Get /{apiVersion}/networking/firewalls/{firewallId}/devices List firewall devices
NetworkingAPI GetFirewallRuleVersion Get /{apiVersion}/networking/firewalls/{firewallId}/history/rules/{version} Get a firewall rule version
NetworkingAPI GetFirewallRuleVersions Get /{apiVersion}/networking/firewalls/{firewallId}/history List firewall rule versions
NetworkingAPI GetFirewallRules Get /{apiVersion}/networking/firewalls/{firewallId}/rules List firewall rules
NetworkingAPI GetFirewalls Get /{apiVersion}/networking/firewalls List firewalls
NetworkingAPI GetIp Get /{apiVersion}/networking/ips/{address} Get an IP address
NetworkingAPI GetIps Get /{apiVersion}/networking/ips List IP addresses
NetworkingAPI GetIpv6Pools Get /{apiVersion}/networking/ipv6/pools List IPv6 pools
NetworkingAPI GetIpv6Range Get /{apiVersion}/networking/ipv6/ranges/{range} Get an IPv6 range
NetworkingAPI GetIpv6Ranges Get /{apiVersion}/networking/ipv6/ranges List IPv6 ranges
NetworkingAPI GetVlans Get /{apiVersion}/networking/vlans List VLANs
NetworkingAPI PostAllocateIp Post /{apiVersion}/networking/ips Allocate an IP address
NetworkingAPI PostAssignIps Post /{apiVersion}/networking/ips/assign Assign IP addresses
NetworkingAPI PostAssignIpv4s Post /{apiVersion}/networking/ipv4/assign Assign IPv4s to Linodes
NetworkingAPI PostFirewallDevice Post /{apiVersion}/networking/firewalls/{firewallId}/devices Create a firewall device
NetworkingAPI PostFirewalls Post /{apiVersion}/networking/firewalls Create a firewall
NetworkingAPI PostIpv6Range Post /{apiVersion}/networking/ipv6/ranges Create an IPv6 range
NetworkingAPI PostShareIps Post /{apiVersion}/networking/ips/share Share IP addresses
NetworkingAPI PostShareIpv4s Post /{apiVersion}/networking/ipv4/share Configure IPv4 sharing
NetworkingAPI PutFirewall Put /{apiVersion}/networking/firewalls/{firewallId} Update a firewall
NetworkingAPI PutFirewallRules Put /{apiVersion}/networking/firewalls/{firewallId}/rules Update firewall rules
NetworkingAPI PutIp Put /{apiVersion}/networking/ips/{address} Update an IP address's RDNS
NodeBalancersAPI DeleteNodeBalancer Delete /{apiVersion}/nodebalancers/{nodeBalancerId} Delete a NodeBalancer
NodeBalancersAPI DeleteNodeBalancerConfig Delete /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId} Delete a config
NodeBalancersAPI DeleteNodeBalancerConfigNode Delete /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes/{nodeId} Delete a NodeBalancer's node
NodeBalancersAPI GetNodeBalancer Get /{apiVersion}/nodebalancers/{nodeBalancerId} Get a NodeBalancer
NodeBalancersAPI GetNodeBalancerConfig Get /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId} Get a config
NodeBalancersAPI GetNodeBalancerConfigNodes Get /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes List nodes
NodeBalancersAPI GetNodeBalancerConfigs Get /{apiVersion}/nodebalancers/{nodeBalancerId}/configs List configs
NodeBalancersAPI GetNodeBalancerFirewalls Get /{apiVersion}/nodebalancers/{nodeBalancerId}/firewalls List NodeBalancer firewalls
NodeBalancersAPI GetNodeBalancerNode Get /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes/{nodeId} Get a NodeBalancer's node
NodeBalancersAPI GetNodeBalancerStats Get /{apiVersion}/nodebalancers/{nodeBalancerId}/stats Get NodeBalancer statistics
NodeBalancersAPI GetNodeBalancerTypes Get /{apiVersion}/nodebalancers/types List NodeBalancer types
NodeBalancersAPI GetNodeBalancers Get /{apiVersion}/nodebalancers List NodeBalancers
NodeBalancersAPI PostNodeBalancer Post /{apiVersion}/nodebalancers Create a NodeBalancer
NodeBalancersAPI PostNodeBalancerConfig Post /{apiVersion}/nodebalancers/{nodeBalancerId}/configs Create a config
NodeBalancersAPI PostNodeBalancerNode Post /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes Create a node
NodeBalancersAPI PostRebuildNodeBalancerConfig Post /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/rebuild Rebuild a config
NodeBalancersAPI PutNodeBalancer Put /{apiVersion}/nodebalancers/{nodeBalancerId} Update a NodeBalancer
NodeBalancersAPI PutNodeBalancerConfig Put /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId} Update a config
NodeBalancersAPI PutNodeBalancerNode Put /{apiVersion}/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes/{nodeId} Update a node
ObjectStorageAPI DeleteObjectStorageBucket Delete /{apiVersion}/object-storage/buckets/{regionId}/{bucket} Remove an Object Storage bucket
ObjectStorageAPI DeleteObjectStorageKey Delete /{apiVersion}/object-storage/keys/{keyId} Revoke an Object Storage key
ObjectStorageAPI DeleteObjectStorageSsl Delete /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/ssl Delete an Object Storage TLS/SSL certificate
ObjectStorageAPI GetObjectStorageBucket Get /{apiVersion}/object-storage/buckets/{regionId}/{bucket} Get an Object Storage bucket
ObjectStorageAPI GetObjectStorageBucketAcl Get /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/object-acl Get an Object Storage object ACL config
ObjectStorageAPI GetObjectStorageBucketContent Get /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/object-list List Object Storage bucket contents
ObjectStorageAPI GetObjectStorageBucketinCluster Get /{apiVersion}/object-storage/buckets/{regionId} List Object Storage buckets per region
ObjectStorageAPI GetObjectStorageBuckets Get /{apiVersion}/object-storage/buckets List Object Storage buckets
ObjectStorageAPI GetObjectStorageCluster Get /{apiVersion}/object-storage/clusters/{clusterId} Get a cluster
ObjectStorageAPI GetObjectStorageClusters Get /{apiVersion}/object-storage/clusters List clusters
ObjectStorageAPI GetObjectStorageKey Get /{apiVersion}/object-storage/keys/{keyId} Get an Object Storage key
ObjectStorageAPI GetObjectStorageKeys Get /{apiVersion}/object-storage/keys List Object Storage keys
ObjectStorageAPI GetObjectStorageSsl Get /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/ssl Get an Object Storage TLS/SSL certificate
ObjectStorageAPI GetObjectStorageTransfer Get /{apiVersion}/object-storage/transfer Get Object Storage transfer data
ObjectStorageAPI GetObjectStorageTypes Get /{apiVersion}/object-storage/types List Object Storage types
ObjectStorageAPI PostCancelObjectStorage Post /{apiVersion}/object-storage/cancel Cancel Object Storage
ObjectStorageAPI PostObjectStorageBucket Post /{apiVersion}/object-storage/buckets Create an Object Storage bucket
ObjectStorageAPI PostObjectStorageBucketAccess Post /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/access Modify access to an Object Storage bucket
ObjectStorageAPI PostObjectStorageKeys Post /{apiVersion}/object-storage/keys Create an Object Storage key
ObjectStorageAPI PostObjectStorageObjectUrl Post /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/object-url Create a URL for an object
ObjectStorageAPI PostObjectStorageSsl Post /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/ssl Upload an Object Storage TLS/SSL certificate
ObjectStorageAPI PutObjectStorageBucketAcl Put /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/object-acl Update an object's ACL config
ObjectStorageAPI PutObjectStorageKey Put /{apiVersion}/object-storage/keys/{keyId} Update an Object Storage key
ObjectStorageAPI PutStorageBucketAccess Put /{apiVersion}/object-storage/buckets/{regionId}/{bucket}/access Update access to an Object Storage bucket
PlacementGroupsAPI DeletePlacementGroup Delete /{apiVersion}/placement/groups/{groupId} Delete a placement group
PlacementGroupsAPI GetPlacementGroup Get /{apiVersion}/placement/groups/{groupId} Get a placement group
PlacementGroupsAPI GetPlacementGroups Get /{apiVersion}/placement/groups List placement groups
PlacementGroupsAPI PostGroupAddLinode Post /{apiVersion}/placement/groups/{groupId}/assign Assign a placement group
PlacementGroupsAPI PostGroupUnassign Post /{apiVersion}/placement/groups/{groupId}/unassign Unassign a placement group
PlacementGroupsAPI PostPlacementGroup Post /{apiVersion}/placement/groups Create placement group
PlacementGroupsAPI PutPlacementGroup Put /{apiVersion}/placement/groups/{groupId} Update a placement group
ProfileAPI DeletePersonalAccessToken Delete /{apiVersion}/profile/tokens/{tokenId} Revoke a personal access token
ProfileAPI DeleteProfileApp Delete /{apiVersion}/profile/apps/{appId} Revoke app access
ProfileAPI DeleteProfilePhoneNumber Delete /{apiVersion}/profile/phone-number Delete a phone number
ProfileAPI DeleteSshKey Delete /{apiVersion}/profile/sshkeys/{sshKeyId} Delete an SSH key
ProfileAPI DeleteTrustedDevice Delete /{apiVersion}/profile/devices/{deviceId} Revoke a trusted device
ProfileAPI GetDevices Get /{apiVersion}/profile/devices List trusted devices
ProfileAPI GetPersonalAccessToken Get /{apiVersion}/profile/tokens/{tokenId} Get a personal access token
ProfileAPI GetPersonalAccessTokens Get /{apiVersion}/profile/tokens List personal access tokens
ProfileAPI GetProfile Get /{apiVersion}/profile Get a profile
ProfileAPI GetProfileApp Get /{apiVersion}/profile/apps/{appId} Get an authorized app
ProfileAPI GetProfileApps Get /{apiVersion}/profile/apps List authorized apps
ProfileAPI GetProfileGrants Get /{apiVersion}/profile/grants List grants
ProfileAPI GetProfileLogin Get /{apiVersion}/profile/logins/{loginId} Get a profile's login
ProfileAPI GetProfileLogins Get /{apiVersion}/profile/logins List logins
ProfileAPI GetSecurityQuestions Get /{apiVersion}/profile/security-questions List security questions
ProfileAPI GetSshKey Get /{apiVersion}/profile/sshkeys/{sshKeyId} Get an SSH key
ProfileAPI GetSshKeys Get /{apiVersion}/profile/sshkeys List SSH keys
ProfileAPI GetTrustedDevice Get /{apiVersion}/profile/devices/{deviceId} Get a trusted device
ProfileAPI GetUserPreferences Get /{apiVersion}/profile/preferences Get user preferences
ProfileAPI PostAddSshKey Post /{apiVersion}/profile/sshkeys Add an SSH key
ProfileAPI PostPersonalAccessToken Post /{apiVersion}/profile/tokens Create a personal access token
ProfileAPI PostProfilePhoneNumber Post /{apiVersion}/profile/phone-number Send a phone number verification code
ProfileAPI PostProfilePhoneNumberVerify Post /{apiVersion}/profile/phone-number/verify Verify a phone number
ProfileAPI PostSecurityQuestions Post /{apiVersion}/profile/security-questions Answer security questions
ProfileAPI PostTfaConfirm Post /{apiVersion}/profile/tfa-enable-confirm Enable two factor authentication
ProfileAPI PostTfaDisable Post /{apiVersion}/profile/tfa-disable Disable two factor authentication
ProfileAPI PostTfaEnable Post /{apiVersion}/profile/tfa-enable Create a two factor secret
ProfileAPI PutPersonalAccessToken Put /{apiVersion}/profile/tokens/{tokenId} Update a personal access token
ProfileAPI PutProfile Put /{apiVersion}/profile Update a profile
ProfileAPI PutSshKey Put /{apiVersion}/profile/sshkeys/{sshKeyId} Update an SSH key
ProfileAPI PutUserPreferences Put /{apiVersion}/profile/preferences Update a user's preferences
RegionsAPI GetRegion Get /{apiVersion}/regions/{regionId} Get a region
RegionsAPI GetRegionAvailability Get /{apiVersion}/regions/{regionId}/availability Get a region's availability
RegionsAPI GetRegions Get /{apiVersion}/regions List regions
RegionsAPI GetRegionsAvailability Get /{apiVersion}/regions/availability List regions' availability
SupportAPI GetTicket Get /{apiVersion}/support/tickets/{ticketId} Get a support ticket
SupportAPI GetTicketReplies Get /{apiVersion}/support/tickets/{ticketId}/replies List replies
SupportAPI GetTickets Get /{apiVersion}/support/tickets List support tickets
SupportAPI PostCloseTicket Post /{apiVersion}/support/tickets/{ticketId}/close Close a support ticket
SupportAPI PostTicket Post /{apiVersion}/support/tickets Open a support ticket
SupportAPI PostTicketAttachment Post /{apiVersion}/support/tickets/{ticketId}/attachments Create a support ticket attachment
SupportAPI PostTicketReply Post /{apiVersion}/support/tickets/{ticketId}/replies Create a reply
TagsAPI DeleteAg Delete /{apiVersion}/tags/{tagLabel} Delete a tag
TagsAPI GetTaggedObjects Get /{apiVersion}/tags/{tagLabel} List tagged objects
TagsAPI GetTags Get /{apiVersion}/tags List tags
TagsAPI PostTag Post /{apiVersion}/tags Create a tag
VPCsAPI DeleteVpc Delete /{apiVersion}/vpcs/{vpcId} Delete a VPC
VPCsAPI DeleteVpcSubnet Delete /{apiVersion}/vpcs/{vpcId}/subnets/{vpcSubnetId} Delete a VPC subnet
VPCsAPI GetVpc Get /{apiVersion}/vpcs/{vpcId} Get a VPC
VPCsAPI GetVpcIps Get /{apiVersion}/vpcs/{vpcId}/ips List a VPC's IP addresses
VPCsAPI GetVpcSubnet Get /{apiVersion}/vpcs/{vpcId}/subnets/{vpcSubnetId} Get a VPC subnet
VPCsAPI GetVpcSubnets Get /{apiVersion}/vpcs/{vpcId}/subnets List VPC subnets
VPCsAPI GetVpcs Get /{apiVersion}/vpcs List VPCs
VPCsAPI GetVpcsIps Get /{apiVersion}/vpcs/ips List VPC IP addresses
VPCsAPI PostVpc Post /{apiVersion}/vpcs Create a VPC
VPCsAPI PostVpcSubnet Post /{apiVersion}/vpcs/{vpcId}/subnets Create a VPC subnet
VPCsAPI PutVpc Put /{apiVersion}/vpcs/{vpcId} Update a VPC
VPCsAPI PutVpcSubnet Put /{apiVersion}/vpcs/{vpcId}/subnets/{vpcSubnetId} Update a VPC subnet
VolumesAPI DeleteVolume Delete /{apiVersion}/volumes/{volumeId} Delete a volume
VolumesAPI GetVolume Get /{apiVersion}/volumes/{volumeId} Get a volume
VolumesAPI GetVolumeTypes Get /{apiVersion}/volumes/types List volume types
VolumesAPI GetVolumes Get /{apiVersion}/volumes List volumes
VolumesAPI PostAttachVolume Post /{apiVersion}/volumes/{volumeId}/attach Attach a volume
VolumesAPI PostCloneVolume Post /{apiVersion}/volumes/{volumeId}/clone Clone a volume
VolumesAPI PostDetachVolume Post /{apiVersion}/volumes/{volumeId}/detach Detach a volume
VolumesAPI PostResizeVolume Post /{apiVersion}/volumes/{volumeId}/resize Resize a volume
VolumesAPI PostVolume Post /{apiVersion}/volumes Create a volume
VolumesAPI PutVolume Put /{apiVersion}/volumes/{volumeId} Update a volume

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://login.linode.com/oauth/authorize
  • Scopes:
  • account:read_only: Allows access to GET information about your Account.
  • account:read_write: Allows access to all endpoints related to your Account.
  • domains:read_only: Allows access to GET Domains on your Account.
  • domains:read_write: Allows access to all Domain endpoints.
  • events:read_only: Allows access to GET your Events.
  • events:read_write: Allows access to all endpoints related to your Events.
  • firewall:read_only: Allows access to GET information about your Firewalls.
  • firewall:read_write: Allows access to all Firewall endpoints.
  • images:read_only: Allows access to GET your Images.
  • images:read_write: Allows access to all endpoints related to your Images.
  • ips:read_only: Allows access to GET your ips.
  • ips:read_write: Allows access to all endpoints related to your ips.
  • linodes:read_only: Allows access to GET Linodes on your Account.
  • linodes:read_write: Allow access to all endpoints related to your Linodes.
  • lke:read_only: Allows access to GET LKE Clusters on your Account.
  • lke:read_write: Allows access to all endpoints related to LKE Clusters on your Account.
  • longview:read_only: Allows access to GET your Longview Clients.
  • longview:read_write: Allows access to all endpoints related to your Longview Clients.
  • nodebalancers:read_only: Allows access to GET NodeBalancers on your Account.
  • nodebalancers:read_write: Allows access to all NodeBalancer endpoints.
  • object_storage:read_only: Allows access to GET information related to your Object Storage.
  • object_storage:read_write: Allows access to all Object Storage endpoints.
  • stackscripts:read_only: Allows access to GET your StackScripts.
  • stackscripts:read_write: Allows access to all endpoints related to your StackScripts.
  • volumes:read_only: Allows access to GET your Volumes.
  • volumes:read_write: Allows access to all endpoints related to your Volumes.
  • vpc:read_write: Allows access to all endpoints related to VPC and Subnet creation, updating, and deletion.

Example

auth := context.WithValue(context.Background(), openapi.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, openapi.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

personalAccessToken

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), openapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages