From 72f207acc7de0c8103b6f1abfee37f957e74c814 Mon Sep 17 00:00:00 2001 From: Sebastian Herzig-Patel Date: Wed, 23 Nov 2022 16:39:08 -0800 Subject: [PATCH 1/5] Adds base for updating Microsoft.DigitalTwins from version stable/2022-10-31 to version 2023-01-31 --- .../stable/2023-01-31/digitaltwins.json | 2301 +++++++++++++++++ ...talTwinsCheckNameAvailability_example.json | 20 + ...gitalTwinsDelete_WithIdentity_example.json | 70 + .../examples/DigitalTwinsDelete_example.json | 60 + ...nsEndpointDelete_WithIdentity_example.json | 63 + .../DigitalTwinsEndpointDelete_example.json | 63 + ...TwinsEndpointGet_WithIdentity_example.json | 34 + .../DigitalTwinsEndpointGet_example.json | 34 + ...TwinsEndpointPut_WithIdentity_example.json | 70 + ...sEndpointPut_WithUserIdentity_example.json | 82 + .../DigitalTwinsEndpointPut_example.json | 70 + ...winsEndpointsGet_WithIdentity_example.json | 58 + .../DigitalTwinsEndpointsGet_example.json | 58 + .../DigitalTwinsGet_WithIdentity_example.json | 44 + ...WithPrivateEndpointConnection_example.json | 51 + .../examples/DigitalTwinsGet_example.json | 33 + ...gitalTwinsListByResourceGroup_example.json | 58 + .../examples/DigitalTwinsList_example.json | 57 + .../DigitalTwinsOperationsList_example.json | 54 + ...igitalTwinsPatch_WithIdentity_example.json | 72 + ...talTwinsPatch_WithPublicNetworkAccess.json | 72 + .../examples/DigitalTwinsPatch_example.json | 72 + .../DigitalTwinsPut_WithIdentity_example.json | 90 + ...gitalTwinsPut_WithPublicNetworkAccess.json | 67 + .../examples/DigitalTwinsPut_example.json | 67 + ...intConnectionByConnectionName_example.json | 29 + ...ivateEndpointConnectionDelete_example.json | 20 + .../PrivateEndpointConnectionPut_example.json | 64 + ...rivateEndpointConnectionsList_example.json | 32 + ...PrivateLinkResourcesByGroupId_example.json | 27 + .../PrivateLinkResourcesList_example.json | 30 + ...riesDatabaseConnectionsDelete_example.json | 54 + ...eSeriesDatabaseConnectionsGet_example.json | 30 + ...SeriesDatabaseConnectionsList_example.json | 32 + ...nnectionsPut_WithUserIdentity_example.json | 78 + ...eSeriesDatabaseConnectionsPut_example.json | 66 + 36 files changed, 4182 insertions(+) create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json create mode 100644 specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json new file mode 100644 index 000000000000..55db9c506036 --- /dev/null +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json @@ -0,0 +1,2301 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-10-31", + "title": "AzureDigitalTwinsManagementClient", + "description": "Azure Digital Twins Client for managing DigitalTwinsInstance" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "Impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}": { + "get": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Get DigitalTwinsInstances resource.", + "operationId": "DigitalTwins_Get", + "x-ms-examples": { + "Get a DigitalTwinsInstance resource": { + "$ref": "./examples/DigitalTwinsGet_example.json" + }, + "Get a DigitalTwinsInstance resource with identity": { + "$ref": "./examples/DigitalTwinsGet_WithIdentity_example.json" + }, + "Get a DigitalTwinsInstance resource with a private endpoint connection": { + "$ref": "./examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all the non-security properties of the DigitalTwinsInstance. Security-related properties are set to null.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified values in a new body to update the DigitalTwinsInstance.", + "operationId": "DigitalTwins_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Put a DigitalTwinsInstance resource": { + "$ref": "./examples/DigitalTwinsPut_example.json" + }, + "Put a DigitalTwinsInstance resource with identity": { + "$ref": "./examples/DigitalTwinsPut_WithIdentity_example.json" + }, + "Put a DigitalTwinsInstance resource with publicNetworkAccess property": { + "$ref": "./examples/DigitalTwinsPut_WithPublicNetworkAccess.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "digitalTwinsCreate", + "in": "body", + "description": "The DigitalTwinsInstance and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + } + ], + "responses": { + "200": { + "description": "This is returned as a response when the resource already exists and was updated successfully.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "201": { + "description": "Created - Put request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Update metadata of DigitalTwinsInstance.", + "operationId": "DigitalTwins_Update", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Patch a DigitalTwinsInstance resource": { + "$ref": "./examples/DigitalTwinsPatch_example.json" + }, + "Patch a DigitalTwinsInstance resource with identity": { + "$ref": "./examples/DigitalTwinsPatch_WithIdentity_example.json" + }, + "Patch a DigitalTwinsInstance resource with publicNetworkAccess property": { + "$ref": "./examples/DigitalTwinsPatch_WithPublicNetworkAccess.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "digitalTwinsPatchDescription", + "in": "body", + "description": "The DigitalTwinsInstance and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/DigitalTwinsPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "202": { + "description": "Accepted - Patch request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Delete a DigitalTwinsInstance.", + "operationId": "DigitalTwins_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a DigitalTwinsInstance resource": { + "$ref": "./examples/DigitalTwinsDelete_example.json" + }, + "Delete a DigitalTwinsInstance resource with identity": { + "$ref": "./examples/DigitalTwinsDelete_WithIdentity_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Returned if the operation was canceled or failed.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescription" + } + }, + "204": { + "description": "Returned when the long running delete operation has finished, or the Digital Twins instance does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints": { + "get": { + "tags": [ + "Endpoints" + ], + "description": "Get DigitalTwinsInstance Endpoints.", + "operationId": "DigitalTwinsEndpoint_List", + "x-ms-examples": { + "Get a DigitalTwinsInstance endpoints": { + "$ref": "./examples/DigitalTwinsEndpointsGet_example.json" + }, + "Get a DigitalTwinsInstance endpoints with identity": { + "$ref": "./examples/DigitalTwinsEndpointsGet_WithIdentity_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all the non-security properties of the DigitalTwinsInstance. Security-related properties are set to null.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}": { + "get": { + "tags": [ + "Endpoints" + ], + "description": "Get DigitalTwinsInstances Endpoint.", + "operationId": "DigitalTwinsEndpoint_Get", + "x-ms-examples": { + "Get a DigitalTwinsInstance endpoint": { + "$ref": "./examples/DigitalTwinsEndpointGet_example.json" + }, + "Get a DigitalTwinsInstance endpoint with identity": { + "$ref": "./examples/DigitalTwinsEndpointGet_WithIdentity_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/endpointName" + } + ], + "responses": { + "200": { + "description": "The body contains all the non-security properties of the DigitalTwinsInstance. Security-related properties are set to null.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Endpoints" + ], + "description": "Create or update DigitalTwinsInstance endpoint.", + "operationId": "DigitalTwinsEndpoint_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Put a DigitalTwinsEndpoint resource": { + "$ref": "./examples/DigitalTwinsEndpointPut_example.json" + }, + "Put a DigitalTwinsEndpoint resource with identity": { + "$ref": "./examples/DigitalTwinsEndpointPut_WithIdentity_example.json" + }, + "Put a DigitalTwinsEndpoint resource with user assigned identity": { + "$ref": "./examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/endpointName" + }, + { + "name": "endpointDescription", + "in": "body", + "description": "The DigitalTwinsInstance endpoint metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + }, + "201": { + "description": "Created - Put request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Endpoints" + ], + "description": "Delete a DigitalTwinsInstance endpoint.", + "operationId": "DigitalTwinsEndpoint_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a DigitalTwinsInstance endpoint": { + "$ref": "./examples/DigitalTwinsEndpointDelete_example.json" + }, + "Delete a DigitalTwinsInstance endpoint with identity": { + "$ref": "./examples/DigitalTwinsEndpointDelete_WithIdentity_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/endpointName" + } + ], + "responses": { + "200": { + "description": "Returned if the operation was canceled or failed.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/DigitalTwinsEndpointResource" + } + }, + "204": { + "description": "Returned when the long running delete operation has finished, or the egress endpoint does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances": { + "get": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Get all the DigitalTwinsInstances in a subscription.", + "operationId": "DigitalTwins_List", + "x-ms-examples": { + "Get DigitalTwinsInstance resources by subscription": { + "$ref": "./examples/DigitalTwinsList_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the DigitalTwinsInstances in the subscription.", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescriptionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances": { + "get": { + "tags": [ + "DigitalTwinsInstance" + ], + "description": "Get all the DigitalTwinsInstances in a resource group.", + "operationId": "DigitalTwins_ListByResourceGroup", + "x-ms-examples": { + "Get DigitalTwinsInstance resources by resource group": { + "$ref": "./examples/DigitalTwinsListByResourceGroup_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the DigitalTwinsInstances in the resource group. If more data is available, the body will contain a link to the next page of items (nextLink).", + "schema": { + "$ref": "#/definitions/DigitalTwinsDescriptionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.DigitalTwins/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available DigitalTwins service REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "Get available operations": { + "$ref": "./examples/DigitalTwinsOperationsList_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability" + ], + "description": "Check if a DigitalTwinsInstance name is available.", + "operationId": "DigitalTwins_CheckNameAvailability", + "x-ms-examples": { + "Check name Availability": { + "$ref": "./examples/DigitalTwinsCheckNameAvailability_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/location" + }, + { + "name": "digitalTwinsInstanceCheckName", + "in": "body", + "description": "Set the name parameter in the DigitalTwinsInstanceCheckName structure to the name of the DigitalTwinsInstance to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameRequest" + } + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the DigitalTwins service name is available. If the name is not available, the body contains the reason.", + "schema": { + "$ref": "#/definitions/CheckNameResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "description": "List private link resources for given Digital Twin.", + "operationId": "PrivateLinkResources_List", + "x-ms-examples": { + "List private link resources for given Digital Twin": { + "$ref": "./examples/PrivateLinkResourcesList_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains the list of private link resources.", + "schema": { + "$ref": "#/definitions/GroupIdInformationResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "description": "Get the specified private link resource for the given Digital Twin.", + "operationId": "PrivateLinkResources_Get", + "x-ms-examples": { + "Get the specified private link resource for the given Digital Twin": { + "$ref": "./examples/PrivateLinkResourcesByGroupId_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/resourceId" + } + ], + "responses": { + "200": { + "description": "The body contains the specified of private link resource.", + "schema": { + "$ref": "#/definitions/GroupIdInformation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "description": "List private endpoint connection properties.", + "operationId": "PrivateEndpointConnections_List", + "x-ms-examples": { + "List private endpoint connection properties": { + "$ref": "./examples/PrivateEndpointConnectionsList_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains the list of private endpoint connection properties.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionsResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpoints" + ], + "description": "Get private endpoint connection properties for the given private endpoint.", + "operationId": "PrivateEndpointConnections_Get", + "x-ms-examples": { + "Get private endpoint connection properties for the given private endpoint": { + "$ref": "./examples/PrivateEndpointConnectionByConnectionName_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/privateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "The body contains the private endpoint connection properties.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "PrivateEndpoints" + ], + "description": "Delete private endpoint connection with the specified name.", + "operationId": "PrivateEndpointConnections_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete private endpoint connection with the specified name": { + "$ref": "./examples/PrivateEndpointConnectionDelete_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/privateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "Returned when the long running delete operation has failed, and has reached a terminal state." + }, + "202": { + "description": "This is a long running operation. The operation returns a 202 if the validation is complete. The response includes an Azure-AsyncOperation header that contains a status URL. Clients are expected to poll the status URL for the status of the operation. The status URL returns 204 No Content when the deletion is complete." + }, + "204": { + "description": "Returned when the long running delete operation has finished, or the private endpoint does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "PrivateEndpoints" + ], + "description": "Update the status of a private endpoint connection with the given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update the status of a private endpoint connection with the given name": { + "$ref": "./examples/PrivateEndpointConnectionPut_example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/privateEndpointConnectionName" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The private endpoint connection with updated properties.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "202": { + "description": "This is a long running operation. The operation returns a 202 if the validation is complete. The response includes an Azure-AsyncOperation header that contains a status URL. Clients are expected to poll the status URL for the status of the operation. If successful, the operation returns HTTP status code of 200 (OK).", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "200": { + "description": "This is returned as a response when the resource already exists and was updated successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections": { + "get": { + "tags": [ + "TimeSeriesDatabaseConnections" + ], + "description": "Get all existing time series database connections for this DigitalTwins instance.", + "operationId": "TimeSeriesDatabaseConnections_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "List of time series database connections for this DigitalTwins instance.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List time series database connections for a DigitalTwins instance.": { + "$ref": "./examples/TimeSeriesDatabaseConnectionsList_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}": { + "get": { + "tags": [ + "TimeSeriesDatabaseConnections" + ], + "description": "Get the description of an existing time series database connection.", + "operationId": "TimeSeriesDatabaseConnections_Get", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/timeSeriesDatabaseConnectionName" + } + ], + "responses": { + "200": { + "description": "Description of the time series connection.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get time series database connection for a DigitalTwins instance.": { + "$ref": "./examples/TimeSeriesDatabaseConnectionsGet_example.json" + } + } + }, + "put": { + "tags": [ + "TimeSeriesDatabaseConnections" + ], + "description": "Create or update a time series database connection.", + "operationId": "TimeSeriesDatabaseConnections_CreateOrUpdate", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/timeSeriesDatabaseConnectionName" + }, + { + "name": "timeSeriesDatabaseConnectionDescription", + "in": "body", + "description": "The time series database connection description.", + "required": true, + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + } + ], + "responses": { + "200": { + "description": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + }, + "201": { + "description": "Created - Put request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or replace a time series database connection for a DigitalTwins instance.": { + "$ref": "./examples/TimeSeriesDatabaseConnectionsPut_example.json" + }, + "Create or replace a time series database connection for a DigitalTwins instance with user assigned identity.": { + "$ref": "./examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json" + } + } + }, + "delete": { + "tags": [ + "TimeSeriesDatabaseConnections" + ], + "description": "Delete a time series database connection.", + "operationId": "TimeSeriesDatabaseConnections_Delete", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/timeSeriesDatabaseConnectionName" + } + ], + "responses": { + "200": { + "description": "Returned if the operation was canceled or failed.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/TimeSeriesDatabaseConnection" + } + }, + "204": { + "description": "Returned when the long running delete operation has finished, or the time series database connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a time series database connection for a DigitalTwins instance.": { + "$ref": "./examples/TimeSeriesDatabaseConnectionsDelete_example.json" + } + } + } + } + }, + "definitions": { + "DigitalTwinsPatchProperties": { + "description": "The properties of a DigitalTwinsInstance.", + "type": "object", + "properties": { + "publicNetworkAccess": { + "description": "Public network access for the DigitalTwinsInstance.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-nullable": true, + "x-ms-enum": { + "name": "publicNetworkAccess", + "modelAsString": true + } + } + } + }, + "DigitalTwinsProperties": { + "description": "The properties of a DigitalTwinsInstance.", + "type": "object", + "properties": { + "createdTime": { + "description": "Time when DigitalTwinsInstance was created.", + "readOnly": true, + "type": "string", + "format": "date-time" + }, + "lastUpdatedTime": { + "description": "Time when DigitalTwinsInstance was updated.", + "readOnly": true, + "type": "string", + "format": "date-time" + }, + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Provisioning", + "Deleting", + "Updating", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "Warning", + "Suspending", + "Restoring", + "Moving" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "hostName": { + "description": "Api endpoint to work with DigitalTwinsInstance.", + "type": "string", + "x-nullable": true, + "readOnly": true + }, + "privateEndpointConnections": { + "description": "The private endpoint connections.", + "type": "array", + "x-nullable": true, + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "publicNetworkAccess": { + "description": "Public network access for the DigitalTwinsInstance.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-nullable": true, + "x-ms-enum": { + "name": "publicNetworkAccess", + "modelAsString": true + } + } + } + }, + "DigitalTwinsDescription": { + "description": "The description of the DigitalTwins service.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "DigitalTwins instance properties.", + "$ref": "#/definitions/DigitalTwinsProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DigitalTwinsResource" + } + ] + }, + "DigitalTwinsPatchDescription": { + "description": "The description of the DigitalTwins service.", + "type": "object", + "properties": { + "tags": { + "description": "Instance patch properties", + "type": "object", + "x-nullable": true, + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "description": "The managed identity for the DigitalTwinsInstance.", + "x-nullable": true, + "$ref": "#/definitions/DigitalTwinsIdentity" + }, + "properties": { + "description": "Properties for the DigitalTwinsInstance.", + "x-nullable": true, + "$ref": "#/definitions/DigitalTwinsPatchProperties" + } + } + }, + "DigitalTwinsResource": { + "description": "The common properties of a DigitalTwinsInstance.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The resource identifier." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The resource name.", + "pattern": "^(?!-)[A-Za-z0-9-]{3,63}(? Date: Wed, 23 Nov 2022 16:39:12 -0800 Subject: [PATCH 2/5] Updates readme --- .../digitaltwins/resource-manager/readme.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/digitaltwins/resource-manager/readme.md b/specification/digitaltwins/resource-manager/readme.md index 8edbc4b7cc5a..8a66078013a9 100644 --- a/specification/digitaltwins/resource-manager/readme.md +++ b/specification/digitaltwins/resource-manager/readme.md @@ -26,18 +26,27 @@ These are the global settings for the digitaltwins. ``` yaml openapi-type: arm -tag: package-2022-10 +tag: package-2023-01 ``` +### Tag: package-2023-01 + +These settings apply only when `--tag=package-2023-01` is specified on the command line. + +```yaml $(tag) == 'package-2023-01' +input-file: + - Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json +``` ### Tag: package-2022-10 These settings apply only when `--tag=package-2022-10` is specified on the command line. -```yaml $(tag) == 'package-2022-10' +``` yaml $(tag) == 'package-2022-10' input-file: - Microsoft.DigitalTwins/stable/2022-10-31/digitaltwins.json ``` + ### Tag: package-2022-05 These settings apply only when `--tag=package-2022-05` is specified on the command line. From a9c0fd2be669857218b01237c8126393d08948cb Mon Sep 17 00:00:00 2001 From: Sebastian Herzig-Patel Date: Wed, 23 Nov 2022 16:39:16 -0800 Subject: [PATCH 3/5] Updates API version in new specs and examples --- .../Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json | 2 +- .../examples/DigitalTwinsCheckNameAvailability_example.json | 2 +- .../examples/DigitalTwinsDelete_WithIdentity_example.json | 2 +- .../stable/2023-01-31/examples/DigitalTwinsDelete_example.json | 2 +- .../DigitalTwinsEndpointDelete_WithIdentity_example.json | 2 +- .../2023-01-31/examples/DigitalTwinsEndpointDelete_example.json | 2 +- .../examples/DigitalTwinsEndpointGet_WithIdentity_example.json | 2 +- .../2023-01-31/examples/DigitalTwinsEndpointGet_example.json | 2 +- .../examples/DigitalTwinsEndpointPut_WithIdentity_example.json | 2 +- .../DigitalTwinsEndpointPut_WithUserIdentity_example.json | 2 +- .../2023-01-31/examples/DigitalTwinsEndpointPut_example.json | 2 +- .../examples/DigitalTwinsEndpointsGet_WithIdentity_example.json | 2 +- .../2023-01-31/examples/DigitalTwinsEndpointsGet_example.json | 2 +- .../examples/DigitalTwinsGet_WithIdentity_example.json | 2 +- .../DigitalTwinsGet_WithPrivateEndpointConnection_example.json | 2 +- .../stable/2023-01-31/examples/DigitalTwinsGet_example.json | 2 +- .../examples/DigitalTwinsListByResourceGroup_example.json | 2 +- .../stable/2023-01-31/examples/DigitalTwinsList_example.json | 2 +- .../2023-01-31/examples/DigitalTwinsOperationsList_example.json | 2 +- .../examples/DigitalTwinsPatch_WithIdentity_example.json | 2 +- .../examples/DigitalTwinsPatch_WithPublicNetworkAccess.json | 2 +- .../stable/2023-01-31/examples/DigitalTwinsPatch_example.json | 2 +- .../examples/DigitalTwinsPut_WithIdentity_example.json | 2 +- .../examples/DigitalTwinsPut_WithPublicNetworkAccess.json | 2 +- .../stable/2023-01-31/examples/DigitalTwinsPut_example.json | 2 +- .../PrivateEndpointConnectionByConnectionName_example.json | 2 +- .../examples/PrivateEndpointConnectionDelete_example.json | 2 +- .../examples/PrivateEndpointConnectionPut_example.json | 2 +- .../examples/PrivateEndpointConnectionsList_example.json | 2 +- .../examples/PrivateLinkResourcesByGroupId_example.json | 2 +- .../2023-01-31/examples/PrivateLinkResourcesList_example.json | 2 +- .../examples/TimeSeriesDatabaseConnectionsDelete_example.json | 2 +- .../examples/TimeSeriesDatabaseConnectionsGet_example.json | 2 +- .../examples/TimeSeriesDatabaseConnectionsList_example.json | 2 +- ...meSeriesDatabaseConnectionsPut_WithUserIdentity_example.json | 2 +- .../examples/TimeSeriesDatabaseConnectionsPut_example.json | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json index 55db9c506036..eca66583f078 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2022-10-31", + "version": "2023-01-31", "title": "AzureDigitalTwinsManagementClient", "description": "Azure Digital Twins Client for managing DigitalTwinsInstance" }, diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json index 778c9e0a5221..62e67e66d211 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "location": "WestUS2", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsInstanceCheckName": { "name": "myadtinstance", "type": "Microsoft.DigitalTwins/digitalTwinsInstances" diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json index 4f920f2f194c..d45ef1ca0043 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json index bd06527e7c53..19e49ece16eb 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json index 7cf40653970c..a04088b0fbdf 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "endpointName": "myendpoint", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json index d12343880da7..8dced710eefb 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "endpointName": "myendpoint", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json index ae9aa3b4c0a3..ebe2b75c8c17 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "endpointName": "myServiceBus", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json index ce2d9f76bf9c..8e13c013e3bf 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "endpointName": "myServiceBus", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json index 3f7b034e48ba..001da942414d 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "endpointName": "myServiceBus", "endpointDescription": { "properties": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json index 1eee7e575248..c900f6b7ffda 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "endpointName": "myServiceBus", "endpointDescription": { "properties": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json index f9f799636117..43a76f2d26c1 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "endpointName": "myServiceBus", "endpointDescription": { "properties": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json index 547982f0277a..2525e271c520 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json index 09ec1de5a50f..66482fe6108b 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json index 42812f39e2ae..2078957e1a22 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json index d8835b16163e..1b0e5cbb7c7e 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json index e84291a8e364..ab69dc807daa 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json index 4037165e934f..bc4e66373f56 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "resourceGroupName": "resRg" }, "responses": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json index ed2fd9bbfd53..56f07fd9d928 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json index 562692022c0b..2918c77b302b 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json index f2b89828f87b..681ade925226 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsPatchDescription": { "identity": { "type": "None" diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json index 34e262920e41..e50d7ff7080a 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsPatchDescription": { "properties": { "publicNetworkAccess": "Disabled" diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json index e25f8b5ab7e1..bbd8ffd92d26 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsPatchDescription": { "tags": { "purpose": "dev" diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json index 2feadc63ba47..0d8c04447854 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsCreate": { "location": "WestUS2", "identity": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json index 341962b62ddb..4196167f92f1 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsCreate": { "location": "WestUS2", "properties": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json index 84214d0fd926..dbfe50cc24e5 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "digitalTwinsCreate": { "location": "WestUS2" } diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json index 731354a1331c..51420f57510d 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "privateEndpointConnectionName": "myPrivateConnection" }, "responses": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json index e6199eae0438..721ce65bb3d3 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "privateEndpointConnectionName": "myPrivateConnection" }, "responses": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json index 76657cd80ed4..2e76aa723dce 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "privateEndpointConnectionName": "myPrivateConnection", "privateEndpointConnection": { "properties": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json index 989e6e780478..7c55b2bee484 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json index 7caecc891057..72d0dce5bdc9 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "resourceId": "subResource", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json index 671274380538..d9984a5fb829 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json index b216758b2cbd..7be6d3109013 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json index 81866530efac..b84c928ac8bd 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json index 0b876ceed2d6..37abb484e7d1 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json @@ -3,7 +3,7 @@ "subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", - "api-version": "2022-10-31" + "api-version": "2023-01-31" }, "responses": { "200": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json index 5630ea7bb2ca..8e9e210fdde3 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "timeSeriesDatabaseConnectionDescription": { "properties": { "connectionType": "AzureDataExplorer", diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json index fc30cb250c73..adf31f5ff1f5 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", - "api-version": "2022-10-31", + "api-version": "2023-01-31", "timeSeriesDatabaseConnectionDescription": { "properties": { "connectionType": "AzureDataExplorer", From fda8ac11944f017396d2434b2fedece445ccf7aa Mon Sep 17 00:00:00 2001 From: Sebastian Herzig-Patel Date: Mon, 19 Dec 2022 14:21:48 -0800 Subject: [PATCH 4/5] Added lifecycle event tables and deletion option (#21644) * Added lifecycle event tables and deletion option * Add examples, add deletion option * Add default value for recordPropertyAndItemRemovals --- .../stable/2023-01-31/digitaltwins.json | 29 ++++++++++++++++++- ...riesDatabaseConnectionsDelete_example.json | 1 + ...nnectionsPut_WithUserIdentity_example.json | 2 ++ ...eSeriesDatabaseConnectionsPut_example.json | 21 ++++++++++---- 4 files changed, 46 insertions(+), 7 deletions(-) diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json index eca66583f078..3cabdcc4552b 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json @@ -1094,6 +1094,9 @@ }, { "$ref": "#/parameters/timeSeriesDatabaseConnectionName" + }, + { + "$ref": "#/parameters/cleanupConnectionArtifacts" } ], "responses": { @@ -2169,11 +2172,21 @@ "type": "string" }, "adxTableName": { - "description": "The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.", + "description": "The name of the Azure Data Explorer table used for storing updates to properties of twins and relationships. Defaults to AdtPropertyEvents.", "type": "string", "default": "AdtPropertyEvents", "x-nullable": true }, + "adxTwinLifecycleEventsTableName": { + "description": "The name of the Azure Data Explorer table used for recording twin lifecycle events. The table will not be created if this property is left unspecified.", + "type": "string", + "x-nullable": true + }, + "adxRelationshipLifecycleEventsTableName": { + "description": "The name of the Azure Data Explorer table used for recording relationship lifecycle events. The table will not be created if this property is left unspecified.", + "type": "string", + "x-nullable": true + }, "eventHubEndpointUri": { "description": "The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://", "type": "string" @@ -2191,6 +2204,12 @@ "type": "string", "default": "$Default", "x-nullable": true + }, + "recordPropertyAndItemRemovals": { + "description": "Specifies whether or not to record twin / relationship property and item removals, including removals of indexed or keyed values (such as map entries, array elements, etc.). This feature is de-activated unless explicitly set to 'true'. Setting this property to 'true' will generate an additional column in the property events table in ADX.", + "type": "boolean", + "default": false, + "x-nullable": true } } }, @@ -2296,6 +2315,14 @@ "pattern": "^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$", "minLength": 2, "maxLength": 49 + }, + "cleanupConnectionArtifacts": { + "name": "cleanupConnectionArtifacts", + "in": "query", + "description": "Specifies whether or not to attempt to clean up artifacts that were created in order to establish a connection to the time series database. This is a best-effort attempt that will fail if appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data.", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method" } } } diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json index 7be6d3109013..0ffaebbbfca1 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json @@ -4,6 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", + "deleteConnectionArtifacts": true, "api-version": "2023-01-31" }, "responses": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json index 8e9e210fdde3..b41a4a728384 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json @@ -44,6 +44,7 @@ "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", + "recordPropertyAndItemRemovals": false, "identity": { "type": "UserAssigned", "userAssignedIdentity": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity" @@ -66,6 +67,7 @@ "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", + "recordPropertyAndItemRemovals": false, "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "identity": { "type": "UserAssigned", diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json index adf31f5ff1f5..33bf5e586dca 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json @@ -11,10 +11,13 @@ "adxEndpointUri": "https://mycluster.kusto.windows.net", "adxResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster", "adxDatabaseName": "myDatabase", - "adxTableName": "myTable", + "adxTableName": "myPropertyUpdatesTable", + "adxTwinLifecycleEventsTableName": "myTwinLifecycleEventsTable", + "adxRelationshipLifecycleEventsTableName": "myRelationshipLifecycleEventsTable", "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", - "eventHubEntityPath": "myeh" + "eventHubEntityPath": "myeh", + "recordPropertyAndItemRemovals": true } } }, @@ -35,11 +38,14 @@ "adxEndpointUri": "https://mycluster.kusto.windows.net", "adxResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster", "adxDatabaseName": "myDatabase", - "adxTableName": "myTable", + "adxTableName": "myPropertyUpdatesTable", + "adxTwinLifecycleEventsTableName": "myTwinLifecycleEventsTable", + "adxRelationshipLifecycleEventsTableName": "myRelationshipLifecycleEventsTable", "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", - "eventHubConsumerGroup": "$Default" + "eventHubConsumerGroup": "$Default", + "recordPropertyAndItemRemovals": true } } }, @@ -54,11 +60,14 @@ "adxEndpointUri": "https://mycluster.kusto.windows.net", "adxResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster", "adxDatabaseName": "myDatabase", - "adxTableName": "myTable", + "adxTableName": "myPropertyUpdatesTable", + "adxTwinLifecycleEventsTableName": "myTwinLifecycleEventsTable", + "adxRelationshipLifecycleEventsTableName": "myRelationshipLifecycleEventsTable", "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", + "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", - "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh" + "recordPropertyAndItemRemovals": true } } } From 0f20935eef0448bb02566b44d5b09cce777c2341 Mon Sep 17 00:00:00 2001 From: Sebastian Herzig-Patel Date: Fri, 6 Jan 2023 11:17:24 -0800 Subject: [PATCH 5/5] Convert boolean into enum (#22083) --- .../stable/2023-01-31/digitaltwins.json | 23 ++++++++++++++++--- ...riesDatabaseConnectionsDelete_example.json | 2 +- ...nnectionsPut_WithUserIdentity_example.json | 4 ++-- ...eSeriesDatabaseConnectionsPut_example.json | 6 ++--- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json index 3cabdcc4552b..29a861ac7145 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json @@ -2207,8 +2207,16 @@ }, "recordPropertyAndItemRemovals": { "description": "Specifies whether or not to record twin / relationship property and item removals, including removals of indexed or keyed values (such as map entries, array elements, etc.). This feature is de-activated unless explicitly set to 'true'. Setting this property to 'true' will generate an additional column in the property events table in ADX.", - "type": "boolean", - "default": false, + "enum": [ + "true", + "false" + ], + "type": "string", + "x-ms-enum": { + "name": "recordPropertyAndItemRemovals", + "modelAsString": true + }, + "default": "false", "x-nullable": true } } @@ -2321,7 +2329,16 @@ "in": "query", "description": "Specifies whether or not to attempt to clean up artifacts that were created in order to establish a connection to the time series database. This is a best-effort attempt that will fail if appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data.", "required": false, - "type": "boolean", + "enum": [ + "true", + "false" + ], + "type": "string", + "x-nullable": true, + "x-ms-enum": { + "name": "cleanupConnectionArtifacts", + "modelAsString": true + }, "x-ms-parameter-location": "method" } } diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json index 0ffaebbbfca1..15f475d72b8c 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json @@ -4,7 +4,7 @@ "resourceGroupName": "resRg", "resourceName": "myDigitalTwinsService", "timeSeriesDatabaseConnectionName": "myConnection", - "deleteConnectionArtifacts": true, + "deleteConnectionArtifacts": "true", "api-version": "2023-01-31" }, "responses": { diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json index b41a4a728384..8a47c27a937d 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json @@ -44,7 +44,7 @@ "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", - "recordPropertyAndItemRemovals": false, + "recordPropertyAndItemRemovals": "false", "identity": { "type": "UserAssigned", "userAssignedIdentity": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity" @@ -67,7 +67,7 @@ "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", - "recordPropertyAndItemRemovals": false, + "recordPropertyAndItemRemovals": "false", "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "identity": { "type": "UserAssigned", diff --git a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json index 33bf5e586dca..6af0252d1fc0 100644 --- a/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json +++ b/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json @@ -17,7 +17,7 @@ "eventHubEndpointUri": "sb://myeh.servicebus.windows.net/", "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", - "recordPropertyAndItemRemovals": true + "recordPropertyAndItemRemovals": "true" } } }, @@ -45,7 +45,7 @@ "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", - "recordPropertyAndItemRemovals": true + "recordPropertyAndItemRemovals": "true" } } }, @@ -67,7 +67,7 @@ "eventHubNamespaceResourceId": "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh", "eventHubEntityPath": "myeh", "eventHubConsumerGroup": "$Default", - "recordPropertyAndItemRemovals": true + "recordPropertyAndItemRemovals": "true" } } }