ArmElasticModelFactory.MonitoredResourceInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.