Uses of Class
com.azure.resourcemanager.containerinstance.models.ResourceRequests
Packages that use ResourceRequests
Package
Description
Package containing the data models for ContainerInstanceManagementClient.
-
Uses of ResourceRequests in com.azure.resourcemanager.containerinstance.models
Methods in com.azure.resourcemanager.containerinstance.models that return ResourceRequestsModifier and TypeMethodDescriptionstatic ResourceRequestsResourceRequests.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceRequests from the JsonReader.ResourceRequirements.requests()Get the requests property: The resource requests of this container instance.ResourceRequests.withCpu(double cpu) Set the cpu property: The CPU request of this container instance.ResourceRequests.withGpu(GpuResource gpu) Set the gpu property: The GPU request of this container instance.ResourceRequests.withMemoryInGB(double memoryInGB) Set the memoryInGB property: The memory request in GB of this container instance.Methods in com.azure.resourcemanager.containerinstance.models with parameters of type ResourceRequestsModifier and TypeMethodDescriptionResourceRequirements.withRequests(ResourceRequests requests) Set the requests property: The resource requests of this container instance.