Udostępnij za pośrednictwem


ArmElasticModelFactory.MonitoredResourceContent Method

Definition

Initializes a new instance of MonitoredResourceContent.

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

Parameters

id
String

The ARM id of the resource.

sendingLogs
Nullable<SendingLog>

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 MonitoredResourceContent instance for mocking.

Applies to