MockableDevCenterSubscriptionResource.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check the availability of name for resource.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/checkScopedNameAvailability.
- Operation Id. : CheckScopedNameAvailabilityOperationGroup_Execute.
- Default Api Version. : 2026-01-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>> ExecuteAsync(Azure.ResourceManager.DevCenter.Models.DevCenterScopedNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteAsync : Azure.ResourceManager.DevCenter.Models.DevCenterScopedNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>>
override this.ExecuteAsync : Azure.ResourceManager.DevCenter.Models.DevCenterScopedNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>>
Public Overridable Function ExecuteAsync (content As DevCenterScopedNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevCenterNameAvailabilityResult))
Parameters
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.