diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json index 81302ea87725..d07f59442b89 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json @@ -318,12 +318,8 @@ "$ref": "#/definitions/AzureCredentials", "description": "AzureCredentials configurations." }, - "contextPath": { - "description": "Context path", - "type": "string" - }, - "image": { - "description": "Image name", + "dockerfilePath": { + "description": "Docker file path", "type": "string" }, "publishType": { @@ -339,7 +335,7 @@ "type": "string" }, "runtimeVersion": { - "description": "Runtime version", + "description": "Runtime Version", "type": "string" } } diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json index c74601557e4d..a3a5bd3e2b5d 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json @@ -19,9 +19,7 @@ "clientId": "", "clientSecret": "", "tenantId": "" - }, - "contextPath": "./", - "image": "image/tag" + } } } } @@ -41,9 +39,7 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" + } } } } @@ -64,9 +60,7 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" + } } } } diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_Get.json index f3ac4cb4f50e..2a1f2bd09f10 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_Get.json @@ -20,9 +20,7 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" + } } } } diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_ListByContainer.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_ListByContainer.json index 7168ca98c68e..04792da0ee0f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_ListByContainer.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_ListByContainer.json @@ -21,9 +21,7 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - }, - "contextPath": "./", - "image": "image/tag" + } } } } diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json index 31bd6a893eae..8af4d61f1abd 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json @@ -318,8 +318,12 @@ "$ref": "#/definitions/AzureCredentials", "description": "AzureCredentials configurations." }, - "dockerfilePath": { - "description": "Docker file path", + "contextPath": { + "description": "Context path", + "type": "string" + }, + "image": { + "description": "Image name", "type": "string" }, "publishType": { @@ -335,7 +339,7 @@ "type": "string" }, "runtimeVersion": { - "description": "Runtime Version", + "description": "Runtime version", "type": "string" } } diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json index 2ac91cfecc44..82ef2efd6ef8 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json @@ -19,7 +19,9 @@ "clientId": "", "clientSecret": "", "tenantId": "" - } + }, + "contextPath": "./", + "image": "image/tag" } } } @@ -39,7 +41,9 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - } + }, + "contextPath": "./", + "image": "image/tag" } } } @@ -60,7 +64,9 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - } + }, + "contextPath": "./", + "image": "image/tag" } } } diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json index 587532a130ec..2e1fa372773c 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json @@ -20,7 +20,9 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - } + }, + "contextPath": "./", + "image": "image/tag" } } } diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_ListByContainer.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_ListByContainer.json index 41a76b00c3c4..f263547e69d0 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_ListByContainer.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_ListByContainer.json @@ -21,7 +21,9 @@ "registryInfo": { "registryUrl": "xwang971reg.azurecr.io", "registryUserName": "xwang971reg" - } + }, + "contextPath": "./", + "image": "image/tag" } } }