Partilhar via


ArmSupportModelFactory.ProblemClassificationData Method

Definition

Overloads

ProblemClassificationData(ResourceIdentifier, String, ResourceType, SystemData, String, IEnumerable<SecondaryConsentEnabled>)

Initializes a new instance of ProblemClassificationData.

ProblemClassificationData(ResourceIdentifier, String, ResourceType, SystemData, String, IEnumerable<SecondaryConsentEnabled>, IReadOnlyDictionary<String, String>, ProblemClassificationData)

Initializes a new instance of ProblemClassificationData.

ProblemClassificationData(ResourceIdentifier, String, ResourceType, SystemData, String, IEnumerable<SecondaryConsentEnabled>)

Source:
ArmSupportModelFactory.cs

Initializes a new instance of ProblemClassificationData.

public static Azure.ResourceManager.Support.ProblemClassificationData ProblemClassificationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Support.Models.SecondaryConsentEnabled> secondaryConsentEnabled = default);
static member ProblemClassificationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Support.Models.SecondaryConsentEnabled> -> Azure.ResourceManager.Support.ProblemClassificationData
Public Shared Function ProblemClassificationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional secondaryConsentEnabled As IEnumerable(Of SecondaryConsentEnabled) = Nothing) As ProblemClassificationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Localized name of problem classification.

secondaryConsentEnabled
IEnumerable<SecondaryConsentEnabled>

This property indicates whether secondary consent is present for problem classification.

Returns

A new ProblemClassificationData instance for mocking.

Applies to

ProblemClassificationData(ResourceIdentifier, String, ResourceType, SystemData, String, IEnumerable<SecondaryConsentEnabled>, IReadOnlyDictionary<String, String>, ProblemClassificationData)

Source:
ArmSupportModelFactory.cs

Initializes a new instance of ProblemClassificationData.

public static Azure.ResourceManager.Support.ProblemClassificationData ProblemClassificationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Support.Models.SecondaryConsentEnabled> secondaryConsentEnabled = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default, Azure.ResourceManager.Support.ProblemClassificationData parentProblemClassification = default);
static member ProblemClassificationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Support.Models.SecondaryConsentEnabled> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.Support.ProblemClassificationData -> Azure.ResourceManager.Support.ProblemClassificationData
Public Shared Function ProblemClassificationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional secondaryConsentEnabled As IEnumerable(Of SecondaryConsentEnabled) = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing, Optional parentProblemClassification As ProblemClassificationData = Nothing) As ProblemClassificationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Localized name of problem classification.

secondaryConsentEnabled
IEnumerable<SecondaryConsentEnabled>

This property indicates whether secondary consent is present for problem classification.

metadata
IReadOnlyDictionary<String,String>

String-to-string dictionary for additional metadata.

parentProblemClassification
ProblemClassificationData

Reference to the parent problem classification which has same structure as problem classification.

Returns

A new ProblemClassificationData instance for mocking.

Applies to