SynapseServerSecurityAlertPolicyCollection Class

Definition

A class representing a collection of SynapseServerSecurityAlertPolicyResource and their operations. Each SynapseServerSecurityAlertPolicyResource in the collection will belong to the same instance of SynapseWorkspaceResource. To get a SynapseServerSecurityAlertPolicyCollection instance call the GetSynapseServerSecurityAlertPolicies method from an instance of SynapseWorkspaceResource.

public class SynapseServerSecurityAlertPolicyCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>
type SynapseServerSecurityAlertPolicyCollection = class
    inherit ArmCollection
    interface seq<SynapseServerSecurityAlertPolicyResource>
    interface IEnumerable
    interface IAsyncEnumerable<SynapseServerSecurityAlertPolicyResource>
Public Class SynapseServerSecurityAlertPolicyCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SynapseServerSecurityAlertPolicyResource), IEnumerable(Of SynapseServerSecurityAlertPolicyResource)
Inheritance
SynapseServerSecurityAlertPolicyCollection
Implements

Constructors

SynapseServerSecurityAlertPolicyCollection()

Initializes a new instance of the SynapseServerSecurityAlertPolicyCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, SqlServerSecurityAlertPolicyName, SynapseServerSecurityAlertPolicyData, CancellationToken)

Create or Update a workspace managed sql server's threat detection policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, SqlServerSecurityAlertPolicyName, SynapseServerSecurityAlertPolicyData, CancellationToken)

Create or Update a workspace managed sql server's threat detection policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_CreateOrUpdate
Exists(SqlServerSecurityAlertPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
ExistsAsync(SqlServerSecurityAlertPolicyName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
Get(SqlServerSecurityAlertPolicyName, CancellationToken)

Get a workspace managed sql server's security alert policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
GetAll(CancellationToken)

Get workspace managed sql server's threat detection policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_List
GetAllAsync(CancellationToken)

Get workspace managed sql server's threat detection policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_List
GetAsync(SqlServerSecurityAlertPolicyName, CancellationToken)

Get a workspace managed sql server's security alert policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
GetIfExists(SqlServerSecurityAlertPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
GetIfExistsAsync(SqlServerSecurityAlertPolicyName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: WorkspaceManagedSqlServerSecurityAlertPolicy_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SynapseServerSecurityAlertPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SynapseServerSecurityAlertPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to