Skip to content

Commit 9dff6e9

Browse files
author
SDKAuto
committed
CodeGen from PR 14907 in Azure/azure-rest-api-specs
Added default values for parameters for Import Export (#14907) * Added default values for parameters * added single multipath for go
1 parent ae97def commit 9dff6e9

File tree

6 files changed

+24
-15
lines changed

6 files changed

+24
-15
lines changed

schemas/2016-11-01/Microsoft.ImportExport.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@
261261
"backupDriveManifest": {
262262
"oneOf": [
263263
{
264-
"type": "boolean"
264+
"type": "boolean",
265+
"default": false
265266
},
266267
{
267268
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -272,7 +273,8 @@
272273
"cancelRequested": {
273274
"oneOf": [
274275
{
275-
"type": "boolean"
276+
"type": "boolean",
277+
"default": false
276278
},
277279
{
278280
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -404,6 +406,7 @@
404406
},
405407
"state": {
406408
"type": "string",
409+
"default": "Creating",
407410
"description": "Current state of the job."
408411
},
409412
"storageAccountId": {

schemas/2018-05-01/subscriptionDeploymentTemplate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"resources": {
5151
"description": "Collection of resources to be deployed",
52-
"oneOf":[
52+
"oneOf": [
5353
{
5454
"$ref": "#/definitions/resourcesWithoutSymbolicNames"
5555
},
@@ -987,14 +987,14 @@
987987
}
988988
]
989989
},
990-
"resourcesWithSymbolicNames":{
990+
"resourcesWithSymbolicNames": {
991991
"type": "object",
992992
"description": "Resources with symbolic names",
993993
"additionalProperties": {
994994
"$ref": "#/definitions/resource"
995995
}
996996
},
997-
"resourcesWithoutSymbolicNames":{
997+
"resourcesWithoutSymbolicNames": {
998998
"type": "array",
999999
"description": "Resources without symbolic names",
10001000
"items": {

schemas/2019-08-01/managementGroupDeploymentTemplate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"resources": {
5151
"description": "Collection of resources to be deployed",
52-
"oneOf":[
52+
"oneOf": [
5353
{
5454
"$ref": "#/definitions/resourcesWithoutSymbolicNames"
5555
},
@@ -678,14 +678,14 @@
678678
}
679679
]
680680
},
681-
"resourcesWithSymbolicNames":{
681+
"resourcesWithSymbolicNames": {
682682
"type": "object",
683683
"description": "Resources with symbolic names",
684684
"additionalProperties": {
685685
"$ref": "#/definitions/resource"
686686
}
687687
},
688-
"resourcesWithoutSymbolicNames":{
688+
"resourcesWithoutSymbolicNames": {
689689
"type": "array",
690690
"description": "Resources without symbolic names",
691691
"items": {

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"resources": {
5151
"description": "Collection of resources to be deployed",
52-
"oneOf":[
52+
"oneOf": [
5353
{
5454
"$ref": "#/definitions/resourcesWithoutSymbolicNames"
5555
},
@@ -798,14 +798,14 @@
798798
}
799799
]
800800
},
801-
"resourcesWithSymbolicNames":{
801+
"resourcesWithSymbolicNames": {
802802
"type": "object",
803803
"description": "Resources with symbolic names",
804804
"additionalProperties": {
805805
"$ref": "#/definitions/resource"
806806
}
807807
},
808-
"resourcesWithoutSymbolicNames":{
808+
"resourcesWithoutSymbolicNames": {
809809
"type": "array",
810810
"description": "Resources without symbolic names",
811811
"items": {

schemas/2020-08-01/Microsoft.ImportExport.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@
261261
"backupDriveManifest": {
262262
"oneOf": [
263263
{
264-
"type": "boolean"
264+
"type": "boolean",
265+
"default": false
265266
},
266267
{
267268
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -272,7 +273,8 @@
272273
"cancelRequested": {
273274
"oneOf": [
274275
{
275-
"type": "boolean"
276+
"type": "boolean",
277+
"default": false
276278
},
277279
{
278280
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -404,6 +406,7 @@
404406
},
405407
"state": {
406408
"type": "string",
409+
"default": "Creating",
407410
"description": "Current state of the job."
408411
},
409412
"storageAccountId": {

schemas/2021-01-01/Microsoft.ImportExport.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@
261261
"backupDriveManifest": {
262262
"oneOf": [
263263
{
264-
"type": "boolean"
264+
"type": "boolean",
265+
"default": false
265266
},
266267
{
267268
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -272,7 +273,8 @@
272273
"cancelRequested": {
273274
"oneOf": [
274275
{
275-
"type": "boolean"
276+
"type": "boolean",
277+
"default": false
276278
},
277279
{
278280
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -404,6 +406,7 @@
404406
},
405407
"state": {
406408
"type": "string",
409+
"default": "Creating",
407410
"description": "Current state of the job."
408411
},
409412
"storageAccountId": {

0 commit comments

Comments
 (0)