DevOpsConfigurationResource.GetAzureDevOpsOrgAsync Method

Definition

Returns a monitored Azure DevOps organization resource.

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

Parameters

orgName
String
cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

orgName is null.

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

Applies to