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

DeploymentResource Class

Definition

Deployment resource payload

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.DeploymentResourceTypeConverter))]
public class DeploymentResource : Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.IDeploymentResource, Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.DeploymentResourceTypeConverter))>]
type DeploymentResource = class
    interface IDeploymentResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class DeploymentResource
Implements IDeploymentResource, IValidates
Inheritance
DeploymentResource
Attributes
Implements

Constructors

DeploymentResource()

Creates an new DeploymentResource instance.

Properties

Active

Indicates whether the Deployment is active

DeploymentSettingAddonConfig

Collection of addons

DeploymentSettingEnvironmentVariable

Collection of environment variables

Id

Fully qualified resource Id for the resource.

Instance

Collection of instances belong to the Deployment

Name

The name of the resource.

ProvisioningState

Provisioning state of the Deployment

ResourceGroupName

Gets the resource group name

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.

SkuCapacity

Current capacity of the target resource

SkuName

Name of the Sku

SkuTier

Tier of the Sku

Source

Uploaded source information of the deployment.

Status

Status of the Deployment

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeploymentResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeploymentResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeploymentResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to