Condividi tramite


WorkloadProfile Class

Definition

Workload profile to scope container app execution.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfileTypeConverter))]
public class WorkloadProfile : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.WorkloadProfileTypeConverter))>]
type WorkloadProfile = class
    interface IWorkloadProfile
    interface IJsonSerializable
Public Class WorkloadProfile
Implements IWorkloadProfile
Inheritance
WorkloadProfile
Attributes
Implements

Constructors

WorkloadProfile()

Creates an new WorkloadProfile instance.

Properties

MaximumCount

The maximum capacity.

MinimumCount

The minimum capacity.

Name

Workload profile type for the workloads to run on.

Type

Workload profile type for the workloads to run on.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WorkloadProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WorkloadProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IWorkloadProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WorkloadProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to