LogProfileResource 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.
[Microsoft.Rest.Serialization.JsonTransformation]
public class LogProfileResource : Microsoft.Azure.Management.Monitor.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LogProfileResource = class
inherit Resource
Public Class LogProfileResource
Inherits Resource
- Inheritance
- Attributes
Constructors
LogProfileResource() |
Initializes a new instance of the LogProfileResource class. |
LogProfileResource(String, IList<String>, IList<String>, RetentionPolicy, String, String, String, IDictionary<String,String>, String, String, String, String) |
Initializes a new instance of the LogProfileResource 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.' |
Etag |
Gets the etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. (Inherited from Resource) |
Id |
Gets azure resource Id (Inherited from Resource) |
Kind |
Gets metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. (Inherited from Resource) |
Location |
Gets or sets resource location (Inherited from Resource) |
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. |
Name |
Gets azure resource name (Inherited from Resource) |
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 (Inherited from Resource) |
Type |
Gets azure resource type (Inherited from Resource) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET