LogProfilePatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The log profile resource for patch operations.
public class LogProfilePatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.LogProfilePatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.LogProfilePatch>
type LogProfilePatch = class
interface IJsonModel<LogProfilePatch>
interface IPersistableModel<LogProfilePatch>
Public Class LogProfilePatch
Implements IJsonModel(Of LogProfilePatch), IPersistableModel(Of LogProfilePatch)
- Inheritance
-
LogProfilePatch
- Implements
Constructors
LogProfilePatch() |
Initializes a new instance of LogProfilePatch. |
Properties
Categories |
the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'. |
Locations |
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 |
the retention policy for the events in the log. |
ServiceBusRuleId |
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 |
the resource id of the storage account to which you would like to send the Activity Log. |
Tags |
Resource tags. |
Explicit Interface Implementations
IJsonModel<LogProfilePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<LogProfilePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<LogProfilePatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<LogProfilePatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<LogProfilePatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET