Uses of Class
com.azure.resourcemanager.containerinstance.models.GpuResource
Packages that use GpuResource
Package
Description
Package containing the data models for ContainerInstanceManagementClient.
-
Uses of GpuResource in com.azure.resourcemanager.containerinstance.models
Methods in com.azure.resourcemanager.containerinstance.models that return GpuResourceModifier and TypeMethodDescriptionstatic GpuResourceGpuResource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GpuResource from the JsonReader.ResourceLimits.gpu()Get the gpu property: The GPU limit of this container instance.ResourceRequests.gpu()Get the gpu property: The GPU request of this container instance.GpuResource.withCount(int count) Set the count property: The count of the GPU resource.Set the sku property: The SKU of the GPU resource.Methods in com.azure.resourcemanager.containerinstance.models with parameters of type GpuResourceModifier and TypeMethodDescriptionResourceLimits.withGpu(GpuResource gpu) Set the gpu property: The GPU limit of this container instance.ResourceRequests.withGpu(GpuResource gpu) Set the gpu property: The GPU request of this container instance.