Condividi tramite


MonitorExtensions.GetDiagnosticSettings Metodo

Definizione

Overload

GetDiagnosticSettings(ArmClient, ResourceIdentifier)

Ottiene una raccolta di DiagnosticSettingResources in ArmResource.

GetDiagnosticSettings(ArmResource)

Ottiene una raccolta di DiagnosticSettingResources in ArmResource.

GetDiagnosticSettings(ArmClient, ResourceIdentifier)

Ottiene una raccolta di DiagnosticSettingResources in ArmResource.

public static Azure.ResourceManager.Monitor.DiagnosticSettingCollection GetDiagnosticSettings (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetDiagnosticSettings : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.DiagnosticSettingCollection
<Extension()>
Public Function GetDiagnosticSettings (client As ArmClient, scope As ResourceIdentifier) As DiagnosticSettingCollection

Parametri

client
ArmClient

L'istanza ArmClient in cui verrà eseguito il metodo .

scope
ResourceIdentifier

Ambito a cui verrà applicata la risorsa.

Restituisce

Oggetto che rappresenta la raccolta di DiagnosticSettingResources e le relative operazioni su diagnosticSettingResource.

Si applica a

GetDiagnosticSettings(ArmResource)

Ottiene una raccolta di DiagnosticSettingResources in ArmResource.

public static Azure.ResourceManager.Monitor.DiagnosticSettingCollection GetDiagnosticSettings (this Azure.ResourceManager.ArmResource armResource);
static member GetDiagnosticSettings : Azure.ResourceManager.ArmResource -> Azure.ResourceManager.Monitor.DiagnosticSettingCollection
<Extension()>
Public Function GetDiagnosticSettings (armResource As ArmResource) As DiagnosticSettingCollection

Parametri

armResource
ArmResource

L'istanza ArmResource in cui verrà eseguito il metodo .

Restituisce

Oggetto che rappresenta la raccolta di DiagnosticSettingResources e le relative operazioni su diagnosticSettingResource.

Si applica a