AlertOperationsExtensions.GetRule Method (IAlertOperations, String, String)
Namespace: Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
public static RuleGetResponse GetRule(
this IAlertOperations operations,
string resourceGroupName,
string ruleName
)
public:
[ExtensionAttribute]
static RuleGetResponse^ GetRule(
IAlertOperations^ operations,
String^ resourceGroupName,
String^ ruleName
)
static member GetRule :
operations:IAlertOperations *
resourceGroupName:string *
ruleName:string -> RuleGetResponse
<ExtensionAttribute>
Public Shared Function GetRule (
operations As IAlertOperations,
resourceGroupName As String,
ruleName As String
) As RuleGetResponse
Parameters
operations
Type: Microsoft.Azure.Management.Insights.IAlertOperationsReference to the Microsoft.Azure.Management.Insights.IAlertOperations.
resourceGroupName
Type: System.StringRequired. The name of the resource group.
ruleName
Type: System.StringRequired. The name of the rule to retrieve.
Return Value
Type: Microsoft.Azure.Management.Insights.Models.RuleGetResponse
The Get Rule operation response.
See Also
AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace
Return to top