diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_CreateOrUpdate.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_CreateOrUpdate.json new file mode 100644 index 000000000000..969c559fc0c3 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_CreateOrUpdate.json @@ -0,0 +1,47 @@ +{ + "operationId": "ApplicationResources_CreateOrUpdate", + "title": "CreateOrUpdateApplicationResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resourceName": "Resource1", + "resource": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/resources/Resource1", + "name": "Resource1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/resources", + "properties": { + "provisioningState": "Succeeded", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/resources/Resource1", + "name": "Resource1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/resources", + "properties": { + "provisioningState": "Succeeded", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Delete.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Delete.json new file mode 100644 index 000000000000..c197cd16509d --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Delete.json @@ -0,0 +1,16 @@ +{ + "operationId": "ApplicationResources_Delete", + "title": "DeleteApplicationResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resourceName": "Resource1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Get.json new file mode 100644 index 000000000000..8efe1c8e4760 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Get.json @@ -0,0 +1,27 @@ +{ + "operationId": "ApplicationResources_Get", + "title": "GetApplicationResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resourceName": "Resource1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/resources/Resource1", + "name": "Resource1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/resources", + "properties": { + "provisioningState": "Succeeded", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_ListByApplication.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_ListByApplication.json new file mode 100644 index 000000000000..d7de3c5cd0d3 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_ListByApplication.json @@ -0,0 +1,31 @@ +{ + "operationId": "ApplicationResources_ListByApplication", + "title": "ListApplicationResourceByApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resourceName": "Resource1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/resources/Resource1", + "name": "Resource1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/resources", + "properties": { + "provisioningState": "Succeeded", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Patch.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Patch.json new file mode 100644 index 000000000000..712f124e3979 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/ApplicationResources_Patch.json @@ -0,0 +1,34 @@ +{ + "operationId": "ApplicationResources_Patch", + "title": "PatchApplicationResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resourceName": "Resource1", + "properties": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/resources/Resource1", + "name": "Resource1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/resources", + "properties": { + "provisioningState": "Succeeded", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Web/sites/LogicApp1", + "resourceType": "Microsoft.Web/sites", + "resourceKind": "LogicApp" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_CreateOrUpdate.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_CreateOrUpdate.json new file mode 100644 index 000000000000..78d0a6ce8676 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "operationId": "Applications_CreateOrUpdate", + "title": "CreateOrUpdateApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "resource": { + "properties": { + "description": "This is the user provided description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + }, + "dataStoreName2": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + }, + "location": "CentralUS", + "tags": { + "key1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1", + "name": "Application1", + "type": "Microsoft.IntegrationSpaces/spaces/applications", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + }, + "dataStoreName2": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1", + "name": "Application1", + "type": "Microsoft.IntegrationSpaces/spaces/applications", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + }, + "dataStoreName2": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Delete.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Delete.json new file mode 100644 index 000000000000..c6410a24501e --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Delete.json @@ -0,0 +1,15 @@ +{ + "operationId": "Applications_Delete", + "title": "DeleteApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_DeleteBusinessProcessDevelopmentArtifact.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_DeleteBusinessProcessDevelopmentArtifact.json new file mode 100644 index 000000000000..42c9991a6bb4 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_DeleteBusinessProcessDevelopmentArtifact.json @@ -0,0 +1,17 @@ +{ + "operationId": "Applications_DeleteBusinessProcessDevelopmentArtifact", + "title": "DeleteBusinessProcessDevelopmentArtifact", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "body": { + "name": "BusinessProcess1" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Get.json new file mode 100644 index 000000000000..bf6d456e4da0 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Get.json @@ -0,0 +1,36 @@ +{ + "operationId": "Applications_Get", + "title": "GetApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1", + "name": "Application1", + "type": "Microsoft.IntegrationSpaces/spaces/applications", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_GetBusinessProcessDevelopmentArtifact.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_GetBusinessProcessDevelopmentArtifact.json new file mode 100644 index 000000000000..c4f48fe99ad2 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_GetBusinessProcessDevelopmentArtifact.json @@ -0,0 +1,175 @@ +{ + "operationId": "Applications_GetBusinessProcessDevelopmentArtifact", + "title": "GetBusinessProcessDevelopmentArtifact", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "body": { + "name": "BusinessProcess1" + } + }, + "responses": { + "200": { + "body": { + "name": "BusinessProcess1", + "systemData": { + "lastModifiedAt": "2023-09-06T22:53:01.8497279Z" + }, + "properties": { + "description": "First Business Process", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingProfiles": { + "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2023-01-01/trackingdefinitionschema.json#", + "businessProcess": { + "name": "businessProcess1", + "version": "d52c9c91-6e10-4a90-9c1f-08ee5d01c656" + }, + "trackingDefinitions": { + "PurchaseOrder": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Received": { + "operationType": "Trigger", + "operationName": "manual", + "properties": { + "Product": "@trigger().outputs.body.Product", + "Quantity": "@trigger().outputs.body.Quantity", + "State": "@trigger().outputs.body.Address.State", + "City": "@trigger().outputs.body.Address.City" + } + }, + "Processing": { + "operationType": "Action", + "operationName": "ApprovedPO", + "properties": { + "ApprovalStatus": "@action().inputs.ApprovalStatus", + "ApproverName": "@action().inputs.ApproverName", + "POAmount": "@action().inputs.POamount" + } + } + } + }, + "Fulfillment": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Shipped": { + "operationType": "Action", + "operationName": "ShippedPO", + "properties": { + "TrackingID": "@action().inputs.trackingID", + "ShipPriority": "@action().inputs.shipPriority" + } + }, + "Denied": { + "operationType": "Action", + "operationName": "DeniedPO", + "properties": {} + }, + "Completed": { + "operationType": "Action", + "operationName": "CompletedPO", + "properties": {} + } + } + } + } + } + } + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBusinessProcessDevelopmentArtifacts.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBusinessProcessDevelopmentArtifacts.json new file mode 100644 index 000000000000..371fa23d26f1 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBusinessProcessDevelopmentArtifacts.json @@ -0,0 +1,176 @@ +{ + "operationId": "Applications_ListBusinessProcessDevelopmentArtifacts", + "title": "ListBusinessProcessDevelopmentArtifacts", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "BusinessProcess1", + "systemData": { + "lastModifiedAt": "2023-09-06T22:53:01.8497279Z" + }, + "properties": { + "description": "First Business Process", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingProfiles": { + "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2023-01-01/trackingdefinitionschema.json#", + "businessProcess": { + "name": "businessProcess1", + "version": "d52c9c91-6e10-4a90-9c1f-08ee5d01c656" + }, + "trackingDefinitions": { + "PurchaseOrder": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Received": { + "operationType": "Trigger", + "operationName": "manual", + "properties": { + "Product": "@trigger().outputs.body.Product", + "Quantity": "@trigger().outputs.body.Quantity", + "State": "@trigger().outputs.body.Address.State", + "City": "@trigger().outputs.body.Address.City" + } + }, + "Processing": { + "operationType": "Action", + "operationName": "ApprovedPO", + "properties": { + "ApprovalStatus": "@action().inputs.ApprovalStatus", + "ApproverName": "@action().inputs.ApproverName", + "POAmount": "@action().inputs.POamount" + } + } + } + }, + "Fulfillment": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Shipped": { + "operationType": "Action", + "operationName": "ShippedPO", + "properties": { + "TrackingID": "@action().inputs.trackingID", + "ShipPriority": "@action().inputs.shipPriority" + } + }, + "Denied": { + "operationType": "Action", + "operationName": "DeniedPO", + "properties": {} + }, + "Completed": { + "operationType": "Action", + "operationName": "CompletedPO", + "properties": {} + } + } + } + } + } + } + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBySpace.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBySpace.json new file mode 100644 index 000000000000..c64df5ccf494 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ListBySpace.json @@ -0,0 +1,39 @@ +{ + "operationId": "Applications_ListBySpace", + "title": "ListApplicationsBySpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1", + "name": "Application1", + "type": "Microsoft.IntegrationSpaces/spaces/applications", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Patch.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Patch.json new file mode 100644 index 000000000000..18013f71a84e --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_Patch.json @@ -0,0 +1,44 @@ +{ + "operationId": "Applications_Patch", + "title": "PatchApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "properties": { + "tags": { + "key1": "Value1" + }, + "properties": { + "description": "This is the user provided PATCHED description of the application." + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1", + "name": "Application1", + "type": "Microsoft.IntegrationSpaces/spaces/applications", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided PATCHED description of the application.", + "trackingDataStores": { + "dataStoreName1": { + "dataStoreResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/cluster1", + "databaseName": "testDatabase1", + "dataStoreIngestionUri": "https://ingest-someClusterName.someRegionName.kusto.windows.net", + "dataStoreUri": "https://someClusterName.someRegionName.kusto.windows.net" + } + } + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_SaveBusinessProcessDevelopmentArtifact.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_SaveBusinessProcessDevelopmentArtifact.json new file mode 100644 index 000000000000..1ebb97b51a46 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_SaveBusinessProcessDevelopmentArtifact.json @@ -0,0 +1,326 @@ +{ + "operationId": "Applications_SaveBusinessProcessDevelopmentArtifact", + "title": "SaveBusinessProcessDevelopmentArtifact", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "body": { + "name": "BusinessProcess1", + "properties": { + "description": "First Business Process", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingProfiles": { + "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2023-01-01/trackingdefinitionschema.json#", + "businessProcess": { + "name": "businessProcess1", + "version": "d52c9c91-6e10-4a90-9c1f-08ee5d01c656" + }, + "trackingDefinitions": { + "PurchaseOrder": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Received": { + "operationType": "Trigger", + "operationName": "manual", + "properties": { + "Product": "@trigger().outputs.body.Product", + "Quantity": "@trigger().outputs.body.Quantity", + "State": "@trigger().outputs.body.Address.State", + "City": "@trigger().outputs.body.Address.City" + } + }, + "Processing": { + "operationType": "Action", + "operationName": "ApprovedPO", + "properties": { + "ApprovalStatus": "@action().inputs.ApprovalStatus", + "ApproverName": "@action().inputs.ApproverName", + "POAmount": "@action().inputs.POamount" + } + } + } + }, + "Fulfillment": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Shipped": { + "operationType": "Action", + "operationName": "ShippedPO", + "properties": { + "TrackingID": "@action().inputs.trackingID", + "ShipPriority": "@action().inputs.shipPriority" + } + }, + "Denied": { + "operationType": "Action", + "operationName": "DeniedPO", + "properties": {} + }, + "Completed": { + "operationType": "Action", + "operationName": "CompletedPO", + "properties": {} + } + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "BusinessProcess1", + "systemData": { + "lastModifiedAt": "2023-09-06T22:53:01.8497279Z" + }, + "properties": { + "description": "First Business Process", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingProfiles": { + "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2023-01-01/trackingdefinitionschema.json#", + "businessProcess": { + "name": "businessProcess1", + "version": "d52c9c91-6e10-4a90-9c1f-08ee5d01c656" + }, + "trackingDefinitions": { + "PurchaseOrder": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Received": { + "operationType": "Trigger", + "operationName": "manual", + "properties": { + "Product": "@trigger().outputs.body.Product", + "Quantity": "@trigger().outputs.body.Quantity", + "State": "@trigger().outputs.body.Address.State", + "City": "@trigger().outputs.body.Address.City" + } + }, + "Processing": { + "operationType": "Action", + "operationName": "ApprovedPO", + "properties": { + "ApprovalStatus": "@action().inputs.ApprovalStatus", + "ApproverName": "@action().inputs.ApproverName", + "POAmount": "@action().inputs.POamount" + } + } + } + }, + "Fulfillment": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Shipped": { + "operationType": "Action", + "operationName": "ShippedPO", + "properties": { + "TrackingID": "@action().inputs.trackingID", + "ShipPriority": "@action().inputs.shipPriority" + } + }, + "Denied": { + "operationType": "Action", + "operationName": "DeniedPO", + "properties": {} + }, + "Completed": { + "operationType": "Action", + "operationName": "CompletedPO", + "properties": {} + } + } + } + } + } + } + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ValidateBusinessProcessDevelopmentArtifact.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ValidateBusinessProcessDevelopmentArtifact.json new file mode 100644 index 000000000000..88fd45c26e22 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Applications_ValidateBusinessProcessDevelopmentArtifact.json @@ -0,0 +1,176 @@ +{ + "operationId": "Applications_ValidateBusinessProcessDevelopmentArtifact", + "title": "ValidateBusinessProcessDevelopmentArtifact", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "body": { + "name": "BusinessProcess1", + "properties": { + "description": "First Business Process", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received@": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingProfiles": { + "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2023-01-01/trackingdefinitionschema.json#", + "businessProcess": { + "name": "businessProcess1", + "version": "d52c9c91-6e10-4a90-9c1f-08ee5d01c656" + }, + "trackingDefinitions": { + "PurchaseOrder": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Received": { + "operationType": "Trigger", + "operationName": "manual", + "properties": { + "Product": "@trigger().outputs.body.Product", + "Quantity": "@trigger().outputs.body.Quantity", + "State": "@trigger().outputs.body.Address.State", + "City": "@trigger().outputs.body.Address.City" + } + }, + "Processing": { + "operationType": "Action", + "operationName": "ApprovedPO", + "properties": { + "ApprovalStatus": "@action().inputs.ApprovalStatus", + "ApproverName": "@action().inputs.ApproverName", + "POAmount": "@action().inputs.POamount" + } + } + } + }, + "Fulfillment": { + "correlationContext": { + "operationType": "Trigger", + "operationName": "manual", + "propertyName": "OrderNumber", + "value": "@trigger().outputs.body.OrderNumber" + }, + "events": { + "Shipped": { + "operationType": "Action", + "operationName": "ShippedPO", + "properties": { + "TrackingID": "@action().inputs.trackingID", + "ShipPriority": "@action().inputs.shipPriority" + } + }, + "Denied": { + "operationType": "Action", + "operationName": "DeniedPO", + "properties": {} + }, + "Completed": { + "operationType": "Action", + "operationName": "CompletedPO", + "properties": {} + } + } + } + } + } + } + } + } + }, + "responses": { + "200": {}, + "default": { + "body": { + "error": { + "code": "InvalidCreateBusinessProcessResourceRequest", + "message": "The body for the request to create a business process isn't valid. The business process stage named 'Received@' contains these invalid characters: (@). The name can use only letters, digits and these characters : (\"-\", \"_\", \".\")" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_Get.json new file mode 100644 index 000000000000..bbe8dd2b8b9a --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_Get.json @@ -0,0 +1,109 @@ +{ + "operationId": "BusinessProcessVersions_Get", + "title": "GetBusinessProcessVersion", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1", + "businessProcessVersion": "08585074782265427079" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/businessProcesses/BusinessProcess1/versions/08585074782265427079", + "name": "08585074782265427079", + "type": "Microsoft.IntegrationSpaces/spaces/applications/businessProcesses/versions", + "properties": { + "provisioningState": "Succeeded", + "version": "08585074782265427079", + "description": "Sample Business Process", + "tableName": "table1", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_ListByBusinessProcess.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_ListByBusinessProcess.json new file mode 100644 index 000000000000..ea01d47b53df --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcessVersions_ListByBusinessProcess.json @@ -0,0 +1,112 @@ +{ + "operationId": "BusinessProcessVersions_ListByBusinessProcess", + "title": "ListBusinessProcessVersionsByBusinessProcess", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/businessProcesses/BusinessProcess1/versions/08585074782265427079", + "name": "08585074782265427079", + "type": "Microsoft.IntegrationSpaces/spaces/applications/BusinessProcesses/versions", + "properties": { + "provisioningState": "Succeeded", + "description": "First Business Process", + "tableName": "table1", + "version": "08585074782265427079", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_CreateOrUpdate.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_CreateOrUpdate.json new file mode 100644 index 000000000000..6f04a5047de5 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_CreateOrUpdate.json @@ -0,0 +1,289 @@ +{ + "operationId": "BusinessProcesses_CreateOrUpdate", + "title": "CreateOrUpdateBusinessProcess", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1", + "resource": { + "properties": { + "description": "First Business Process", + "tableName": "table1", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/BusinessProcesses/BusinessProcess1", + "name": "BusinessProcess1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/businessProcesses", + "properties": { + "provisioningState": "Succeeded", + "description": "First Business Process", + "tableName": "table1", + "version": "08585074782265427079", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/BusinessProcesses/BusinessProcess1", + "name": "BusinessProcess1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/businessProcesses", + "properties": { + "provisioningState": "Succeeded", + "description": "First Business Process", + "tableName": "table1", + "version": "08585074782265427079", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Delete.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Delete.json new file mode 100644 index 000000000000..88d40b9d40b7 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Delete.json @@ -0,0 +1,16 @@ +{ + "operationId": "BusinessProcesses_Delete", + "title": "DeleteBusinessProcess", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Get.json new file mode 100644 index 000000000000..36cc2e80a415 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Get.json @@ -0,0 +1,108 @@ +{ + "operationId": "BusinessProcesses_Get", + "title": "GetBusinessProcess", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/businessProcesses/BusinessProcess1", + "name": "BusinessProcess1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/businessProcesses", + "properties": { + "provisioningState": "Succeeded", + "description": "Sample Business Process", + "tableName": "table1", + "version": "08585074782265427079", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_ListByApplication.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_ListByApplication.json new file mode 100644 index 000000000000..73ba7608e375 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_ListByApplication.json @@ -0,0 +1,111 @@ +{ + "operationId": "BusinessProcesses_ListByApplication", + "title": "ListBusinessProcessesByApplication", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/businessProcesses/BusinessProcess1", + "name": "BusinessProcess1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/BusinessProcesses", + "properties": { + "provisioningState": "Succeeded", + "description": "First Business Process", + "tableName": "table1", + "version": "08585074782265427079", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Patch.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Patch.json new file mode 100644 index 000000000000..b4137d715309 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/BusinessProcesses_Patch.json @@ -0,0 +1,113 @@ +{ + "operationId": "BusinessProcesses_Patch", + "title": "PatchBusinessProcess", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "applicationName": "Application1", + "businessProcessName": "BusinessProcess1", + "properties": { + "properties": { + "description": "First updated business process." + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/applications/Application1/businessProcesses/BusinessProcess1", + "name": "BusinessProcess1", + "type": "Microsoft.IntegrationSpaces/spaces/applications/businessProcesses", + "properties": { + "provisioningState": "Succeeded", + "description": "First updated business process.", + "tableName": "table1", + "version": "08585074782265427080", + "identifier": { + "propertyName": "businessIdentifier-1", + "propertyType": "String" + }, + "businessProcessStages": { + "Received": { + "properties": { + "Product": "String", + "Quantity": "Integer", + "State": "String", + "City": "String" + }, + "description": "received" + }, + "Processing": { + "properties": { + "ApprovalState": "String", + "ApproverName": "String", + "POAmount": "Integer" + }, + "description": "Processing", + "stagesBefore": [ + "Received" + ] + }, + "Denied": { + "description": "Denied", + "stagesBefore": [ + "Processing" + ] + }, + "Shipped": { + "properties": { + "TrackingID": "Integer", + "ShipPriority": "Integer" + }, + "description": "Shipped", + "stagesBefore": [ + "Denied" + ] + }, + "Completed": { + "description": "Completed", + "stagesBefore": [ + "Shipped" + ] + } + }, + "businessProcessMapping": { + "Received": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Trigger", + "operationName": "manual" + }, + "Processing": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "PurchaseOrder", + "operationType": "Action", + "operationName": "ApprovedPO" + }, + "Shipped": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "ShippedPO" + }, + "Denied": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "DeniedPO" + }, + "Completed": { + "logicAppResourceId": "subscriptions/sub1/resourcegroups/group1/providers/Microsoft.Web/sites/logicApp1", + "workflowName": "Fulfillment", + "operationType": "Action", + "operationName": "CompletedPO" + } + }, + "trackingDataStoreReferenceName": "trackingDataStoreReferenceName1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_CreateOrUpdate.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_CreateOrUpdate.json new file mode 100644 index 000000000000..eab33bdfaa46 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_CreateOrUpdate.json @@ -0,0 +1,43 @@ +{ + "operationId": "InfrastructureResources_CreateOrUpdate", + "title": "CreateOrUpdateInfrastructureResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "infrastructureResourceName": "InfrastructureResource1", + "resource": { + "properties": { + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/infrastructureResources/InfrastructureResource1", + "name": "InfrastructureResource1", + "type": "Microsoft.IntegrationSpaces/spaces/infrastructureresources", + "properties": { + "provisioningState": "Succeeded", + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/infrastructureResources/InfrastructureResource1", + "name": "InfrastructureResource1", + "type": "Microsoft.IntegrationSpaces/spaces/infrastructureresources", + "properties": { + "provisioningState": "Succeeded", + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Delete.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Delete.json new file mode 100644 index 000000000000..f3f222bf6b34 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Delete.json @@ -0,0 +1,15 @@ +{ + "operationId": "InfrastructureResources_Delete", + "title": "DeleteInfrastructureResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "infrastructureResourceName": "InfrastructureResource1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Get.json new file mode 100644 index 000000000000..6c0a197b932e --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Get.json @@ -0,0 +1,25 @@ +{ + "operationId": "InfrastructureResources_Get", + "title": "GetInfrastructureResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "infrastructureResourceName": "InfrastructureResource1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/infrastructureResources/InfrastructureResource1", + "name": "InfrastructureResource1", + "type": "Microsoft.IntegrationSpaces/spaces/infrastructureresources", + "properties": { + "provisioningState": "Succeeded", + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_ListBySpace.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_ListBySpace.json new file mode 100644 index 000000000000..caaa9efc17c2 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_ListBySpace.json @@ -0,0 +1,28 @@ +{ + "operationId": "InfrastructureResources_ListBySpace", + "title": "ListInfrastructureResourcesBySpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/infrastructureResources/InfrastructureResource1", + "name": "InfrastructureResource1", + "type": "Microsoft.IntegrationSpaces/spaces/infrastructureresources", + "properties": { + "provisioningState": "Succeeded", + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Patch.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Patch.json new file mode 100644 index 000000000000..9d5290feff11 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/InfrastructureResources_Patch.json @@ -0,0 +1,31 @@ +{ + "operationId": "InfrastructureResources_Patch", + "title": "PatchInfrastructureResource", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "infrastructureResourceName": "InfrastructureResource1", + "properties": { + "properties": { + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1/infrastructureResources/InfrastructureResource1", + "name": "InfrastructureResource1", + "type": "Microsoft.IntegrationSpaces/spaces/infrastructureresources", + "properties": { + "provisioningState": "Succeeded", + "resourceType": "Microsoft.ApiManagement/service", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ApiManagement/service/APIM1" + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Operations_List.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Operations_List.json new file mode 100644 index 000000000000..24ed443197fe --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Operations_List.json @@ -0,0 +1,42 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-14-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.IntegrationSpaces/spaces/read", + "display": { + "provider": "Microsoft Azure Integration Spaces", + "resource": "space", + "operation": "Read space", + "description": "Read space" + } + }, + { + "name": "Microsoft.IntegrationSpaces/spaces/write", + "display": { + "provider": "Microsoft Azure Integration Spaces", + "resource": "space", + "operation": "Update space", + "description": "Update space" + } + }, + { + "name": "Microsoft.IntegrationSpaces/spaces/delete", + "display": { + "provider": "Microsoft Azure Integration Spaces", + "resource": "space", + "operation": "Delete space", + "description": "Delete space" + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_CreateOrUpdate.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_CreateOrUpdate.json new file mode 100644 index 000000000000..478f55fea45f --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_CreateOrUpdate.json @@ -0,0 +1,51 @@ +{ + "operationId": "Spaces_CreateOrUpdate", + "title": "CreateOrUpdateSpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "resource": { + "properties": { + "description": "This is the user provided description of the space resource." + }, + "location": "CentralUS", + "tags": { + "key1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Delete.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Delete.json new file mode 100644 index 000000000000..de3b8d191a3a --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Delete.json @@ -0,0 +1,14 @@ +{ + "operationId": "Spaces_Delete", + "title": "DeleteSpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Get.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Get.json new file mode 100644 index 000000000000..e2f127159d7c --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Get.json @@ -0,0 +1,27 @@ +{ + "operationId": "Spaces_Get", + "title": "GetSpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListByResourceGroup.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListByResourceGroup.json new file mode 100644 index 000000000000..551a690d63bd --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "operationId": "Spaces_ListByResourceGroup", + "title": "ListSpacesByResourceGroup", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListBySubscription.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListBySubscription.json new file mode 100644 index 000000000000..201c9250a52e --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_ListBySubscription.json @@ -0,0 +1,30 @@ +{ + "operationId": "Spaces_ListBySubscription", + "title": "ListSpacesBySubscription", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + ] + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Patch.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Patch.json new file mode 100644 index 000000000000..2bfcae15b206 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/examples/Spaces_Patch.json @@ -0,0 +1,35 @@ +{ + "operationId": "Spaces_Patch", + "title": "PatchSpace", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2023-11-14-preview", + "spaceName": "Space1", + "properties": { + "tags": { + "key1": "Value1" + }, + "properties": { + "description": "This is the user provided description of the space resource." + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.IntegrationSpaces/spaces/Space1", + "name": "Space1", + "type": "Microsoft.IntegrationSpaces/spaces", + "location": "CentralUS", + "tags": { + "key1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "This is the user provided description of the space resource." + } + } + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/openapi.json b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/openapi.json new file mode 100644 index 000000000000..a0937d0697fb --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/Microsoft.IntegrationSpaces/preview/2023-11-14-preview/openapi.json @@ -0,0 +1,3151 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.IntegrationSpaces", + "version": "2023-11-14-preview", + "description": "The azure integration spaces resource provider.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Spaces" + }, + { + "name": "InfrastructureResources" + }, + { + "name": "Applications" + }, + { + "name": "ApplicationResources" + }, + { + "name": "BusinessProcesses" + }, + { + "name": "BusinessProcessVersions" + } + ], + "paths": { + "/providers/Microsoft.IntegrationSpaces/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.IntegrationSpaces/spaces": { + "get": { + "operationId": "Spaces_ListBySubscription", + "tags": [ + "Spaces" + ], + "description": "List Space resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SpaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListSpacesBySubscription": { + "$ref": "./examples/Spaces_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces": { + "get": { + "operationId": "Spaces_ListByResourceGroup", + "tags": [ + "Spaces" + ], + "description": "List Space resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SpaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListSpacesByResourceGroup": { + "$ref": "./examples/Spaces_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}": { + "get": { + "operationId": "Spaces_Get", + "tags": [ + "Spaces" + ], + "description": "Get a Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Space" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetSpace": { + "$ref": "./examples/Spaces_Get.json" + } + } + }, + "put": { + "operationId": "Spaces_CreateOrUpdate", + "tags": [ + "Spaces" + ], + "description": "Create a Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Space" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Space' update operation succeeded", + "schema": { + "$ref": "#/definitions/Space" + } + }, + "201": { + "description": "Resource 'Space' create operation succeeded", + "schema": { + "$ref": "#/definitions/Space" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateSpace": { + "$ref": "./examples/Spaces_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "Spaces_Patch", + "tags": [ + "Spaces" + ], + "description": "Update a Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/SpaceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Space" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchSpace": { + "$ref": "./examples/Spaces_Patch.json" + } + } + }, + "delete": { + "operationId": "Spaces_Delete", + "tags": [ + "Spaces" + ], + "description": "Delete a Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteSpace": { + "$ref": "./examples/Spaces_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications": { + "get": { + "operationId": "Applications_ListBySpace", + "tags": [ + "Applications" + ], + "description": "List Application resources by Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListApplicationsBySpace": { + "$ref": "./examples/Applications_ListBySpace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}": { + "get": { + "operationId": "Applications_Get", + "tags": [ + "Applications" + ], + "description": "Get a Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetApplication": { + "$ref": "./examples/Applications_Get.json" + } + } + }, + "put": { + "operationId": "Applications_CreateOrUpdate", + "tags": [ + "Applications" + ], + "description": "Create a Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Application" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Application' update operation succeeded", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "201": { + "description": "Resource 'Application' create operation succeeded", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateApplication": { + "$ref": "./examples/Applications_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "Applications_Patch", + "tags": [ + "Applications" + ], + "description": "Update a Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchApplication": { + "$ref": "./examples/Applications_Patch.json" + } + } + }, + "delete": { + "operationId": "Applications_Delete", + "tags": [ + "Applications" + ], + "description": "Delete a Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteApplication": { + "$ref": "./examples/Applications_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/businessProcesses": { + "get": { + "operationId": "BusinessProcesses_ListByApplication", + "tags": [ + "BusinessProcesses" + ], + "description": "List BusinessProcess resources by Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/BusinessProcessListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListBusinessProcessesByApplication": { + "$ref": "./examples/BusinessProcesses_ListByApplication.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/businessProcesses/{businessProcessName}": { + "get": { + "operationId": "BusinessProcesses_Get", + "tags": [ + "BusinessProcesses" + ], + "description": "Get a BusinessProcess", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/BusinessProcess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBusinessProcess": { + "$ref": "./examples/BusinessProcesses_Get.json" + } + } + }, + "put": { + "operationId": "BusinessProcesses_CreateOrUpdate", + "tags": [ + "BusinessProcesses" + ], + "description": "Create a BusinessProcess", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BusinessProcess" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BusinessProcess' update operation succeeded", + "schema": { + "$ref": "#/definitions/BusinessProcess" + } + }, + "201": { + "description": "Resource 'BusinessProcess' create operation succeeded", + "schema": { + "$ref": "#/definitions/BusinessProcess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateBusinessProcess": { + "$ref": "./examples/BusinessProcesses_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "BusinessProcesses_Patch", + "tags": [ + "BusinessProcesses" + ], + "description": "Update a BusinessProcess", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/BusinessProcessUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/BusinessProcess" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchBusinessProcess": { + "$ref": "./examples/BusinessProcesses_Patch.json" + } + } + }, + "delete": { + "operationId": "BusinessProcesses_Delete", + "tags": [ + "BusinessProcesses" + ], + "description": "Delete a BusinessProcess", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteBusinessProcess": { + "$ref": "./examples/BusinessProcesses_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/businessProcesses/{businessProcessName}/versions": { + "get": { + "operationId": "BusinessProcessVersions_ListByBusinessProcess", + "tags": [ + "BusinessProcessVersions" + ], + "description": "List BusinessProcessVersion resources by BusinessProcess", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/BusinessProcessVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListBusinessProcessVersionsByBusinessProcess": { + "$ref": "./examples/BusinessProcessVersions_ListByBusinessProcess.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/businessProcesses/{businessProcessName}/versions/{businessProcessVersion}": { + "get": { + "operationId": "BusinessProcessVersions_Get", + "tags": [ + "BusinessProcessVersions" + ], + "description": "Get a BusinessProcessVersion", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessName", + "in": "path", + "description": "The name of the business process", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "businessProcessVersion", + "in": "path", + "description": "The version of the business process", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/BusinessProcessVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBusinessProcessVersion": { + "$ref": "./examples/BusinessProcessVersions_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/deleteBusinessProcessDevelopmentArtifact": { + "post": { + "operationId": "Applications_DeleteBusinessProcessDevelopmentArtifact", + "tags": [ + "Applications" + ], + "description": "The delete business process development artifact action.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/GetOrDeleteBusinessProcessDevelopmentArtifactRequest" + } + } + ], + "responses": { + "200": { + "description": "The business process development artifact success response." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteBusinessProcessDevelopmentArtifact": { + "$ref": "./examples/Applications_DeleteBusinessProcessDevelopmentArtifact.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/getBusinessProcessDevelopmentArtifact": { + "post": { + "operationId": "Applications_GetBusinessProcessDevelopmentArtifact", + "tags": [ + "Applications" + ], + "description": "The get business process development artifact action.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/GetOrDeleteBusinessProcessDevelopmentArtifactRequest" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SaveOrGetBusinessProcessDevelopmentArtifactResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBusinessProcessDevelopmentArtifact": { + "$ref": "./examples/Applications_GetBusinessProcessDevelopmentArtifact.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/listBusinessProcessDevelopmentArtifacts": { + "post": { + "operationId": "Applications_ListBusinessProcessDevelopmentArtifacts", + "tags": [ + "Applications" + ], + "description": "The list business process development artifacts action.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListBusinessProcessDevelopmentArtifactsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListBusinessProcessDevelopmentArtifacts": { + "$ref": "./examples/Applications_ListBusinessProcessDevelopmentArtifacts.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources": { + "get": { + "operationId": "ApplicationResources_ListByApplication", + "tags": [ + "ApplicationResources" + ], + "description": "List ApplicationResource resources by Application", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListApplicationResourceByApplication": { + "$ref": "./examples/ApplicationResources_ListByApplication.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}": { + "get": { + "operationId": "ApplicationResources_Get", + "tags": [ + "ApplicationResources" + ], + "description": "Get a ApplicationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetApplicationResource": { + "$ref": "./examples/ApplicationResources_Get.json" + } + } + }, + "put": { + "operationId": "ApplicationResources_CreateOrUpdate", + "tags": [ + "ApplicationResources" + ], + "description": "Create a ApplicationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "201": { + "description": "Resource 'ApplicationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateApplicationResource": { + "$ref": "./examples/ApplicationResources_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "ApplicationResources_Patch", + "tags": [ + "ApplicationResources" + ], + "description": "Update a ApplicationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchApplicationResource": { + "$ref": "./examples/ApplicationResources_Patch.json" + } + } + }, + "delete": { + "operationId": "ApplicationResources_Delete", + "tags": [ + "ApplicationResources" + ], + "description": "Delete a ApplicationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteApplicationResource": { + "$ref": "./examples/ApplicationResources_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/saveBusinessProcessDevelopmentArtifact": { + "post": { + "operationId": "Applications_SaveBusinessProcessDevelopmentArtifact", + "tags": [ + "Applications" + ], + "description": "The save business process development artifact action.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SaveOrValidateBusinessProcessDevelopmentArtifactRequest" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SaveOrGetBusinessProcessDevelopmentArtifactResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SaveBusinessProcessDevelopmentArtifact": { + "$ref": "./examples/Applications_SaveBusinessProcessDevelopmentArtifact.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/validateBusinessProcessDevelopmentArtifact": { + "post": { + "operationId": "Applications_ValidateBusinessProcessDevelopmentArtifact", + "tags": [ + "Applications" + ], + "description": "The validate business process development artifact action.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the Application", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SaveOrValidateBusinessProcessDevelopmentArtifactRequest" + } + } + ], + "responses": { + "200": { + "description": "The business process development artifact success response." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidateBusinessProcessDevelopmentArtifact": { + "$ref": "./examples/Applications_ValidateBusinessProcessDevelopmentArtifact.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/infrastructureResources": { + "get": { + "operationId": "InfrastructureResources_ListBySpace", + "tags": [ + "InfrastructureResources" + ], + "description": "List InfrastructureResource resources by Space", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.FilterQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.SelectQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.ExpandQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.OrderByQueryParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/InfrastructureResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListInfrastructureResourcesBySpace": { + "$ref": "./examples/InfrastructureResources_ListBySpace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/infrastructureResources/{infrastructureResourceName}": { + "get": { + "operationId": "InfrastructureResources_Get", + "tags": [ + "InfrastructureResources" + ], + "description": "Get a InfrastructureResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "infrastructureResourceName", + "in": "path", + "description": "The name of the infrastructure resource in the space.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/InfrastructureResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetInfrastructureResource": { + "$ref": "./examples/InfrastructureResources_Get.json" + } + } + }, + "put": { + "operationId": "InfrastructureResources_CreateOrUpdate", + "tags": [ + "InfrastructureResources" + ], + "description": "Create a InfrastructureResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "infrastructureResourceName", + "in": "path", + "description": "The name of the infrastructure resource in the space.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InfrastructureResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InfrastructureResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/InfrastructureResource" + } + }, + "201": { + "description": "Resource 'InfrastructureResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/InfrastructureResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateInfrastructureResource": { + "$ref": "./examples/InfrastructureResources_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "InfrastructureResources_Patch", + "tags": [ + "InfrastructureResources" + ], + "description": "Update a InfrastructureResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "infrastructureResourceName", + "in": "path", + "description": "The name of the infrastructure resource in the space.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InfrastructureResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/InfrastructureResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchInfrastructureResource": { + "$ref": "./examples/InfrastructureResources_Patch.json" + } + } + }, + "delete": { + "operationId": "InfrastructureResources_Delete", + "tags": [ + "InfrastructureResources" + ], + "description": "Delete a InfrastructureResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "spaceName", + "in": "path", + "description": "The name of the space", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + }, + { + "name": "infrastructureResourceName", + "in": "path", + "description": "The name of the infrastructure resource in the space.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9_.()-]{0,79}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteInfrastructureResource": { + "$ref": "./examples/InfrastructureResources_Delete.json" + } + } + } + } + }, + "definitions": { + "Application": { + "type": "object", + "description": "An integration application under space.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ApplicationListResult": { + "type": "object", + "description": "The response of a Application list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Application items on this page", + "items": { + "$ref": "#/definitions/Application" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationProperties": { + "type": "object", + "description": "The properties of application.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the resource." + }, + "trackingDataStores": { + "type": "object", + "description": "The tracking data stores.", + "additionalProperties": { + "$ref": "#/definitions/TrackingDataStore" + } + } + }, + "required": [ + "trackingDataStores" + ] + }, + "ApplicationResource": { + "type": "object", + "description": "A resource under application.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ApplicationResourceListResult": { + "type": "object", + "description": "The response of a ApplicationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationResourceProperties": { + "type": "object", + "description": "The properties of application resource.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "The type of the application resource." + }, + "resourceId": { + "type": "string", + "description": "The Arm id of the application resource." + }, + "resourceKind": { + "type": "string", + "description": "The kind of the application resource." + } + }, + "required": [ + "resourceType", + "resourceId" + ] + }, + "ApplicationResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the ApplicationResource.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationResourceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ApplicationResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the ApplicationResource.", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of the application resource." + }, + "resourceId": { + "type": "string", + "description": "The Arm id of the application resource." + }, + "resourceKind": { + "type": "string", + "description": "The kind of the application resource." + } + } + }, + "ApplicationUpdate": { + "type": "object", + "description": "The type used for update operations of the Application.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ApplicationUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ApplicationUpdateProperties": { + "type": "object", + "description": "The updatable properties of the Application.", + "properties": { + "description": { + "type": "string", + "description": "The description of the resource." + }, + "trackingDataStores": { + "type": "object", + "description": "The tracking data stores.", + "additionalProperties": { + "$ref": "#/definitions/TrackingDataStore" + } + } + } + }, + "BusinessProcess": { + "type": "object", + "description": "A business process under application.", + "properties": { + "properties": { + "$ref": "#/definitions/BusinessProcessProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "BusinessProcessDevelopmentArtifactProperties": { + "type": "object", + "description": "The properties of business process development artifact.", + "properties": { + "description": { + "type": "string", + "description": "The description of the business process." + }, + "identifier": { + "$ref": "#/definitions/BusinessProcessIdentifier", + "description": "The business process identifier." + }, + "businessProcessStages": { + "type": "object", + "description": "The business process stages.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessStage" + } + }, + "businessProcessMapping": { + "type": "object", + "description": "The business process mapping.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessMappingItem" + } + }, + "trackingProfiles": { + "type": "object", + "description": "The tracking profile for the business process.", + "additionalProperties": { + "$ref": "#/definitions/TrackingProfileDefinition" + } + } + } + }, + "BusinessProcessIdentifier": { + "type": "object", + "description": "The properties of business process identifier.", + "properties": { + "propertyName": { + "type": "string", + "description": "The property name of the business process identifier." + }, + "propertyType": { + "type": "string", + "description": "The property type of the business process identifier." + } + } + }, + "BusinessProcessListResult": { + "type": "object", + "description": "The response of a BusinessProcess list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BusinessProcess items on this page", + "items": { + "$ref": "#/definitions/BusinessProcess" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BusinessProcessMappingItem": { + "type": "object", + "description": "The properties of business process mapping.", + "properties": { + "logicAppResourceId": { + "type": "string", + "description": "The logic app resource id." + }, + "workflowName": { + "type": "string", + "description": "The workflow name within the logic app." + }, + "operationName": { + "type": "string", + "description": "The operation name." + }, + "operationType": { + "type": "string", + "description": "The mapping item operation type of the business process." + } + } + }, + "BusinessProcessProperties": { + "type": "object", + "description": "The properties of business process.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "version": { + "type": "string", + "description": "The version of the business process.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the business process." + }, + "tableName": { + "type": "string", + "description": "The table name of the business process." + }, + "trackingDataStoreReferenceName": { + "type": "string", + "description": "The tracking data store reference name." + }, + "identifier": { + "$ref": "#/definitions/BusinessProcessIdentifier", + "description": "The business process identifier." + }, + "businessProcessStages": { + "type": "object", + "description": "The business process stages.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessStage" + } + }, + "businessProcessMapping": { + "type": "object", + "description": "The business process mapping.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessMappingItem" + } + } + } + }, + "BusinessProcessReference": { + "type": "object", + "description": "The business process reference.", + "properties": { + "name": { + "type": "string", + "description": "The business process name." + }, + "version": { + "type": "string", + "description": "The business process version." + } + } + }, + "BusinessProcessStage": { + "type": "object", + "description": "The properties of business process stage.", + "properties": { + "description": { + "type": "string", + "description": "The description of the business stage." + }, + "properties": { + "type": "object", + "description": "The properties within the properties of the business process stage.", + "additionalProperties": { + "type": "string" + } + }, + "stagesBefore": { + "type": "array", + "description": "The property to keep track of stages before current in the business process stage.", + "items": { + "type": "string" + } + } + } + }, + "BusinessProcessUpdate": { + "type": "object", + "description": "The type used for update operations of the BusinessProcess.", + "properties": { + "properties": { + "$ref": "#/definitions/BusinessProcessUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "BusinessProcessUpdateProperties": { + "type": "object", + "description": "The updatable properties of the BusinessProcess.", + "properties": { + "description": { + "type": "string", + "description": "The description of the business process." + }, + "tableName": { + "type": "string", + "description": "The table name of the business process." + }, + "trackingDataStoreReferenceName": { + "type": "string", + "description": "The tracking data store reference name." + }, + "identifier": { + "$ref": "#/definitions/BusinessProcessIdentifier", + "description": "The business process identifier." + }, + "businessProcessStages": { + "type": "object", + "description": "The business process stages.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessStage" + } + }, + "businessProcessMapping": { + "type": "object", + "description": "The business process mapping.", + "additionalProperties": { + "$ref": "#/definitions/BusinessProcessMappingItem" + } + } + } + }, + "BusinessProcessVersion": { + "type": "object", + "description": "A business process version.", + "properties": { + "properties": { + "$ref": "#/definitions/BusinessProcessProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "BusinessProcessVersionListResult": { + "type": "object", + "description": "The response of a BusinessProcessVersion list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BusinessProcessVersion items on this page", + "items": { + "$ref": "#/definitions/BusinessProcessVersion" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FlowTrackingDefinition": { + "type": "object", + "description": "The workflow tracking definition.", + "properties": { + "correlationContext": { + "$ref": "#/definitions/TrackingCorrelationContext", + "description": "The tracking correlation context." + }, + "events": { + "type": "object", + "description": "The tracking events.", + "additionalProperties": { + "$ref": "#/definitions/TrackingEventDefinition" + } + } + } + }, + "GetOrDeleteBusinessProcessDevelopmentArtifactRequest": { + "type": "object", + "description": "The business process development artifact get or delete request.", + "properties": { + "name": { + "type": "string", + "description": "The name of the business process development artifact." + } + }, + "required": [ + "name" + ] + }, + "InfrastructureResource": { + "type": "object", + "description": "An infrastructure resource under Space.", + "properties": { + "properties": { + "$ref": "#/definitions/InfrastructureResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "InfrastructureResourceListResult": { + "type": "object", + "description": "The response of a InfrastructureResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InfrastructureResource items on this page", + "items": { + "$ref": "#/definitions/InfrastructureResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InfrastructureResourceProperties": { + "type": "object", + "description": "The properties of infrastructure resource.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "The type of the infrastructure resource." + }, + "resourceId": { + "type": "string", + "description": "The id of the infrastructure resource." + } + }, + "required": [ + "resourceType", + "resourceId" + ] + }, + "InfrastructureResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the InfrastructureResource.", + "properties": { + "properties": { + "$ref": "#/definitions/InfrastructureResourceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "InfrastructureResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the InfrastructureResource.", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of the infrastructure resource." + }, + "resourceId": { + "type": "string", + "description": "The id of the infrastructure resource." + } + } + }, + "ListBusinessProcessDevelopmentArtifactsResponse": { + "type": "object", + "description": "The business process development artifact get collection response.", + "properties": { + "value": { + "type": "array", + "description": "The list of the business process development artifact.", + "items": { + "$ref": "#/definitions/SaveOrGetBusinessProcessDevelopmentArtifactResponse" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "value" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the current operation.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Accepted", + "value": "Accepted" + } + ] + } + }, + "SaveOrGetBusinessProcessDevelopmentArtifactResponse": { + "type": "object", + "description": "The business process development artifact save or get response.", + "properties": { + "name": { + "type": "string", + "description": "The name of the business process development artifact." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data of the business process development artifact." + }, + "properties": { + "$ref": "#/definitions/BusinessProcessDevelopmentArtifactProperties", + "description": "The properties of the business process development artifact." + } + }, + "required": [ + "name" + ] + }, + "SaveOrValidateBusinessProcessDevelopmentArtifactRequest": { + "type": "object", + "description": "The business process development artifact save or validate request.", + "properties": { + "name": { + "type": "string", + "description": "The name of the business process development artifact." + }, + "properties": { + "$ref": "#/definitions/BusinessProcessDevelopmentArtifactProperties", + "description": "The properties of the business process development artifact." + } + }, + "required": [ + "name" + ] + }, + "Space": { + "type": "object", + "description": "An integration space.", + "properties": { + "properties": { + "$ref": "#/definitions/SpaceResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "SpaceListResult": { + "type": "object", + "description": "The response of a Space list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Space items on this page", + "items": { + "$ref": "#/definitions/Space" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SpaceResourceProperties": { + "type": "object", + "description": "The properties of space.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the resource." + } + } + }, + "SpaceUpdate": { + "type": "object", + "description": "The type used for update operations of the Space.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/SpaceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "SpaceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the Space.", + "properties": { + "description": { + "type": "string", + "description": "The description of the resource." + } + } + }, + "SuccessfulBusinessProcessDevelopmentArtifactResponse": { + "type": "object", + "description": "The business process development artifact success response.", + "properties": {} + }, + "TrackingCorrelationContext": { + "type": "object", + "description": "The tracking correlation context.", + "properties": { + "operationType": { + "type": "string", + "description": "The operation type for correlation context." + }, + "operationName": { + "type": "string", + "description": "The operation name for correlation context." + }, + "propertyName": { + "type": "string", + "description": "The name of the correlation property." + }, + "value": { + "type": "string", + "description": "The template expression for correlation context property value." + } + } + }, + "TrackingDataStore": { + "type": "object", + "description": "The properties of tracking data store.", + "properties": { + "databaseName": { + "type": "string", + "description": "The database name." + }, + "dataStoreResourceId": { + "type": "string", + "description": "The data store resource id." + }, + "dataStoreUri": { + "type": "string", + "description": "The data store URI." + }, + "dataStoreIngestionUri": { + "type": "string", + "description": "The data store ingestion URI." + } + }, + "required": [ + "databaseName", + "dataStoreResourceId", + "dataStoreUri", + "dataStoreIngestionUri" + ] + }, + "TrackingEventDefinition": { + "type": "object", + "description": "The tracking event definition.", + "properties": { + "operationType": { + "type": "string", + "description": "The operation type." + }, + "operationName": { + "type": "string", + "description": "The operation name." + }, + "properties": { + "type": "object", + "description": "The properties to be collected for event.", + "additionalProperties": { + "$ref": "#/definitions/object" + } + } + } + }, + "TrackingProfileDefinition": { + "type": "object", + "description": "The tracking profile for the business process", + "properties": { + "$schema": { + "type": "string", + "description": "The tracking definition schema uri." + }, + "businessProcess": { + "$ref": "#/definitions/BusinessProcessReference", + "description": "The business process reference." + }, + "trackingDefinitions": { + "type": "object", + "description": "The tracking definitions.", + "additionalProperties": { + "$ref": "#/definitions/FlowTrackingDefinition" + } + } + } + }, + "object": { + "type": "object", + "description": "Represent a model", + "properties": {} + } + }, + "parameters": { + "Azure.Core.ExpandQueryParameter": { + "name": "expand", + "in": "query", + "description": "Expand the indicated resources into the response.", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "x-ms-parameter-location": "method" + }, + "Azure.Core.FilterQueryParameter": { + "name": "filter", + "in": "query", + "description": "Filter the result list using the given expression.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "Azure.Core.MaxPageSizeQueryParameter": { + "name": "maxpagesize", + "in": "query", + "description": "The maximum number of result items per page.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + }, + "Azure.Core.OrderByQueryParameter": { + "name": "orderby", + "in": "query", + "description": "Expressions that specify the order of returned results.", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "x-ms-parameter-location": "method" + }, + "Azure.Core.SelectQueryParameter": { + "name": "select", + "in": "query", + "description": "Select the specified fields to be included in the response.", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "x-ms-parameter-location": "method" + }, + "Azure.Core.SkipQueryParameter": { + "name": "skip", + "in": "query", + "description": "The number of result items to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0, + "x-ms-parameter-location": "method" + }, + "Azure.Core.TopQueryParameter": { + "name": "top", + "in": "query", + "description": "The number of result items to return.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azureintegrationspaces/resource-manager/readme.az.md b/specification/azureintegrationspaces/resource-manager/readme.az.md new file mode 100644 index 000000000000..e30924d93c71 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: azureintegrationspaces + namespace: azure.mgmt.azureintegrationspaces + package-name: azure-mgmt-azureintegrationspaces +az-output-folder: $(azure-cli-extension-folder)/src/azureintegrationspaces +python-sdk-output-folder: "$(az-output-folder)/azext_azureintegrationspaces/vendored_sdks/azureintegrationspaces" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: azureintegrationspaces + namespace: azure.mgmt.azureintegrationspaces + package-name: azure-mgmt-azureintegrationspaces +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/azureintegrationspaces +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/azureintegrationspaces" +``` \ No newline at end of file diff --git a/specification/azureintegrationspaces/resource-manager/readme.cli.md b/specification/azureintegrationspaces/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/azureintegrationspaces/resource-manager/readme.csharp.md b/specification/azureintegrationspaces/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..1313bce10972 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.IntegrationSpaces + output-folder: $(csharp-sdks-folder)/azureintegrationspaces/management/Microsoft.IntegrationSpaces/GeneratedProtocol +``` diff --git a/specification/azureintegrationspaces/resource-manager/readme.go.md b/specification/azureintegrationspaces/resource-manager/readme.go.md new file mode 100644 index 000000000000..e60fecc46f77 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/azureintegrationspaces/armazureintegrationspaces +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/azureintegrationspaces/resource-manager/readme.md b/specification/azureintegrationspaces/resource-manager/readme.md new file mode 100644 index 000000000000..25cab1113247 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.md @@ -0,0 +1,81 @@ +# azureintegrationspaces + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for azureintegrationspaces. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the azureintegrationspaces. + +``` yaml +openapi-type: arm +openapi-subtype: providerHub +tag: package-2023-11-14-preview +``` + + +### Tag: package-2023-11-14-preview + +These settings apply only when `--tag=package-2023-11-14-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-14-preview' +input-file: + - Microsoft.IntegrationSpaces/preview/2023-11-14-preview/openapi.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-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions + - repo: azure-powershell +``` + +## Az + +See configuration in [readme.az.md](./readme.az.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/azureintegrationspaces/resource-manager/readme.python.md b/specification/azureintegrationspaces/resource-manager/readme.python.md new file mode 100644 index 000000000000..34139c5bbcba --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-azureintegrationspaces +namespace: azure.mgmt.azureintegrationspaces +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/azureintegrationspaces/azure-mgmt-azureintegrationspaces/azure/mgmt/azureintegrationspaces +``` diff --git a/specification/azureintegrationspaces/resource-manager/readme.typescript.md b/specification/azureintegrationspaces/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..38242d9ac353 --- /dev/null +++ b/specification/azureintegrationspaces/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-azureintegrationspaces" + output-folder: "$(typescript-sdks-folder)/sdk/azureintegrationspaces/arm-azureintegrationspaces" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +```