126 строки
8.6 KiB
YAML
126 строки
8.6 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cosmos.models.Privilege"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege"
|
|
name: "Privilege"
|
|
nameWithType: "Privilege"
|
|
summary: "The set of data plane operations permitted through this Role Definition."
|
|
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 **Privilege**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.Privilege?alt=com.azure.resourcemanager.cosmos.models.Privilege&text=Privilege\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.Privilege()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.Privilege()"
|
|
name: "Privilege()"
|
|
nameWithType: "Privilege.Privilege()"
|
|
summary: "Creates an instance of Privilege class."
|
|
syntax: "public Privilege()"
|
|
desc: "Creates an instance of Privilege class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.actions()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.actions()"
|
|
name: "actions()"
|
|
nameWithType: "Privilege.actions()"
|
|
summary: "Get the actions property: An array of actions that are allowed."
|
|
syntax: "public List<String> actions()"
|
|
desc: "Get the actions property: An array of actions that are allowed."
|
|
returns:
|
|
description: "the actions value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "Privilege.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Privilege 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 Privilege fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the Privilege."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of Privilege from the JsonReader."
|
|
returns:
|
|
description: "An instance of Privilege if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.Privilege?alt=com.azure.resourcemanager.cosmos.models.Privilege&text=Privilege\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.resource()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.resource()"
|
|
name: "resource()"
|
|
nameWithType: "Privilege.resource()"
|
|
summary: "Get the resource property: An Azure Cosmos DB Mongo DB Resource."
|
|
syntax: "public PrivilegeResource resource()"
|
|
desc: "Get the resource property: An Azure Cosmos DB Mongo DB Resource."
|
|
returns:
|
|
description: "the resource value."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.PrivilegeResource?alt=com.azure.resourcemanager.cosmos.models.PrivilegeResource&text=PrivilegeResource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "Privilege.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.cosmos.models.Privilege.validate()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Privilege.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.withActions(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.withActions(List<String> actions)"
|
|
name: "withActions(List<String> actions)"
|
|
nameWithType: "Privilege.withActions(List<String> actions)"
|
|
summary: "Set the actions property: An array of actions that are allowed."
|
|
parameters:
|
|
- description: "the actions value to set."
|
|
name: "actions"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public Privilege withActions(List<String> actions)"
|
|
desc: "Set the actions property: An array of actions that are allowed."
|
|
returns:
|
|
description: "the Privilege object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.Privilege?alt=com.azure.resourcemanager.cosmos.models.Privilege&text=Privilege\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Privilege.withResource(com.azure.resourcemanager.cosmos.models.PrivilegeResource)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Privilege.withResource(PrivilegeResource resource)"
|
|
name: "withResource(PrivilegeResource resource)"
|
|
nameWithType: "Privilege.withResource(PrivilegeResource resource)"
|
|
summary: "Set the resource property: An Azure Cosmos DB Mongo DB Resource."
|
|
parameters:
|
|
- description: "the resource value to set."
|
|
name: "resource"
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.PrivilegeResource?alt=com.azure.resourcemanager.cosmos.models.PrivilegeResource&text=PrivilegeResource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Privilege withResource(PrivilegeResource resource)"
|
|
desc: "Set the resource property: An Azure Cosmos DB Mongo DB Resource."
|
|
returns:
|
|
description: "the Privilege object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.Privilege?alt=com.azure.resourcemanager.cosmos.models.Privilege&text=Privilege\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The set of data plane operations permitted through this Role Definition."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.Privilege?alt=com.azure.resourcemanager.cosmos.models.Privilege&text=Privilege\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cosmos.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0
|