Megosztás a következőn keresztül:


LogProfileData Constructor

Definition

Initializes a new instance of LogProfileData.

public LogProfileData (Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations, System.Collections.Generic.IEnumerable<string> categories, Azure.ResourceManager.Monitor.Models.RetentionPolicy retentionPolicy);
new Azure.ResourceManager.Monitor.LogProfileData : Azure.Core.AzureLocation * seq<Azure.Core.AzureLocation> * seq<string> * Azure.ResourceManager.Monitor.Models.RetentionPolicy -> Azure.ResourceManager.Monitor.LogProfileData
Public Sub New (location As AzureLocation, locations As IEnumerable(Of AzureLocation), categories As IEnumerable(Of String), retentionPolicy As RetentionPolicy)

Parameters

location
AzureLocation

The location.

locations
IEnumerable<AzureLocation>

List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.

categories
IEnumerable<String>

the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.

retentionPolicy
RetentionPolicy

the retention policy for the events in the log.

Exceptions

locations, categories or retentionPolicy is null.

Applies to