MetricSettings.DeserializeFromPSObject(PSObject) Method

Definition

Deserializes a PSObject into an instance of MetricSettings.

public static Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.IMetricSettings DeserializeFromPSObject (System.Management.Automation.PSObject content);
static member DeserializeFromPSObject : System.Management.Automation.PSObject -> Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.IMetricSettings
Public Shared Function DeserializeFromPSObject (content As PSObject) As IMetricSettings

Parameters

content
PSObject

The global::System.Management.Automation.PSObject content that should be used.

Returns

an instance of IMetricSettings.

Applies to