Skip to content

Commit c200a5e

Browse files
authored
Merge pull request #111977 from mumian/0420-extended-format
0420 extended format
2 parents 3eebca3 + 5f4e62d commit c200a5e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/azure-resource-manager/templates/deploy-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy resources with Azure CLI and template
33
description: Use Azure Resource Manager and Azure CLI to deploy resources to Azure. The resources are defined in a Resource Manager template.
44
ms.topic: conceptual
5-
ms.date: 03/25/2020
5+
ms.date: 04/20/2020
66
---
77
# Deploy resources with ARM templates and Azure CLI
88

@@ -162,7 +162,7 @@ az deployment group create \
162162

163163
## Handle extended JSON format
164164

165-
To deploy a template with multi-line strings or comments, you must use the `--handle-extended-json-format` switch. For example:
165+
To deploy a template with multi-line strings or comments using Azure CLI with version 2.3.0 or older, you must use the `--handle-extended-json-format` switch. For example:
166166

167167
```json
168168
{

articles/azure-resource-manager/templates/template-syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Template structure and syntax
33
description: Describes the structure and properties of Azure Resource Manager templates using declarative JSON syntax.
44
ms.topic: conceptual
5-
ms.date: 03/16/2020
5+
ms.date: 04/20/2020
66
---
77

88
# Understand the structure and syntax of ARM templates
@@ -288,7 +288,7 @@ You have a few options for adding comments and metadata to your template.
288288
For inline comments, you can use either `//` or `/* ... */` but this syntax doesn't work with all tools. You can't use the portal template editor to work on templates with inline comments. If you add this style of comment, be sure the tools you use support inline JSON comments.
289289

290290
> [!NOTE]
291-
> To deploy templates with comments by using Azure CLI, you must use the `--handle-extended-json-format` switch.
291+
> To deploy templates with comments by using Azure CLI with version 2.3.0 or older, you must use the `--handle-extended-json-format` switch.
292292
293293
```json
294294
{
@@ -399,7 +399,7 @@ You can break a string into multiple lines. For example, see the location proper
399399
],
400400
```
401401

402-
To deploy templates with multi-line strings by using Azure CLI, you must use the `--handle-extended-json-format` switch.
402+
To deploy templates with multi-line strings by using Azure CLI with version 2.3.0 or older, you must use the `--handle-extended-json-format` switch.
403403

404404
## Next steps
405405

0 commit comments

Comments
 (0)