GremlinRoleDefinitionData Class

Definition

Parameters to create and update an Azure Cosmos DB Gremlin Role Definition.

public class GremlinRoleDefinitionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.GremlinRoleDefinitionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.GremlinRoleDefinitionData>
type GremlinRoleDefinitionData = class
    inherit ResourceData
    interface IJsonModel<GremlinRoleDefinitionData>
    interface IPersistableModel<GremlinRoleDefinitionData>
Public Class GremlinRoleDefinitionData
Inherits ResourceData
Implements IJsonModel(Of GremlinRoleDefinitionData), IPersistableModel(Of GremlinRoleDefinitionData)
Inheritance
GremlinRoleDefinitionData
Implements

Constructors

Name Description
GremlinRoleDefinitionData()

Initializes a new instance of GremlinRoleDefinitionData.

Properties

Name Description
AssignableScopes

A set of fully qualified Scopes at or below which Gremlin Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Permissions

The set of operations allowed through this Role Definition.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RoleDefinitionId

The path id for the Role Definition.

RoleName

A user-friendly name for the Role Definition. Must be unique for the database account.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Type

Indicates whether the Role Definition was built-in or user created.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<GremlinRoleDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<GremlinRoleDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<GremlinRoleDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<GremlinRoleDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<GremlinRoleDefinitionData>.Write(ModelReaderWriterOptions)

Applies to