Uses of Class
com.azure.resourcemanager.cosmos.models.PrivilegeResource
Packages that use PrivilegeResource
Package
Description
Package containing the data models for CosmosDBManagementClient.
-
Uses of PrivilegeResource in com.azure.resourcemanager.cosmos.models
Methods in com.azure.resourcemanager.cosmos.models that return PrivilegeResourceModifier and TypeMethodDescriptionstatic PrivilegeResource
PrivilegeResource.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of PrivilegeResource from the JsonReader.Privilege.resource()
Get the resource property: An Azure Cosmos DB Mongo DB Resource.PrivilegeResource.withCollection
(String collection) Set the collection property: The collection name the role is applied.Set the db property: The database name the role is applied.Methods in com.azure.resourcemanager.cosmos.models with parameters of type PrivilegeResourceModifier and TypeMethodDescriptionPrivilege.withResource
(PrivilegeResource resource) Set the resource property: An Azure Cosmos DB Mongo DB Resource.