다음을 통해 공유


ArmSelfHelpModelFactory.SelfHelpDiagnosticData Method

Definition

Initializes a new instance of SelfHelpDiagnosticData.

public static Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticData SelfHelpDiagnosticData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> globalParameters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInvocation> insights = default, DateTimeOffset? acceptedOn = default, Azure.ResourceManager.SelfHelp.Models.SelfHelpProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInfo> diagnostics = default);
static member SelfHelpDiagnosticData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInvocation> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.SelfHelp.Models.SelfHelpProvisioningState> * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInfo> -> Azure.ResourceManager.SelfHelp.SelfHelpDiagnosticData
Public Shared Function SelfHelpDiagnosticData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional globalParameters As IDictionary(Of String, String) = Nothing, Optional insights As IEnumerable(Of SelfHelpDiagnosticInvocation) = Nothing, Optional acceptedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SelfHelpProvisioningState) = Nothing, Optional diagnostics As IEnumerable(Of SelfHelpDiagnosticInfo) = Nothing) As SelfHelpDiagnosticData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

globalParameters
IDictionary<String,String>

Global parameters is an optional map which can be used to add key and value to request body to improve the diagnostics results.

insights
IEnumerable<SelfHelpDiagnosticInvocation>

SolutionIds that are needed to be invoked.

acceptedOn
Nullable<DateTimeOffset>

Diagnostic Request Accepted time.

provisioningState
Nullable<SelfHelpProvisioningState>

Status of diagnostic provisioning.

diagnostics
IEnumerable<SelfHelpDiagnosticInfo>

Array of Diagnostics.

Returns

A new SelfHelpDiagnosticData instance for mocking.

Applies to