Class ResourceRequirements
java.lang.Object
com.microsoft.azure.management.containerinstance.ResourceRequirements
The resource requirements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlimits()
Get the resource limits of this container instance.requests()
Get the resource requests of this container instance.withLimits
(ResourceLimits limits) Set the resource limits of this container instance.withRequests
(ResourceRequests requests) Set the resource requests of this container instance.
-
Constructor Details
-
ResourceRequirements
public ResourceRequirements()
-
-
Method Details
-
requests
Get the resource requests of this container instance.- Returns:
- the requests value
-
withRequests
Set the resource requests of this container instance.- Parameters:
requests
- the requests value to set- Returns:
- the ResourceRequirements object itself.
-
limits
Get the resource limits of this container instance.- Returns:
- the limits value
-
withLimits
Set the resource limits of this container instance.- Parameters:
limits
- the limits value to set- Returns:
- the ResourceRequirements object itself.
-