azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
7.1 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.containerinstance.ResourceLimits"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits"
name: "ResourceLimits"
nameWithType: "ResourceLimits"
summary: "The resource limits."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ResourceLimits**"
constructors:
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.ResourceLimits()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.ResourceLimits()"
name: "ResourceLimits()"
nameWithType: "ResourceLimits.ResourceLimits()"
syntax: "public ResourceLimits()"
methods:
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.cpu()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.cpu()"
name: "cpu()"
nameWithType: "ResourceLimits.cpu()"
summary: "Get the CPU limit of this container instance."
syntax: "public Double cpu()"
desc: "Get the CPU limit of this container instance."
returns:
description: "the cpu value"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.gpu()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.gpu()"
name: "gpu()"
nameWithType: "ResourceLimits.gpu()"
summary: "Get the GPU limit of this container instance."
syntax: "public GpuResource gpu()"
desc: "Get the GPU limit of this container instance."
returns:
description: "the gpu value"
type: "<xref href=\"com.microsoft.azure.management.containerinstance.GpuResource?alt=com.microsoft.azure.management.containerinstance.GpuResource&text=GpuResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.memoryInGB()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.memoryInGB()"
name: "memoryInGB()"
nameWithType: "ResourceLimits.memoryInGB()"
summary: "Get the memory limit in GB of this container instance."
syntax: "public Double memoryInGB()"
desc: "Get the memory limit in GB of this container instance."
returns:
description: "the memoryInGB value"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.withCpu(java.lang.Double)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.withCpu(Double cpu)"
name: "withCpu(Double cpu)"
nameWithType: "ResourceLimits.withCpu(Double cpu)"
summary: "Set the CPU limit of this container instance."
parameters:
- description: "the cpu value to set"
name: "cpu"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceLimits withCpu(Double cpu)"
desc: "Set the CPU limit of this container instance."
returns:
description: "the ResourceLimits object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceLimits?alt=com.microsoft.azure.management.containerinstance.ResourceLimits&text=ResourceLimits\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.withGpu(com.microsoft.azure.management.containerinstance.GpuResource)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.withGpu(GpuResource gpu)"
name: "withGpu(GpuResource gpu)"
nameWithType: "ResourceLimits.withGpu(GpuResource gpu)"
summary: "Set the GPU limit of this container instance."
parameters:
- description: "the gpu value to set"
name: "gpu"
type: "<xref href=\"com.microsoft.azure.management.containerinstance.GpuResource?alt=com.microsoft.azure.management.containerinstance.GpuResource&text=GpuResource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceLimits withGpu(GpuResource gpu)"
desc: "Set the GPU limit of this container instance."
returns:
description: "the ResourceLimits object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceLimits?alt=com.microsoft.azure.management.containerinstance.ResourceLimits&text=ResourceLimits\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceLimits.withMemoryInGB(java.lang.Double)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceLimits.withMemoryInGB(Double memoryInGB)"
name: "withMemoryInGB(Double memoryInGB)"
nameWithType: "ResourceLimits.withMemoryInGB(Double memoryInGB)"
summary: "Set the memory limit in GB of this container instance."
parameters:
- description: "the memoryInGB value to set"
name: "memoryInGB"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceLimits withMemoryInGB(Double memoryInGB)"
desc: "Set the memory limit in GB of this container instance."
returns:
description: "the ResourceLimits object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceLimits?alt=com.microsoft.azure.management.containerinstance.ResourceLimits&text=ResourceLimits\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The resource limits."
metadata: {}
package: "com.microsoft.azure.management.containerinstance"
artifact: com.microsoft.azure:azure-mgmt-containerinstance:1.41.4