### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization"
name: "SenderAuthorization"
nameWithType: "SenderAuthorization"
summary: "the authorization used by the user who has performed the operation that led to this event."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **SenderAuthorization** implements <>"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.SenderAuthorization()"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.SenderAuthorization()"
name: "SenderAuthorization()"
nameWithType: "SenderAuthorization.SenderAuthorization()"
summary: "Creates an instance of SenderAuthorization class."
syntax: "public SenderAuthorization()"
desc: "Creates an instance of SenderAuthorization class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.action()"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.action()"
name: "action()"
nameWithType: "SenderAuthorization.action()"
summary: "Get the action property: the permissible actions."
syntax: "public String action()"
desc: "Get the action property: the permissible actions. For instance: microsoft.support/supporttickets/write."
returns:
description: "the action value."
type: "String"
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SenderAuthorization.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of SenderAuthorization from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static SenderAuthorization fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SenderAuthorization."
type: "IOException"
desc: "Reads an instance of SenderAuthorization from the JsonReader."
returns:
description: "An instance of SenderAuthorization if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.role()"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.role()"
name: "role()"
nameWithType: "SenderAuthorization.role()"
summary: "Get the role property: the role of the user."
syntax: "public String role()"
desc: "Get the role property: the role of the user. For instance: Subscription Admin."
returns:
description: "the role value."
type: "String"
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.scope()"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.scope()"
name: "scope()"
nameWithType: "SenderAuthorization.scope()"
summary: "Get the scope property: the scope."
syntax: "public String scope()"
desc: "Get the scope property: the scope."
returns:
description: "the scope value."
type: "String"
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SenderAuthorization.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.validate()"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.validate()"
name: "validate()"
nameWithType: "SenderAuthorization.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withAction(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withAction(String action)"
name: "withAction(String action)"
nameWithType: "SenderAuthorization.withAction(String action)"
summary: "Set the action property: the permissible actions."
parameters:
- description: "the action value to set."
name: "action"
type: "String"
syntax: "public SenderAuthorization withAction(String action)"
desc: "Set the action property: the permissible actions. For instance: microsoft.support/supporttickets/write."
returns:
description: "the SenderAuthorization object itself."
type: ""
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withRole(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withRole(String role)"
name: "withRole(String role)"
nameWithType: "SenderAuthorization.withRole(String role)"
summary: "Set the role property: the role of the user."
parameters:
- description: "the role value to set."
name: "role"
type: "String"
syntax: "public SenderAuthorization withRole(String role)"
desc: "Set the role property: the role of the user. For instance: Subscription Admin."
returns:
description: "the SenderAuthorization object itself."
type: ""
- uid: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withScope(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.SenderAuthorization.withScope(String scope)"
name: "withScope(String scope)"
nameWithType: "SenderAuthorization.withScope(String scope)"
summary: "Set the scope property: the scope."
parameters:
- description: "the scope value to set."
name: "scope"
type: "String"
syntax: "public SenderAuthorization withScope(String scope)"
desc: "Set the scope property: the scope."
returns:
description: "the SenderAuthorization object itself."
type: ""
type: "class"
desc: "the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0