Dela via


ArmApiManagementModelFactory.ApiIssueCommentData Method

Definition

Initializes a new instance of ApiIssueCommentData.

public static Azure.ResourceManager.ApiManagement.ApiIssueCommentData ApiIssueCommentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string text = default, DateTimeOffset? createdOn = default, Azure.Core.ResourceIdentifier userId = default);
static member ApiIssueCommentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApiManagement.ApiIssueCommentData
Public Shared Function ApiIssueCommentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional text As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional userId As ResourceIdentifier = Nothing) As ApiIssueCommentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

text
String

Comment text.

createdOn
Nullable<DateTimeOffset>

Date and time when the comment was created.

userId
ResourceIdentifier

A resource identifier for the user who left the comment.

Returns

A new ApiIssueCommentData instance for mocking.

Applies to