AccessControlModelFactory.SynapseRoleDefinition Method
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.
Initializes a new instance of SynapseRoleDefinition.
public static Azure.Analytics.Synapse.AccessControl.Models.SynapseRoleDefinition SynapseRoleDefinition (Guid? id = default, string name = default, bool? isBuiltIn = default, string description = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.AccessControl.Models.SynapseRbacPermission> permissions = default, System.Collections.Generic.IEnumerable<string> scopes = default, string availabilityStatus = default);
static member SynapseRoleDefinition : Nullable<Guid> * string * Nullable<bool> * string * seq<Azure.Analytics.Synapse.AccessControl.Models.SynapseRbacPermission> * seq<string> * string -> Azure.Analytics.Synapse.AccessControl.Models.SynapseRoleDefinition
Public Shared Function SynapseRoleDefinition (Optional id As Nullable(Of Guid) = Nothing, Optional name As String = Nothing, Optional isBuiltIn As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional permissions As IEnumerable(Of SynapseRbacPermission) = Nothing, Optional scopes As IEnumerable(Of String) = Nothing, Optional availabilityStatus As String = Nothing) As SynapseRoleDefinition
Parameters
- name
- String
Name of the Synapse role.
- description
- String
Description for the Synapse role.
- permissions
- IEnumerable<SynapseRbacPermission>
Permissions for the Synapse role.
- scopes
- IEnumerable<String>
Allowed scopes for the Synapse role.
- availabilityStatus
- String
Availability of the Synapse role.
Returns
A new SynapseRoleDefinition instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET