Class LogProfileState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public sealed class LogProfileState : ResourceArgs
Constructors
View SourceLogProfileState()
Declaration
public LogProfileState()
Properties
View SourceCategories
List of categories of the logs.
Declaration
public InputList<string> Categories { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Locations
List of regions for which Activity Log events are stored or streamed.
Declaration
public InputList<string> Locations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Name
The name of the Log Profile. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RetentionPolicy
A retention_policy block as documented below. A retention policy for how long Activity Logs are retained in the storage account.
Declaration
public Input<LogProfileRetentionPolicyGetArgs> RetentionPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LogProfileRetentionPolicyGetArgs> |
ServicebusRuleId
The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to. At least one of storage_account_id or servicebus_rule_id must be set.
Declaration
public Input<string> ServicebusRuleId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountId
The resource ID of the storage account in which the Activity Log is stored. At least one of storage_account_id or servicebus_rule_id must be set.
Declaration
public Input<string> StorageAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |