Поделиться через


ServerVulnerabilityAssessments interface

Интерфейс, представляющий serverVulnerabilityAssessmentsments.

Методы

createOrUpdate(string, string, string, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Создает или обновляет оценку уязвимостей сервера. Дополнительные сведения о настройке оценки уязвимостей SQL с помощью управляемого удостоверения — https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

delete(string, string, string, ServerVulnerabilityAssessmentsDeleteOptionalParams)

Удаляет оценку уязвимостей сервера.

get(string, string, string, ServerVulnerabilityAssessmentsGetOptionalParams)

Возвращает оценку уязвимостей сервера.

listByServer(string, string, ServerVulnerabilityAssessmentsListByServerOptionalParams)

Выводит список политик оценки уязвимостей, связанных с сервером.

Сведения о методе

createOrUpdate(string, string, string, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Создает или обновляет оценку уязвимостей сервера. Дополнительные сведения о настройке оценки уязвимостей SQL с помощью управляемого удостоверения — https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

function createOrUpdate(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, parameters: ServerVulnerabilityAssessment, options?: ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<ServerVulnerabilityAssessment>

Параметры

resourceGroupName

string

Имя группы ресурсов, содержащей ресурс. Это значение можно получить из API Azure Resource Manager или портала.

serverName

string

Имя сервера, для которого определена оценка уязвимостей.

vulnerabilityAssessmentName

string

Имя оценки уязвимостей.

parameters
ServerVulnerabilityAssessment

Запрошенный ресурс.

options
ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams

Параметры параметров.

Возвращаемое значение

delete(string, string, string, ServerVulnerabilityAssessmentsDeleteOptionalParams)

Удаляет оценку уязвимостей сервера.

function delete(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, options?: ServerVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>

Параметры

resourceGroupName

string

Имя группы ресурсов, содержащей ресурс. Это значение можно получить из API Azure Resource Manager или портала.

serverName

string

Имя сервера, для которого определена оценка уязвимостей.

vulnerabilityAssessmentName

string

Имя оценки уязвимостей.

options
ServerVulnerabilityAssessmentsDeleteOptionalParams

Параметры параметров.

Возвращаемое значение

Promise<void>

get(string, string, string, ServerVulnerabilityAssessmentsGetOptionalParams)

Возвращает оценку уязвимостей сервера.

function get(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: string, options?: ServerVulnerabilityAssessmentsGetOptionalParams): Promise<ServerVulnerabilityAssessment>

Параметры

resourceGroupName

string

Имя группы ресурсов, содержащей ресурс. Это значение можно получить из API Azure Resource Manager или портала.

serverName

string

Имя сервера, для которого определена оценка уязвимостей.

vulnerabilityAssessmentName

string

Имя оценки уязвимостей.

options
ServerVulnerabilityAssessmentsGetOptionalParams

Параметры параметров.

Возвращаемое значение

listByServer(string, string, ServerVulnerabilityAssessmentsListByServerOptionalParams)

Выводит список политик оценки уязвимостей, связанных с сервером.

function listByServer(resourceGroupName: string, serverName: string, options?: ServerVulnerabilityAssessmentsListByServerOptionalParams): PagedAsyncIterableIterator<ServerVulnerabilityAssessment, ServerVulnerabilityAssessment[], PageSettings>

Параметры

resourceGroupName

string

Имя группы ресурсов, содержащей ресурс. Это значение можно получить из API Azure Resource Manager или портала.

serverName

string

Имя сервера.

options
ServerVulnerabilityAssessmentsListByServerOptionalParams

Параметры параметров.

Возвращаемое значение