共用方式為


CdnEndpointResource.LoadContent Method

Definition

Pre-loads a content to CDN. Available for Verizon Profiles.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load
  • Operation Id: CdnEndpoints_LoadContent
  • Default Api Version: 2024-02-01
  • Resource: CdnEndpointResource
public virtual Azure.ResourceManager.ArmOperation LoadContent (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.LoadContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member LoadContent : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.LoadContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.LoadContent : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.LoadContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function LoadContent (waitUntil As WaitUntil, content As LoadContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

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.

content
LoadContent

The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to