## PowerCLI Reference

# SpbmCapability - Object

Property of
  SpbmRule

Parameter to
  New-SpbmRule, Get-SpbmStoragePolicy

Returned by
  Get-SpbmCapability

Properties

Name | Type | Notes
--- | --- | ---
Name | String |
Category | String |
Description | String |
FriendlyName | String |
Mandatory | Boolean |
AllowedValue | Object[] |
DefaultValue | Object[] |
Hint | Boolean |
AllowMultipleConstraints | Boolean |
KeyId | String |
ValueCollectionType | System.Type |
ValueType | System.Type |

Methods

Methods defined in this object
getCapabilityId, toString

## getCapabilityId

Return Capability Id used for SpbmRule creation.

Syntax
  String getCapabilityId()

Return value
  String

Parameters

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

## toString

return a formatted string: <namespace>.<id> : <PS-style data type> E.g: VSAN.maxLatency : string[]

Syntax
  String toString()

Return value
  String

Parameters

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

Copyright © VMware, Inc. All rights reserved.