Aracılığıyla paylaş


Endpoints - Load Content

İçeriği CDN'ye önceden yükler. Verizon Profilleri için kullanılabilir.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
endpointName
path True

string

Profilin altında genel olarak benzersiz olan uç noktanın adı.

profileName
path True

string

Kaynak grubu içinde benzersiz olan CDN profilinin adı.

resourceGroupName
path True

string

Azure aboneliğindeki Kaynak grubunun adı.

Normal ifade deseni: ^[-\w\._\(\)]+$

subscriptionId
path True

string

Azure Abonelik Kimliği.

api-version
query True

string

İstemci isteğiyle kullanılacak API sürümü. Geçerli sürüm: 2024-02-01.

İstek Gövdesi

Name Gerekli Tür Description
contentPaths True

string[]

Yüklenecek içeriğin yolu. Yol, kaynağın göreli dosya URL'si olmalıdır.

Yanıtlar

Name Tür Description
200 OK

Tamam ögesini seçin. İstek başarılı oldu.

202 Accepted

Kabul edilir ve işlem zaman uyumsuz olarak tamamlanır.

Üst Bilgiler

location: string

Other Status Codes

ErrorResponse

İşlemin neden başarısız olduğunu açıklayan CDN hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

Tür: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

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

Tanımlar

Name Description
ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

LoadParameters

İçerik yükü için gereken parametreler.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

LoadParameters

İçerik yükü için gereken parametreler.

Name Tür Description
contentPaths

string[]

Yüklenecek içeriğin yolu. Yol, kaynağın göreli dosya URL'si olmalıdır.