AzureDevOpsOrgResource.GetAzureDevOpsProject Method

Definition

Returns a monitored Azure DevOps project resource.

public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource> GetAzureDevOpsProject(string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureDevOpsProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource>
override this.GetAzureDevOpsProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.AzureDevOpsProjectResource>
Public Overridable Function GetAzureDevOpsProject (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As 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