SmartGroupsOperationsExtensions.ChangeState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Change the state of a Smart Group.
public static Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup ChangeState (this Microsoft.Azure.Management.AlertsManagement.ISmartGroupsOperations operations, string smartGroupId, string newState);
static member ChangeState : Microsoft.Azure.Management.AlertsManagement.ISmartGroupsOperations * string * string -> Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup
<Extension()>
Public Function ChangeState (operations As ISmartGroupsOperations, smartGroupId As String, newState As String) As SmartGroup
Parameters
- operations
- ISmartGroupsOperations
The operations group for this extension method.
- smartGroupId
- String
Smart group unique id.
- newState
- String
New state of the alert. Possible values include: 'New', 'Acknowledged', 'Closed'
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET