Share via


ArmSecurityCenterModelFactory.SecurityConnectorGitHubOwnerProperties Method

Definition

Initializes a new instance of SecurityConnectorGitHubOwnerProperties.

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

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.

ownerUri
Uri

Gets or sets GitHub Owner url.

gitHubInternalId
String

Gets or sets internal GitHub id.

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.

Returns

A new SecurityConnectorGitHubOwnerProperties instance for mocking.

Applies to