AzureDevOpsOrgResource.GetAzureDevOpsProjectAsync Method

Definition

Returns a monitored Azure DevOps project resource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource>> GetAzureDevOpsProjectAsync(string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureDevOpsProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource>>
override this.GetAzureDevOpsProjectAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource>>
Public Overridable Function GetAzureDevOpsProjectAsync (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AzureDevOpsProjectResource))

Parameters

projectName
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

projectName is null.

projectName is an empty string, and was expected to be non-empty.

Applies to