Dela via


LogProfileResourcePatch Class

Definition

The log profile resource for patch operations.

[Microsoft.Rest.Serialization.JsonTransformation]
public class LogProfileResourcePatch
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LogProfileResourcePatch = class
Public Class LogProfileResourcePatch
Inheritance
LogProfileResourcePatch
Attributes

Constructors

LogProfileResourcePatch()

Initializes a new instance of the LogProfileResourcePatch class.

LogProfileResourcePatch(IList<String>, IList<String>, RetentionPolicy, IDictionary<String,String>, String, String)

Initializes a new instance of the LogProfileResourcePatch class.

Properties

Categories

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

Locations

Gets or sets 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.

RetentionPolicy

Gets or sets the retention policy for the events in the log.

ServiceBusRuleId

Gets or sets the service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.

StorageAccountId

Gets or sets the resource id of the storage account to which you would like to send the Activity Log.

Tags

Gets or sets resource tags

Methods

Validate()

Validate the object.

Applies to