Share via


FlowLogInformation(ResourceIdentifier, ResourceIdentifier, Boolean) Constructor

Definition

Initializes a new instance of FlowLogInformation.

public FlowLogInformation (Azure.Core.ResourceIdentifier targetResourceId, Azure.Core.ResourceIdentifier storageId, bool enabled);
new Azure.ResourceManager.Network.Models.FlowLogInformation : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * bool -> Azure.ResourceManager.Network.Models.FlowLogInformation
Public Sub New (targetResourceId As ResourceIdentifier, storageId As ResourceIdentifier, enabled As Boolean)

Parameters

targetResourceId
ResourceIdentifier

The ID of the resource to configure for flow log and traffic analytics (optional) .

storageId
ResourceIdentifier

ID of the storage account which is used to store the flow log.

enabled
Boolean

Flag to enable/disable flow logging.

Exceptions

targetResourceId or storageId is null.

Applies to