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.ResourceRequests"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests"
name: "ResourceRequests"
nameWithType: "ResourceRequests"
summary: "The resource requests."
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 **ResourceRequests**"
constructors:
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.ResourceRequests()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.ResourceRequests()"
name: "ResourceRequests()"
nameWithType: "ResourceRequests.ResourceRequests()"
syntax: "public ResourceRequests()"
methods:
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.cpu()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.cpu()"
name: "cpu()"
nameWithType: "ResourceRequests.cpu()"
summary: "Get the CPU request of this container instance."
syntax: "public double cpu()"
desc: "Get the CPU request of this container instance."
returns:
description: "the cpu value"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.gpu()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.gpu()"
name: "gpu()"
nameWithType: "ResourceRequests.gpu()"
summary: "Get the GPU request of this container instance."
syntax: "public GpuResource gpu()"
desc: "Get the GPU request 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.ResourceRequests.memoryInGB()"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.memoryInGB()"
name: "memoryInGB()"
nameWithType: "ResourceRequests.memoryInGB()"
summary: "Get the memory request in GB of this container instance."
syntax: "public double memoryInGB()"
desc: "Get the memory request in GB of this container instance."
returns:
description: "the memoryInGB value"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.withCpu(double)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.withCpu(double cpu)"
name: "withCpu(double cpu)"
nameWithType: "ResourceRequests.withCpu(double cpu)"
summary: "Set the CPU request of this container instance."
parameters:
- description: "the cpu value to set"
name: "cpu"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceRequests withCpu(double cpu)"
desc: "Set the CPU request of this container instance."
returns:
description: "the ResourceRequests object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceRequests?alt=com.microsoft.azure.management.containerinstance.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.withGpu(com.microsoft.azure.management.containerinstance.GpuResource)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.withGpu(GpuResource gpu)"
name: "withGpu(GpuResource gpu)"
nameWithType: "ResourceRequests.withGpu(GpuResource gpu)"
summary: "Set the GPU request 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 ResourceRequests withGpu(GpuResource gpu)"
desc: "Set the GPU request of this container instance."
returns:
description: "the ResourceRequests object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceRequests?alt=com.microsoft.azure.management.containerinstance.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.ResourceRequests.withMemoryInGB(double)"
fullName: "com.microsoft.azure.management.containerinstance.ResourceRequests.withMemoryInGB(double memoryInGB)"
name: "withMemoryInGB(double memoryInGB)"
nameWithType: "ResourceRequests.withMemoryInGB(double memoryInGB)"
summary: "Set the memory request in GB of this container instance."
parameters:
- description: "the memoryInGB value to set"
name: "memoryInGB"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceRequests withMemoryInGB(double memoryInGB)"
desc: "Set the memory request in GB of this container instance."
returns:
description: "the ResourceRequests object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.ResourceRequests?alt=com.microsoft.azure.management.containerinstance.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The resource requests."
metadata: {}
package: "com.microsoft.azure.management.containerinstance"
artifact: com.microsoft.azure:azure-mgmt-containerinstance:1.41.4