Share via


ResourceRequests Class

Definition

Deployment resource request payload

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.ResourceRequestsTypeConverter))]
public class ResourceRequests : Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.IResourceRequests
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.ResourceRequestsTypeConverter))>]
type ResourceRequests = class
    interface IResourceRequests
    interface IJsonSerializable
Public Class ResourceRequests
Implements IResourceRequests
Inheritance
ResourceRequests
Attributes
Implements

Constructors

ResourceRequests()

Creates an new ResourceRequests instance.

Properties

Cpu

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.

Memory

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceRequests.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceRequests.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.IResourceRequests.

FromJsonString(String)

Creates a new instance of ResourceRequests, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceRequests into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to