FlowLogsOperations interface

Interface representing a FlowLogs operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

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

delete

Deletes the specified flow log resource.

get

Gets a flow log resource by name.

list

Lists all flow log resources for the specified Network Watcher.

updateTags

Update tags of the specified flow log.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: FlowLog, options?: FlowLogsCreateOrUpdateOptionalParams) => PollerLike<OperationState<FlowLog>, FlowLog>

Property Value

(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: FlowLog, options?: FlowLogsCreateOrUpdateOptionalParams) => PollerLike<OperationState<FlowLog>, FlowLog>

delete

Deletes the specified flow log resource.

delete: (resourceGroupName: string, networkWatcherName: string, flowLogName: string, options?: FlowLogsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkWatcherName: string, flowLogName: string, options?: FlowLogsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a flow log resource by name.

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

Property Value

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

list

Lists all flow log resources for the specified Network Watcher.

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

Property Value

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

updateTags

Update tags of the specified flow log.

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

Property Value

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