Class ArmRoleReceiver
An arm role receiver.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class ArmRoleReceiver
Constructors
ArmRoleReceiver()
Initializes a new instance of the ArmRoleReceiver class.
Declaration
public ArmRoleReceiver ();
ArmRoleReceiver(String, String, Boolean)
Initializes a new instance of the ArmRoleReceiver class.
Declaration
public ArmRoleReceiver (string name, string roleId, bool useCommonAlertSchema);
Parameters
|
String
name
The name of the arm role receiver. Names must be unique across all receivers within an action group. |
|
String
roleId
The arm role id. |
|
Boolean
useCommonAlertSchema
Indicates whether to use common alert schema. |
Properties
Name
Gets or sets the name of the arm role receiver. Names must be unique across all receivers within an action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
|
String
|
RoleId
Gets or sets the arm role id.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="roleId")]
public string RoleId { get; set; }
Property Value
|
String
|
UseCommonAlertSchema
Gets or sets indicates whether to use common alert schema.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="useCommonAlertSchema")]
public bool UseCommonAlertSchema { get; set; }
Property Value
|
Boolean
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |