Get-OMAlertSubType
This cmdlet retrieves alert subtypes from the specified VMware Aria Operations server. The alert subtype helps you categorize the alerts by areas specific to VMware Aria Operations, so that you can assign certain types of alerts to specific system administrators.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | AlertType | OMAlertType[] | named |
|
Filters the alert subtypes by the type of the alert. |
optional | Name | String[] | named |
|
Filters the alert subtypes by name. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | OMServer[] | named |
|
Specifies the VMware Aria Operations server from which you want to retrieve alerts. The value can be the connection object returned by the Connect-OMServer cmdlet or the object's name, which can be the IP or DNS address of the server machine. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Id | String[] | named |
|
Filters the alert subtypes by ID. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | OMServer[] | named |
|
Specifies the VMware Aria Operations server from which you want to retrieve alerts. The value can be the connection object returned by the Connect-OMServer cmdlet or the object's name, which can be the IP or DNS address of the server machine. |
Output
VMware.VimAutomation.vROps.Types.V1.OMAlertSubtypeExamples
Example 1
Get-OMAlertSubType
Lists all available alert subtypes.
Example 2
Get-OMAlertSubType -Name 'Performance'
Retrieves all alert subtypes named 'Performance'.
Example 3
$alertType = Get-OMAlertType -Name 'Network Alerts' Get-OMAlertSubType -AlertType $alertType
Retrieves all applicable alert subtypes for an alert type.
Related Commands
OMAlert
This cmdlet retrieves alerts from the specified VMware Aria Operations server.
This cmdlet configures VMware Aria Operations alerts.
OMAlertDefinition
This cmdlet retrieves alert definitions from the specified VMware Aria Operations server.
OMAlertSubType
This cmdlet retrieves alert subtypes from the specified VMware Aria Operations server.
OMAlertType
This cmdlet retrieves alert types from the specified VMware Aria Operations server.