ArmSecurityCenterModelFactory.DevOpsRepositoryProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DevOpsRepositoryProperties.
public static Azure.ResourceManager.SecurityCenter.Models.DevOpsRepositoryProperties DevOpsRepositoryProperties (string provisioningStatusMessage = default, DateTimeOffset? provisioningStatusUpdatedOn = default, Azure.ResourceManager.SecurityCenter.Models.DevOpsProvisioningState? provisioningState = default, string parentOrgName = default, string parentProjectName = default, string repoId = default, Uri repoUri = default, string visibility = default, Azure.ResourceManager.SecurityCenter.Models.ResourceOnboardingState? onboardingState = default, Azure.ResourceManager.SecurityCenter.Models.ActionableRemediation actionableRemediation = default);
static member DevOpsRepositoryProperties : string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.SecurityCenter.Models.DevOpsProvisioningState> * string * string * string * Uri * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.ResourceOnboardingState> * Azure.ResourceManager.SecurityCenter.Models.ActionableRemediation -> Azure.ResourceManager.SecurityCenter.Models.DevOpsRepositoryProperties
Public Shared Function DevOpsRepositoryProperties (Optional provisioningStatusMessage As String = Nothing, Optional provisioningStatusUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of DevOpsProvisioningState) = Nothing, Optional parentOrgName As String = Nothing, Optional parentProjectName As String = Nothing, Optional repoId As String = Nothing, Optional repoUri As Uri = Nothing, Optional visibility As String = Nothing, Optional onboardingState As Nullable(Of ResourceOnboardingState) = Nothing, Optional actionableRemediation As ActionableRemediation = Nothing) As DevOpsRepositoryProperties
Parameters
- provisioningStatusMessage
- String
Gets or sets resource status message.
- provisioningStatusUpdatedOn
- 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.
- parentOrgName
- String
Gets or sets parent Azure DevOps Organization name.
- parentProjectName
- String
Gets or sets parent Azure DevOps Project name.
- repoId
- String
Gets or sets Azure DevOps Repository id.
- repoUri
- Uri
Gets or sets Azure DevOps Repository url.
- visibility
- String
Gets or sets Azure DevOps repository visibility, whether it is public or private etc.
- 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.
- actionableRemediation
- ActionableRemediation
Configuration payload for PR Annotations.
Returns
A new DevOpsRepositoryProperties instance for mocking.
Applies to
Azure SDK for .NET