Edit

Share via


New-AzStorageCacheTargetSpaceAllocationObject

Create an in-memory object for StorageTargetSpaceAllocation.

Syntax

Default (Default)

New-AzStorageCacheTargetSpaceAllocationObject
    [-AllocationPercentage <Int32>]
    [-Name <String>]
    [<CommonParameters>]

Description

Create an in-memory object for StorageTargetSpaceAllocation.

Examples

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

New-AzStorageCacheTargetSpaceAllocationObject -AllocationPercentage 100 -Name azps-cachetarget
AllocationPercentage Name
-------------------- ----
100                  azps-cachetarget

Create an in-memory object for StorageTargetSpaceAllocation.

Parameters

-AllocationPercentage

The percentage of cache space allocated for this storage target.

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

Name of the storage target.

Parameter properties

Type:String
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

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

StorageTargetSpaceAllocation