SqlRoleDefinitionCreateUpdateParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlRoleDefinitionCreateUpdateParameters() |
Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class. |
SqlRoleDefinitionCreateUpdateParameters(String, Nullable<RoleDefinitionType>, IList<String>, IList<Permission>) |
Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class. |
SqlRoleDefinitionCreateUpdateParameters()
Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class.
public SqlRoleDefinitionCreateUpdateParameters ();
Public Sub New ()
Applies to
SqlRoleDefinitionCreateUpdateParameters(String, Nullable<RoleDefinitionType>, IList<String>, IList<Permission>)
Initializes a new instance of the SqlRoleDefinitionCreateUpdateParameters class.
public SqlRoleDefinitionCreateUpdateParameters (string roleName = default, Microsoft.Azure.Management.CosmosDB.Models.RoleDefinitionType? type = 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.SqlRoleDefinitionCreateUpdateParameters : 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.SqlRoleDefinitionCreateUpdateParameters
Public Sub New (Optional roleName As String = Nothing, Optional type As Nullable(Of RoleDefinitionType) = Nothing, Optional assignableScopes As IList(Of String) = Nothing, Optional permissions As IList(Of Permission) = Nothing)
Parameters
- roleName
- String
A user-friendly name for the Role Definition. Must be unique for the database account.
- type
- Nullable<RoleDefinitionType>
Indicates whether the Role Definition was built-in or user created. Possible values include: 'BuiltInRole', 'CustomRole'
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應