Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerSecurityAlertPolicies

Package version

Class representing a ServerSecurityAlertPolicies.

Hierarchy

  • ServerSecurityAlertPolicies

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, serverName: string, parameters: ServerSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates a threat detection policy.

    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.

    • serverName: string

      The name of the server.

    • parameters: ServerSecurityAlertPolicy

      The server security alert policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, serverName: string, parameters: ServerSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise<Models.ServerSecurityAlertPoliciesCreateOrUpdateResponse>
  • Creates or updates a threat detection policy.

    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.

    • serverName: string

      The name of the server.

    • parameters: ServerSecurityAlertPolicy

      The server security alert policy.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ServerSecurityAlertPoliciesCreateOrUpdateResponse>

    Promise<Models.ServerSecurityAlertPoliciesCreateOrUpdateResponse>

get

  • get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServerSecurityAlertPoliciesGetResponse>
  • get(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<ServerSecurityAlertPolicy>): void
  • get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ServerSecurityAlertPolicy>): void
  • Get a server's security alert policy.

    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.

    • serverName: string

      The name of the server.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ServerSecurityAlertPoliciesGetResponse>

    Promise<Models.ServerSecurityAlertPoliciesGetResponse>

  • 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.

    • serverName: string

      The name of the server.

    • callback: msRest.ServiceCallback<ServerSecurityAlertPolicy>

      The callback

    Returns void

  • 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.

    • serverName: string

      The name of the server.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ServerSecurityAlertPolicy>

      The callback

    Returns void

Generated using TypeDoc