Freigeben über


WebAppsOperationsExtensions.UpdateDiagnosticLogsConfigSlotAsync Methode

Definition

Aktualisierungen die Protokollierungskonfiguration einer App.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SiteLogsConfigInner> UpdateDiagnosticLogsConfigSlotAsync(this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.SiteLogsConfigInner siteLogsConfig, string slot, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDiagnosticLogsConfigSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SiteLogsConfigInner * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.SiteLogsConfigInner>
<Extension()>
Public Function UpdateDiagnosticLogsConfigSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, siteLogsConfig As SiteLogsConfigInner, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SiteLogsConfigInner)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

siteLogsConfig
SiteLogsConfigInner

Ein SiteLogsConfig-JSON-Objekt, das die Protokollierungskonfiguration enthält, die in der Eigenschaft "properties" geändert werden soll.

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, aktualisiert die API die Protokollierungskonfiguration für den Produktionsslot.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Aktualisierungen der Protokollierungskonfiguration einer App.

Gilt für: