C# Класс Microsoft.Azure.Commands.Sql.ThreatDetection.Services.ThreatDetectionEndpointsCommunicator

This class is responsible for all the REST communication with the security alert REST endpoints
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Открытые методы

Метод Описание
GetDatabaseSecurityAlertPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicy

Gets the database security alert policy for the given database in the given database server in the given resource group

GetServerCreateOrUpdateOperationStatus ( string operationStatusLink, string clientRequestId ) : OperationStatus

Returns the operation status of a server create or update operation

GetServerSecurityAlertPolicy ( string resourceGroupName, string serverName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicy

Gets the server security alert policy for the given server in the given resource group

SetDatabaseSecurityAlertPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicyCreateOrUpdateParameters parameters ) : void

Calls the set security alert APIs for the database security alert policy for the given database in the given database server in the given resource group

SetServerSecurityAlertPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicyCreateOrUpdateParameters parameters ) : void

Calls the set security alert APIs for the server security alert policy in the given resource group

ThreatDetectionEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Приватные методы

Метод Описание
GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

Описание методов

GetDatabaseSecurityAlertPolicy() публичный Метод

Gets the database security alert policy for the given database in the given database server in the given resource group
public GetDatabaseSecurityAlertPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicy
resourceGroupName string
serverName string
databaseName string
clientRequestId string
Результат Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicy

GetServerCreateOrUpdateOperationStatus() публичный Метод

Returns the operation status of a server create or update operation
public GetServerCreateOrUpdateOperationStatus ( string operationStatusLink, string clientRequestId ) : OperationStatus
operationStatusLink string
clientRequestId string
Результат OperationStatus

GetServerSecurityAlertPolicy() публичный Метод

Gets the server security alert policy for the given server in the given resource group
public GetServerSecurityAlertPolicy ( string resourceGroupName, string serverName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicy
resourceGroupName string
serverName string
clientRequestId string
Результат Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicy

SetDatabaseSecurityAlertPolicy() публичный Метод

Calls the set security alert APIs for the database security alert policy for the given database in the given database server in the given resource group
public SetDatabaseSecurityAlertPolicy ( string resourceGroupName, string serverName, string databaseName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicyCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
databaseName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.DatabaseSecurityAlertPolicyCreateOrUpdateParameters
Результат void

SetServerSecurityAlertPolicy() публичный Метод

Calls the set security alert APIs for the server security alert policy in the given resource group
public SetServerSecurityAlertPolicy ( string resourceGroupName, string serverName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicyCreateOrUpdateParameters parameters ) : void
resourceGroupName string
serverName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.ServerSecurityAlertPolicyCreateOrUpdateParameters
Результат void

ThreatDetectionEndpointsCommunicator() публичный Метод

public ThreatDetectionEndpointsCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication