/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { SimplePollerLike, OperationState } from "@azure/core-lro";
import {
ExtendedServerBlobAuditingPolicy,
ExtendedServerBlobAuditingPoliciesListByServerOptionalParams,
ExtendedServerBlobAuditingPoliciesGetOptionalParams,
ExtendedServerBlobAuditingPoliciesGetResponse,
ExtendedServerBlobAuditingPoliciesCreateOrUpdateOptionalParams,
ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse
} from "../models";
///
/** Interface representing a ExtendedServerBlobAuditingPolicies. */
export interface ExtendedServerBlobAuditingPolicies {
/**
* Lists extended auditing settings of a server.
* @param 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.
* @param serverName The name of the server.
* @param options The options parameters.
*/
listByServer(
resourceGroupName: string,
serverName: string,
options?: ExtendedServerBlobAuditingPoliciesListByServerOptionalParams
): PagedAsyncIterableIterator;
/**
* Gets an extended server's blob auditing policy.
* @param 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.
* @param serverName The name of the server.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
serverName: string,
options?: ExtendedServerBlobAuditingPoliciesGetOptionalParams
): Promise;
/**
* Creates or updates an extended server's blob auditing policy.
* @param 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.
* @param serverName The name of the server.
* @param parameters Properties of extended blob auditing policy
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
serverName: string,
parameters: ExtendedServerBlobAuditingPolicy,
options?: ExtendedServerBlobAuditingPoliciesCreateOrUpdateOptionalParams
): Promise<
SimplePollerLike<
OperationState,
ExtendedServerBlobAuditingPoliciesCreateOrUpdateResponse
>
>;
/**
* Creates or updates an extended server's blob auditing policy.
* @param 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.
* @param serverName The name of the server.
* @param parameters Properties of extended blob auditing policy
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
serverName: string,
parameters: ExtendedServerBlobAuditingPolicy,
options?: ExtendedServerBlobAuditingPoliciesCreateOrUpdateOptionalParams
): Promise;
}