azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings"
name: "ContainerResourceSettings"
nameWithType: "ContainerResourceSettings"
summary: "The Container<wbr>Resource<wbr>Settings model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ContainerResourceSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.ContainerResourceSettings()"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.ContainerResourceSettings()"
name: "ContainerResourceSettings()"
nameWithType: "ContainerResourceSettings.ContainerResourceSettings()"
summary: "Creates an instance of Container<wbr>Resource<wbr>Settings class."
syntax: "public ContainerResourceSettings()"
desc: "Creates an instance of ContainerResourceSettings class."
methods:
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.cpu()"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.cpu()"
name: "cpu()"
nameWithType: "ContainerResourceSettings.cpu()"
summary: "Get the cpu property: Number of v<wbr>CPUs request/limit for container."
syntax: "public String cpu()"
desc: "Get the cpu property: Number of vCPUs request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the cpu value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ContainerResourceSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Container<wbr>Resource<wbr>Settings from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ContainerResourceSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ContainerResourceSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ContainerResourceSettings from the JsonReader."
returns:
description: "An instance of ContainerResourceSettings if the JsonReader was pointing to an instance of it, or null if\n it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.gpu()"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.gpu()"
name: "gpu()"
nameWithType: "ContainerResourceSettings.gpu()"
summary: "Get the gpu property: Number of Nvidia GPU cards request/limit for container."
syntax: "public String gpu()"
desc: "Get the gpu property: Number of Nvidia GPU cards request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the gpu value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.memory()"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.memory()"
name: "memory()"
nameWithType: "ContainerResourceSettings.memory()"
summary: "Get the memory property: Memory size request/limit for container."
syntax: "public String memory()"
desc: "Get the memory property: Memory size request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the memory value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ContainerResourceSettings.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.validate()"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.validate()"
name: "validate()"
nameWithType: "ContainerResourceSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withCpu(java.lang.String)"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withCpu(String cpu)"
name: "withCpu(String cpu)"
nameWithType: "ContainerResourceSettings.withCpu(String cpu)"
summary: "Set the cpu property: Number of v<wbr>CPUs request/limit for container."
parameters:
- description: "the cpu value to set."
name: "cpu"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ContainerResourceSettings withCpu(String cpu)"
desc: "Set the cpu property: Number of vCPUs request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the ContainerResourceSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withGpu(java.lang.String)"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withGpu(String gpu)"
name: "withGpu(String gpu)"
nameWithType: "ContainerResourceSettings.withGpu(String gpu)"
summary: "Set the gpu property: Number of Nvidia GPU cards request/limit for container."
parameters:
- description: "the gpu value to set."
name: "gpu"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ContainerResourceSettings withGpu(String gpu)"
desc: "Set the gpu property: Number of Nvidia GPU cards request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the ContainerResourceSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withMemory(java.lang.String)"
fullName: "com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings.withMemory(String memory)"
name: "withMemory(String memory)"
nameWithType: "ContainerResourceSettings.withMemory(String memory)"
summary: "Set the memory property: Memory size request/limit for container."
parameters:
- description: "the memory value to set."
name: "memory"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ContainerResourceSettings withMemory(String memory)"
desc: "Set the memory property: Memory size request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/."
returns:
description: "the ContainerResourceSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The ContainerResourceSettings model."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings?alt=com.azure.resourcemanager.machinelearning.models.ContainerResourceSettings&text=ContainerResourceSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.machinelearning.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-machinelearning:1.1.0