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

136 строки
9.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources"
name: "ContainerResources"
nameWithType: "ContainerResources"
summary: "Container App container resource requirements."
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 **ContainerResources**</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.appcontainers.models.ContainerResources?alt=com.azure.resourcemanager.appcontainers.models.ContainerResources&text=ContainerResources\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.ContainerResources()"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.ContainerResources()"
name: "ContainerResources()"
nameWithType: "ContainerResources.ContainerResources()"
summary: "Creates an instance of Container<wbr>Resources class."
syntax: "public ContainerResources()"
desc: "Creates an instance of ContainerResources class."
methods:
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.cpu()"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.cpu()"
name: "cpu()"
nameWithType: "ContainerResources.cpu()"
summary: "Get the cpu property: Required CPU in cores, e.<wbr>g."
syntax: "public Double cpu()"
desc: "Get the cpu property: Required CPU in cores, e.g. 0.5."
returns:
description: "the cpu value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.ephemeralStorage()"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.ephemeralStorage()"
name: "ephemeralStorage()"
nameWithType: "ContainerResources.ephemeralStorage()"
summary: "Get the ephemeral<wbr>Storage property: Ephemeral Storage, e.<wbr>g."
syntax: "public String ephemeralStorage()"
desc: "Get the ephemeralStorage property: Ephemeral Storage, e.g. \"1Gi\"."
returns:
description: "the ephemeralStorage value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ContainerResources.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Container<wbr>Resources 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 ContainerResources fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ContainerResources."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ContainerResources from the JsonReader."
returns:
description: "An instance of ContainerResources if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ContainerResources?alt=com.azure.resourcemanager.appcontainers.models.ContainerResources&text=ContainerResources\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.memory()"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.memory()"
name: "memory()"
nameWithType: "ContainerResources.memory()"
summary: "Get the memory property: Required memory, e.<wbr>g."
syntax: "public String memory()"
desc: "Get the memory property: Required memory, e.g. \"250Mb\"."
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.appcontainers.models.ContainerResources.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ContainerResources.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.appcontainers.models.ContainerResources.validate()"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.validate()"
name: "validate()"
nameWithType: "ContainerResources.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.withCpu(java.lang.Double)"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.withCpu(Double cpu)"
name: "withCpu(Double cpu)"
nameWithType: "ContainerResources.withCpu(Double cpu)"
summary: "Set the cpu property: Required CPU in cores, e.<wbr>g."
parameters:
- description: "the cpu value to set."
name: "cpu"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
syntax: "public ContainerResources withCpu(Double cpu)"
desc: "Set the cpu property: Required CPU in cores, e.g. 0.5."
returns:
description: "the ContainerResources object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ContainerResources?alt=com.azure.resourcemanager.appcontainers.models.ContainerResources&text=ContainerResources\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ContainerResources.withMemory(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.ContainerResources.withMemory(String memory)"
name: "withMemory(String memory)"
nameWithType: "ContainerResources.withMemory(String memory)"
summary: "Set the memory property: Required memory, e.<wbr>g."
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 ContainerResources withMemory(String memory)"
desc: "Set the memory property: Required memory, e.g. \"250Mb\"."
returns:
description: "the ContainerResources object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ContainerResources?alt=com.azure.resourcemanager.appcontainers.models.ContainerResources&text=ContainerResources\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Container App container resource requirements."
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.appcontainers.models.ContainerResources?alt=com.azure.resourcemanager.appcontainers.models.ContainerResources&text=ContainerResources\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appcontainers.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appcontainers:1.0.0