共用方式為


ArmElasticModelFactory.MonitoredResourceInfo Method

Definition

Initializes a new instance of MonitoredResourceInfo.

public static Azure.ResourceManager.Elastic.Models.MonitoredResourceInfo MonitoredResourceInfo (Azure.Core.ResourceIdentifier id = default, Azure.ResourceManager.Elastic.Models.SendingLogsStatus? sendingLogs = default, string reasonForLogsStatus = default);
static member MonitoredResourceInfo : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Elastic.Models.SendingLogsStatus> * string -> Azure.ResourceManager.Elastic.Models.MonitoredResourceInfo
Public Shared Function MonitoredResourceInfo (Optional id As ResourceIdentifier = Nothing, Optional sendingLogs As Nullable(Of SendingLogsStatus) = Nothing, Optional reasonForLogsStatus As String = Nothing) As MonitoredResourceInfo

Parameters

id
ResourceIdentifier

The ARM id of the resource.

sendingLogs
Nullable<SendingLogsStatus>

Flag indicating the status of the resource for sending logs operation to Elastic.

reasonForLogsStatus
String

Reason for why the resource is sending logs (or why it is not sending).

Returns

A new MonitoredResourceInfo instance for mocking.

Applies to