Share via


ArmApiManagementModelFactory.IssueContractData Method

Definition

Initializes a new instance of IssueContractData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Date and time when the issue was created.

state
Nullable<IssueState>

Status of the issue.

apiId
ResourceIdentifier

A resource identifier for the API the issue was created for.

title
String

The issue title.

description
String

Text describing the issue.

userId
ResourceIdentifier

A resource identifier for the user created the issue.

Returns

A new IssueContractData instance for mocking.

Applies to