共用方式為


AppPlatformConfigurationServiceResource.ValidateAsync Method

Definition

Check if the Application Configuration Service settings are valid.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/configurationServices/{configurationServiceName}/validate
  • Operation Id: ConfigurationServices_Validate
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformConfigurationServiceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettingsValidateResult>> ValidateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettings settings, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAsync : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettingsValidateResult>>
override this.ValidateAsync : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.Models.AppPlatformConfigurationServiceSettingsValidateResult>>
Public Overridable Function ValidateAsync (waitUntil As WaitUntil, settings As AppPlatformConfigurationServiceSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AppPlatformConfigurationServiceSettingsValidateResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

settings
AppPlatformConfigurationServiceSettings

Application Configuration Service settings to be validated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

settings is null.

Applies to