azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

150 строки
10 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SenderAuthorization**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />&gt;"
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 Sender<wbr>Authorization 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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 Sender<wbr>Authorization from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SenderAuthorization fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SenderAuthorization."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SenderAuthorization withScope(String scope)"
desc: "Set the scope property: the scope."
returns:
description: "the SenderAuthorization object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />"
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:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.SenderAuthorization?alt=com.azure.resourcemanager.monitor.models.SenderAuthorization&text=SenderAuthorization\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0