あなたの説明と提供されたリンクによると、私は私のside.It上のテストのデモはうまく機能し作成しました。
私はあなたが間違ったブロブSASのURLを設定することと思います。私は、コンテナレベルのSAS URLを生成して再試行することをお勧めします。
SAS形式以下のように:MTテストテンプレートについて
https://{yourstorageaccount}.blob.core.windows.net/mycontainer?sv=2015-04-05&sr=c&sig={sig}&st=2017-10-30T02:09:57Z&se=2217-10-30T02:09:57Z&sp=rwdl
詳細、あなたはコード以下を参照できます。
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"brandosptestName": {
"type": "string",
"minLength": 1
},
"brandosptestSkuName": {
"type": "string",
"defaultValue": "F1",
"allowedValues": [
"F1",
"D1",
"B1",
"B2",
"B3",
"S1",
"S2",
"S3",
"P1",
"P2",
"P3",
"P4"
],
"metadata": {
"description": "Describes plan's pricing tier and capacity. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/"
}
}
},
"variables": {
"bandotestName": "[concat('bandotest', uniqueString(resourceGroup().id))]"
},
"resources": [
{
"name": "[parameters('brandosptestName')]",
"type": "Microsoft.Web/serverfarms",
"location": "[resourceGroup().location]",
"apiVersion": "2015-08-01",
"sku": {
"name": "[parameters('brandosptestSkuName')]"
},
"dependsOn": [ ],
"tags": {
"displayName": "brandosptest"
},
"properties": {
"name": "[parameters('brandosptestName')]",
"numberOfWorkers": 1
}
},
{
"name": "[variables('bandotestName')]",
"type": "Microsoft.Web/sites",
"location": "[resourceGroup().location]",
"apiVersion": "2015-08-01",
"resources": [
{
"name": "logs",
"type": "config",
"apiVersion": "2015-08-01",
"dependsOn": [
"[resourceId('Microsoft.Web/sites',variables('bandotestName'))]"
],
"properties": {
"applicationLogs": {
"fileSystem": {
"level": "Off"
},
"azureTableStorage": {
"level": "Off",
"sasUrl": null
},
"azureBlobStorage": {
"level": "Verbose",
"sasUrl": "url",
"retentionInDays": 7
},
"httpLogs": {
"fileSystem": {
"retentionInMb": 35,
"retentionInDays": 7,
"enabled": false
},
"azureBlobStorage": {
"sasUrl": "url",
"retentionInDays": 7,
"enabled": true
}
},
"failedRequestsTracing": {
"enabled": false
},
"detailedErrorMessages": {
"enabled": false
}
}
}
}
],
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', parameters('brandosptestName'))]"
],
"tags": {
"[concat('hidden-related:', resourceId('Microsoft.Web/serverfarms', parameters('brandosptestName')))]": "Resource",
"displayName": "bandotest"
},
"properties": {
"name": "[variables('bandotestName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('brandosptestName'))]"
}
}
],
"outputs": {
}
}
結果:
を最初にあなたのテンプレートは私の実装に非常によく似ているので、私は完全に困惑しています。 blobストレージ設定が、テンプレートに定義されているアプリケーションサービスの診断ログペインにポップアップ表示されましたか(テンプレート適用時に警告/エラーが表示されませんでした)私は次の日にこの別のショットを与えてくれるでしょうし、あなたのことを忘れないようにしておきます。 – sergevm
最後に、私のテンプレートと上記のサンプルを比較して、もう一度試してみました。依然として同じ部分的な結果が得られます。つまり、ファイルシステムのアプリケーションログとBLOBストレージログのレベルはテンプレートから取得されますが、sasUrlパラメータとretentionInDaysパラメータは取得されません。私は出力で 'success'エントリを取得しますが、ポータルでは取得しません。 – sergevm