Edit

Share via


New-AzContainerAppWorkloadProfileObject

Create an in-memory object for WorkloadProfile.

Syntax

Default (Default)

New-AzContainerAppWorkloadProfileObject
    -Name <String>
    -Type <String>
    [-MaximumCount <Int32>]
    [-MinimumCount <Int32>]
    [<CommonParameters>]

Description

Create an in-memory object for WorkloadProfile.

Examples

Example 1: Create an in-memory object for WorkloadProfile.

New-AzContainerAppWorkloadProfileObject -Name "Consumption" -Type "Consumption"
MaximumCount MinimumCount Name
------------ ------------ ----
                          Consumption

Create an in-memory object for WorkloadProfile.

Parameters

-MaximumCount

The maximum capacity.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MinimumCount

The minimum capacity.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Workload profile type for the workloads to run on.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Workload profile type for the workloads to run on.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

WorkloadProfile