Partilhar via


CosmosDBBuiltInRole Struct

Definition

Built-in CosmosDB roles that you can assign to users, groups, service principals, and managed identities.

public readonly struct CosmosDBBuiltInRole : IEquatable<Azure.Provisioning.CosmosDB.CosmosDBBuiltInRole>
type CosmosDBBuiltInRole = struct
Public Structure CosmosDBBuiltInRole
Implements IEquatable(Of CosmosDBBuiltInRole)
Inheritance
CosmosDBBuiltInRole
Implements

Constructors

CosmosDBBuiltInRole(String)

Built-in CosmosDB roles that you can assign to users, groups, service principals, and managed identities.

Properties

CosmosBackupOperator

Can submit restore request for a Cosmos DB database or a container for an account

CosmosDBAccountReaderRole

Can read Azure Cosmos DB account data. See DocumentDB Account Contributor for managing Azure Cosmos DB accounts.

CosmosDBOperator

Lets you manage Azure Cosmos DB accounts, but not access data in them. Prevents access to account keys and connection strings.

CosmosRestoreOperator

Can perform restore action for Cosmos DB database account with continuous backup mode

DocumentDBAccountContributor

Can manage Azure Cosmos DB accounts. Azure Cosmos DB is formerly known as DocumentDB.

Methods

Equals(CosmosDBBuiltInRole)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(CosmosDBBuiltInRole, CosmosDBBuiltInRole)

Determines if two CosmosDBBuiltInRole values are the same.

Implicit(String to CosmosDBBuiltInRole)

Converts a string to a CosmosDBBuiltInRole.

Inequality(CosmosDBBuiltInRole, CosmosDBBuiltInRole)

Determines if two CosmosDBBuiltInRole values are different.

Applies to