Share via


Endpoints - Load Content

Hiermee laadt u vooraf inhoud naar CDN. Beschikbaar voor Verizon-profielen.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load?api-version=2024-02-01

URI-parameters

Name In Vereist Type Description
endpointName
path True

string

Naam van het eindpunt onder het profiel dat wereldwijd uniek is.

profileName
path True

string

Naam van het CDN-profiel dat uniek is binnen de resourcegroep.

resourceGroupName
path True

string

Naam van de resourcegroep binnen het Azure-abonnement.

Regex pattern: ^[-\w\._\(\)]+$

subscriptionId
path True

string

Azure-abonnements-id.

api-version
query True

string

Versie van de API die moet worden gebruikt met de clientaanvraag. Huidige versie is 2024-02-01.

Aanvraagbody

Name Vereist Type Description
contentPaths True

string[]

Het pad naar de inhoud die moet worden geladen. Het pad moet een relatieve bestands-URL van de oorsprong zijn.

Antwoorden

Name Type Description
200 OK

OK. De aanvraag is voltooid.

202 Accepted

Geaccepteerd en de bewerking wordt asynchroon voltooid.

Headers

location: string

Other Status Codes

ErrorResponse

CDN-foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

Endpoints_LoadContent

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/load?api-version=2024-02-01

{
  "contentPaths": [
    "/folder1"
  ]
}

Sample Response

azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-02-01

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

LoadParameters

Vereiste parameters voor het laden van inhoud.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

LoadParameters

Vereiste parameters voor het laden van inhoud.

Name Type Description
contentPaths

string[]

Het pad naar de inhoud die moet worden geladen. Het pad moet een relatieve bestands-URL van de oorsprong zijn.