Compartilhar via


AvailableWorkloadProfile Class

Definition

A workload profile with specific hardware configure to run container apps.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AvailableWorkloadProfileTypeConverter))]
public class AvailableWorkloadProfile : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAvailableWorkloadProfile, Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.AvailableWorkloadProfileTypeConverter))>]
type AvailableWorkloadProfile = class
    interface IAvailableWorkloadProfile
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class AvailableWorkloadProfile
Implements IAvailableWorkloadProfile, IValidates
Inheritance
AvailableWorkloadProfile
Attributes
Implements

Constructors

AvailableWorkloadProfile()

Creates an new AvailableWorkloadProfile instance.

Properties

Applicability

indicates whether the profile is default for the location.

Category

Used to categorize workload profiles.

Core

Number of cores in CPU.

DisplayName

The everyday name of the workload profile.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location

Region of the workload profile.

MemoryGiB

Memory in GiB.

Name

The name 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 last 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AvailableWorkloadProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AvailableWorkloadProfile.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AvailableWorkloadProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to