From 6fc6c9e0b695e1f3ec6eeb617b2ba719c143e409 Mon Sep 17 00:00:00 2001 From: SaladTechnologies <415806+seniorquico@users.noreply.github.com> Date: Tue, 1 Oct 2024 05:14:42 +0000 Subject: [PATCH] liblab SDK update for version v0.9.0-alpha.5 --- .manifest.json | 24 +-- README.md | 9 +- documentation/models/Quotas.md | 1 - documentation/models/RecipesQuotas.md | 8 - .../services/ContainerGroupsService.md | 192 +++++++++--------- .../services/InferenceEndpointsService.md | 30 +-- .../services/OrganizationDataService.md | 2 +- documentation/services/QueuesService.md | 67 +++--- documentation/services/QuotasService.md | 2 +- .../services/WebhookSecretKeyService.md | 4 +- .../services/WorkloadErrorsService.md | 6 +- ...ons-{organization_name}-gpu-classes-get.md | 2 +- ...anization_name}-inference-endpoints-get.md | 6 +- ...endpoints-{inference_endpoint_name}-get.md | 4 +- ...ints-{inference_endpoint_name}-jobs-get.md | 8 +- ...nts-{inference_endpoint_name}-jobs-post.md | 4 +- ...jobs-{inference_endpoint_job_id}-delete.md | 4 +- ...e}-jobs-{inference_endpoint_job_id}-get.md | 4 +- ...-projects-{project_name}-containers-get.md | 4 +- ...projects-{project_name}-containers-post.md | 76 +++---- ...ontainers-{container_group_name}-delete.md | 6 +- ...iners-{container_group_name}-errors-get.md | 6 +- ...}-containers-{container_group_name}-get.md | 6 +- ...rs-{container_group_name}-instances-get.md | 6 +- ...ances-{container_group_instance_id}-get.md | 6 +- ...iner_group_instance_id}-reallocate-post.md | 6 +- ...tainer_group_instance_id}-recreate-post.md | 6 +- ...ntainer_group_instance_id}-restart-post.md | 6 +- ...containers-{container_group_name}-patch.md | 58 +++--- ...iners-{container_group_name}-start-post.md | 6 +- ...ainers-{container_group_name}-stop-post.md | 6 +- ...ame}-projects-{project_name}-queues-get.md | 5 +- ...me}-projects-{project_name}-queues-post.md | 12 +- ...roject_name}-queues-{queue_name}-delete.md | 6 +- ...-{project_name}-queues-{queue_name}-get.md | 6 +- ...ject_name}-queues-{queue_name}-jobs-get.md | 10 +- ...ect_name}-queues-{queue_name}-jobs-post.md | 6 +- ...{queue_name}-jobs-{queue_job_id}-delete.md | 6 +- ...es-{queue_name}-jobs-{queue_job_id}-get.md | 6 +- ...project_name}-queues-{queue_name}-patch.md | 10 +- ...izations-{organization_name}-quotas-get.md | 2 +- ...ganization_name}-webhook-secret-key-get.md | 2 +- ...anization_name}-webhook-secret-key-post.md | 2 +- examples/package.json | 2 +- examples/src/index.ts | 2 +- package-lock.json | 10 +- package.json | 2 +- src/http/error.ts | 4 +- src/http/hooks/custom-hook.ts | 2 +- .../common/container-resource-requirements.ts | 4 +- src/services/quotas/models/index.ts | 1 - src/services/quotas/models/quotas.ts | 7 - src/services/quotas/models/recipes-quotas.ts | 48 ----- 53 files changed, 325 insertions(+), 405 deletions(-) delete mode 100644 documentation/models/RecipesQuotas.md delete mode 100644 src/services/quotas/models/recipes-quotas.ts diff --git a/.manifest.json b/.manifest.json index 6b1f535..629e4c3 100644 --- a/.manifest.json +++ b/.manifest.json @@ -1,10 +1,10 @@ { - "liblabVersion": "2.4.1", - "date": "2024-09-25T03:53:32.630Z", + "liblabVersion": "2.5.0", + "date": "2024-10-01T05:14:01.395Z", "config": { - "apiId": 1172, + "apiId": 1228, "sdkName": "salad-cloud-sdk", - "sdkVersion": "0.9.0-alpha.4", + "sdkVersion": "0.9.0-alpha.5", "liblabVersion": "2", "deliveryMethods": ["zip"], "languages": ["typescript"], @@ -26,7 +26,7 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-dotnet", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "go": { @@ -34,7 +34,7 @@ "githubRepoName": "salad-cloud-sdk-go", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "java": { @@ -58,7 +58,7 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-java", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.4", + "sdkVersion": "0.9.0-alpha.5", "targetBranch": "main" }, "python": { @@ -101,7 +101,7 @@ "githubRepoName": "salad-cloud-sdk-python", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "targetBranch": "main" }, "terraform": { @@ -112,7 +112,7 @@ "providerSchemaConfig": { "authTokenKey": "api_key" }, - "providerVersion": "0.9.0-alpha.3", + "providerVersion": "0.9.0-alpha.1", "githubRepoName": "terraform-provider-salad-cloud", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", @@ -138,7 +138,7 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-javascript", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.4", + "sdkVersion": "0.9.0-alpha.5", "targetBranch": "main", "generateEnumAs": "enum" } @@ -233,7 +233,7 @@ } ], "apiName": "SaladCloud API", - "apiVersion": "0.9.0-alpha.3", + "apiVersion": "0.9.0-alpha.4", "authentication": { "apiKey": { "header": "Salad-Api-Key" @@ -420,7 +420,6 @@ "src/services/queues/models/queue-job-event.ts", "src/services/queues/models/queue-job-event-action.ts", "src/services/quotas/models/container-groups-quotas.ts", - "src/services/quotas/models/recipes-quotas.ts", "src/services/inference-endpoints/models/inference-endpoint-job-status.ts", "src/services/inference-endpoints/models/inference-endpoint-job-event.ts", "src/services/inference-endpoints/models/inference-endpoint-job-event-action.ts", @@ -539,7 +538,6 @@ "documentation/models/UpdateContainerGroupNetworking.md", "documentation/models/WorkloadError.md", "documentation/models/ContainerGroupsQuotas.md", - "documentation/models/RecipesQuotas.md", "documentation/models/GpuClass.md", "documentation/models/GpuClassPrice.md", "src/http/handlers/request-validation-handler.ts", diff --git a/README.md b/README.md index 666236d..a49ca89 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# SaladCloudSdk TypeScript SDK 0.9.0-alpha.4 +# SaladCloudSdk TypeScript SDK 0.9.0-alpha.5 Welcome to the SaladCloudSdk SDK documentation. This guide will help you get started with integrating and using the SaladCloudSdk SDK in your project. ## Versions -- API version: `0.9.0-alpha.3` -- SDK version: `0.9.0-alpha.4` +- API version: `0.9.0-alpha.4` +- SDK version: `0.9.0-alpha.5` ## About the API @@ -79,7 +79,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.quotas.getQuotas('o110sou'); + const { data } = await saladCloudSdk.quotas.getQuotas('whf3imgjjp6z8'); console.log(data); })(); @@ -163,7 +163,6 @@ The SDK includes several models that represent the data structures used in API r | [WorkloadError](documentation/models/WorkloadError.md) | Represents a workload error | | [QueueJobEvent](documentation/models/QueueJobEvent.md) | Represents an event for queue job | | [ContainerGroupsQuotas](documentation/models/ContainerGroupsQuotas.md) | | -| [RecipesQuotas](documentation/models/RecipesQuotas.md) | | | [InferenceEndpointJobEvent](documentation/models/InferenceEndpointJobEvent.md) | Represents an event for inference endpoint job | | [GpuClass](documentation/models/GpuClass.md) | Represents a GPU Class | | [GpuClassPrice](documentation/models/GpuClassPrice.md) | Represents the price of a GPU class for a given container group priority | diff --git a/documentation/models/Quotas.md b/documentation/models/Quotas.md index 67f3a37..80a5924 100644 --- a/documentation/models/Quotas.md +++ b/documentation/models/Quotas.md @@ -7,6 +7,5 @@ Represents the organization quotas | Name | Type | Required | Description | | :-------------------- | :-------------------- | :------- | :------------------------------------- | | containerGroupsQuotas | ContainerGroupsQuotas | ✅ | | -| recipesQuotas | RecipesQuotas | ✅ | | | createTime | string | ❌ | The time the resource was created | | updateTime | string | ❌ | The time the resource was last updated | diff --git a/documentation/models/RecipesQuotas.md b/documentation/models/RecipesQuotas.md deleted file mode 100644 index 5ca4a9f..0000000 --- a/documentation/models/RecipesQuotas.md +++ /dev/null @@ -1,8 +0,0 @@ -# RecipesQuotas - -**Properties** - -| Name | Type | Required | Description | -| :-------------------------- | :----- | :------- | :---------- | -| maxCreatedRecipeDeployments | number | ✅ | | -| recipeInstanceQuota | number | ✅ | | diff --git a/documentation/services/ContainerGroupsService.md b/documentation/services/ContainerGroupsService.md index 2586368..f7a81bc 100644 --- a/documentation/services/ContainerGroupsService.md +++ b/documentation/services/ContainerGroupsService.md @@ -46,8 +46,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.listContainerGroups( - 'v50imwzgi4em4q035', - 'm6yw3-xm60cb7tiev8rketqiiwjepibzf2ust1cvjx8oua8mepeueo5-1', + 'e5qcczec2y8bnwc4gs8q6aeebojnkc8rl8-7pysy62j25cdo2sjh0v34w5-1', + 't63jxnxh38ckz48-k1ecuzzv5yl-0z8ql-v1qf-186n1', ); console.log(data); @@ -96,18 +96,18 @@ import { }); const containerResourceRequirements: ContainerResourceRequirements = { - cpu: 10, - memory: 17858, + cpu: 14, + memory: 12545, gpuClasses: ['gpu_classes'], - storageAmount: 32391110488, + storageAmount: 43583020808, }; const containerGroupPriority = ContainerGroupPriority.HIGH; const loggingAxiom2: LoggingAxiom2 = { - host: 'Ut con', - apiToken: 'nostrud irure dolore', - dataset: 'mollit irure et Duis dolore', + host: 'elit labore ut veniam in', + apiToken: 'non', + dataset: 'laboris tempor mollit', }; const datadogTags2: DatadogTags2 = { @@ -116,24 +116,24 @@ import { }; const loggingDatadog2: LoggingDatadog2 = { - host: 'pariatur', - apiKey: 'non ut', + host: 'mollit', + apiKey: 'officia', tags: [datadogTags2], }; const loggingNewRelic2: LoggingNewRelic2 = { - host: 'cupidatat cillum est sit minim', - ingestionKey: 'dolore laboris fugiat Duis', + host: 'aute id eiusmod esse', + ingestionKey: 'incididunt dolor', }; const loggingSplunk2: LoggingSplunk2 = { - host: 'aliquip velit culpa', - token: 'ex', + host: 'qui', + token: 'ullamco ipsum eu elit', }; const loggingTcp2: LoggingTcp2 = { - host: 'aliqua', - port: 17249, + host: 'culpa quis aute ad aliqua', + port: 23455, }; const httpFormat2 = HttpFormat2.JSON; @@ -146,8 +146,8 @@ import { const httpCompression2 = HttpCompression2.NONE; const loggingHttp2: LoggingHttp2 = { - host: 'magna', - port: 62049, + host: 'ullamco aliquip dolor anim est', + port: 61288, user: 'user', password: 'password', path: 'path', @@ -197,7 +197,7 @@ import { }; const createContainer: CreateContainer = { - image: 'voluptate officia adipisicing', + image: 'minim occaecat deserunt', resources: containerResourceRequirements, command: ['command'], priority: containerGroupPriority, @@ -214,12 +214,12 @@ import { const createContainerGroupNetworking: CreateContainerGroupNetworking = { protocol: containerNetworkingProtocol, - port: 9813, + port: 10849, auth: true, }; const containerGroupProbeTcp: ContainerGroupProbeTcp = { - port: 23269, + port: 54514, }; const containerProbeHttpScheme = ContainerProbeHttpScheme.HTTP; @@ -231,14 +231,14 @@ import { const containerGroupProbeHttp: ContainerGroupProbeHttp = { path: 'path', - port: 61900, + port: 23676, scheme: containerProbeHttpScheme, headers: [containerGroupProbeHttpHeaders2], }; const containerGroupProbeGrpc: ContainerGroupProbeGrpc = { service: 'service', - port: 58759, + port: 29979, }; const containerGroupProbeExec: ContainerGroupProbeExec = { @@ -250,7 +250,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 5, + initialDelaySeconds: 9, periodSeconds: 10, timeoutSeconds: 30, successThreshold: 1, @@ -262,7 +262,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 6, + initialDelaySeconds: 123, periodSeconds: 1, timeoutSeconds: 1, successThreshold: 1, @@ -274,7 +274,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 4, + initialDelaySeconds: 6, periodSeconds: 3, timeoutSeconds: 10, successThreshold: 2, @@ -282,27 +282,27 @@ import { }; const containerGroupQueueConnection: ContainerGroupQueueConnection = { - path: 'ullamco magna est nulla aliqua', - port: 49952, - queueName: 'nnz26lyemw7nednorlqjlsihb42092pn8d', + path: 'fugiat deserunt eu et', + port: 54021, + queueName: 'lhjtb', }; const queueAutoscaler: QueueAutoscaler = { - minReplicas: 57, - maxReplicas: 58, - desiredQueueLength: 20, - pollingPeriod: 1406, - maxUpscalePerMinute: 35, - maxDownscalePerMinute: 42, + minReplicas: 42, + maxReplicas: 249, + desiredQueueLength: 21, + pollingPeriod: 1183, + maxUpscalePerMinute: 54, + maxDownscalePerMinute: 71, }; const createContainerGroup: CreateContainerGroup = { - name: 'qfojt-6ccoil4t55-ccoyybgw92dermtsdfn3t2xmag', - displayName: 'O0hSlJUW', + name: 'n4pmjpl-v1ax9xqfzcvrc7mgqfff4pyapsn5bpfu5tn1dw9fek4', + displayName: 'Ji', container: createContainer, autostartPolicy: true, restartPolicy: containerRestartPolicy, - replicas: 114, + replicas: 250, countryCodes: [countryCode], networking: createContainerGroupNetworking, livenessProbe: containerGroupLivenessProbe, @@ -313,8 +313,8 @@ import { }; const { data } = await saladCloudSdk.containerGroups.createContainerGroup( - 'v50imwzgi4em4q035', - 'm6yw3-xm60cb7tiev8rketqiiwjepibzf2ust1cvjx8oua8mepeueo5-1', + 'e5qcczec2y8bnwc4gs8q6aeebojnkc8rl8-7pysy62j25cdo2sjh0v34w5-1', + 't63jxnxh38ckz48-k1ecuzzv5yl-0z8ql-v1qf-186n1', input, ); @@ -352,9 +352,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.getContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', ); console.log(data); @@ -401,18 +401,18 @@ import { }); const resources: Resources = { - cpu: 11, - memory: 21424, + cpu: 8, + memory: 5273, gpuClasses: ['gpu_classes'], - storageAmount: 12333132242, + storageAmount: 37062578686, }; const containerGroupPriority = ContainerGroupPriority.HIGH; const loggingAxiom3: LoggingAxiom3 = { - host: 'commodo ea exercitation pariatur consequat', - apiToken: 'ipsum', - dataset: 'id Excepteur', + host: 'culpa tempor commodo nisi in', + apiToken: 'id', + dataset: 'sed', }; const datadogTags3: DatadogTags3 = { @@ -421,24 +421,24 @@ import { }; const loggingDatadog3: LoggingDatadog3 = { - host: 'exercitation aliquip', - apiKey: 'veniam', + host: 'mollit Duis eu in', + apiKey: 'non Lorem', tags: [datadogTags3], }; const loggingNewRelic3: LoggingNewRelic3 = { - host: 'amet velit sed cillum', - ingestionKey: 'et', + host: 'et do culpa', + ingestionKey: 'laborum incididunt cupidatat', }; const loggingSplunk3: LoggingSplunk3 = { - host: 'proident', - token: 'est', + host: 'veniam laborum sunt commodo ut', + token: 'ea', }; const loggingTcp3: LoggingTcp3 = { - host: 'ut velit ea cillum', - port: 13557, + host: 'esse cillum incididunt', + port: 41713, }; const httpFormat3 = HttpFormat3.JSON; @@ -451,8 +451,8 @@ import { const httpCompression3 = HttpCompression3.NONE; const loggingHttp3: LoggingHttp3 = { - host: 'nisi fugiat cupidatat', - port: 60288, + host: 'adipisicing nulla in', + port: 31817, user: 'user', password: 'password', path: 'path', @@ -502,7 +502,7 @@ import { }; const updateContainer: UpdateContainer = { - image: 'ex cillum dolor', + image: 'aliquip magna Lorem nostrud ex', resources: resources, command: ['command'], priority: containerGroupPriority, @@ -514,11 +514,11 @@ import { const countryCode = CountryCode.AF; const updateContainerGroupNetworking: UpdateContainerGroupNetworking = { - port: 64823, + port: 43599, }; const containerGroupProbeTcp: ContainerGroupProbeTcp = { - port: 23269, + port: 54514, }; const containerProbeHttpScheme = ContainerProbeHttpScheme.HTTP; @@ -530,14 +530,14 @@ import { const containerGroupProbeHttp: ContainerGroupProbeHttp = { path: 'path', - port: 61900, + port: 23676, scheme: containerProbeHttpScheme, headers: [containerGroupProbeHttpHeaders2], }; const containerGroupProbeGrpc: ContainerGroupProbeGrpc = { service: 'service', - port: 58759, + port: 29979, }; const containerGroupProbeExec: ContainerGroupProbeExec = { @@ -549,7 +549,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 5, + initialDelaySeconds: 9, periodSeconds: 10, timeoutSeconds: 30, successThreshold: 1, @@ -561,7 +561,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 6, + initialDelaySeconds: 123, periodSeconds: 1, timeoutSeconds: 1, successThreshold: 1, @@ -573,7 +573,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 4, + initialDelaySeconds: 6, periodSeconds: 3, timeoutSeconds: 10, successThreshold: 2, @@ -581,9 +581,9 @@ import { }; const updateContainerGroup: UpdateContainerGroup = { - displayName: '-xzxtaW.t2I', + displayName: '8tFedWzDhyM', container: updateContainer, - replicas: 110, + replicas: 32, countryCodes: [countryCode], networking: updateContainerGroupNetworking, livenessProbe: containerGroupLivenessProbe, @@ -592,9 +592,9 @@ import { }; const { data } = await saladCloudSdk.containerGroups.updateContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', input, ); @@ -628,9 +628,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.deleteContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', ); console.log(data); @@ -663,9 +663,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.startContainerGroup( - 'zfx07sgyz1fs97sfhtue78-54vdogp2qrcnt-8a', - 'v7jhy3jn2rdf012fi7ouno3mk9', - 'a4d0ajj5ajjquzeg-z3kvqxtnoxnlzhjhjt-8naw', + 'ppw00apvowm2uk3ia7vi9jlaex78t719g', + 'gf-7ed', + 'jmguhpzfluex6-1ksn8mw9', ); console.log(data); @@ -698,9 +698,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.stopContainerGroup( - 'c0o0gqev-mnkpy8af-s7rq68p2lenu8izbg09xnu6-fkv4dta4yd', - 'rpi16e4ddle58fi8u9w2qgnsgj7cnci4p90a72aagy0f001ws1rwna83a3asuz', - 'fd6ugn07m5xpcp89lefemdke05z4s9eg1d2caksvlhpzm', + 'akn0y-5uryou3umpp3jva-wgcda23a08440n-ew1-q', + 'im', + 'd9iq2qrkhhpqc1ii57w5xgt26suu70u1qechp', ); console.log(data); @@ -737,9 +737,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.listContainerGroupInstances( - 'dcbh1', - 'pdcapp3enb9gd2f4k49vviu53s67ckwwnxsd-gfjsmuxcljdg4t1zzyoj', - 'vl2kuh4c67m3ae7qwlwipkdye-ad', + 'x9apf4t0-uai3sdl150pq-zx5u-9-j', + 'bz4mp1vscg2wjxeuemfxcv-ue7tm-bp-8n1hvh8fnv7mx285iuup332rpaf', + 'shaiuchf2q8kkg3dsgwkty0ap7uq2b1ex4akekgljza8i9375vs22d352n', ); console.log(data); @@ -777,9 +777,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.getContainerGroupInstance( - 'b0up7kyr7vabeivb96iwcvlvvm1n', - 'ngljb', - 'xtp82b9jzwqov1insghigvfq0donadhrrdqx-2redu46g7e', + 'bsf7v', + 'ulau11f5g2zdmdpxhrfzhv7x3dhck87lv8-z-v', + 'efzk8ea2roe6yryt0-t1885dp762ut0igkfak4jbmum3tb50ov', 'container_group_instance_id', ); @@ -814,9 +814,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.reallocateContainerGroupInstance( - 'xk27gbnpmwk5xor49bk4ujk7', - 'cy1l6xj-5vzihwp4ho850l3faynnuq71ru6y', - 'mgza-e8llajq25o36x8b-38phh', + 'cq7z43vbdm-ym2fjvtwvm3kubeomi0c157pyuvzjd-oj09gh', + 'rxoh7290af1yiwyo8xtgc4vo', + 'wsr245-lzbbnxajonfxep9ngo2h6p4ol', 'container_group_instance_id', ); @@ -851,9 +851,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.recreateContainerGroupInstance( - 'pkfh3rhnvt4x30k5t', - 'o7r3q30xz', - 'aq7hd1fjfxgtq8uehil3eplo', + 'dqryzs0nwtgem9', + 's1kzoxeehf59gi91ttsn9ueh4r0udym74yor3eg40ckc', + 'r227v3cr3', 'container_group_instance_id', ); @@ -888,9 +888,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.restartContainerGroupInstance( - 'kd79h7bg0vpngqc8hz5pxjwi7muqnmuuqsx3q3zm2hxkci5yv6kho', - 'u5ljgqmbs6a7s', - 'qmq3nj6oy8b2wpzbidnelidy9s6k9w', + 'x2hb606akllhe-z9w578p05ni', + 'czv80xtiift-dhcux3behoqegicbjgytvavm7ngiki6uxl76eoewg5dgz5g', + 'f3mzshp', 'container_group_instance_id', ); diff --git a/documentation/services/InferenceEndpointsService.md b/documentation/services/InferenceEndpointsService.md index 28e6db2..a8b2820 100644 --- a/documentation/services/InferenceEndpointsService.md +++ b/documentation/services/InferenceEndpointsService.md @@ -41,10 +41,10 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.listInferenceEndpoints( - 'wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm', + 'i5u5k7xmi1ci3kyzzon0m2iedxbj3f1dok1g0m6v2k19i504j7b03k36na', { - page: 756148233, - pageSize: 66, + page: 667517848, + pageSize: 57, }, ); @@ -81,8 +81,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpoint( - 'uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8', - 'aute Ut reprehenderit occaecat sed', + 'n105g5q9gikagcvo7dpwux-krg92vnpjufzlqmuslyrcl8dptvbpd', + 'fugi', ); console.log(data); @@ -120,11 +120,11 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpointJobs( - 'trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00', - 'ut officia ut', + 'zsmxeaksea26my28jd3tcl', + 'laboris ullamco cillum', { - page: 1653138765, - pageSize: 76, + page: 862733444, + pageSize: 21, }, ); @@ -168,8 +168,8 @@ import { CreateInferenceEndpointJob, SaladCloudSdk } from '@saladtechnologies-os }; const { data } = await saladCloudSdk.inferenceEndpoints.createInferenceEndpointJob( - 'trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00', - 'ut officia ut', + 'zsmxeaksea26my28jd3tcl', + 'laboris ullamco cillum', input, ); @@ -207,8 +207,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpointJob( - 'b7tj9', - 'sed eu labore', + 'nh-xfk5b5evdjkgcjj9-97upvvnm6un-9x5riyyqnyl5q38', + 'elit te', 'inference_endpoint_job_id', ); @@ -242,8 +242,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.deleteInferenceEndpointJob( - 'b7tj9', - 'sed eu labore', + 'nh-xfk5b5evdjkgcjj9-97upvvnm6un-9x5riyyqnyl5q38', + 'elit te', 'inference_endpoint_job_id', ); diff --git a/documentation/services/OrganizationDataService.md b/documentation/services/OrganizationDataService.md index a43b4d1..dbc47fe 100644 --- a/documentation/services/OrganizationDataService.md +++ b/documentation/services/OrganizationDataService.md @@ -33,7 +33,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.organizationData.listGpuClasses('ksb7ikadj659qttkrqdm5b9xdre4met9iop'); + const { data } = await saladCloudSdk.organizationData.listGpuClasses('v6ar0hao97kx'); console.log(data); })(); diff --git a/documentation/services/QueuesService.md b/documentation/services/QueuesService.md index aa1701c..1b13905 100644 --- a/documentation/services/QueuesService.md +++ b/documentation/services/QueuesService.md @@ -42,10 +42,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.queues.listQueues( - 'rtxaydgbmb5wprcvb9628akhug9lnd3c0', - 'p4bdb9jsi-f1xex70mdgjf5n-5ua-e28xyu9ujbls0vsz6xilo12xl52y9c177', - ); + const { data } = await saladCloudSdk.queues.listQueues('v2321xyb8mgby4oaz0nnednrzwspo5e', 'uqcz1p0g5ye7j57a'); console.log(data); })(); @@ -81,16 +78,12 @@ import { CreateQueue, SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-s }); const createQueue: CreateQueue = { - name: 'wcaz2jbu5pfmpygxffsf4bh4e6', - displayName: 'Ef', - description: 'aute Ut nostrud veniam sint', + name: 'qezkr2369ic05v6gnnllg6fhb-84kitkca0jy309-oh27ro0i5p95v4le', + displayName: 'IR', + description: 'consequat nulla magna minim ad', }; - const { data } = await saladCloudSdk.queues.createQueue( - 'rtxaydgbmb5wprcvb9628akhug9lnd3c0', - 'p4bdb9jsi-f1xex70mdgjf5n-5ua-e28xyu9ujbls0vsz6xilo12xl52y9c177', - input, - ); + const { data } = await saladCloudSdk.queues.createQueue('v2321xyb8mgby4oaz0nnednrzwspo5e', 'uqcz1p0g5ye7j57a', input); console.log(data); })(); @@ -126,9 +119,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.getQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', ); console.log(data); @@ -166,14 +159,14 @@ import { SaladCloudSdk, UpdateQueue } from '@saladtechnologies-oss/salad-cloud-s }); const updateQueue: UpdateQueue = { - displayName: 'TLURNvvFGXm', - description: 'aliqua et sit anim esse', + displayName: 'wfoWE', + description: 'aliqua in sit', }; const { data } = await saladCloudSdk.queues.updateQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', input, ); @@ -207,9 +200,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.deleteQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', ); console.log(data); @@ -248,12 +241,12 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.listQueueJobs( - 'jb7eyumc25lm4prwopvwr-1961g-m85nbqda3ufs', - 'sn780t45z2tw4xt1b86w0clx6vkq-3', - 'sx811v32aty9s-ghx1hm2nw1mhgooidhvnhwadaqzuh19krhv62or5c', + 'caw0rzpy61pt90mpd37q4adxw-cgodal6rzqd6z1mw1si55p9gl6eb4zgl', + 'd6wezcp8h3lm398az1xa5dcxhbrhwkxlx3lw0pdkr3o5', + 'jknzh2tjfasx0nsa3dsbwz4m6an9wbi5', { - page: 2110014563, - pageSize: 23, + page: 1762690379, + pageSize: 100, }, ); @@ -298,9 +291,9 @@ import { CreateQueueJob, SaladCloudSdk } from '@saladtechnologies-oss/salad-clou }; const { data } = await saladCloudSdk.queues.createQueueJob( - 'jb7eyumc25lm4prwopvwr-1961g-m85nbqda3ufs', - 'sn780t45z2tw4xt1b86w0clx6vkq-3', - 'sx811v32aty9s-ghx1hm2nw1mhgooidhvnhwadaqzuh19krhv62or5c', + 'caw0rzpy61pt90mpd37q4adxw-cgodal6rzqd6z1mw1si55p9gl6eb4zgl', + 'd6wezcp8h3lm398az1xa5dcxhbrhwkxlx3lw0pdkr3o5', + 'jknzh2tjfasx0nsa3dsbwz4m6an9wbi5', input, ); @@ -339,9 +332,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.getQueueJob( - 'j-8sae7t0u7o0emyztq64o8ut710qtepjztx34mk6lruecseiyq06ab3ok5xr', - 'eokxas9m7y892q4m5rifzmevenpg1vot8xgbal184sloim-c7555huym18dia9d', - 'zbvvpn2qgtohp', + 'qfyxrcpjzz', + 'u68mnowwsycakrj2ndjibysiw6', + 'qw8v11op7e4dq1ckmwu5v289qp5d1ln00phm2', 'queue_job_id', ); @@ -376,9 +369,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.deleteQueueJob( - 'j-8sae7t0u7o0emyztq64o8ut710qtepjztx34mk6lruecseiyq06ab3ok5xr', - 'eokxas9m7y892q4m5rifzmevenpg1vot8xgbal184sloim-c7555huym18dia9d', - 'zbvvpn2qgtohp', + 'qfyxrcpjzz', + 'u68mnowwsycakrj2ndjibysiw6', + 'qw8v11op7e4dq1ckmwu5v289qp5d1ln00phm2', 'queue_job_id', ); diff --git a/documentation/services/QuotasService.md b/documentation/services/QuotasService.md index 0120e26..ccc817d 100644 --- a/documentation/services/QuotasService.md +++ b/documentation/services/QuotasService.md @@ -33,7 +33,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.quotas.getQuotas('o110sou'); + const { data } = await saladCloudSdk.quotas.getQuotas('whf3imgjjp6z8'); console.log(data); })(); diff --git a/documentation/services/WebhookSecretKeyService.md b/documentation/services/WebhookSecretKeyService.md index 21ff365..3bcb551 100644 --- a/documentation/services/WebhookSecretKeyService.md +++ b/documentation/services/WebhookSecretKeyService.md @@ -35,7 +35,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.webhookSecretKey.getWebhookSecretKey( - 'dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp', + 'sqxjgqhc7gu8nezs4j9l1xu8ic3cjd45207kimcabvi76n8', ); console.log(data); @@ -70,7 +70,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.webhookSecretKey.updateWebhookSecretKey( - 'dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp', + 'sqxjgqhc7gu8nezs4j9l1xu8ic3cjd45207kimcabvi76n8', ); console.log(data); diff --git a/documentation/services/WorkloadErrorsService.md b/documentation/services/WorkloadErrorsService.md index 861a7a5..494cebd 100644 --- a/documentation/services/WorkloadErrorsService.md +++ b/documentation/services/WorkloadErrorsService.md @@ -36,9 +36,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.workloadErrors.getWorkloadErrors( - 'u9szw31h4fee237cnffybnugpd7nbngs47jne2vq5j0d2m4f20', - 'c5ozb1-4j-you0d7uftlpfgcaqa-2oc58y844m0ne', - 'khlkkgda39h5upyur493wxwbxrj4x', + 'mpqq7xwg32lxlhjn2dh8g4ria4k5sfrzd-3pdeog4', + 'r4egwx3g9mbcmuyxmxxkxqv-nsi3p0ihren6', + 'h3cozmla70brzt', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md b/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md index 8ec72a0..5dff418 100644 --- a/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md +++ b/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md @@ -6,7 +6,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.organizationData.listGpuClasses('ksb7ikadj659qttkrqdm5b9xdre4met9iop'); + const { data } = await saladCloudSdk.organizationData.listGpuClasses('v6ar0hao97kx'); console.log(data); })(); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md index 603ea8e..d49685b 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md @@ -7,10 +7,10 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.listInferenceEndpoints( - 'wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm', + 'i5u5k7xmi1ci3kyzzon0m2iedxbj3f1dok1g0m6v2k19i504j7b03k36na', { - page: 756148233, - pageSize: 66, + page: 667517848, + pageSize: 57, }, ); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-get.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-get.md index d8fd10f..1d19377 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-get.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-get.md @@ -7,8 +7,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpoint( - 'uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8', - 'aute Ut reprehenderit occaecat sed', + 'n105g5q9gikagcvo7dpwux-krg92vnpjufzlqmuslyrcl8dptvbpd', + 'fugi', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-get.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-get.md index 936033b..f7bc217 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-get.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-get.md @@ -7,11 +7,11 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpointJobs( - 'trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00', - 'ut officia ut', + 'zsmxeaksea26my28jd3tcl', + 'laboris ullamco cillum', { - page: 1653138765, - pageSize: 76, + page: 862733444, + pageSize: 21, }, ); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-post.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-post.md index 47360aa..70a67d3 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-post.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-post.md @@ -13,8 +13,8 @@ import { CreateInferenceEndpointJob, SaladCloudSdk } from '@saladtechnologies-os }; const { data } = await saladCloudSdk.inferenceEndpoints.createInferenceEndpointJob( - 'trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00', - 'ut officia ut', + 'zsmxeaksea26my28jd3tcl', + 'laboris ullamco cillum', input, ); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-delete.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-delete.md index b6e4295..c4182b0 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-delete.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-delete.md @@ -7,8 +7,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.deleteInferenceEndpointJob( - 'b7tj9', - 'sed eu labore', + 'nh-xfk5b5evdjkgcjj9-97upvvnm6un-9x5riyyqnyl5q38', + 'elit te', 'inference_endpoint_job_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-get.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-get.md index 9271b84..6ccf07f 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-get.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-{inference_endpoint_name}-jobs-{inference_endpoint_job_id}-get.md @@ -7,8 +7,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.inferenceEndpoints.getInferenceEndpointJob( - 'b7tj9', - 'sed eu labore', + 'nh-xfk5b5evdjkgcjj9-97upvvnm6un-9x5riyyqnyl5q38', + 'elit te', 'inference_endpoint_job_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-get.md index ab6bf5f..f7829c6 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-get.md @@ -7,8 +7,8 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.listContainerGroups( - 'v50imwzgi4em4q035', - 'm6yw3-xm60cb7tiev8rketqiiwjepibzf2ust1cvjx8oua8mepeueo5-1', + 'e5qcczec2y8bnwc4gs8q6aeebojnkc8rl8-7pysy62j25cdo2sjh0v34w5-1', + 't63jxnxh38ckz48-k1ecuzzv5yl-0z8ql-v1qf-186n1', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-post.md index 3809bec..81d381b 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-post.md @@ -19,18 +19,18 @@ import { }); const containerResourceRequirements: ContainerResourceRequirements = { - cpu: 10, - memory: 17858, + cpu: 14, + memory: 12545, gpuClasses: ['gpu_classes'], - storageAmount: 32391110488, + storageAmount: 43583020808, }; const containerGroupPriority = ContainerGroupPriority.HIGH; const loggingAxiom2: LoggingAxiom2 = { - host: 'Ut con', - apiToken: 'nostrud irure dolore', - dataset: 'mollit irure et Duis dolore', + host: 'elit labore ut veniam in', + apiToken: 'non', + dataset: 'laboris tempor mollit', }; const datadogTags2: DatadogTags2 = { @@ -39,24 +39,24 @@ import { }; const loggingDatadog2: LoggingDatadog2 = { - host: 'pariatur', - apiKey: 'non ut', + host: 'mollit', + apiKey: 'officia', tags: [datadogTags2], }; const loggingNewRelic2: LoggingNewRelic2 = { - host: 'cupidatat cillum est sit minim', - ingestionKey: 'dolore laboris fugiat Duis', + host: 'aute id eiusmod esse', + ingestionKey: 'incididunt dolor', }; const loggingSplunk2: LoggingSplunk2 = { - host: 'aliquip velit culpa', - token: 'ex', + host: 'qui', + token: 'ullamco ipsum eu elit', }; const loggingTcp2: LoggingTcp2 = { - host: 'aliqua', - port: 17249, + host: 'culpa quis aute ad aliqua', + port: 23455, }; const httpFormat2 = HttpFormat2.JSON; @@ -69,8 +69,8 @@ import { const httpCompression2 = HttpCompression2.NONE; const loggingHttp2: LoggingHttp2 = { - host: 'magna', - port: 62049, + host: 'ullamco aliquip dolor anim est', + port: 61288, user: 'user', password: 'password', path: 'path', @@ -120,7 +120,7 @@ import { }; const createContainer: CreateContainer = { - image: 'voluptate officia adipisicing', + image: 'minim occaecat deserunt', resources: containerResourceRequirements, command: ['command'], priority: containerGroupPriority, @@ -137,12 +137,12 @@ import { const createContainerGroupNetworking: CreateContainerGroupNetworking = { protocol: containerNetworkingProtocol, - port: 9813, + port: 10849, auth: true, }; const containerGroupProbeTcp: ContainerGroupProbeTcp = { - port: 23269, + port: 54514, }; const containerProbeHttpScheme = ContainerProbeHttpScheme.HTTP; @@ -154,14 +154,14 @@ import { const containerGroupProbeHttp: ContainerGroupProbeHttp = { path: 'path', - port: 61900, + port: 23676, scheme: containerProbeHttpScheme, headers: [containerGroupProbeHttpHeaders2], }; const containerGroupProbeGrpc: ContainerGroupProbeGrpc = { service: 'service', - port: 58759, + port: 29979, }; const containerGroupProbeExec: ContainerGroupProbeExec = { @@ -173,7 +173,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 5, + initialDelaySeconds: 9, periodSeconds: 10, timeoutSeconds: 30, successThreshold: 1, @@ -185,7 +185,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 6, + initialDelaySeconds: 123, periodSeconds: 1, timeoutSeconds: 1, successThreshold: 1, @@ -197,7 +197,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 4, + initialDelaySeconds: 6, periodSeconds: 3, timeoutSeconds: 10, successThreshold: 2, @@ -205,27 +205,27 @@ import { }; const containerGroupQueueConnection: ContainerGroupQueueConnection = { - path: 'ullamco magna est nulla aliqua', - port: 49952, - queueName: 'nnz26lyemw7nednorlqjlsihb42092pn8d', + path: 'fugiat deserunt eu et', + port: 54021, + queueName: 'lhjtb', }; const queueAutoscaler: QueueAutoscaler = { - minReplicas: 57, - maxReplicas: 58, - desiredQueueLength: 20, - pollingPeriod: 1406, - maxUpscalePerMinute: 35, - maxDownscalePerMinute: 42, + minReplicas: 42, + maxReplicas: 249, + desiredQueueLength: 21, + pollingPeriod: 1183, + maxUpscalePerMinute: 54, + maxDownscalePerMinute: 71, }; const createContainerGroup: CreateContainerGroup = { - name: 'qfojt-6ccoil4t55-ccoyybgw92dermtsdfn3t2xmag', - displayName: 'O0hSlJUW', + name: 'n4pmjpl-v1ax9xqfzcvrc7mgqfff4pyapsn5bpfu5tn1dw9fek4', + displayName: 'Ji', container: createContainer, autostartPolicy: true, restartPolicy: containerRestartPolicy, - replicas: 114, + replicas: 250, countryCodes: [countryCode], networking: createContainerGroupNetworking, livenessProbe: containerGroupLivenessProbe, @@ -236,8 +236,8 @@ import { }; const { data } = await saladCloudSdk.containerGroups.createContainerGroup( - 'v50imwzgi4em4q035', - 'm6yw3-xm60cb7tiev8rketqiiwjepibzf2ust1cvjx8oua8mepeueo5-1', + 'e5qcczec2y8bnwc4gs8q6aeebojnkc8rl8-7pysy62j25cdo2sjh0v34w5-1', + 't63jxnxh38ckz48-k1ecuzzv5yl-0z8ql-v1qf-186n1', input, ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-delete.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-delete.md index 3b6a344..32eb6b4 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-delete.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-delete.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.deleteContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-errors-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-errors-get.md index ff92ce3..36d80b9 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-errors-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-errors-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.workloadErrors.getWorkloadErrors( - 'u9szw31h4fee237cnffybnugpd7nbngs47jne2vq5j0d2m4f20', - 'c5ozb1-4j-you0d7uftlpfgcaqa-2oc58y844m0ne', - 'khlkkgda39h5upyur493wxwbxrj4x', + 'mpqq7xwg32lxlhjn2dh8g4ria4k5sfrzd-3pdeog4', + 'r4egwx3g9mbcmuyxmxxkxqv-nsi3p0ihren6', + 'h3cozmla70brzt', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-get.md index 9d620ab..f8c6129 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.getContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-get.md index 95157de..ff9bc4b 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.listContainerGroupInstances( - 'dcbh1', - 'pdcapp3enb9gd2f4k49vviu53s67ckwwnxsd-gfjsmuxcljdg4t1zzyoj', - 'vl2kuh4c67m3ae7qwlwipkdye-ad', + 'x9apf4t0-uai3sdl150pq-zx5u-9-j', + 'bz4mp1vscg2wjxeuemfxcv-ue7tm-bp-8n1hvh8fnv7mx285iuup332rpaf', + 'shaiuchf2q8kkg3dsgwkty0ap7uq2b1ex4akekgljza8i9375vs22d352n', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-get.md index 1970841..ffcdf89 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.getContainerGroupInstance( - 'b0up7kyr7vabeivb96iwcvlvvm1n', - 'ngljb', - 'xtp82b9jzwqov1insghigvfq0donadhrrdqx-2redu46g7e', + 'bsf7v', + 'ulau11f5g2zdmdpxhrfzhv7x3dhck87lv8-z-v', + 'efzk8ea2roe6yryt0-t1885dp762ut0igkfak4jbmum3tb50ov', 'container_group_instance_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-reallocate-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-reallocate-post.md index 766bb59..9827627 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-reallocate-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-reallocate-post.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.reallocateContainerGroupInstance( - 'xk27gbnpmwk5xor49bk4ujk7', - 'cy1l6xj-5vzihwp4ho850l3faynnuq71ru6y', - 'mgza-e8llajq25o36x8b-38phh', + 'cq7z43vbdm-ym2fjvtwvm3kubeomi0c157pyuvzjd-oj09gh', + 'rxoh7290af1yiwyo8xtgc4vo', + 'wsr245-lzbbnxajonfxep9ngo2h6p4ol', 'container_group_instance_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-recreate-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-recreate-post.md index 17d141a..177cbcd 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-recreate-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-recreate-post.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.recreateContainerGroupInstance( - 'pkfh3rhnvt4x30k5t', - 'o7r3q30xz', - 'aq7hd1fjfxgtq8uehil3eplo', + 'dqryzs0nwtgem9', + 's1kzoxeehf59gi91ttsn9ueh4r0udym74yor3eg40ckc', + 'r227v3cr3', 'container_group_instance_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-restart-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-restart-post.md index 9b6121e..715f714 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-restart-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-instances-{container_group_instance_id}-restart-post.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.restartContainerGroupInstance( - 'kd79h7bg0vpngqc8hz5pxjwi7muqnmuuqsx3q3zm2hxkci5yv6kho', - 'u5ljgqmbs6a7s', - 'qmq3nj6oy8b2wpzbidnelidy9s6k9w', + 'x2hb606akllhe-z9w578p05ni', + 'czv80xtiift-dhcux3behoqegicbjgytvavm7ngiki6uxl76eoewg5dgz5g', + 'f3mzshp', 'container_group_instance_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-patch.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-patch.md index 9dbbe2d..4d32498 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-patch.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-patch.md @@ -16,18 +16,18 @@ import { }); const resources: Resources = { - cpu: 11, - memory: 21424, + cpu: 8, + memory: 5273, gpuClasses: ['gpu_classes'], - storageAmount: 12333132242, + storageAmount: 37062578686, }; const containerGroupPriority = ContainerGroupPriority.HIGH; const loggingAxiom3: LoggingAxiom3 = { - host: 'commodo ea exercitation pariatur consequat', - apiToken: 'ipsum', - dataset: 'id Excepteur', + host: 'culpa tempor commodo nisi in', + apiToken: 'id', + dataset: 'sed', }; const datadogTags3: DatadogTags3 = { @@ -36,24 +36,24 @@ import { }; const loggingDatadog3: LoggingDatadog3 = { - host: 'exercitation aliquip', - apiKey: 'veniam', + host: 'mollit Duis eu in', + apiKey: 'non Lorem', tags: [datadogTags3], }; const loggingNewRelic3: LoggingNewRelic3 = { - host: 'amet velit sed cillum', - ingestionKey: 'et', + host: 'et do culpa', + ingestionKey: 'laborum incididunt cupidatat', }; const loggingSplunk3: LoggingSplunk3 = { - host: 'proident', - token: 'est', + host: 'veniam laborum sunt commodo ut', + token: 'ea', }; const loggingTcp3: LoggingTcp3 = { - host: 'ut velit ea cillum', - port: 13557, + host: 'esse cillum incididunt', + port: 41713, }; const httpFormat3 = HttpFormat3.JSON; @@ -66,8 +66,8 @@ import { const httpCompression3 = HttpCompression3.NONE; const loggingHttp3: LoggingHttp3 = { - host: 'nisi fugiat cupidatat', - port: 60288, + host: 'adipisicing nulla in', + port: 31817, user: 'user', password: 'password', path: 'path', @@ -117,7 +117,7 @@ import { }; const updateContainer: UpdateContainer = { - image: 'ex cillum dolor', + image: 'aliquip magna Lorem nostrud ex', resources: resources, command: ['command'], priority: containerGroupPriority, @@ -129,11 +129,11 @@ import { const countryCode = CountryCode.AF; const updateContainerGroupNetworking: UpdateContainerGroupNetworking = { - port: 64823, + port: 43599, }; const containerGroupProbeTcp: ContainerGroupProbeTcp = { - port: 23269, + port: 54514, }; const containerProbeHttpScheme = ContainerProbeHttpScheme.HTTP; @@ -145,14 +145,14 @@ import { const containerGroupProbeHttp: ContainerGroupProbeHttp = { path: 'path', - port: 61900, + port: 23676, scheme: containerProbeHttpScheme, headers: [containerGroupProbeHttpHeaders2], }; const containerGroupProbeGrpc: ContainerGroupProbeGrpc = { service: 'service', - port: 58759, + port: 29979, }; const containerGroupProbeExec: ContainerGroupProbeExec = { @@ -164,7 +164,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 5, + initialDelaySeconds: 9, periodSeconds: 10, timeoutSeconds: 30, successThreshold: 1, @@ -176,7 +176,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 6, + initialDelaySeconds: 123, periodSeconds: 1, timeoutSeconds: 1, successThreshold: 1, @@ -188,7 +188,7 @@ import { http: containerGroupProbeHttp, grpc: containerGroupProbeGrpc, exec: containerGroupProbeExec, - initialDelaySeconds: 4, + initialDelaySeconds: 6, periodSeconds: 3, timeoutSeconds: 10, successThreshold: 2, @@ -196,9 +196,9 @@ import { }; const updateContainerGroup: UpdateContainerGroup = { - displayName: '-xzxtaW.t2I', + displayName: '8tFedWzDhyM', container: updateContainer, - replicas: 110, + replicas: 32, countryCodes: [countryCode], networking: updateContainerGroupNetworking, livenessProbe: containerGroupLivenessProbe, @@ -207,9 +207,9 @@ import { }; const { data } = await saladCloudSdk.containerGroups.updateContainerGroup( - 'gq7z7dvdopv2czgde1zrufxgiv5tp-kncd4gfzda9ik-lw', - 'xd-if9b1yvozs9trd4v0bll7qwslfehyhnfadnjp2w52gwrmz', - 'ojjj5b9hbe2fr6f5t7j1htjaws1zx3r', + 'ph8bjget2tyh4q9ni9h81tilnlnf4', + 'fr38a8vv5h4lnt5rb91fzs3spaw4grzs1ulr8elj96ymws1tye1i8h22kawxrq', + 'xstvu-n3wkzvsf8j09617fgmalxezwfpc5tx4o5964ih0i5w146fxc3k0i', input, ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-start-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-start-post.md index 23fb20b..2da0c74 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-start-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-start-post.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.startContainerGroup( - 'zfx07sgyz1fs97sfhtue78-54vdogp2qrcnt-8a', - 'v7jhy3jn2rdf012fi7ouno3mk9', - 'a4d0ajj5ajjquzeg-z3kvqxtnoxnlzhjhjt-8naw', + 'ppw00apvowm2uk3ia7vi9jlaex78t719g', + 'gf-7ed', + 'jmguhpzfluex6-1ksn8mw9', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-stop-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-stop-post.md index 022435e..61940d1 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-stop-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-containers-{container_group_name}-stop-post.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.containerGroups.stopContainerGroup( - 'c0o0gqev-mnkpy8af-s7rq68p2lenu8izbg09xnu6-fkv4dta4yd', - 'rpi16e4ddle58fi8u9w2qgnsgj7cnci4p90a72aagy0f001ws1rwna83a3asuz', - 'fd6ugn07m5xpcp89lefemdke05z4s9eg1d2caksvlhpzm', + 'akn0y-5uryou3umpp3jva-wgcda23a08440n-ew1-q', + 'im', + 'd9iq2qrkhhpqc1ii57w5xgt26suu70u1qechp', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-get.md index 62e9961..374f859 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-get.md @@ -6,10 +6,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.queues.listQueues( - 'rtxaydgbmb5wprcvb9628akhug9lnd3c0', - 'p4bdb9jsi-f1xex70mdgjf5n-5ua-e28xyu9ujbls0vsz6xilo12xl52y9c177', - ); + const { data } = await saladCloudSdk.queues.listQueues('v2321xyb8mgby4oaz0nnednrzwspo5e', 'uqcz1p0g5ye7j57a'); console.log(data); })(); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-post.md index 9d545da..e453e25 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-post.md @@ -7,16 +7,12 @@ import { CreateQueue, SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-s }); const createQueue: CreateQueue = { - name: 'wcaz2jbu5pfmpygxffsf4bh4e6', - displayName: 'Ef', - description: 'aute Ut nostrud veniam sint', + name: 'qezkr2369ic05v6gnnllg6fhb-84kitkca0jy309-oh27ro0i5p95v4le', + displayName: 'IR', + description: 'consequat nulla magna minim ad', }; - const { data } = await saladCloudSdk.queues.createQueue( - 'rtxaydgbmb5wprcvb9628akhug9lnd3c0', - 'p4bdb9jsi-f1xex70mdgjf5n-5ua-e28xyu9ujbls0vsz6xilo12xl52y9c177', - input, - ); + const { data } = await saladCloudSdk.queues.createQueue('v2321xyb8mgby4oaz0nnednrzwspo5e', 'uqcz1p0g5ye7j57a', input); console.log(data); })(); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-delete.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-delete.md index c213a0c..e74d896 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-delete.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-delete.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.deleteQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-get.md index c4862d8..0e4a4a8 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.getQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-get.md index bb27cca..3c25ba6 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-get.md @@ -7,12 +7,12 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.listQueueJobs( - 'jb7eyumc25lm4prwopvwr-1961g-m85nbqda3ufs', - 'sn780t45z2tw4xt1b86w0clx6vkq-3', - 'sx811v32aty9s-ghx1hm2nw1mhgooidhvnhwadaqzuh19krhv62or5c', + 'caw0rzpy61pt90mpd37q4adxw-cgodal6rzqd6z1mw1si55p9gl6eb4zgl', + 'd6wezcp8h3lm398az1xa5dcxhbrhwkxlx3lw0pdkr3o5', + 'jknzh2tjfasx0nsa3dsbwz4m6an9wbi5', { - page: 2110014563, - pageSize: 23, + page: 1762690379, + pageSize: 100, }, ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-post.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-post.md index 63eaf6f..52887a8 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-post.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-post.md @@ -13,9 +13,9 @@ import { CreateQueueJob, SaladCloudSdk } from '@saladtechnologies-oss/salad-clou }; const { data } = await saladCloudSdk.queues.createQueueJob( - 'jb7eyumc25lm4prwopvwr-1961g-m85nbqda3ufs', - 'sn780t45z2tw4xt1b86w0clx6vkq-3', - 'sx811v32aty9s-ghx1hm2nw1mhgooidhvnhwadaqzuh19krhv62or5c', + 'caw0rzpy61pt90mpd37q4adxw-cgodal6rzqd6z1mw1si55p9gl6eb4zgl', + 'd6wezcp8h3lm398az1xa5dcxhbrhwkxlx3lw0pdkr3o5', + 'jknzh2tjfasx0nsa3dsbwz4m6an9wbi5', input, ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-delete.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-delete.md index 71215b5..38f4c49 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-delete.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-delete.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.deleteQueueJob( - 'j-8sae7t0u7o0emyztq64o8ut710qtepjztx34mk6lruecseiyq06ab3ok5xr', - 'eokxas9m7y892q4m5rifzmevenpg1vot8xgbal184sloim-c7555huym18dia9d', - 'zbvvpn2qgtohp', + 'qfyxrcpjzz', + 'u68mnowwsycakrj2ndjibysiw6', + 'qw8v11op7e4dq1ckmwu5v289qp5d1ln00phm2', 'queue_job_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-get.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-get.md index e04fb2e..f264416 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-get.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-jobs-{queue_job_id}-get.md @@ -7,9 +7,9 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.queues.getQueueJob( - 'j-8sae7t0u7o0emyztq64o8ut710qtepjztx34mk6lruecseiyq06ab3ok5xr', - 'eokxas9m7y892q4m5rifzmevenpg1vot8xgbal184sloim-c7555huym18dia9d', - 'zbvvpn2qgtohp', + 'qfyxrcpjzz', + 'u68mnowwsycakrj2ndjibysiw6', + 'qw8v11op7e4dq1ckmwu5v289qp5d1ln00phm2', 'queue_job_id', ); diff --git a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-patch.md b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-patch.md index ea94b5e..136b377 100644 --- a/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-patch.md +++ b/documentation/snippets/organizations-{organization_name}-projects-{project_name}-queues-{queue_name}-patch.md @@ -7,14 +7,14 @@ import { SaladCloudSdk, UpdateQueue } from '@saladtechnologies-oss/salad-cloud-s }); const updateQueue: UpdateQueue = { - displayName: 'TLURNvvFGXm', - description: 'aliqua et sit anim esse', + displayName: 'wfoWE', + description: 'aliqua in sit', }; const { data } = await saladCloudSdk.queues.updateQueue( - 'g1bq27ohe5dpzbgsk8gvpuhecson4k2eclxss3', - 'wtxd1j0ixuhfk-hdff3n3-hbtsigyh53bt0g4gjh8mcz4', - 'bnkfiyt3k5ke3wy-5gl1809r', + 'ljj6uqmy01xsg7k5n8fhpr0uia1-28ec6ahk-1s6u-51xn', + 'jzq0i9u27d9qsg6qsygfg', + 'd7iy1tktkoepudefqkf47dv60kqzd3q1v', input, ); diff --git a/documentation/snippets/organizations-{organization_name}-quotas-get.md b/documentation/snippets/organizations-{organization_name}-quotas-get.md index ef4f56c..13e4db8 100644 --- a/documentation/snippets/organizations-{organization_name}-quotas-get.md +++ b/documentation/snippets/organizations-{organization_name}-quotas-get.md @@ -6,7 +6,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.quotas.getQuotas('o110sou'); + const { data } = await saladCloudSdk.quotas.getQuotas('whf3imgjjp6z8'); console.log(data); })(); diff --git a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md index 5b8a8b5..7202cbb 100644 --- a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md +++ b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md @@ -7,7 +7,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.webhookSecretKey.getWebhookSecretKey( - 'dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp', + 'sqxjgqhc7gu8nezs4j9l1xu8ic3cjd45207kimcabvi76n8', ); console.log(data); diff --git a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md index df118c7..c409eda 100644 --- a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md +++ b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md @@ -7,7 +7,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; }); const { data } = await saladCloudSdk.webhookSecretKey.updateWebhookSecretKey( - 'dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp', + 'sqxjgqhc7gu8nezs4j9l1xu8ic3cjd45207kimcabvi76n8', ); console.log(data); diff --git a/examples/package.json b/examples/package.json index 952ff57..cc7c8ef 100644 --- a/examples/package.json +++ b/examples/package.json @@ -1,6 +1,6 @@ { "name": "salad-cloud-sdk", - "version": "0.9.0-alpha.4", + "version": "0.9.0-alpha.5", "private": true, "dependencies": { "@saladtechnologies-oss/salad-cloud-sdk": "file:../", diff --git a/examples/src/index.ts b/examples/src/index.ts index ddca627..0e3c8f0 100644 --- a/examples/src/index.ts +++ b/examples/src/index.ts @@ -5,7 +5,7 @@ import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk'; apiKey: 'YOUR_API_KEY', }); - const { data } = await saladCloudSdk.quotas.getQuotas('o110sou'); + const { data } = await saladCloudSdk.quotas.getQuotas('whf3imgjjp6z8'); console.log(data); })(); diff --git a/package-lock.json b/package-lock.json index 6038408..8b1b943 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@saladtechnologies-oss/salad-cloud-sdk", - "version": "0.9.0-alpha.4", + "version": "0.9.0-alpha.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@saladtechnologies-oss/salad-cloud-sdk", - "version": "0.9.0-alpha.4", + "version": "0.9.0-alpha.5", "license": "MIT", "dependencies": { "zod": "3.22.0" @@ -1265,9 +1265,9 @@ } }, "node_modules/package-json-from-dist": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", - "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "dev": true, "license": "BlueOak-1.0.0" }, diff --git a/package.json b/package.json index 03cd6d2..d52c6e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@saladtechnologies-oss/salad-cloud-sdk", - "version": "0.9.0-alpha.4", + "version": "0.9.0-alpha.5", "description": "The SaladCloud REST API. Please refer to the [SaladCloud API Documentation](https://docs.salad.com/api-reference) for more details.", "source": "./src/index.ts", "main": "./dist/index.js", diff --git a/src/http/error.ts b/src/http/error.ts index 4dc1d6b..953821e 100644 --- a/src/http/error.ts +++ b/src/http/error.ts @@ -3,10 +3,12 @@ import { HttpMetadata } from './types'; export class HttpError extends Error { public readonly error: string; public readonly metadata: HttpMetadata; + public readonly raw?: ArrayBuffer; - constructor(metadata: HttpMetadata, error?: string) { + constructor(metadata: HttpMetadata, raw?: ArrayBuffer, error?: string) { super(error); this.error = metadata.statusText; this.metadata = metadata; + this.raw = raw; } } diff --git a/src/http/hooks/custom-hook.ts b/src/http/hooks/custom-hook.ts index c266d7e..52df40e 100644 --- a/src/http/hooks/custom-hook.ts +++ b/src/http/hooks/custom-hook.ts @@ -21,6 +21,6 @@ export class CustomHook implements Hook { response: HttpResponse, params: Map, ): Promise { - return new HttpError(response.metadata); + return new HttpError(response.metadata, response.raw); } } diff --git a/src/services/common/container-resource-requirements.ts b/src/services/common/container-resource-requirements.ts index f083daf..c38d96f 100644 --- a/src/services/common/container-resource-requirements.ts +++ b/src/services/common/container-resource-requirements.ts @@ -6,7 +6,7 @@ import { z } from 'zod'; export const containerResourceRequirements = z.lazy(() => { return z.object({ cpu: z.number().gte(1).lte(16), - memory: z.number().gte(1024).lte(30720), + memory: z.number().gte(1024).lte(61440), gpuClasses: z.array(z.string()).optional().nullable(), storageAmount: z.number().gte(1073741824).lte(53687091200).optional().nullable(), }); @@ -30,7 +30,7 @@ export const containerResourceRequirementsResponse = z.lazy(() => { return z .object({ cpu: z.number().gte(1).lte(16), - memory: z.number().gte(1024).lte(30720), + memory: z.number().gte(1024).lte(61440), gpu_classes: z.array(z.string()).optional().nullable(), storage_amount: z.number().gte(1073741824).lte(53687091200).optional().nullable(), }) diff --git a/src/services/quotas/models/index.ts b/src/services/quotas/models/index.ts index 99b19b8..48853b5 100644 --- a/src/services/quotas/models/index.ts +++ b/src/services/quotas/models/index.ts @@ -1,3 +1,2 @@ export type { Quotas } from './quotas'; export type { ContainerGroupsQuotas } from './container-groups-quotas'; -export type { RecipesQuotas } from './recipes-quotas'; diff --git a/src/services/quotas/models/quotas.ts b/src/services/quotas/models/quotas.ts index 4b4ca7d..d98f178 100644 --- a/src/services/quotas/models/quotas.ts +++ b/src/services/quotas/models/quotas.ts @@ -4,7 +4,6 @@ import { containerGroupsQuotasRequest, containerGroupsQuotasResponse, } from './container-groups-quotas'; -import { recipesQuotas, recipesQuotasRequest, recipesQuotasResponse } from './recipes-quotas'; /** * The shape of the model inside the application code - what the users use @@ -13,7 +12,6 @@ export const quotas = z.lazy(() => { return z.object({ containerGroupsQuotas: containerGroupsQuotas, createTime: z.string().optional(), - recipesQuotas: recipesQuotas, updateTime: z.string().optional(), }); }); @@ -23,7 +21,6 @@ export const quotas = z.lazy(() => { * @typedef {Quotas} quotas - Represents the organization quotas - Represents the organization quotas * @property {ContainerGroupsQuotas} * @property {string} - The time the resource was created - * @property {RecipesQuotas} * @property {string} - The time the resource was last updated */ export type Quotas = z.infer; @@ -37,13 +34,11 @@ export const quotasResponse = z.lazy(() => { .object({ container_groups_quotas: containerGroupsQuotasResponse, create_time: z.string().optional(), - recipes_quotas: recipesQuotasResponse, update_time: z.string().optional(), }) .transform((data) => ({ containerGroupsQuotas: data['container_groups_quotas'], createTime: data['create_time'], - recipesQuotas: data['recipes_quotas'], updateTime: data['update_time'], })); }); @@ -57,13 +52,11 @@ export const quotasRequest = z.lazy(() => { .object({ containerGroupsQuotas: containerGroupsQuotasRequest.nullish(), createTime: z.string().nullish(), - recipesQuotas: recipesQuotasRequest.nullish(), updateTime: z.string().nullish(), }) .transform((data) => ({ container_groups_quotas: data['containerGroupsQuotas'], create_time: data['createTime'], - recipes_quotas: data['recipesQuotas'], update_time: data['updateTime'], })); }); diff --git a/src/services/quotas/models/recipes-quotas.ts b/src/services/quotas/models/recipes-quotas.ts deleted file mode 100644 index 463bf02..0000000 --- a/src/services/quotas/models/recipes-quotas.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { z } from 'zod'; - -/** - * The shape of the model inside the application code - what the users use - */ -export const recipesQuotas = z.lazy(() => { - return z.object({ - maxCreatedRecipeDeployments: z.number(), - recipeInstanceQuota: z.number(), - }); -}); - -/** - * - * @typedef {RecipesQuotas} recipesQuotas - * @property {number} - * @property {number} - */ -export type RecipesQuotas = z.infer; - -/** - * The shape of the model mapping from the api schema into the application shape. - * Is equal to application shape if all property names match the api schema - */ -export const recipesQuotasResponse = z.lazy(() => { - return z - .object({ - max_created_recipe_deployments: z.number(), - recipe_instance_quota: z.number(), - }) - .transform((data) => ({ - maxCreatedRecipeDeployments: data['max_created_recipe_deployments'], - recipeInstanceQuota: data['recipe_instance_quota'], - })); -}); - -/** - * The shape of the model mapping from the application shape into the api schema. - * Is equal to application shape if all property names match the api schema - */ -export const recipesQuotasRequest = z.lazy(() => { - return z - .object({ maxCreatedRecipeDeployments: z.number().nullish(), recipeInstanceQuota: z.number().nullish() }) - .transform((data) => ({ - max_created_recipe_deployments: data['maxCreatedRecipeDeployments'], - recipe_instance_quota: data['recipeInstanceQuota'], - })); -});