126 строки
8.8 KiB
YAML
126 строки
8.8 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests"
|
|
name: "ResourceRequests"
|
|
nameWithType: "ResourceRequests"
|
|
summary: "Deployment resource request payload."
|
|
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 **ResourceRequests**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests.ResourceRequests()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.ResourceRequests()"
|
|
name: "ResourceRequests()"
|
|
nameWithType: "ResourceRequests.ResourceRequests()"
|
|
summary: "Creates an instance of Resource<wbr>Requests class."
|
|
syntax: "public ResourceRequests()"
|
|
desc: "Creates an instance of ResourceRequests class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests.cpu()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.cpu()"
|
|
name: "cpu()"
|
|
nameWithType: "ResourceRequests.cpu()"
|
|
summary: "Get the cpu property: Required CPU."
|
|
syntax: "public String cpu()"
|
|
desc: "Get the cpu property: Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and \\{500m, 1, 2, 3, 4\\} for Standard tier."
|
|
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.appplatform.models.ResourceRequests.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ResourceRequests.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Resource<wbr>Requests 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 ResourceRequests fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the ResourceRequests."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of ResourceRequests from the JsonReader."
|
|
returns:
|
|
description: "An instance of ResourceRequests 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.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests.memory()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.memory()"
|
|
name: "memory()"
|
|
nameWithType: "ResourceRequests.memory()"
|
|
summary: "Get the memory property: Required memory."
|
|
syntax: "public String memory()"
|
|
desc: "Get the memory property: Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be \\{512Mi, 1Gi, 2Gi\\} for Basic tier, and \\{512Mi, 1Gi, 2Gi, ..., 8Gi\\} for Standard tier."
|
|
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.appplatform.models.ResourceRequests.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ResourceRequests.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.appplatform.models.ResourceRequests.validate()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ResourceRequests.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests.withCpu(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.withCpu(String cpu)"
|
|
name: "withCpu(String cpu)"
|
|
nameWithType: "ResourceRequests.withCpu(String cpu)"
|
|
summary: "Set the cpu property: Required CPU."
|
|
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 ResourceRequests withCpu(String cpu)"
|
|
desc: "Set the cpu property: Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and \\{500m, 1, 2, 3, 4\\} for Standard tier."
|
|
returns:
|
|
description: "the ResourceRequests object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.ResourceRequests.withMemory(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.ResourceRequests.withMemory(String memory)"
|
|
name: "withMemory(String memory)"
|
|
nameWithType: "ResourceRequests.withMemory(String memory)"
|
|
summary: "Set the memory property: Required memory."
|
|
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 ResourceRequests withMemory(String memory)"
|
|
desc: "Set the memory property: Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be \\{512Mi, 1Gi, 2Gi\\} for Basic tier, and \\{512Mi, 1Gi, 2Gi, ..., 8Gi\\} for Standard tier."
|
|
returns:
|
|
description: "the ResourceRequests object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Deployment resource request payload."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.appplatform.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-appplatform:2.44.0
|