From ac4134ab4a1c4e94f4e300fd60f5876851d24c1d Mon Sep 17 00:00:00 2001 From: "PoAn (Baron) Chen" Date: Mon, 30 Oct 2023 22:25:49 +0000 Subject: [PATCH] [Hub Generated] Publish private branch 'IoTOperationsDataProcessor' (#26279) * add or modify files * update --- .../common.tsp | 41 + .../dataset.tsp | 73 + ...atasets_CreateOrUpdate_MaximumSet_Gen.json | 90 + .../Datasets_Delete_MaximumSet_Gen.json | 19 + .../examples/Datasets_Get_MaximumSet_Gen.json | 42 + ...atasets_ListByInstance_MaximumSet_Gen.json | 46 + .../Datasets_Update_MaximumSet_Gen.json | 45 + ...stances_CreateOrUpdate_MaximumSet_Gen.json | 77 + .../Instances_Delete_MaximumSet_Gen.json | 18 + .../Instances_Get_MaximumSet_Gen.json | 37 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 41 + ...ces_ListBySubscription_MaximumSet_Gen.json | 40 + .../Instances_Update_MaximumSet_Gen.json | 40 + .../Operations_List_MaximumSet_Gen.json | 28 + ...pelines_CreateOrUpdate_MaximumSet_Gen.json | 129 ++ .../Pipelines_Delete_MaximumSet_Gen.json | 19 + .../Pipelines_Get_MaximumSet_Gen.json | 55 + ...pelines_ListByInstance_MaximumSet_Gen.json | 59 + .../Pipelines_Update_MaximumSet_Gen.json | 58 + .../instance.tsp | 51 + .../main.tsp | 26 + .../pipeline.tsp | 91 ++ .../tspconfig.yaml | 11 + ...atasets_CreateOrUpdate_MaximumSet_Gen.json | 90 + .../Datasets_Delete_MaximumSet_Gen.json | 19 + .../examples/Datasets_Get_MaximumSet_Gen.json | 42 + ...atasets_ListByInstance_MaximumSet_Gen.json | 46 + .../Datasets_Update_MaximumSet_Gen.json | 45 + ...stances_CreateOrUpdate_MaximumSet_Gen.json | 77 + .../Instances_Delete_MaximumSet_Gen.json | 18 + .../Instances_Get_MaximumSet_Gen.json | 37 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 41 + ...ces_ListBySubscription_MaximumSet_Gen.json | 40 + .../Instances_Update_MaximumSet_Gen.json | 40 + .../Operations_List_MaximumSet_Gen.json | 28 + ...pelines_CreateOrUpdate_MaximumSet_Gen.json | 129 ++ .../Pipelines_Delete_MaximumSet_Gen.json | 19 + .../Pipelines_Get_MaximumSet_Gen.json | 55 + ...pelines_ListByInstance_MaximumSet_Gen.json | 59 + .../Pipelines_Update_MaximumSet_Gen.json | 58 + .../preview/2023-10-04-preview/openapi.json | 1456 +++++++++++++++++ .../resource-manager/readme.md | 40 + 42 files changed, 3475 insertions(+) create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/common.tsp create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/dataset.tsp create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_ListByInstance_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_ListByInstance_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/instance.tsp create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/main.tsp create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/pipeline.tsp create mode 100644 specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_ListByInstance_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Delete_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Get_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_ListByInstance_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Update_MaximumSet_Gen.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/openapi.json create mode 100644 specification/iotoperationsdataprocessor/resource-manager/readme.md diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/common.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/common.tsp new file mode 100644 index 000000000000..38eafdf6b0d0 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/common.tsp @@ -0,0 +1,41 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-providerhub"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.IoTOperationsDataProcessor; + +@doc("Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.") +model ExtendedLocation { + @doc("The name of the extended location.") + name: string; + + @doc("The type of the extended location.") + type: string; +} + +@lroStatus +@doc("The provisioning status of the resource.") +enum ProvisioningState { + ...ResourceProvisioningState, + + @doc("The resource is being created.") + Provisioning, + + @doc("The resource is being updated.") + Updating, + + @doc("The resource is being deleted.") + Deleting, + + @doc("The resource was accepted by the server.") + Accepted, +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/dataset.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/dataset.tsp new file mode 100644 index 000000000000..23c578b133cb --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/dataset.tsp @@ -0,0 +1,73 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-providerhub"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./common.tsp"; +import "./instance.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.IoTOperationsDataProcessor; + +@doc("A Dataset resource belonging to an Instance resource.") +@parentResource(Instance) +model Dataset is TrackedResource { + @doc("Name of dataset.") + @key("datasetName") + @segment("datasets") + @pattern("^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$") + @path + name: string; + + // Extended location is not included in TrackedResource yet + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" + @doc("Edge location of the resource.") + @visibility("read", "create") + extendedLocation: ExtendedLocation; +} + +@doc("The properties of a Dataset resource.") +model DatasetProperties { + @doc("Detailed description of the Dataset.") + description?: string; + + @doc("Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.") + payload?: string; + + @doc("Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.") + timestamp?: string; + + @doc("Time to live for individual records.") + ttl?: string; + + @doc("List of keys that can be used for joining on enrich.") + keys?: Record; + + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; +} + +@doc("Key that can be used for joining on enrich.") +model DatasetPropertyKey { + @doc("Path to the input value from the message.") + path: string; + + @doc("If true the property will be used as a primary key. At most one primary key can exists.") + primaryKey?: boolean; +} + +@armResourceOperations +interface Datasets { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + update is ArmCustomPatchSync; + delete is ArmResourceDeleteWithoutOkAsync; + listByInstance is ArmResourceListByParent; +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..7a2a80552a5e --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "Datasets create or update - generated by [MaximumSet] rule", + "operationId": "Datasets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "xh--6h732-2-6-21-4513-2-597q-5412971q", + "datasetName": "709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477", + "resource": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1db7e1d2768e --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Datasets_Delete - generated by [MaximumSet] rule", + "operationId": "Datasets_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "6j580e8v-9wja6361-2jr212f--m", + "datasetName": "8-3j5f43z" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d0a116036c6 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Datasets_Get - generated by [MaximumSet] rule", + "operationId": "Datasets_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "d8-556-7343d--126-21-6187034w-g-26-03--176od-2", + "datasetName": "l-c1q8249l" + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_ListByInstance_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_ListByInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..1387e7dfd488 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_ListByInstance_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Datasets_ListByInstance - generated by [MaximumSet] rule", + "operationId": "Datasets_ListByInstance", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "43v87---75-8427ivdy5" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "jsnpmwkzsvchrhugocmf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/axpt" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..08cb716ab4eb --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Datasets_Update_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Datasets_Update - generated by [MaximumSet] rule", + "operationId": "Datasets_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "60b-93eu93872-r9i841-82j2-02h3q", + "datasetName": "7x69q1-29-82---k5-y44154gm-8772--6i59d88--1l", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..476e3923ce69 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Instances create or update - generated by [MaximumSet] rule", + "operationId": "Instances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "15wp-47-e60s18w", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1082f5143bf3 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instances_Delete - generated by [MaximumSet] rule", + "operationId": "Instances_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "g06o-m-f--xn-e---l8-y0ol4-93-xv-p" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..75b59092c7de --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "Instances_Get - generated by [MaximumSet] rule", + "operationId": "Instances_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "68y7b-p-5" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..a4ce41d90962 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "Instances_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Instances_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "description": "xayvphxazvurab" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/agwaevo" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..5fd003562f44 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "Instances_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Instances_ListBySubscription", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "description": "xayvphxazvurab" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/agwaevo" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..0908ce4bf066 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Instances_Update_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "Instances_Update - generated by [MaximumSet] rule", + "operationId": "Instances_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "4----il3s--w-9l5-b-o--7o7--711do420-c", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Operations_List_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b21f691388ff --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-04-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kkhklxjinpwcjdyexo", + "isDataAction": true, + "display": { + "provider": "lhhibbvdvrnsytdjallix", + "resource": "eubymobzxjieirublwdn", + "operation": "gksdqiwky", + "description": "rtmprdx" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "mpunetyzvrapzowiibdialfmcwwj" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b9271cf91e6e --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "title": "Pipelines create or update - generated by [MaximumSet] rule", + "operationId": "Pipelines_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "056k5pl8t7761-2--ej25u2l28ttb-22mh79-75-2ch-t8", + "pipelineName": "j8-8--3", + "resource": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..66bcf32b75c1 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Pipelines_Delete - generated by [MaximumSet] rule", + "operationId": "Pipelines_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "431--xiw", + "pipelineName": "17q9is-5-93274-gw-et5d12k--89-15-6-q2" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b3c89a6f99f0 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Get_MaximumSet_Gen.json @@ -0,0 +1,55 @@ +{ + "title": "Pipelines_Get - generated by [MaximumSet] rule", + "operationId": "Pipelines_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "y6v-4q7idq6nb26-m", + "pipelineName": "780-7k228----5-363--l175671g-58m--6631-6kv70c4-8v" + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_ListByInstance_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_ListByInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..334a1fd47599 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_ListByInstance_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "Pipelines_ListByInstance - generated by [MaximumSet] rule", + "operationId": "Pipelines_ListByInstance", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "54lly65-7-8k5mc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enabled": true, + "input": { + "name": "laavm", + "type": "txknylfmcc", + "next": [ + "hhxhyracksyuxazxnirrxozzkro" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "rjkrodr" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e3e1d3f2e86f --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/examples/Pipelines_Update_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "Pipelines_Update - generated by [MaximumSet] rule", + "operationId": "Pipelines_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "i4-55-33-69r-2--55rfimw2", + "pipelineName": "l6-h784r7431632581-1hg-2x-8755-62h5--67l8-h-pq51-l7834pgx", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/instance.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/instance.tsp new file mode 100644 index 000000000000..995685f4d22d --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/instance.tsp @@ -0,0 +1,51 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-providerhub"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./common.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.IoTOperationsDataProcessor; + +@doc("A Instance resource is a logical container for a set of child resources.") +model Instance is TrackedResource { + @doc("Name of instance.") + @key("instanceName") + @segment("instances") + @pattern("^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$") + @path + name: string; + + // Extended location is not included in TrackedResource yet + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" + @doc("Edge location of the resource.") + @visibility("read", "create") + extendedLocation: ExtendedLocation; +} + +@doc("The properties of a Instance resource.") +model InstanceProperties { + @doc("Detailed description of the Instance.") + description?: string; + + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; +} + +@armResourceOperations +interface Instances { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + update is ArmCustomPatchSync; + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/main.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/main.tsp new file mode 100644 index 000000000000..5687238b817a --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/main.tsp @@ -0,0 +1,26 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-providerhub"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./instance.tsp"; +import "./pipeline.tsp"; +import "./dataset.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +#suppress "@azure-tools/typespec-azure-core/casing-style" +@armProviderNamespace +@service({ + title: "Microsoft.IoTOperationsDataProcessor management service.", + version: "2023-10-04-preview", +}) +@doc("Microsoft.IoTOperationsDataProcessor Resource Provider management API.") +@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) +namespace Microsoft.IoTOperationsDataProcessor; + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/pipeline.tsp b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/pipeline.tsp new file mode 100644 index 000000000000..5c906feb41b0 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/pipeline.tsp @@ -0,0 +1,91 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-providerhub"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./common.tsp"; +import "./instance.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.IoTOperationsDataProcessor; + +@doc("A Pipeline resource belonging to an Instance resource.") +@parentResource(Instance) +model Pipeline is TrackedResource { + @doc("Name of pipeline") + @key("pipelineName") + @segment("pipelines") + @pattern("^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$") + @path + name: string; + + // Extended location is not included in TrackedResource yet + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" + @doc("Edge location of the resource.") + @visibility("read", "create") + extendedLocation: ExtendedLocation; +} + +@doc("The properties of a Pipeline resource.") +model PipelineProperties { + @doc("Detailed description of the Pipeline.") + description?: string; + + @doc("Flag indicating whether the pipeline should be running or not.") + enabled: boolean; + + #suppress "@azure-tools/typespec-azure-core/bad-record-type" + @doc("Information about where to pull input data from.") + input: PipelineInput; + + #suppress "@azure-tools/typespec-azure-core/bad-record-type" + @doc("Map of stage ids to stage configurations for all pipeline processing and output stages.") + stages: Record; + + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; +} + +#suppress "@azure-tools/typespec-azure-core/bad-record-type" +@doc("Stage configuration for Pipeline input stage.") +model PipelineInput is Record { + @doc("ARM resource type.") + type: string; + + @doc("Description for stage.") + description?: string; + + @doc("Next stage in the pipeline.") + next: string[]; +} + +#suppress "@azure-tools/typespec-azure-core/bad-record-type" +@doc("Stage configurations for all Pipeline processing and output stages.") +model PipelineStage is Record { + @doc("ARM resource type.") + type: string; + + @doc("Description for stage.") + description?: string; + + @doc("Next stage in the pipeline. Not required if output stage.") + next?: string[]; +} + +@armResourceOperations +interface Pipelines { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + update is ArmCustomPatchSync; + delete is ArmResourceDeleteWithoutOkAsync; + listByInstance is ArmResourceListByParent; +} + +// PipelineStages should not use 'is Record'. Use 'is Record' instead.TypeSpec(@azure-tools/typespec-azure-core/bad-record-type) diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml new file mode 100644 index 000000000000..cf5dc799e281 --- /dev/null +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml @@ -0,0 +1,11 @@ +emit: + - '@azure-tools/typespec-autorest' +options: + '@azure-tools/typespec-autorest': + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + examples-directory: "{project-root}/examples" +linter: + extends: + - "@azure-tools/typespec-azure-resource-manager/all" diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..7a2a80552a5e --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "Datasets create or update - generated by [MaximumSet] rule", + "operationId": "Datasets_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "xh--6h732-2-6-21-4513-2-597q-5412971q", + "datasetName": "709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477", + "resource": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1db7e1d2768e --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Datasets_Delete - generated by [MaximumSet] rule", + "operationId": "Datasets_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "6j580e8v-9wja6361-2jr212f--m", + "datasetName": "8-3j5f43z" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d0a116036c6 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Datasets_Get - generated by [MaximumSet] rule", + "operationId": "Datasets_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "d8-556-7343d--126-21-6187034w-g-26-03--176od-2", + "datasetName": "l-c1q8249l" + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_ListByInstance_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_ListByInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..1387e7dfd488 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_ListByInstance_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "Datasets_ListByInstance - generated by [MaximumSet] rule", + "operationId": "Datasets_ListByInstance", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "43v87---75-8427ivdy5" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "jsnpmwkzsvchrhugocmf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/axpt" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..08cb716ab4eb --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Datasets_Update_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "Datasets_Update - generated by [MaximumSet] rule", + "operationId": "Datasets_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "60b-93eu93872-r9i841-82j2-02h3q", + "datasetName": "7x69q1-29-82---k5-y44154gm-8772--6i59d88--1l", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "payload": ".value", + "timestamp": ".timestamp", + "ttl": "72h", + "keys": {}, + "provisioningState": "Succeeded", + "description": "pakdvhh" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/datasets/IoTOperationsDataProcessor-dataset-name", + "name": "IoTOperationsDataProcessor-dataset-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/datasets", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..476e3923ce69 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "Instances create or update - generated by [MaximumSet] rule", + "operationId": "Instances_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "15wp-47-e60s18w", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1082f5143bf3 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instances_Delete - generated by [MaximumSet] rule", + "operationId": "Instances_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "g06o-m-f--xn-e---l8-y0ol4-93-xv-p" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..75b59092c7de --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "Instances_Get - generated by [MaximumSet] rule", + "operationId": "Instances_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "68y7b-p-5" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..a4ce41d90962 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "Instances_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "Instances_ListByResourceGroup", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "description": "xayvphxazvurab" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/agwaevo" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..5fd003562f44 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "Instances_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "Instances_ListBySubscription", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "description": "xayvphxazvurab" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/agwaevo" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..0908ce4bf066 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Instances_Update_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "title": "Instances_Update - generated by [MaximumSet] rule", + "operationId": "Instances_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "4----il3s--w-9l5-b-o--7o7--711do420-c", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "description": "ytazzjdwgnnwsmexqasgpyabrtkgtf" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name", + "name": "IoTOperationsDataProcessor-instance-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b21f691388ff --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-10-04-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kkhklxjinpwcjdyexo", + "isDataAction": true, + "display": { + "provider": "lhhibbvdvrnsytdjallix", + "resource": "eubymobzxjieirublwdn", + "operation": "gksdqiwky", + "description": "rtmprdx" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "mpunetyzvrapzowiibdialfmcwwj" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b9271cf91e6e --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "title": "Pipelines create or update - generated by [MaximumSet] rule", + "operationId": "Pipelines_CreateOrUpdate", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "056k5pl8t7761-2--ej25u2l28ttb-22mh79-75-2ch-t8", + "pipelineName": "j8-8--3", + "resource": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Delete_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..66bcf32b75c1 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Pipelines_Delete - generated by [MaximumSet] rule", + "operationId": "Pipelines_Delete", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "431--xiw", + "pipelineName": "17q9is-5-93274-gw-et5d12k--89-15-6-q2" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Get_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b3c89a6f99f0 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Get_MaximumSet_Gen.json @@ -0,0 +1,55 @@ +{ + "title": "Pipelines_Get - generated by [MaximumSet] rule", + "operationId": "Pipelines_Get", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "y6v-4q7idq6nb26-m", + "pipelineName": "780-7k228----5-363--l175671g-58m--6631-6kv70c4-8v" + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_ListByInstance_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_ListByInstance_MaximumSet_Gen.json new file mode 100644 index 000000000000..334a1fd47599 --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_ListByInstance_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "title": "Pipelines_ListByInstance - generated by [MaximumSet] rule", + "operationId": "Pipelines_ListByInstance", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "54lly65-7-8k5mc" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enabled": true, + "input": { + "name": "laavm", + "type": "txknylfmcc", + "next": [ + "hhxhyracksyuxazxnirrxozzkro" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "rjkrodr" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Update_MaximumSet_Gen.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e3e1d3f2e86f --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/examples/Pipelines_Update_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "Pipelines_Update - generated by [MaximumSet] rule", + "operationId": "Pipelines_Update", + "parameters": { + "api-version": "2023-10-04-preview", + "subscriptionId": "e0aaa3df-e9a4-456a-9824-3c3b5c438110", + "resourceGroupName": "rgopenapi", + "instanceName": "i4-55-33-69r-2--55rfimw2", + "pipelineName": "l6-h784r7431632581-1hg-2x-8755-62h5--67l8-h-pq51-l7834pgx", + "properties": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enabled": true, + "input": { + "name": "fqcflyo", + "type": "xrnubjkvzajxjzb", + "next": [ + "umnuwjk" + ] + }, + "stages": { + "stageId": { + "name": "qplexmhpzdnowwijqpoqxn", + "type": "cxqgblrzqniowabexbztempdpkuib", + "next": [ + "gxqgqh" + ] + } + }, + "provisioningState": "Succeeded", + "description": "vayzklhg" + }, + "extendedLocation": { + "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space", + "type": "CustomLocation" + }, + "tags": {}, + "location": "westus", + "id": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.IoTOperationsDataProcessor/instances/IoTOperationsDataProcessor-instance-name/pipelines/IoTOperationsDataProcessor-pipeline-name", + "name": "IoTOperationsDataProcessor-pipeline-name", + "type": "Microsoft.IoTOperationsDataProcessor/instances/pipelines", + "systemData": { + "createdBy": "IoTOperationsDataProcessor@contoso.com", + "createdByType": "User", + "createdAt": "2023-07-14T23:18:33.262Z", + "lastModifiedBy": "IoTOperationsDataProcessor@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-14T23:18:33.262Z" + } + } + } + } +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/openapi.json b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/openapi.json new file mode 100644 index 000000000000..4449851959ce --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/openapi.json @@ -0,0 +1,1456 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.IoTOperationsDataProcessor management service.", + "version": "2023-10-04-preview", + "description": "Microsoft.IoTOperationsDataProcessor Resource Provider management API.", + "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": "Instances" + }, + { + "name": "Pipelines" + }, + { + "name": "Datasets" + } + ], + "paths": { + "/providers/Microsoft.IoTOperationsDataProcessor/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 - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.IoTOperationsDataProcessor/instances": { + "get": { + "operationId": "Instances_ListBySubscription", + "tags": [ + "Instances" + ], + "description": "List Instance 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/InstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instances_ListBySubscription - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_ListBySubscription_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances": { + "get": { + "operationId": "Instances_ListByResourceGroup", + "tags": [ + "Instances" + ], + "description": "List Instance 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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instances_ListByResourceGroup - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}": { + "get": { + "operationId": "Instances_Get", + "tags": [ + "Instances" + ], + "description": "Get a Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instances_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Instances_CreateOrUpdate", + "tags": [ + "Instances" + ], + "description": "Create a Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Instance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Instance' update operation succeeded", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "201": { + "description": "Resource 'Instance' create operation succeeded", + "schema": { + "$ref": "#/definitions/Instance" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instances create or update - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Instances_Update", + "tags": [ + "Instances" + ], + "description": "Update a Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InstanceTagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Instance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instances_Update - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Instances_Delete", + "tags": [ + "Instances" + ], + "description": "Delete a Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Instances_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/Instances_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/datasets": { + "get": { + "operationId": "Datasets_ListByInstance", + "tags": [ + "Datasets" + ], + "description": "List Dataset resources by Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DatasetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datasets_ListByInstance - generated by [MaximumSet] rule": { + "$ref": "./examples/Datasets_ListByInstance_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/datasets/{datasetName}": { + "get": { + "operationId": "Datasets_Get", + "tags": [ + "Datasets" + ], + "description": "Get a Dataset", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "datasetName", + "in": "path", + "description": "Name of dataset.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Dataset" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datasets_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/Datasets_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Datasets_CreateOrUpdate", + "tags": [ + "Datasets" + ], + "description": "Create a Dataset", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "datasetName", + "in": "path", + "description": "Name of dataset.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Dataset" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Dataset' update operation succeeded", + "schema": { + "$ref": "#/definitions/Dataset" + } + }, + "201": { + "description": "Resource 'Dataset' create operation succeeded", + "schema": { + "$ref": "#/definitions/Dataset" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datasets create or update - generated by [MaximumSet] rule": { + "$ref": "./examples/Datasets_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Datasets_Update", + "tags": [ + "Datasets" + ], + "description": "Update a Dataset", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "datasetName", + "in": "path", + "description": "Name of dataset.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/DatasetTagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Dataset" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Datasets_Update - generated by [MaximumSet] rule": { + "$ref": "./examples/Datasets_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Datasets_Delete", + "tags": [ + "Datasets" + ], + "description": "Delete a Dataset", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "datasetName", + "in": "path", + "description": "Name of dataset.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Datasets_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/Datasets_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/pipelines": { + "get": { + "operationId": "Pipelines_ListByInstance", + "tags": [ + "Pipelines" + ], + "description": "List Pipeline resources by Instance", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PipelineListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pipelines_ListByInstance - generated by [MaximumSet] rule": { + "$ref": "./examples/Pipelines_ListByInstance_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/pipelines/{pipelineName}": { + "get": { + "operationId": "Pipelines_Get", + "tags": [ + "Pipelines" + ], + "description": "Get a Pipeline", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "pipelineName", + "in": "path", + "description": "Name of pipeline", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pipelines_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/Pipelines_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Pipelines_CreateOrUpdate", + "tags": [ + "Pipelines" + ], + "description": "Create a Pipeline", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "pipelineName", + "in": "path", + "description": "Name of pipeline", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Pipeline" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Pipeline' update operation succeeded", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "201": { + "description": "Resource 'Pipeline' create operation succeeded", + "schema": { + "$ref": "#/definitions/Pipeline" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pipelines create or update - generated by [MaximumSet] rule": { + "$ref": "./examples/Pipelines_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Pipelines_Update", + "tags": [ + "Pipelines" + ], + "description": "Update a Pipeline", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "pipelineName", + "in": "path", + "description": "Name of pipeline", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineTagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Pipeline" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pipelines_Update - generated by [MaximumSet] rule": { + "$ref": "./examples/Pipelines_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Pipelines_Delete", + "tags": [ + "Pipelines" + ], + "description": "Delete a Pipeline", + "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": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + }, + { + "name": "pipelineName", + "in": "path", + "description": "Name of pipeline", + "required": true, + "type": "string", + "pattern": "^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "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": { + "Pipelines_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/Pipelines_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Dataset": { + "type": "object", + "description": "A Dataset resource belonging to an Instance resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DatasetProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "DatasetListResult": { + "type": "object", + "description": "The response of a Dataset list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Dataset items on this page", + "items": { + "$ref": "#/definitions/Dataset" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DatasetProperties": { + "type": "object", + "description": "The properties of a Dataset resource.", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the Dataset." + }, + "payload": { + "type": "string", + "description": "Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes." + }, + "timestamp": { + "type": "string", + "description": "Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins." + }, + "ttl": { + "type": "string", + "description": "Time to live for individual records." + }, + "keys": { + "type": "object", + "description": "List of keys that can be used for joining on enrich.", + "additionalProperties": { + "$ref": "#/definitions/DatasetPropertyKey" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "DatasetPropertyKey": { + "type": "object", + "description": "Key that can be used for joining on enrich.", + "properties": { + "path": { + "type": "string", + "description": "Path to the input value from the message." + }, + "primaryKey": { + "type": "boolean", + "description": "If true the property will be used as a primary key. At most one primary key can exists." + } + }, + "required": [ + "path" + ] + }, + "DatasetTagsUpdate": { + "type": "object", + "description": "The type used for updating tags in Dataset resources.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ExtendedLocation": { + "type": "object", + "description": "Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "type": "string", + "description": "The type of the extended location." + } + }, + "required": [ + "name", + "type" + ] + }, + "Instance": { + "type": "object", + "description": "A Instance resource is a logical container for a set of child resources.", + "properties": { + "properties": { + "$ref": "#/definitions/InstanceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "InstanceListResult": { + "type": "object", + "description": "The response of a Instance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Instance items on this page", + "items": { + "$ref": "#/definitions/Instance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InstanceProperties": { + "type": "object", + "description": "The properties of a Instance resource.", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the Instance." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "InstanceTagsUpdate": { + "type": "object", + "description": "The type used for updating tags in Instance resources.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "Pipeline": { + "type": "object", + "description": "A Pipeline resource belonging to an Instance resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PipelineProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "PipelineInput": { + "type": "object", + "description": "Stage configuration for Pipeline input stage.", + "properties": { + "type": { + "type": "string", + "description": "ARM resource type." + }, + "description": { + "type": "string", + "description": "Description for stage." + }, + "next": { + "type": "array", + "description": "Next stage in the pipeline.", + "items": { + "type": "string" + } + } + }, + "required": [ + "type", + "next" + ], + "additionalProperties": {} + }, + "PipelineListResult": { + "type": "object", + "description": "The response of a Pipeline list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Pipeline items on this page", + "items": { + "$ref": "#/definitions/Pipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PipelineProperties": { + "type": "object", + "description": "The properties of a Pipeline resource.", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the Pipeline." + }, + "enabled": { + "type": "boolean", + "description": "Flag indicating whether the pipeline should be running or not." + }, + "input": { + "$ref": "#/definitions/PipelineInput", + "description": "Information about where to pull input data from." + }, + "stages": { + "type": "object", + "description": "Map of stage ids to stage configurations for all pipeline processing and output stages.", + "additionalProperties": { + "$ref": "#/definitions/PipelineStage" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "enabled", + "input", + "stages" + ] + }, + "PipelineStage": { + "type": "object", + "description": "Stage configurations for all Pipeline processing and output stages.", + "properties": { + "type": { + "type": "string", + "description": "ARM resource type." + }, + "description": { + "type": "string", + "description": "Description for stage." + }, + "next": { + "type": "array", + "description": "Next stage in the pipeline. Not required if output stage.", + "items": { + "type": "string" + } + } + }, + "required": [ + "type" + ], + "additionalProperties": {} + }, + "PipelineTagsUpdate": { + "type": "object", + "description": "The type used for updating tags in Pipeline resources.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "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", + "description": "The resource is being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource was accepted by the server." + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/iotoperationsdataprocessor/resource-manager/readme.md b/specification/iotoperationsdataprocessor/resource-manager/readme.md new file mode 100644 index 000000000000..3b30a992efba --- /dev/null +++ b/specification/iotoperationsdataprocessor/resource-manager/readme.md @@ -0,0 +1,40 @@ +# IoTOperationsDataProcessor + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for IoTOperationsDataProcessor. + +## 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 IoTOperationsDataProcessor. + +```yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-2023-10-04-preview +``` + +### Tag: package-2023-10-04-preview + +These settings apply only when `--tag=package-2023-10-04-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-10-04-preview' +input-file: + - Microsoft.IoTOperationsDataProcessor/preview/2023-10-04-preview/openapi.json +```