Share via


SqlUserAuditAdapter<AuditPolicyType,ExtendedAuditPolicyType,AuditModelType> Constructor

Definition

public SqlUserAuditAdapter (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Guid roleAssignmentId = default);
new Microsoft.Azure.Commands.Synapse.Models.Auditing.SqlUserAuditAdapter<'AuditPolicyType, 'ExtendedAuditPolicyType, 'AuditModelType (requires 'AuditPolicyType :> Microsoft.Azure.Management.Synapse.Models.ProxyResource and 'AuditPolicyType : (new : unit -> 'AuditPolicyType) and 'ExtendedAuditPolicyType :> Microsoft.Azure.Management.Synapse.Models.ProxyResource and 'ExtendedAuditPolicyType : (new : unit -> 'ExtendedAuditPolicyType) and 'AuditModelType :> Microsoft.Azure.Commands.Synapse.Models.Auditing.WorkspaceAuditModel)> : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Guid -> Microsoft.Azure.Commands.Synapse.Models.Auditing.SqlUserAuditAdapter<'AuditPolicyType, 'ExtendedAuditPolicyType, 'AuditModelType (requires 'AuditPolicyType :> Microsoft.Azure.Management.Synapse.Models.ProxyResource and 'AuditPolicyType : (new : unit -> 'AuditPolicyType) and 'ExtendedAuditPolicyType :> Microsoft.Azure.Management.Synapse.Models.ProxyResource and 'ExtendedAuditPolicyType : (new : unit -> 'ExtendedAuditPolicyType) and 'AuditModelType :> Microsoft.Azure.Commands.Synapse.Models.Auditing.WorkspaceAuditModel)>
Public Sub New (context As IAzureContext, Optional roleAssignmentId As Guid = Nothing)

Parameters

context
IAzureContext
roleAssignmentId
Guid

Applies to