다음을 통해 공유


DeploymentSettings Class

Definition

Deployment settings payload

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

Constructors

Name Description
DeploymentSettings()

Creates an new DeploymentSettings instance.

Properties

Name Description
AddonConfig

Collection of addons

EnvironmentVariable

Collection of environment variables

ResourceRequestCpu

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.

ResourceRequestMemory

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

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeploymentSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeploymentSettings.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeploymentSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to