Bewerken

Delen via


New-AzContainerAppWorkloadProfileObject

Create an in-memory object for WorkloadProfile.

Syntax

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.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MinimumCount

The minimum capacity.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Workload profile type for the workloads to run on.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Type

Workload profile type for the workloads to run on.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

WorkloadProfile