Share via


MockableDevCenterResourceGroupResource.GetDevCenter 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> GetDevCenter (string devCenterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevCenter : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterResource>
override this.GetDevCenter : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterResource>
Public Overridable Function GetDevCenter (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 null.

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

Applies to