Share via


AzureDevOpsRepository Class

Definition

Azure DevOps Repository resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.AzureDevOpsRepositoryTypeConverter))]
public class AzureDevOpsRepository : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IAzureDevOpsRepository, Microsoft.Azure.PowerShell.Cmdlets.Security.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.AzureDevOpsRepositoryTypeConverter))>]
type AzureDevOpsRepository = class
    interface IAzureDevOpsRepository
    interface IJsonSerializable
    interface IProxyResource
    interface IResourceAutoGenerated
    interface IValidates
Public Class AzureDevOpsRepository
Implements IAzureDevOpsRepository, IValidates
Inheritance
AzureDevOpsRepository
Attributes
Implements

Constructors

AzureDevOpsRepository()

Creates an new AzureDevOpsRepository instance.

Properties

ActionableRemediation

Configuration payload for PR Annotations.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

OnboardingState

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.

ParentOrgName

Gets or sets parent Azure DevOps Organization name.

ParentProjectName

Gets or sets parent Azure DevOps Project name.

ProvisioningState

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.

ProvisioningStatusMessage

Gets or sets resource status message.

ProvisioningStatusUpdateTimeUtc

Gets or sets time when resource was last checked.

RepoId

Gets or sets Azure DevOps Repository id.

RepoUrl

Gets or sets Azure DevOps Repository url.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Visibility

Gets or sets Azure DevOps repository visibility, whether it is public or private etc.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureDevOpsRepository.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureDevOpsRepository.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IAzureDevOpsRepository.

FromJsonString(String)

Creates a new instance of AzureDevOpsRepository, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureDevOpsRepository into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to