Interface IManagedServerSecurityAlertPoliciesOperations
ManagedServerSecurityAlertPoliciesOperations operations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public interface IManagedServerSecurityAlertPoliciesOperations
Methods
BeginCreateOrUpdateWithHttpMessagesAsync(String, String, ManagedServerSecurityAlertPolicy, Dictionary<String,List<String>>, CancellationToken)
Creates or updates a threat detection policy.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string managedInstanceName, Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
managedInstanceName
The name of the managed instance. |
|
ManagedServerSecurityAlertPolicy
parameters
The managed server security alert policy. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ManagedServerSecurityAlertPolicy>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
CreateOrUpdateWithHttpMessagesAsync(String, String, ManagedServerSecurityAlertPolicy, Dictionary<String,List<String>>, CancellationToken)
Creates or updates a threat detection policy.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string managedInstanceName, Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
managedInstanceName
The name of the managed instance. |
|
ManagedServerSecurityAlertPolicy
parameters
The managed server security alert policy. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ManagedServerSecurityAlertPolicy>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
Get a managed server's threat detection policy.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy>> GetWithHttpMessagesAsync (string resourceGroupName, string managedInstanceName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
managedInstanceName
The name of the managed instance. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ManagedServerSecurityAlertPolicy>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListByInstanceNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)
Get the managed server's threat detection policies.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy>>> ListByInstanceNextWithHttpMessagesAsync (string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<ManagedServerSecurityAlertPolicy>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListByInstanceWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)
Get the managed server's threat detection policies.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy>>> ListByInstanceWithHttpMessagesAsync (string resourceGroupName, string managedInstanceName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
managedInstanceName
The name of the managed instance. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<ManagedServerSecurityAlertPolicy>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |