From 311c92272cf981a6fb5b92886e5a8a559113ea2b Mon Sep 17 00:00:00 2001 From: Esha Parmar Date: Mon, 11 Sep 2017 12:42:51 -0700 Subject: [PATCH 1/4] added extension properties to Get & GetNode --- .../2015-10-31/definitions.json | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json index 2e75f0754477..72bd77b79695 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json @@ -1446,7 +1446,14 @@ "etag": { "type": "string", "description": "Gets or sets the etag of the resource." - } + }, + "extensionHandler": { + "type": "array", + "description": "Gets or sets the list of extensionHandler." + "items": { + "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" + } + } }, "allOf": [ { @@ -1528,6 +1535,19 @@ } }, "description": "The dsc nodeconfiguration property associated with the entity." + }, + "DscNodeExtensionHandlerAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the extension handler." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the extension handler." + } + }, + "description": "The dsc extensionHandler property associated with the node" }, "DscNodeListResult": { "properties": { From 088dc609c83fa6e93189b30f2de9160a1de61cf2 Mon Sep 17 00:00:00 2001 From: Esha Parmar Date: Mon, 11 Sep 2017 12:49:02 -0700 Subject: [PATCH 2/4] fix indentation --- .../Microsoft.Automation/2015-10-31/definitions.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json index 72bd77b79695..bd50cd281918 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json @@ -1451,8 +1451,8 @@ "type": "array", "description": "Gets or sets the list of extensionHandler." "items": { - "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" - } + "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" + } } }, "allOf": [ @@ -1543,10 +1543,10 @@ "description": "Gets or sets the name of the extension handler." }, "version": { - "type": "string", - "description": "Gets or sets the version of the extension handler." - } - }, + "type": "string", + "description": "Gets or sets the version of the extension handler." + } + }, "description": "The dsc extensionHandler property associated with the node" }, "DscNodeListResult": { From 3fd4e20161e3ba5584138ae56b1bb85e13a788be Mon Sep 17 00:00:00 2001 From: Esha Parmar Date: Mon, 11 Sep 2017 12:52:07 -0700 Subject: [PATCH 3/4] fix indentation --- .../2015-10-31/definitions.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json index bd50cd281918..db6a3166ed37 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json @@ -1449,11 +1449,11 @@ }, "extensionHandler": { "type": "array", - "description": "Gets or sets the list of extensionHandler." - "items": { - "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" - } - } + "description": "Gets or sets the list of extensionHandler." + "items": { + "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" + } + } }, "allOf": [ { @@ -1536,17 +1536,17 @@ }, "description": "The dsc nodeconfiguration property associated with the entity." }, - "DscNodeExtensionHandlerAssociationProperty": { + "DscNodeExtensionHandlerAssociationProperty": { "properties": { "name": { "type": "string", "description": "Gets or sets the name of the extension handler." }, - "version": { - "type": "string", - "description": "Gets or sets the version of the extension handler." - } - }, + "version": { + "type": "string", + "description": "Gets or sets the version of the extension handler." + } + }, "description": "The dsc extensionHandler property associated with the node" }, "DscNodeListResult": { From c26a4ebd9c11dccfdfd25aa2e53e5739aed065aa Mon Sep 17 00:00:00 2001 From: Esha Parmar Date: Mon, 11 Sep 2017 17:38:34 -0700 Subject: [PATCH 4/4] changed description text --- .../Microsoft.Automation/2015-10-31/definitions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json index db6a3166ed37..d1e4acb4a53d 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json @@ -1449,7 +1449,7 @@ }, "extensionHandler": { "type": "array", - "description": "Gets or sets the list of extensionHandler." + "description": "Gets or sets the list of extensionHandler properties for a Node.", "items": { "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" }