SqlRoleDefinitionGetResults Constructors

Definition

Overloads

SqlRoleDefinitionGetResults()

Initializes a new instance of the SqlRoleDefinitionGetResults class.

SqlRoleDefinitionGetResults(String, String, String, String, Nullable<RoleDefinitionType>, IList<String>, IList<Permission>)

Initializes a new instance of the SqlRoleDefinitionGetResults class.

SqlRoleDefinitionGetResults()

Initializes a new instance of the SqlRoleDefinitionGetResults class.

public SqlRoleDefinitionGetResults ();
Public Sub New ()

Applies to

SqlRoleDefinitionGetResults(String, String, String, String, Nullable<RoleDefinitionType>, IList<String>, IList<Permission>)

Initializes a new instance of the SqlRoleDefinitionGetResults class.

public SqlRoleDefinitionGetResults (string id = default, string name = default, string type = default, string roleName = default, Microsoft.Azure.Management.CosmosDB.Models.RoleDefinitionType? sqlRoleDefinitionGetResultsType = default, System.Collections.Generic.IList<string> assignableScopes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Permission> permissions = default);
new Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults : string * string * string * string * Nullable<Microsoft.Azure.Management.CosmosDB.Models.RoleDefinitionType> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Permission> -> Microsoft.Azure.Management.CosmosDB.Models.SqlRoleDefinitionGetResults
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional roleName As String = Nothing, Optional sqlRoleDefinitionGetResultsType As Nullable(Of RoleDefinitionType) = Nothing, Optional assignableScopes As IList(Of String) = Nothing, Optional permissions As IList(Of Permission) = Nothing)

Parameters

id
String

The unique resource identifier of the database account.

name
String

The name of the database account.

type
String

The type of Azure resource.

roleName
String

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

sqlRoleDefinitionGetResultsType
Nullable<RoleDefinitionType>

Indicates whether the Role Definition was built-in or user created. Possible values include: 'BuiltInRole', 'CustomRole'

assignableScopes
IList<String>

A set of fully qualified Scopes at or below which 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.

permissions
IList<Permission>

The set of operations allowed through this Role Definition.

Applies to