AppPlatformServiceResource.EnableTestEndpointAsync(CancellationToken) 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.
Enable test endpoint functionality for a Service.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/enableTestEndpoint
- Operation Id: Services_EnableTestEndpoint
- Default Api Version: 2022-12-01
- Resource: AppPlatformServiceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys>> EnableTestEndpointAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member EnableTestEndpointAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys>>
override this.EnableTestEndpointAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys>>
Public Overridable Function EnableTestEndpointAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformServiceTestKeys))
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.