Skip to main content

AllocationCloud

update && version: will be present only if your cloud was successfully spun up && running. updated: is the last time this was updated.

Properties

NameType
schemaEmbeddedModelSchema
idstring
userstring
urlsAllocationCloudUrls
statusAllocationCloudStatus
projectstring
updatedGroupedTimestamp
versionstring
regionstring

Example

import { AllocationCloud } from '@pieces.app/pieces-os-client'

// TODO: Update the object below with actual values
const example: AllocationCloud = {
"schema": null,
"id": null,
"user": null,
"urls": null,
"status": null,
"project": null,
"updated": null,
"version": null,
"region": null,
}

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as AllocationCloud
console.log(exampleParsed)