Dela via


ContainerAppManagedEnvironmentResource.CheckContainerAppNameAvailability Method

Definition

Checks if resource name is available.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/checkNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2024-03-01
public virtual Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult> CheckContainerAppNameAvailability (Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckContainerAppNameAvailability : Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult>
override this.CheckContainerAppNameAvailability : Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult>
Public Overridable Function CheckContainerAppNameAvailability (content As ContainerAppNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppNameAvailabilityResult)

Parameters

content
ContainerAppNameAvailabilityContent

The check name availability request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to