LogProfileResourcePatch Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
LogProfileResourcePatch() |
Initialisiert eine neue instance der LogProfileResourcePatch-Klasse. |
LogProfileResourcePatch(IList<String>, IList<String>, RetentionPolicy, IDictionary<String,String>, String, String) |
Initialisiert eine neue instance der LogProfileResourcePatch-Klasse. |
LogProfileResourcePatch()
Initialisiert eine neue instance der LogProfileResourcePatch-Klasse.
public LogProfileResourcePatch();
Public Sub New ()
Gilt für:
LogProfileResourcePatch(IList<String>, IList<String>, RetentionPolicy, IDictionary<String,String>, String, String)
Initialisiert eine neue instance der LogProfileResourcePatch-Klasse.
public LogProfileResourcePatch(System.Collections.Generic.IList<string> locations, System.Collections.Generic.IList<string> categories, Microsoft.Azure.Management.Monitor.Models.RetentionPolicy retentionPolicy, System.Collections.Generic.IDictionary<string,string> tags = default, string storageAccountId = default, string serviceBusRuleId = default);
new Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Monitor.Models.RetentionPolicy * System.Collections.Generic.IDictionary<string, string> * string * string -> Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch
Public Sub New (locations As IList(Of String), categories As IList(Of String), retentionPolicy As RetentionPolicy, Optional tags As IDictionary(Of String, String) = Nothing, Optional storageAccountId As String = Nothing, Optional serviceBusRuleId As String = Nothing)
Parameter
Liste der Regionen, für die Aktivitätsprotokollereignisse gespeichert oder gestreamt werden sollen. Es handelt sich um eine durch Trennzeichen getrennte Liste gültiger ARM-Standorte, einschließlich des "globalen" Standorts.
die Kategorien der Protokolle. Diese Kategorien werden so erstellt, wie es für den Benutzer bequem ist. Einige Werte sind: "Write", "Delete" und/oder "Action".
- retentionPolicy
- RetentionPolicy
die Aufbewahrungsrichtlinie für die Ereignisse im Protokoll.
- tags
- IDictionary<String,String>
Ressourcentags
- storageAccountId
- String
Die Ressourcen-ID des Speicherkontos, an das Sie das Aktivitätsprotokoll senden möchten.
- serviceBusRuleId
- String
Die Service Bus-Regel-ID des Service Bus-Namespace, in dem Event Hubs zum Streamen des Aktivitätsprotokolls erstellt werden sollen. Die Regel-ID hat das Format "{Service Bus-Ressourcen-ID}/authorizationrules/{Schlüsselname}".
Gilt für:
Azure SDK for .NET