你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SelfHelpSolutionResource.WarmUpAsync 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.
Warm up the solution resource by preloading asynchronous diagnostics results into cache
- Request Path: /{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup
- Operation Id: Solution_WarmUp
- Default Api Version: 2024-03-01-preview
- Resource: SelfHelpSolutionResource
public virtual System.Threading.Tasks.Task<Azure.Response> WarmUpAsync (Azure.ResourceManager.SelfHelp.Models.SolutionWarmUpContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member WarmUpAsync : Azure.ResourceManager.SelfHelp.Models.SolutionWarmUpContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.WarmUpAsync : Azure.ResourceManager.SelfHelp.Models.SolutionWarmUpContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function WarmUpAsync (Optional content As SolutionWarmUpContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- content
- SolutionWarmUpContent
The required request body for warming up a solution resource.
- cancellationToken
- CancellationToken
The cancellation token to use.