ArmSecurityInsightsModelFactory.SourceControlDeployment Method

Definition

Initializes a new instance of SourceControlDeployment.

public static Azure.ResourceManager.SecurityInsights.Models.SourceControlDeployment SourceControlDeployment (string deploymentId = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentState? deploymentState = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentResult? deploymentResult = default, DateTimeOffset? deploymentOn = default, Uri deploymentLogsUri = default);
static member SourceControlDeployment : string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentState> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentResult> * Nullable<DateTimeOffset> * Uri -> Azure.ResourceManager.SecurityInsights.Models.SourceControlDeployment
Public Shared Function SourceControlDeployment (Optional deploymentId As String = Nothing, Optional deploymentState As Nullable(Of SourceControlDeploymentState) = Nothing, Optional deploymentResult As Nullable(Of SourceControlDeploymentResult) = Nothing, Optional deploymentOn As Nullable(Of DateTimeOffset) = Nothing, Optional deploymentLogsUri As Uri = Nothing) As SourceControlDeployment

Parameters

deploymentId
String

Deployment identifier.

deploymentState
Nullable<SourceControlDeploymentState>

Current status of the deployment.

deploymentResult
Nullable<SourceControlDeploymentResult>

The outcome of the deployment.

deploymentOn
Nullable<DateTimeOffset>

The time when the deployment finished.

deploymentLogsUri
Uri

Url to access repository action logs.

Returns

A new SourceControlDeployment instance for mocking.

Applies to