共用方式為


WebSiteResource.AnalyzeCustomHostnameAsync(String, CancellationToken) Method

Definition

Description for Analyze a custom hostname.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname
  • Operation Id: WebApps_AnalyzeCustomHostname
  • Default Api Version: 2024-04-01
  • Resource: WebSiteResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.CustomHostnameAnalysisResult>> AnalyzeCustomHostnameAsync (string hostName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AnalyzeCustomHostnameAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.CustomHostnameAnalysisResult>>
override this.AnalyzeCustomHostnameAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.CustomHostnameAnalysisResult>>
Public Overridable Function AnalyzeCustomHostnameAsync (Optional hostName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CustomHostnameAnalysisResult))

Parameters

hostName
String

Custom hostname.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to