From 0ce29cb2b2b5ad2bcb489995bcf8a1888fdc3747 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Mon, 28 Mar 2022 11:55:57 -0700 Subject: [PATCH 01/11] Added Global Parameters CRUD APIs --- .../stable/2018-06-01/datafactory.json | 192 +++++++++++++++++- .../examples/GlobalParameters_Create.json | 40 ++++ .../examples/GlobalParameters_Delete.json | 13 ++ .../examples/GlobalParameters_Get.json | 32 +++ .../GlobalParameters_ListByFactory.json | 58 ++++++ .../examples/GlobalParameters_Update.json | 40 ++++ 6 files changed, 374 insertions(+), 1 deletion(-) create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 2ae1a2d47216..2a7542013fea 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4364,7 +4364,197 @@ } } } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters": { + "get": { + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_ListByFactory", + "x-ms-examples": { + "GlobalParameters_ListByFactory": { + "$ref": "./examples/GlobalParameters_ListByFactory.json" + } + }, + "description": "Lists Global parameters", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterListResponse" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}": { + "get": { + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_Get", + "x-ms-examples": { + "GlobalParameters_Get": { + "$ref": "./examples/GlobalParameters_Get.json" + } + }, + "description": "Gets a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_CreateOrUpdate", + "x-ms-examples": { + "GlobalParameters_Create": { + "$ref": "./examples/GlobalParameters_Create.json" + }, + "GlobalParameters_Update": { + "$ref": "./examples/GlobalParameters_Update.json" + } + }, + "description": "Creates or updates a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "globalParameter", + "description": "Global parameter resource definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "delete": { + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_Delete", + "x-ms-examples": { + "GlobalParameters_Delete": { + "$ref": "./examples/GlobalParameters_Delete.json" + } + }, + "description": "Deletes a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "204": { + "description": "No Content." + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } }, "definitions": { "Resource": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json new file mode 100644 index 000000000000..96e985bc4fce --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "exampleGlobalParameter", + "globalparameter": { + "properties": { + "waitTime": { + "value": 5, + "type": "int" + } + } + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:40:14 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", + "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", + "name": "exampleGlobalParameter", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "waitTime": { + "value": 5, + "type": "int" + } + }, + "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" + } + } + } + } \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json new file mode 100644 index 000000000000..7b5cdf828f3b --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "exampleGlobalParameter", + "api-version": "2018-06-01" + }, + "responses": { + "200": {}, + "204": {} + } + } \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json new file mode 100644 index 000000000000..6ca0f96b7152 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "exampleGlobalParameter", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:52 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", + "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", + "name": "exampleGlobalParameter", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "waitTime": { + "value": 10, + "type": "int" + } + }, + "etag": "72001a6a-0000-0400-0000-623d058f0000" + } + } + } + } \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json new file mode 100644 index 000000000000..2ae13fdb1f9f --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:52 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", + "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" + }, + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", + "name": "exampleGlobalParameter", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "url": { + "value": "https://testuri.test", + "type": "string" + }, + "waitTime": { + "value": 5, + "type": "int" + }, + "validADFOffice365Uris": { + "value": [ + "https://testuri.test", + "https://testuri.test" + ], + "type": "array" + }, + "mySourceDatasetFolderPath": { + "value": "input", + "type": "string" + }, + "copyPipelineTest": { + "value": { + "mySourceDatasetFolderPath": "exampleInput/", + "mySinkDatasetFolderPath": "exampleOutput", + "testingEmptyContextParams": "" + }, + "type": "object" + } + }, + "etag": "da00a1c3-0000-0400-0000-6241f3290000" + } + ] + } + } + } + } \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json new file mode 100644 index 000000000000..96e985bc4fce --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "exampleGlobalParameter", + "globalparameter": { + "properties": { + "waitTime": { + "value": 5, + "type": "int" + } + } + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:40:14 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", + "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", + "name": "exampleGlobalParameter", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "waitTime": { + "value": 5, + "type": "int" + } + }, + "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" + } + } + } + } \ No newline at end of file From c8c3a43578cadd9f74f9d09e2da394ef09510e29 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Mon, 28 Mar 2022 13:51:58 -0700 Subject: [PATCH 02/11] Small JSON fix --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 2a7542013fea..e819cace811b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4554,6 +4554,7 @@ } } } + } } }, "definitions": { From e33ee643f3c3ee100c55b473f6605a264567f6e2 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Tue, 12 Apr 2022 13:41:51 -0700 Subject: [PATCH 03/11] Updated Global parameters definitions --- .../stable/2018-06-01/datafactory.json | 50 ++++++++++++++++++- .../entityTypes/GlobalParameter.json | 26 ++++++++++ .../examples/GlobalParameters_Create.json | 8 +-- .../examples/GlobalParameters_Delete.json | 2 +- .../examples/GlobalParameters_Get.json | 6 +-- .../GlobalParameters_ListByFactory.json | 4 +- .../examples/GlobalParameters_Update.json | 8 +-- 7 files changed, 89 insertions(+), 15 deletions(-) create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index e819cace811b..044c7a9a11be 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4485,7 +4485,7 @@ "$ref": "#/parameters/api-version" }, { - "name": "globalParameter", + "name": "default", "description": "Global parameter resource definition.", "in": "body", "required": true, @@ -5028,6 +5028,26 @@ "runId" ] }, + "GlobalParametersListResponse": { + "description": "A list of Global parameters.", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of global parameters.", + "items": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "nextLink": { + "description": "The link to the next page of results, if any remaining results exist.", + "type": "string" + } + } + }, "CloudError": { "x-ms-external": true, "description": "The object that defines the structure of an Azure Data Factory error response.", @@ -5576,6 +5596,23 @@ "properties" ] }, + "GlobalParameterResource": { + "description": "Global parameters resource type.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "properties": { + "properties": { + "$ref": "./entityTypes/GlobalParameter.json#/definitions/GlobalParameter", + "description": "Properties of the global parameter." + } + }, + "required": [ + "properties" + ] + }, "Factory": { "description": "Factory resource type.", "type": "object", @@ -7439,6 +7476,17 @@ "required": true, "type": "string", "x-ms-parameter-location": "method" + }, + "globalParameterName": { + "name": "globalParameterName", + "description": "The global parameter name.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$", + "minLength": 1, + "maxLength": 260, + "x-ms-parameter-location": "method" } } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json new file mode 100644 index 000000000000..e8a6b114a1cd --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json @@ -0,0 +1,26 @@ +{ + "swagger": "2.0", + "info": { + "title": "DataFactoryManagementClient", + "version": "2018-06-01" + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "GlobalParameter": { + "description": "Global parameters associated with the Azure Data Factory", + "type": "object" + } + } + } + \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json index 96e985bc4fce..b9257c26339f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -3,8 +3,8 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "globalParameterName": "exampleGlobalParameter", - "globalparameter": { + "globalParameterName": "default", + "globalParameter": { "properties": { "waitTime": { "value": 5, @@ -24,8 +24,8 @@ "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" }, "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", - "name": "exampleGlobalParameter", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "waitTime": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json index 7b5cdf828f3b..37f2aef6b36d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "globalParameterName": "exampleGlobalParameter", + "globalParameterName": "default", "api-version": "2018-06-01" }, "responses": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json index 6ca0f96b7152..0a45e7cd3d53 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "globalParameterName": "exampleGlobalParameter", + "globalParameterName": "default", "api-version": "2018-06-01" }, "responses": { @@ -16,8 +16,8 @@ "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" }, "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", - "name": "exampleGlobalParameter", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "waitTime": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json index 2ae13fdb1f9f..faca9837e5b4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json @@ -17,8 +17,8 @@ "body": { "value": [ { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", - "name": "exampleGlobalParameter", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "url": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json index 96e985bc4fce..b9257c26339f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -3,8 +3,8 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "globalParameterName": "exampleGlobalParameter", - "globalparameter": { + "globalParameterName": "default", + "globalParameter": { "properties": { "waitTime": { "value": 5, @@ -24,8 +24,8 @@ "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" }, "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/exampleGlobalParameter", - "name": "exampleGlobalParameter", + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "waitTime": { From fb97e465a36fe64bb487680965a43f73c908d309 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Tue, 12 Apr 2022 14:04:23 -0700 Subject: [PATCH 04/11] Small typo fix --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 044c7a9a11be..1e6f0c72cfa5 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -5028,7 +5028,7 @@ "runId" ] }, - "GlobalParametersListResponse": { + "GlobalParameterListResponse": { "description": "A list of Global parameters.", "type": "object", "required": [ From f1efdf49f885ab5beb7a0ff3f240ea0ab0b26584 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Wed, 13 Apr 2022 08:45:07 -0700 Subject: [PATCH 05/11] Added spec and fixed delete --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 5 +---- .../stable/2018-06-01/entityTypes/GlobalParameter.json | 5 ++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 1e6f0c72cfa5..cf36f63c2d25 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4539,10 +4539,7 @@ ], "responses": { "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GlobalParameterResource" - } + "description": "OK." }, "204": { "description": "No Content." diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json index e8a6b114a1cd..b1516384cf9d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json @@ -19,7 +19,10 @@ "definitions": { "GlobalParameter": { "description": "Global parameters associated with the Azure Data Factory", - "type": "object" + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/GlobalParameterSpecification" + } } } } From af67500c4d3a6d9468a33ed8780b8d58e7080013 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Wed, 13 Apr 2022 08:53:33 -0700 Subject: [PATCH 06/11] Correct path --- .../stable/2018-06-01/entityTypes/GlobalParameter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json index b1516384cf9d..7b1fce664ff6 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json @@ -21,7 +21,7 @@ "description": "Global parameters associated with the Azure Data Factory", "type": "object", "additionalProperties": { - "$ref": "#/definitions/GlobalParameterSpecification" + "$ref": "../datafactory.json#/definitions/GlobalParameterSpecification" } } } From f93cf8430b877cf878fa5e75c8a6aabb926ad922 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Wed, 13 Apr 2022 12:51:42 -0700 Subject: [PATCH 07/11] Fixed casing --- .../2018-06-01/examples/GlobalParameters_Create.json | 2 +- .../2018-06-01/examples/GlobalParameters_Get.json | 2 +- .../examples/GlobalParameters_ListByFactory.json | 10 +++++----- .../2018-06-01/examples/GlobalParameters_Update.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json index b9257c26339f..42da66622c32 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -30,7 +30,7 @@ "properties": { "waitTime": { "value": 5, - "type": "int" + "type": "Int" } }, "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json index 0a45e7cd3d53..83d468292fd9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -22,7 +22,7 @@ "properties": { "waitTime": { "value": 10, - "type": "int" + "type": "Int" } }, "etag": "72001a6a-0000-0400-0000-623d058f0000" diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json index faca9837e5b4..9dcee13074a4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json @@ -23,22 +23,22 @@ "properties": { "url": { "value": "https://testuri.test", - "type": "string" + "type": "String" }, "waitTime": { "value": 5, - "type": "int" + "type": "Int" }, "validADFOffice365Uris": { "value": [ "https://testuri.test", "https://testuri.test" ], - "type": "array" + "type": "Array" }, "mySourceDatasetFolderPath": { "value": "input", - "type": "string" + "type": "String" }, "copyPipelineTest": { "value": { @@ -46,7 +46,7 @@ "mySinkDatasetFolderPath": "exampleOutput", "testingEmptyContextParams": "" }, - "type": "object" + "type": "Object" } }, "etag": "da00a1c3-0000-0400-0000-6241f3290000" diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json index b9257c26339f..42da66622c32 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -30,7 +30,7 @@ "properties": { "waitTime": { "value": 5, - "type": "int" + "type": "Int" } }, "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" From 7faf2cad51992bc785d1365f23cddd68a7393b30 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Wed, 13 Apr 2022 14:34:20 -0700 Subject: [PATCH 08/11] Added references --- .../stable/2018-06-01/entityTypes/GlobalParameter.json | 1 + .../stable/2018-06-01/examples/GlobalParameters_Create.json | 2 +- .../stable/2018-06-01/examples/GlobalParameters_Update.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json index 7b1fce664ff6..ae7a610ca4fd 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json @@ -20,6 +20,7 @@ "GlobalParameter": { "description": "Global parameters associated with the Azure Data Factory", "type": "object", + "properties": {}, "additionalProperties": { "$ref": "../datafactory.json#/definitions/GlobalParameterSpecification" } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json index 42da66622c32..4e00b6ccf7da 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -4,7 +4,7 @@ "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", "globalParameterName": "default", - "globalParameter": { + "default": { "properties": { "waitTime": { "value": 5, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json index 42da66622c32..4e00b6ccf7da 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", "globalParameterName": "default", - "globalParameter": { + "default": { "properties": { "waitTime": { "value": 5, From bc3428f15e1b8eecef25b4a355e8851239dbde95 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Wed, 13 Apr 2022 15:18:43 -0700 Subject: [PATCH 09/11] Small case fix --- .../stable/2018-06-01/examples/GlobalParameters_Create.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json index 4e00b6ccf7da..cc827e5e6df8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -8,7 +8,7 @@ "properties": { "waitTime": { "value": 5, - "type": "int" + "type": "Int" } } }, From 60a77a68be2e190a4e9c5ae8bab2c0c9fa2bf691 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Thu, 14 Apr 2022 06:53:17 -0700 Subject: [PATCH 10/11] Small fix and prettier cleanup --- .../stable/2018-06-01/datafactory.json | 340 +++++++++--------- .../entityTypes/GlobalParameter.json | 49 ++- .../examples/GlobalParameters_Create.json | 62 ++-- .../examples/GlobalParameters_Delete.json | 24 +- .../examples/GlobalParameters_Get.json | 56 +-- .../GlobalParameters_ListByFactory.json | 110 +++--- .../examples/GlobalParameters_Update.json | 64 ++-- 7 files changed, 352 insertions(+), 353 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index cf36f63c2d25..e494f24c94fe 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4367,192 +4367,192 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters": { "get": { - "tags": [ - "globalParameters" - ], - "operationId": "GlobalParameters_ListByFactory", - "x-ms-examples": { - "GlobalParameters_ListByFactory": { - "$ref": "./examples/GlobalParameters_ListByFactory.json" - } + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_ListByFactory", + "x-ms-examples": { + "GlobalParameters_ListByFactory": { + "$ref": "./examples/GlobalParameters_ListByFactory.json" + } + }, + "description": "Lists Global parameters", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" }, - "description": "Lists Global parameters", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/factoryName" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GlobalParameterListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterListResponse" } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}": { + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/globalParameters/{globalParameterName}": { "get": { - "tags": [ - "globalParameters" - ], - "operationId": "GlobalParameters_Get", - "x-ms-examples": { - "GlobalParameters_Get": { - "$ref": "./examples/GlobalParameters_Get.json" - } + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_Get", + "x-ms-examples": { + "GlobalParameters_Get": { + "$ref": "./examples/GlobalParameters_Get.json" + } + }, + "description": "Gets a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" }, - "description": "Gets a Global parameter", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/factoryName" - }, - { - "$ref": "#/parameters/globalParameterName" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GlobalParameterResource" - } - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" } + } + } }, "put": { - "tags": [ - "globalParameters" - ], - "operationId": "GlobalParameters_CreateOrUpdate", - "x-ms-examples": { - "GlobalParameters_Create": { - "$ref": "./examples/GlobalParameters_Create.json" - }, - "GlobalParameters_Update": { - "$ref": "./examples/GlobalParameters_Update.json" - } + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_CreateOrUpdate", + "x-ms-examples": { + "GlobalParameters_Create": { + "$ref": "./examples/GlobalParameters_Create.json" }, - "description": "Creates or updates a Global parameter", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/factoryName" - }, - { - "$ref": "#/parameters/globalParameterName" - }, - { - "$ref": "#/parameters/api-version" - }, - { - "name": "default", - "description": "Global parameter resource definition.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GlobalParameterResource" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/GlobalParameterResource" - } - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } + "GlobalParameters_Update": { + "$ref": "./examples/GlobalParameters_Update.json" + } + }, + "description": "Creates or updates a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "default", + "description": "Global parameter resource definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/GlobalParameterResource" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" } + } + } }, "delete": { - "tags": [ - "globalParameters" - ], - "operationId": "GlobalParameters_Delete", - "x-ms-examples": { - "GlobalParameters_Delete": { - "$ref": "./examples/GlobalParameters_Delete.json" - } + "tags": [ + "globalParameters" + ], + "operationId": "GlobalParameters_Delete", + "x-ms-examples": { + "GlobalParameters_Delete": { + "$ref": "./examples/GlobalParameters_Delete.json" + } + }, + "description": "Deletes a Global parameter", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" }, - "description": "Deletes a Global parameter", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/factoryName" - }, - { - "$ref": "#/parameters/globalParameterName" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/globalParameterName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "204": { + "description": "No Content." + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" } } + } } + } }, "definitions": { "Resource": { diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json index ae7a610ca4fd..c91c70ad0cce 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/GlobalParameter.json @@ -1,30 +1,29 @@ { - "swagger": "2.0", - "info": { - "title": "DataFactoryManagementClient", - "version": "2018-06-01" - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "swagger": "2.0", + "info": { + "title": "DataFactoryManagementClient", + "version": "2018-06-01" + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": {}, - "definitions": { - "GlobalParameter": { - "description": "Global parameters associated with the Azure Data Factory", - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "../datafactory.json#/definitions/GlobalParameterSpecification" - } + } + }, + "paths": {}, + "definitions": { + "GlobalParameter": { + "description": "Global parameters associated with the Azure Data Factory", + "type": "object", + "properties": {}, + "additionalProperties": { + "$ref": "../datafactory.json#/definitions/GlobalParameterSpecification" } } } - \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json index cc827e5e6df8..54f696c43358 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -1,40 +1,40 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "globalParameterName": "default", - "default": { + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "default", + "default": { + "properties": { + "waitTime": { + "value": 5, + "type": "Int" + } + } + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:40:14 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", + "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", + "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "waitTime": { "value": 5, "type": "Int" } - } - }, - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:40:14 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", - "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", - "name": "default", - "type": "Microsoft.DataFactory/factories/globalParameters", - "properties": { - "waitTime": { - "value": 5, - "type": "Int" - } - }, - "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" - } + "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" } } - } \ No newline at end of file + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json index 37f2aef6b36d..771f84b66fa9 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json @@ -1,13 +1,13 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "globalParameterName": "default", - "api-version": "2018-06-01" - }, - "responses": { - "200": {}, - "204": {} - } - } \ No newline at end of file + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "default", + "api-version": "2018-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json index 83d468292fd9..bef89ef3f50a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -1,32 +1,32 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "globalParameterName": "default", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:52 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", - "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "default", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:52 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", + "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "waitTime": { + "value": 10, + "type": "Int" + } }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", - "name": "default", - "type": "Microsoft.DataFactory/factories/globalParameters", - "properties": { - "waitTime": { - "value": 10, - "type": "Int" - } - }, - "etag": "72001a6a-0000-0400-0000-623d058f0000" - } + "etag": "72001a6a-0000-0400-0000-623d058f0000" } } - } \ No newline at end of file + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json index 9dcee13074a4..62e8a609520d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json @@ -1,58 +1,58 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:52 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", - "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" - }, - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", - "name": "default", - "type": "Microsoft.DataFactory/factories/globalParameters", - "properties": { - "url": { - "value": "https://testuri.test", - "type": "String" - }, - "waitTime": { - "value": 5, - "type": "Int" - }, - "validADFOffice365Uris": { - "value": [ - "https://testuri.test", - "https://testuri.test" - ], - "type": "Array" - }, - "mySourceDatasetFolderPath": { - "value": "input", - "type": "String" - }, - "copyPipelineTest": { - "value": { - "mySourceDatasetFolderPath": "exampleInput/", - "mySinkDatasetFolderPath": "exampleOutput", - "testingEmptyContextParams": "" - }, - "type": "Object" - } - }, - "etag": "da00a1c3-0000-0400-0000-6241f3290000" - } - ] - } + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:52 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870", + "x-ms-correlation-request-id": "8ad1759f-24c1-46a5-aef5-edd267e18870" + }, + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", + "type": "Microsoft.DataFactory/factories/globalParameters", + "properties": { + "url": { + "value": "https://testuri.test", + "type": "String" + }, + "waitTime": { + "value": 5, + "type": "Int" + }, + "validADFOffice365Uris": { + "value": [ + "https://testuri.test", + "https://testuri.test" + ], + "type": "Array" + }, + "mySourceDatasetFolderPath": { + "value": "input", + "type": "String" + }, + "copyPipelineTest": { + "value": { + "mySourceDatasetFolderPath": "exampleInput/", + "mySinkDatasetFolderPath": "exampleOutput", + "testingEmptyContextParams": "" + }, + "type": "Object" + } + }, + "etag": "da00a1c3-0000-0400-0000-6241f3290000" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json index 4e00b6ccf7da..54f696c43358 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -1,40 +1,40 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "globalParameterName": "default", - "default": { + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "globalParameterName": "default", + "default": { + "properties": { + "waitTime": { + "value": 5, + "type": "Int" + } + } + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:40:14 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", + "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", + "name": "default", + "type": "Microsoft.DataFactory/factories/globalParameters", "properties": { "waitTime": { "value": 5, - "type": "int" + "type": "Int" } - } - }, - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:40:14 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb", - "x-ms-correlation-request-id": "373f1a49-685d-4c07-8857-0fcf1bcaffcb" }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/globalParameters/default", - "name": "default", - "type": "Microsoft.DataFactory/factories/globalParameters", - "properties": { - "waitTime": { - "value": 5, - "type": "Int" - } - }, - "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" - } + "etag": "0a008ad4-0000-0000-0000-5b245c6e0000" } } - } \ No newline at end of file + } +} From f3b6b3867cf91473c5823a072ed373c45dc283e5 Mon Sep 17 00:00:00 2001 From: Kevin Naddoni Date: Thu, 14 Apr 2022 11:17:18 -0700 Subject: [PATCH 11/11] Added type object --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index e494f24c94fe..dfe92e9e5c6d 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -5595,6 +5595,7 @@ }, "GlobalParameterResource": { "description": "Global parameters resource type.", + "type": "object", "allOf": [ { "$ref": "#/definitions/SubResource"