Documentation ¶
Overview ¶
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Crusoe Cloud API Gateway * * The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products. * * API version: v1alpha4 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AsyncOperationResponse
- type AttachedDiskV1Alpha4
- type BasicAuth
- type Billing
- type BillingApiService
- type BillingIntentGetResponse
- type CapacitiesApiListSliceCapacitiesOpts
- type CapacitiesApiService
- type CapacityV1Alpha4
- type Configuration
- type CreateSshKeyRequest
- type CreateSshKeyResponse
- type CreateTokenRequest
- type DiskOperationsApiGetStorageDisksOperationsOpts
- type DiskOperationsApiService
- type DiskSnapshot
- type DiskSnapshotGetResponseV1Alpha4
- type DiskSnapshotPostRequest
- type DiskV1Alpha4
- type DisksApiService
- func (a *DisksApiService) CreateDisk(ctx context.Context, body DisksPostRequest) (AsyncOperationResponse, *http.Response, error)
- func (a *DisksApiService) DeleteDisk(ctx context.Context, diskId string) (AsyncOperationResponse, *http.Response, error)
- func (a *DisksApiService) GetDisk(ctx context.Context, diskId string) (DisksGetResponseV1Alpha4, *http.Response, error)
- func (a *DisksApiService) GetDisks(ctx context.Context) (DisksGetResponseV1Alpha4, *http.Response, error)
- func (a *DisksApiService) ResizeDisk(ctx context.Context, body DisksPatchRequest, diskId string) (AsyncOperationResponse, *http.Response, error)
- type DisksGetResponseV1Alpha4
- type DisksPatchRequest
- type DisksPostRequest
- type EntitiesApiService
- func (a *EntitiesApiService) CreateOrganization(ctx context.Context, body EntitiesPutPostRequest) (EntitiesPutPostResponse, *http.Response, error)
- func (a *EntitiesApiService) DeleteOrganization(ctx context.Context, orgId string) (*http.Response, error)
- func (a *EntitiesApiService) GetOrganizations(ctx context.Context) (EntitiesGetResponseV1Alpha4, *http.Response, error)
- func (a *EntitiesApiService) UpdateOrganization(ctx context.Context, body EntitiesPutPostRequest, orgId string) (EntitiesPutPostResponse, *http.Response, error)
- type EntitiesGetResponseV1Alpha4
- type EntitiesPutPostRequest
- type EntitiesPutPostResponse
- type Entity
- type ErrorBody
- type FeatureFlagsApiService
- type FeatureFlagsGetResponse
- type Fingerprints
- type FirewallRuleObject
- type GeneratedToken
- type GenericSwaggerError
- type HostChannelAdapter
- type IBNetworksApiService
- type IBPartitionsApiService
- func (a *IBPartitionsApiService) CreateIBPartition(ctx context.Context, body IbPartitionsPostRequestV1Alpha4) (IbPartition, *http.Response, error)
- func (a *IBPartitionsApiService) DeleteIBPartition(ctx context.Context, ibPartitionId string) (*http.Response, error)
- func (a *IBPartitionsApiService) GetIBPartition(ctx context.Context, ibPartitionId string) (IbPartition, *http.Response, error)
- func (a *IBPartitionsApiService) GetIBPartitions(ctx context.Context) (ListIbPartitionsResponseV1Alpha4, *http.Response, error)
- type IbNetwork
- type IbNetworkCapacity
- type IbPartition
- type IbPartitionsPostRequestV1Alpha4
- type IdentitiesApiService
- func (a *IdentitiesApiService) DeleteUserIdentity(ctx context.Context) (*http.Response, error)
- func (a *IdentitiesApiService) GetUserIdentity(ctx context.Context) (UserResponse, *http.Response, error)
- func (a *IdentitiesApiService) UpdateUserIdentity(ctx context.Context, body IdentityPutRequest) (UserResponse, *http.Response, error)
- type Identity
- type IdentityPutRequest
- type Image
- type ImagesApiService
- type InlineResponse400
- type InlineResponse401
- type InlineResponse403
- type InlineResponse404
- type InlineResponse500
- type InstanceV1Alpha4
- type InstancesAttachDiskPostRequestV1Alpha4
- type InstancesDetachDiskPostRequest
- type InstancesGetResponseV1Alpha4
- type InstancesPatchRequestV1Alpha4
- type InstancesPostRequestV1Alpha4
- type IpAddresses
- type ListCapacitiesResponseV1Alpha4
- type ListIbNetworksResponseV1Alpha4
- type ListIbPartitionsResponseV1Alpha4
- type ListImagesResponseV1Alpha4
- type ListLocationsResponseV1Alpha4
- type ListOperationsResponseV1Alpha4
- type ListProjectsResponseV1Alpha4
- type ListSshKeysResponseV1Alpha4
- type LocationsApiService
- type ModelType
- type NetworkInterface
- type Operation
- type PrivateIpv4Address
- type Project
- type ProjectUsageResponse
- type ProjectsPostRequest
- type ProjectsPutPostResponseV1Alpha4
- type ProjectsPutRequest
- type ProspectPostRequest
- type ProspectPostResponse
- type ProspectsApiService
- type PublicIpv4Address
- type RolesApiGetRolesOpts
- type RolesApiService
- func (a *RolesApiService) CreateRole(ctx context.Context, body ProjectsPostRequest) (ProjectsPutPostResponseV1Alpha4, *http.Response, error)
- func (a *RolesApiService) DeleteRole(ctx context.Context, roleId string) (*http.Response, error)
- func (a *RolesApiService) GetRoles(ctx context.Context, localVarOptionals *RolesApiGetRolesOpts) (ListProjectsResponseV1Alpha4, *http.Response, error)
- func (a *RolesApiService) UpdateRole(ctx context.Context, body ProjectsPutRequest, roleId string) (ProjectsPutPostResponseV1Alpha4, *http.Response, error)
- type SSHKeysApiService
- func (a *SSHKeysApiService) CreateSSHKey(ctx context.Context, body CreateSshKeyRequest) (CreateSshKeyResponse, *http.Response, error)
- func (a *SSHKeysApiService) DeleteSSHKey(ctx context.Context, id string) (*http.Response, error)
- func (a *SSHKeysApiService) GetSSHKeys(ctx context.Context) (ListSshKeysResponseV1Alpha4, *http.Response, error)
- type SingleInstanceGetResponseV1Alpha4
- type SnapshotOperationsApiGetStorageSnapshotsOperationsOpts
- type SnapshotOperationsApiService
- func (a *SnapshotOperationsApiService) GetStorageSnapshotsOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
- func (a *SnapshotOperationsApiService) GetStorageSnapshotsOperations(ctx context.Context, ...) (ListOperationsResponseV1Alpha4, *http.Response, error)
- type SnapshotsApiService
- func (a *SnapshotsApiService) CreateDiskSnapshot(ctx context.Context, body DiskSnapshotPostRequest) (AsyncOperationResponse, *http.Response, error)
- func (a *SnapshotsApiService) DeleteDiskSnapshot(ctx context.Context, snapshotId string) (AsyncOperationResponse, *http.Response, error)
- func (a *SnapshotsApiService) GetDiskSnapshot(ctx context.Context, snapshotId string) (DiskSnapshotGetResponseV1Alpha4, *http.Response, error)
- func (a *SnapshotsApiService) GetDiskSnapshots(ctx context.Context) (DiskSnapshotGetResponseV1Alpha4, *http.Response, error)
- type SshKey
- type TokenInfo
- type TokensApiService
- func (a *TokensApiService) CreateToken(ctx context.Context, body CreateTokenRequest) (TokensPostResponse, *http.Response, error)
- func (a *TokensApiService) DeleteToken(ctx context.Context, accessKey string) (*http.Response, error)
- func (a *TokensApiService) GetTokens(ctx context.Context) (TokensGetResponseV1Alpha4, *http.Response, error)
- type TokensGetResponseV1Alpha4
- type TokensPostResponse
- type TypesGetResponseV1Alpha4
- type UsageApiService
- func (a *UsageApiService) GetUsage(ctx context.Context, orgId string, projects []string, resourceTypes []string, ...) (UsageByProjectGetResponse, *http.Response, error)
- func (a *UsageApiService) GetUsageExport(ctx context.Context, orgId string, projects []string, resources []string, ...) (*http.Response, error)
- func (a *UsageApiService) GetUsageOptions(ctx context.Context, orgId string) (UsageOptions, *http.Response, error)
- type UsageByProjectGetResponse
- type UsageOptions
- type UserResponse
- type VMOperationsApiGetComputeVMsInstancesOperationsOpts
- type VMOperationsApiService
- func (a *VMOperationsApiService) GetComputeVMsInstancesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
- func (a *VMOperationsApiService) GetComputeVMsInstancesOperations(ctx context.Context, ...) (ListOperationsResponseV1Alpha4, *http.Response, error)
- type VMsApiService
- func (a *VMsApiService) CreateInstance(ctx context.Context, body InstancesPostRequestV1Alpha4) (AsyncOperationResponse, *http.Response, error)
- func (a *VMsApiService) DeleteInstance(ctx context.Context, vmId string) (AsyncOperationResponse, *http.Response, error)
- func (a *VMsApiService) GetInstance(ctx context.Context, vmId string) (SingleInstanceGetResponseV1Alpha4, *http.Response, error)
- func (a *VMsApiService) GetInstances(ctx context.Context) (InstancesGetResponseV1Alpha4, *http.Response, error)
- func (a *VMsApiService) GetVMTypes(ctx context.Context) (TypesGetResponseV1Alpha4, *http.Response, error)
- func (a *VMsApiService) UpdateInstance(ctx context.Context, body InstancesPatchRequestV1Alpha4, vmId string) (AsyncOperationResponse, *http.Response, error)
- func (a *VMsApiService) UpdateInstanceAttachDisks(ctx context.Context, body InstancesAttachDiskPostRequestV1Alpha4, vmId string) (AsyncOperationResponse, *http.Response, error)
- func (a *VMsApiService) UpdateInstanceDetachDisks(ctx context.Context, body InstancesDetachDiskPostRequest, vmId string) (AsyncOperationResponse, *http.Response, error)
- type VPCFirewallRuleOperationsApiGetNetworkingVPCFirewallRulesOperationsOpts
- type VPCFirewallRuleOperationsApiService
- func (a *VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
- func (a *VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperations(ctx context.Context, ...) (ListOperationsResponseV1Alpha4, *http.Response, error)
- type VPCFirewallRulesApiService
- func (a *VPCFirewallRulesApiService) CreateVPCFirewallRule(ctx context.Context, body VpcFirewallRulesPostRequestV1Alpha4) (AsyncOperationResponse, *http.Response, error)
- func (a *VPCFirewallRulesApiService) DeleteVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (AsyncOperationResponse, *http.Response, error)
- func (a *VPCFirewallRulesApiService) GetVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (VpcFirewallRulesGetResponseV1Alpha4, *http.Response, error)
- func (a *VPCFirewallRulesApiService) GetVPCFirewallRules(ctx context.Context) (VpcFirewallRulesGetResponseV1Alpha4, *http.Response, error)
- func (a *VPCFirewallRulesApiService) PatchVPCFirewallRule(ctx context.Context, body VpcFirewallRulesPatchRequest, ...) (AsyncOperationResponse, *http.Response, error)
- type VPCNetworksApiService
- type VPCSubnetsApiService
- type VmAttachmentV1Alpha4
- type VpcFirewallRule
- type VpcFirewallRulesGetResponseV1Alpha4
- type VpcFirewallRulesPatchRequest
- type VpcFirewallRulesPostRequestV1Alpha4
- type VpcNetwork
- type VpcNetworksGetResponseV1Alpha4
- type VpcSubnet
- type VpcSubnetsGetResponseV1Alpha4
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { BillingApi *BillingApiService CapacitiesApi *CapacitiesApiService DiskOperationsApi *DiskOperationsApiService DisksApi *DisksApiService EntitiesApi *EntitiesApiService FeatureFlagsApi *FeatureFlagsApiService IBNetworksApi *IBNetworksApiService IBPartitionsApi *IBPartitionsApiService IdentitiesApi *IdentitiesApiService ImagesApi *ImagesApiService LocationsApi *LocationsApiService ProspectsApi *ProspectsApiService RolesApi *RolesApiService SSHKeysApi *SSHKeysApiService SnapshotOperationsApi *SnapshotOperationsApiService SnapshotsApi *SnapshotsApiService TokensApi *TokensApiService UsageApi *UsageApiService VMOperationsApi *VMOperationsApiService VMsApi *VMsApiService VPCFirewallRuleOperationsApi *VPCFirewallRuleOperationsApiService VPCFirewallRulesApi *VPCFirewallRulesApiService VPCNetworksApi *VPCNetworksApiService VPCSubnetsApi *VPCSubnetsApiService // contains filtered or unexported fields }
APIClient manages communication with the Crusoe Cloud API Gateway API vv1alpha4 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AsyncOperationResponse ¶ added in v0.1.35
type AsyncOperationResponse struct {
Operation *Operation `json:"operation"`
}
type AttachedDiskV1Alpha4 ¶ added in v0.1.31
type AttachedDiskV1Alpha4 struct { AttachedTo []VmAttachmentV1Alpha4 `json:"attached_to"` BlockSize int64 `json:"block_size"` CreatedAt string `json:"created_at"` Id string `json:"id"` IsBootDisk bool `json:"is_boot_disk"` Location string `json:"location"` Name string `json:"name"` SerialNumber string `json:"serial_number"` Size string `json:"size"` Type_ string `json:"type"` UpdatedAt string `json:"updated_at"` }
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BillingApiService ¶
type BillingApiService service
func (*BillingApiService) GetBillingIntent ¶
func (a *BillingApiService) GetBillingIntent(ctx context.Context, orgId string, intentType string) (BillingIntentGetResponse, *http.Response, error)
BillingApiService Retrieve an intent to facilitate a Stripe action.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgId
- @param intentType
@return BillingIntentGetResponse
type BillingIntentGetResponse ¶
type BillingIntentGetResponse struct {
Intent string `json:"intent"`
}
type CapacitiesApiListSliceCapacitiesOpts ¶ added in v0.1.21
type CapacitiesApiService ¶ added in v0.1.21
type CapacitiesApiService service
func (*CapacitiesApiService) ListSliceCapacities ¶ added in v0.1.21
func (a *CapacitiesApiService) ListSliceCapacities(ctx context.Context, localVarOptionals *CapacitiesApiListSliceCapacitiesOpts) (ListCapacitiesResponseV1Alpha4, *http.Response, error)
type CapacityV1Alpha4 ¶ added in v0.1.32
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CreateSshKeyRequest ¶
type CreateSshKeyResponse ¶
type CreateSshKeyResponse struct {
SshKey *SshKey `json:"ssh_key"`
}
type CreateTokenRequest ¶
type DiskOperationsApiService ¶
type DiskOperationsApiService service
func (*DiskOperationsApiService) GetStorageDisksOperation ¶
func (a *DiskOperationsApiService) GetStorageDisksOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
DiskOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the disks resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param operationId
@return ListOperationsResponseV1Alpha4
func (*DiskOperationsApiService) GetStorageDisksOperations ¶
func (a *DiskOperationsApiService) GetStorageDisksOperations(ctx context.Context, localVarOptionals *DiskOperationsApiGetStorageDisksOperationsOpts) (ListOperationsResponseV1Alpha4, *http.Response, error)
type DiskSnapshot ¶
type DiskSnapshotGetResponseV1Alpha4 ¶ added in v0.1.22
type DiskSnapshotGetResponseV1Alpha4 struct {
DiskSnapshots []DiskSnapshot `json:"disk_snapshots"`
}
type DiskSnapshotPostRequest ¶
type DiskV1Alpha4 ¶ added in v0.1.31
type DiskV1Alpha4 struct { AttachedTo []VmAttachmentV1Alpha4 `json:"attached_to"` BlockSize int64 `json:"block_size"` CreatedAt string `json:"created_at"` Id string `json:"id"` Location string `json:"location"` Name string `json:"name"` SerialNumber string `json:"serial_number"` Size string `json:"size"` Type_ string `json:"type"` UpdatedAt string `json:"updated_at"` }
type DisksApiService ¶
type DisksApiService service
func (*DisksApiService) CreateDisk ¶
func (a *DisksApiService) CreateDisk(ctx context.Context, body DisksPostRequest) (AsyncOperationResponse, *http.Response, error)
DisksApiService Create a new disk owned by the logged in user. Requires either a disk snapshot ID, or size and location, where size of disk should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB. Disk type must be one of: DISK_TYPE_PERSISTENT_SSD. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return AsyncOperationResponse
func (*DisksApiService) DeleteDisk ¶
func (a *DisksApiService) DeleteDisk(ctx context.Context, diskId string) (AsyncOperationResponse, *http.Response, error)
DisksApiService Delete a disk owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param diskId
@return AsyncOperationResponse
func (*DisksApiService) GetDisk ¶
func (a *DisksApiService) GetDisk(ctx context.Context, diskId string) (DisksGetResponseV1Alpha4, *http.Response, error)
DisksApiService Retrieve details for a disk that belongs to the logged in user. Size of disk will be in gibibytes (GiB)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param diskId
@return DisksGetResponseV1Alpha4
func (*DisksApiService) GetDisks ¶
func (a *DisksApiService) GetDisks(ctx context.Context) (DisksGetResponseV1Alpha4, *http.Response, error)
DisksApiService Retrieve details about all disks that belong to the logged in user. Size of disks will be in gibibytes (GiB)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return DisksGetResponseV1Alpha4
func (*DisksApiService) ResizeDisk ¶
func (a *DisksApiService) ResizeDisk(ctx context.Context, body DisksPatchRequest, diskId string) (AsyncOperationResponse, *http.Response, error)
DisksApiService Resize a disk that the logged in user owns. Size should be in gibibytes (GiB) or tebibytes (TiB) in the format [Size][Unit]. E.g. 10GiB A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param diskId
@return AsyncOperationResponse
type DisksGetResponseV1Alpha4 ¶ added in v0.1.22
type DisksGetResponseV1Alpha4 struct {
Disks []DiskV1Alpha4 `json:"disks"`
}
type DisksPatchRequest ¶
type DisksPatchRequest struct {
Size string `json:"size"`
}
type DisksPostRequest ¶
type EntitiesApiService ¶
type EntitiesApiService service
func (*EntitiesApiService) CreateOrganization ¶
func (a *EntitiesApiService) CreateOrganization(ctx context.Context, body EntitiesPutPostRequest) (EntitiesPutPostResponse, *http.Response, error)
EntitiesApiService Create a new organization owned by the logged in user. A successful response from this resource will contain the json encoded organization details.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return EntitiesPutPostResponse
func (*EntitiesApiService) DeleteOrganization ¶
func (a *EntitiesApiService) DeleteOrganization(ctx context.Context, orgId string) (*http.Response, error)
EntitiesApiService Delete an organization owned by the logged in user. Delete operations will cascade to projects and VMs, and all members will be removed from the organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgId
func (*EntitiesApiService) GetOrganizations ¶
func (a *EntitiesApiService) GetOrganizations(ctx context.Context) (EntitiesGetResponseV1Alpha4, *http.Response, error)
EntitiesApiService Retrieve details about all active organizations the logged in user belongs to.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return EntitiesGetResponseV1Alpha4
func (*EntitiesApiService) UpdateOrganization ¶
func (a *EntitiesApiService) UpdateOrganization(ctx context.Context, body EntitiesPutPostRequest, orgId string) (EntitiesPutPostResponse, *http.Response, error)
EntitiesApiService Update details for an organization that the logged in user owns. A successful response from this resource will contain the updated organization details.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param orgId
@return EntitiesPutPostResponse
type EntitiesGetResponseV1Alpha4 ¶ added in v0.1.22
type EntitiesGetResponseV1Alpha4 struct {
Entities []Entity `json:"entities"`
}
type EntitiesPutPostRequest ¶
type EntitiesPutPostRequest struct {
OrganizationName string `json:"organization_name"`
}
type EntitiesPutPostResponse ¶
type EntitiesPutPostResponse struct {
Entity *Entity `json:"entity"`
}
type FeatureFlagsApiService ¶ added in v0.1.21
type FeatureFlagsApiService service
func (*FeatureFlagsApiService) GetFeatureFlags ¶ added in v0.1.21
func (a *FeatureFlagsApiService) GetFeatureFlags(ctx context.Context) (FeatureFlagsGetResponse, *http.Response, error)
FeatureFlagsApiService Get feature flags for the currently logged in user. A successful response from this resource will contain a map of all feature flags and the value assigned to each of them for the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FeatureFlagsGetResponse
type FeatureFlagsGetResponse ¶ added in v0.1.21
type FeatureFlagsGetResponse struct {
FeatureFlags map[string]interface{} `json:"feature_flags"`
}
type Fingerprints ¶
type FirewallRuleObject ¶
type FirewallRuleObject struct { Cidr string `json:"cidr,omitempty"` ResourceId string `json:"resource_id,omitempty"` }
It has two fields: CIDR and ResourceID. The CIDR field may either be a CIDR or an IP address. If an IP, it will be converted to a CIDR. Resource ids of VPC networks, Subnets, and VMs are the only allowed. Only one of the two fields can be non empty.
type GeneratedToken ¶
type GeneratedToken struct { AccessKey string `json:"access_key"` Alias string `json:"alias,omitempty"` CreatedAt string `json:"created_at"` ExpiresAt string `json:"expires_at"` SecretKey string `json:"secret_key"` }
These are the fields returned from a PUT request.
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type HostChannelAdapter ¶ added in v0.1.19
type IBNetworksApiService ¶ added in v0.1.19
type IBNetworksApiService service
func (*IBNetworksApiService) GetIBNetwork ¶ added in v0.1.19
func (a *IBNetworksApiService) GetIBNetwork(ctx context.Context, ibNetworkId string) (IbNetwork, *http.Response, error)
IBNetworksApiService Retrieve details for an Infiniband network.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ibNetworkId
@return IbNetwork
func (*IBNetworksApiService) GetIBNetworks ¶ added in v0.1.19
func (a *IBNetworksApiService) GetIBNetworks(ctx context.Context) (ListIbNetworksResponseV1Alpha4, *http.Response, error)
IBNetworksApiService Retrieve details for all Infiniband networks.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListIbNetworksResponseV1Alpha4
type IBPartitionsApiService ¶ added in v0.1.19
type IBPartitionsApiService service
func (*IBPartitionsApiService) CreateIBPartition ¶ added in v0.1.19
func (a *IBPartitionsApiService) CreateIBPartition(ctx context.Context, body IbPartitionsPostRequestV1Alpha4) (IbPartition, *http.Response, error)
IBPartitionsApiService Create a new Infiniband partition owned by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return IbPartition
func (*IBPartitionsApiService) DeleteIBPartition ¶ added in v0.1.19
func (a *IBPartitionsApiService) DeleteIBPartition(ctx context.Context, ibPartitionId string) (*http.Response, error)
IBPartitionsApiService Delete an Infiniband partition owned by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ibPartitionId
func (*IBPartitionsApiService) GetIBPartition ¶ added in v0.1.19
func (a *IBPartitionsApiService) GetIBPartition(ctx context.Context, ibPartitionId string) (IbPartition, *http.Response, error)
IBPartitionsApiService Retrieve details for an Infiniband partition that belongs to the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ibPartitionId
@return IbPartition
func (*IBPartitionsApiService) GetIBPartitions ¶ added in v0.1.19
func (a *IBPartitionsApiService) GetIBPartitions(ctx context.Context) (ListIbPartitionsResponseV1Alpha4, *http.Response, error)
IBPartitionsApiService Retrieve details for all Infiniband partitions that belongs to the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListIbPartitionsResponseV1Alpha4
type IbNetwork ¶ added in v0.1.19
type IbNetwork struct { Capacities []IbNetworkCapacity `json:"capacities"` Id string `json:"id"` Location string `json:"location"` Name string `json:"name"` }
type IbNetworkCapacity ¶ added in v0.1.19
type IbPartition ¶ added in v0.1.19
type IbPartitionsPostRequestV1Alpha4 ¶ added in v0.1.22
type IdentitiesApiService ¶
type IdentitiesApiService service
func (*IdentitiesApiService) DeleteUserIdentity ¶
IdentitiesApiService Delete the account for the logged in user. Delete operations will cascade to all entities the user owns (organizations, roles, vms).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*IdentitiesApiService) GetUserIdentity ¶
func (a *IdentitiesApiService) GetUserIdentity(ctx context.Context) (UserResponse, *http.Response, error)
IdentitiesApiService Retrieve user details for the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return UserResponse
func (*IdentitiesApiService) UpdateUserIdentity ¶
func (a *IdentitiesApiService) UpdateUserIdentity(ctx context.Context, body IdentityPutRequest) (UserResponse, *http.Response, error)
IdentitiesApiService Update user details for the logged in user. A successful response from this resource wil contain the updated user details.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return UserResponse
type Identity ¶
type Identity struct { Email string `json:"email"` Name string `json:"name"` Role string `json:"role"` }
Identity contains the Traits Island stores for a User inside of Kratos. These are the fields returned from a GET or PUT request.
type IdentityPutRequest ¶ added in v0.1.19
type ImagesApiService ¶ added in v0.1.21
type ImagesApiService service
func (*ImagesApiService) GetImage ¶ added in v0.1.21
func (a *ImagesApiService) GetImage(ctx context.Context, imageId string) (Image, *http.Response, error)
ImagesApiService Retrieve details about a VM image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageId
@return Image
func (*ImagesApiService) ListImages ¶ added in v0.1.21
func (a *ImagesApiService) ListImages(ctx context.Context) (ListImagesResponseV1Alpha4, *http.Response, error)
ImagesApiService Lists all VM images available for use.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListImagesResponseV1Alpha4
type InlineResponse400 ¶ added in v0.1.39
type InlineResponse401 ¶ added in v0.1.39
type InlineResponse403 ¶ added in v0.1.39
type InlineResponse404 ¶ added in v0.1.39
type InlineResponse500 ¶ added in v0.1.39
type InstanceV1Alpha4 ¶
type InstanceV1Alpha4 struct { CommitmentEnd string `json:"commitment_end"` CommitmentPeriod int64 `json:"commitment_period"` CreatedAt string `json:"created_at"` Disks []AttachedDiskV1Alpha4 `json:"disks"` HostChannelAdapters []HostChannelAdapter `json:"host_channel_adapters"` Id string `json:"id"` Location string `json:"location"` Name string `json:"name"` NetworkInterfaces []NetworkInterface `json:"network_interfaces"` ProductName string `json:"product_name"` RoleId string `json:"role_id"` SshDestination string `json:"ssh_destination"` State string `json:"state"` UpdatedAt string `json:"updated_at"` }
InstanceV1Alpha4 contains identifying information about a vm instance for vms.instances endpoints.
type InstancesAttachDiskPostRequestV1Alpha4 ¶ added in v0.1.22
type InstancesAttachDiskPostRequestV1Alpha4 struct {
AttachDisks []string `json:"attach_disks"`
}
InstancesAttachDiskPostRequestV1Alpha4 is the request type for POST requests to the vms.instances.attach-disk endpoint.
type InstancesDetachDiskPostRequest ¶
type InstancesDetachDiskPostRequest struct {
DetachDisks []string `json:"detach_disks"`
}
InstancesDetachDiskPostRequest is the request type for POST requests to the vms.instances.detach-disk endpoint.
type InstancesGetResponseV1Alpha4 ¶
type InstancesGetResponseV1Alpha4 struct {
Instances []InstanceV1Alpha4 `json:"instances"`
}
InstancesGetResponseV1Alpha4 is the response type for GET requests to compute/vms/instances.
type InstancesPatchRequestV1Alpha4 ¶ added in v0.1.22
type InstancesPatchRequestV1Alpha4 struct { Action string `json:"action"` CommitmentPeriod int64 `json:"commitment_period,omitempty"` IbPartitionId string `json:"ib_partition_id,omitempty"` NetworkInterfaces []NetworkInterface `json:"network_interfaces,omitempty"` ProductName string `json:"product_name,omitempty"` }
type InstancesPostRequestV1Alpha4 ¶ added in v0.1.22
type InstancesPostRequestV1Alpha4 struct { CommitmentPeriod int64 `json:"commitment_period,omitempty"` Disks []string `json:"disks,omitempty"` IbPartitionId string `json:"ib_partition_id,omitempty"` Image string `json:"image,omitempty"` ImageChecksum string `json:"image_checksum,omitempty"` ImageId string `json:"image_id,omitempty"` Location string `json:"location,omitempty"` Name string `json:"name"` NetworkInterfaces []NetworkInterface `json:"network_interfaces,omitempty"` ProductName string `json:"product_name"` RoleId string `json:"role_id"` ShutdownScript string `json:"shutdown_script,omitempty"` SshPublicKey string `json:"ssh_public_key"` StartupScript string `json:"startup_script,omitempty"` Subnet string `json:"subnet,omitempty"` }
InstancesPostRequestV1Alpha4 is the request type for POST requests to the vms.instances endpoint.
type IpAddresses ¶
type IpAddresses struct { PrivateIpv4 *PrivateIpv4Address `json:"private_ipv4"` PublicIpv4 *PublicIpv4Address `json:"public_ipv4"` }
type ListCapacitiesResponseV1Alpha4 ¶ added in v0.1.22
type ListCapacitiesResponseV1Alpha4 struct {
Capacities []CapacityV1Alpha4 `json:"capacities"`
}
type ListIbNetworksResponseV1Alpha4 ¶ added in v0.1.22
type ListIbNetworksResponseV1Alpha4 struct {
IbNetworks []IbNetwork `json:"ib_networks"`
}
type ListIbPartitionsResponseV1Alpha4 ¶ added in v0.1.22
type ListIbPartitionsResponseV1Alpha4 struct {
IbPartitions []IbPartition `json:"ib_partitions"`
}
type ListImagesResponseV1Alpha4 ¶ added in v0.1.22
type ListImagesResponseV1Alpha4 struct {
Images []Image `json:"images"`
}
type ListLocationsResponseV1Alpha4 ¶ added in v0.1.22
type ListLocationsResponseV1Alpha4 struct {
Locations []string `json:"locations"`
}
type ListOperationsResponseV1Alpha4 ¶ added in v0.1.22
type ListOperationsResponseV1Alpha4 struct {
Operations []Operation `json:"operations"`
}
type ListProjectsResponseV1Alpha4 ¶ added in v0.1.22
type ListProjectsResponseV1Alpha4 struct {
Roles []Project `json:"roles"`
}
type ListSshKeysResponseV1Alpha4 ¶ added in v0.1.22
type ListSshKeysResponseV1Alpha4 struct {
SshKeys []SshKey `json:"ssh_keys"`
}
type LocationsApiService ¶ added in v0.1.19
type LocationsApiService service
func (*LocationsApiService) ListLocations ¶ added in v0.1.19
func (a *LocationsApiService) ListLocations(ctx context.Context) (ListLocationsResponseV1Alpha4, *http.Response, error)
LocationsApiService Lists all Crusoe Cloud locations usable for resource hosting.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListLocationsResponseV1Alpha4
type ModelType ¶
type ModelType struct { CpuCores int64 `json:"cpu_cores"` CpuType string `json:"cpu_type"` Description string `json:"description"` DiskGb int64 `json:"disk_gb"` DiskType string `json:"disk_type"` GpuType string `json:"gpu_type"` MemoryGb int64 `json:"memory_gb"` MemoryType string `json:"memory_type"` NumGpu int64 `json:"num_gpu"` ProductName string `json:"product_name"` }
type NetworkInterface ¶
type Operation ¶
type Operation struct { CompletedAt string `json:"completed_at"` Metadata *interface{} `json:"metadata"` OperationId string `json:"operation_id"` Result *interface{} `json:"result,omitempty"` StartedAt string `json:"started_at"` State string `json:"state"` }
Individual resources that use Operations should populate the `metadata` field with resource-specific information.
type PrivateIpv4Address ¶
type PrivateIpv4Address struct {
Address string `json:"address"`
}
type ProjectUsageResponse ¶ added in v0.1.29
type ProjectsPostRequest ¶ added in v0.1.22
type ProjectsPutPostResponseV1Alpha4 ¶ added in v0.1.22
type ProjectsPutPostResponseV1Alpha4 struct {
Role *Project `json:"role"`
}
type ProjectsPutRequest ¶ added in v0.1.22
type ProjectsPutRequest struct {
Name string `json:"name"`
}
type ProspectPostRequest ¶
type ProspectPostRequest struct { Company string `json:"company"` Email string `json:"email"` ExpectedCapacity string `json:"expected_capacity"` ExpectedCommitment string `json:"expected_commitment"` ExpectedService []string `json:"expected_service"` Name string `json:"name"` Referral string `json:"referral"` Source string `json:"source"` UseCase string `json:"use_case"` }
type ProspectPostResponse ¶
type ProspectPostResponse struct {
Success bool `json:"success,omitempty"`
}
type ProspectsApiService ¶
type ProspectsApiService service
func (*ProspectsApiService) CreateProspect ¶
func (a *ProspectsApiService) CreateProspect(ctx context.Context, body ProspectPostRequest) (ProspectPostResponse, *http.Response, error)
ProspectsApiService Create a new prospective customer in Crusoe Cloud.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ProspectPostResponse
type PublicIpv4Address ¶
type RolesApiGetRolesOpts ¶
type RolesApiService ¶
type RolesApiService service
func (*RolesApiService) CreateRole ¶
func (a *RolesApiService) CreateRole(ctx context.Context, body ProjectsPostRequest) (ProjectsPutPostResponseV1Alpha4, *http.Response, error)
RolesApiService Create a new role that will be owned by the logged in user. The logged in user must have the permission to create roles within the organization. A successful response from this resource contains details of the created role.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ProjectsPutPostResponseV1Alpha4
func (*RolesApiService) DeleteRole ¶
RolesApiService Delete a role that the logged in user owns. Delete operations cascade to VMs created under that role.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param roleId
func (*RolesApiService) GetRoles ¶
func (a *RolesApiService) GetRoles(ctx context.Context, localVarOptionals *RolesApiGetRolesOpts) (ListProjectsResponseV1Alpha4, *http.Response, error)
func (*RolesApiService) UpdateRole ¶
func (a *RolesApiService) UpdateRole(ctx context.Context, body ProjectsPutRequest, roleId string) (ProjectsPutPostResponseV1Alpha4, *http.Response, error)
RolesApiService Update details for a role that the logged in user owns. Requests to this resource must contain the json-encoded representation of the changes they want to make to the role. Currently only the role's name can be changed.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param roleId
@return ProjectsPutPostResponseV1Alpha4
type SSHKeysApiService ¶
type SSHKeysApiService service
func (*SSHKeysApiService) CreateSSHKey ¶
func (a *SSHKeysApiService) CreateSSHKey(ctx context.Context, body CreateSshKeyRequest) (CreateSshKeyResponse, *http.Response, error)
SSHKeysApiService Register a new SSH public key to the logged in user. A successful response from this resource wil contain the created SSH key details.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return CreateSshKeyResponse
func (*SSHKeysApiService) DeleteSSHKey ¶
SSHKeysApiService Delete an SSH public key registered to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
func (*SSHKeysApiService) GetSSHKeys ¶
func (a *SSHKeysApiService) GetSSHKeys(ctx context.Context) (ListSshKeysResponseV1Alpha4, *http.Response, error)
SSHKeysApiService Retrieve the list of SSH public keys registered to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ListSshKeysResponseV1Alpha4
type SingleInstanceGetResponseV1Alpha4 ¶
type SingleInstanceGetResponseV1Alpha4 struct {
Instance *InstanceV1Alpha4 `json:"instance"`
}
SingleInstanceGetResponseV1Alpha4 is the response type for GET requests to compute/vms/instances/{vm_id}.
type SnapshotOperationsApiService ¶
type SnapshotOperationsApiService service
func (*SnapshotOperationsApiService) GetStorageSnapshotsOperation ¶
func (a *SnapshotOperationsApiService) GetStorageSnapshotsOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
SnapshotOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param operationId
@return ListOperationsResponseV1Alpha4
func (*SnapshotOperationsApiService) GetStorageSnapshotsOperations ¶
func (a *SnapshotOperationsApiService) GetStorageSnapshotsOperations(ctx context.Context, localVarOptionals *SnapshotOperationsApiGetStorageSnapshotsOperationsOpts) (ListOperationsResponseV1Alpha4, *http.Response, error)
type SnapshotsApiService ¶
type SnapshotsApiService service
func (*SnapshotsApiService) CreateDiskSnapshot ¶
func (a *SnapshotsApiService) CreateDiskSnapshot(ctx context.Context, body DiskSnapshotPostRequest) (AsyncOperationResponse, *http.Response, error)
SnapshotsApiService Create a new snapshot for a disk owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return AsyncOperationResponse
func (*SnapshotsApiService) DeleteDiskSnapshot ¶
func (a *SnapshotsApiService) DeleteDiskSnapshot(ctx context.Context, snapshotId string) (AsyncOperationResponse, *http.Response, error)
SnapshotsApiService Delete a disk snapshot owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param snapshotId
@return AsyncOperationResponse
func (*SnapshotsApiService) GetDiskSnapshot ¶
func (a *SnapshotsApiService) GetDiskSnapshot(ctx context.Context, snapshotId string) (DiskSnapshotGetResponseV1Alpha4, *http.Response, error)
SnapshotsApiService Retrieve details about a disk snapshot that belongs to the logged in user. Size of snapshot will be in bytes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param snapshotId
@return DiskSnapshotGetResponseV1Alpha4
func (*SnapshotsApiService) GetDiskSnapshots ¶
func (a *SnapshotsApiService) GetDiskSnapshots(ctx context.Context) (DiskSnapshotGetResponseV1Alpha4, *http.Response, error)
SnapshotsApiService Retrieve details about all disk snapshots that belong to the logged in user. Size of snapshots will be in bytes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return DiskSnapshotGetResponseV1Alpha4
type SshKey ¶
type SshKey struct { CreatedAt string `json:"created_at"` Fingerprints *Fingerprints `json:"fingerprints"` Id string `json:"id"` Name string `json:"name"` PublicKey string `json:"public_key"` }
type TokenInfo ¶
type TokenInfo struct { AccessKey string `json:"access_key"` Alias string `json:"alias"` CreatedAt string `json:"created_at"` ExpiresAt string `json:"expires_at"` LastUsed string `json:"last_used"` }
These are the fields returned from a GET request.
type TokensApiService ¶
type TokensApiService service
func (*TokensApiService) CreateToken ¶
func (a *TokensApiService) CreateToken(ctx context.Context, body CreateTokenRequest) (TokensPostResponse, *http.Response, error)
TokensApiService Create a new token owned by the logged in user. A successful response from this resource will contain json-encoded details of API token. This is the only time the customer will be able to view the secret key associated with the token.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TokensPostResponse
func (*TokensApiService) DeleteToken ¶
func (a *TokensApiService) DeleteToken(ctx context.Context, accessKey string) (*http.Response, error)
TokensApiService Delete an API token owned by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param accessKey
func (*TokensApiService) GetTokens ¶
func (a *TokensApiService) GetTokens(ctx context.Context) (TokensGetResponseV1Alpha4, *http.Response, error)
TokensApiService Retrieve all active/expired API tokens for the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TokensGetResponseV1Alpha4
type TokensGetResponseV1Alpha4 ¶ added in v0.1.22
type TokensGetResponseV1Alpha4 struct {
Tokens []TokenInfo `json:"tokens"`
}
type TokensPostResponse ¶
type TokensPostResponse struct {
Token *GeneratedToken `json:"token"`
}
type TypesGetResponseV1Alpha4 ¶ added in v0.1.22
type TypesGetResponseV1Alpha4 struct {
VmTypes []ModelType `json:"vm_types"`
}
type UsageApiService ¶ added in v0.1.29
type UsageApiService service
func (*UsageApiService) GetUsage ¶ added in v0.1.29
func (a *UsageApiService) GetUsage(ctx context.Context, orgId string, projects []string, resourceTypes []string, regions []string, startDate string, endDate string) (UsageByProjectGetResponse, *http.Response, error)
UsageApiService Get project-level usage for products in Crusoe Cloud.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgId
- @param projects
- @param resourceTypes
- @param regions
- @param startDate
- @param endDate
@return UsageByProjectGetResponse
func (*UsageApiService) GetUsageExport ¶ added in v0.1.29
func (a *UsageApiService) GetUsageExport(ctx context.Context, orgId string, projects []string, resources []string, resourceTypes []string, regions []string, startDate string, endDate string) (*http.Response, error)
UsageApiService Get resource-level usage for products in Crusoe Cloud.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgId
- @param projects
- @param resources
- @param resourceTypes
- @param regions
- @param startDate
- @param endDate
func (*UsageApiService) GetUsageOptions ¶ added in v0.1.29
func (a *UsageApiService) GetUsageOptions(ctx context.Context, orgId string) (UsageOptions, *http.Response, error)
UsageApiService Get options which exist for filters for /usage and /usage/export routes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgId
@return UsageOptions
type UsageByProjectGetResponse ¶ added in v0.1.29
type UsageByProjectGetResponse struct {
Items []ProjectUsageResponse `json:"items"`
}
type UsageOptions ¶ added in v0.1.29
type UsageOptions struct { EndDate string `json:"end_date"` Projects []string `json:"projects"` Regions []string `json:"regions"` ResourceTypes []string `json:"resource_types"` StartDate string `json:"start_date"` }
UsageOptions contains the values which exist for the fields which we allow filtering on for the usageByProjectGet endpoint.
type UserResponse ¶
type UserResponse struct {
Identity *Identity `json:"identity"`
}
The Identity of a user is returned.
type VMOperationsApiService ¶
type VMOperationsApiService service
func (*VMOperationsApiService) GetComputeVMsInstancesOperation ¶
func (a *VMOperationsApiService) GetComputeVMsInstancesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
VMOperationsApiService Get the status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the instances resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param operationId
@return ListOperationsResponseV1Alpha4
func (*VMOperationsApiService) GetComputeVMsInstancesOperations ¶
func (a *VMOperationsApiService) GetComputeVMsInstancesOperations(ctx context.Context, localVarOptionals *VMOperationsApiGetComputeVMsInstancesOperationsOpts) (ListOperationsResponseV1Alpha4, *http.Response, error)
type VMsApiService ¶
type VMsApiService service
func (*VMsApiService) CreateInstance ¶
func (a *VMsApiService) CreateInstance(ctx context.Context, body InstancesPostRequestV1Alpha4) (AsyncOperationResponse, *http.Response, error)
VMsApiService Create a new VM instance owned by the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return AsyncOperationResponse
func (*VMsApiService) DeleteInstance ¶
func (a *VMsApiService) DeleteInstance(ctx context.Context, vmId string) (AsyncOperationResponse, *http.Response, error)
VMsApiService Delete a VM that the logged in user owns.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
@return AsyncOperationResponse
func (*VMsApiService) GetInstance ¶
func (a *VMsApiService) GetInstance(ctx context.Context, vmId string) (SingleInstanceGetResponseV1Alpha4, *http.Response, error)
VMsApiService Retrieve details about a particular VM.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vmId
@return SingleInstanceGetResponseV1Alpha4
func (*VMsApiService) GetInstances ¶
func (a *VMsApiService) GetInstances(ctx context.Context) (InstancesGetResponseV1Alpha4, *http.Response, error)
VMsApiService Retrieve details about all VMs that the logged in user owns or has access to.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InstancesGetResponseV1Alpha4
func (*VMsApiService) GetVMTypes ¶
func (a *VMsApiService) GetVMTypes(ctx context.Context) (TypesGetResponseV1Alpha4, *http.Response, error)
VMsApiService Retrieve information about the types of VMs that are available to purchase along with their prices.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TypesGetResponseV1Alpha4
func (*VMsApiService) UpdateInstance ¶
func (a *VMsApiService) UpdateInstance(ctx context.Context, body InstancesPatchRequestV1Alpha4, vmId string) (AsyncOperationResponse, *http.Response, error)
VMsApiService Change the state of a VM the logged in user owns.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param vmId
@return AsyncOperationResponse
func (*VMsApiService) UpdateInstanceAttachDisks ¶
func (a *VMsApiService) UpdateInstanceAttachDisks(ctx context.Context, body InstancesAttachDiskPostRequestV1Alpha4, vmId string) (AsyncOperationResponse, *http.Response, error)
VMsApiService Attach disks to a VM the logged in user owns.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param vmId
@return AsyncOperationResponse
func (*VMsApiService) UpdateInstanceDetachDisks ¶
func (a *VMsApiService) UpdateInstanceDetachDisks(ctx context.Context, body InstancesDetachDiskPostRequest, vmId string) (AsyncOperationResponse, *http.Response, error)
VMsApiService Detach disks from a VM the logged in user owns.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param vmId
@return AsyncOperationResponse
type VPCFirewallRuleOperationsApiService ¶
type VPCFirewallRuleOperationsApiService service
func (*VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperation ¶
func (a *VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperation(ctx context.Context, operationId string) (ListOperationsResponseV1Alpha4, *http.Response, error)
VPCFirewallRuleOperationsApiService Get status of a single asynchronous operation This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param operationId
@return ListOperationsResponseV1Alpha4
func (*VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperations ¶
func (a *VPCFirewallRuleOperationsApiService) GetNetworkingVPCFirewallRulesOperations(ctx context.Context, localVarOptionals *VPCFirewallRuleOperationsApiGetNetworkingVPCFirewallRulesOperationsOpts) (ListOperationsResponseV1Alpha4, *http.Response, error)
type VPCFirewallRulesApiService ¶
type VPCFirewallRulesApiService service
func (*VPCFirewallRulesApiService) CreateVPCFirewallRule ¶
func (a *VPCFirewallRulesApiService) CreateVPCFirewallRule(ctx context.Context, body VpcFirewallRulesPostRequestV1Alpha4) (AsyncOperationResponse, *http.Response, error)
VPCFirewallRulesApiService Create a new VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return AsyncOperationResponse
func (*VPCFirewallRulesApiService) DeleteVPCFirewallRule ¶
func (a *VPCFirewallRulesApiService) DeleteVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (AsyncOperationResponse, *http.Response, error)
VPCFirewallRulesApiService Delete a VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vpcFirewallRuleId
@return AsyncOperationResponse
func (*VPCFirewallRulesApiService) GetVPCFirewallRule ¶
func (a *VPCFirewallRulesApiService) GetVPCFirewallRule(ctx context.Context, vpcFirewallRuleId string) (VpcFirewallRulesGetResponseV1Alpha4, *http.Response, error)
VPCFirewallRulesApiService Retrieve details for a VPC firewall rule that belongs to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vpcFirewallRuleId
@return VpcFirewallRulesGetResponseV1Alpha4
func (*VPCFirewallRulesApiService) GetVPCFirewallRules ¶
func (a *VPCFirewallRulesApiService) GetVPCFirewallRules(ctx context.Context) (VpcFirewallRulesGetResponseV1Alpha4, *http.Response, error)
VPCFirewallRulesApiService Retrieve details about all VPC firewall rules that belong to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return VpcFirewallRulesGetResponseV1Alpha4
func (*VPCFirewallRulesApiService) PatchVPCFirewallRule ¶ added in v0.1.21
func (a *VPCFirewallRulesApiService) PatchVPCFirewallRule(ctx context.Context, body VpcFirewallRulesPatchRequest, vpcFirewallRuleId string) (AsyncOperationResponse, *http.Response, error)
VPCFirewallRulesApiService Patch (update) a VPC firewall rule owned by the logged in user. A successful response from this resource will contain the async operation.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param vpcFirewallRuleId
@return AsyncOperationResponse
type VPCNetworksApiService ¶
type VPCNetworksApiService service
func (*VPCNetworksApiService) GetVPCNetwork ¶
func (a *VPCNetworksApiService) GetVPCNetwork(ctx context.Context, vpcNetworkId string) (VpcNetworksGetResponseV1Alpha4, *http.Response, error)
VPCNetworksApiService Retrieve details for a VPC network that belongs to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vpcNetworkId
@return VpcNetworksGetResponseV1Alpha4
func (*VPCNetworksApiService) GetVPCNetworks ¶
func (a *VPCNetworksApiService) GetVPCNetworks(ctx context.Context) (VpcNetworksGetResponseV1Alpha4, *http.Response, error)
VPCNetworksApiService Retrieve details about all VPC networks that belong to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return VpcNetworksGetResponseV1Alpha4
type VPCSubnetsApiService ¶
type VPCSubnetsApiService service
func (*VPCSubnetsApiService) GetVPCSubnet ¶
func (a *VPCSubnetsApiService) GetVPCSubnet(ctx context.Context, vpcSubnetId string) (VpcSubnetsGetResponseV1Alpha4, *http.Response, error)
VPCSubnetsApiService Retrieve details for a VPC subnet that belongs to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vpcSubnetId
@return VpcSubnetsGetResponseV1Alpha4
func (*VPCSubnetsApiService) GetVPCSubnets ¶
func (a *VPCSubnetsApiService) GetVPCSubnets(ctx context.Context) (VpcSubnetsGetResponseV1Alpha4, *http.Response, error)
VPCSubnetsApiService Retrieve details about all VPC subnets that belong to the logged in user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return VpcSubnetsGetResponseV1Alpha4
type VmAttachmentV1Alpha4 ¶ added in v0.1.31
type VpcFirewallRule ¶
type VpcFirewallRule struct { Action string `json:"action"` DestinationPorts []string `json:"destination_ports"` Destinations []FirewallRuleObject `json:"destinations"` Direction string `json:"direction"` Id string `json:"id"` Name string `json:"name"` Protocols []string `json:"protocols"` SourcePorts []string `json:"source_ports"` Sources []FirewallRuleObject `json:"sources"` State string `json:"state"` VpcNetworkId string `json:"vpc_network_id"` }
type VpcFirewallRulesGetResponseV1Alpha4 ¶ added in v0.1.22
type VpcFirewallRulesGetResponseV1Alpha4 struct {
FirewallRules []VpcFirewallRule `json:"firewall_rules"`
}
type VpcFirewallRulesPatchRequest ¶ added in v0.1.21
type VpcFirewallRulesPatchRequest struct { DestinationPorts []string `json:"destination_ports,omitempty"` Destinations []FirewallRuleObject `json:"destinations,omitempty"` Name string `json:"name,omitempty"` Protocols []string `json:"protocols,omitempty"` SourcePorts []string `json:"source_ports,omitempty"` Sources []FirewallRuleObject `json:"sources,omitempty"` }
type VpcFirewallRulesPostRequestV1Alpha4 ¶ added in v0.1.22
type VpcFirewallRulesPostRequestV1Alpha4 struct { Action string `json:"action"` DestinationPorts []string `json:"destination_ports,omitempty"` Destinations []FirewallRuleObject `json:"destinations"` Direction string `json:"direction"` Name string `json:"name"` Protocols []string `json:"protocols"` RoleId string `json:"role_id"` SourcePorts []string `json:"source_ports,omitempty"` Sources []FirewallRuleObject `json:"sources"` VpcNetworkId string `json:"vpc_network_id"` }
type VpcNetwork ¶
type VpcNetworksGetResponseV1Alpha4 ¶ added in v0.1.22
type VpcNetworksGetResponseV1Alpha4 struct {
Networks []VpcNetwork `json:"networks"`
}
type VpcSubnetsGetResponseV1Alpha4 ¶ added in v0.1.22
type VpcSubnetsGetResponseV1Alpha4 struct {
Subnets []VpcSubnet `json:"subnets"`
}
Source Files ¶
- api_billing.go
- api_capacities.go
- api_disk_operations.go
- api_disks.go
- api_entities.go
- api_feature_flags.go
- api_ib_networks.go
- api_ib_partitions.go
- api_identities.go
- api_images.go
- api_locations.go
- api_prospects.go
- api_roles.go
- api_snapshot_operations.go
- api_snapshots.go
- api_ssh_keys.go
- api_tokens.go
- api_usage.go
- api_vm_operations.go
- api_vms.go
- api_vpc_firewall_rule_operations.go
- api_vpc_firewall_rules.go
- api_vpc_networks.go
- api_vpc_subnets.go
- client.go
- configuration.go
- model_async_operation_response.go
- model_attached_disk_v1_alpha4.go
- model_billing.go
- model_billing_intent_get_response.go
- model_capacity_v1_alpha4.go
- model_create_ssh_key_request.go
- model_create_ssh_key_response.go
- model_create_token_request.go
- model_disk_snapshot.go
- model_disk_snapshot_get_response_v1_alpha4.go
- model_disk_snapshot_post_request.go
- model_disk_v1_alpha4.go
- model_disks_get_response_v1_alpha4.go
- model_disks_patch_request.go
- model_disks_post_request.go
- model_entities_get_response_v1_alpha4.go
- model_entities_put_post_request.go
- model_entities_put_post_response.go
- model_entity.go
- model_error_body.go
- model_feature_flags_get_response.go
- model_fingerprints.go
- model_firewall_rule_object.go
- model_generated_token.go
- model_host_channel_adapter.go
- model_ib_network.go
- model_ib_network_capacity.go
- model_ib_partition.go
- model_ib_partitions_post_request_v1_alpha4.go
- model_identity.go
- model_identity_put_request.go
- model_image.go
- model_inline_response_400.go
- model_inline_response_401.go
- model_inline_response_403.go
- model_inline_response_404.go
- model_inline_response_500.go
- model_instance_v1_alpha4.go
- model_instances_attach_disk_post_request_v1_alpha4.go
- model_instances_detach_disk_post_request.go
- model_instances_get_response_v1_alpha4.go
- model_instances_patch_request_v1_alpha4.go
- model_instances_post_request_v1_alpha4.go
- model_ip_addresses.go
- model_list_capacities_response_v1_alpha4.go
- model_list_ib_networks_response_v1_alpha4.go
- model_list_ib_partitions_response_v1_alpha4.go
- model_list_images_response_v1_alpha4.go
- model_list_locations_response_v1_alpha4.go
- model_list_operations_response_v1_alpha4.go
- model_list_projects_response_v1_alpha4.go
- model_list_ssh_keys_response_v1_alpha4.go
- model_network_interface.go
- model_operation.go
- model_private_ipv4_address.go
- model_project.go
- model_project_usage_response.go
- model_projects_post_request.go
- model_projects_put_post_response_v1_alpha4.go
- model_projects_put_request.go
- model_prospect_post_request.go
- model_prospect_post_response.go
- model_public_ipv4_address.go
- model_single_instance_get_response_v1_alpha4.go
- model_ssh_key.go
- model_token_info.go
- model_tokens_get_response_v1_alpha4.go
- model_tokens_post_response.go
- model_type.go
- model_types_get_response_v1_alpha4.go
- model_usage_by_project_get_response.go
- model_usage_options.go
- model_user_response.go
- model_vm_attachment_v1_alpha4.go
- model_vpc_firewall_rule.go
- model_vpc_firewall_rules_get_response_v1_alpha4.go
- model_vpc_firewall_rules_patch_request.go
- model_vpc_firewall_rules_post_request_v1_alpha4.go
- model_vpc_network.go
- model_vpc_networks_get_response_v1_alpha4.go
- model_vpc_subnet.go
- model_vpc_subnets_get_response_v1_alpha4.go
- response.go