## PowerCLI Reference

# SpbmStoragePolicy - Object

Property of
  SpbmVMConfiguration, SpbmHardDiskConfiguration

Parameter to
  Get-SpbmEntityConfiguration, Set-SpbmStoragePolicy, Remove-SpbmStoragePolicy, Get-SpbmCompatibileStorage, Export-SpbmStoragePolicy, Set-SpbmEntityConfiguration, Get-SpbmReplicationGroup

Returned by
  Get-SpbmStoragePolicy, Import-SpbmStoragePolicy, New-SpbmStoragePolicy

Extends
  VmRelatedObject, HardDiskRelatedObject

Properties

Name | Type | Notes
--- | --- | ---
Name | String |
Description | String |
Uid | String |
CreatedBy | String |
CreationTime | String |
LastUpdatedBy | String |
LastUpdatedTime | Date |
Version | Long |
PolicyCategory | SpbmStoragePolicyCategoryEnum |
AnyOfRuleSets | SpbmRuleSet[] |
CommonRule | SpbmRule[] |

Methods

Methods defined in this object
toString

## toString

Returns String representation of the Storage Policy. It will show only name, description and ruleSet in nice formatted way: <RuleSet1> OR <RuleSet2> ... OR <RuleSetN>

Syntax
  String toString()

Return value
  String

Parameters

Name | Type | Description
--- | --- | ---
none

Copyright © VMware, Inc. All rights reserved.