Share via


ArmSecurityCenterModelFactory.SecurityConnectorGitHubRepositoryProperties Method

Definition

Initializes a new instance of SecurityConnectorGitHubRepositoryProperties.

public static Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorGitHubRepositoryProperties SecurityConnectorGitHubRepositoryProperties (string provisioningStatusMessage = default, DateTimeOffset? provisioningStatusUpdateTimeUtc = default, Azure.ResourceManager.SecurityCenter.Models.DevOpsProvisioningState? provisioningState = default, string repoId = default, string repoName = default, string repoFullName = default, Azure.ResourceManager.SecurityCenter.Models.ResourceOnboardingState? onboardingState = default, Uri repoUri = default, string parentOwnerName = default);
static member SecurityConnectorGitHubRepositoryProperties : string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.SecurityCenter.Models.DevOpsProvisioningState> * string * string * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.ResourceOnboardingState> * Uri * string -> Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorGitHubRepositoryProperties
Public Shared Function SecurityConnectorGitHubRepositoryProperties (Optional provisioningStatusMessage As String = Nothing, Optional provisioningStatusUpdateTimeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of DevOpsProvisioningState) = Nothing, Optional repoId As String = Nothing, Optional repoName As String = Nothing, Optional repoFullName As String = Nothing, Optional onboardingState As Nullable(Of ResourceOnboardingState) = Nothing, Optional repoUri As Uri = Nothing, Optional parentOwnerName As String = Nothing) As SecurityConnectorGitHubRepositoryProperties

Parameters

provisioningStatusMessage
String

Gets or sets resource status message.

provisioningStatusUpdateTimeUtc
Nullable<DateTimeOffset>

Gets or sets time when resource was last checked.

provisioningState
Nullable<DevOpsProvisioningState>

The provisioning state of the resource.

Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.

repoId
String

Gets or sets GitHub Repository id.

This is a numeric id defined by Github. Eg: "123456".

repoName
String

Gets or sets GitHub Repository name. Eg: "new-repo-1".

repoFullName
String

Gets or sets GitHub Full Name. Repository name, prefixed with Owner name. Eg: "my-org/new-repo-1".

onboardingState
Nullable<ResourceOnboardingState>

Details about resource onboarding status across all connectors.

OnboardedByOtherConnector - this resource has already been onboarded to another connector. This is only applicable to top-level resources. Onboarded - this resource has already been onboarded by the specified connector. NotOnboarded - this resource has not been onboarded to any connector. NotApplicable - the onboarding state is not applicable to the current endpoint.

repoUri
Uri

Gets or sets GitHub Repository url.

parentOwnerName
String

Gets or sets parent GitHub Owner name.

Returns

A new SecurityConnectorGitHubRepositoryProperties instance for mocking.

Applies to