共用方式為


ArmDataBoxEdgeModelFactory.DiagnosticProactiveLogCollectionSettingData Method

Definition

Initializes a new instance of DiagnosticProactiveLogCollectionSettingData.

public static Azure.ResourceManager.DataBoxEdge.DiagnosticProactiveLogCollectionSettingData DiagnosticProactiveLogCollectionSettingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.ProactiveDiagnosticsConsent userConsent = default);
static member DiagnosticProactiveLogCollectionSettingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataBoxEdge.Models.ProactiveDiagnosticsConsent -> Azure.ResourceManager.DataBoxEdge.DiagnosticProactiveLogCollectionSettingData
Public Shared Function DiagnosticProactiveLogCollectionSettingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional userConsent As ProactiveDiagnosticsConsent = Nothing) As DiagnosticProactiveLogCollectionSettingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

userConsent
ProactiveDiagnosticsConsent

Proactive diagnostic collection consent flag.

Returns

A new DiagnosticProactiveLogCollectionSettingData instance for mocking.

Applies to