126 строки
9.7 KiB
YAML
126 строки
9.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements"
|
|
name: "ResourceRequirements"
|
|
nameWithType: "ResourceRequirements"
|
|
summary: "The 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 **ResourceRequirements**</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.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.ResourceRequirements()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.ResourceRequirements()"
|
|
name: "ResourceRequirements()"
|
|
nameWithType: "ResourceRequirements.ResourceRequirements()"
|
|
summary: "Creates an instance of Resource<wbr>Requirements class."
|
|
syntax: "public ResourceRequirements()"
|
|
desc: "Creates an instance of ResourceRequirements class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ResourceRequirements.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Resource<wbr>Requirements 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 ResourceRequirements fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of ResourceRequirements from the JsonReader."
|
|
returns:
|
|
description: "An instance of ResourceRequirements if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.limits()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.limits()"
|
|
name: "limits()"
|
|
nameWithType: "ResourceRequirements.limits()"
|
|
summary: "Get the limits property: The resource limits of this container instance."
|
|
syntax: "public ResourceLimits limits()"
|
|
desc: "Get the limits property: The resource limits of this container instance."
|
|
returns:
|
|
description: "the limits value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceLimits?alt=com.azure.resourcemanager.containerinstance.models.ResourceLimits&text=ResourceLimits\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.requests()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.requests()"
|
|
name: "requests()"
|
|
nameWithType: "ResourceRequirements.requests()"
|
|
summary: "Get the requests property: The resource requests of this container instance."
|
|
syntax: "public ResourceRequests requests()"
|
|
desc: "Get the requests property: The resource requests of this container instance."
|
|
returns:
|
|
description: "the requests value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequests?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ResourceRequirements.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.containerinstance.models.ResourceRequirements.validate()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ResourceRequirements.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.withLimits(com.azure.resourcemanager.containerinstance.models.ResourceLimits)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.withLimits(ResourceLimits limits)"
|
|
name: "withLimits(ResourceLimits limits)"
|
|
nameWithType: "ResourceRequirements.withLimits(ResourceLimits limits)"
|
|
summary: "Set the limits property: The resource limits of this container instance."
|
|
parameters:
|
|
- description: "the limits value to set."
|
|
name: "limits"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceLimits?alt=com.azure.resourcemanager.containerinstance.models.ResourceLimits&text=ResourceLimits\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ResourceRequirements withLimits(ResourceLimits limits)"
|
|
desc: "Set the limits property: The resource limits of this container instance."
|
|
returns:
|
|
description: "the ResourceRequirements object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.withRequests(com.azure.resourcemanager.containerinstance.models.ResourceRequests)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.ResourceRequirements.withRequests(ResourceRequests requests)"
|
|
name: "withRequests(ResourceRequests requests)"
|
|
nameWithType: "ResourceRequirements.withRequests(ResourceRequests requests)"
|
|
summary: "Set the requests property: The resource requests of this container instance."
|
|
parameters:
|
|
- description: "the requests value to set."
|
|
name: "requests"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequests?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ResourceRequirements withRequests(ResourceRequests requests)"
|
|
desc: "Set the requests property: The resource requests of this container instance."
|
|
returns:
|
|
description: "the ResourceRequirements object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The resource requirements."
|
|
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.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.containerinstance.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-containerinstance:2.44.0
|