ManagedServerSecurityAlertPolicies interface    
Interface representing a ManagedServerSecurityAlertPolicies.
Methods
| begin | Creates or updates a threat detection policy. | 
| begin | Creates or updates a threat detection policy. | 
| get(string, string, string, Managed | Get a managed server's threat detection policy. | 
| list | 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedServerSecurityAlertPolicy>, ManagedServerSecurityAlertPolicy>>
		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.
The options parameters.
Returns
Promise<ManagedServerSecurityAlertPolicy>
		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.
The options parameters.
Returns
Promise<ManagedServerSecurityAlertPolicy>
		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.
The options parameters.