FlowLogs interface

Interface representing a FlowLogs.

Methods

beginCreateOrUpdate(string, string, string, FlowLog, FlowLogsCreateOrUpdateOptionalParams)

Create or update a flow log for the specified network security group.

beginCreateOrUpdateAndWait(string, string, string, FlowLog, FlowLogsCreateOrUpdateOptionalParams)

Create or update a flow log for the specified network security group.

beginDelete(string, string, string, FlowLogsDeleteOptionalParams)

Deletes the specified flow log resource.

beginDeleteAndWait(string, string, string, FlowLogsDeleteOptionalParams)

Deletes the specified flow log resource.

get(string, string, string, FlowLogsGetOptionalParams)

Gets a flow log resource by name.

list(string, string, FlowLogsListOptionalParams)

Lists all flow log resources for the specified Network Watcher.

updateTags(string, string, string, TagsObject, FlowLogsUpdateTagsOptionalParams)

Update tags of the specified flow log.

Method Details

beginCreateOrUpdate(string, string, string, FlowLog, FlowLogsCreateOrUpdateOptionalParams)

Create or update a flow log for the specified network security group.

function beginCreateOrUpdate(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: FlowLog, options?: FlowLogsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FlowLog>, FlowLog>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log.

parameters
FlowLog

Parameters that define the create or update flow log resource.

options
FlowLogsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<FlowLog>, FlowLog>>

beginCreateOrUpdateAndWait(string, string, string, FlowLog, FlowLogsCreateOrUpdateOptionalParams)

Create or update a flow log for the specified network security group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: FlowLog, options?: FlowLogsCreateOrUpdateOptionalParams): Promise<FlowLog>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log.

parameters
FlowLog

Parameters that define the create or update flow log resource.

options
FlowLogsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<FlowLog>

beginDelete(string, string, string, FlowLogsDeleteOptionalParams)

Deletes the specified flow log resource.

function beginDelete(resourceGroupName: string, networkWatcherName: string, flowLogName: string, options?: FlowLogsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log resource.

options
FlowLogsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, FlowLogsDeleteOptionalParams)

Deletes the specified flow log resource.

function beginDeleteAndWait(resourceGroupName: string, networkWatcherName: string, flowLogName: string, options?: FlowLogsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log resource.

options
FlowLogsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, FlowLogsGetOptionalParams)

Gets a flow log resource by name.

function get(resourceGroupName: string, networkWatcherName: string, flowLogName: string, options?: FlowLogsGetOptionalParams): Promise<FlowLog>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log resource.

options
FlowLogsGetOptionalParams

The options parameters.

Returns

Promise<FlowLog>

list(string, string, FlowLogsListOptionalParams)

Lists all flow log resources for the specified Network Watcher.

function list(resourceGroupName: string, networkWatcherName: string, options?: FlowLogsListOptionalParams): PagedAsyncIterableIterator<FlowLog, FlowLog[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group containing Network Watcher.

networkWatcherName

string

The name of the Network Watcher resource.

options
FlowLogsListOptionalParams

The options parameters.

Returns

updateTags(string, string, string, TagsObject, FlowLogsUpdateTagsOptionalParams)

Update tags of the specified flow log.

function updateTags(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: TagsObject, options?: FlowLogsUpdateTagsOptionalParams): Promise<FlowLog>

Parameters

resourceGroupName

string

The name of the resource group.

networkWatcherName

string

The name of the network watcher.

flowLogName

string

The name of the flow log.

parameters
TagsObject

Parameters supplied to update flow log tags.

options
FlowLogsUpdateTagsOptionalParams

The options parameters.

Returns

Promise<FlowLog>