diff --git a/.manifest.json b/.manifest.json index 0d4cf6a..20ea730 100644 --- a/.manifest.json +++ b/.manifest.json @@ -1,10 +1,10 @@ { - "liblabVersion": "2.4.0", - "date": "2024-09-17T04:02:28.854Z", + "liblabVersion": "2.5.0", + "date": "2024-10-01T05:14:05.186Z", "config": { - "apiId": 1172, + "apiId": 1228, "sdkName": "salad-cloud-sdk", - "sdkVersion": "0.9.0-alpha.3", + "sdkVersion": "0.9.0-alpha.4", "liblabVersion": "2", "deliveryMethods": ["zip"], "languages": ["csharp"], @@ -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.3", + "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,8 +138,9 @@ "homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-javascript", "ignoreFiles": [".gitignore", "./LICENSE"], "liblabVersion": "2", - "sdkVersion": "0.9.0-alpha.3", - "targetBranch": "main" + "sdkVersion": "0.9.0-alpha.5", + "targetBranch": "main", + "generateEnumAs": "enum" } }, "publishing": { @@ -232,7 +233,7 @@ } ], "apiName": "SaladCloud API", - "apiVersion": "0.9.0-alpha.3", + "apiVersion": "0.9.0-alpha.4", "authentication": { "apiKey": { "header": "Salad-Api-Key" @@ -286,7 +287,7 @@ "httpLibrary": { "name": "axios", "packages": { - "axios": "^1.7.4" + "axios": "^1.7.7" }, "languages": ["typescript"] }, @@ -396,7 +397,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", ".devcontainer/devcontainer.json", @@ -446,7 +446,6 @@ "Salad.Cloud.SDK/Models/UpdateContainerGroupNetworking.cs", "Salad.Cloud.SDK/Models/WorkloadError.cs", "Salad.Cloud.SDK/Models/ContainerGroupsQuotas.cs", - "Salad.Cloud.SDK/Models/RecipesQuotas.cs", "Salad.Cloud.SDK/Models/GpuClass.cs", "Salad.Cloud.SDK/Models/GpuClassPrice.cs", "documentation/models/ContainerGroupInstance.md", diff --git a/README.md b/README.md index ef45357..1b95d83 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# SaladCloudSdk C# SDK 0.9.0-alpha.3 +# SaladCloudSdk C# SDK 0.9.0-alpha.4 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.3` +- API version: `0.9.0-alpha.4` +- SDK version: `0.9.0-alpha.4` ## About the API @@ -168,7 +168,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/Salad.Cloud.SDK/Models/Quotas.cs b/Salad.Cloud.SDK/Models/Quotas.cs index 0798e3d..b6dfbab 100644 --- a/Salad.Cloud.SDK/Models/Quotas.cs +++ b/Salad.Cloud.SDK/Models/Quotas.cs @@ -6,7 +6,6 @@ namespace Salad.Cloud.SDK.Models; public record Quotas( [property: JsonPropertyName("container_groups_quotas")] ContainerGroupsQuotas ContainerGroupsQuotas, - [property: JsonPropertyName("recipes_quotas")] RecipesQuotas RecipesQuotas, /// The time the resource was created [property: JsonPropertyName("create_time"), diff --git a/Salad.Cloud.SDK/Models/RecipesQuotas.cs b/Salad.Cloud.SDK/Models/RecipesQuotas.cs deleted file mode 100644 index ec0bd5d..0000000 --- a/Salad.Cloud.SDK/Models/RecipesQuotas.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Text.Json.Serialization; - -namespace Salad.Cloud.SDK.Models; - -public record RecipesQuotas( - [property: JsonPropertyName("max_created_recipe_deployments")] long MaxCreatedRecipeDeployments, - [property: JsonPropertyName("recipe_instance_quota")] long RecipeInstanceQuota -); diff --git a/Salad.Cloud.SDK/Salad.Cloud.SDK.csproj b/Salad.Cloud.SDK/Salad.Cloud.SDK.csproj index 183e330..6053cfe 100644 --- a/Salad.Cloud.SDK/Salad.Cloud.SDK.csproj +++ b/Salad.Cloud.SDK/Salad.Cloud.SDK.csproj @@ -5,7 +5,7 @@ enable enable Salad.Cloud.SDK - 0.9.0-alpha.3 + 0.9.0-alpha.4 Salad.Cloud.SDK salad, seniorquico https://github.com/saladtechnologies/salad-cloud-sdk-dotnet diff --git a/documentation/models/Quotas.md b/documentation/models/Quotas.md index 665adf1..2c701fb 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 142baf4..0000000 --- a/documentation/models/RecipesQuotas.md +++ /dev/null @@ -1,8 +0,0 @@ -# RecipesQuotas - -**Properties** - -| Name | Type | Required | Description | -| :-------------------------- | :--- | :------- | :---------- | -| MaxCreatedRecipeDeployments | long | ✅ | | -| RecipeInstanceQuota | long | ✅ | | diff --git a/documentation/services/ContainerGroupsService.md b/documentation/services/ContainerGroupsService.md index 3db3f30..694655a 100644 --- a/documentation/services/ContainerGroupsService.md +++ b/documentation/services/ContainerGroupsService.md @@ -74,7 +74,7 @@ using Salad.Cloud.SDK.Models; var client = new SaladCloudSdkClient(); -var resources = new ContainerResourceRequirements(10, 17858); +var resources = new ContainerResourceRequirements(10, 35273); var container = new CreateContainer("voluptate officia adipisicing", resources); var input = new CreateContainerGroup("qfojt-6ccoil4t55-ccoyybgw92dermtsdfn3t2xmag", container, false, ContainerRestartPolicy.Always, 114); diff --git a/documentation/services/InferenceEndpointsService.md b/documentation/services/InferenceEndpointsService.md index 524e2a0..2969f3e 100644 --- a/documentation/services/InferenceEndpointsService.md +++ b/documentation/services/InferenceEndpointsService.md @@ -37,7 +37,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.ListInferenceEndpointsAsync("wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm", 756148233, 66); +var response = await client.InferenceEndpoints.ListInferenceEndpointsAsync("l50g1umdxtc9fte7", 832002798, 51); Console.WriteLine(response); ``` @@ -67,7 +67,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointAsync("uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8", "aute Ut reprehenderit occaecat sed"); +var response = await client.InferenceEndpoints.GetInferenceEndpointAsync("zux2vsmrhjjt13u7q3pryxxnnnyigut20zp1dyfm2yp4-lxa27tl0e", "qui adipisicing"); Console.WriteLine(response); ``` @@ -99,7 +99,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointJobsAsync("trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00", "ut officia ut", 1653138765, 76); +var response = await client.InferenceEndpoints.GetInferenceEndpointJobsAsync("bzx0y-i4o1cvulgdrx", "minim", 82661968, 27); Console.WriteLine(response); ``` @@ -133,7 +133,7 @@ var client = new SaladCloudSdkClient(); var input = new CreateInferenceEndpointJob(new object {}); -var response = await client.InferenceEndpoints.CreateInferenceEndpointJobAsync(input, "trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00", "ut officia ut"); +var response = await client.InferenceEndpoints.CreateInferenceEndpointJobAsync(input, "bzx0y-i4o1cvulgdrx", "minim"); Console.WriteLine(response); ``` @@ -164,7 +164,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointJobAsync("b7tj9", "sed eu labore", "inference_endpoint_job_id"); +var response = await client.InferenceEndpoints.GetInferenceEndpointJobAsync("v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq", "elit sint", "inference_endpoint_job_id"); Console.WriteLine(response); ``` @@ -191,5 +191,5 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -await client.InferenceEndpoints.DeleteInferenceEndpointJobAsync("b7tj9", "sed eu labore", "inference_endpoint_job_id"); +await client.InferenceEndpoints.DeleteInferenceEndpointJobAsync("v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq", "elit sint", "inference_endpoint_job_id"); ``` diff --git a/documentation/services/OrganizationDataService.md b/documentation/services/OrganizationDataService.md index 171aee6..607709f 100644 --- a/documentation/services/OrganizationDataService.md +++ b/documentation/services/OrganizationDataService.md @@ -30,7 +30,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.OrganizationData.ListGpuClassesAsync("ksb7ikadj659qttkrqdm5b9xdre4met9iop"); +var response = await client.OrganizationData.ListGpuClassesAsync("w9qttkrqdm5b9xdre4met9ioqxf-a3suyfz4tkhle7s9-vpaj7uvpj"); Console.WriteLine(response); ``` diff --git a/documentation/services/WebhookSecretKeyService.md b/documentation/services/WebhookSecretKeyService.md index ec5c307..788aff0 100644 --- a/documentation/services/WebhookSecretKeyService.md +++ b/documentation/services/WebhookSecretKeyService.md @@ -31,7 +31,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"); +var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("wmkuf3v0nd2roppi64zikv73wys88ns81"); Console.WriteLine(response); ``` @@ -60,7 +60,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"); +var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("wmkuf3v0nd2roppi64zikv73wys88ns81"); Console.WriteLine(response); ``` diff --git a/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md b/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md index d7941ba..9a42599 100644 --- a/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md +++ b/documentation/snippets/organizations-{organization_name}-gpu-classes-get.md @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.OrganizationData.ListGpuClassesAsync("ksb7ikadj659qttkrqdm5b9xdre4met9iop"); +var response = await client.OrganizationData.ListGpuClassesAsync("w9qttkrqdm5b9xdre4met9ioqxf-a3suyfz4tkhle7s9-vpaj7uvpj"); Console.WriteLine(response); diff --git a/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md b/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md index 44fa42f..04e7c70 100644 --- a/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md +++ b/documentation/snippets/organizations-{organization_name}-inference-endpoints-get.md @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.ListInferenceEndpointsAsync("wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm", 756148233, 66); +var response = await client.InferenceEndpoints.ListInferenceEndpointsAsync("l50g1umdxtc9fte7", 832002798, 51); Console.WriteLine(response); 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 ba35200..015d941 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 @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointAsync("uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8", "aute Ut reprehenderit occaecat sed"); +var response = await client.InferenceEndpoints.GetInferenceEndpointAsync("zux2vsmrhjjt13u7q3pryxxnnnyigut20zp1dyfm2yp4-lxa27tl0e", "qui adipisicing"); Console.WriteLine(response); 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 4ebe65b..8006ffa 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 @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointJobsAsync("trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00", "ut officia ut", 1653138765, 76); +var response = await client.InferenceEndpoints.GetInferenceEndpointJobsAsync("bzx0y-i4o1cvulgdrx", "minim", 82661968, 27); Console.WriteLine(response); 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 38dc180..3228ace 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 @@ -6,7 +6,7 @@ var client = new SaladCloudSdkClient(); var input = new CreateInferenceEndpointJob(new object {}); -var response = await client.InferenceEndpoints.CreateInferenceEndpointJobAsync(input, "trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00", "ut officia ut"); +var response = await client.InferenceEndpoints.CreateInferenceEndpointJobAsync(input, "bzx0y-i4o1cvulgdrx", "minim"); Console.WriteLine(response); 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 550234e..e0c48e0 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 @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -await client.InferenceEndpoints.DeleteInferenceEndpointJobAsync("b7tj9", "sed eu labore", "inference_endpoint_job_id"); +await client.InferenceEndpoints.DeleteInferenceEndpointJobAsync("v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq", "elit sint", "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 00a65af..7e56068 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 @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.InferenceEndpoints.GetInferenceEndpointJobAsync("b7tj9", "sed eu labore", "inference_endpoint_job_id"); +var response = await client.InferenceEndpoints.GetInferenceEndpointJobAsync("v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq", "elit sint", "inference_endpoint_job_id"); Console.WriteLine(response); 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 f6e2951..cbdf0e9 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 @@ -4,7 +4,7 @@ using Salad.Cloud.SDK.Models; var client = new SaladCloudSdkClient(); -var resources = new ContainerResourceRequirements(10, 17858); +var resources = new ContainerResourceRequirements(10, 35273); var container = new CreateContainer("voluptate officia adipisicing", resources); var input = new CreateContainerGroup("qfojt-6ccoil4t55-ccoyybgw92dermtsdfn3t2xmag", container, false, ContainerRestartPolicy.Always, 114); 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 e0db41f..9ccf0ea 100644 --- a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md +++ b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-get.md @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"); +var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("wmkuf3v0nd2roppi64zikv73wys88ns81"); Console.WriteLine(response); 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 0b3b25c..21dbaae 100644 --- a/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md +++ b/documentation/snippets/organizations-{organization_name}-webhook-secret-key-post.md @@ -3,7 +3,7 @@ using Salad.Cloud.SDK; var client = new SaladCloudSdkClient(); -var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"); +var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("wmkuf3v0nd2roppi64zikv73wys88ns81"); Console.WriteLine(response);