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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET