Share via


AzureDevOpsOrgCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}/orgs/{azureDevOpsOrgName}
  • Operation Id: AzureDevOpsOrg_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.SecurityDevOps.AzureDevOpsOrgResource> GetIfExists (string azureDevOpsOrgName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SecurityDevOps.AzureDevOpsOrgResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SecurityDevOps.AzureDevOpsOrgResource>
Public Overridable Function GetIfExists (azureDevOpsOrgName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AzureDevOpsOrgResource)

Parameters

azureDevOpsOrgName
String

Name of the AzureDevOps Org.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

azureDevOpsOrgName is null.

Applies to