Partilhar via


ArmSecurityInsightsModelFactory.PullRequestInfo Method

Definition

Initializes a new instance of PullRequestInfo.

public static Azure.ResourceManager.SecurityInsights.Models.PullRequestInfo PullRequestInfo (Uri uri = default, Azure.ResourceManager.SecurityInsights.Models.RecommendationState? state = default);
static member PullRequestInfo : Uri * Nullable<Azure.ResourceManager.SecurityInsights.Models.RecommendationState> -> Azure.ResourceManager.SecurityInsights.Models.PullRequestInfo
Public Shared Function PullRequestInfo (Optional uri As Uri = Nothing, Optional state As Nullable(Of RecommendationState) = Nothing) As PullRequestInfo

Parameters

uri
Uri

URL of pull request.

state
Nullable<RecommendationState>

State of the pull request.

Returns

A new PullRequestInfo instance for mocking.

Applies to