ManagedServerSecurityAlertPolicies interface

Interface representing a ManagedServerSecurityAlertPolicies.

Methods

beginCreateOrUpdate(string, string, string, ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

beginCreateOrUpdateAndWait(string, string, string, ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

get(string, string, string, ManagedServerSecurityAlertPoliciesGetOptionalParams)

Get a managed server's threat detection policy.

listByInstance(string, string, ManagedServerSecurityAlertPoliciesListByInstanceOptionalParams)

Get the managed server's threat detection policies.

Method Details

beginCreateOrUpdate(string, string, string, ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: string, parameters: ManagedServerSecurityAlertPolicy, options?: ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedServerSecurityAlertPolicy>, ManagedServerSecurityAlertPolicy>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

securityAlertPolicyName

string

The name of the security alert policy.

parameters
ManagedServerSecurityAlertPolicy

The managed server security alert policy.

Returns

beginCreateOrUpdateAndWait(string, string, string, ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: string, parameters: ManagedServerSecurityAlertPolicy, options?: ManagedServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ManagedServerSecurityAlertPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

securityAlertPolicyName

string

The name of the security alert policy.

parameters
ManagedServerSecurityAlertPolicy

The managed server security alert policy.

Returns

get(string, string, string, ManagedServerSecurityAlertPoliciesGetOptionalParams)

Get a managed server's threat detection policy.

function get(resourceGroupName: string, managedInstanceName: string, securityAlertPolicyName: string, options?: ManagedServerSecurityAlertPoliciesGetOptionalParams): Promise<ManagedServerSecurityAlertPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

securityAlertPolicyName

string

The name of the security alert policy.

options
ManagedServerSecurityAlertPoliciesGetOptionalParams

The options parameters.

Returns

listByInstance(string, string, ManagedServerSecurityAlertPoliciesListByInstanceOptionalParams)

Get the managed server's threat detection policies.

function listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedServerSecurityAlertPoliciesListByInstanceOptionalParams): PagedAsyncIterableIterator<ManagedServerSecurityAlertPolicy, ManagedServerSecurityAlertPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName

string

The name of the managed instance.

Returns