Skip to content

Set HPOVStorageVolumeTemplate

Chris Lynch edited this page Dec 10, 2020 · 22 revisions

HPE OneView 4.10 Library

Set-HPOVStorageVolumeTemplate

Modify an existing Storage Volume Template resource.

SYNTAX

Set-HPOVStorageVolumeTemplate [-InputObject] <Object>[ [-Capacity] <Int64>][ [-Name] <String>][ [-Description] <String>][ [-SnapshotStoragePool] <Object>][ [-LockSnapShotStoragePool] <SwitchParameter>][ [-StorageSystem] <Object>][ [-LockCapacity] <SwitchParameter>][ [-Thin] <SwitchParameter>][ [-Full] <SwitchParameter>][ [-LockProvisionType] <SwitchParameter>][ [-Shared] <Boolean>][ [-LockProvisionMode] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVStorageVolumeTemplate [-InputObject] <Object>[ [-Capacity] <Int64>][ [-Name] <String>][ [-Description] <String>][ [-StorageSystem] <Object>][ [-LockCapacity] <SwitchParameter>][ [-Thin] <SwitchParameter>][ [-Full] <SwitchParameter>][ [-LockProvisionType] <SwitchParameter>][ [-Shared] <Boolean>][ [-LockProvisionMode] <SwitchParameter>][ [-DataProtectionLevel] <String>][ [-LockProtectionLevel] <SwitchParameter>][ [-EnableAdaptiveOptimization] <SwitchParameter>][ [-LockAdaptiveOptimization] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This cmdlet will help modify an existing Storage Volume Template resource. Only the Volume Name, Description, Capcity, Snapshot Storage Pool, volume shared state and permenance can be modified.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Capacity <Int64>

Aliases [-size] New Max volume capacity in GB. Volume capacity can be increased to maximum of 16 TiB. Decreasing the capacity of volume is not supported.

Before increasing the capacity of fully provisioned volumes, ensure that the storage pool has enough capacity to support the operation. The update operation might fail if there is not enough space available in the storage pool.

e.g. 20 to specify 20GB.

Aliases size
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters?    False

-DataProtectionLevel <String>

Specify the StoreVirtual protection level (aka Network RAID) for the volume. Allowed values are:

* NetworkRaid0None
* NetworkRaid5SingleParity
* NetworkRaid10Mirror2Way
* NetworkRaid10Mirror3Way
* NetworkRaid10Mirror4Way
* NetworkRaid6DualParity
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Description <String>

Updated description for the volume.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-EnableAdaptiveOptimization <SwitchParameter>

Whether or not Adaptive Optimization is enabled on the storage volume. Only supported with StoreVirtual

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Full <SwitchParameter>

NOTE: This parameter is being deprecated for the -ProvisionType parameter. Please update your scripts.

Include to change the provisioned type to Full.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-SVT, -Template]

Source Storage Volume Template resource object.

Aliases SVT, Template
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LockAdaptiveOptimization <SwitchParameter>

Specify to lock the EnableAdaptiveOptimization value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockCapacity <SwitchParameter>

Specify to lock the Capacity value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-LockProtectionLevel <SwitchParameter>

Specify to lock the DataProtectionLevel value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockProvisionMode <SwitchParameter>

Specify to lock the Provision Mode (Shared or Private) value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-LockProvisionType <SwitchParameter>

Specify to lock the ProvisionType value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockSnapShotStoragePool <SwitchParameter>

Specify to lock the SnapshotStoragePool value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

Updated Storage Volume Template Name.

Aliases TemplateName
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Shared <Boolean>

Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-SnapshotStoragePool <Object>

The Storage Pool Name, URI or Object to be used for Volume Snapshots.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-StorageSystem <Object>

When the Storage Pool name is not unique, specify the Storage System name the pool is managed/associate with.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Thin <SwitchParameter>

NOTE: This parameter is being deprecated for the -ProvisionType parameter. Please update your scripts.

Include to change the provisioned type to Thin.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

HPOneView.Storage.VolumeTemplate [System.Management.Automation.PSCustomObject]

Storage Volume Template resource.

Return Values

HPOneView.Storage.VolumeTemplate [System.Management.Automation.PSCustomObject]

Updated Storage Volume Template object.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVStorageVolumeTemplate -Name MyProdVolTemplate | Set-HPOVStorageVolumeTemplate -Size 160

Update "MyProdVolTemplate" volume size to 160GB.

Related Links


HPE OneView 4.00 Library

Set-HPOVStorageVolumeTemplate

Modify an existing Storage Volume Template resource.

SYNTAX

Set-HPOVStorageVolumeTemplate [-InputObject] <Object>[ [-Capacity] <Int64>][ [-Name] <String>][ [-Description] <String>][ [-SnapshotStoragePool] <Object>][ [-LockSnapShotStoragePool] <SwitchParameter>][ [-StorageSystem] <Object>][ [-LockCapacity] <SwitchParameter>][ [-Thin] <SwitchParameter>][ [-Full] <SwitchParameter>][ [-LockProvisionType] <SwitchParameter>][ [-Shared] <Boolean>][ [-LockProvisionMode] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVStorageVolumeTemplate [-InputObject] <Object>[ [-Capacity] <Int64>][ [-Name] <String>][ [-Description] <String>][ [-StorageSystem] <Object>][ [-LockCapacity] <SwitchParameter>][ [-Thin] <SwitchParameter>][ [-Full] <SwitchParameter>][ [-LockProvisionType] <SwitchParameter>][ [-Shared] <Boolean>][ [-LockProvisionMode] <SwitchParameter>][ [-DataProtectionLevel] <String>][ [-LockProtectionLevel] <SwitchParameter>][ [-EnableAdaptiveOptimization] <SwitchParameter>][ [-LockAdaptiveOptimization] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This cmdlet will help modify an existing Storage Volume Template resource. Only the Volume Name, Description, Capcity, Snapshot Storage Pool, volume shared state and permenance can be modified.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Capacity <Int64>

Aliases [-size] New Max volume capacity in GB. Volume capacity can be increased to maximum of 16 TiB. Decreasing the capacity of volume is not supported.

Before increasing the capacity of fully provisioned volumes, ensure that the storage pool has enough capacity to support the operation. The update operation might fail if there is not enough space available in the storage pool.

e.g. 20 to specify 20GB.

Aliases size
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters?    False

-DataProtectionLevel <String>

Specify the StoreVirtual protection level (aka Network RAID) for the volume. Allowed values are:

* NetworkRaid0None
* NetworkRaid5SingleParity
* NetworkRaid10Mirror2Way
* NetworkRaid10Mirror3Way
* NetworkRaid10Mirror4Way
* NetworkRaid6DualParity
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Description <String>

Updated description for the volume.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-EnableAdaptiveOptimization <SwitchParameter>

Whether or not Adaptive Optimization is enabled on the storage volume. Only supported with StoreVirtual

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Full <SwitchParameter>

NOTE: This parameter is being deprecated for the -ProvisionType parameter. Please update your scripts.

Include to change the provisioned type to Full.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-SVT, -Template]

Source Storage Volume Template resource object.

Aliases SVT, Template
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LockAdaptiveOptimization <SwitchParameter>

Specify to lock the EnableAdaptiveOptimization value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockCapacity <SwitchParameter>

Specify to lock the Capacity value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-LockProtectionLevel <SwitchParameter>

Specify to lock the DataProtectionLevel value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockProvisionMode <SwitchParameter>

Specify to lock the Provision Mode (Shared or Private) value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-LockProvisionType <SwitchParameter>

Specify to lock the ProvisionType value in the template.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LockSnapShotStoragePool <SwitchParameter>

Specify to lock the SnapshotStoragePool value in the template.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

Updated Storage Volume Template Name.

Aliases TemplateName
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Shared <Boolean>

Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-SnapshotStoragePool <Object>

The Storage Pool Name, URI or Object to be used for Volume Snapshots.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-StorageSystem <Object>

When the Storage Pool name is not unique, specify the Storage System name the pool is managed/associate with.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Thin <SwitchParameter>

NOTE: This parameter is being deprecated for the -ProvisionType parameter. Please update your scripts.

Include to change the provisioned type to Thin.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

HPOneView.Storage.VolumeTemplate [System.Management.Automation.PSCustomObject]

Storage Volume Template resource.

Return Values

HPOneView.Storage.VolumeTemplate [System.Management.Automation.PSCustomObject]

Updated Storage Volume Template object.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVStorageVolumeTemplate -Name MyProdVolTemplate | Set-HPOVStorageVolumeTemplate -Size 160

Update 'MyProdVolTemplate' volume size to 160GB.

Related Links


Wiki Table of Contents

Clone this wiki locally