A list of all methods in the OrganizationDataService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
ListGpuClassesAsync | List the GPU Classes |
List the GPU Classes
- HTTP Method:
GET
- Endpoint:
/organizations/{organization_name}/gpu-classes
Parameters
Name | Type | Required | Description |
---|---|---|---|
organizationName | string | ✅ | Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization. |
Return Type
GpuClassesList
Example Usage Code Snippet
using Salad.Cloud.SDK;
using Salad.Cloud.SDK.Config;
using Environment = Salad.Cloud.SDK.Http.Environment;
var config = new SaladCloudSdkConfig{
Environment = Environment.Default
};
var client = new SaladCloudSdkClient(config);
var response = await client.OrganizationData.ListGpuClassesAsync("s9g7lyyu-j0-p29ti");
Console.WriteLine(response);