diff --git a/specification/batch/resource-manager/readme.nodejs.md b/specification/batch/resource-manager/readme.nodejs.md index 110ebebc014e..7e0b8253b71a 100644 --- a/specification/batch/resource-manager/readme.nodejs.md +++ b/specification/batch/resource-manager/readme.nodejs.md @@ -7,7 +7,7 @@ Please also specify `--node-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(go) +output-folder: $(go-sdk-folder)/services/containerinstance/mgmt/2018-06-01/containerinstance +``` + +### Tag: package-2018-04 and go + +These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(go) +output-folder: $(go-sdk-folder)/services/containerinstance/mgmt/2018-04-01/containerinstance +``` + +### Tag: package-2018-02-preview and go + +These settings apply only when `--tag=package-2018-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance +``` + +### Tag: package-2017-12-preview and go + +These settings apply only when `--tag=package-2017-12-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-12-01-preview/containerinstance +``` + +### Tag: package-2017-10-preview and go + +These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-10-01-preview/containerinstance +``` + +### Tag: package-2017-08-preview and go + +These settings apply only when `--tag=package-2017-08-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-08-01-preview/containerinstance +``` diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index 7186c97efae9..a9c9d1c113c8 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -151,85 +151,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: containerinstance - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06 - - tag: package-2018-04 - - tag: package-2018-02-preview - - tag: package-2017-12-preview - - tag: package-2017-10-preview - - tag: package-2017-08-preview -``` - -### Tag: package-2018-06 and go - -These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(go) -output-folder: $(go-sdk-folder)/services/containerinstance/mgmt/2018-06-01/containerinstance -``` - -### Tag: package-2018-04 and go - -These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(go) -output-folder: $(go-sdk-folder)/services/containerinstance/mgmt/2018-04-01/containerinstance -``` - -### Tag: package-2018-02-preview and go - -These settings apply only when `--tag=package-2018-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance -``` - -### Tag: package-2017-12-preview and go - -These settings apply only when `--tag=package-2017-12-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-12-01-preview/containerinstance -``` - -### Tag: package-2017-10-preview and go - -These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-10-01-preview/containerinstance -``` - -### Tag: package-2017-08-preview and go - -These settings apply only when `--tag=package-2017-08-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-08-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerinstance/mgmt/2017-08-01-preview/containerinstance -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json index f5509a27a7e1..bcb6e47357e6 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json @@ -33,19 +33,19 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigs": { + "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reports": { "get": { "tags": [ "Reports" ], - "operationId": "ReportConfig_List", - "description": "Lists all report configs for a subscription.", + "operationId": "Report_List", + "description": "Lists all reports for a subscription.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { - "ReportConfigList": { - "$ref": "./examples/ReportConfigList.json" + "ReportList": { + "$ref": "./examples/ReportList.json" } }, "parameters": [ @@ -60,7 +60,7 @@ "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfigListResult" + "$ref": "#/definitions/ReportListResult" } }, "default": { @@ -72,19 +72,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reportconfigs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reports": { "get": { "tags": [ "Reports" ], - "operationId": "ReportConfig_ListByResourceGroupName", - "description": "Lists all report configs for a resource group under a subscription.", + "operationId": "Report_ListByResourceGroupName", + "description": "Lists all reports for a resource group under a subscription.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { - "ReportConfigList": { - "$ref": "./examples/ReportConfigList.json" + "ReportList": { + "$ref": "./examples/ReportList.json" } }, "parameters": [ @@ -102,7 +102,7 @@ "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfigListResult" + "$ref": "#/definitions/ReportListResult" } }, "default": { @@ -114,19 +114,19 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reportconfigs/{reportConfigName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reports/{reportName}": { "get": { "tags": [ "Reports" ], - "operationId": "ReportConfig_Get", - "description": "Gets the report config for a subscription by report config name.", + "operationId": "Report_Get", + "description": "Gets the report for a subscription by report name.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { "Report": { - "$ref": "./examples/ReportConfig.json" + "$ref": "./examples/Report.json" } }, "parameters": [ @@ -137,14 +137,14 @@ "$ref": "#/parameters/subscriptionIdParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "default": { @@ -159,14 +159,14 @@ "tags": [ "Reports" ], - "operationId": "ReportConfig_CreateOrUpdate", - "description": "The operation to create or update a report config. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", + "operationId": "Report_CreateOrUpdate", + "description": "The operation to create or update a report. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { "CreateOrUpdateReport": { - "$ref": "./examples/ReportConfigCreateOrUpdate.json" + "$ref": "./examples/ReportCreateOrUpdate.json" } }, "parameters": [ @@ -177,29 +177,29 @@ "$ref": "#/parameters/subscriptionIdParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" }, { "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" }, - "description": "Parameters supplied to the CreateOrUpdate Report Config operation." + "description": "Parameters supplied to the CreateOrUpdate Report operation." } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "201": { "description": "Created.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "default": { @@ -214,14 +214,14 @@ "tags": [ "Reports" ], - "operationId": "ReportConfig_Delete", + "operationId": "Report_Delete", "description": "The operation to delete a report.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { "DeleteReport": { - "$ref": "./examples/ReportConfigDelete.json" + "$ref": "./examples/ReportDelete.json" } }, "parameters": [ @@ -232,7 +232,7 @@ "$ref": "#/parameters/subscriptionIdParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" } ], "responses": { @@ -248,19 +248,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reportconfigs/{reportConfigName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reports/{reportName}": { "get": { "tags": [ "Reports" ], - "operationId": "ReportConfig_GetByResourceGroupName", - "description": "Gets the report config for a resource group under a subscription by report config name.", + "operationId": "Report_GetByResourceGroupName", + "description": "Gets the report for a resource group under a subscription by report name.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { - "ReportConfig": { - "$ref": "./examples/ReportConfig.json" + "Report": { + "$ref": "./examples/Report.json" } }, "parameters": [ @@ -274,14 +274,14 @@ "$ref": "#/parameters/resourceGroupNameParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "default": { @@ -296,14 +296,14 @@ "tags": [ "Reports" ], - "operationId": "ReportConfig_CreateOrUpdateByResourceGroupName", - "description": "The operation to create or update a report config. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", + "operationId": "Report_CreateOrUpdateByResourceGroupName", + "description": "The operation to create or update a report. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { "CreateOrUpdateReport": { - "$ref": "./examples/ReportConfigCreateOrUpdate.json" + "$ref": "./examples/ReportCreateOrUpdate.json" } }, "parameters": [ @@ -317,29 +317,29 @@ "$ref": "#/parameters/resourceGroupNameParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" }, { "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" }, - "description": "Parameters supplied to the CreateOrUpdate Report Config operation." + "description": "Parameters supplied to the CreateOrUpdate Report operation." } ], "responses": { "200": { "description": "OK. The request has succeeded.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "201": { "description": "Created.", "schema": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } }, "default": { @@ -354,14 +354,14 @@ "tags": [ "Reports" ], - "operationId": "ReportConfig_DeleteByResourceGroupName", - "description": "The operation to delete a report config.", + "operationId": "Report_DeleteByResourceGroupName", + "description": "The operation to delete a report.", "externalDocs": { "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" }, "x-ms-examples": { "DeleteReport": { - "$ref": "./examples/ReportConfigDelete.json" + "$ref": "./examples/ReportDelete.json" } }, "parameters": [ @@ -375,7 +375,7 @@ "$ref": "#/parameters/resourceGroupNameParameter" }, { - "$ref": "#/parameters/reportConfigNameParameter" + "$ref": "#/parameters/reportNameParameter" } ], "responses": { @@ -391,6 +391,174 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reports/{reportName}/run": { + "post": { + "tags": [ + "Reports" + ], + "operationId": "Report_Execute", + "description": "The operation to execute a report.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" + }, + "x-ms-examples": { + "ExecuteReport": { + "$ref": "./examples/ReportExecution.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/reportNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reports/{reportName}/run": { + "post": { + "tags": [ + "Reports" + ], + "operationId": "Report_ExecuteByResourceGroupName", + "description": "The operation to execute a report.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" + }, + "x-ms-examples": { + "ExecuteReport": { + "$ref": "./examples/ReportExecution.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/reportNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/reports/{reportName}/runHistory": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Report_GetExecutionHistory", + "description": "Gets the execution history of a report for a subscription by report name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" + }, + "x-ms-examples": { + "ExecutionHistoryReport": { + "$ref": "./examples/ReportExecutionList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/reportNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReportExecutionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/reports/{reportName}/runHistory": { + "get": { + "tags": [ + "Reports" + ], + "operationId": "Report_GetExecutionHistoryByResourceGroupName", + "description": "Gets the execution history of a report for a resource group by report name.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/" + }, + "x-ms-examples": { + "ExecutionHistoryReport": { + "$ref": "./examples/ReportExecutionList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "$ref": "#/parameters/reportNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ReportExecutionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/dimensions": { "get": { "tags": [ @@ -646,9 +814,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ReportConfigDefinition" + "$ref": "#/definitions/ReportDefinition" }, - "description": "Parameters supplied to the CreateOrUpdate Report Config operation." + "description": "Parameters supplied to the CreateOrUpdate Report operation." } ], "responses": { @@ -700,9 +868,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ReportConfigDefinition" + "$ref": "#/definitions/ReportDefinition" }, - "description": "Parameters supplied to the CreateOrUpdate Report Config operation." + "description": "Parameters supplied to the CreateOrUpdate Report operation." } ], "responses": { @@ -751,9 +919,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ReportConfigDefinition" + "$ref": "#/definitions/ReportDefinition" }, - "description": "Parameters supplied to the CreateOrUpdate Report Config operation." + "description": "Parameters supplied to the CreateOrUpdate Report operation." } ], "responses": { @@ -1144,21 +1312,21 @@ }, "x-ms-azure-resource": true }, - "ReportConfigListResult": { - "description": "Result of listing report configs. It contains a list of available report configurations in the scope provided.", + "ReportListResult": { + "description": "Result of listing reports. It contains a list of available reports in the scope provided.", "properties": { "value": { - "description": "The list of report configs.", + "description": "The list of reports.", "type": "array", "readOnly": true, "items": { - "$ref": "#/definitions/ReportConfig" + "$ref": "#/definitions/Report" } } } }, - "ReportConfig": { - "description": "A report config resource.", + "Report": { + "description": "A report resource.", "type": "object", "allOf": [ { @@ -1168,18 +1336,29 @@ "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ReportConfigProperties", - "title": "Report config properties" + "$ref": "#/definitions/ReportProperties", + "title": "Report properties" } } }, - "ReportConfigProperties": { - "description": "The properties of the report config.", + "ReportProperties": { + "description": "The properties of the report.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CommonReportProperties" + } + ], "properties": { "schedule": { - "description": "Has schedule information for the report config.", - "$ref": "#/definitions/ReportConfigSchedule" - }, + "description": "Has schedule information for the report.", + "$ref": "#/definitions/ReportSchedule" + } + } + }, + "CommonReportProperties": { + "description": "The common properties of the report.", + "properties": { "format": { "description": "The format of the report being delivered.", "type": "string", @@ -1192,12 +1371,12 @@ } }, "deliveryInfo": { - "description": "Has delivery information for the report config.", - "$ref": "#/definitions/ReportConfigDeliveryInfo" + "description": "Has delivery information for the report.", + "$ref": "#/definitions/ReportDeliveryInfo" }, "definition": { - "description": "Has definition for the report config.", - "$ref": "#/definitions/ReportConfigDefinition" + "description": "Has definition for the report.", + "$ref": "#/definitions/ReportDefinition" } }, "required": [ @@ -1205,8 +1384,8 @@ "definition" ] }, - "ReportConfigSchedule": { - "description": "The schedule associated with a report config.", + "ReportSchedule": { + "description": "The schedule associated with a report.", "properties": { "status": { "description": "The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.", @@ -1236,28 +1415,27 @@ }, "recurrencePeriod": { "description": "Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.", - "$ref": "#/definitions/ReportConfigRecurrencePeriod" + "$ref": "#/definitions/ReportRecurrencePeriod" } }, "required": [ - "recurrence", - "recurrencePeriod" + "recurrence" ] }, - "ReportConfigDeliveryInfo": { - "description": "The delivery information associated with a report config.", + "ReportDeliveryInfo": { + "description": "The delivery information associated with a report.", "properties": { "destination": { "description": "Has destination for the report being delivered.", - "$ref": "#/definitions/ReportConfigDeliveryDestination" + "$ref": "#/definitions/ReportDeliveryDestination" } }, "required": [ "destination" ] }, - "ReportConfigDefinition": { - "description": "The definition of a report config.", + "ReportDefinition": { + "description": "The definition of a report.", "properties": { "type": { "description": "The type of the report.", @@ -1276,7 +1454,6 @@ "enum": [ "WeekToDate", "MonthToDate", - "YearToDate", "Custom" ], "x-ms-enum": { @@ -1286,11 +1463,11 @@ }, "timePeriod": { "description": "Has time period for pulling data for the report.", - "$ref": "#/definitions/ReportConfigTimePeriod" + "$ref": "#/definitions/ReportTimePeriod" }, "dataset": { - "description": "Has definition for data in this report config.", - "$ref": "#/definitions/ReportConfigDataset" + "description": "Has definition for data in this report.", + "$ref": "#/definitions/ReportDataset" } }, "required": [ @@ -1298,7 +1475,7 @@ "timeframe" ] }, - "ReportConfigRecurrencePeriod": { + "ReportRecurrencePeriod": { "description": "The start and end date for recurrence schedule.", "properties": { "from": { @@ -1307,7 +1484,7 @@ "format": "date-time" }, "to": { - "description": "The end date of recurrence. If not provided, we default this to 10 years from the start date.", + "description": "The end date of recurrence.", "type": "string", "format": "date-time" } @@ -1316,7 +1493,7 @@ "from" ] }, - "ReportConfigDeliveryDestination": { + "ReportDeliveryDestination": { "description": "The destination information for the delivery of the report.", "properties": { "resourceId": { @@ -1337,7 +1514,7 @@ "container" ] }, - "ReportConfigTimePeriod": { + "ReportTimePeriod": { "description": "The start and end date for pulling data for the report.", "properties": { "from": { @@ -1356,7 +1533,7 @@ "to" ] }, - "ReportConfigDataset": { + "ReportDataset": { "description": "The definition of data present in the report.", "properties": { "granularity": { @@ -1372,14 +1549,14 @@ }, "configuration": { "description": "Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.", - "$ref": "#/definitions/ReportConfigDatasetConfiguration" + "$ref": "#/definitions/ReportDatasetConfiguration" }, "aggregation": { "type": "object", "description": "Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have upto 2 aggregation clauses.", "additionalProperties": { "type": "object", - "$ref": "#/definitions/ReportConfigAggregation" + "$ref": "#/definitions/ReportAggregation" }, "maxItems": 2 }, @@ -1387,18 +1564,18 @@ "description": "Array of group by expression to use in the report. Report can have upto 2 group by clauses.", "type": "array", "items": { - "$ref": "#/definitions/ReportConfigGrouping" + "$ref": "#/definitions/ReportGrouping" }, "maxItems": 2 }, "filter": { "type": "object", "description": "Has filter expression to use in the report.", - "$ref": "#/definitions/ReportConfigFilter" + "$ref": "#/definitions/ReportFilter" } } }, - "ReportConfigDatasetConfiguration": { + "ReportDatasetConfiguration": { "description": "The configuration of dataset in the report.", "properties": { "columns": { @@ -1410,7 +1587,7 @@ } } }, - "ReportConfigAggregation": { + "ReportAggregation": { "description": "The aggregation expression to be used in the report.", "properties": { "name": { @@ -1434,12 +1611,12 @@ "function" ] }, - "ReportConfigGrouping": { + "ReportGrouping": { "description": "The group by expression to be used in the report.", "properties": { - "columnType": { + "type": { "description": "Has type of the column to group.", - "$ref": "#/definitions/ReportConfigColumnType" + "$ref": "#/definitions/ReportColumnType" }, "name": { "description": "The name of the column to group.", @@ -1447,18 +1624,18 @@ } }, "required": [ - "columnType", + "type", "name" ] }, - "ReportConfigFilter": { + "ReportFilter": { "description": "The filter expression to be used in the report.", "properties": { "and": { "description": "The logical \"AND\" expression. Must have atleast 2 items.", "type": "array", "items": { - "$ref": "#/definitions/ReportConfigFilter" + "$ref": "#/definitions/ReportFilter" }, "minItems": 2 }, @@ -1466,25 +1643,25 @@ "description": "The logical \"OR\" expression. Must have atleast 2 items.", "type": "array", "items": { - "$ref": "#/definitions/ReportConfigFilter" + "$ref": "#/definitions/ReportFilter" }, "minItems": 2 }, "not": { "description": "The logical \"NOT\" expression.", - "$ref": "#/definitions/ReportConfigFilter" + "$ref": "#/definitions/ReportFilter" }, "dimension": { "description": "Has comparison expression for a dimension", - "$ref": "#/definitions/ReportConfigComparisonExpression" + "$ref": "#/definitions/ReportComparisonExpression" }, "tag": { "description": "Has comparison expression for a tag", - "$ref": "#/definitions/ReportConfigComparisonExpression" + "$ref": "#/definitions/ReportComparisonExpression" } } }, - "ReportConfigColumnType": { + "ReportColumnType": { "description": "The type of the column in the report.", "type": "string", "enum": [ @@ -1492,11 +1669,11 @@ "Dimension" ], "x-ms-enum": { - "name": "ReportConfigColumnType", + "name": "ReportColumnType", "modelAsString": true } }, - "ReportConfigComparisonExpression": { + "ReportComparisonExpression": { "description": "The comparison expression to be used in the report.", "properties": { "name": { @@ -1529,6 +1706,93 @@ "values" ] }, + "ReportExecutionListResult": { + "description": "Result of listing reports execution history of a report by name", + "properties": { + "value": { + "description": "The list of report executions.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ReportExecution" + } + } + } + }, + "ReportExecution" : { + "description": "A report exeuction.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ReportExecutionProperties", + "title": "Report execution properties" + } + } + }, + "ReportExecutionProperties": { + "description": "The properties of the report execution.", + "properties": { + "executionType": { + "description": "The type of the report execution.", + "type": "string", + "enum": [ + "OnDemand", + "Scheduled" + ], + "x-ms-enum": { + "name": "ExecutionType", + "modelAsString": true + } + }, + "status": { + "description": "The status of the report execution.", + "type": "string", + "enum": [ + "Queud", + "InProgress", + "Completed", + "Failed", + "Timeout" + ], + "x-ms-enum": { + "name": "ExecutionStatus", + "modelAsString": true + } + }, + "submittedBy": { + "description": "The identifier for the entity that executed the report. For OnDemand executions, it is the email id. For Scheduled executions, it is the constant value - System.", + "type": "string" + }, + "submittedTime": { + "description": "The time when report was queued to be executed.", + "type": "string", + "format": "date-time" + }, + "processingStartTime": { + "description": "The time when report was picked up to be executed.", + "type": "string", + "format": "date-time" + }, + "processingEndTime": { + "description": "The time when report execution finished.", + "type": "string", + "format": "date-time" + }, + "fileName": { + "description": "The name of the file report got written to.", + "type": "string" + }, + "reportSettings": { + "$ref": "#/definitions/CommonReportProperties" + } + } + }, "DimensionsListResult": { "description": "Result of listing dimensions. It contains a list of available dimensions.", "type": "object", @@ -1897,10 +2161,10 @@ "type": "string", "x-ms-parameter-location": "method" }, - "reportConfigNameParameter": { - "name": "reportConfigName", + "reportNameParameter": { + "name": "reportName", "in": "path", - "description": "Report Config Name.", + "description": "Report Name.", "required": true, "type": "string", "x-ms-parameter-location": "method" diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfig.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/Report.json similarity index 89% rename from specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfig.json rename to specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/Report.json index c02bfe835494..f26608b34c6c 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfig.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/Report.json @@ -3,14 +3,14 @@ "api-version": "2018-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", - "reportConfigName": "TestReportConfig" + "reportName": "TestReport" }, "responses": { "200": { "body": { - "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/reportconfigs/TestReportConfig", - "name": "TestReportConfig", - "type": "Microsoft.Consumption/reportconfigs", + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/TestReport", + "name": "TestReport", + "type": "Microsoft.CostManagement/reports", "properties": { "format": "Csv", "deliveryInfo": { @@ -46,11 +46,11 @@ }, "grouping": [ { - "columnType": "Dimension", + "type": "Dimension", "name": "SubscriptionName" }, { - "columnType": "Tag", + "type": "Tag", "name": "Environment" } ], diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigCreateOrUpdate.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportCreateOrUpdate.json similarity index 93% rename from specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigCreateOrUpdate.json rename to specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportCreateOrUpdate.json index 7a0bbfc71cf2..2baf4bec33cf 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigCreateOrUpdate.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportCreateOrUpdate.json @@ -3,7 +3,7 @@ "api-version": "2018-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", - "reportConfigName": "TestReportConfig", + "reportName": "TestReport", "parameters": { "properties": { "schedule":{ @@ -44,11 +44,11 @@ }, "grouping": [ { - "columnType": "Dimension", + "type": "Dimension", "name": "SubscriptionName" }, { - "columnType": "Tag", + "type": "Tag", "name": "Environment" } ], @@ -97,9 +97,9 @@ "responses": { "201": { "body": { - "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/reportconfigs/TestReportConfig", - "name": "TestReportConfig", - "type": "Microsoft.Consumption/reportconfigs", + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/TestReport", + "name": "TestReport", + "type": "Microsoft.CostManagement/reports", "properties": { "schedule":{ "status": "Active", @@ -139,11 +139,11 @@ }, "grouping": [ { - "columnType": "Dimension", + "type": "Dimension", "name": "SubscriptionName" }, { - "columnType": "Tag", + "type": "Tag", "name": "Environment" } ], @@ -191,9 +191,9 @@ }, "200": { "body": { - "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/reportconfigs/TestReportConfig", - "name": "TestReportConfig", - "type": "Microsoft.Consumption/reportconfigs", + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/TestReport", + "name": "TestReport", + "type": "Microsoft.CostManagement/reports", "properties": { "schedule":{ "status": "Active", @@ -233,11 +233,11 @@ }, "grouping": [ { - "columnType": "Dimension", + "type": "Dimension", "name": "SubscriptionName" }, { - "columnType": "Tag", + "type": "Tag", "name": "Environment" } ], diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigDelete.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportDelete.json similarity index 84% rename from specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigDelete.json rename to specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportDelete.json index c965fc80a015..8a0a9bac45dc 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigDelete.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportDelete.json @@ -3,7 +3,7 @@ "api-version": "2018-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "MYDEVTESTRG", - "reportConfigName": "TestReport" + "reportName": "TestReport" }, "responses": { "200": { diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecution.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecution.json new file mode 100644 index 000000000000..bfb06083036c --- /dev/null +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecution.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG", + "reportName": "TestReport" + }, + "responses": { + "200": { + } + } + } \ No newline at end of file diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecutionList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecutionList.json new file mode 100644 index 000000000000..4f4a87092399 --- /dev/null +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportExecutionList.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2018-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "MYDEVTESTRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/JohnDoeSchedule/Run/1e25d58a-a3b0-4916-9542-6e04a89bc100", + "name": null, + "type": null, + "eTag": null, + "properties": { + "executionType": "OnDemand", + "status": "Completed", + "submittedBy": "john.doe@gmail.com", + "submittedTime": "2018-08-03T07:52:15.6016681Z", + "processingStartTime": "2018-08-03T07:52:16.9123797Z", + "processingEndTime": "2018-08-03T07:52:28.0373318Z", + "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_1e25d58a-a3b0-4916-9542-6e04a89bc100.csv", + "reportSettings": { + "format": "Csv", + "deliveryInfo": { + "destination": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", + "container": "reports", + "rootFolderPath": "ScheduledTestsForJohnDoe" + } + }, + "definition": { + "type": "Usage", + "timeframe": "Custom", + "timePeriod": { + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" + }, + "dataset": { + "granularity": "Daily", + "configuration": { + "columns": [ + "Date", + "MeterId", + "InstanceId", + "ResourceLocation", + "PreTaxCost" + ] + }, + "aggregation": { + "costSum": { + "name": "PreTaxCost", + "function": "Sum" + } + }, + "grouping": [ + { + "type": "Dimension", + "name": "SubscriptionName" + } + ], + "filter": { + "and": [ + { + "or": [ + { + "dimension": { + "name": "ResourceLocation", + "operator": "In", + "values": [ + "East US", + "West Europe" + ] + } + }, + { + "tag": { + "name": "Environment", + "operator": "In", + "values": [ + "UAT", + "Prod" + ] + } + } + ] + }, + { + "dimension": { + "name": "ResourceGroup", + "operator": "In", + "values": [ + "API" + ] + } + } + ] + } + } + } + } + } + }, + { + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/JohnDoeSchedule/Run/11ac6811-dca3-46ad-b326-4704cf0c58ef", + "name": null, + "type": null, + "eTag": null, + "properties": { + "executionType": "Scheduled", + "status": "Completed", + "submittedBy": "System", + "submittedTime": "2018-08-03T09:03:58.5710244Z", + "processingStartTime": "2018-08-03T09:03:58.5710244Z", + "processingEndTime": "2018-08-03T09:04:19.7223808Z", + "fileName": "ScheduledTestsForJohnDoe/JohnDoeSchedule/20180729-20180804/JohnDoeSchedule_11ac6811-dca3-46ad-b326-4704cf0c58ef.csv", + "reportSettings": { + "format": "Csv", + "deliveryInfo": { + "destination": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182", + "container": "reports", + "rootFolderPath": "ScheduledTestsForJohnDoe" + } + }, + "definition": { + "type": "Usage", + "timeframe": "Custom", + "timePeriod": { + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" + }, + "dataset": { + "granularity": "Daily", + "configuration": { + "columns": [ + "Date", + "MeterId", + "InstanceId", + "ResourceLocation", + "PreTaxCost" + ] + }, + "aggregation": { + "costSum": { + "name": "PreTaxCost", + "function": "Sum" + } + }, + "grouping": [ + { + "type": "Dimension", + "name": "SubscriptionName" + } + ], + "filter": { + "and": [ + { + "or": [ + { + "dimension": { + "name": "ResourceLocation", + "operator": "In", + "values": [ + "East US", + "West Europe" + ] + } + }, + { + "tag": { + "name": "Environment", + "operator": "In", + "values": [ + "UAT", + "Prod" + ] + } + } + ] + }, + { + "dimension": { + "name": "ResourceGroup", + "operator": "In", + "values": [ + "API" + ] + } + } + ] + } + } + } + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportList.json similarity index 93% rename from specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigList.json rename to specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportList.json index d804939b41cf..e2411f79e956 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportConfigList.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportList.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/reportconfigs/TestReportConfig1", - "name": "TestReportConfig1", - "type": "Microsoft.Consumption/reportconfigs", + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/TestReport1", + "name": "TestReport1", + "type": "Microsoft.CostManagement/reports", "properties": { "format": "Csv", "deliveryInfo": { @@ -47,7 +47,7 @@ }, "grouping": [ { - "columnType": "Dimension", + "type": "Dimension", "name": "SubscriptionName" } ], @@ -93,9 +93,9 @@ } }, { - "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/reportconfigs/TestReportConfig2", - "name": "TestReportConfig2", - "type": "Microsoft.Consumption/reportconfigs", + "id": "subscriptions/{subscription-id}/providers/Microsoft.CostManagement/reports/TestReport2", + "name": "TestReport2", + "type": "Microsoft.CostManagement/reports", "properties": { "schedule":{ "status": "Active", @@ -135,7 +135,7 @@ }, "grouping": [ { - "columnType": "Tag", + "type": "Tag", "name": "Environment" } ], diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfig.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfig.json index 4e247bd74fc9..228c1752d768 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfig.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfig.json @@ -20,7 +20,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "Custom", "timePeriod": { @@ -54,7 +54,7 @@ "name": "Environment" } ], - "filter":{ + "filter": { "and": [ { "dimension": { @@ -76,7 +76,7 @@ ] } } - ] + ] } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigCreateOrUpdate.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigCreateOrUpdate.json index 2125aa4fd520..57353a5bde94 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigCreateOrUpdate.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigCreateOrUpdate.json @@ -6,12 +6,12 @@ "reportConfigName": "TestReportConfig", "parameters": { "properties": { - "schedule":{ + "schedule": { "status": "Active", "recurrence": "Weekly", "recurrencePeriod": { - "from":"2018-06-01T00:00:00Z", - "to":"2018-10-31T00:00:00Z" + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" } }, "format": "Csv", @@ -22,7 +22,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "MonthToDate", "dataset": { @@ -52,10 +52,10 @@ "name": "Environment" } ], - "filter":{ + "filter": { "and": [ { - "or":[ + "or": [ { "dimension": { "name": "ResourceLocation", @@ -87,7 +87,7 @@ ] } } - ] + ] } } } @@ -101,12 +101,12 @@ "name": "TestReportConfig", "type": "Microsoft.Consumption/reportconfigs", "properties": { - "schedule":{ + "schedule": { "status": "Active", "recurrence": "Weekly", "recurrencePeriod": { - "from":"2018-06-01T00:00:00Z", - "to":"2018-10-31T00:00:00Z" + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" } }, "format": "Csv", @@ -117,7 +117,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "MonthToDate", "dataset": { @@ -147,10 +147,10 @@ "name": "Environment" } ], - "filter":{ + "filter": { "and": [ { - "or":[ + "or": [ { "dimension": { "name": "ResourceLocation", @@ -182,7 +182,7 @@ ] } } - ] + ] } } } @@ -195,12 +195,12 @@ "name": "TestReportConfig", "type": "Microsoft.Consumption/reportconfigs", "properties": { - "schedule":{ + "schedule": { "status": "Active", "recurrence": "Weekly", "recurrencePeriod": { - "from":"2018-06-01T00:00:00Z", - "to":"2018-10-31T00:00:00Z" + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" } }, "format": "Csv", @@ -211,7 +211,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "MonthToDate", "dataset": { @@ -241,10 +241,10 @@ "name": "Environment" } ], - "filter":{ + "filter": { "and": [ { - "or":[ + "or": [ { "dimension": { "name": "ResourceLocation", diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigDelete.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigDelete.json index 0a47186446a0..456c1dfc1662 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigDelete.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigDelete.json @@ -6,7 +6,6 @@ "reportConfigName": "TestReport" }, "responses": { - "200": { - } + "200": {} } } \ No newline at end of file diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigList.json index 6988b522bdb3..76b8d07fec46 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigList.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-05-31/examples/ReportConfigList.json @@ -21,7 +21,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "Custom", "timePeriod": { @@ -51,10 +51,10 @@ "name": "SubscriptionName" } ], - "filter":{ + "filter": { "and": [ { - "or":[ + "or": [ { "dimension": { "name": "ResourceLocation", @@ -86,7 +86,7 @@ ] } } - ] + ] } } } @@ -97,12 +97,12 @@ "name": "TestReportConfig2", "type": "Microsoft.Consumption/reportconfigs", "properties": { - "schedule":{ + "schedule": { "status": "Active", "recurrence": "Weekly", "recurrencePeriod": { - "from":"2018-06-01T00:00:00Z", - "to":"2018-10-31T00:00:00Z" + "from": "2018-06-01T00:00:00Z", + "to": "2018-10-31T00:00:00Z" } }, "format": "Csv", @@ -113,7 +113,7 @@ "rootFolderPath": "ad-hoc" } }, - "definition":{ + "definition": { "type": "Usage", "timeframe": "WeekToDate", "dataset": { @@ -139,7 +139,7 @@ "name": "Environment" } ], - "filter":{ + "filter": { "and": [ { "dimension": { @@ -161,7 +161,7 @@ ] } } - ] + ] } } } diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 23cc8f842904..196fe2baaef4 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -109,33 +109,6 @@ csharp: clear-output-folder: true ``` -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.iothub - package-name: azure-mgmt-iothub - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-iothub/azure/mgmt/iothub -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-iothub -``` - ## Go diff --git a/specification/iothub/resource-manager/readme.python.md b/specification/iothub/resource-manager/readme.python.md new file mode 100644 index 000000000000..0ee31f9cf5de --- /dev/null +++ b/specification/iothub/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.iothub + package-name: azure-mgmt-iothub + package-version: 0.6.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-iothub/azure/mgmt/iothub +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-iothub +``` diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json new file mode 100644 index 000000000000..4a9cba6b9e51 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json @@ -0,0 +1,485 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "agreementName": "testAgreement", + "agreement": { + "properties": { + "metadata": {}, + "agreementType": "AS2", + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "content": { + "aS2": { + "receiveAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + } + }, + "location": "westus", + "tags": { + "IntegrationAccountAgreement": "" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "AS2", + "content": { + "aS2": { + "receiveAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + }, + "createdTime": "2017-03-06T22:32:54.2938748Z", + "changedTime": "2017-03-06T22:32:54.2945291Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4533/agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + } + }, + "201": { + "body": { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "AS2", + "content": { + "aS2": { + "receiveAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + }, + "createdTime": "2017-03-06T22:32:54.2938748Z", + "changedTime": "2017-03-06T22:32:54.2945291Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount4533/agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json new file mode 100644 index 000000000000..7370ee946a49 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "agreementName": "testAgreement" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json new file mode 100644 index 000000000000..8d1048b35fb4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "agreementName": "testAgreement" + }, + "responses": { + "200": { + "body": { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "AS2", + "content": { + "aS2": { + "receiveAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "SHA1" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + }, + "createdTime": "2017-03-06T22:32:54.2938748Z", + "changedTime": "2017-03-06T22:32:54.2945291Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts//agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json new file mode 100644 index 000000000000..9cc013b65b7d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json @@ -0,0 +1,598 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "X12", + "content": { + "x12": { + "receiveAgreement": { + "protocolSettings": { + "validationSettings": { + "validateCharacterSet": true, + "checkDuplicateInterchangeControlNumber": false, + "interchangeControlNumberValidityDays": 30, + "checkDuplicateGroupControlNumber": false, + "checkDuplicateTransactionSetControlNumber": false, + "validateEdiTypes": true, + "validateXsdTypes": false, + "allowLeadingAndTrailingSpacesAndZeroes": false, + "trimLeadingAndTrailingSpacesAndZeroes": false, + "trailingSeparatorPolicy": "NotAllowed" + }, + "framingSettings": { + "dataElementSeparator": 42, + "componentSeparator": 58, + "replaceSeparatorsInPayload": false, + "replaceCharacter": 36, + "segmentTerminator": 126, + "characterSet": "UTF8", + "segmentTerminatorSuffix": "None" + }, + "envelopeSettings": { + "controlStandardsId": 85, + "useControlStandardsIdAsRepetitionCharacter": false, + "senderApplicationId": "BTS-SENDER", + "receiverApplicationId": "RECEIVE-APP", + "controlVersionNumber": "00401", + "interchangeControlNumberLowerBound": 1, + "interchangeControlNumberUpperBound": 999999999, + "rolloverInterchangeControlNumber": true, + "enableDefaultGroupHeaders": true, + "groupControlNumberLowerBound": 1, + "groupControlNumberUpperBound": 999999999, + "rolloverGroupControlNumber": true, + "groupHeaderAgencyCode": "T", + "groupHeaderVersion": "00401", + "transactionSetControlNumberLowerBound": 1, + "transactionSetControlNumberUpperBound": 999999999, + "rolloverTransactionSetControlNumber": true, + "overwriteExistingTransactionSetControlNumber": true, + "groupHeaderDateFormat": "CCYYMMDD", + "groupHeaderTimeFormat": "HHMM", + "usageIndicator": "Test" + }, + "acknowledgementSettings": { + "needTechnicalAcknowledgement": false, + "batchTechnicalAcknowledgements": true, + "needFunctionalAcknowledgement": false, + "batchFunctionalAcknowledgements": true, + "needImplementationAcknowledgement": false, + "batchImplementationAcknowledgements": false, + "needLoopForValidMessages": false, + "sendSynchronousAcknowledgement": true, + "acknowledgementControlNumberLowerBound": 1, + "acknowledgementControlNumberUpperBound": 999999999, + "rolloverAcknowledgementControlNumber": true + }, + "messageFilter": { + "messageFilterType": "Exclude" + }, + "securitySettings": { + "authorizationQualifier": "00", + "securityQualifier": "00" + }, + "processingSettings": { + "maskSecurityInfo": true, + "convertImpliedDecimal": true, + "preserveInterchange": true, + "suspendInterchangeOnError": true, + "createEmptyXmlTagsForTrailingSeparators": true, + "useDotAsDecimalSeparator": true + }, + "schemaReferences": [] + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "validationSettings": { + "validateCharacterSet": true, + "checkDuplicateInterchangeControlNumber": false, + "interchangeControlNumberValidityDays": 30, + "checkDuplicateGroupControlNumber": false, + "checkDuplicateTransactionSetControlNumber": false, + "validateEdiTypes": true, + "validateXsdTypes": false, + "allowLeadingAndTrailingSpacesAndZeroes": false, + "trimLeadingAndTrailingSpacesAndZeroes": false, + "trailingSeparatorPolicy": "NotAllowed" + }, + "framingSettings": { + "dataElementSeparator": 42, + "componentSeparator": 58, + "replaceSeparatorsInPayload": false, + "replaceCharacter": 36, + "segmentTerminator": 126, + "characterSet": "UTF8", + "segmentTerminatorSuffix": "None" + }, + "envelopeSettings": { + "controlStandardsId": 100, + "useControlStandardsIdAsRepetitionCharacter": true, + "senderApplicationId": "100", + "receiverApplicationId": "100", + "controlVersionNumber": "0.0", + "interchangeControlNumberLowerBound": 1, + "interchangeControlNumberUpperBound": 999999999, + "rolloverInterchangeControlNumber": true, + "enableDefaultGroupHeaders": true, + "functionalGroupId": "1", + "groupControlNumberLowerBound": 1, + "groupControlNumberUpperBound": 999999999, + "rolloverGroupControlNumber": true, + "groupHeaderAgencyCode": "T", + "groupHeaderVersion": "0.0", + "transactionSetControlNumberLowerBound": 1, + "transactionSetControlNumberUpperBound": 999999999, + "rolloverTransactionSetControlNumber": true, + "transactionSetControlNumberPrefix": "", + "transactionSetControlNumberSuffix": "", + "overwriteExistingTransactionSetControlNumber": true, + "groupHeaderDateFormat": "CCYYMMDD", + "groupHeaderTimeFormat": "HHMM", + "usageIndicator": "Information" + }, + "acknowledgementSettings": { + "needTechnicalAcknowledgement": false, + "batchTechnicalAcknowledgements": true, + "needFunctionalAcknowledgement": false, + "batchFunctionalAcknowledgements": true, + "needImplementationAcknowledgement": false, + "batchImplementationAcknowledgements": false, + "needLoopForValidMessages": false, + "sendSynchronousAcknowledgement": true, + "acknowledgementControlNumberLowerBound": 1, + "acknowledgementControlNumberUpperBound": 999999999, + "rolloverAcknowledgementControlNumber": true + }, + "messageFilter": { + "messageFilterType": "Exclude" + }, + "securitySettings": { + "authorizationQualifier": "00", + "securityQualifier": "00" + }, + "processingSettings": { + "maskSecurityInfo": true, + "convertImpliedDecimal": true, + "preserveInterchange": true, + "suspendInterchangeOnError": true, + "createEmptyXmlTagsForTrailingSeparators": true, + "useDotAsDecimalSeparator": true + }, + "schemaReferences": [] + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + }, + "createdTime": "2017-03-06T22:00:54.1516558Z", + "changedTime": "2017-03-06T22:00:54.1520445Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts//agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + }, + { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "AS2", + "content": { + "aS2": { + "receiveAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "None" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "messageConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "acknowledgementConnectionSettings": { + "ignoreCertificateNameMismatch": true, + "supportHttpStatusCodeContinue": true, + "keepHttpConnectionAlive": true, + "unfoldHttpHeaders": true + }, + "mdnSettings": { + "needMdn": true, + "signMdn": true, + "sendMdnAsynchronously": true, + "receiptDeliveryUrl": "http://tempuri.org", + "dispositionNotificationTo": "http://tempuri.org", + "signOutboundMdnIfOptional": true, + "mdnText": "Sample", + "sendInboundMdnToMessageBox": true, + "micHashingAlgorithm": "None" + }, + "securitySettings": { + "overrideGroupSigningCertificate": false, + "enableNrrForInboundEncodedMessages": true, + "enableNrrForInboundDecodedMessages": true, + "enableNrrForOutboundMdn": true, + "enableNrrForOutboundEncodedMessages": true, + "enableNrrForOutboundDecodedMessages": true, + "enableNrrForInboundMdn": true + }, + "validationSettings": { + "overrideMessageProperties": true, + "encryptMessage": false, + "signMessage": false, + "compressMessage": true, + "checkDuplicateMessage": true, + "interchangeDuplicatesValidityDays": 100, + "checkCertificateRevocationListOnSend": true, + "checkCertificateRevocationListOnReceive": true, + "encryptionAlgorithm": "AES128" + }, + "envelopeSettings": { + "messageContentType": "text/plain", + "transmitFileNameInMimeHeader": true, + "fileNameTemplate": "Test", + "suspendMessageOnFileNameGenerationError": true, + "autogenerateFileName": true + }, + "errorSettings": { + "suspendDuplicateMessage": true, + "resendIfMdnNotReceived": true + } + }, + "senderBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "receiverBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + } + } + } + }, + "createdTime": "2017-03-06T22:00:53.4134038Z", + "changedTime": "2017-03-06T22:00:53.4140804Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts//agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + }, + { + "properties": { + "hostPartner": "HostPartner", + "guestPartner": "GuestPartner", + "hostIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + }, + "guestIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "agreementType": "Edifact", + "content": { + "edifact": { + "receiveAgreement": { + "protocolSettings": { + "validationSettings": { + "validateCharacterSet": true, + "checkDuplicateInterchangeControlNumber": true, + "interchangeControlNumberValidityDays": 30, + "checkDuplicateGroupControlNumber": true, + "checkDuplicateTransactionSetControlNumber": true, + "validateEdiTypes": true, + "validateXsdTypes": true, + "trimLeadingAndTrailingSpacesAndZeroes": true, + "allowLeadingAndTrailingSpacesAndZeroes": true, + "trailingSeparatorPolicy": "Optional" + }, + "framingSettings": { + "characterEncoding": "UTF", + "protocolVersion": 4, + "dataElementSeparator": 53, + "componentSeparator": 58, + "segmentTerminator": 39, + "releaseIndicator": 63, + "repetitionSeparator": 42, + "characterSet": "UNOC", + "decimalPointIndicator": "Comma", + "segmentTerminatorSuffix": "None" + }, + "envelopeSettings": { + "groupAssociationAssignedCode": "0", + "communicationAgreementId": "0", + "applyDelimiterStringAdvice": true, + "createGroupingSegments": true, + "enableDefaultGroupHeaders": true, + "recipientReferencePasswordValue": "AA", + "recipientReferencePasswordQualifier": "ZZ", + "applicationReferenceId": "0", + "processingPriorityCode": "0", + "interchangeControlNumberLowerBound": 1, + "interchangeControlNumberUpperBound": 99999999, + "rolloverInterchangeControlNumber": true, + "interchangeControlNumberPrefix": "CU", + "interchangeControlNumberSuffix": "NUM", + "functionalGroupId": "0", + "groupControllingAgencyCode": "0", + "groupMessageVersion": "0.0", + "groupMessageRelease": "0.0", + "groupControlNumberLowerBound": 1, + "groupControlNumberUpperBound": 99999999, + "rolloverGroupControlNumber": true, + "groupControlNumberPrefix": "CU", + "groupControlNumberSuffix": "NUM", + "groupApplicationReceiverQualifier": "ZZZ", + "groupApplicationReceiverId": "0", + "groupApplicationSenderQualifier": "ZZZ", + "groupApplicationSenderId": "AAA", + "groupApplicationPassword": "0", + "overwriteExistingTransactionSetControlNumber": true, + "transactionSetControlNumberPrefix": "", + "transactionSetControlNumberSuffix": "", + "transactionSetControlNumberLowerBound": 1, + "transactionSetControlNumberUpperBound": 99999999, + "rolloverTransactionSetControlNumber": true, + "isTestInterchange": true, + "senderInternalIdentification": "AA", + "senderInternalSubIdentification": "AA", + "receiverInternalIdentification": "0", + "receiverInternalSubIdentification": "0" + }, + "acknowledgementSettings": { + "needTechnicalAcknowledgement": true, + "batchTechnicalAcknowledgements": true, + "needFunctionalAcknowledgement": false, + "batchFunctionalAcknowledgements": true, + "needLoopForValidMessages": false, + "sendSynchronousAcknowledgement": true, + "acknowledgementControlNumberPrefix": "", + "acknowledgementControlNumberSuffix": "", + "acknowledgementControlNumberLowerBound": 1, + "acknowledgementControlNumberUpperBound": 99999999, + "rolloverAcknowledgementControlNumber": true + }, + "messageFilter": { + "messageFilterType": "Exclude" + }, + "processingSettings": { + "maskSecurityInfo": true, + "preserveInterchange": true, + "suspendInterchangeOnError": true, + "createEmptyXmlTagsForTrailingSeparators": true, + "useDotAsDecimalSeparator": true + }, + "schemaReferences": [] + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + }, + "sendAgreement": { + "protocolSettings": { + "validationSettings": { + "validateCharacterSet": true, + "checkDuplicateInterchangeControlNumber": true, + "interchangeControlNumberValidityDays": 30, + "checkDuplicateGroupControlNumber": true, + "checkDuplicateTransactionSetControlNumber": true, + "validateEdiTypes": true, + "validateXsdTypes": true, + "trimLeadingAndTrailingSpacesAndZeroes": true, + "allowLeadingAndTrailingSpacesAndZeroes": true, + "trailingSeparatorPolicy": "Optional" + }, + "framingSettings": { + "characterEncoding": "UTF", + "protocolVersion": 4, + "dataElementSeparator": 53, + "componentSeparator": 58, + "segmentTerminator": 39, + "releaseIndicator": 63, + "repetitionSeparator": 42, + "characterSet": "UNOC", + "decimalPointIndicator": "Comma", + "segmentTerminatorSuffix": "None" + }, + "envelopeSettings": { + "groupAssociationAssignedCode": "0", + "communicationAgreementId": "0", + "applyDelimiterStringAdvice": true, + "createGroupingSegments": true, + "enableDefaultGroupHeaders": true, + "recipientReferencePasswordValue": "AA", + "recipientReferencePasswordQualifier": "ZZ", + "applicationReferenceId": "0", + "processingPriorityCode": "0", + "interchangeControlNumberLowerBound": 1, + "interchangeControlNumberUpperBound": 999999999, + "rolloverInterchangeControlNumber": true, + "interchangeControlNumberPrefix": "CU", + "interchangeControlNumberSuffix": "NUM", + "functionalGroupId": "0", + "groupControllingAgencyCode": "0", + "groupMessageVersion": "0.0", + "groupMessageRelease": "0.0", + "groupControlNumberLowerBound": 1, + "groupControlNumberUpperBound": 999999999, + "rolloverGroupControlNumber": true, + "groupControlNumberPrefix": "", + "groupControlNumberSuffix": "", + "groupApplicationReceiverQualifier": "ZZ", + "groupApplicationReceiverId": "0", + "groupApplicationSenderQualifier": "ZZ", + "groupApplicationSenderId": "AA", + "groupApplicationPassword": "0", + "overwriteExistingTransactionSetControlNumber": true, + "transactionSetControlNumberPrefix": "", + "transactionSetControlNumberSuffix": "", + "transactionSetControlNumberLowerBound": 1, + "transactionSetControlNumberUpperBound": 999999999, + "rolloverTransactionSetControlNumber": true, + "isTestInterchange": true, + "senderInternalIdentification": "AA", + "senderInternalSubIdentification": "AA", + "receiverInternalIdentification": "0", + "receiverInternalSubIdentification": "0" + }, + "acknowledgementSettings": { + "needTechnicalAcknowledgement": true, + "batchTechnicalAcknowledgements": true, + "needFunctionalAcknowledgement": true, + "batchFunctionalAcknowledgements": true, + "needLoopForValidMessages": true, + "sendSynchronousAcknowledgement": true, + "acknowledgementControlNumberPrefix": "CN", + "acknowledgementControlNumberSuffix": "NUM", + "acknowledgementControlNumberLowerBound": 1, + "acknowledgementControlNumberUpperBound": 999999999, + "rolloverAcknowledgementControlNumber": true + }, + "messageFilter": { + "messageFilterType": "Exclude" + }, + "processingSettings": { + "maskSecurityInfo": true, + "preserveInterchange": true, + "suspendInterchangeOnError": true, + "createEmptyXmlTagsForTrailingSeparators": true, + "useDotAsDecimalSeparator": true + }, + "schemaReferences": [] + }, + "senderBusinessIdentity": { + "qualifier": "AA", + "value": "AA" + }, + "receiverBusinessIdentity": { + "qualifier": "ZZ", + "value": "ZZ" + } + } + } + }, + "createdTime": "2017-03-06T22:00:53.8205121Z", + "changedTime": "2017-03-06T22:00:53.8212345Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts//agreements/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/agreements" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json new file mode 100644 index 000000000000..8a20a322d403 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "agreementName": "testAgreement", + "listContentCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/agreements/testAgreement/contents/Value?api-version=2015-08-01-preview&sp=%2Fagreements%2FtestAgreement%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4", + "method": "GET", + "basePath": "https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/agreements/testAgreement/contents/Value", + "queries": { + "api-version": "2015-08-01-preview" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json new file mode 100644 index 000000000000..1540af5978e1 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "assemblyArtifactName": "testAssembly", + "assemblyArtifact": { + "properties": { + "assemblyName": "System.IdentityModel.Tokens.Jwt", + "content": "Base64 encoded Assembly Content", + "metadata": {} + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "assemblyName": "System.IdentityModel.Tokens.Jwt", + "assemblyVersion": "0.0.0.0", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE54B058881\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:45:23.4129778Z", + "changedTime": "2017-02-24T18:45:23.4137139Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly", + "name": "testAssembly", + "type": "Microsoft.Logic/integrationAccounts/assemblies" + } + }, + "201": { + "body": { + "properties": { + "assemblyName": "System.IdentityModel.Tokens.Jwt", + "assemblyVersion": "0.0.0.0", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE54B058881\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:45:23.4129778Z", + "changedTime": "2017-02-24T18:45:23.4137139Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly", + "name": "testAssembly", + "type": "Microsoft.Logic/integrationAccounts/assemblies" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json new file mode 100644 index 000000000000..ff7cef029e43 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "assemblyArtifactName": "testAssembly" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json new file mode 100644 index 000000000000..686b9e165072 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "assemblyArtifactName": "testAssembly" + }, + "responses": { + "200": { + "body": { + "properties": { + "assemblyName": "System.IdentityModel.Tokens.Jwt", + "assemblyVersion": "0.0.0.0", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE54B058881\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:45:23.4129778Z", + "changedTime": "2017-02-24T18:45:23.4137139Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly", + "name": "testAssembly", + "type": "Microsoft.Logic/integrationAccounts/assemblies" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json new file mode 100644 index 000000000000..5ab3d785b34b --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "assemblyName": "System.IdentityModel.Tokens.Jwt", + "assemblyVersion": "0.0.0.0", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE54B058881\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:45:23.4129778Z", + "changedTime": "2017-02-24T18:45:23.4137139Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly", + "name": "testAssembly", + "type": "Microsoft.Logic/integrationAccounts/assemblies" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json new file mode 100644 index 000000000000..7f45cd32e4d1 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "assemblyArtifactName": "testAssembly", + "listContentCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/assemblies/testAssembly/contents/Value?api-version=2015-08-01-preview&sp=%2Fassemblies%2FtestAssembly%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4", + "method": "GET", + "basePath": "https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/assemblies/testAssembly/contents/Value", + "queries": { + "api-version": "2015-08-01-preview" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json new file mode 100644 index 000000000000..1371671cb47d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "batchConfigurationName": "testBatchConfiguration", + "batchConfiguration": { + "properties": { + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + } + } + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + }, + "createdTime": "2018-03-26T06:14:16.6518552Z", + "changedTime": "2018-03-26T06:14:16.7042301Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration", + "name": "testBatchConfiguration", + "type": "Microsoft.Logic/integrationAccounts/batchConfigurations" + } + }, + "201": { + "body": { + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + }, + "createdTime": "2018-03-26T06:14:16.6518552Z", + "changedTime": "2018-03-26T06:14:16.7042301Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration", + "name": "testBatchConfiguration", + "type": "Microsoft.Logic/integrationAccounts/batchConfigurations" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json new file mode 100644 index 000000000000..6c3fa83a06e6 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "batchConfigurationName": "testBatchConfiguration" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json new file mode 100644 index 000000000000..cd8558f6cbfb --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "batchConfigurationName": "testBatchConfiguration" + }, + "responses": { + "200": { + "body": { + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + }, + "createdTime": "2018-03-26T06:14:16.6518552Z", + "changedTime": "2018-03-26T06:14:16.7042301Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration", + "name": "testBatchConfiguration", + "type": "Microsoft.Logic/integrationAccounts/batchConfigurations" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json new file mode 100644 index 000000000000..4b7730575f41 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 + }, + "createdTime": "2018-03-26T06:14:16.6518552Z", + "changedTime": "2018-03-26T06:14:16.7042301Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/batchConfigurations/testBatchConfiguration", + "name": "testBatchConfiguration", + "type": "Microsoft.Logic/integrationAccounts/batchConfigurations" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json new file mode 100644 index 000000000000..c14f44af91cc --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "certificateName": "testCertificate", + "certificate": { + "properties": { + "key": { + "keyVault": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/" + }, + "keyName": "", + "keyVersion": "87d9764197604449b9b8eb7bd8710868" + }, + "publicCertificate": "" + }, + "location": "brazilsouth" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "key": { + "keyVault": { + "name": "", + "id": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/", + "type": "Microsoft.KeyVault/vaults" + }, + "keyName": "", + "keyVersion": "87d9764197604449b9b8eb7bd8710868" + }, + "publicCertificate": "", + "createdTime": "2017-03-06T20:42:21.0510202Z", + "changedTime": "2017-03-06T20:42:21.051317Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate", + "name": "testCertificate", + "type": "Microsoft.Logic/integrationAccounts/certificates" + } + }, + "201": { + "body": { + "properties": { + "key": { + "keyVault": { + "name": "", + "id": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/", + "type": "Microsoft.KeyVault/vaults" + }, + "keyName": "", + "keyVersion": "87d9764197604449b9b8eb7bd8710868" + }, + "publicCertificate": "", + "createdTime": "2017-03-06T20:42:21.0510202Z", + "changedTime": "2017-03-06T20:42:21.051317Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate", + "name": "testCertificate", + "type": "Microsoft.Logic/integrationAccounts/certificates" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json new file mode 100644 index 000000000000..25c61d5bffc3 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "certificateName": "testCertificate" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json new file mode 100644 index 000000000000..5aebf464fdd9 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "certificateName": "testCertificate" + }, + "responses": { + "200": { + "body": { + "properties": { + "key": { + "keyVault": { + "name": "", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/", + "type": "Microsoft.KeyVault/vaults" + }, + "keyName": "", + "keyVersion": "87d9764197604449b9b8eb7bd8710868" + }, + "publicCertificate": "", + "createdTime": "2017-03-06T20:42:21.0510202Z", + "changedTime": "2017-03-06T20:42:21.051317Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9472/certificates/testCertificate", + "name": "testCertificate", + "type": "Microsoft.Logic/integrationAccounts/certificates" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json new file mode 100644 index 000000000000..9dbc85729115 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "key": { + "keyVault": { + "name": "AzureSdkTestKeyVault", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/", + "type": "Microsoft.KeyVault/vaults" + }, + "keyName": "", + "keyVersion": "87d9764197604449b9b8eb7bd8710868" + }, + "publicCertificate": "", + "createdTime": "2017-03-06T20:33:09.7022471Z", + "changedTime": "2017-03-06T20:33:09.7032076Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/", + "name": "", + "type": "Microsoft.Logic/integrationAccounts/certificates" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json new file mode 100644 index 000000000000..d852355c5d3e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "mapName": "testMap", + "map": { + "properties": { + "mapType": "Xslt", + "content": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", + "contentType": "application/xml", + "metadata": {} + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mapType": "Xslt", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D464C057F22E5F\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-03-06T18:41:03.7366103Z", + "changedTime": "2017-03-06T18:41:04.4088605Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups//providers/Microsoft.Logic/integrationAccounts//maps/testMap", + "name": "IntegrationAccountMap291", + "type": "Microsoft.Logic/integrationAccounts/maps" + } + }, + "201": { + "body": { + "properties": { + "mapType": "Xslt", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D464C057F22E5F\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-03-06T18:41:03.7366103Z", + "changedTime": "2017-03-06T18:41:04.4088605Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups//providers/Microsoft.Logic/integrationAccounts//maps/testMap", + "name": "IntegrationAccountMap291", + "type": "Microsoft.Logic/integrationAccounts/maps" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json new file mode 100644 index 000000000000..931ac76dc436 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "mapName": "testMap" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json new file mode 100644 index 000000000000..4dbd60b4d9db --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "mapName": "testMap" + }, + "responses": { + "200": { + "body": { + "properties": { + "mapType": "Xslt", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE54B058881\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:45:23.4129778Z", + "changedTime": "2017-02-24T18:45:23.4137139Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/testMap", + "name": "testMap", + "type": "Microsoft.Logic/integrationAccounts/maps" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json new file mode 100644 index 000000000000..5cbf34e9385d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "mapType": "Xslt", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45CE3C6D23B4B\"", + "contentSize": 3056, + "contentHash": { + "algorithm": "md5", + "value": "A2avz/M0ov2FPI3+Je8vDw==" + } + }, + "createdTime": "2017-02-24T18:34:32.3902373Z", + "changedTime": "2017-02-24T18:34:32.390576Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/IntegrationAccountMap9943", + "name": "IntegrationAccountMap9943", + "type": "Microsoft.Logic/integrationAccounts/maps" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json new file mode 100644 index 000000000000..17e754a767d7 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "mapName": "testMap", + "listContentCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/maps/testMap/contents/Value?api-version=2015-08-01-preview&sp=%2Fmaps%2Ftestmap%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4", + "method": "GET", + "basePath": "https://prod-00.brazilus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/maps/testmap/contents/Value", + "queries": { + "api-version": "2015-08-01-preview" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json new file mode 100644 index 000000000000..dcdb12f1b17a --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "partnerName": "testPartner", + "partner": { + "properties": { + "partnerType": "B2B", + "metadata": {}, + "content": { + "b2b": { + "businessIdentities": [ + { + "qualifier": "AA", + "value": "ZZ" + } + ] + } + } + }, + "location": "westus", + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerType": "B2B", + "content": { + "b2b": { + "businessIdentities": [ + { + "qualifier": "AA", + "value": "ZZ" + } + ] + } + }, + "createdTime": "2017-03-06T20:06:23.5895246Z", + "changedTime": "2017-03-06T20:06:23.5904806Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/partners/testPartner", + "name": "testPartner", + "type": "Microsoft.Logic/integrationAccounts/partners" + } + }, + "201": { + "body": { + "properties": { + "partnerType": "B2B", + "content": { + "b2b": { + "businessIdentities": [ + { + "qualifier": "AA", + "value": "ZZ" + } + ] + } + }, + "createdTime": "2017-03-06T20:06:23.5895246Z", + "changedTime": "2017-03-06T20:06:23.5904806Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/flowrg/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/partners/testPartner", + "name": "testPartner", + "type": "Microsoft.Logic/integrationAccounts/partners" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json new file mode 100644 index 000000000000..27730f0769f0 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "partnerName": "testPartner" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json new file mode 100644 index 000000000000..a765a94c5a78 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "partnerName": "testPartner" + }, + "responses": { + "200": { + "body": { + "properties": { + "partnerType": "B2B", + "content": { + "b2b": { + "businessIdentities": [ + { + "qualifier": "AA", + "value": "ZZ" + } + ] + } + }, + "createdTime": "2017-03-06T20:01:24.0517156Z", + "changedTime": "2017-03-06T20:01:24.0525141Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/partners/testPartner", + "name": "testIntegrationAccount", + "type": "Microsoft.Logic/integrationAccounts/partners" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json new file mode 100644 index 000000000000..7332c84bed76 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "partnerType": "B2B", + "content": { + "b2b": { + "businessIdentities": [ + { + "qualifier": "AA", + "value": "ZZ" + } + ] + } + }, + "createdTime": "2017-03-06T19:42:59.197919Z", + "changedTime": "2017-03-06T19:42:59.1987212Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount2431/partners/testIntegrationAccount", + "name": "IntegrationAccountPartner947", + "type": "Microsoft.Logic/integrationAccounts/partners" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json new file mode 100644 index 000000000000..d2f387f76a6f --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "partnerName": "testPartner", + "listContentCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/partners/testPartner/contents/Value?api-version=2015-08-01-preview&sp=%2Fpartners%2FtestPartner%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4", + "method": "GET", + "basePath": "https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/partners/testPartner/contents/Value", + "queries": { + "api-version": "2015-08-01-preview" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json new file mode 100644 index 000000000000..fbd94da5890d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "schemaName": "testSchema", + "schema": { + "properties": { + "schemaType": "Xml", + "metadata": {}, + "content": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", + "contentType": "application/xml" + }, + "location": "westus", + "tags": { + "integrationAccountSchemaName": "IntegrationAccountSchema8120" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaType": "Xml", + "targetNamespace": "http://Inbound_EDI.OrderFile", + "documentName": "OrderFile", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45C56FEDFCB45\"", + "contentSize": 7901, + "contentHash": { + "algorithm": "md5", + "value": "" + } + }, + "createdTime": "2017-02-24T01:46:48.0837583Z", + "changedTime": "2017-02-24T01:46:48.0847046Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/schemas/testSchema", + "name": "IntegrationAccountSchema5349", + "type": "Microsoft.Logic/integrationAccounts/schemas" + } + }, + "201": { + "body": { + "properties": { + "schemaType": "Xml", + "targetNamespace": "http://Inbound_EDI.OrderFile", + "documentName": "OrderFile", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45C56FEDFCB45\"", + "contentSize": 7901, + "contentHash": { + "algorithm": "md5", + "value": "" + } + }, + "createdTime": "2017-02-24T01:46:48.0837583Z", + "changedTime": "2017-02-24T01:46:48.0847046Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/schemas/testSchema", + "name": "IntegrationAccountSchema5349", + "type": "Microsoft.Logic/integrationAccounts/schemas" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json new file mode 100644 index 000000000000..3d97c07bab66 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "schemaName": "testSchema" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json new file mode 100644 index 000000000000..814753c54c1b --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "schemaName": "testSchema" + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaType": "Xml", + "targetNamespace": "http://Inbound_EDI.OrderFile", + "documentName": "OrderFile", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45C56FEDFCB45\"", + "contentSize": 7901, + "contentHash": { + "algorithm": "md5", + "value": "" + } + }, + "createdTime": "2017-02-24T01:46:48.0837583Z", + "changedTime": "2017-02-24T01:46:48.0847046Z", + "metadata": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/schemas/testSchema", + "name": "IntegrationAccountSchema5349", + "type": "Microsoft.Logic/integrationAccounts/schemas" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json new file mode 100644 index 000000000000..1d039ddf613d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "", + "integrationAccountName": "" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "schemaType": "Xml", + "targetNamespace": "http://Inbound_EDI.OrderFile", + "documentName": "OrderFile", + "contentLink": { + "uri": "", + "contentVersion": "\"0x8D45C553EECEB76\"", + "contentSize": 7901, + "contentHash": { + "algorithm": "md5", + "value": "" + } + }, + "createdTime": "2017-02-24T01:34:16.7088958Z", + "changedTime": "2017-02-24T01:34:16.7098626Z", + "metadata": {} + }, + "id": "/subscriptions//resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts//schemas/IntegrationAccountSchema3944", + "name": "IntegrationAccountSchema3944", + "type": "Microsoft.Logic/integrationAccounts/schemas" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json new file mode 100644 index 000000000000..a65312d25165 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "schemaName": "testSchema", + "listContentCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-00.westus.logic.azure.com:443/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/schemas/testSchema/contents/Value?api-version=2015-08-01-preview&sp=%2Fschemas%2FtestSchema%2Fread&sv=1.0&sig=VK_mbQPTHTa3ezhsrI8IctckwjlL3GdJmroQH_baYj4", + "method": "GET", + "basePath": "https://prod-00.westus.logic.azure.com/integrationAccounts/0fdabc3a76514ca48dede71c73d9fe97/schemas/testSchema/contents/Value", + "queries": { + "api-version": "2015-08-01-preview" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json new file mode 100644 index 000000000000..6a0ff8120ba8 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json @@ -0,0 +1,65 @@ +{ + "title": "Create or update integration account session example", + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123", + "sessionName": "testsession123-ICN", + "session": { + "properties": { + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + } + } + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + }, + "body": { + "properties": { + "createdTime": "2017-02-21T20:41:35.9789189Z", + "changedTime": "2017-02-21T20:41:35.9796534Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN", + "name": "testsession123-ICN", + "type": "Microsoft.Logic/integrationAccounts/sessions" + } + }, + "201": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + }, + "body": { + "properties": { + "createdTime": "2017-02-21T20:41:35.9789189Z", + "changedTime": "2017-02-21T20:41:35.9796534Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN", + "name": "testsession123-ICN", + "type": "Microsoft.Logic/integrationAccounts/sessions" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json new file mode 100644 index 000000000000..ca8986f09f20 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json @@ -0,0 +1,30 @@ +{ + "title": "Delete integration account session examples", + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123", + "sessionName": "testsession123-ICN" + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Length": 0, + "Expires": -1, + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + } + }, + "204": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Length": 0, + "Expires": -1, + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json new file mode 100644 index 000000000000..45c3ef54b125 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json @@ -0,0 +1,35 @@ +{ + "title": "Get integration account session examples", + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123", + "sessionName": "testsession123-ICN" + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + }, + "body": { + "properties": { + "createdTime": "2017-02-21T20:41:35.9789189Z", + "changedTime": "2017-02-21T20:41:35.9796534Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN", + "name": "testsession123-ICN", + "type": "Microsoft.Logic/integrationAccounts/sessions" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json new file mode 100644 index 000000000000..5e1e50d41f08 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json @@ -0,0 +1,64 @@ +{ + "title": "List by integration account session examples", + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123" + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 21 Feb 2017 20:43:03 GMT" + }, + "body": { + "value": [ + { + "properties": { + "createdTime": "2017-02-21T23:06:24.0152955Z", + "changedTime": "2017-02-21T23:06:24.0158575Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession1662", + "name": "IntegrationAccountSession1662", + "type": "Microsoft.Logic/integrationAccounts/sessions" + }, + { + "properties": { + "createdTime": "2017-02-21T23:06:23.7535558Z", + "changedTime": "2017-02-21T23:06:23.7540113Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession6808", + "name": "IntegrationAccountSession6808", + "type": "Microsoft.Logic/integrationAccounts/sessions" + }, + { + "properties": { + "createdTime": "2017-02-21T23:06:23.8367926Z", + "changedTime": "2017-02-21T23:06:23.8370161Z", + "content": { + "controlNumber": "1234", + "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/IntegrationAccountSession7315", + "name": "IntegrationAccountSession7315", + "type": "Microsoft.Logic/integrationAccounts/sessions" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json new file mode 100644 index 000000000000..5280a15eb221 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationAccountName": "testIntegrationAccount", + "integrationAccount": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "testIntegrationAccount", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + }, + "201": { + "body": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "testIntegrationAccount", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json new file mode 100644 index 000000000000..057e1c062812 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json new file mode 100644 index 000000000000..1c4b761fa9ff --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationAccountName": "testIntegrationAccount" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "IntegrationAccount5892", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json new file mode 100644 index 000000000000..ef95351e238a --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/IntegrationAccount9020", + "name": "IntegrationAccount9020", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json new file mode 100644 index 000000000000..f68b1bdc329e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "sku": { + "name": "Free" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "daviburgIAFabrikam", + "type": "Microsoft.Logic/integrationAccounts", + "location": "northcentralus" + } + ], + "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Logic/integrationAccounts?api-version=2018-07-01-preview&%24skiptoken=" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json new file mode 100644 index 000000000000..380249728ef9 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationAccountName": "testIntegrationAccount", + "parameters": { + "notAfter": "2017-03-05T08:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://testprod-westus.logic.azure.com:443/integrationAccounts/ce41a499a1e64d95b874f5f14b4bf3b6?api-version=2015-08-01-preview&se=2017-03-17T07%3A00%3A00.0000000Z&sp=%2F%2F%2A&sv=1.0" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json new file mode 100644 index 000000000000..1d0726cbdb32 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "listKeyVaultKeys": { + "keyVault": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault" + }, + "skipToken": "testSkipToken" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kid": "https://testKeyVault.vault.azure.net/keys/testkey", + "attributes": { + "enabled": true, + "created": 1498072075, + "updated": 1498072075 + } + } + ], + "skipToken": "testSkipToken" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json new file mode 100644 index 000000000000..02cfa29956b9 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "logTrackingEvents": { + "sourceType": "Microsoft.Logic/workflows", + "source": { + "workflow": { + "systemId": "/locations/westus/scaleunits/test-01/workflows/bf501b3fceaa4a858a166aa64768ced5" + }, + "runInstance": { + "runId": "08586772141809790618914792486CU03" + }, + "operation": { + "operationName": "httpgetaction" + } + }, + "events": [ + { + "eventlevel": "Informational", + "eventTime": "2016-08-05T01:54:49.505567Z", + "recordType": "AS2Message", + "record": { + "agreementProperties": { + "senderPartnerName": "testPartner1", + "receiverPartnerName": "testPartner2", + "as2To": "testas2to", + "as2From": "testas2from", + "agreementName": "testAgreement" + }, + "messageProperties": { + "direction": "Receive", + "messageId": "12345", + "dispositionType": "received-success", + "fileName": "test", + "isMessageFailed": false, + "IsMessageEncrypted": false, + "IsMessageSigned": false, + "correlationMessageId": "Unique message identifier", + "isMessageCompressed": false, + "isNrrEnabled": true, + "isMdnExpected": true, + "mdnType": "Async" + } + }, + "error": { + "message": "Some error occurred", + "code": "NotFound" + } + } + ] + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json new file mode 100644 index 000000000000..739972b5f3cf --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "regenerateAccessKey": { + "KeyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "testIntegrationAccount", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json new file mode 100644 index 000000000000..0f4499002462 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationAccountName": "testIntegrationAccount", + "integrationAccount": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount", + "name": "testIntegrationAccount", + "type": "Microsoft.Logic/integrationAccounts", + "location": "westus" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json new file mode 100644 index 000000000000..2369377ab4c6 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "summary": "Send message", + "description": "This operation sends a message to a queue or topic.", + "visibility": "important", + "pageable": false, + "annotation": { + "status": "Production", + "family": "SendMessage", + "revision": 1 + }, + "api": { + "name": "servicebus", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment", + "displayName": "Service Bus", + "description": "Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc.", + "iconUri": "https://tempuri.org/servicebus/icon_1.0.1035.1219.png", + "brandColor": "#c4d5ff", + "category": "Standard", + "integrationServiceEnvironment": { + "name": "testIntegrationServiceEnvironment", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus", + "type": "Microsoft.Logic/integrationServiceEnvironments/managedApis" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus/apiOperations/SendMessage", + "name": "SendMessage", + "type": "Microsoft.Logic/integrationServiceEnvironments/managedApis/apiOperations", + "location": "brazilsouth" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json new file mode 100644 index 000000000000..fe600bef1ba8 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment", + "apiName": "servicebus" + }, + "responses": { + "200": { + "properties": { + "name": "servicebus", + "connectionParameters": { + "connectionString": { + "type": "securestring", + "uiDefinition": { + "displayName": "Connection String", + "description": "Azure Service Bus Connection String", + "tooltip": "Provide Azure Service Bus Connection String", + "constraints": { + "required": "true" + } + } + } + }, + "metadata": { + "source": "marketplace", + "brandColor": "#c4d5ff" + }, + "runtimeUrls": [ + "https://tempuri.org/apim/servicebus" + ], + "generalInformation": { + "iconUrl": "https://tempuri.org/servicebus/icon_1.0.1035.1219.png", + "displayName": "Service Bus", + "description": "Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc.", + "releaseTag": "Production", + "tier": "Standard" + }, + "capabilities": [ + "actions" + ], + "integrationServiceEnvironment": { + "name": "testIntegrationServiceEnvironment", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus", + "name": "servicebus", + "type": "Microsoft.Logic/integrationServiceEnvironments/managedApis", + "location": "brazilsouth" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json new file mode 100644 index 000000000000..2da2bc0a6ed4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "name": "servicebus", + "connectionParameters": { + "connectionString": { + "type": "securestring", + "uiDefinition": { + "displayName": "Connection String", + "description": "Azure Service Bus Connection String", + "tooltip": "Provide Azure Service Bus Connection String", + "constraints": { + "required": "true" + } + } + } + }, + "metadata": { + "source": "marketplace", + "brandColor": "#c4d5ff" + }, + "runtimeUrls": [ + "https://tempuri.org/apim/servicebus" + ], + "generalInformation": { + "iconUrl": "https://tempuri.org/servicebus/icon_1.0.1035.1219.png", + "displayName": "Service Bus", + "description": "Connect to Azure Service Bus to send and receive messages. You can perform actions such as send to queue, send to topic, receive from queue, receive from subscription, etc.", + "releaseTag": "Production", + "tier": "Standard" + }, + "capabilities": [ + "actions" + ], + "integrationServiceEnvironment": { + "name": "testIntegrationServiceEnvironment", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment/managedApis/servicebus", + "name": "servicebus", + "type": "Microsoft.Logic/integrationServiceEnvironments/managedApis", + "location": "brazilsouth" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json new file mode 100644 index 000000000000..bc5d08394e95 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json new file mode 100644 index 000000000000..518b89a8c9f4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup", + "integrationServiceEnvironmentName": "testIntegrationServiceEnvironment" + }, + "responses": { + "200": { + "sku": { + "name": "Premium", + "capacity": 1 + }, + "properties": { + "provisioningState": "Succeeded", + "integrationServiceEnvironmentId": "28ef7f159f3a47a5911a1ef4e19822fb", + "networkConfiguration": { + "peeredVirtualNetworks": {} + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "name": "testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments", + "location": "brazilsouth" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json new file mode 100644 index 000000000000..484cfb0cb89e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testResourceGroup" + }, + "responses": { + "200": { + "value": [ + { + "sku": { + "name": "Premium", + "capacity": 1 + }, + "properties": { + "provisioningState": "Succeeded", + "integrationServiceEnvironmentId": "28ef7f159f3a47a5911a1ef4e19822fb", + "networkConfiguration": { + "peeredVirtualNetworks": {} + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "name": "testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments", + "location": "brazilsouth" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json new file mode 100644 index 000000000000..50c3db652aff --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2018-03-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "value": [ + { + "sku": { + "name": "Premium", + "capacity": 1 + }, + "properties": { + "provisioningState": "Succeeded", + "integrationServiceEnvironmentId": "28ef7f159f3a47a5911a1ef4e19822fb", + "networkConfiguration": { + "peeredVirtualNetworks": {} + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationServiceEnvironments/testIntegrationServiceEnvironment", + "name": "testIntegrationServiceEnvironment", + "type": "Microsoft.Logic/integrationServiceEnvironments", + "location": "brazilsouth" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..795d67394033 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json @@ -0,0 +1,1351 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview" + }, + "responses": { + "200": { + "value": [ + { + "name": "Microsoft.Logic/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Operation", + "operation": "Get Operation", + "description": "Gets the operation." + } + }, + { + "name": "Microsoft.Logic/register/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Resource Provider", + "operation": "Register Resource Provider", + "description": "Registers the Microsoft.Logic resource provider for a given subscription." + } + }, + { + "name": "Microsoft.Logic/locations/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow", + "description": "Validates the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get Workflow", + "description": "Reads the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Set Workflow", + "description": "Creates or updates the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Delete Workflow", + "description": "Deletes the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Run Workflow", + "description": "Starts a run of the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/disable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Disable Workflow", + "description": "Disables the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/enable/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Enable Workflow", + "description": "Enables the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/suspend/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Suspend Workflow", + "description": "Suspends the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/validate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Validate Workflow", + "description": "Validates the workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/move/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Move Workflow", + "description": "Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name." + } + }, + { + "name": "Microsoft.Logic/workflows/listSwagger/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "Get workflow swagger", + "description": "Gets the workflow swagger definitions." + } + }, + { + "name": "Microsoft.Logic/workflows/versions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Version", + "operation": "Get Workflow Version", + "description": "Reads the workflow version." + } + }, + { + "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL", + "description": "Gets the callback URL for trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Get Access Key", + "description": "Reads the access key." + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Set Access Key", + "description": "Creates or updates the access key." + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Delete Access Key", + "description": "Deletes the access key." + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/list/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "List Access Key", + "description": "Lists the access key secrets." + } + }, + { + "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key", + "description": "Regenerates the access key secrets." + } + }, + { + "name": "Microsoft.Logic/workflows/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Access Key", + "operation": "Regenerate Access Key", + "description": "Regenerates the access key secrets." + } + }, + { + "name": "Microsoft.Logic/workflows/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow", + "operation": "List workflow callback URL", + "description": "Gets the callback URL for workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Get Trigger", + "description": "Reads the trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/run/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Run", + "description": "Executes the trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/reset/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Trigger Reset", + "description": "Resets the trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/setState/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "Set Trigger State", + "description": "Sets the trigger state." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Get Trigger Histories", + "description": "Reads the trigger histories." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger Histories", + "operation": "Resubmit trigger", + "description": "Resubmits the workflow trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Trigger", + "operation": "List Trigger Callback URL", + "description": "Gets the callback URL for trigger." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Get Workflow Run", + "description": "Reads the workflow run." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/cancel/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run", + "operation": "Cancel Workflow Run", + "description": "Cancels the run of a workflow." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/operations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Operation", + "operation": "Get Workflow Run Operation Status", + "description": "Reads the workflow run operation status." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "Get Workflow Run Action", + "description": "Reads the workflow run action." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "Get Workflow Run Action Repetition", + "description": "Reads the workflow run action repetition." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Scope Repetition", + "operation": "Get Workflow Run Action Scope Repetition", + "description": "Reads the workflow run action scope repetition." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run action request history", + "operation": "Gets the workflow run action request history", + "description": "Reads the workflow run action request history." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow run repetition action request history", + "operation": "Gets the workflow run repetition action request history", + "description": "Reads the workflow run repetition action request history." + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Get Workflow Diagnostic Setting", + "description": "Reads the workflow diagnostic settings." + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Diagnostic Setting", + "operation": "Set Workflow Diagnostic Setting", + "description": "Creates or updates the workflow diagnostic setting." + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Metric Definition", + "operation": "Get Workflow Metric Definition", + "description": "Reads the workflow metric definitions." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "RunsStarted", + "displayName": "Runs Started", + "displayDescription": "Number of workflow runs started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCompleted", + "displayName": "Runs Completed", + "displayDescription": "Number of workflow runs completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsSucceeded", + "displayName": "Runs Succeeded", + "displayDescription": "Number of workflow runs succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsFailed", + "displayName": "Runs Failed", + "displayDescription": "Number of workflow runs failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunsCancelled", + "displayName": "Runs Cancelled", + "displayDescription": "Number of workflow runs cancelled.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunLatency", + "displayName": "Run Latency", + "displayDescription": "Latency of completed workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunSuccessLatency", + "displayName": "Run Success Latency", + "displayDescription": "Latency of succeeded workflow runs.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "RunThrottledEvents", + "displayName": "Run Throttled Events", + "displayDescription": "Number of workflow action or trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "RunFailurePercentage", + "displayName": "Run Failure Percentage", + "displayDescription": "Percentage of workflow runs failed.", + "unit": "Percent", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsStarted", + "displayName": "Actions Started ", + "displayDescription": "Number of workflow actions started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsCompleted", + "displayName": "Actions Completed ", + "displayDescription": "Number of workflow actions completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSucceeded", + "displayName": "Actions Succeeded ", + "displayDescription": "Number of workflow actions succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsFailed", + "displayName": "Actions Failed ", + "displayDescription": "Number of workflow actions failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionsSkipped", + "displayName": "Actions Skipped ", + "displayDescription": "Number of workflow actions skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "ActionLatency", + "displayName": "Action Latency ", + "displayDescription": "Latency of completed workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionSuccessLatency", + "displayName": "Action Success Latency ", + "displayDescription": "Latency of succeeded workflow actions.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "ActionThrottledEvents", + "displayName": "Action Throttled Events", + "displayDescription": "Number of workflow action throttled events..", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersStarted", + "displayName": "Triggers Started ", + "displayDescription": "Number of workflow triggers started.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersCompleted", + "displayName": "Triggers Completed ", + "displayDescription": "Number of workflow triggers completed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSucceeded", + "displayName": "Triggers Succeeded ", + "displayDescription": "Number of workflow triggers succeeded.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFailed", + "displayName": "Triggers Failed ", + "displayDescription": "Number of workflow triggers failed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersSkipped", + "displayName": "Triggers Skipped", + "displayDescription": "Number of workflow triggers skipped.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggersFired", + "displayName": "Triggers Fired ", + "displayDescription": "Number of workflow triggers fired.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TriggerLatency", + "displayName": "Trigger Latency ", + "displayDescription": "Latency of completed workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerFireLatency", + "displayName": "Trigger Fire Latency ", + "displayDescription": "Latency of fired workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerSuccessLatency", + "displayName": "Trigger Success Latency ", + "displayDescription": "Latency of succeeded workflow triggers.", + "unit": "Seconds", + "aggregationType": "Average", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": false + }, + { + "name": "TriggerThrottledEvents", + "displayName": "Trigger Throttled Events", + "displayDescription": "Number of workflow trigger throttled events.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableActionExecutions", + "displayName": "Billable Action Executions", + "displayDescription": "Number of workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableTriggerExecutions", + "displayName": "Billable Trigger Executions", + "displayDescription": "Number of workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableExecutions", + "displayName": "Total Billable Executions", + "displayDescription": "Number of workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeActionExecutions", + "displayName": "Billable Native Action Executions", + "displayDescription": "Number of native workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableNativeTriggerExecutions", + "displayName": "Billable Native Trigger Executions", + "displayDescription": "Number of native workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableNativeExecutions", + "displayName": "Total Native Billable Executions", + "displayDescription": "Number of native workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardActionExecutions", + "displayName": "Billable Standard Action Executions", + "displayDescription": "Number of standard workflow action executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "BillableStandardTriggerExecutions", + "displayName": "Billable Standard Trigger Executions", + "displayDescription": "Number of standard workflow trigger executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + }, + { + "name": "TotalBillableStandardExecutions", + "displayName": "Total Standard Billable Executions", + "displayDescription": "Number of standard workflow executions getting billed.", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [], + "availabilities": [ + { + "timeGrain": "PT1M", + "blobDuration": "PT1H" + } + ], + "fillGapWithZero": true + } + ] + } + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Log Definition", + "operation": "Get Workflow Log Definition", + "description": "Reads the workflow log definitions." + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "WorkflowRuntime", + "displayName": "Workflow runtime diagnostic events", + "description": "Diagnostic events related to workflow runtime executions.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action", + "operation": "List Workflow Run Action Expression Traces", + "description": "Gets the workflow run action expression traces." + } + }, + { + "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Workflow Run Action Repetition", + "operation": "List Workflow Run Action Repetition Expression Traces", + "description": "Gets the workflow run action repetition expression traces." + } + }, + { + "origin": "System", + "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Log Definition", + "operation": "Get Integration Account Log Definition", + "description": "Reads the Integration Account log definitions." + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "IntegrationAccountTrackingEvents", + "displayName": "Integration Account track events", + "description": "Track events related to Integration Account.", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Get Integration Account", + "description": "Reads the integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Set Integration Account", + "description": "Creates or updates the integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Delete Integration Account", + "description": "Deletes the integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Regenerate Access Key", + "description": "Regenerates the access key secrets." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Integration Account Callback URL", + "description": "Gets the callback URL for integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "List Key Vault Keys", + "description": "Gets the keys in the key vault." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Log Integration Account Tracking Events", + "description": "Logs the tracking events in the integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account", + "operation": "Join Integration Account", + "description": "Joins the Integration Account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Get Integration Account Partner", + "description": "Reads the parter in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Set Integration Account Partner", + "description": "Creates or updates the partner in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "Delete Integration Account Partner", + "description": "Deletes the partner in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Partner", + "operation": "List Integration Account Partner Content Callback URL", + "description": "Gets the callback URL for partner content in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Get Integration Account Agreement", + "description": "Reads the agreement in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Set Integration Account Agreement", + "description": "Creates or updates the agreement in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "Delete Integration Account Agreement", + "description": "Deletes the agreement in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Agreement", + "operation": "List Integration Account Agreement Content Callback URL", + "description": "Gets the callback URL for agreement content in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Get Integration Account Certificate", + "description": "Reads the certificate in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Set Integration Account Certificate", + "description": "Creates or updates the certificate in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/certificates/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Certificate", + "operation": "Delete Integration Account Certificate", + "description": "Deletes the certificate in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Get Integration Account Schema", + "description": "Reads the schema in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Set Integration Account Schema", + "description": "Creates or updates the schema in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "Delete Integration Account Schema", + "description": "Deletes the schema in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Schema", + "operation": "List Integration Account Schema Content Callback URL", + "description": "Gets the callback URL for schema content in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Get Integration Account Map", + "description": "Reads the map in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Set Integration Account Map", + "description": "Creates or updates the map in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "Delete Integration Account Map", + "description": "Deletes the map in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Map", + "operation": "List Integration Account Map Content Callback URL", + "description": "Gets the callback URL for map content in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Get Integration Account Assembly", + "description": "Reads the assembly in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Set Integration Account Assembly", + "description": "Creates or updates the assembly in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "Delete Integration Account Assembly", + "description": "Deletes the assembly in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Assembly", + "operation": "List Integration Account Assembly Content Callback URL", + "description": "Gets the callback URL for assembly content in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Get Integration Account Batch Configuration", + "description": "Reads the batch configuration in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Set Integration Account Batch Configuration", + "description": "Creates or updates the batch configuration in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Batch Configuration", + "operation": "Delete Integration Account Batch Configuration", + "description": "Deletes the batch configuration in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Get Integration Account Session", + "description": "Reads the batch configuration in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Set Integration Account Session", + "description": "Creates or updates the session in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationAccounts/sessions/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Account Session", + "operation": "Delete Integration Account Session", + "description": "Deletes the session in integration account." + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/read", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Get Integration Service Environment", + "description": "Reads the integration service environment." + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/write", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Set Integration Service Environment", + "description": "Creates or updates the integration service environment." + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/delete", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Delete Integration Service Environment", + "description": "Deletes the integration service environment." + } + }, + { + "name": "Microsoft.Logic/integrationServiceEnvironments/join/action", + "display": { + "provider": "Microsoft Logic", + "resource": "Integration Service Environment", + "operation": "Join Integration Service Environment", + "description": "Joins the Integration Service Environment." + } + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json new file mode 100644 index 000000000000..ce935b634aac --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "testAction", + "repetitionName": "000001" + }, + "responses": { + "200": { + "body": { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 1 + } + ], + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "inputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M", + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "contentSize": 6, + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + } + }, + "outputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw", + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "contentSize": 6, + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + } + }, + "startTime": "2018-04-18T17:05:57.0929911Z", + "endTime": "2018-04-18T17:05:57.1015421Z", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "OK" + }, + "id": "api/management/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "name": "000001", + "type": "Microsoft.Logic/workflows/runs/actions/repetitions" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json new file mode 100644 index 000000000000..96d0f071723b --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "testAction" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 0 + } + ], + "trackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", + "inputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA", + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "contentSize": 8, + "contentHash": { + "algorithm": "md5", + "value": "8q1zMKS5ZyHBrPF+qF1xXw==" + } + }, + "outputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0", + "contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==", + "contentSize": 8, + "contentHash": { + "algorithm": "md5", + "value": "8q1zMKS5ZyHBrPF+qF1xXw==" + } + }, + "startTime": "2018-04-18T17:05:57.217991Z", + "endTime": "2018-04-18T17:05:57.2264835Z", + "correlation": { + "actionTrackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "OK" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000", + "name": "000000", + "type": "Microsoft.Logic/workflows/runs/actions/repetitions" + }, + { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 1 + } + ], + "trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "inputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M", + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "contentSize": 6, + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + } + }, + "outputsLink": { + "uri": "https://prod-08.northcentralus.logic.azure.com:443/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw", + "contentVersion": "OA3i83YHGYVch+N8BQJIRQ==", + "contentSize": 6, + "contentHash": { + "algorithm": "md5", + "value": "OA3i83YHGYVch+N8BQJIRQ==" + } + }, + "startTime": "2018-04-18T17:05:57.0929911Z", + "endTime": "2018-04-18T17:05:57.1015421Z", + "correlation": { + "actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "OK" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001", + "name": "000001", + "type": "Microsoft.Logic/workflows/runs/actions/repetitions" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json new file mode 100644 index 000000000000..6ab0922e56c4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "testAction", + "repetitionName": "000001" + }, + "responses": { + "200": { + "body": { + "inputs": [ + { + "path": "", + "text": "items('For_each')?['OccuringLocation']?['Environment']", + "value": "PROD" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json new file mode 100644 index 000000000000..f08ee5960839 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "for_each", + "repetitionName": "000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 0 + } + ], + "startTime": "2018-04-18T17:05:57.209588Z", + "endTime": "2018-04-18T17:05:57.6240967Z", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "NotSpecified" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "name": "000000", + "type": "Microsoft.Logic/workflows/runs/actions/scopeRepetitions" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json new file mode 100644 index 000000000000..880c4868d67e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "for_each" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 0 + } + ], + "startTime": "2018-04-18T17:05:57.209588Z", + "endTime": "2018-04-18T17:05:57.6240967Z", + "correlation": { + "actionTrackingId": "5c0e7c24-4891-44e8-b631-8084c5531dd5", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "NotSpecified" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000000", + "name": "000000", + "type": "Microsoft.Logic/workflows/runs/actions/scopeRepetitions" + }, + { + "properties": { + "repetitionIndexes": [ + { + "scopeName": "For_each", + "itemIndex": 1 + } + ], + "startTime": "2018-04-18T17:05:57.0686808Z", + "endTime": "2018-04-18T17:05:57.2272796Z", + "correlation": { + "actionTrackingId": "1682d0bd-7189-4478-b333-fe364a80bd69", + "clientTrackingId": "08586775357427610445444523191" + }, + "status": "Succeeded", + "code": "NotSpecified" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586776228332053161046300351/actions/for_each/scopeRepetitions/000001", + "name": "000001", + "type": "Microsoft.Logic/workflows/runs/actions/scopeRepetitions" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json new file mode 100644 index 000000000000..80e875d55f2e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "runName": "08586676746934337772206998657CU22", + "actionName": "HTTP" + }, + "responses": { + "200": { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json new file mode 100644 index 000000000000..a1db5925519b --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "runName": "08586676746934337772206998657CU22" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "inputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "5XUACojv0aBfuP56os3CWw==", + "contentSize": 46, + "contentHash": { + "algorithm": "md5", + "value": "XXUACojv0aBfuP56os3CWw==" + } + }, + "outputsLink": { + "uri": "https://tempuri.org", + "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==", + "contentSize": 11873, + "contentHash": { + "algorithm": "md5", + "value": "XX6KRrevI6AAxEvo9FeBYQ==" + } + }, + "startTime": "2018-08-10T20:16:32.305236Z", + "endTime": "2018-08-10T20:16:32.5450625Z", + "correlation": { + "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "status": "Succeeded", + "code": "OK" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP", + "name": "HTTP", + "type": "Microsoft.Logic/workflows/runs/actions" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json new file mode 100644 index 000000000000..2653e137264a --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586776228332053161046300351", + "actionName": "testAction", + "repetitionName": "000001" + }, + "responses": { + "200": { + "body": { + "inputs": [ + { + "path": "", + "text": "add(4, 4)", + "value": 8 + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json new file mode 100644 index 000000000000..49c739e06f33 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testFlow", + "runName": "08586774142730039209110422528", + "operationId": "ebdcbbde-c4db-43ec-987c-fd0f7726f43b" + }, + "responses": { + "200": { + "body": { + "properties": { + "waitEndTime": "2018-04-20T02:50:12.4741081Z", + "startTime": "2018-04-20T02:50:12.4741081Z", + "endTime": "2018-04-20T02:50:13.7177644Z", + "status": "Succeeded", + "correlation": { + "clientTrackingId": "08586774142730039209110422528" + }, + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/versions/08586993867806980512", + "name": "08586993867806980512", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-04-20T02:50:12.460076Z", + "endTime": "2018-04-20T02:50:12.460076Z", + "scheduledTime": "2018-04-20T02:50:12.1412543Z", + "correlation": { + "clientTrackingId": "08586774142730039209110422528" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testFlow/runs/08586774142730039209110422528", + "name": "08586774142730039209110422528", + "type": "Microsoft.Logic/workflows/runs" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json new file mode 100644 index 000000000000..28d6b086f68e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "runName": "08586676746934337772206998657CU22" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json new file mode 100644 index 000000000000..d80db8882239 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "runName": "08586676746934337772206998657CU22" + }, + "responses": { + "200": { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json new file mode 100644 index 000000000000..78369c18147c --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "waitEndTime": "2018-08-10T20:16:32.044238Z", + "startTime": "2018-08-10T20:16:32.044238Z", + "endTime": "2018-08-10T20:16:32.5779999Z", + "status": "Succeeded", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885", + "name": "08586676754160363885", + "type": "Microsoft.Logic/workflows/versions" + }, + "trigger": { + "name": "Recurrence", + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.0387927Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "code": "OK", + "status": "Succeeded" + }, + "outputs": {} + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json new file mode 100644 index 000000000000..f3507095e5be --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName", + "triggerName": "testTriggerName", + "historyName": "08586676746934337772206998657CU22" + }, + "responses": { + "200": { + "value": { + "properties": { + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.2987996Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "status": "Succeeded", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/triggers/histories" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json new file mode 100644 index 000000000000..5e278cffedb3 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName", + "triggerName": "testTriggerName" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "startTime": "2018-08-10T20:16:32.0387927Z", + "endTime": "2018-08-10T20:16:32.2987996Z", + "scheduledTime": "2018-08-10T20:16:31.6344174Z", + "status": "Succeeded", + "code": "OK", + "correlation": { + "clientTrackingId": "08586676746934337772206998657CU22" + }, + "fired": true, + "run": { + "name": "08586676746934337772206998657CU22", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/runs" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22", + "name": "08586676746934337772206998657CU22", + "type": "Microsoft.Logic/workflows/triggers/histories" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json new file mode 100644 index 000000000000..6ea7bc093117 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName", + "triggerName": "testTriggerName", + "historyName": "testHistoryName" + }, + "responses": { + "202": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json new file mode 100644 index 000000000000..137a55d3a11e --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "triggerName": "manual" + }, + "responses": { + "200": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json new file mode 100644 index 000000000000..a9c726cf6231 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflow", + "triggerName": "testTrigger" + }, + "responses": { + "200": { + "body": { + "title": "JsonTitle", + "content": "JsonContent" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json new file mode 100644 index 000000000000..bdfdcb07f611 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-08-10T17:32:30.2496336Z", + "changedTime": "2018-08-10T18:47:49.5288666Z", + "state": "Enabled", + "workflow": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", + "name": "08586676800160476478", + "type": "Microsoft.Logic/workflows/versions" + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", + "name": "manual", + "type": "Microsoft.Logic/workflows/triggers" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json new file mode 100644 index 000000000000..a9919d035630 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "triggerName": "manual" + }, + "responses": { + "200": { + "body": { + "value": "http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk", + "method": "POST", + "basePath": "http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke", + "queries": { + "api-version": "2018-07-01-preview", + "sp": "/versions/08587100027316071865/triggers/manualTrigger/run", + "sv": "1.0", + "sig": "IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json new file mode 100644 index 000000000000..2ca5d88cafc6 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflow", + "triggerName": "testTrigger" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json new file mode 100644 index 000000000000..5d9d83a06365 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "triggerName": "manual" + }, + "responses": { + "default": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json new file mode 100644 index 000000000000..87aab5373b16 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflow", + "triggerName": "testTrigger", + "setState": { + "source": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger" + } + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json new file mode 100644 index 000000000000..a3dc915c5c47 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName", + "versionId": "testWorkflowVersionId", + "triggerName": "testTriggerName", + "parameters": { + "notAfter": "2017-03-05T08:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke?api-version=2015-08-01-preview&sp=%2Fversions%2F08587100027316071865%2Ftriggers%2FmanualTrigger%2Frun&sv=1.0&sig=IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk", + "method": "POST", + "basePath": "http://test-host:100/workflows/fb9c8d79b15f41ce9b12861862f43546/versions/08587100027316071865/triggers/manualTrigger/paths/invoke", + "queries": { + "api-version": "2015-08-01-preview", + "sp": "/versions/08587100027316071865/triggers/manualTrigger/run", + "sv": "1.0", + "sig": "IxEQ_ygZf6WNEQCbjV0Vs6p6Y4DyNEJVAa86U5B4xhk" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json new file mode 100644 index 000000000000..bf979fb5cfe9 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "versionId": "08586676824806722526" + }, + "responses": { + "200": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json new file mode 100644 index 000000000000..c6e1294f18c3 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json new file mode 100644 index 000000000000..77914c99b60d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "workflow": { + "properties": { + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "$connections": { + "defaultValue": {}, + "type": "Object" + } + }, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Find_pet_by_ID": { + "runAfter": {}, + "type": "ApiConnection", + "inputs": { + "host": { + "connection": { + "name": "@parameters('$connections')['test-custom-connector']['connectionId']" + } + }, + "method": "get", + "path": "/pet/@{encodeURIComponent('1')}" + } + } + }, + "outputs": {} + }, + "parameters": { + "$connections": { + "value": { + "test-custom-connector": { + "connectionId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector", + "connectionName": "test-custom-connector", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector" + } + } + } + } + }, + "location": "brazilsouth", + "tags": {} + } + }, + "responses": { + "200": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json new file mode 100644 index 000000000000..074b0856a0fc --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json new file mode 100644 index 000000000000..2f0d9337774d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json new file mode 100644 index 000000000000..2f0d9337774d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json new file mode 100644 index 000000000000..3900cc695146 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "parameters": { + "targetSchemaVersion": "2016-06-01" + } + }, + "responses": { + "200": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "$connections": { + "defaultValue": {}, + "type": "Object" + } + }, + "triggers": {}, + "actions": {}, + "outputs": {} + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json new file mode 100644 index 000000000000..d4543c548e83 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow" + }, + "responses": { + "200": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json new file mode 100644 index 000000000000..cc400b578148 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json new file mode 100644 index 000000000000..5aa89e41cc07 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" + }, + "responses": { + "200": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + ] + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json new file mode 100644 index 000000000000..0c686b5b2855 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflow", + "listCallbackUrl": { + "notAfter": "2018-04-19T16:00:00Z", + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "value": "https://prod-03.westus.logic.azure.com/workflows/d4690301f3b340de9330256bb2e83974/triggers/requestTrigger/paths/invoke?api-version=2018-07-01-preview&se=2018-04-19T16%3A00%3A00.0000000Z&sp=%2Ftriggers%2FrequestTrigger%2Frun&sv=1.0&sig=JXbHjs3qzLPDyk-IM_VzsN-WL_mNql3v_uWbBbKgtVk", + "method": "POST", + "basePath": "https://prod-03.westus.logic.azure.com/workflows/d4690301f3b340de9330256bb2e83974", + "queries": { + "api-version": "2018-07-01-preview", + "se": "2018-04-19T16:00:00.0000000Z", + "sp": "//*", + "sv": "1.0", + "sig": "JXbHjs3qzLPDyk-IM_VzsN-WL_mNql3v_uWbBbKgtVk" + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json new file mode 100644 index 000000000000..fd3f5480014a --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName" + }, + "responses": { + "200": { + "body": { + "swagger": "2.0", + "info": { + "title": "flow", + "description": "Azure Logic App." + }, + "host": "test-host", + "basePath": "/workflows/2e420261710e423490d5d502fe9c4abb/triggers", + "schemes": [ + "http" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/simpleManualTrigger/paths/invoke": { + "post": { + "description": "Trigger a run of the logic app.", + "operationId": "simpleManualTrigger-invoke", + "parameters": [ + { + "name": "api-version", + "in": "query", + "description": "The service API version.", + "required": true, + "type": "string" + }, + { + "name": "sp", + "in": "query", + "description": "The permissions; generally 'read' or 'write'.", + "required": true, + "type": "string" + }, + { + "name": "sv", + "in": "query", + "description": "The version number of the query parameters.", + "required": true, + "type": "string" + }, + { + "name": "sig", + "in": "query", + "description": "The SHA 256 hash of the entire request URI with an internal key.", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "The Logic App Response.", + "schema": { + "type": "object" + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json new file mode 100644 index 000000000000..f0aac548afcb --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflow", + "move": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName" + } + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json new file mode 100644 index 000000000000..369bdae4a828 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "testWorkflowName", + "keyType": { + "keyType": "Primary" + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json new file mode 100644 index 000000000000..77914c99b60d --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "workflow": { + "properties": { + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "$connections": { + "defaultValue": {}, + "type": "Object" + } + }, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Find_pet_by_ID": { + "runAfter": {}, + "type": "ApiConnection", + "inputs": { + "host": { + "connection": { + "name": "@parameters('$connections')['test-custom-connector']['connectionId']" + } + }, + "method": "get", + "path": "/pet/@{encodeURIComponent('1')}" + } + } + }, + "outputs": {} + }, + "parameters": { + "$connections": { + "value": { + "test-custom-connector": { + "connectionId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector", + "connectionName": "test-custom-connector", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector" + } + } + } + } + }, + "location": "brazilsouth", + "tags": {} + } + }, + "responses": { + "200": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2018-04-25T01:39:21.4365247Z", + "changedTime": "2018-08-09T22:54:54.3533634Z", + "state": "Enabled", + "version": "08586677515911718341", + "accessEndpoint": "http://tempuri.org", + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + }, + "parameters": {}, + "accessControl": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.84.159.168" + }, + { + "address": "13.65.86.56" + }, + { + "address": "13.65.82.190" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "104.210.153.89" + }, + { + "address": "13.85.79.155" + }, + { + "address": "13.65.39.247" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "40.84.145.61" + } + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json new file mode 100644 index 000000000000..3e0a30091f96 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "location": "brazilsouth", + "workflowName": "test-workflow", + "validate": { + "properties": { + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json new file mode 100644 index 000000000000..ffc82989ea63 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", + "workflowName": "test-workflow", + "validate": { + "properties": { + "integrationAccount": { + "name": "test-integration-account", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", + "name": "test-workflow", + "type": "Microsoft.Logic/workflows", + "location": "brazilsouth", + "tags": {} + } + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json new file mode 100644 index 000000000000..1e57659a86a0 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json @@ -0,0 +1,9711 @@ +{ + "swagger": "2.0", + "info": { + "title": "LogicManagementClient", + "description": "REST API for Azure Logic Apps.", + "version": "2018-07-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "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": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/workflows": { + "get": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ListBySubscription", + "description": "Gets a list of workflows by subscription.", + "x-ms-examples": { + "List all workflows in a subscription": { + "$ref": "./examples/Workflows_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows": { + "get": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ListByResourceGroup", + "description": "Gets a list of workflows by resource group.", + "x-ms-examples": { + "List all workflows in a resource group": { + "$ref": "./examples/Workflows_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}": { + "get": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Get", + "description": "Gets a workflow.", + "x-ms-examples": { + "Get a workflow": { + "$ref": "./examples/Workflows_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "put": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_CreateOrUpdate", + "description": "Creates or updates a workflow.", + "x-ms-examples": { + "Create or update a workflow": { + "$ref": "./examples/Workflows_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "workflow", + "description": "The workflow.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Workflow" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "patch": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Update", + "description": "Updates a workflow.", + "x-ms-examples": { + "Patch a workflow": { + "$ref": "./examples/Workflows_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "workflow", + "description": "The workflow.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Workflow" + } + } + } + }, + "delete": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Delete", + "description": "Deletes a workflow.", + "x-ms-examples": { + "Delete a workflow": { + "$ref": "./examples/Workflows_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Disable", + "description": "Disables a workflow.", + "x-ms-examples": { + "Disable a workflow": { + "$ref": "./examples/Workflows_Disable.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Enable", + "description": "Enables a workflow.", + "x-ms-examples": { + "Enable a workflow": { + "$ref": "./examples/Workflows_Enable.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_GenerateUpgradedDefinition", + "description": "Generates the upgraded definition for a workflow.", + "x-ms-examples": { + "Generate an upgraded definition": { + "$ref": "./examples/Workflows_GenerateUpgradedDefinition.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "description": "Parameters for generating an upgraded definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateUpgradedDefinitionParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listCallbackUrl": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ListCallbackUrl", + "description": "Get the workflow callback Url.", + "x-ms-examples": { + "Get callback url": { + "$ref": "./examples/Workflows_ListCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "listCallbackUrl", + "description": "Which callback url to list.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ListSwagger", + "description": "Gets an OpenAPI definition for the workflow.", + "x-ms-examples": { + "Get the swagger for a workflow": { + "$ref": "./examples/Workflows_ListSwagger.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Object" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/move": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_Move", + "description": "Moves an existing workflow.", + "x-ms-examples": { + "Move a workflow": { + "$ref": "./examples/Workflows_Move.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "move", + "description": "The workflow to move.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/regenerateAccessKey": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_RegenerateAccessKey", + "description": "Regenerates the callback URL access key for request triggers.", + "x-ms-examples": { + "Regenerate the callback URL access key for request triggers": { + "$ref": "./examples/Workflows_RegenerateAccessKey.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "keyType", + "description": "The access key type.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateActionParameter" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/validate": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ValidateByResourceGroup", + "description": "Validates the workflow.", + "x-ms-examples": { + "Validate a workflow": { + "$ref": "./examples/Workflows_ValidateByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "validate", + "description": "The workflow.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions": { + "get": { + "tags": [ + "WorkflowVersions" + ], + "operationId": "WorkflowVersions_List", + "description": "Gets a list of workflow versions.", + "x-ms-examples": { + "List a workflows versions": { + "$ref": "./examples/WorkflowVersions_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowVersionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}": { + "get": { + "tags": [ + "WorkflowVersions" + ], + "operationId": "WorkflowVersions_Get", + "description": "Gets a workflow version.", + "x-ms-examples": { + "Get a workflow version": { + "$ref": "./examples/WorkflowVersions_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "versionId", + "description": "The workflow versionId.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowVersion" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers": { + "get": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_List", + "description": "Gets a list of workflow triggers.", + "x-ms-examples": { + "List workflow triggers": { + "$ref": "./examples/WorkflowTriggers_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowTriggerFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}": { + "get": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_Get", + "description": "Gets a workflow trigger.", + "x-ms-examples": { + "Get a workflow trigger": { + "$ref": "./examples/WorkflowTriggers_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTrigger" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/reset": { + "post": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_Reset", + "description": "Resets a workflow trigger.", + "x-ms-examples": { + "Reset trigger": { + "$ref": "./examples/WorkflowTriggers_Reset.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run": { + "post": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_Run", + "description": "Runs a workflow trigger.", + "x-ms-examples": { + "Run a workflow trigger": { + "$ref": "./examples/WorkflowTriggers_Run.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "default": { + "description": "All status codes are acceptable.", + "schema": { + "$ref": "#/definitions/Object" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/schemas/json": { + "get": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_GetSchemaJson", + "description": "Get the trigger schema as JSON.", + "x-ms-examples": { + "Get trigger schema": { + "$ref": "./examples/WorkflowTriggers_GetSchemaJson.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JsonSchema" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState": { + "post": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_SetState", + "description": "Sets the state of a workflow trigger.", + "x-ms-examples": { + "Set trigger state": { + "$ref": "./examples/WorkflowTriggers_SetState.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "setState", + "description": "The workflow trigger state.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SetTriggerStateActionDefinition" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl": { + "post": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowTriggers_ListCallbackUrl", + "description": "Get the callback URL for a workflow trigger.", + "x-ms-examples": { + "Get the callback URL for a trigger": { + "$ref": "./examples/WorkflowTriggers_ListCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl": { + "post": { + "tags": [ + "WorkflowTriggers" + ], + "operationId": "WorkflowVersionTriggers_ListCallbackUrl", + "description": "Get the callback url for a trigger of a workflow version.", + "x-ms-examples": { + "Get the callback url for a trigger of a workflow version": { + "$ref": "./examples/WorkflowVersionTriggers_ListCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "versionId", + "description": "The workflow versionId.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "description": "The callback URL parameters.", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories": { + "get": { + "tags": [ + "WorkflowTriggerHistories" + ], + "operationId": "WorkflowTriggerHistories_List", + "description": "Gets a list of workflow trigger histories.", + "x-ms-examples": { + "List a workflow trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerHistoryListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowTriggerHistoryFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}": { + "get": { + "tags": [ + "WorkflowTriggerHistories" + ], + "operationId": "WorkflowTriggerHistories_Get", + "description": "Gets a workflow trigger history.", + "x-ms-examples": { + "Get a workflow trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "historyName", + "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerHistory" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit": { + "post": { + "tags": [ + "WorkflowTriggerHistories" + ], + "operationId": "WorkflowTriggerHistories_Resubmit", + "description": "Resubmits a workflow run based on the trigger history.", + "x-ms-examples": { + "Resubmit a workflow run based on the trigger history": { + "$ref": "./examples/WorkflowTriggerHistories_Resubmit.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "triggerName", + "description": "The workflow trigger name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "historyName", + "description": "The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs": { + "get": { + "tags": [ + "WorkflowRuns" + ], + "operationId": "WorkflowRuns_List", + "description": "Gets a list of workflow runs.", + "x-ms-examples": { + "List workflow runs": { + "$ref": "./examples/WorkflowRuns_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowRunFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}": { + "get": { + "tags": [ + "WorkflowRuns" + ], + "operationId": "WorkflowRuns_Get", + "description": "Gets a workflow run.", + "x-ms-examples": { + "Get a run for a workflow": { + "$ref": "./examples/WorkflowRuns_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRun" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel": { + "post": { + "tags": [ + "WorkflowRuns" + ], + "operationId": "WorkflowRuns_Cancel", + "description": "Cancels a workflow run.", + "x-ms-examples": { + "Cancel a workflow run": { + "$ref": "./examples/WorkflowRuns_Cancel.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActions_List", + "description": "Gets a list of workflow run actions.", + "x-ms-examples": { + "List a workflow run actions": { + "$ref": "./examples/WorkflowRunActions_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: Status.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunActionListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/WorkflowRunActionFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActions_Get", + "description": "Gets a workflow run action.", + "x-ms-examples": { + "Get a workflow run action": { + "$ref": "./examples/WorkflowRunActions_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunAction" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces": { + "post": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActions_ListExpressionTraces", + "description": "Lists a workflow run expression trace.", + "x-ms-examples": { + "List expression traces": { + "$ref": "./examples/WorkflowRunActions_ListExpressionTraces.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExpressionTraces" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "inputs" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitions_List", + "description": "Get all of a workflow run action repetitions.", + "x-ms-examples": { + "List repetitions": { + "$ref": "./examples/WorkflowRunActionRepetitions_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitions_Get", + "description": "Get a workflow run action repetition.", + "x-ms-examples": { + "Get a repetition": { + "$ref": "./examples/WorkflowRunActionRepetitions_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces": { + "post": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitions_ListExpressionTraces", + "description": "Lists a workflow run expression trace.", + "x-ms-examples": { + "List expression traces for a repetition": { + "$ref": "./examples/WorkflowRunActionRepetitions_ListExpressionTraces.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExpressionTraces" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null, + "itemName": "inputs" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionScopeRepetitions_List", + "description": "List the workflow run action scoped repetitions.", + "x-ms-examples": { + "List the scoped repetitions": { + "$ref": "./examples/WorkflowRunActionScopeRepetitions_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinitionCollection" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionScopeRepetitions_Get", + "description": "Get a workflow run action scoped repetition.", + "x-ms-examples": { + "Get a scoped repetition": { + "$ref": "./examples/WorkflowRunActionScopeRepetitions_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/operations/{operationId}": { + "get": { + "tags": [ + "WorkflowRunOperations" + ], + "operationId": "WorkflowRunOperations_Get", + "description": "Gets an operation for a run.", + "x-ms-examples": { + "Get a run operation": { + "$ref": "./examples/WorkflowRunOperations_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "description": "The workflow operation id.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowRun" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate": { + "post": { + "tags": [ + "Workflows" + ], + "operationId": "Workflows_ValidateByLocation", + "description": "Validates the workflow definition.", + "x-ms-examples": { + "Validate a workflow": { + "$ref": "./examples/Workflows_ValidateByLocation.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "location", + "description": "The workflow location.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "workflow", + "description": "The workflow definition.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workflow" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListBySubscription", + "description": "Gets a list of integration accounts by subscription.", + "x-ms-examples": { + "List integration accounts by subscription": { + "$ref": "./examples/IntegrationAccounts_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListByResourceGroup", + "description": "Gets a list of integration accounts by resource group.", + "x-ms-examples": { + "List integration accounts by resource group name": { + "$ref": "./examples/IntegrationAccounts_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}": { + "get": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Get", + "description": "Gets an integration account.", + "x-ms-examples": { + "Get integration account by name": { + "$ref": "./examples/IntegrationAccounts_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_CreateOrUpdate", + "description": "Creates or updates an integration account.", + "x-ms-examples": { + "Create or update an integration account": { + "$ref": "./examples/IntegrationAccounts_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "integrationAccount", + "description": "The integration account.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "patch": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Update", + "description": "Updates an integration account.", + "x-ms-examples": { + "Patch an integration account": { + "$ref": "./examples/IntegrationAccounts_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "integrationAccount", + "description": "The integration account.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_Delete", + "description": "Deletes an integration account.", + "x-ms-examples": { + "Delete an integration account": { + "$ref": "./examples/IntegrationAccounts_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies": { + "get": { + "tags": [ + "IntegrationAccountAssemblies" + ], + "operationId": "IntegrationAccountAssemblies_List", + "description": "List the assemblies for an integration account.", + "x-ms-examples": { + "List integration account assemblies": { + "$ref": "./examples/IntegrationAccountAssemblies_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssemblyCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}": { + "get": { + "tags": [ + "IntegrationAccountAssemblies" + ], + "operationId": "IntegrationAccountAssemblies_Get", + "description": "Get an assembly for an integration account.", + "x-ms-examples": { + "Get an integration account assembly": { + "$ref": "./examples/IntegrationAccountAssemblies_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "assemblyArtifactName", + "description": "The assembly artifact name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssemblyDefinition" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountAssemblies" + ], + "operationId": "IntegrationAccountAssemblies_CreateOrUpdate", + "description": "Create or update an assembly for an integration account.", + "x-ms-examples": { + "Create or update an account assembly": { + "$ref": "./examples/IntegrationAccountAssemblies_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "assemblyArtifactName", + "description": "The assembly artifact name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "assemblyArtifact", + "description": "The assembly artifact.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AssemblyDefinition" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AssemblyDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AssemblyDefinition" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountAssemblies" + ], + "operationId": "IntegrationAccountAssemblies_Delete", + "description": "Delete an assembly for an integration account.", + "x-ms-examples": { + "Delete an integration account assembly": { + "$ref": "./examples/IntegrationAccountAssemblies_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "assemblyArtifactName", + "description": "The assembly artifact name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}/listContentCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccountAssemblies" + ], + "operationId": "IntegrationAccountAssemblies_ListContentCallbackUrl", + "description": "Get the content callback url for an integration account assembly.", + "x-ms-examples": { + "Get the callback url for an integration account assembly": { + "$ref": "./examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "assemblyArtifactName", + "description": "The assembly artifact name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations": { + "get": { + "tags": [ + "IntegrationAccountBatchConfigurations" + ], + "operationId": "IntegrationAccountBatchConfigurations_List", + "description": "List the batch configurations for an integration account.", + "x-ms-examples": { + "List batch configurations": { + "$ref": "./examples/IntegrationAccountBatchConfigurations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BatchConfigurationCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}": { + "get": { + "tags": [ + "IntegrationAccountBatchConfigurations" + ], + "operationId": "IntegrationAccountBatchConfigurations_Get", + "description": "Get a batch configuration for an integration account.", + "x-ms-examples": { + "Get a batch configuration": { + "$ref": "./examples/IntegrationAccountBatchConfigurations_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "batchConfigurationName", + "description": "The batch configuration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BatchConfiguration" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountBatchConfigurations" + ], + "operationId": "IntegrationAccountBatchConfigurations_CreateOrUpdate", + "description": "Create or update a batch configuration for an integration account.", + "x-ms-examples": { + "Create or update a batch configuration": { + "$ref": "./examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "batchConfigurationName", + "description": "The batch configuration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "batchConfiguration", + "description": "The batch configuration.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BatchConfiguration" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BatchConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchConfiguration" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountBatchConfigurations" + ], + "operationId": "IntegrationAccountBatchConfigurations_Delete", + "description": "Delete a batch configuration for an integration account.", + "x-ms-examples": { + "Delete a batch configuration": { + "$ref": "./examples/IntegrationAccountBatchConfigurations_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "batchConfigurationName", + "description": "The batch configuration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListCallbackUrl", + "description": "Gets the integration account callback URL.", + "x-ms-examples": { + "List IntegrationAccount callback URL": { + "$ref": "./examples/IntegrationAccounts_ListCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "parameters", + "description": "The callback URL parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listKeyVaultKeys": { + "post": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_ListKeyVaultKeys", + "description": "Gets the integration account's Key Vault keys.", + "x-ms-examples": { + "Get Integration Account callback URL": { + "$ref": "./examples/IntegrationAccounts_ListKeyVaultKeys.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "listKeyVaultKeys", + "description": "The key vault parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ListKeyVaultKeysDefinition" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/KeyVaultKeyCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/logTrackingEvents": { + "post": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_LogTrackingEvents", + "description": "Logs the integration account's tracking events.", + "x-ms-examples": { + "Log a tracked event": { + "$ref": "./examples/IntegrationAccounts_LogTrackingEvents.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "logTrackingEvents", + "description": "The callback URL parameters.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TrackingEventsDefinition" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/regenerateAccessKey": { + "post": { + "tags": [ + "IntegrationAccounts" + ], + "operationId": "IntegrationAccounts_RegenerateAccessKey", + "description": "Regenerates the integration account access key.", + "x-ms-examples": { + "Regenerate access key": { + "$ref": "./examples/IntegrationAccounts_RegenerateAccessKey.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "regenerateAccessKey", + "description": "The access key type.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateActionParameter" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccount" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas": { + "get": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_List", + "description": "Gets a list of integration account schemas.", + "x-ms-examples": { + "Get schemas by integration account name": { + "$ref": "./examples/IntegrationAccountSchemas_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: SchemaType.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchemaListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IntegrationAccountSchemaFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}": { + "get": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_Get", + "description": "Gets an integration account schema.", + "x-ms-examples": { + "Get schema by name": { + "$ref": "./examples/IntegrationAccountSchemas_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_CreateOrUpdate", + "description": "Creates or updates an integration account schema.", + "x-ms-examples": { + "Create or update schema": { + "$ref": "./examples/IntegrationAccountSchemas_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "schema", + "description": "The integration account schema.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountSchema" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_Delete", + "description": "Deletes an integration account schema.", + "x-ms-examples": { + "Delete a schema by name": { + "$ref": "./examples/IntegrationAccountSchemas_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}/listContentCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccountSchemas" + ], + "operationId": "IntegrationAccountSchemas_ListContentCallbackUrl", + "description": "Get the content callback url.", + "x-ms-examples": { + "Get the content callback url": { + "$ref": "./examples/IntegrationAccountSchemas_ListContentCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "schemaName", + "description": "The integration account schema name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "listContentCallbackUrl", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps": { + "get": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_List", + "description": "Gets a list of integration account maps.", + "x-ms-examples": { + "Get maps by integration account name": { + "$ref": "./examples/IntegrationAccountMaps_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: MapType.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMapListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IntegrationAccountMapFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}": { + "get": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_Get", + "description": "Gets an integration account map.", + "x-ms-examples": { + "Get map by name": { + "$ref": "./examples/IntegrationAccountMaps_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_CreateOrUpdate", + "description": "Creates or updates an integration account map.", + "x-ms-examples": { + "Create or update a map": { + "$ref": "./examples/IntegrationAccountMaps_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "map", + "description": "The integration account map.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountMap" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_Delete", + "description": "Deletes an integration account map.", + "x-ms-examples": { + "Delete a map": { + "$ref": "./examples/IntegrationAccountMaps_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}/listContentCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccountMaps" + ], + "operationId": "IntegrationAccountMaps_ListContentCallbackUrl", + "description": "Get the content callback url.", + "x-ms-examples": { + "Get the content callback url": { + "$ref": "./examples/IntegrationAccountMaps_ListContentCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "mapName", + "description": "The integration account map name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "listContentCallbackUrl", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners": { + "get": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_List", + "description": "Gets a list of integration account partners.", + "x-ms-examples": { + "Get partners by integration account name": { + "$ref": "./examples/IntegrationAccountPartners_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: PartnerType.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartnerListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IntegrationAccountPartnerFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}": { + "get": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_Get", + "description": "Gets an integration account partner.", + "x-ms-examples": { + "Get partner by name": { + "$ref": "./examples/IntegrationAccountPartners_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_CreateOrUpdate", + "description": "Creates or updates an integration account partner.", + "x-ms-examples": { + "Create or update a partner": { + "$ref": "./examples/IntegrationAccountPartners_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "partner", + "description": "The integration account partner.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountPartner" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_Delete", + "description": "Deletes an integration account partner.", + "x-ms-examples": { + "Delete a partner": { + "$ref": "./examples/IntegrationAccountPartners_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}/listContentCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccountPartners" + ], + "operationId": "IntegrationAccountPartners_ListContentCallbackUrl", + "description": "Get the content callback url.", + "x-ms-examples": { + "Get the content callback url": { + "$ref": "./examples/IntegrationAccountPartners_ListContentCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "partnerName", + "description": "The integration account partner name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "listContentCallbackUrl", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements": { + "get": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_List", + "description": "Gets a list of integration account agreements.", + "x-ms-examples": { + "Get agreements by integration account name": { + "$ref": "./examples/IntegrationAccountAgreements_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: AgreementType.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreementListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IntegrationAccountAgreementFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}": { + "get": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_Get", + "description": "Gets an integration account agreement.", + "x-ms-examples": { + "Get agreement by name": { + "$ref": "./examples/IntegrationAccountAgreements_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_CreateOrUpdate", + "description": "Creates or updates an integration account agreement.", + "x-ms-examples": { + "Create or update an agreement": { + "$ref": "./examples/IntegrationAccountAgreements_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "agreement", + "description": "The integration account agreement.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountAgreement" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_Delete", + "description": "Deletes an integration account agreement.", + "x-ms-examples": { + "Delete an agreement": { + "$ref": "./examples/IntegrationAccountAgreements_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}/listContentCallbackUrl": { + "post": { + "tags": [ + "IntegrationAccountAgreements" + ], + "operationId": "IntegrationAccountAgreements_ListContentCallbackUrl", + "description": "Get the content callback url.", + "x-ms-examples": { + "Get the content callback url": { + "$ref": "./examples/IntegrationAccountAgreements_ListContentCallbackUrl.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "agreementName", + "description": "The integration account agreement name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "listContentCallbackUrl", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GetCallbackUrlParameters" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WorkflowTriggerCallbackUrl" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates": { + "get": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_List", + "description": "Gets a list of integration account certificates.", + "x-ms-examples": { + "Get certificates by integration account name": { + "$ref": "./examples/IntegrationAccountCertificates_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificateListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}": { + "get": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_Get", + "description": "Gets an integration account certificate.", + "x-ms-examples": { + "Get certificate by name": { + "$ref": "./examples/IntegrationAccountCertificates_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_CreateOrUpdate", + "description": "Creates or updates an integration account certificate.", + "x-ms-examples": { + "Create or update a certificate": { + "$ref": "./examples/IntegrationAccountCertificates_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "certificate", + "description": "The integration account certificate.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountCertificate" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountCertificates" + ], + "operationId": "IntegrationAccountCertificates_Delete", + "description": "Deletes an integration account certificate.", + "x-ms-examples": { + "Delete a certificate": { + "$ref": "./examples/IntegrationAccountCertificates_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "certificateName", + "description": "The integration account certificate name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions": { + "get": { + "tags": [ + "IntegrationAccountSessions" + ], + "operationId": "IntegrationAccountSessions_List", + "x-ms-examples": { + "Get a list of integration account sessions": { + "$ref": "./examples/IntegrationAccountSessions_List.json" + } + }, + "description": "Gets a list of integration account sessions.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation. Options for filters include: ChangedTime.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSessionListResult" + } + }, + "default": { + "description": "Logic error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IntegrationAccountSessionFilter" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}": { + "get": { + "tags": [ + "IntegrationAccountSessions" + ], + "operationId": "IntegrationAccountSessions_Get", + "x-ms-examples": { + "Get an integration account session": { + "$ref": "./examples/IntegrationAccountSessions_Get.json" + } + }, + "description": "Gets an integration account session.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "sessionName", + "description": "The integration account session name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSession" + } + }, + "default": { + "description": "Logic error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountSessions" + ], + "operationId": "IntegrationAccountSessions_CreateOrUpdate", + "x-ms-examples": { + "Create or update an integration account session": { + "$ref": "./examples/IntegrationAccountSessions_CreateOrUpdate.json" + } + }, + "description": "Creates or updates an integration account session.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "sessionName", + "description": "The integration account session name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "session", + "description": "The integration account session.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountSession" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountSession" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountSession" + } + }, + "default": { + "description": "Logic error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountSessions" + ], + "operationId": "IntegrationAccountSessions_Delete", + "x-ms-examples": { + "Delete an integration account session": { + "$ref": "./examples/IntegrationAccountSessions_Delete.json" + } + }, + "description": "Deletes an integration account session.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "sessionName", + "description": "The integration account session name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Logic error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.Logic/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available Logic REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List Microsoft.Logic operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Logic error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The resource id." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the resource type." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + } + }, + "x-ms-azure-resource": true, + "description": "The base resource type." + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The resource id." + } + }, + "x-ms-azure-resource": true, + "description": "The sub resource type." + }, + "Object": { + "type": "object", + "properties": {} + }, + "ResourceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The resource id." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the resource type." + } + }, + "description": "The resource reference." + }, + "Workflow": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowProperties", + "description": "The workflow properties." + } + }, + "description": "The workflow type.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "WorkflowProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkflowProvisioningState", + "readOnly": true, + "description": "Gets the provisioning state." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the changed time." + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "Gets the version." + }, + "accessEndpoint": { + "type": "string", + "readOnly": true, + "description": "Gets the access endpoint." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku." + }, + "integrationAccount": { + "$ref": "#/definitions/ResourceReference", + "description": "The integration account." + }, + "definition": { + "$ref": "#/definitions/Object", + "description": "The definition." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/WorkflowParameter" + }, + "description": "The parameters." + } + }, + "description": "The workflow properties." + }, + "WorkflowFilter": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state of workflows." + } + }, + "description": "The workflow filter." + }, + "WorkflowListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Workflow" + }, + "description": "The list of workflows." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflows." + }, + "WorkflowVersion": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowVersionProperties", + "description": "The workflow version properties." + } + }, + "description": "The workflow version.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "WorkflowVersionProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the changed time." + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "Gets the version." + }, + "accessEndpoint": { + "type": "string", + "readOnly": true, + "description": "Gets the access endpoint." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku." + }, + "integrationAccount": { + "$ref": "#/definitions/ResourceReference", + "description": "The integration account." + }, + "definition": { + "$ref": "#/definitions/Object", + "description": "The definition." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/WorkflowParameter" + }, + "description": "The parameters." + } + }, + "description": "The workflow version properties." + }, + "WorkflowVersionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowVersion" + }, + "description": "A list of workflow versions." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow versions." + }, + "WorkflowTrigger": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowTriggerProperties", + "description": "The workflow trigger properties." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger type." + } + }, + "description": "The workflow trigger.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "WorkflowTriggerProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/WorkflowTriggerProvisioningState", + "readOnly": true, + "description": "Gets the provisioning state." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the changed time." + }, + "state": { + "$ref": "#/definitions/WorkflowState", + "readOnly": true, + "description": "Gets the state." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "readOnly": true, + "description": "Gets the status." + }, + "lastExecutionTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last execution time." + }, + "nextExecutionTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the next execution time." + }, + "recurrence": { + "$ref": "#/definitions/WorkflowTriggerRecurrence", + "readOnly": true, + "description": "Gets the workflow trigger recurrence." + }, + "workflow": { + "$ref": "#/definitions/ResourceReference", + "readOnly": true, + "description": "Gets the reference to workflow." + } + }, + "description": "The workflow trigger properties." + }, + "WorkflowTriggerFilter": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/WorkflowState", + "description": "The state of workflow trigger." + } + }, + "description": "The workflow trigger filter." + }, + "WorkflowTriggerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowTrigger" + }, + "description": "A list of workflow triggers." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow triggers." + }, + "WorkflowTriggerCallbackUrl": { + "type": "object", + "properties": { + "value": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger callback URL." + }, + "method": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger callback URL HTTP method." + }, + "basePath": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger callback URL base path." + }, + "relativePath": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger callback URL relative path." + }, + "relativePathParameters": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets the workflow trigger callback URL relative path parameters." + }, + "queries": { + "$ref": "#/definitions/WorkflowTriggerListCallbackUrlQueries", + "description": "Gets the workflow trigger callback URL query parameters." + } + }, + "description": "The workflow trigger callback URL." + }, + "WorkflowTriggerListCallbackUrlQueries": { + "type": "object", + "properties": { + "api-version": { + "type": "string", + "description": "The api version." + }, + "sp": { + "type": "string", + "description": "The SAS permissions." + }, + "sv": { + "type": "string", + "description": "The SAS version." + }, + "sig": { + "type": "string", + "description": "The SAS signature." + }, + "se": { + "type": "string", + "description": "The SAS timestamp." + } + }, + "description": "Gets the workflow trigger callback URL query parameters." + }, + "WorkflowTriggerHistory": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowTriggerHistoryProperties", + "description": "Gets the workflow trigger history properties." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger history name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow trigger history type." + } + }, + "description": "The workflow trigger history.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "WorkflowTriggerHistoryProperties": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the end time." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "readOnly": true, + "description": "Gets the status." + }, + "code": { + "type": "string", + "readOnly": true, + "description": "Gets the code." + }, + "error": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the error." + }, + "trackingId": { + "type": "string", + "readOnly": true, + "description": "Gets the tracking id." + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to input parameters." + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to output parameters." + }, + "fired": { + "type": "boolean", + "readOnly": true, + "description": "Gets a value indicating whether trigger was fired." + }, + "run": { + "$ref": "#/definitions/ResourceReference", + "readOnly": true, + "description": "Gets the reference to workflow run." + } + }, + "description": "The workflow trigger history properties." + }, + "WorkflowTriggerHistoryListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowTriggerHistory" + }, + "description": "A list of workflow trigger histories." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow trigger histories." + }, + "WorkflowTriggerHistoryFilter": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "The status of workflow trigger history." + } + }, + "description": "The workflow trigger history filter." + }, + "WorkflowRun": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowRunProperties", + "description": "The workflow run properties." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow run name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow run type." + } + }, + "description": "The workflow run.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "WorkflowRunProperties": { + "type": "object", + "properties": { + "waitEndTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the wait end time." + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the end time." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "readOnly": true, + "description": "Gets the status." + }, + "code": { + "type": "string", + "readOnly": true, + "description": "Gets the code." + }, + "error": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the error." + }, + "correlationId": { + "type": "string", + "readOnly": true, + "description": "Gets the correlation id." + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "workflow": { + "$ref": "#/definitions/ResourceReference", + "readOnly": true, + "description": "Gets the reference to workflow version." + }, + "trigger": { + "$ref": "#/definitions/WorkflowRunTrigger", + "readOnly": true, + "description": "Gets the fired trigger." + }, + "outputs": { + "type": "object", + "readOnly": true, + "additionalProperties": { + "$ref": "#/definitions/WorkflowOutputParameter" + }, + "description": "Gets the outputs." + }, + "response": { + "$ref": "#/definitions/WorkflowRunTrigger", + "readOnly": true, + "description": "Gets the response of the flow run." + } + }, + "description": "The workflow run properties." + }, + "WorkflowRunFilter": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "The status of workflow run." + } + }, + "description": "The workflow run filter." + }, + "WorkflowRunListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowRun" + }, + "description": "A list of workflow runs." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow runs." + }, + "WorkflowRunAction": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkflowRunActionProperties", + "description": "The workflow run action properties." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow run action name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Gets the workflow run action type." + } + }, + "description": "The workflow run action.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "WorkflowRunActionProperties": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the end time." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "readOnly": true, + "description": "Gets the status." + }, + "code": { + "type": "string", + "readOnly": true, + "description": "Gets the code." + }, + "error": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the error." + }, + "trackingId": { + "type": "string", + "readOnly": true, + "description": "Gets the tracking id." + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The correlation properties." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to inputs." + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to outputs." + }, + "trackedProperties": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the tracked properties." + }, + "retryHistory": { + "type": "array", + "items": { + "$ref": "#/definitions/RetryHistory" + }, + "description": "Gets the retry histories." + } + }, + "description": "The workflow run action properties." + }, + "WorkflowRunActionFilter": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "The status of workflow run action." + } + }, + "description": "The workflow run action filter." + }, + "WorkflowRunActionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowRunAction" + }, + "description": "A list of workflow run actions." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow run actions." + }, + "SkuName": { + "type": "string", + "enum": [ + "NotSpecified", + "Free", + "Shared", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + }, + "description": "The sku name." + }, + "WorkflowState": { + "type": "string", + "enum": [ + "NotSpecified", + "Completed", + "Enabled", + "Disabled", + "Deleted", + "Suspended" + ], + "x-ms-enum": { + "name": "WorkflowState", + "modelAsString": true + } + }, + "WorkflowStatus": { + "type": "string", + "enum": [ + "NotSpecified", + "Paused", + "Running", + "Waiting", + "Succeeded", + "Skipped", + "Suspended", + "Cancelled", + "Failed", + "Faulted", + "TimedOut", + "Aborted", + "Ignored" + ], + "x-ms-enum": { + "name": "WorkflowStatus", + "modelAsString": true + } + }, + "ParameterType": { + "type": "string", + "enum": [ + "NotSpecified", + "String", + "SecureString", + "Int", + "Float", + "Bool", + "Array", + "Object", + "SecureObject" + ], + "x-ms-enum": { + "name": "ParameterType", + "modelAsString": true + } + }, + "KeyType": { + "type": "string", + "enum": [ + "NotSpecified", + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true + } + }, + "Sku": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The name." + }, + "plan": { + "$ref": "#/definitions/ResourceReference", + "description": "The reference to plan." + } + }, + "description": "The sku type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The content link URI." + }, + "contentVersion": { + "type": "string", + "description": "The content version." + }, + "contentSize": { + "type": "integer", + "format": "int64", + "description": "The content size." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "The content hash." + }, + "metadata": { + "$ref": "#/definitions/Object", + "description": "The metadata." + } + }, + "description": "The content link." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "The algorithm of the content hash." + }, + "value": { + "type": "string", + "description": "The value of the content hash." + } + }, + "description": "The content hash." + }, + "RegenerateActionParameter": { + "type": "object", + "properties": { + "keyType": { + "$ref": "#/definitions/KeyType", + "description": "The key type." + } + }, + "description": "The access key regenerate action content." + }, + "RetryHistory": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the end time." + }, + "code": { + "type": "string", + "description": "Gets the status code." + }, + "clientRequestId": { + "type": "string", + "description": "Gets the client request Id." + }, + "serviceRequestId": { + "type": "string", + "description": "Gets the service request Id." + }, + "error": { + "$ref": "#/definitions/ErrorResponse", + "description": "Gets the error response." + } + }, + "description": "The retry history." + }, + "Correlation": { + "type": "object", + "properties": { + "clientTrackingId": { + "type": "string", + "description": "The client tracking id." + } + }, + "description": "The correlation property." + }, + "WorkflowParameter": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/ParameterType", + "description": "The type." + }, + "value": { + "$ref": "#/definitions/Object", + "description": "The value." + }, + "metadata": { + "$ref": "#/definitions/Object", + "description": "The metadata." + }, + "description": { + "type": "string", + "description": "The description." + } + }, + "description": "The workflow parameters." + }, + "WorkflowOutputParameter": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the error." + } + }, + "description": "The workflow output parameter.", + "allOf": [ + { + "$ref": "#/definitions/WorkflowParameter" + } + ] + }, + "RecurrenceFrequency": { + "type": "string", + "enum": [ + "NotSpecified", + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ], + "x-ms-enum": { + "name": "RecurrenceFrequency", + "modelAsString": true + } + }, + "RecurrenceSchedule": { + "type": "object", + "properties": { + "minutes": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "The minutes." + }, + "hours": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "The hours." + }, + "weekDays": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": true + } + }, + "description": "The days of the week." + }, + "monthDays": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "The month days." + }, + "monthlyOccurrences": { + "type": "array", + "items": { + "$ref": "#/definitions/RecurrenceScheduleOccurrence" + }, + "description": "The monthly occurrences." + } + }, + "description": "The recurrence schedule." + }, + "RecurrenceScheduleOccurrence": { + "type": "object", + "properties": { + "day": { + "$ref": "#/definitions/DayOfWeek", + "description": "The day of the week." + }, + "occurrence": { + "type": "integer", + "format": "int32", + "description": "The occurrence." + } + }, + "description": "The recurrence schedule occurrence." + }, + "WorkflowTriggerRecurrence": { + "type": "object", + "properties": { + "frequency": { + "$ref": "#/definitions/RecurrenceFrequency", + "description": "The frequency." + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The interval." + }, + "startTime": { + "type": "string", + "description": "The start time." + }, + "endTime": { + "type": "string", + "description": "The end time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + }, + "schedule": { + "$ref": "#/definitions/RecurrenceSchedule", + "description": "The recurrence schedule." + } + }, + "description": "The workflow trigger recurrence." + }, + "WorkflowRunTrigger": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name." + }, + "inputs": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the inputs." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to inputs." + }, + "outputs": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the outputs." + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to outputs." + }, + "scheduledTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the scheduled time." + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the end time." + }, + "trackingId": { + "type": "string", + "readOnly": true, + "description": "Gets the tracking id." + }, + "correlation": { + "$ref": "#/definitions/Correlation", + "description": "The run correlation." + }, + "code": { + "type": "string", + "readOnly": true, + "description": "Gets the code." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "readOnly": true, + "description": "Gets the status." + }, + "error": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the error." + }, + "trackedProperties": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the tracked properties." + } + }, + "description": "The workflow run trigger." + }, + "WorkflowTriggerProvisioningState": { + "type": "string", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Moving", + "Updating", + "Registering", + "Registered", + "Unregistering", + "Unregistered", + "Completed" + ], + "x-ms-enum": { + "name": "WorkflowTriggerProvisioningState", + "modelAsString": true + } + }, + "WorkflowProvisioningState": { + "type": "string", + "enum": [ + "NotSpecified", + "Accepted", + "Running", + "Ready", + "Creating", + "Created", + "Deleting", + "Deleted", + "Canceled", + "Failed", + "Succeeded", + "Moving", + "Updating", + "Registering", + "Registered", + "Unregistering", + "Unregistered", + "Completed" + ], + "x-ms-enum": { + "name": "WorkflowProvisioningState", + "modelAsString": true + } + }, + "DayOfWeek": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true + } + }, + "GenerateUpgradedDefinitionParameters": { + "type": "object", + "properties": { + "targetSchemaVersion": { + "type": "string", + "description": "The target schema version." + } + }, + "description": "The parameters to generate upgraded definition." + }, + "IntegrationAccountSkuName": { + "type": "string", + "enum": [ + "NotSpecified", + "Free", + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "IntegrationAccountSkuName", + "modelAsString": true + } + }, + "IntegrationAccount": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountProperties", + "description": "The integration account properties." + }, + "sku": { + "$ref": "#/definitions/IntegrationAccountSku", + "description": "The sku." + } + }, + "description": "The integration account.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountProperties": { + "type": "object", + "properties": {} + }, + "IntegrationAccountListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccount" + }, + "description": "The list of integration accounts." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration accounts." + }, + "GetCallbackUrlParameters": { + "type": "object", + "properties": { + "notAfter": { + "type": "string", + "format": "date-time", + "description": "The expiry time." + }, + "keyType": { + "$ref": "#/definitions/KeyType", + "description": "The key type." + } + }, + "description": "The callback url parameters." + }, + "CallbackUrl": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "The URL value." + } + }, + "description": "The callback url." + }, + "IntegrationAccountSchema": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountSchemaProperties", + "description": "The integration account schema properties." + } + }, + "description": "The integration account schema.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountSchemaProperties": { + "type": "object", + "required": [ + "schemaType" + ], + "properties": { + "schemaType": { + "$ref": "#/definitions/SchemaType", + "description": "The schema type." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace of the schema." + }, + "documentName": { + "type": "string", + "description": "The document name." + }, + "fileName": { + "type": "string", + "description": "The file name." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "content": { + "type": "string", + "description": "The content.", + "properties": {} + }, + "contentType": { + "type": "string", + "description": "The content type." + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "The content link." + } + }, + "description": "The integration account schema properties." + }, + "IntegrationAccountSchemaListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountSchema" + }, + "description": "The list of integration account schemas." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account schemas." + }, + "IntegrationAccountSchemaFilter": { + "type": "object", + "required": [ + "schemaType" + ], + "properties": { + "schemaType": { + "$ref": "#/definitions/SchemaType", + "description": "The schema type of integration account schema." + } + }, + "description": "The integration account schema filter for odata query." + }, + "SchemaType": { + "type": "string", + "enum": [ + "NotSpecified", + "Xml" + ], + "x-ms-enum": { + "name": "SchemaType", + "modelAsString": true + } + }, + "IntegrationAccountMap": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountMapProperties", + "description": "The integration account map properties." + } + }, + "description": "The integration account map.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountMapProperties": { + "type": "object", + "required": [ + "mapType" + ], + "properties": { + "mapType": { + "$ref": "#/definitions/MapType", + "description": "The map type." + }, + "parametersSchema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The reference name." + } + }, + "description": "The parameters schema of integration account map." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "content": { + "type": "string", + "description": "The content.", + "properties": {} + }, + "contentType": { + "type": "string", + "description": "The content type." + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "The content link." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + } + }, + "description": "The integration account map." + }, + "IntegrationAccountMapListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountMap" + }, + "description": "The list of integration account maps." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account maps." + }, + "IntegrationAccountMapFilter": { + "type": "object", + "required": [ + "mapType" + ], + "properties": { + "mapType": { + "$ref": "#/definitions/MapType", + "description": "The map type of integration account map." + } + }, + "description": "The integration account map filter for odata query." + }, + "MapType": { + "type": "string", + "enum": [ + "NotSpecified", + "Xslt", + "Xslt20", + "Xslt30", + "Liquid" + ], + "x-ms-enum": { + "name": "MapType", + "modelAsString": true + } + }, + "IntegrationAccountSku": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "$ref": "#/definitions/IntegrationAccountSkuName", + "description": "The sku name." + } + }, + "description": "The integration account sku." + }, + "IntegrationAccountPartnerListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountPartner" + }, + "description": "The list of integration account partners." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account partners." + }, + "IntegrationAccountPartnerFilter": { + "type": "object", + "required": [ + "partnerType" + ], + "properties": { + "partnerType": { + "$ref": "#/definitions/PartnerType", + "description": "The partner type of integration account partner." + } + }, + "description": "The integration account partner filter for odata query." + }, + "IntegrationAccountPartner": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountPartnerProperties", + "description": "The integration account partner properties." + } + }, + "description": "The integration account partner.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountPartnerProperties": { + "type": "object", + "required": [ + "partnerType", + "content" + ], + "properties": { + "partnerType": { + "$ref": "#/definitions/PartnerType", + "description": "The partner type." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "content": { + "$ref": "#/definitions/PartnerContent", + "description": "The partner content." + } + }, + "description": "The integration account partner properties." + }, + "PartnerType": { + "type": "string", + "enum": [ + "NotSpecified", + "B2B" + ], + "x-ms-enum": { + "name": "PartnerType", + "modelAsString": true + } + }, + "PartnerContent": { + "type": "object", + "properties": { + "b2b": { + "$ref": "#/definitions/B2BPartnerContent", + "description": "The B2B partner content." + } + }, + "description": "The integration account partner content." + }, + "B2BPartnerContent": { + "type": "object", + "properties": { + "businessIdentities": { + "type": "array", + "items": { + "$ref": "#/definitions/BusinessIdentity" + }, + "description": "The list of partner business identities." + } + }, + "description": "The B2B partner content." + }, + "BusinessIdentity": { + "type": "object", + "required": [ + "qualifier", + "value" + ], + "properties": { + "qualifier": { + "type": "string", + "description": "The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32" + }, + "value": { + "type": "string", + "description": "The user defined business identity value." + } + }, + "description": "The integration account partner's business identity." + }, + "IntegrationAccountAgreementListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountAgreement" + }, + "description": "The list of integration account agreements." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account agreements." + }, + "IntegrationAccountAgreementFilter": { + "type": "object", + "required": [ + "agreementType" + ], + "properties": { + "agreementType": { + "$ref": "#/definitions/AgreementType", + "description": "The agreement type of integration account agreement." + } + }, + "description": "The integration account agreement filter for odata query." + }, + "IntegrationAccountAgreement": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountAgreementProperties", + "description": "The integration account agreement properties." + } + }, + "description": "The integration account agreement.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountAgreementProperties": { + "type": "object", + "required": [ + "hostPartner", + "guestPartner", + "hostIdentity", + "guestIdentity", + "agreementType", + "content" + ], + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "agreementType": { + "$ref": "#/definitions/AgreementType", + "description": "The agreement type." + }, + "hostPartner": { + "type": "string", + "description": "The integration account partner that is set as host partner for this agreement." + }, + "guestPartner": { + "type": "string", + "description": "The integration account partner that is set as guest partner for this agreement." + }, + "hostIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The business identity of the host partner." + }, + "guestIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The business identity of the guest partner." + }, + "content": { + "$ref": "#/definitions/AgreementContent", + "description": "The agreement content." + } + }, + "description": "The integration account agreement properties." + }, + "AgreementType": { + "type": "string", + "enum": [ + "NotSpecified", + "AS2", + "X12", + "Edifact" + ], + "x-ms-enum": { + "name": "AgreementType", + "modelAsString": true + } + }, + "AgreementContent": { + "type": "object", + "properties": { + "aS2": { + "$ref": "#/definitions/AS2AgreementContent", + "description": "The AS2 agreement content." + }, + "x12": { + "$ref": "#/definitions/X12AgreementContent", + "description": "The X12 agreement content." + }, + "edifact": { + "$ref": "#/definitions/EdifactAgreementContent", + "description": "The EDIFACT agreement content." + } + }, + "description": "The integration account agreement content." + }, + "AS2AgreementContent": { + "type": "object", + "required": [ + "receiveAgreement", + "sendAgreement" + ], + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/AS2OneWayAgreement", + "description": "The AS2 one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/AS2OneWayAgreement", + "description": "The AS2 one-way send agreement." + } + }, + "description": "The integration account AS2 agreement content." + }, + "AS2OneWayAgreement": { + "type": "object", + "required": [ + "senderBusinessIdentity", + "receiverBusinessIdentity", + "protocolSettings" + ], + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/AS2ProtocolSettings", + "description": "The AS2 protocol settings." + } + }, + "description": "The integration account AS2 one-way agreement." + }, + "AS2ProtocolSettings": { + "type": "object", + "required": [ + "messageConnectionSettings", + "acknowledgementConnectionSettings", + "mdnSettings", + "securitySettings", + "validationSettings", + "envelopeSettings", + "errorSettings" + ], + "properties": { + "messageConnectionSettings": { + "$ref": "#/definitions/AS2MessageConnectionSettings", + "description": "The message connection settings." + }, + "acknowledgementConnectionSettings": { + "$ref": "#/definitions/AS2AcknowledgementConnectionSettings", + "description": "The acknowledgement connection settings." + }, + "mdnSettings": { + "$ref": "#/definitions/AS2MdnSettings", + "description": "The MDN settings." + }, + "securitySettings": { + "$ref": "#/definitions/AS2SecuritySettings", + "description": "The security settings." + }, + "validationSettings": { + "$ref": "#/definitions/AS2ValidationSettings", + "description": "The validation settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/AS2EnvelopeSettings", + "description": "The envelope settings." + }, + "errorSettings": { + "$ref": "#/definitions/AS2ErrorSettings", + "description": "The error settings." + } + }, + "description": "The AS2 agreement protocol settings." + }, + "AS2AcknowledgementConnectionSettings": { + "type": "object", + "required": [ + "ignoreCertificateNameMismatch", + "supportHttpStatusCodeContinue", + "keepHttpConnectionAlive", + "unfoldHttpHeaders" + ], + "properties": { + "ignoreCertificateNameMismatch": { + "type": "boolean", + "description": "The value indicating whether to ignore mismatch in certificate name." + }, + "supportHttpStatusCodeContinue": { + "type": "boolean", + "description": "The value indicating whether to support HTTP status code 'CONTINUE'." + }, + "keepHttpConnectionAlive": { + "type": "boolean", + "description": "The value indicating whether to keep the connection alive." + }, + "unfoldHttpHeaders": { + "type": "boolean", + "description": "The value indicating whether to unfold the HTTP headers." + } + }, + "description": "The AS2 agreement acknowledgement connection settings." + }, + "AS2MessageConnectionSettings": { + "type": "object", + "required": [ + "ignoreCertificateNameMismatch", + "supportHttpStatusCodeContinue", + "keepHttpConnectionAlive", + "unfoldHttpHeaders" + ], + "properties": { + "ignoreCertificateNameMismatch": { + "type": "boolean", + "description": "The value indicating whether to ignore mismatch in certificate name." + }, + "supportHttpStatusCodeContinue": { + "type": "boolean", + "description": "The value indicating whether to support HTTP status code 'CONTINUE'." + }, + "keepHttpConnectionAlive": { + "type": "boolean", + "description": "The value indicating whether to keep the connection alive." + }, + "unfoldHttpHeaders": { + "type": "boolean", + "description": "The value indicating whether to unfold the HTTP headers." + } + }, + "description": "The AS2 agreement message connection settings." + }, + "AS2MdnSettings": { + "type": "object", + "required": [ + "needMdn", + "signMdn", + "sendMdnAsynchronously", + "signOutboundMdnIfOptional", + "sendInboundMdnToMessageBox", + "micHashingAlgorithm" + ], + "properties": { + "needMdn": { + "type": "boolean", + "description": "The value indicating whether to send or request a MDN." + }, + "signMdn": { + "type": "boolean", + "description": "The value indicating whether the MDN needs to be signed or not." + }, + "sendMdnAsynchronously": { + "type": "boolean", + "description": "The value indicating whether to send the asynchronous MDN." + }, + "receiptDeliveryUrl": { + "type": "string", + "description": "The receipt delivery URL." + }, + "dispositionNotificationTo": { + "type": "string", + "description": "The disposition notification to header value." + }, + "signOutboundMdnIfOptional": { + "type": "boolean", + "description": "The value indicating whether to sign the outbound MDN if optional." + }, + "mdnText": { + "type": "string", + "description": "The MDN text." + }, + "sendInboundMdnToMessageBox": { + "type": "boolean", + "description": "The value indicating whether to send inbound MDN to message box." + }, + "micHashingAlgorithm": { + "$ref": "#/definitions/HashingAlgorithm", + "description": "The signing or hashing algorithm." + } + }, + "description": "The AS2 agreement mdn settings." + }, + "AS2SecuritySettings": { + "type": "object", + "required": [ + "overrideGroupSigningCertificate", + "enableNrrForInboundEncodedMessages", + "enableNrrForInboundDecodedMessages", + "enableNrrForOutboundMdn", + "enableNrrForOutboundEncodedMessages", + "enableNrrForOutboundDecodedMessages", + "enableNrrForInboundMdn" + ], + "properties": { + "overrideGroupSigningCertificate": { + "type": "boolean", + "description": "The value indicating whether to send or request a MDN." + }, + "signingCertificateName": { + "type": "string", + "description": "The name of the signing certificate." + }, + "encryptionCertificateName": { + "type": "string", + "description": "The name of the encryption certificate." + }, + "enableNrrForInboundEncodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound encoded messages." + }, + "enableNrrForInboundDecodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound decoded messages." + }, + "enableNrrForOutboundMdn": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound MDN." + }, + "enableNrrForOutboundEncodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound encoded messages." + }, + "enableNrrForOutboundDecodedMessages": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for outbound decoded messages." + }, + "enableNrrForInboundMdn": { + "type": "boolean", + "description": "The value indicating whether to enable NRR for inbound MDN." + }, + "sha2AlgorithmFormat": { + "type": "string", + "description": "The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize." + } + }, + "description": "The AS2 agreement security settings." + }, + "AS2ValidationSettings": { + "type": "object", + "required": [ + "overrideMessageProperties", + "encryptMessage", + "signMessage", + "compressMessage", + "checkDuplicateMessage", + "interchangeDuplicatesValidityDays", + "checkCertificateRevocationListOnSend", + "checkCertificateRevocationListOnReceive", + "encryptionAlgorithm" + ], + "properties": { + "overrideMessageProperties": { + "type": "boolean", + "description": "The value indicating whether to override incoming message properties with those in agreement." + }, + "encryptMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be encrypted." + }, + "signMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be signed." + }, + "compressMessage": { + "type": "boolean", + "description": "The value indicating whether the message has to be compressed." + }, + "checkDuplicateMessage": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate message." + }, + "interchangeDuplicatesValidityDays": { + "type": "integer", + "format": "int32", + "description": "The number of days to look back for duplicate interchange." + }, + "checkCertificateRevocationListOnSend": { + "type": "boolean", + "description": "The value indicating whether to check for certificate revocation list on send." + }, + "checkCertificateRevocationListOnReceive": { + "type": "boolean", + "description": "The value indicating whether to check for certificate revocation list on receive." + }, + "encryptionAlgorithm": { + "$ref": "#/definitions/EncryptionAlgorithm", + "description": "The encryption algorithm." + }, + "signingAlgorithm": { + "$ref": "#/definitions/SigningAlgorithm", + "description": "The signing algorithm." + } + }, + "description": "The AS2 agreement validation settings." + }, + "AS2EnvelopeSettings": { + "type": "object", + "required": [ + "messageContentType", + "transmitFileNameInMimeHeader", + "fileNameTemplate", + "suspendMessageOnFileNameGenerationError", + "autogenerateFileName" + ], + "properties": { + "messageContentType": { + "type": "string", + "description": "The message content type." + }, + "transmitFileNameInMimeHeader": { + "type": "boolean", + "description": "The value indicating whether to transmit file name in mime header." + }, + "fileNameTemplate": { + "type": "string", + "description": "The template for file name." + }, + "suspendMessageOnFileNameGenerationError": { + "type": "boolean", + "description": "The value indicating whether to suspend message on file name generation error." + }, + "autogenerateFileName": { + "type": "boolean", + "description": "The value indicating whether to auto generate file name." + } + }, + "description": "The AS2 agreement envelope settings." + }, + "AS2ErrorSettings": { + "type": "object", + "required": [ + "suspendDuplicateMessage", + "resendIfMdnNotReceived" + ], + "properties": { + "suspendDuplicateMessage": { + "type": "boolean", + "description": "The value indicating whether to suspend duplicate message." + }, + "resendIfMdnNotReceived": { + "type": "boolean", + "description": "The value indicating whether to resend message If MDN is not received." + } + }, + "description": "The AS2 agreement error settings." + }, + "X12AgreementContent": { + "type": "object", + "required": [ + "receiveAgreement", + "sendAgreement" + ], + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/X12OneWayAgreement", + "description": "The X12 one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/X12OneWayAgreement", + "description": "The X12 one-way send agreement." + } + }, + "description": "The X12 agreement content." + }, + "X12OneWayAgreement": { + "type": "object", + "required": [ + "senderBusinessIdentity", + "receiverBusinessIdentity", + "protocolSettings" + ], + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/X12ProtocolSettings", + "description": "The X12 protocol settings." + } + }, + "description": "The X12 one-way agreement." + }, + "X12ProtocolSettings": { + "type": "object", + "required": [ + "validationSettings", + "framingSettings", + "envelopeSettings", + "acknowledgementSettings", + "messageFilter", + "securitySettings", + "processingSettings", + "schemaReferences" + ], + "properties": { + "validationSettings": { + "$ref": "#/definitions/X12ValidationSettings", + "description": "The X12 validation settings." + }, + "framingSettings": { + "$ref": "#/definitions/X12FramingSettings", + "description": "The X12 framing settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/X12EnvelopeSettings", + "description": "The X12 envelope settings." + }, + "acknowledgementSettings": { + "$ref": "#/definitions/X12AcknowledgementSettings", + "description": "The X12 acknowledgment settings." + }, + "messageFilter": { + "$ref": "#/definitions/X12MessageFilter", + "description": "The X12 message filter." + }, + "securitySettings": { + "$ref": "#/definitions/X12SecuritySettings", + "description": "The X12 security settings." + }, + "processingSettings": { + "$ref": "#/definitions/X12ProcessingSettings", + "description": "The X12 processing settings." + }, + "envelopeOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12EnvelopeOverride" + }, + "description": "The X12 envelope override settings." + }, + "validationOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12ValidationOverride" + }, + "description": "The X12 validation override settings." + }, + "messageFilterList": { + "type": "array", + "items": { + "$ref": "#/definitions/X12MessageIdentifier" + }, + "description": "The X12 message filter list." + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/X12SchemaReference" + }, + "description": "The X12 schema references." + }, + "x12DelimiterOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/X12DelimiterOverrides" + }, + "description": "The X12 delimiter override settings." + } + }, + "description": "The X12 agreement protocol settings." + }, + "X12ValidationSettings": { + "type": "object", + "required": [ + "validateCharacterSet", + "checkDuplicateInterchangeControlNumber", + "interchangeControlNumberValidityDays", + "checkDuplicateGroupControlNumber", + "checkDuplicateTransactionSetControlNumber", + "validateEdiTypes", + "validateXsdTypes", + "allowLeadingAndTrailingSpacesAndZeroes", + "trimLeadingAndTrailingSpacesAndZeroes", + "trailingSeparatorPolicy" + ], + "properties": { + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character set in the message." + }, + "checkDuplicateInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate interchange control number." + }, + "interchangeControlNumberValidityDays": { + "type": "integer", + "format": "int32", + "description": "The validity period of interchange control number." + }, + "checkDuplicateGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate group control number." + }, + "checkDuplicateTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate transaction set control number." + }, + "validateEdiTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate EDI types." + }, + "validateXsdTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + }, + "description": "The X12 agreement validation settings." + }, + "X12FramingSettings": { + "type": "object", + "required": [ + "dataElementSeparator", + "componentSeparator", + "replaceSeparatorsInPayload", + "replaceCharacter", + "segmentTerminator", + "characterSet", + "segmentTerminatorSuffix" + ], + "properties": { + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "replaceSeparatorsInPayload": { + "type": "boolean", + "description": "The value indicating whether to replace separators in payload." + }, + "replaceCharacter": { + "type": "integer", + "format": "int32", + "description": "The replacement character." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "characterSet": { + "$ref": "#/definitions/X12CharacterSet", + "description": "The X12 character set." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + } + }, + "description": "The X12 agreement framing settings." + }, + "X12EnvelopeSettings": { + "type": "object", + "required": [ + "controlStandardsId", + "useControlStandardsIdAsRepetitionCharacter", + "senderApplicationId", + "receiverApplicationId", + "controlVersionNumber", + "interchangeControlNumberLowerBound", + "interchangeControlNumberUpperBound", + "rolloverInterchangeControlNumber", + "enableDefaultGroupHeaders", + "groupControlNumberLowerBound", + "groupControlNumberUpperBound", + "rolloverGroupControlNumber", + "groupHeaderAgencyCode", + "groupHeaderVersion", + "transactionSetControlNumberLowerBound", + "transactionSetControlNumberUpperBound", + "rolloverTransactionSetControlNumber", + "overwriteExistingTransactionSetControlNumber", + "groupHeaderDateFormat", + "groupHeaderTimeFormat", + "usageIndicator" + ], + "properties": { + "controlStandardsId": { + "type": "integer", + "format": "int32", + "description": "The controls standards id." + }, + "useControlStandardsIdAsRepetitionCharacter": { + "type": "boolean", + "description": "The value indicating whether to use control standards id as repetition character." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "controlVersionNumber": { + "type": "string", + "description": "The control version number." + }, + "interchangeControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The interchange control number lower bound." + }, + "interchangeControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The interchange control number upper bound." + }, + "rolloverInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover interchange control number." + }, + "enableDefaultGroupHeaders": { + "type": "boolean", + "description": "The value indicating whether to enable default group headers." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "groupControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The group control number lower bound." + }, + "groupControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The group control number upper bound." + }, + "rolloverGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover group control number." + }, + "groupHeaderAgencyCode": { + "type": "string", + "description": "The group header agency code." + }, + "groupHeaderVersion": { + "type": "string", + "description": "The group header version." + }, + "transactionSetControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The transaction set control number lower bound." + }, + "transactionSetControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The transaction set control number upper bound." + }, + "rolloverTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover transaction set control number." + }, + "transactionSetControlNumberPrefix": { + "type": "string", + "description": "The transaction set control number prefix." + }, + "transactionSetControlNumberSuffix": { + "type": "string", + "description": "The transaction set control number suffix." + }, + "overwriteExistingTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to overwrite existing transaction set control number." + }, + "groupHeaderDateFormat": { + "$ref": "#/definitions/X12DateFormat", + "description": "The group header date format." + }, + "groupHeaderTimeFormat": { + "$ref": "#/definitions/X12TimeFormat", + "description": "The group header time format." + }, + "usageIndicator": { + "$ref": "#/definitions/UsageIndicator", + "description": "The usage indicator." + } + }, + "description": "The X12 agreement envelope settings." + }, + "X12AcknowledgementSettings": { + "type": "object", + "required": [ + "needTechnicalAcknowledgement", + "batchTechnicalAcknowledgements", + "needFunctionalAcknowledgement", + "batchFunctionalAcknowledgements", + "needImplementationAcknowledgement", + "batchImplementationAcknowledgements", + "needLoopForValidMessages", + "sendSynchronousAcknowledgement", + "acknowledgementControlNumberLowerBound", + "acknowledgementControlNumberUpperBound", + "rolloverAcknowledgementControlNumber" + ], + "properties": { + "needTechnicalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether technical acknowledgement is needed." + }, + "batchTechnicalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch the technical acknowledgements." + }, + "needFunctionalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether functional acknowledgement is needed." + }, + "functionalAcknowledgementVersion": { + "type": "string", + "description": "The functional acknowledgement version." + }, + "batchFunctionalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch functional acknowledgements." + }, + "needImplementationAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether implementation acknowledgement is needed." + }, + "implementationAcknowledgementVersion": { + "type": "string", + "description": "The implementation acknowledgement version." + }, + "batchImplementationAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch implementation acknowledgements." + }, + "needLoopForValidMessages": { + "type": "boolean", + "description": "The value indicating whether a loop is needed for valid messages." + }, + "sendSynchronousAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether to send synchronous acknowledgement." + }, + "acknowledgementControlNumberPrefix": { + "type": "string", + "description": "The acknowledgement control number prefix." + }, + "acknowledgementControlNumberSuffix": { + "type": "string", + "description": "The acknowledgement control number suffix." + }, + "acknowledgementControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number lower bound." + }, + "acknowledgementControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number upper bound." + }, + "rolloverAcknowledgementControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover acknowledgement control number." + } + }, + "description": "The X12 agreement acknowledgement settings." + }, + "X12MessageFilter": { + "type": "object", + "required": [ + "messageFilterType" + ], + "properties": { + "messageFilterType": { + "$ref": "#/definitions/MessageFilterType", + "description": "The message filter type." + } + }, + "description": "The X12 message filter for odata query." + }, + "X12SecuritySettings": { + "type": "object", + "required": [ + "authorizationQualifier", + "securityQualifier" + ], + "properties": { + "authorizationQualifier": { + "type": "string", + "description": "The authorization qualifier." + }, + "authorizationValue": { + "type": "string", + "description": "The authorization value." + }, + "securityQualifier": { + "type": "string", + "description": "The security qualifier." + }, + "passwordValue": { + "type": "string", + "description": "The password value." + } + }, + "description": "The X12 agreement security settings." + }, + "X12ProcessingSettings": { + "type": "object", + "required": [ + "maskSecurityInfo", + "convertImpliedDecimal", + "preserveInterchange", + "suspendInterchangeOnError", + "createEmptyXmlTagsForTrailingSeparators", + "useDotAsDecimalSeparator" + ], + "properties": { + "maskSecurityInfo": { + "type": "boolean", + "description": "The value indicating whether to mask security information." + }, + "convertImpliedDecimal": { + "type": "boolean", + "description": "The value indicating whether to convert numerical type to implied decimal." + }, + "preserveInterchange": { + "type": "boolean", + "description": "The value indicating whether to preserve interchange." + }, + "suspendInterchangeOnError": { + "type": "boolean", + "description": "The value indicating whether to suspend interchange on error." + }, + "createEmptyXmlTagsForTrailingSeparators": { + "type": "boolean", + "description": "The value indicating whether to create empty xml tags for trailing separators." + }, + "useDotAsDecimalSeparator": { + "type": "boolean", + "description": "The value indicating whether to use dot as decimal separator." + } + }, + "description": "The X12 processing settings." + }, + "X12EnvelopeOverride": { + "type": "object", + "required": [ + "targetNamespace", + "protocolVersion", + "messageId", + "responsibleAgencyCode", + "headerVersion", + "senderApplicationId", + "receiverApplicationId", + "dateFormat", + "timeFormat" + ], + "properties": { + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this envelope settings has to be applied." + }, + "protocolVersion": { + "type": "string", + "description": "The protocol version on which this envelope settings has to be applied." + }, + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + }, + "responsibleAgencyCode": { + "type": "string", + "description": "The responsible agency code." + }, + "headerVersion": { + "type": "string", + "description": "The header version." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "functionalIdentifierCode": { + "type": "string", + "description": "The functional identifier code." + }, + "dateFormat": { + "$ref": "#/definitions/X12DateFormat", + "description": "The date format." + }, + "timeFormat": { + "$ref": "#/definitions/X12TimeFormat", + "description": "The time format." + } + }, + "description": "The X12 envelope override settings." + }, + "X12ValidationOverride": { + "type": "object", + "required": [ + "messageId", + "validateEdiTypes", + "validateXsdTypes", + "allowLeadingAndTrailingSpacesAndZeroes", + "validateCharacterSet", + "trimLeadingAndTrailingSpacesAndZeroes", + "trailingSeparatorPolicy" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which the validation settings has to be applied." + }, + "validateEdiTypes": { + "type": "boolean", + "description": "The value indicating whether to validate EDI types." + }, + "validateXsdTypes": { + "type": "boolean", + "description": "The value indicating whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character Set." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + }, + "description": "The X12 validation override settings." + }, + "X12MessageIdentifier": { + "type": "object", + "required": [ + "messageId" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + } + }, + "description": "The X12 message identifier." + }, + "X12SchemaReference": { + "type": "object", + "required": [ + "messageId", + "schemaVersion", + "schemaName" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "schemaVersion": { + "type": "string", + "description": "The schema version." + }, + "schemaName": { + "type": "string", + "description": "The schema name." + } + }, + "description": "The X12 schema reference." + }, + "X12DelimiterOverrides": { + "type": "object", + "required": [ + "dataElementSeparator", + "componentSeparator", + "segmentTerminator", + "segmentTerminatorSuffix", + "replaceCharacter", + "replaceSeparatorsInPayload" + ], + "properties": { + "protocolVersion": { + "type": "string", + "description": "The protocol version." + }, + "messageId": { + "type": "string", + "description": "The message id." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + }, + "replaceCharacter": { + "type": "integer", + "format": "int32", + "description": "The replacement character." + }, + "replaceSeparatorsInPayload": { + "type": "boolean", + "description": "The value indicating whether to replace separators in payload." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this delimiter settings has to be applied." + } + }, + "description": "The X12 delimiter override settings." + }, + "X12CharacterSet": { + "type": "string", + "enum": [ + "NotSpecified", + "Basic", + "Extended", + "UTF8" + ], + "x-ms-enum": { + "name": "X12CharacterSet", + "modelAsString": true + } + }, + "SegmentTerminatorSuffix": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ], + "x-ms-enum": { + "name": "SegmentTerminatorSuffix", + "modelAsString": true + } + }, + "X12DateFormat": { + "type": "string", + "enum": [ + "NotSpecified", + "CCYYMMDD", + "YYMMDD" + ], + "x-ms-enum": { + "name": "X12DateFormat", + "modelAsString": true + } + }, + "X12TimeFormat": { + "type": "string", + "enum": [ + "NotSpecified", + "HHMM", + "HHMMSS", + "HHMMSSdd", + "HHMMSSd" + ], + "x-ms-enum": { + "name": "X12TimeFormat", + "modelAsString": true + } + }, + "UsageIndicator": { + "type": "string", + "enum": [ + "NotSpecified", + "Test", + "Information", + "Production" + ], + "x-ms-enum": { + "name": "UsageIndicator", + "modelAsString": true + } + }, + "MessageFilterType": { + "type": "string", + "enum": [ + "NotSpecified", + "Include", + "Exclude" + ], + "x-ms-enum": { + "name": "MessageFilterType", + "modelAsString": true + } + }, + "HashingAlgorithm": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "MD5", + "SHA1", + "SHA2256", + "SHA2384", + "SHA2512" + ], + "x-ms-enum": { + "name": "HashingAlgorithm", + "modelAsString": true + } + }, + "EncryptionAlgorithm": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "DES3", + "RC2", + "AES128", + "AES192", + "AES256" + ], + "x-ms-enum": { + "name": "EncryptionAlgorithm", + "modelAsString": true + } + }, + "SigningAlgorithm": { + "type": "string", + "enum": [ + "NotSpecified", + "Default", + "SHA1", + "SHA2256", + "SHA2384", + "SHA2512" + ], + "x-ms-enum": { + "name": "SigningAlgorithm", + "modelAsString": true + } + }, + "TrailingSeparatorPolicy": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAllowed", + "Optional", + "Mandatory" + ], + "x-ms-enum": { + "name": "TrailingSeparatorPolicy", + "modelAsString": true + } + }, + "EdifactAgreementContent": { + "type": "object", + "required": [ + "receiveAgreement", + "sendAgreement" + ], + "properties": { + "receiveAgreement": { + "$ref": "#/definitions/EdifactOneWayAgreement", + "description": "The EDIFACT one-way receive agreement." + }, + "sendAgreement": { + "$ref": "#/definitions/EdifactOneWayAgreement", + "description": "The EDIFACT one-way send agreement." + } + }, + "description": "The Edifact agreement content." + }, + "EdifactOneWayAgreement": { + "type": "object", + "required": [ + "senderBusinessIdentity", + "receiverBusinessIdentity", + "protocolSettings" + ], + "properties": { + "senderBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The sender business identity" + }, + "receiverBusinessIdentity": { + "$ref": "#/definitions/BusinessIdentity", + "description": "The receiver business identity" + }, + "protocolSettings": { + "$ref": "#/definitions/EdifactProtocolSettings", + "description": "The EDIFACT protocol settings." + } + }, + "description": "The Edifact one way agreement." + }, + "EdifactProtocolSettings": { + "type": "object", + "required": [ + "validationSettings", + "framingSettings", + "envelopeSettings", + "acknowledgementSettings", + "messageFilter", + "processingSettings", + "schemaReferences" + ], + "properties": { + "validationSettings": { + "$ref": "#/definitions/EdifactValidationSettings", + "description": "The EDIFACT validation settings." + }, + "framingSettings": { + "$ref": "#/definitions/EdifactFramingSettings", + "description": "The EDIFACT framing settings." + }, + "envelopeSettings": { + "$ref": "#/definitions/EdifactEnvelopeSettings", + "description": "The EDIFACT envelope settings." + }, + "acknowledgementSettings": { + "$ref": "#/definitions/EdifactAcknowledgementSettings", + "description": "The EDIFACT acknowledgement settings." + }, + "messageFilter": { + "$ref": "#/definitions/EdifactMessageFilter", + "description": "The EDIFACT message filter." + }, + "processingSettings": { + "$ref": "#/definitions/EdifactProcessingSettings", + "description": "The EDIFACT processing Settings." + }, + "envelopeOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactEnvelopeOverride" + }, + "description": "The EDIFACT envelope override settings." + }, + "messageFilterList": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactMessageIdentifier" + }, + "description": "The EDIFACT message filter list." + }, + "schemaReferences": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactSchemaReference" + }, + "description": "The EDIFACT schema references." + }, + "validationOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactValidationOverride" + }, + "description": "The EDIFACT validation override settings." + }, + "edifactDelimiterOverrides": { + "type": "array", + "items": { + "$ref": "#/definitions/EdifactDelimiterOverride" + }, + "description": "The EDIFACT delimiter override settings." + } + }, + "description": "The Edifact agreement protocol settings." + }, + "EdifactValidationSettings": { + "type": "object", + "required": [ + "validateCharacterSet", + "checkDuplicateInterchangeControlNumber", + "interchangeControlNumberValidityDays", + "checkDuplicateGroupControlNumber", + "checkDuplicateTransactionSetControlNumber", + "validateEdiTypes", + "validateXsdTypes", + "allowLeadingAndTrailingSpacesAndZeroes", + "trimLeadingAndTrailingSpacesAndZeroes", + "trailingSeparatorPolicy" + ], + "properties": { + "validateCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character set in the message." + }, + "checkDuplicateInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate interchange control number." + }, + "interchangeControlNumberValidityDays": { + "type": "integer", + "format": "int32", + "description": "The validity period of interchange control number." + }, + "checkDuplicateGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate group control number." + }, + "checkDuplicateTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to check for duplicate transaction set control number." + }, + "validateEdiTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate EDI types." + }, + "validateXsdTypes": { + "type": "boolean", + "description": "The value indicating whether to Whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + } + }, + "description": "The Edifact agreement validation settings." + }, + "EdifactFramingSettings": { + "type": "object", + "required": [ + "protocolVersion", + "dataElementSeparator", + "componentSeparator", + "segmentTerminator", + "releaseIndicator", + "repetitionSeparator", + "characterSet", + "decimalPointIndicator", + "segmentTerminatorSuffix" + ], + "properties": { + "serviceCodeListDirectoryVersion": { + "type": "string", + "description": "The service code list directory version." + }, + "characterEncoding": { + "type": "string", + "description": "The character encoding." + }, + "protocolVersion": { + "type": "integer", + "format": "int32", + "description": "The protocol version." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "releaseIndicator": { + "type": "integer", + "format": "int32", + "description": "The release indicator." + }, + "repetitionSeparator": { + "type": "integer", + "format": "int32", + "description": "The repetition separator." + }, + "characterSet": { + "$ref": "#/definitions/EdifactCharacterSet", + "description": "The EDIFACT frame setting characterSet." + }, + "decimalPointIndicator": { + "$ref": "#/definitions/EdifactDecimalIndicator", + "description": "The EDIFACT frame setting decimal indicator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The EDIFACT frame setting segment terminator suffix." + } + }, + "description": "The Edifact agreement framing settings." + }, + "EdifactEnvelopeSettings": { + "type": "object", + "required": [ + "applyDelimiterStringAdvice", + "createGroupingSegments", + "enableDefaultGroupHeaders", + "interchangeControlNumberLowerBound", + "interchangeControlNumberUpperBound", + "rolloverInterchangeControlNumber", + "groupControlNumberLowerBound", + "groupControlNumberUpperBound", + "rolloverGroupControlNumber", + "overwriteExistingTransactionSetControlNumber", + "transactionSetControlNumberLowerBound", + "transactionSetControlNumberUpperBound", + "rolloverTransactionSetControlNumber", + "isTestInterchange" + ], + "properties": { + "groupAssociationAssignedCode": { + "type": "string", + "description": "The group association assigned code." + }, + "communicationAgreementId": { + "type": "string", + "description": "The communication agreement id." + }, + "applyDelimiterStringAdvice": { + "type": "boolean", + "description": "The value indicating whether to apply delimiter string advice." + }, + "createGroupingSegments": { + "type": "boolean", + "description": "The value indicating whether to create grouping segments." + }, + "enableDefaultGroupHeaders": { + "type": "boolean", + "description": "The value indicating whether to enable default group headers." + }, + "recipientReferencePasswordValue": { + "type": "string", + "description": "The recipient reference password value." + }, + "recipientReferencePasswordQualifier": { + "type": "string", + "description": "The recipient reference password qualifier." + }, + "applicationReferenceId": { + "type": "string", + "description": "The application reference id." + }, + "processingPriorityCode": { + "type": "string", + "description": "The processing priority code." + }, + "interchangeControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The interchange control number lower bound." + }, + "interchangeControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The interchange control number upper bound." + }, + "rolloverInterchangeControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover interchange control number." + }, + "interchangeControlNumberPrefix": { + "type": "string", + "description": "The interchange control number prefix." + }, + "interchangeControlNumberSuffix": { + "type": "string", + "description": "The interchange control number suffix." + }, + "senderReverseRoutingAddress": { + "type": "string", + "description": "The sender reverse routing address." + }, + "receiverReverseRoutingAddress": { + "type": "string", + "description": "The receiver reverse routing address." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "groupControllingAgencyCode": { + "type": "string", + "description": "The group controlling agency code." + }, + "groupMessageVersion": { + "type": "string", + "description": "The group message version." + }, + "groupMessageRelease": { + "type": "string", + "description": "The group message release." + }, + "groupControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The group control number lower bound." + }, + "groupControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The group control number upper bound." + }, + "rolloverGroupControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover group control number." + }, + "groupControlNumberPrefix": { + "type": "string", + "description": "The group control number prefix." + }, + "groupControlNumberSuffix": { + "type": "string", + "description": "The group control number suffix." + }, + "groupApplicationReceiverQualifier": { + "type": "string", + "description": "The group application receiver qualifier." + }, + "groupApplicationReceiverId": { + "type": "string", + "description": "The group application receiver id." + }, + "groupApplicationSenderQualifier": { + "type": "string", + "description": "The group application sender qualifier." + }, + "groupApplicationSenderId": { + "type": "string", + "description": "The group application sender id." + }, + "groupApplicationPassword": { + "type": "string", + "description": "The group application password." + }, + "overwriteExistingTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to overwrite existing transaction set control number." + }, + "transactionSetControlNumberPrefix": { + "type": "string", + "description": "The transaction set control number prefix." + }, + "transactionSetControlNumberSuffix": { + "type": "string", + "description": "The transaction set control number suffix." + }, + "transactionSetControlNumberLowerBound": { + "type": "integer", + "format": "int64", + "description": "The transaction set control number lower bound." + }, + "transactionSetControlNumberUpperBound": { + "type": "integer", + "format": "int64", + "description": "The transaction set control number upper bound." + }, + "rolloverTransactionSetControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover transaction set control number." + }, + "isTestInterchange": { + "type": "boolean", + "description": "The value indicating whether the message is a test interchange." + }, + "senderInternalIdentification": { + "type": "string", + "description": "The sender internal identification." + }, + "senderInternalSubIdentification": { + "type": "string", + "description": "The sender internal sub identification." + }, + "receiverInternalIdentification": { + "type": "string", + "description": "The receiver internal identification." + }, + "receiverInternalSubIdentification": { + "type": "string", + "description": "The receiver internal sub identification." + } + }, + "description": "The Edifact agreement envelope settings." + }, + "EdifactAcknowledgementSettings": { + "type": "object", + "required": [ + "needTechnicalAcknowledgement", + "batchTechnicalAcknowledgements", + "needFunctionalAcknowledgement", + "batchFunctionalAcknowledgements", + "needLoopForValidMessages", + "sendSynchronousAcknowledgement", + "acknowledgementControlNumberLowerBound", + "acknowledgementControlNumberUpperBound", + "rolloverAcknowledgementControlNumber" + ], + "properties": { + "needTechnicalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether technical acknowledgement is needed." + }, + "batchTechnicalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch the technical acknowledgements." + }, + "needFunctionalAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether functional acknowledgement is needed." + }, + "batchFunctionalAcknowledgements": { + "type": "boolean", + "description": "The value indicating whether to batch functional acknowledgements." + }, + "needLoopForValidMessages": { + "type": "boolean", + "description": "The value indicating whether a loop is needed for valid messages." + }, + "sendSynchronousAcknowledgement": { + "type": "boolean", + "description": "The value indicating whether to send synchronous acknowledgement." + }, + "acknowledgementControlNumberPrefix": { + "type": "string", + "description": "The acknowledgement control number prefix." + }, + "acknowledgementControlNumberSuffix": { + "type": "string", + "description": "The acknowledgement control number suffix." + }, + "acknowledgementControlNumberLowerBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number lower bound." + }, + "acknowledgementControlNumberUpperBound": { + "type": "integer", + "format": "int32", + "description": "The acknowledgement control number upper bound." + }, + "rolloverAcknowledgementControlNumber": { + "type": "boolean", + "description": "The value indicating whether to rollover acknowledgement control number." + } + }, + "description": "The Edifact agreement acknowledgement settings." + }, + "EdifactMessageFilter": { + "type": "object", + "required": [ + "messageFilterType" + ], + "properties": { + "messageFilterType": { + "$ref": "#/definitions/MessageFilterType", + "description": "The message filter type." + } + }, + "description": "The Edifact message filter for odata query." + }, + "EdifactProcessingSettings": { + "type": "object", + "required": [ + "maskSecurityInfo", + "preserveInterchange", + "suspendInterchangeOnError", + "createEmptyXmlTagsForTrailingSeparators", + "useDotAsDecimalSeparator" + ], + "properties": { + "maskSecurityInfo": { + "type": "boolean", + "description": "The value indicating whether to mask security information." + }, + "preserveInterchange": { + "type": "boolean", + "description": "The value indicating whether to preserve interchange." + }, + "suspendInterchangeOnError": { + "type": "boolean", + "description": "The value indicating whether to suspend interchange on error." + }, + "createEmptyXmlTagsForTrailingSeparators": { + "type": "boolean", + "description": "The value indicating whether to create empty xml tags for trailing separators." + }, + "useDotAsDecimalSeparator": { + "type": "boolean", + "description": "The value indicating whether to use dot as decimal separator." + } + }, + "description": "The Edifact agreement protocol settings." + }, + "EdifactEnvelopeOverride": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + }, + "messageVersion": { + "type": "string", + "description": "The message version on which this envelope settings has to be applied." + }, + "messageRelease": { + "type": "string", + "description": "The message release version on which this envelope settings has to be applied." + }, + "messageAssociationAssignedCode": { + "type": "string", + "description": "The message association assigned code." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this envelope settings has to be applied." + }, + "functionalGroupId": { + "type": "string", + "description": "The functional group id." + }, + "senderApplicationQualifier": { + "type": "string", + "description": "The sender application qualifier." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "receiverApplicationQualifier": { + "type": "string", + "description": "The receiver application qualifier." + }, + "receiverApplicationId": { + "type": "string", + "description": "The receiver application id." + }, + "controllingAgencyCode": { + "type": "string", + "description": "The controlling agency code." + }, + "groupHeaderMessageVersion": { + "type": "string", + "description": "The group header message version." + }, + "groupHeaderMessageRelease": { + "type": "string", + "description": "The group header message release." + }, + "associationAssignedCode": { + "type": "string", + "description": "The association assigned code." + }, + "applicationPassword": { + "type": "string", + "description": "The application password." + } + }, + "description": "The Edifact envelope override settings." + }, + "EdifactMessageIdentifier": { + "type": "object", + "required": [ + "messageId" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which this envelope settings has to be applied." + } + }, + "description": "The Edifact message identifier." + }, + "EdifactSchemaReference": { + "type": "object", + "required": [ + "messageId", + "messageVersion", + "messageRelease", + "schemaName" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "messageVersion": { + "type": "string", + "description": "The message version." + }, + "messageRelease": { + "type": "string", + "description": "The message release version." + }, + "senderApplicationId": { + "type": "string", + "description": "The sender application id." + }, + "senderApplicationQualifier": { + "type": "string", + "description": "The sender application qualifier." + }, + "associationAssignedCode": { + "type": "string", + "description": "The association assigned code." + }, + "schemaName": { + "type": "string", + "description": "The schema name." + } + }, + "description": "The Edifact schema reference." + }, + "EdifactValidationOverride": { + "type": "object", + "required": [ + "messageId", + "enforceCharacterSet", + "validateEdiTypes", + "validateXsdTypes", + "allowLeadingAndTrailingSpacesAndZeroes", + "trailingSeparatorPolicy", + "trimLeadingAndTrailingSpacesAndZeroes" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id on which the validation settings has to be applied." + }, + "enforceCharacterSet": { + "type": "boolean", + "description": "The value indicating whether to validate character Set." + }, + "validateEdiTypes": { + "type": "boolean", + "description": "The value indicating whether to validate EDI types." + }, + "validateXsdTypes": { + "type": "boolean", + "description": "The value indicating whether to validate XSD types." + }, + "allowLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to allow leading and trailing spaces and zeroes." + }, + "trailingSeparatorPolicy": { + "$ref": "#/definitions/TrailingSeparatorPolicy", + "description": "The trailing separator policy." + }, + "trimLeadingAndTrailingSpacesAndZeroes": { + "type": "boolean", + "description": "The value indicating whether to trim leading and trailing spaces and zeroes." + } + }, + "description": "The Edifact validation override settings." + }, + "EdifactDelimiterOverride": { + "type": "object", + "required": [ + "dataElementSeparator", + "componentSeparator", + "segmentTerminator", + "repetitionSeparator", + "segmentTerminatorSuffix", + "decimalPointIndicator", + "releaseIndicator" + ], + "properties": { + "messageId": { + "type": "string", + "description": "The message id." + }, + "messageVersion": { + "type": "string", + "description": "The message version." + }, + "messageRelease": { + "type": "string", + "description": "The message release." + }, + "dataElementSeparator": { + "type": "integer", + "format": "int32", + "description": "The data element separator." + }, + "componentSeparator": { + "type": "integer", + "format": "int32", + "description": "The component separator." + }, + "segmentTerminator": { + "type": "integer", + "format": "int32", + "description": "The segment terminator." + }, + "repetitionSeparator": { + "type": "integer", + "format": "int32", + "description": "The repetition separator." + }, + "segmentTerminatorSuffix": { + "$ref": "#/definitions/SegmentTerminatorSuffix", + "description": "The segment terminator suffix." + }, + "decimalPointIndicator": { + "$ref": "#/definitions/EdifactDecimalIndicator", + "description": "The decimal point indicator." + }, + "releaseIndicator": { + "type": "integer", + "format": "int32", + "description": "The release indicator." + }, + "messageAssociationAssignedCode": { + "type": "string", + "description": "The message association assigned code." + }, + "targetNamespace": { + "type": "string", + "description": "The target namespace on which this delimiter settings has to be applied." + } + }, + "description": "The Edifact delimiter override settings." + }, + "EdifactCharacterSet": { + "type": "string", + "enum": [ + "NotSpecified", + "UNOB", + "UNOA", + "UNOC", + "UNOD", + "UNOE", + "UNOF", + "UNOG", + "UNOH", + "UNOI", + "UNOJ", + "UNOK", + "UNOX", + "UNOY", + "KECA" + ], + "x-ms-enum": { + "name": "EdifactCharacterSet", + "modelAsString": true + } + }, + "EdifactDecimalIndicator": { + "type": "string", + "enum": [ + "NotSpecified", + "Comma", + "Decimal" + ], + "x-ms-enum": { + "name": "EdifactDecimalIndicator", + "modelAsString": true + } + }, + "IntegrationAccountCertificateListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountCertificate" + }, + "description": "The list of integration account certificates." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account certificates." + }, + "IntegrationAccountCertificate": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountCertificateProperties", + "description": "The integration account certificate properties." + } + }, + "description": "The integration account certificate.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountCertificateProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {} + }, + "key": { + "$ref": "#/definitions/KeyVaultKeyReference", + "description": "The key details in the key vault." + }, + "publicCertificate": { + "type": "string", + "description": "The public certificate." + } + }, + "description": "The integration account certificate properties." + }, + "KeyVaultKeyReference": { + "type": "object", + "required": [ + "keyVault", + "keyName" + ], + "properties": { + "keyVault": { + "type": "object", + "description": "The key vault reference.", + "properties": { + "id": { + "type": "string", + "description": "The resource id." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The resource name." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The resource type." + } + } + }, + "keyName": { + "type": "string", + "description": "The private key name in key vault." + }, + "keyVersion": { + "type": "string", + "description": "The private key version in key vault." + } + }, + "description": "The reference to the key vault key." + }, + "IntegrationAccountSessionFilter": { + "type": "object", + "required": [ + "changedTime" + ], + "properties": { + "changedTime": { + "type": "string", + "format": "date-time", + "description": "The changed time of integration account sessions." + } + }, + "description": "The integration account session filter." + }, + "IntegrationAccountSessionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountSession" + }, + "description": "The list of integration account sessions." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account sessions." + }, + "IntegrationAccountSession": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountSessionProperties", + "description": "The integration account session properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "The integration account session." + }, + "IntegrationAccountSessionProperties": { + "type": "object", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "content": { + "$ref": "#/definitions/Object", + "description": "The session content." + } + }, + "description": "The integration account session properties." + }, + "Operation": { + "description": "Logic REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.Logic", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Profile, endpoint, etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list Logic operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Logic operations supported by the Logic resource provider." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "ErrorResponse": { + "description": "Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ErrorProperties", + "description": "The error properties." + } + } + }, + "ErrorProperties": { + "description": "Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "ListKeyVaultKeysDefinition": { + "type": "object", + "description": "The list key vault keys definition.", + "additionalProperties": false, + "required": [ + "keyVault" + ], + "properties": { + "keyVault": { + "$ref": "#/definitions/KeyVaultReference", + "description": "The key vault reference." + }, + "skipToken": { + "type": "string", + "description": "The skip token." + } + } + }, + "KeyVaultReference": { + "type": "object", + "description": "The key vault reference.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The key vault name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceReference" + } + ] + }, + "KeyVaultKeyCollection": { + "type": "object", + "description": "Collection of key vault keys.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/KeyVaultKey" + }, + "description": "The key vault keys." + }, + "skipToken": { + "type": "string", + "description": "The skip token." + } + } + }, + "KeyVaultKey": { + "type": "object", + "description": "The key vault key.", + "properties": { + "kid": { + "type": "string", + "description": "The key id." + }, + "attributes": { + "type": "object", + "description": "The key attributes.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the key is enabled or not." + }, + "created": { + "type": "integer", + "format": "int64", + "description": "When the key was created." + }, + "updated": { + "type": "integer", + "format": "int64", + "description": "When the key was updated." + } + } + } + } + }, + "TrackingEventsDefinition": { + "type": "object", + "additionalProperties": false, + "required": [ + "sourceType", + "events" + ], + "properties": { + "sourceType": { + "type": "string" + }, + "trackEventsOptions": { + "$ref": "#/definitions/TrackEventsOperationOptions" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/definitions/TrackingEvent" + } + } + } + }, + "TrackEventsOperationOptions": { + "type": "string", + "enum": [ + "None", + "DisableSourceInfoEnrich" + ], + "x-ms-enum": { + "name": "TrackEventsOperationOptions", + "modelAsString": true + }, + "description": "The track events operation options." + }, + "TrackingEvent": { + "type": "object", + "additionalProperties": false, + "required": [ + "eventLevel", + "eventTime", + "recordType" + ], + "properties": { + "eventLevel": { + "$ref": "#/definitions/EventLevel" + }, + "eventTime": { + "type": "string", + "format": "date-time" + }, + "recordType": { + "$ref": "#/definitions/TrackingRecordType" + }, + "error": { + "$ref": "#/definitions/TrackingEventErrorInfo" + } + } + }, + "EventLevel": { + "type": "string", + "enum": [ + "LogAlways", + "Critical", + "Error", + "Warning", + "Informational", + "Verbose" + ], + "x-ms-enum": { + "name": "EventLevel", + "modelAsString": true + }, + "description": "The event level." + }, + "TrackingRecordType": { + "type": "string", + "enum": [ + "NotSpecified", + "Custom", + "AS2Message", + "AS2MDN", + "X12Interchange", + "X12FunctionalGroup", + "X12TransactionSet", + "X12InterchangeAcknowledgment", + "X12FunctionalGroupAcknowledgment", + "X12TransactionSetAcknowledgment", + "EdifactInterchange", + "EdifactFunctionalGroup", + "EdifactTransactionSet", + "EdifactInterchangeAcknowledgment", + "EdifactFunctionalGroupAcknowledgment", + "EdifactTransactionSetAcknowledgment" + ], + "x-ms-enum": { + "name": "TrackingRecordType", + "modelAsString": true + }, + "description": "The tracking record type." + }, + "TrackingEventErrorInfo": { + "type": "object", + "additionalProperties": false, + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + } + }, + "AccessKeyRegenerateActionDefinition": { + "type": "object", + "additionalProperties": false, + "required": [ + "keyType" + ], + "properties": { + "keyType": { + "$ref": "#/definitions/AccessKeyType" + } + } + }, + "AccessKeyType": { + "type": "string", + "enum": [ + "NotSpecified", + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AccessKeyType", + "modelAsString": true + }, + "description": "The access key type." + }, + "SetTriggerStateActionDefinition": { + "type": "object", + "additionalProperties": false, + "required": [ + "source" + ], + "properties": { + "source": { + "$ref": "#/definitions/WorkflowTrigger" + } + } + }, + "ExpressionTraces": { + "type": "object", + "properties": { + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressionRoot" + } + } + } + }, + "ExpressionRoot": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Expression" + } + ] + }, + "Expression": { + "type": "object", + "additionalProperties": false, + "properties": { + "text": { + "type": "string" + }, + "value": {}, + "subexpressions": { + "type": "array", + "items": { + "$ref": "#/definitions/Expression" + } + }, + "error": { + "$ref": "#/definitions/AzureResourceErrorInfo" + } + } + }, + "AzureResourceErrorInfo": { + "type": "object", + "description": "The azure resource error info.", + "additionalProperties": false, + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string", + "description": "The error message." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureResourceErrorInfo" + }, + "description": "The error details." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ErrorInfo" + } + ] + }, + "ErrorInfo": { + "type": "object", + "description": "The error info.", + "additionalProperties": false, + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "description": "The error code." + } + } + }, + "WorkflowRunActionRepetitionDefinitionCollection": { + "type": "object", + "description": "A collection of workflow run action repetitions.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowRunActionRepetitionDefinition" + } + } + } + }, + "WorkflowRunActionRepetitionDefinition": { + "type": "object", + "description": "The workflow run action repetition definition.", + "additionalProperties": false, + "required": [ + "properties" + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowRunActionRepetitionProperties", + "description": "The workflow run action repetition properties definition.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "WorkflowRunActionRepetitionProperties": { + "type": "object", + "description": "The workflow run action repetition properties definition.", + "additionalProperties": false, + "properties": { + "repetitionIndexes": { + "type": "array", + "description": "The repetition indexes.", + "items": { + "$ref": "#/definitions/RepetitionIndex" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/OperationResult" + } + ] + }, + "RepetitionIndex": { + "type": "object", + "description": "The workflow run action repetition index.", + "additionalProperties": false, + "required": [ + "itemIndex" + ], + "properties": { + "scopeName": { + "type": "string", + "description": "The scope." + }, + "itemIndex": { + "type": "integer", + "format": "int32", + "description": "The index." + } + } + }, + "OperationResult": { + "type": "object", + "description": "The operation result definition.", + "additionalProperties": false, + "properties": { + "trackingId": { + "type": "string", + "readOnly": true, + "description": "Gets the tracking id." + }, + "inputs": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the inputs." + }, + "inputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to inputs." + }, + "outputs": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the outputs." + }, + "outputsLink": { + "$ref": "#/definitions/ContentLink", + "readOnly": true, + "description": "Gets the link to outputs." + }, + "trackedProperties": { + "$ref": "#/definitions/Object", + "readOnly": true, + "description": "Gets the tracked properties." + }, + "retryHistory": { + "type": "array", + "items": { + "$ref": "#/definitions/RetryHistory" + }, + "description": "Gets the retry histories." + }, + "iterationCount": { + "type": "integer", + "format": "int32" + } + }, + "allOf": [ + { + "$ref": "#/definitions/OperationResultProperties" + } + ] + }, + "OperationResultProperties": { + "type": "object", + "x-abstract": true, + "description": "The run operation result properties.", + "additionalProperties": false, + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the workflow scope repetition." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the workflow scope repetition." + }, + "correlation": { + "$ref": "#/definitions/RunActionCorrelation", + "description": "The correlation properties." + }, + "status": { + "$ref": "#/definitions/WorkflowStatus", + "description": "The status of the workflow scope repetition." + }, + "code": { + "type": "string", + "description": "The workflow scope repetition code." + }, + "error": {} + } + }, + "RunActionCorrelation": { + "type": "object", + "description": "The workflow run action correlation properties.", + "additionalProperties": false, + "properties": { + "actionTrackingId": { + "type": "string", + "description": "The action tracking identifier." + } + }, + "allOf": [ + { + "$ref": "#/definitions/RunCorrelation" + } + ] + }, + "RunCorrelation": { + "type": "object", + "description": "The correlation properties.", + "additionalProperties": false, + "properties": { + "clientTrackingId": { + "type": "string", + "description": "The client tracking identifier." + }, + "clientKeywords": { + "type": "array", + "description": "The client keywords.", + "items": { + "type": "string" + } + } + } + }, + "JsonSchema": { + "type": "object", + "description": "The JSON schema.", + "properties": { + "title": { + "type": "string", + "description": "The JSON title." + }, + "content": { + "type": "string", + "description": "The JSON content." + } + } + }, + "AssemblyCollection": { + "type": "object", + "description": "A collection of assembly definitions.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AssemblyDefinition" + } + } + } + }, + "AssemblyDefinition": { + "type": "object", + "description": "The assembly definition.", + "additionalProperties": false, + "required": [ + "properties" + ], + "properties": { + "properties": { + "$ref": "#/definitions/AssemblyProperties", + "description": "The assembly properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "AssemblyProperties": { + "type": "object", + "description": "The assembly properties definition.", + "additionalProperties": false, + "required": [ + "assemblyName" + ], + "properties": { + "assemblyName": { + "type": "string", + "description": "The assembly name." + }, + "assemblyVersion": { + "type": "string", + "description": "The assembly version." + }, + "assemblyCulture": { + "type": "string", + "description": "The assembly culture." + }, + "assemblyPublicKeyToken": { + "type": "string", + "description": "The assembly public key token." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArtifactContentPropertiesDefinition" + } + ] + }, + "ArtifactContentPropertiesDefinition": { + "type": "object", + "additionalProperties": false, + "description": "The artifact content properties definition.", + "properties": { + "content": {}, + "contentType": { + "type": "string", + "description": "The content type." + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "The content link." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArtifactProperties" + } + ] + }, + "ArtifactProperties": { + "type": "object", + "additionalProperties": false, + "description": "The artifact properties definition.", + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "description": "The artifact creation time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "description": "The artifact changed time." + }, + "metadata": {} + } + }, + "BatchConfigurationCollection": { + "type": "object", + "description": "A collection of batch configurations.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BatchConfiguration" + } + } + } + }, + "BatchConfiguration": { + "type": "object", + "description": "The batch configuration resource definition.", + "additionalProperties": false, + "required": [ + "properties" + ], + "properties": { + "properties": { + "$ref": "#/definitions/BatchConfigurationProperties", + "description": "The batch configuration properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "BatchConfigurationProperties": { + "type": "object", + "description": "The batch configuration properties definition.", + "additionalProperties": false, + "required": [ + "batchGroupName", + "releaseCriteria" + ], + "properties": { + "batchGroupName": { + "type": "string", + "description": "The name of the batch group." + }, + "releaseCriteria": { + "$ref": "#/definitions/BatchReleaseCriteria", + "description": "The batch release criteria." + }, + "createdTime": { + "type": "string", + "format": "date-time", + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "description": "The changed time." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArtifactProperties" + } + ] + }, + "BatchReleaseCriteria": { + "type": "object", + "additionalProperties": false, + "description": "The batch release criteria.", + "properties": { + "messageCount": { + "type": "integer", + "format": "int32", + "description": "The message count." + }, + "batchSize": { + "type": "integer", + "format": "int32", + "description": "The batch size in bytes." + }, + "recurrence": { + "$ref": "#/definitions/WorkflowTriggerRecurrence", + "description": "The recurrence." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "description": "The subscription id.", + "in": "path", + "required": true, + "type": "string" + }, + "api-version": { + "name": "api-version", + "description": "The API version.", + "in": "query", + "required": true, + "type": "string" + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 9326548bd6cc..9c1611580e51 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Logic API. ``` yaml openapi-type: arm -tag: package-2016-06 +tag: package-2018-07-preview directive: - where: @@ -41,6 +41,15 @@ directive: ``` +### Tag: package-2018-07-preview + +These settings apply only when `--package-2018-07-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-07-preview' +input-file: +- Microsoft.Logic/preview/2018-07-01-preview/logic.json +``` + ### Tag: package-2016-06 These settings apply only when `--tag=package-2016-06` is specified on the command line. @@ -147,11 +156,21 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2018-07-preview - tag: package-2016-06 - tag: package-2015-08-preview - tag: package-2015-02-preview ``` +### Tag: package-2018-07-preview and go + +These settings apply only when `--tag=package-2018-07-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-07-preview' && $(go) +output-folder: $(go-sdk-folder)/services/logic/mgmt/package-2018-07-preview/logic +``` + ### Tag: package-2016-06 and go These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. @@ -198,9 +217,23 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-logic ``` yaml $(java) && $(multiapi) batch: + - tag: package-2018-07-preview - tag: package-2016-06 ``` +### Tag: package-2018-07-preview and java + +These settings apply only when `--tag=package-2018-07-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-07-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.logic.v2018_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/logic/resource-manager/v2018_07_01_preview +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2016-06 and java These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. diff --git a/specification/logic/resource-manager/readme.ruby.md b/specification/logic/resource-manager/readme.ruby.md index 3e26edce1c20..fc2185ca789a 100644 --- a/specification/logic/resource-manager/readme.ruby.md +++ b/specification/logic/resource-manager/readme.ruby.md @@ -12,10 +12,21 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: + - tag: package-2018-07-preview - tag: package-2016-06 - tag: package-2015-02-preview ``` +### Tag: package-2018-07-preview and ruby + +These settings apply only when `--tag=package-2018-07-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-07-preview' && $(ruby) +namespace: "Azure::Logic::Mgmt::V2018_07_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_logic/lib +``` + ### Tag: package-2016-06 and ruby These settings apply only when `--tag=package-2016-06 --ruby` is specified on the command line. diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..927adc27928e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_CreateOrUpdate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Delete.json new file mode 100644 index 000000000000..9f3bfe44fc65 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "api-version": "2017-08-15" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Get.json new file mode 100644 index 000000000000..1a2a98020a18 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Get.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_List.json new file mode 100644 index 000000000000..84191dc2bc71 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_List.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json new file mode 100644 index 000000000000..157edf9f1627 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Accounts_Update.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json new file mode 100644 index 000000000000..5ba8004905e4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "mountTargetName": "mountTargetName", + "api-version": "2017-08-15" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Get.json new file mode 100644 index 000000000000..daed397cc47c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "mountTargetName": "mountTargetName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "endIp": "1.2.3.4", + "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "name": "mountTarget1", + "startIp": "1.2.3.4", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "vlanId": 1337, + "netmask": "255.255.255.0", + "ipAddress": "1.2.3.4", + "gateway": "1.2.3.4", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_List.json new file mode 100644 index 000000000000..8bc21a197dcd --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "endIp": "1.2.3.4", + "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "name": "mountTarget1", + "startIp": "1.2.3.4", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "vlanId": 1337, + "netmask": "255.255.255.0", + "ipAddress": "1.2.3.4", + "gateway": "1.2.3.4", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..c3b0ff61a100 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_CreateOrUpdate.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 12345 + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Delete.json new file mode 100644 index 000000000000..996e30f74367 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2017-08-15" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Get.json new file mode 100644 index 000000000000..326433caa272 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 12345 + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_List.json new file mode 100644 index 000000000000..e4dbb0624a0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 12345 + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Update.json new file mode 100644 index 000000000000..2dfb6f0d7166 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Pools_Update.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "accountId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 12345 + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Delete.json new file mode 100644 index 000000000000..9fa97ec2bf26 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2017-08-15" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Get.json new file mode 100644 index 000000000000..5c660d874a8a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "name": "snapshot1", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_List.json new file mode 100644 index 000000000000..e71030ad44c2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Snapshots_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "creationDate": "2017-08-15T13:23:33Z", + "name": "snapshot1", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..aed132761956 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_CreateOrUpdate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "name": "myvolume", + "creationToken": "some-amazing-filepath", + "usageThreshold": 101010, + "serviceLevel": "Premium", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Delete.json new file mode 100644 index 000000000000..01c4188142ae --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Get.json new file mode 100644 index 000000000000..067520b204d8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "name": "myvolume", + "creationToken": "some-amazing-filepath", + "usageThreshold": 101010, + "serviceLevel": "Premium", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_List.json new file mode 100644 index 000000000000..46d6ed14447f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2017-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "name": "myvolume", + "creationToken": "some-amazing-filepath", + "usageThreshold": 101010, + "serviceLevel": "Premium", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Update.json new file mode 100644 index 000000000000..43e41f274568 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/Volumes_Update.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroup": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2017-08-15", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "name": "myvolume", + "creationToken": "some-amazing-filepath", + "usageThreshold": 101010, + "serviceLevel": "Premium", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json new file mode 100644 index 000000000000..e2026886740f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json @@ -0,0 +1,1784 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft NetApp", + "description": "Microsoft NetApp Azure Resource Provider specification", + "version": "2017-08-15", + "x-ms-code-generation-settings": { + "name": "AzureNetAppFilesManagementClient" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "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": { + "/providers/Microsoft.NetApp/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available Microsoft.NetApp Rest API operations", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "description": "Lists all NetApp accounts in the resource group", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccountList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "examples/Accounts_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "description": "Get the NetApp account", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "examples/Accounts_Get.json" + } + } + }, + "put": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_CreateOrUpdate", + "description": "Create or update a NetApp account", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccount" + } + } + ], + "responses": { + "200": { + "description": "Account created", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_CreateOrUpdate": { + "$ref": "examples/Accounts_CreateOrUpdate.json" + } + } + }, + "delete": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Delete", + "description": "Delete a NetApp account", + "responses": { + "202": { + "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "examples/Accounts_Delete.json" + } + } + }, + "patch": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Update", + "description": "Patch a NetApp account", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccountPatch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "examples/Accounts_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "description": "Lists all capacity pools in the NetApp Account", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPoolList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Pools_List": { + "$ref": "examples/Pools_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "description": "Get a capacity pool", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Get", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "examples/Pools_Get.json" + } + } + }, + "put": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_CreateOrUpdate", + "description": "Create or Update a capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPool" + } + } + ], + "responses": { + "200": { + "description": "Pool created or updated", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "examples/Pools_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Update", + "description": "Patch a capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "examples/Pools_Update.json" + } + } + }, + "delete": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Delete", + "description": "Delete a capacity pool", + "responses": { + "202": { + "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "examples/Pools_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "description": "List volumes", + "tags": [ + "Volumes" + ], + "operationId": "Volumes_List", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volumeList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Volumes_List": { + "$ref": "examples/Volumes_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Get", + "description": "Get a volume", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Volumes_Get": { + "$ref": "examples/Volumes_Get.json" + } + } + }, + "put": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_CreateOrUpdate", + "description": "Create or update a volume", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volume" + } + } + ], + "responses": { + "200": { + "description": "Volume created or updated", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_CreateOrUpdate": { + "$ref": "examples/Volumes_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Update", + "description": "Patch a volume", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volumePatch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Volumes_Update": { + "$ref": "examples/Volumes_Update.json" + } + } + }, + "delete": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Delete", + "description": "Delete a volume", + "responses": { + "202": { + "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_Delete": { + "$ref": "examples/Volumes_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}/mountTargets": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "MountTargets" + ], + "operationId": "MountTargets_List", + "description": "List mount targets", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/mountTargetList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "MountTargets_List": { + "$ref": "examples/MountTargets_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}/mountTargets/{mountTargetName}": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/MountTargetName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "MountTargets" + ], + "operationId": "MountTargets_Get", + "description": "Get a mount target", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/mountTarget" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "MountTargets_Get": { + "$ref": "examples/MountTargets_Get.json" + } + } + }, + "delete": { + "tags": [ + "MountTargets" + ], + "operationId": "MountTargets_Delete", + "description": "Delete mount target", + "responses": { + "202": { + "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "MountTargets_Delete": { + "$ref": "examples/MountTargets_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}/snapshots": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_List", + "description": "List snapshots", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshotsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Snapshots_List": { + "$ref": "examples/Snapshots_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Get", + "description": "Get a snapshot", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "examples/Snapshots_Get.json" + } + } + }, + "delete": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Delete", + "description": "Delete snapshot", + "responses": { + "202": { + "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/error" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Snapshots_Delete": { + "$ref": "examples/Snapshots_Delete.json" + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Storage operations supported by the Storage resource provider." + } + } + }, + "Operation": { + "description": "Microsoft.NetApp REST API operation definition.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft NetApp.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Operation description.", + "type": "string" + } + } + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true + } + } + }, + "OperationProperties": { + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "ServiceSpecification": { + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "MetricSpecification": { + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "description": "Dimensions of blobs, including blob type and access tier.", + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "Dimension": { + "description": "Dimension of blobs, possiblly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "netAppAccountList": { + "description": "List of NetApp account resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Multiple NetApp accounts", + "items": { + "$ref": "#/definitions/netAppAccount" + } + } + } + }, + "netAppAccount": { + "description": "NetApp account resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "NetApp Account properties", + "$ref": "#/definitions/accountProperties", + "x-ms-client-flatten": true + } + } + }, + "netAppAccountPatch": { + "description": "NetApp account patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + } + } + }, + "accountProperties": { + "description": "NetApp account properties", + "type": "object", + "properties": { + "accountId": { + "title": "accountId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Account", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "capacityPoolList": { + "description": "List of capacity pool resources", + "type": "object", + "properties": { + "value": { + "description": "List of Capacity pools", + "type": "array", + "items": { + "$ref": "#/definitions/capacityPool" + } + } + } + }, + "capacityPool": { + "description": "Capacity pool resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Capacity pool properties", + "$ref": "#/definitions/poolProperties", + "x-ms-client-flatten": true + } + } + }, + "capacityPoolPatch": { + "description": "Capacity pool patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + } + } + }, + "poolProperties": { + "description": "Pool properties", + "type": "object", + "required": [ + "accountId" + ], + "properties": { + "accountId": { + "title": "accountId", + "type": "string", + "description": "UUID v4 used to identify the Account", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "poolId": { + "title": "poolId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Pool", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "size": { + "title": "size", + "type": "integer", + "description": "Provisioned size of the pool (in GB)", + "minimum": 4096, + "default": 4096 + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Basic service level" + }, + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + } + ] + }, + "example": "Premium", + "default": "Standard" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "volumeList": { + "description": "List of volume resources", + "type": "object", + "properties": { + "value": { + "description": "List of volumes", + "type": "array", + "items": { + "$ref": "#/definitions/volume" + } + } + } + }, + "volume": { + "description": "Volume resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Volume properties", + "$ref": "#/definitions/volumeProperties", + "x-ms-client-flatten": true + } + } + }, + "resourceTags": { + "description": "Resource tags", + "type": "object" + }, + "volumeProperties": { + "description": "Volume properties", + "type": "object", + "required": [ + "creationToken", + "serviceLevel" + ], + "properties": { + "fileSystemId": { + "title": "FileSystem ID", + "type": "string", + "readOnly": true, + "description": "Unique FileSystem Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "name": { + "title": "FileSystem name", + "type": "string", + "description": "FileSystem name", + "example": "myvolume" + }, + "creationToken": { + "title": "Creation Token or File Path", + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets", + "minimum": 16, + "maximum": 40, + "example": "some-amazing-filepath" + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Basic service level" + }, + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + } + ] + }, + "example": "Premium", + "default": "Standard" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Upper limit is 100TB.", + "minimum": 0, + "maximum": 109951162777600, + "default": 0, + "example": 101010 + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "volumePatch": { + "description": "Volume patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Patchable volume properties", + "$ref": "#/definitions/volumePatchProperties", + "x-ms-client-flatten": true + } + } + }, + "volumePatchProperties": { + "description": "Patchable volume properties", + "type": "object", + "properties": { + "name": { + "title": "FileSystem name", + "type": "string", + "description": "FileSystem name", + "example": "myvolume" + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Basic service level" + }, + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + } + ] + }, + "example": "Premium", + "default": "Standard" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Upper limit is 100TB.", + "minimum": 0, + "maximum": 109951162777600, + "default": 0, + "example": 101010 + } + } + }, + "mountTargetList": { + "description": "List of Mount Targets", + "type": "object", + "properties": { + "value": { + "description": "A list of Mount targets", + "type": "array", + "items": { + "$ref": "#/definitions/mountTarget" + } + } + } + }, + "mountTarget": { + "description": "Mount Target", + "type": "object", + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Mount Target Properties", + "$ref": "#/definitions/mountTargetProperties", + "x-ms-client-flatten": true + } + } + }, + "mountTargetProperties": { + "description": "Mount target properties", + "type": "object", + "required": [ + "fileSystemId" + ], + "properties": { + "mountTargetId": { + "title": "mountTargetId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "ipAddress": { + "title": "ipAddress", + "description": "The mount targets's IPv4 address", + "type": "string", + "readOnly": true, + "example": "1.2.3.4" + }, + "name": { + "title": "name", + "type": "string", + "readOnly": true, + "description": "The name of the mount target", + "example": "mountTarget1" + }, + "vlanId": { + "title": "vlanid", + "type": "integer", + "description": "Vlan Id", + "example": 1337 + }, + "startIp": { + "title": "startIp", + "description": "The start of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "endIp": { + "title": "startIp", + "description": "The end of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "gateway": { + "title": "gateway", + "description": "The gateway of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "netmask": { + "title": "netmask", + "description": "The netmask of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "255.255.255.0" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "snapshotsList": { + "description": "List of Snapshots", + "type": "object", + "properties": { + "value": { + "description": "A list of Snapshots", + "type": "array", + "items": { + "$ref": "#/definitions/snapshot" + } + } + } + }, + "snapshot": { + "description": "Snapshot of a Volume", + "type": "object", + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Snapshot Properties", + "$ref": "#/definitions/snapshotProperties", + "x-ms-client-flatten": true + } + } + }, + "snapshotProperties": { + "description": "Snapshot properties", + "type": "object", + "required": [ + "fileSystemId" + ], + "properties": { + "snapshotId": { + "title": "snapshotId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Snapshot", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the FileSystem", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "name": { + "title": "name", + "type": "string", + "readOnly": true, + "description": "The name of the snapshot", + "example": "snapshot1" + }, + "creationDate": { + "title": "name", + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The creation date of the snapshot", + "example": "2017-08-15 13:23:33" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "error": { + "description": "Error response describing why the operation failed.", + "type": "object", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "string", + "description": "Error code", + "example": "ErrorCode" + }, + "message": { + "type": "string", + "description": "Detailed error message", + "example": "Detailed error message" + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroup": { + "name": "resourceGroup", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "AccountName": { + "name": "accountName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the NetApp account", + "x-ms-parameter-location": "method" + }, + "PoolName": { + "name": "poolName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the capacity pool", + "x-ms-parameter-location": "method" + }, + "VolumeName": { + "name": "volumeName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the volume", + "x-ms-parameter-location": "method" + }, + "MountTargetName": { + "name": "mountTargetName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "SnapshotName": { + "name": "snapshotName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "description": "Version of the API to be used with the client request.", + "in": "query", + "type": "string", + "required": true, + "default": "2017-08-15" + } + } +} \ No newline at end of file diff --git a/specification/netapp/resource-manager/readme.csharp.md b/specification/netapp/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..bb032c0b2210 --- /dev/null +++ b/specification/netapp/resource-manager/readme.csharp.md @@ -0,0 +1,14 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + # last generated with AutoRest.0.17.3 + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.NetApp + output-folder: $(csharp-sdks-folder)/NetApp/Management.NetApp/Generated + clear-output-folder: true +``` diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md new file mode 100644 index 000000000000..ef89228e33b9 --- /dev/null +++ b/specification/netapp/resource-manager/readme.md @@ -0,0 +1,65 @@ +# Azure NetApp Files + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Azure NetApp Files. + + + +--- +## Getting Started +To build the SDK for Azure NetApp Files, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the Azure NetApp Files API. + +``` yaml +openapi-type: arm +tag: package-2017-08-15 +``` + + +### Tag: package-2017-08-15 + +These settings apply only when `--tag=package-2017-08-15` is specified on the command line. + +``` yaml $(tag) == 'package-2017-08-15' +input-file: +- Microsoft.NetApp/preview/2017-08-15/netapp.json +``` + + +--- +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-net +``` + + +## C# + +See configuration in [readme.csharp.md](./readme.csharp.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) diff --git a/specification/netapp/resource-manager/readme.python.md b/specification/netapp/resource-manager/readme.python.md new file mode 100644 index 000000000000..cefa2ca1a746 --- /dev/null +++ b/specification/netapp/resource-manager/readme.python.md @@ -0,0 +1,29 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.netapp + package-name: azure-mgmt-netapp + package-version: 1.0.0 + clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-netapp/azure/mgmt/netapp +``` + +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-netapp +``` diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json new file mode 100644 index 000000000000..8e2165b092e8 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2018-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ResourceGraph/resources/action", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Resources", + "operation": "Query resources", + "description": "Submits a query on resources within specified subscriptions" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesAliasQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesAliasQuery.json new file mode 100644 index 000000000000..445ca5440e1d --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesAliasQuery.json @@ -0,0 +1,48 @@ +{ + "title": "Alias Query", + "description": "A query accessing one of the resource properties through [alias](https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition#aliases).", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where type =~ 'Microsoft.Web/serverFarms' | extend skuName = tostring(aliases['Microsoft.Web/serverfarms/sku.name']) | summarize count() by skuName" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 3, + "count": 3, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "skuName", + "type": "string" + }, + { + "name": "count_", + "type": "integer" + } + ], + "rows": [ + [ + "S2", + 1 + ], + [ + "Y1", + 3 + ], + [ + "S1", + 1 + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesBasicQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesBasicQuery.json new file mode 100644 index 000000000000..904d96b34a02 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesBasicQuery.json @@ -0,0 +1,71 @@ +{ + "title": "Basic Query", + "description": "A simple resources query.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "project id, name, type, location, tags | limit 3" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 3, + "count": 3, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + }, + { + "name": "tags", + "type": "object" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Network/networkInterfaces/myNetworkInterface", + "myNetworkInterface", + "microsoft.network/networkinterfaces", + "centralus", + { + "tag1": "Value1" + } + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Network/virtualNetworks/myVnet", + "myVnet", + "microsoft.network/virtualnetworks", + "westus", + {} + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Network/publicIPAddresses/myPublicIp", + "myPublicIp", + "microsoft.network/publicipaddresses", + "westus", + {} + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesComplexQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesComplexQuery.json new file mode 100644 index 000000000000..32b567768ff8 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesComplexQuery.json @@ -0,0 +1,48 @@ +{ + "title": "Complex Query", + "description": "A complex query on resources featuring multiple operations.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "project id, name, type, location | where type =~ 'Microsoft.Compute/virtualMachines' | summarize count() by location | top 3 by count_" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 3, + "count": 3, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "location", + "type": "string" + }, + { + "name": "count_", + "type": "integer" + } + ], + "rows": [ + [ + "centralus", + 11 + ], + [ + "eastus", + 11 + ], + [ + "southcentralus", + 3 + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFacetQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFacetQuery.json new file mode 100644 index 000000000000..b3e83ee11a0f --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFacetQuery.json @@ -0,0 +1,173 @@ +{ + "title": "Facet Query", + "description": "A query on resources requesting extra facets.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where type =~ 'Microsoft.Compute/virtualMachines' | project id, name, location, properties.storageProfile.osDisk.osType | limit 5", + "facets": [ + { + "expression": "location", + "options": { + "sortOrder": "desc", + "$top": 3 + } + }, + { + "expression": "properties.storageProfile.osDisk.osType", + "options": { + "sortOrder": "desc", + "$top": 3 + } + }, + { + "expression": "nonExistingColumn", + "options": { + "sortOrder": "desc", + "$top": 3 + } + } + ] + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 5, + "count": 5, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "location", + "type": "string" + }, + { + "name": "properties_storageProfile_osDisk_osType", + "type": "object" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/virtualMachines/myTestVm", + "myTestVm", + "eastus", + "Windows" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/virtualMachines/myTestAccountVm", + "myTestAccountVm", + "westcentralus", + "Windows" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/virtualMachines/yetanothertest", + "yetanothertest", + "eastus", + "Linux" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Compute/virtualMachines/drafttest1bux4cv7a7q3aw", + "drafttest1bux4cv7a7q3aw", + "southcentralus", + "Linux" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Compute/virtualMachines/testvmntp25370", + "testvmntp25370", + "eastus", + "Windows" + ] + ] + }, + "facets": [ + { + "expression": "location", + "resultType": "FacetResult", + "totalRecords": 3, + "count": 3, + "data": { + "columns": [ + { + "name": "location", + "type": "string" + }, + { + "name": "count", + "type": "integer" + } + ], + "rows": [ + [ + "eastus", + 3 + ], + [ + "southcentralus", + 1 + ], + [ + "westcentralus", + 1 + ] + ] + } + }, + { + "expression": "properties.storageProfile.osDisk.osType", + "resultType": "FacetResult", + "totalRecords": 2, + "count": 2, + "data": { + "columns": [ + { + "name": "properties_storageProfile_osDisk_osType", + "type": "string" + }, + { + "name": "count", + "type": "integer" + } + ], + "rows": [ + [ + "Linux", + 2 + ], + [ + "Windows", + 3 + ] + ] + } + }, + { + "expression": "nonExistingColumn", + "resultType": "FacetError", + "errors": [ + { + "code": "NoValidColumns", + "message": "No valid columns in facet expression." + }, + { + "code": "InvalidColumnNames", + "message": "Invalid column names: [nonExistingColumn]." + } + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFilterQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFilterQuery.json new file mode 100644 index 000000000000..83e0e399a19f --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFilterQuery.json @@ -0,0 +1,62 @@ +{ + "title": "Filter query", + "description": "A filtering query on resources.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "project id, name, type, location | where type =~ 'Microsoft.Compute/virtualMachines' | limit 3" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 3, + "count": 3, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/virtualMachines/myVm1", + "myVm1", + "microsoft.compute/virtualmachines", + "centralus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Compute/virtualMachines/myVirtualMachine", + "myVirtualMachine", + "microsoft.compute/virtualmachines", + "eastus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG3/providers/Microsoft.Compute/virtualMachines/testVm", + "testVm", + "microsoft.compute/virtualmachines", + "eastus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFirstPageQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFirstPageQuery.json new file mode 100644 index 000000000000..e64a1acaff21 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesFirstPageQuery.json @@ -0,0 +1,67 @@ +{ + "title": "First page query", + "description": "A query requesting a first page with of results", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where name contains 'test' | project id, name, type, location", + "options": { + "$top": 3, + "$skip": 0 + } + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 386, + "count": 3, + "resultTruncated": "false", + "$skipToken": "eyAibm8iOiAibHVjayIsICJidXQiOiAibmljZSIsICJ0cnkiOiAiISIgfQ==", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/disks/yetanothertest_OsDisk_1_f396cbcb625a457bb69fe2abf5975820", + "yetanothertest_OsDisk_1_f396cbcb625a457bb69fe2abf5975820", + "microsoft.compute/disks", + "eastus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Automation/automationAccounts/TestAA", + "TestAA", + "microsoft.automation/automationaccounts", + "westcentralus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Automation/automationAccounts/TestAA/runbooks/TestRB", + "TestRB", + "microsoft.automation/automationaccounts/runbooks", + "westcentralus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesNextPageQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesNextPageQuery.json new file mode 100644 index 000000000000..47c1ec14f3e6 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesNextPageQuery.json @@ -0,0 +1,64 @@ +{ + "title": "Next page query", + "description": "A query on resources requesting the next page using skip token", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where name contains 'test' | project id, name, type, location", + "$skipToken": "eyAibm8iOiAibHVjayIsICJidXQiOiAibmljZSIsICJ0cnkiOiAiISIgfQ==" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 386, + "count": 3, + "resultTruncated": "false", + "$skipToken": "eyAibm8yIjogImx1Y2syIiwgImJ1dDIiOiAibmljZTIiLCAidHJ5MiI6ICIhIiB9", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/disks/second_OsDisk_dddddbcb625a457bb69fe2abf5975820", + "second_OsDisk_dddddbcb625a457bb69fe2abf5975820", + "microsoft.compute/disks", + "eastus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Automation/automationAccounts/AATest", + "AATest", + "microsoft.automation/automationaccounts", + "westcentralus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Automation/automationAccounts/TestAA/runbooks/RBTest", + "RBTest", + "microsoft.automation/automationaccounts/runbooks", + "westcentralus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesPropertiesQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesPropertiesQuery.json new file mode 100644 index 000000000000..851e8ce0de3e --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesPropertiesQuery.json @@ -0,0 +1,44 @@ +{ + "title": "Properties Query", + "description": "A query accessing one of the resource properties.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where type =~ 'Microsoft.Compute/virtualMachines' | summarize count() by tostring(properties.storageProfile.osDisk.osType)" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 2, + "count": 2, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "properties_storageProfile_osDisk_osType", + "type": "string" + }, + { + "name": "count_", + "type": "integer" + } + ], + "rows": [ + [ + "Linux", + 7 + ], + [ + "Windows", + 23 + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesQueryOptions.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesQueryOptions.json new file mode 100644 index 000000000000..721822db8cfa --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesQueryOptions.json @@ -0,0 +1,67 @@ +{ + "title": "Query options", + "description": "A query on resources specifying paging and max rows through query options", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where name contains 'test' | project id, name, type, location", + "options": { + "$top": 3, + "$skip": 10 + } + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 386, + "count": 3, + "resultTruncated": "false", + "$skipToken": "eyAibm8yIjogImx1Y2syIiwgImJ1dDIiOiAibmljZTIiLCAidHJ5MiI6ICIhIiB9", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG4/providers/Microsoft.Compute/disks/yetanothertest_OsDisk_1_f396cbcb625a457bb69fe2abf5975820", + "yetanothertest_OsDisk_1_f396cbcb625a457bb69fe2abf5975820", + "microsoft.compute/disks", + "eastus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG5/providers/Microsoft.Automation/automationAccounts/TestAA", + "TestAA", + "microsoft.automation/automationaccounts", + "westcentralus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG5/providers/Microsoft.Automation/automationAccounts/TestAA/runbooks/TestRB", + "TestRB", + "microsoft.automation/automationaccounts/runbooks", + "westcentralus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesRandomPageQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesRandomPageQuery.json new file mode 100644 index 000000000000..6f5b3dfc7b5f --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesRandomPageQuery.json @@ -0,0 +1,62 @@ +{ + "title": "Random page query", + "description": "A query on resources requesting the random page using skip token, top and skip overrides", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "where name contains 'test' | project id, name, type, location", + "$skipToken": "eyAibm8iOiAibHVjayIsICJidXQiOiAibmljZSIsICJ0cnkiOiAiISIgfQ==", + "options": { + "$top": 2, + "$skip": 10 + } + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 386, + "count": 2, + "resultTruncated": "false", + "$skipToken": "eyAibm8yIjogImx1Y2syIiwgImJ1dDIiOiAibmljZTIiLCAidHJ5MiI6ICIhIiB9", + "data": { + "columns": [ + { + "name": "id", + "type": "string" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG1/providers/Microsoft.Compute/disks/third_OsDisk_dddddbcb625a457bb69fe2abf5975820", + "third_OsDisk_dddddbcb625a457bb69fe2abf5975820", + "microsoft.compute/disks", + "eastus" + ], + [ + "/subscriptions/cfbbd179-59d2-4052-aa06-9270a38aa9d6/resourceGroups/RG2/providers/Microsoft.Automation/automationAccounts/CCTest", + "CCTest", + "microsoft.automation/automationaccounts", + "westcentralus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesSummarizeQuery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesSummarizeQuery.json new file mode 100644 index 000000000000..452bb7c4c67a --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/ResourcesSummarizeQuery.json @@ -0,0 +1,41 @@ +{ + "title": "Summarize Query", + "description": "A summarizing query on resources.", + "parameters": { + "api-version": "2018-09-01-preview", + "query": { + "subscriptions": [ + "cfbbd179-59d2-4052-aa06-9270a38aa9d6" + ], + "query": "project id, name, type, location | summarize by location" + } + }, + "responses": { + "200": { + "body": { + "totalRecords": 3, + "count": 3, + "resultTruncated": "false", + "data": { + "columns": [ + { + "name": "location", + "type": "string" + } + ], + "rows": [ + [ + "centralus" + ], + [ + "eastus" + ], + [ + "westus" + ] + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/resourcegraph.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/resourcegraph.json new file mode 100644 index 000000000000..8f21aa299301 --- /dev/null +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/resourcegraph.json @@ -0,0 +1,524 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Resource Graph", + "description": "Azure Resource Graph API Reference", + "version": "2018-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "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": { + "/providers/Microsoft.ResourceGraph/resources": { + "post": { + "tags": [ + "Resources" + ], + "operationId": "Resources", + "description": "Queries the resources managed by Azure Resource Manager for all subscriptions specified in the request.", + "externalDocs": { + "description": "Learn more about the query syntax here", + "url": "https://aka.ms/resource-graph/learntoquery" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "query", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryRequest" + }, + "description": "Request specifying query and its options." + } + ], + "responses": { + "200": { + "description": "Result of the query operation", + "schema": { + "$ref": "#/definitions/QueryResponse" + } + }, + "default": { + "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Basic query": { "$ref": "./examples/ResourcesBasicQuery.json" }, + "Filter resources": { "$ref": "./examples/ResourcesFilterQuery.json" }, + "Summarize resources by location": { "$ref": "./examples/ResourcesSummarizeQuery.json" }, + "Complex query": { "$ref": "./examples/ResourcesComplexQuery.json" }, + "Access a properties field": { "$ref": "./examples/ResourcesPropertiesQuery.json" }, + "Access a properties field through alias": { "$ref": "./examples/ResourcesAliasQuery.json" }, + "Query with a facet request": { "$ref": "./examples/ResourcesFacetQuery.json" }, + "Query options": { "$ref": "./examples/ResourcesQueryOptions.json" }, + "First page query": { "$ref": "./examples/ResourcesFirstPageQuery.json" }, + "Next page query": { "$ref": "./examples/ResourcesNextPageQuery.json" }, + "Random page query": { "$ref": "./examples/ResourcesRandomPageQuery.json" } + } + } + }, + "/providers/Microsoft.ResourceGraph/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "OperationsList": { "$ref": "./examples/OperationsList.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "QueryRequest": { + "description": "Describes a query to be executed.", + "type": "object", + "properties": { + "subscriptions": { + "description": "Azure subscriptions against which to execute the query.", + "type": "array", + "items": { + "type": "string", + "description": "Subscription Id." + } + }, + "query": { + "description": "The resources query.", + "type": "string" + }, + "options": { + "description": "The query evaluation options", + "$ref": "#/definitions/QueryRequestOptions" + }, + "facets": { + "description": "An array of facet requests to be computed against the query result.", + "type": "array", + "items": { + "$ref": "#/definitions/FacetRequest" + } + } + }, + "required": [ + "subscriptions", + "query" + ] + }, + "QueryRequestOptions": { + "description": "The options for query evaluation", + "properties": { + "$skipToken": { + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", + "type": "string" + }, + "$top": { + "description": "The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present.", + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 1000 + }, + "$skip": { + "description": "The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present.", + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + }, + "FacetRequest": { + "description": "A request to compute additional statistics (facets) over the query results.", + "type": "object", + "properties": { + "expression": { + "description": "The column or list of columns to summarize by", + "type": "string" + }, + "options": { + "description": "The options for facet evaluation", + "$ref": "#/definitions/FacetRequestOptions" + } + }, + "required": [ + "expression" + ] + }, + "FacetRequestOptions": { + "description": "The options for facet evaluation", + "properties": { + "sortOrder": { + "description": "The sorting order by the hit count", + "type": "string", + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "x-ms-enum": { + "name": "FacetSortOrder", + "modelAsString": false + } + }, + "$top": { + "description": "The maximum number of facet rows that should be returned.", + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 1000 + } + } + }, + "QueryResponse": { + "description": "Query result.", + "type": "object", + "properties": { + "totalRecords": { + "description": "Number of total records matching the query.", + "type": "integer", + "format": "int64" + }, + "count": { + "description": "Number of records returned in the current response. In the case of paging, this is the number of records in the current page.", + "type": "integer", + "format": "int64" + }, + "resultTruncated": { + "description": "Indicates whether the query results are truncated.", + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "ResultTruncated", + "modelAsString": false + } + }, + "$skipToken": { + "description": "When present, the value can be passed to a subsequent query call (together with the same query and subscriptions used in the current request) to retrieve the next page of data.", + "type": "string" + }, + "data": { + "description": "Query output in tabular format.", + "$ref": "#/definitions/Table" + }, + "facets": { + "description": "Query facets.", + "type": "array", + "items": { + "$ref": "#/definitions/Facet" + } + } + }, + "required": [ + "totalRecords", + "count", + "resultTruncated", + "data" + ] + }, + "Table": { + "description": "Query output in tabular format.", + "type": "object", + "properties": { + "columns": { + "description": "Query result column descriptors.", + "type": "array", + "items": { + "$ref": "#/definitions/Column", + "description": "Column descriptor." + } + }, + "rows": { + "description": "Query result rows.", + "type": "array", + "items": { + "$ref": "#/definitions/Row", + "description": "Query result row." + } + } + }, + "required": [ + "columns", + "rows" + ] + }, + "Column": { + "description": "Query result column descriptor.", + "type": "object", + "properties": { + "name": { + "description": "Column name.", + "type": "string" + }, + "type": { + "description": "Column data type.", + "$ref": "#/definitions/ColumnDataType" + } + }, + "required": [ + "name", + "type" + ] + }, + "ColumnDataType": { + "description": "Data type of a column in a table.", + "type": "string", + "enum": [ + "string", + "integer", + "number", + "boolean", + "object" + ], + "x-ms-enum": { + "name": "ColumnDataType", + "modelAsString": false + } + }, + "Row": { + "description": "Query result row.", + "type": "array", + "items": { + "type": "object", + "description": "Cell value." + } + }, + "Facet": { + "description": "A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError.", + "type": "object", + "properties": { + "expression": { + "description": "Facet expression, same as in the corresponding facet request.", + "type": "string" + }, + "resultType": { + "description": "Result type", + "type": "string" + } + }, + "required": [ + "expression", + "resultType" + ], + "discriminator": "resultType" + }, + "FacetResult" : { + "x-ms-discriminator-value": "FacetResult", + "description": "Successfully executed facet containing additional statistics on the response of a query.", + "type": "object", + "properties": { + "totalRecords": { + "description": "Number of total records in the facet results.", + "type": "integer", + "format": "int64" + }, + "count": { + "description": "Number of records returned in the facet response.", + "type": "integer", + "format": "int32" + }, + "data": { + "description": "A table containing the desired facets. Only present if the facet is valid.", + "$ref": "#/definitions/Table" + } + }, + "required": [ + "totalRecords", + "count", + "data" + ], + "allOf": [ + { + "$ref": "#/definitions/Facet" + } + ] + }, + "FacetError" : { + "x-ms-discriminator-value": "FacetError", + "description": "A facet whose execution resulted in an error.", + "type": "object", + "properties": { + "errors": { + "description": "An array containing detected facet errors with details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "required": [ + "errors" + ], + "allOf": [ + { + "$ref": "#/definitions/Facet" + } + ] + }, + "ErrorResponse": { + "title": "Error response.", + "type": "object", + "description": "An error response from the API.", + "properties": { + "error": { + "$ref": "#/definitions/Error", + "description": "Error information." + } + }, + "required": [ + "error" + ] + }, + "Error": { + "title": "Error info.", + "type": "object", + "description": "Error details.", + "properties": { + "code": { + "type": "string", + "description": "Error code identifying the specific error." + }, + "message": { + "type": "string", + "description": "A human readable error message." + }, + "details": { + "type": "array", + "description": "Error details", + "items": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "required": [ + "code", + "message" + ] + }, + "ErrorDetails": { + "title": "Error details.", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code identifying the specific error." + }, + "message": { + "type": "string", + "description": "A human readable error message." + }, + "additionalProperties": { + "type": "object", + "description": "Additional custom properties." + } + }, + "required": [ + "code", + "message" + ] + }, + "OperationListResult": { + "description": "Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Resource Graph operations supported by the Resource Graph resource provider." + } + } + }, + "Operation": { + "description": "Resource Graph REST API operation definition.", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft Resource Graph.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description for the operation.", + "type": "string" + } + } + }, + "origin": { + "type" : "string", + "description": "The origin of operations." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version." + } + } +} diff --git a/specification/resourcegraph/resource-manager/readme.md b/specification/resourcegraph/resource-manager/readme.md new file mode 100644 index 000000000000..10fca5396f81 --- /dev/null +++ b/specification/resourcegraph/resource-manager/readme.md @@ -0,0 +1,50 @@ +# ResourceGraph + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ResourceGraph. + + + +--- +## Getting Started +To build the SDK for ResourceGraph, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + +### Basic Information +These are the global settings for the ResourceGraph API. + +``` yaml +title: ResourceGraphClient +openapi-type: arm +tag: package-2018-09-preview +``` + +### Validations +Run validations when `--validate` is specified on command line + +``` yaml $(validate) +azure-validator: true +semantic-validator: true +model-validator: true +message-format: json +``` + + +### Tag: package-2018-09-preview + +These settings apply only when `--tag=package-2018-09-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-09-preview' +input-file: +- Microsoft.ResourceGraph/preview/2018-09-01-preview/resourcegraph.json +``` \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSetting_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSetting_example.json new file mode 100644 index 000000000000..c7dd9545eb40 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSetting_example.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "settingName": "MCAS" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS", + "name": "MCAS", + "kind": "DataExportSetting", + "type": "Microsoft.Security/settings", + "properties": { + "enabled": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSettings_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSettings_example.json new file mode 100644 index 000000000000..a3be78de6a2b --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/GetSettings_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS", + "name": "MCAS", + "kind": "DataExportSetting", + "type": "Microsoft.Security/settings", + "properties": { + "enabled": true + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/WDATP", + "name": "WDATP", + "kind": "DataExportSetting", + "type": "Microsoft.Security/settings", + "properties": { + "enabled": false + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/UpdateSetting_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/UpdateSetting_example.json new file mode 100644 index 000000000000..a6494654cb18 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Settings/UpdateSetting_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2017-08-01-preview", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "settingName": "MCAS", + "setting": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS", + "name": "MCAS", + "kind": "DataExportSetting", + "type": "Microsoft.Security/settings", + "properties": { + "enabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS", + "name": "MCAS", + "kind": "DataExportSetting", + "type": "Microsoft.Security/settings", + "properties": { + "enabled": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json index cc2d14c50ce9..58bc707fcfe7 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/security.json @@ -727,6 +727,124 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings": { + "get": { + "x-ms-examples": { + "Get settings of subscription": { + "$ref": "./examples/Settings/GetSettings_example.json" + } + }, + "tags": [ + "Settings" + ], + "description": "Settings about different configurations in security center", + "operationId": "Settings_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SettingsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}": { + "get": { + "x-ms-examples": { + "Get a setting on subscription": { + "$ref": "./examples/Settings/GetSetting_example.json" + } + }, + "tags": [ + "Settings" + ], + "description": "Settings of different configurations in security center", + "operationId": "Settings_Get", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/SettingName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Setting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "x-ms-examples": { + "Update a setting for subscription": { + "$ref": "./examples/Settings/UpdateSetting_example.json" + } + }, + "tags": [ + "Settings" + ], + "description": "updating settings about different configurations in security center", + "operationId": "Settings_Update", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/SettingName" + }, + { + "$ref": "#/parameters/Setting" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Setting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } } }, "definitions": { @@ -781,6 +899,16 @@ }, "x-ms-azure-resource": true }, + "Kind": { + "type": "object", + "description": "Describes an Azure resource with kind", + "properties": { + "kind": { + "type": "string", + "description": "Kind of the resource" + } + } + }, "SecurityContactList": { "type": "object", "description": "List of security contacts response", @@ -1118,6 +1246,90 @@ "description": "The size (%) of the segment." } } + }, + "SettingsList": { + "type": "object", + "description": "Subscription settings list.", + "properties": { + "value": { + "type": "array", + "description": "The settings list.", + "items": { + "$ref": "#/definitions/Setting" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page." + } + } + }, + "Setting": { + "type": "object", + "description": "Represents a security setting in Azure Security Center.", + "discriminator": "kind", + "properties": {}, + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "$ref": "#/definitions/SettingKind" + } + ] + }, + "DataExportSetting": { + "type": "object", + "description": "Represents a data export setting", + "x-ms-discriminator-value": "DataExportSetting", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Data export setting data", + "$ref": "#/definitions/DataExportSettingProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Setting" + } + ] + }, + "SettingKind": { + "type": "object", + "description": "The kind of the security setting", + "properties": { + "kind": { + "type": "string", + "description": "the kind of the settings string", + "enum": [ + "DataExportSetting" + ], + "x-ms-enum": { + "name": "SettingKind", + "modelAsString": true, + "values": [ + { + "value": "DataExportSetting" + } + ] + } + } + } + }, + "DataExportSettingProperties": { + "type": "object", + "description": "The data export setting properties", + "properties": { + "enabled": { + "type": "boolean", + "description": "Is the data export setting is enabled" + } + }, + "required": [ + "enabled" + ] } }, "parameters": { @@ -1210,6 +1422,28 @@ }, "x-ms-parameter-location": "method" }, + "SettingName": { + "name": "settingName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of setting", + "enum": [ + "MCAS", + "WDATP" + ], + "x-ms-parameter-location": "method" + }, + "Setting": { + "name": "setting", + "in": "body", + "required": true, + "description": "Setting object", + "schema": { + "$ref": "#/definitions/Setting" + }, + "x-ms-parameter-location": "method" + }, "AutoProvisioningSettingName": { "name": "settingName", "in": "path", diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json index f047342d2a61..c6160b388d72 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/ServerEndpoints_Update.json @@ -8,11 +8,9 @@ "serverEndpointName": "SampleServerEndpoint_1", "parameters" : { "properties": { - "provisioningState": "Created", "cloudTiering": "off", "volumeFreeSpacePercent": 100 - }, - "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" + } }, "api-version": "2017-06-05-preview" }, diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json index b0a22de445fe..32afa0b17e8a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/StorageSyncServices_Update.json @@ -5,13 +5,11 @@ "storageSyncServiceName": "SampleStorageSyncService_1", "api-version": "2017-06-05-preview", "parameters": { - "location": "WestUS", "tags": { "Environment": "Test", "Dept": "IT" }, - "properties": {}, - "type": "Microsoft.StorageSync/storageSyncServices" + "properties": {} } }, "responses": { diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json index d41f544904bc..c4bbef749868 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/storagesync.json @@ -28,7 +28,7 @@ "operationId": "Operations_List", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], "description": "Lists all of the available Storage Sync Rest API operations.", @@ -87,10 +87,10 @@ "description": "The desired region for the name check." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { "name": "parameters", @@ -116,13 +116,13 @@ "put": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -169,10 +169,10 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "storageSyncServiceName", @@ -182,7 +182,7 @@ "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], "tags": [ @@ -223,13 +223,13 @@ "patch": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -243,7 +243,7 @@ "in": "body", "description": "Storage Sync Service resource.", "schema": { - "$ref": "#/definitions/StorageSyncService" + "$ref": "#/definitions/StorageSyncServiceUpdateParameters" } } ], @@ -285,13 +285,13 @@ "delete": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -341,13 +341,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], "tags": [ @@ -393,10 +393,10 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } ], "tags": [ @@ -442,13 +442,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -501,13 +501,13 @@ "put": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -571,13 +571,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -632,13 +632,13 @@ "delete": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -695,13 +695,13 @@ "put": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -798,13 +798,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -866,13 +866,13 @@ "delete": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -962,13 +962,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1028,13 +1028,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1128,13 +1128,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1231,13 +1231,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1317,13 +1317,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1386,13 +1386,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1472,13 +1472,13 @@ "put": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1571,13 +1571,13 @@ "patch": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1605,7 +1605,7 @@ "in": "body", "description": "Any of the properties applicable in PUT request.", "schema": { - "$ref": "#/definitions/ServerEndpoint" + "$ref": "#/definitions/ServerEndpointUpdateParameters" } } ], @@ -1669,13 +1669,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1737,13 +1737,13 @@ "delete": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1822,13 +1822,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1892,13 +1892,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -1978,13 +1978,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2037,13 +2037,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2098,13 +2098,13 @@ "put": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2190,13 +2190,13 @@ "delete": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2271,13 +2271,13 @@ "get": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2334,13 +2334,13 @@ "post": { "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { "name": "storageSyncServiceName", @@ -2450,25 +2450,6 @@ }, "x-ms-azure-resource": true }, - "TrackedResource": { - "description": "ARM tracked resource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "location": { - "description": "The location of the resource.", - "type": "string" - }, - "tags": { - "description": "The tags of the resource.", - "type": "object" - } - } - }, "SubscriptionState": { "type": "object", "description": "Subscription State object.", @@ -2505,7 +2486,7 @@ "description": "Storage Sync Service object.", "allOf": [ { - "$ref": "#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" }, { "properties": { @@ -2557,6 +2538,23 @@ ], "x-ms-azure-resource": true }, + "ServerEndpointUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the server endpoint." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServerEndpointUpdateProperties", + "description": "The properties of the serverendpoint." + } + }, + "description": "Parameters for updating an Server Endpoint." + }, "ServerEndpoint": { "type": "object", "description": "Server Endpoint object.", @@ -2985,6 +2983,29 @@ } } }, + "StorageSyncServiceUpdateParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The user-specified tags associated with the storage sync service." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSyncServiceUpdateProperties", + "description": "The properties of the storage sync service." + } + }, + "description": "Parameters for updating an Storage sync service." + }, + "StorageSyncServiceUpdateProperties": { + "type": "object", + "description": "Storage Sync Service Update Properties object.", + "properties": { + } + }, "StorageSyncServiceProperties": { "type": "object", "description": "Storage Sync Service Properties object.", @@ -3171,6 +3192,22 @@ } } }, + "ServerEndpointUpdateProperties": { + "type": "object", + "description": "ServerEndpoint Update Properties object.", + "properties": { + "cloudTiering": { + "$ref": "#/definitions/FeatureStatus", + "description": "Cloud Tiering." + }, + "volumeFreeSpacePercent": { + "type": "integer", + "minimum": 0, + "maximum": 100, + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + } + } + }, "ServerEndpointProperties": { "type": "object", "description": "ServerEndpoint Properties object.", @@ -3267,33 +3304,6 @@ ] } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - } - }, "securityDefinitions": { "azure_auth": { "type": "oauth2",