你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentResourceProperties Class

Definition

Deployment resource properties payload

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

Constructors

DeploymentResourceProperties()

Creates an new DeploymentResourceProperties instance.

Properties

Active

Indicates whether the Deployment is active

DeploymentSettingAddonConfig

Collection of addons

DeploymentSettingEnvironmentVariable

Collection of environment variables

Instance

Collection of instances belong to the Deployment

ProvisioningState

Provisioning state of the Deployment

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.

Source

Uploaded source information of the deployment.

Status

Status of the Deployment

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeploymentResourceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeploymentResourceProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeploymentResourceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to