Skip to content

Commit 1beac91

Browse files
Merge pull request #1191 from filizt/ScopePropertyUpdate
Add scope property to deployment template schema
2 parents a95b821 + f0ba4c4 commit 1beac91

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

schemas/2014-04-01-preview/deploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2146,6 +2146,10 @@
21462146
"tags": {
21472147
"type": "object",
21482148
"description": "Name-value pairs to add to the resource"
2149+
},
2150+
"scope": {
2151+
"type": "string",
2152+
"description": "Scope for the resource or deployment. Today, this works for two cases: 1) setting the scope for extension resources 2) deploying resources to the tenant scope in non-tenant scope deployments"
21492153
}
21502154
},
21512155
"required": [

schemas/2015-01-01/deploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,10 @@
23372337
"copy": {
23382338
"$ref": "#/definitions/resourceCopy"
23392339
},
2340+
"scope": {
2341+
"type": "string",
2342+
"description": "Scope for the resource or deployment. Today, this works for two cases: 1) setting the scope for extension resources 2) deploying resources to the tenant scope in non-tenant scope deployments"
2343+
},
23402344
"comments": {
23412345
"type": "string"
23422346
}

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@
399399
"copy": {
400400
"$ref": "#/definitions/resourceCopy"
401401
},
402+
"scope": {
403+
"type": "string",
404+
"description": "Scope property to be used to provide scope for a resource or to be used to specify a scope for Management Group or Tenant level deployments."
405+
},
402406
"comments": {
403407
"type": "string"
404408
}

schemas/2019-03-01-hybrid/deploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,6 +3129,10 @@
31293129
"copy": {
31303130
"$ref": "#/definitions/resourceCopy"
31313131
},
3132+
"scope": {
3133+
"type": "string",
3134+
"description": "Scope for the resource or deployment. Today, this works for two cases: 1) setting the scope for extension resources 2) deploying resources to the tenant scope in non-tenant scope deployments"
3135+
},
31323136
"comments": {
31333137
"type": "string"
31343138
}

schemas/2019-04-01/deploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,10 @@
15821582
"copy": {
15831583
"$ref": "#/definitions/resourceCopy"
15841584
},
1585+
"scope": {
1586+
"type": "string",
1587+
"description": "Scope for the resource or deployment. Today, this works for two cases: 1) setting the scope for extension resources 2) deploying resources to the tenant scope in non-tenant scope deployments"
1588+
},
15851589
"comments": {
15861590
"type": "string"
15871591
}

schemas/2019-08-01/managementGroupDeploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@
246246
"copy": {
247247
"$ref": "#/definitions/resourceCopy"
248248
},
249+
"scope": {
250+
"type": "string",
251+
"description": "Scope property to be used to provide scope for a resource or to be used to specify a scope for Management Group or Tenant level deployments."
252+
},
249253
"comments": {
250254
"type": "string"
251255
}

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@
360360
"copy": {
361361
"$ref": "#/definitions/resourceCopy"
362362
},
363+
"scope": {
364+
"type": "string",
365+
"description": "Scope property to be used to provide scope for a resource or to be used to specify a scope for Management Group or Tenant level deployments."
366+
},
363367
"comments": {
364368
"type": "string"
365369
}

0 commit comments

Comments
 (0)