ArmSecurityInsightsModelFactory.SecurityInsightsSourceControlData Method

Definition

Initializes a new instance of SecurityInsightsSourceControlData.

public static Azure.ResourceManager.SecurityInsights.SecurityInsightsSourceControlData SecurityInsightsSourceControlData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? sourceControlId = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlVersion? version = default, string displayName = default, string description = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlRepoType repoType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.SourceControlContentType> contentTypes = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlRepository repository = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlServicePrincipal servicePrincipal = default, Azure.ResourceManager.SecurityInsights.Models.RepositoryAccess repositoryAccess = default, Azure.ResourceManager.SecurityInsights.Models.RepositoryResourceInfo repositoryResourceInfo = default, Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentInfo lastDeploymentInfo = default, Azure.ResourceManager.SecurityInsights.Models.PullRequestInfo pullRequest = default, Azure.ETag? etag = default);
static member SecurityInsightsSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SourceControlVersion> * string * string * Azure.ResourceManager.SecurityInsights.Models.SourceControlRepoType * seq<Azure.ResourceManager.SecurityInsights.Models.SourceControlContentType> * Azure.ResourceManager.SecurityInsights.Models.SourceControlRepository * Azure.ResourceManager.SecurityInsights.Models.SourceControlServicePrincipal * Azure.ResourceManager.SecurityInsights.Models.RepositoryAccess * Azure.ResourceManager.SecurityInsights.Models.RepositoryResourceInfo * Azure.ResourceManager.SecurityInsights.Models.SourceControlDeploymentInfo * Azure.ResourceManager.SecurityInsights.Models.PullRequestInfo * Nullable<Azure.ETag> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsSourceControlData
Public Shared Function SecurityInsightsSourceControlData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sourceControlId As Nullable(Of Guid) = Nothing, Optional version As Nullable(Of SourceControlVersion) = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional repoType As SourceControlRepoType = Nothing, Optional contentTypes As IEnumerable(Of SourceControlContentType) = Nothing, Optional repository As SourceControlRepository = Nothing, Optional servicePrincipal As SourceControlServicePrincipal = Nothing, Optional repositoryAccess As RepositoryAccess = Nothing, Optional repositoryResourceInfo As RepositoryResourceInfo = Nothing, Optional lastDeploymentInfo As SourceControlDeploymentInfo = Nothing, Optional pullRequest As PullRequestInfo = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As SecurityInsightsSourceControlData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sourceControlId
Nullable<Guid>

The id (a Guid) of the source control.

version
Nullable<SourceControlVersion>

The version number associated with the source control.

displayName
String

The display name of the source control.

description
String

A description of the source control.

repoType
SourceControlRepoType

The repository type of the source control.

contentTypes
IEnumerable<SourceControlContentType>

Array of source control content types.

repository
SourceControlRepository

Repository metadata.

servicePrincipal
SourceControlServicePrincipal

Service principal metadata.

repositoryAccess
RepositoryAccess

Repository access credentials. This is write-only object and it never returns back to a user.

repositoryResourceInfo
RepositoryResourceInfo

Information regarding the resources created in user's repository.

lastDeploymentInfo
SourceControlDeploymentInfo

Information regarding the latest deployment for the source control.

pullRequest
PullRequestInfo

Information regarding the pull request of the source control.

etag
Nullable<ETag>

Etag of the azure resource.

Returns

A new SecurityInsightsSourceControlData instance for mocking.

Applies to