Share via


DevCenterCollection.Get(String, CancellationToken) Method

Definition

Gets a devcenter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}
  • Operation Id: DevCenters_Get
public virtual Azure.Response<Azure.ResourceManager.DevCenter.DevCenterResource> Get (string devCenterName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterResource>
Public Overridable Function Get (devCenterName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevCenterResource)

Parameters

devCenterName
String

The name of the devcenter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

devCenterName is null.

Applies to