java.lang.Object
com.microsoft.azure.management.containerinstance.GpuResource

public class GpuResource extends Object
The GPU resource.
  • Constructor Details

    • GpuResource

      public GpuResource()
  • Method Details

    • count

      public int count()
      Get the count of the GPU resource.
      Returns:
      the count value
    • withCount

      public GpuResource withCount(int count)
      Set the count of the GPU resource.
      Parameters:
      count - the count value to set
      Returns:
      the GpuResource object itself.
    • sku

      public GpuSku sku()
      Get the SKU of the GPU resource. Possible values include: 'K80', 'P100', 'V100'.
      Returns:
      the sku value
    • withSku

      public GpuResource withSku(GpuSku sku)
      Set the SKU of the GPU resource. Possible values include: 'K80', 'P100', 'V100'.
      Parameters:
      sku - the sku value to set
      Returns:
      the GpuResource object itself.