forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.DigitalTwins to add vers…
…ion stable/2023-01-31 (Azure#21643) * Adds base for updating Microsoft.DigitalTwins from version stable/2022-10-31 to version 2023-01-31 * Updates readme * Updates API version in new specs and examples * Added lifecycle event tables and deletion option (Azure#21644) * Added lifecycle event tables and deletion option * Add examples, add deletion option * Add default value for recordPropertyAndItemRemovals * Convert boolean into enum (Azure#22083)
- Loading branch information
1 parent
892d34a
commit 8126851
Showing
37 changed files
with
4,249 additions
and
2 deletions.
There are no files selected for viewing
2,345 changes: 2,345 additions & 0 deletions
2,345
.../digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/digitaltwins.json
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...ft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"location": "WestUS2", | ||
"api-version": "2023-01-31", | ||
"digitalTwinsInstanceCheckName": { | ||
"name": "myadtinstance", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"message": "Name 'myadtinstance' is already taken. Please specify a different name", | ||
"reason": "AlreadyExists" | ||
} | ||
} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...soft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService", | ||
"location": "westus2", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances", | ||
"name": "myDigitalTwinsService", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "544215a9-21d8-4fb5-8094-8efbcc311dd0", | ||
"tenantId": "544215a9-21d8-4fb5-8094-8efbcc311dd0" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"createdTime": "2019-11-19T12:55:05.229Z", | ||
"lastUpdatedTime": "2019-12-06T12:21:58.610Z", | ||
"provisioningState": "Failed", | ||
"hostName": "https://myDigitalTwinsService.api.wus2.ss.azuredigitaltwins-test.net" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationStatuses/12345678-1234-1234-123456789012", | ||
"location": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationResults/12345678-1234-1234-123456789012", | ||
"retry-after": "10" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService", | ||
"location": "westus2", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances", | ||
"name": "myDigitalTwinsService", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "544215a9-21d8-4fb5-8094-8efbcc311dd0", | ||
"tenantId": "544215a9-21d8-4fb5-8094-8efbcc311dd0" | ||
}, | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"createdTime": "2019-11-19T12:55:05.229Z", | ||
"lastUpdatedTime": "2019-12-06T12:21:58.610Z", | ||
"provisioningState": "Deleting", | ||
"hostName": "https://myDigitalTwinsService.api.wus2.ss.azuredigitaltwins-test.net" | ||
} | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService", | ||
"location": "westus2", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances", | ||
"name": "myDigitalTwinsService", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"createdTime": "2019-11-19T12:55:05.229Z", | ||
"lastUpdatedTime": "2019-12-06T12:21:58.610Z", | ||
"provisioningState": "Failed", | ||
"hostName": "https://myDigitalTwinsService.api.wus2.ss.azuredigitaltwins-test.net" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationStatuses/12345678-1234-1234-123456789012", | ||
"location": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationResults/12345678-1234-1234-123456789012", | ||
"retry-after": "10" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService", | ||
"location": "westus2", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances", | ||
"name": "myDigitalTwinsService", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"createdTime": "2019-11-19T12:55:05.229Z", | ||
"lastUpdatedTime": "2019-12-06T12:21:58.610Z", | ||
"provisioningState": "Deleting", | ||
"hostName": "https://myDigitalTwinsService.api.wus2.ss.azuredigitaltwins-test.net" | ||
} | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...italTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"endpointName": "myendpoint", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myendpoint", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"endpointType": "ServiceBus", | ||
"authenticationType": "KeyBased", | ||
"provisioningState": "Failed", | ||
"endpointUri": "sb://mysb.servicebus.windows.net/", | ||
"entityPath": "mysbtopic", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationStatuses/12345678-1234-1234-123456789012", | ||
"location": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationResults/12345678-1234-1234-123456789012", | ||
"retry-after": "10" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myendpoint", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"endpointType": "ServiceBus", | ||
"authenticationType": "IdentityBased", | ||
"provisioningState": "Deleting", | ||
"endpointUri": "sb://mysb.servicebus.windows.net/", | ||
"entityPath": "mysbtopic", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"endpointName": "myendpoint", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myendpoint", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"authenticationType": "KeyBased", | ||
"endpointType": "ServiceBus", | ||
"provisioningState": "Failed", | ||
"primaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"secondaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationStatuses/12345678-1234-1234-123456789012", | ||
"location": "https://management.azure.com/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/providers/Microsoft.DigitalTwins/locations/westus2/operationResults/12345678-1234-1234-123456789012", | ||
"retry-after": "10" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myendpoint", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"authenticationType": "KeyBased", | ||
"endpointType": "ServiceBus", | ||
"provisioningState": "Deleting", | ||
"primaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"secondaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"endpointName": "myServiceBus", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myServiceBus", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"endpointType": "ServiceBus", | ||
"authenticationType": "IdentityBased", | ||
"provisioningState": "Succeeded", | ||
"endpointUri": "sb://mysb.servicebus.windows.net/", | ||
"entityPath": "mysbtopic", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...er/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myDigitalTwinsService", | ||
"endpointName": "myServiceBus", | ||
"api-version": "2023-01-31" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/endpoints/myServiceBus", | ||
"type": "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints", | ||
"name": "myServiceBus", | ||
"systemData": { | ||
"createdBy": "user@example.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-03-11T17:13:59.4037715Z", | ||
"lastModifiedBy": "user@example.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-11T17:14:02.5281409Z" | ||
}, | ||
"properties": { | ||
"endpointType": "ServiceBus", | ||
"authenticationType": "KeyBased", | ||
"provisioningState": "Succeeded", | ||
"primaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"secondaryConnectionString": "Endpoint=sb://***/;SharedAccessKeyName=***;SharedAccessKey=***;EntityPath=***", | ||
"createdTime": "2019-11-19T01:10:34.350Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.