共用方式為


MockableMonitorArmClient.GetDiagnosticSettings(ResourceIdentifier) Method

Definition

Gets a collection of DiagnosticSettingResources in the ArmClient.

public virtual Azure.ResourceManager.Monitor.DiagnosticSettingCollection GetDiagnosticSettings (Azure.Core.ResourceIdentifier scope);
abstract member GetDiagnosticSettings : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.DiagnosticSettingCollection
override this.GetDiagnosticSettings : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.DiagnosticSettingCollection
Public Overridable Function GetDiagnosticSettings (scope As ResourceIdentifier) As DiagnosticSettingCollection

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

An object representing collection of DiagnosticSettingResources and their operations over a DiagnosticSettingResource.

Applies to