Microsoft.DigitalTwins (preview:2021-06-30)

2025/10/23 • 22 new, 46 deleted methods

DigitalTwins_Get (new)
Description Get DigitalTwinsInstances resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_CreateOrUpdate (new)
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.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
digitalTwinsCreate:
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_Update (new)
Description Update metadata of DigitalTwinsInstance.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
digitalTwinsPatchDescription:
{
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_Delete (new)
Description Delete a DigitalTwinsInstance.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_List (new)
Description Get DigitalTwinsInstance Endpoints.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_Get (new)
Description Get DigitalTwinsInstances Endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_CreateOrUpdate (new)
Description Create or update DigitalTwinsInstance endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
endpointDescription:
{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (201)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_Delete (new)
Description Delete a DigitalTwinsInstance endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (202)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_List (new)
Description Get all the DigitalTwinsInstances in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_ListByResourceGroup (new)
Description Get all the DigitalTwinsInstances in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available DigitalTwins service REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DigitalTwins/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
isDataAction: boolean ,
properties: object ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_CheckNameAvailability (new)
Description Check if a DigitalTwinsInstance name is available.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
location: string ,
digitalTwinsInstanceCheckName:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
message: string ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResources_List (new)
Description List private link resources for given Digital Twin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResources_Get (new)
Description Get the specified private link resource for the given Digital Twin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
resourceId: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_List (new)
Description List private endpoint connection properties.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_Get (new)
Description Get private endpoint connection properties for the given private endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Delete private endpoint connection with the specified name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (new)
Description Update the status of a private endpoint connection with the given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
privateEndpointConnection:
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (202)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_List (new)
Description Get all existing time series database connections for this DigitalTwins instance.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_Get (new)
Description Get the description of an existing time series database connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_CreateOrUpdate (new)
Description Create or update a time series database connection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
timeSeriesDatabaseConnectionDescription:
{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_Delete (new)
Description Delete a time series database connection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinModels_Add (removed)
Description Uploads one or more models. When any error occurs, no models are uploaded. Status codes: * 201 Created * 400 Bad Request * DTDLParserError - The models provided are not valid DTDL. * InvalidArgument - The model id is invalid. * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached. * ModelVersionNotSupported - The version of DTDL used is not supported. * 409 Conflict * ModelAlreadyExists - The model provided already exists.
Reference Link ¶

⚼ Request

POST:  /models
{
models: object ,
api-version: string ,
}

⚐ Response (201)

{
displayName: object ,
description: object ,
id: string ,
uploadTime: string ,
decommissioned: boolean ,
model: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwinModels_List (removed)
Description Retrieves model metadata and, optionally, model definitions. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The model id is invalid. * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached. * 404 Not Found * ModelNotFound - The model was not found.
Reference Link ¶

⚼ Request

GET:  /models
{
dependenciesFor: array ,
includeModelDefinition: boolean ,
max-items-per-page: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
displayName: object ,
description: object ,
id: string ,
uploadTime: string ,
decommissioned: boolean ,
model: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwinModels_GetById (removed)
Description Retrieves model metadata and optionally the model definition. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The model id is invalid. * MissingArgument - The model id was not provided. * 404 Not Found * ModelNotFound - The model was not found.
Reference Link ¶

⚼ Request

GET:  /models/{id}
{
id: string ,
includeModelDefinition: boolean ,
api-version: string ,
}

⚐ Response (200)

{
displayName: object ,
description: object ,
id: string ,
uploadTime: string ,
decommissioned: boolean ,
model: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwinModels_Update (removed)
Description Updates the metadata for a model. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The model id is invalid. * JsonPatchInvalid - The JSON Patch provided is invalid. * MissingArgument - The model id was not provided. * 404 Not Found * ModelNotFound - The model was not found. * 409 Conflict * ModelReferencesNotDecommissioned - The model refers to models that are not decommissioned.
Reference Link ¶

⚼ Request

PATCH:  /models/{id}
{
id: string ,
updateModel: object ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwinModels_Delete (removed)
Description Deletes a model. A model can only be deleted if no other models reference it. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The model id is invalid. * MissingArgument - The model id was not provided. * 404 Not Found * ModelNotFound - The model was not found. * 409 Conflict * ModelReferencesNotDeleted - The model refers to models that are not deleted.
Reference Link ¶

⚼ Request

DELETE:  /models/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
Query_QueryTwins (removed)
Description Executes a query that allows traversing relationships and filtering by property values. Status codes: * 200 OK * 400 Bad Request * BadRequest - The continuation token is invalid. * SqlQueryError - The query contains some errors. * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or adding conditions to reduce the result size. * 429 Too Many Requests * QuotaReachedError - The maximum query rate limit has been reached.
Reference Link ¶

⚼ Request

POST:  /query
{
querySpecification:
{
query: string ,
continuationToken: string ,
}
,
max-items-per-page: integer ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
query-charge: number ,
}
,
$schema:
{
value:
[
object ,
]
,
continuationToken: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_GetById (removed)
Description Retrieves a digital twin. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found.
Reference Link ¶

⚼ Request

GET:  /digitaltwins/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_Add (removed)
Description Adds or replaces a digital twin. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id or payload is invalid. * ModelDecommissioned - The model for the digital twin is decommissioned. * TwinLimitReached - The maximum number of digital twins allowed has been reached. * ValidationFailed - The digital twin payload is not valid. * 412 Precondition Failed * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
Reference Link ¶

⚼ Request

PUT:  /digitaltwins/{id}
{
id: string ,
twin: object ,
If-None-Match: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_Delete (removed)
Description Delete a DigitalTwinsInstance.
Reference Link ¶

⚼ Request

DELETE:  /digitaltwins/{id}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_Update (removed)
Description Update metadata of DigitalTwinsInstance.
Reference Link ¶

⚼ Request

PATCH:  /digitaltwins/{id}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
digitalTwinsPatchDescription:
{
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_GetRelationshipById (removed)
Description Retrieves a relationship between two digital twins. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id or relationship id is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * RelationshipNotFound - The relationship was not found.
Reference Link ¶

⚼ Request

GET:  /digitaltwins/{id}/relationships/{relationshipId}
{
id: string ,
relationshipId: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_AddRelationship (removed)
Description Adds a relationship between two digital twins. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id, relationship id, or payload is invalid. * InvalidRelationship - The relationship is invalid. * OperationNotAllowed - The relationship cannot connect to the same digital twin. * ValidationFailed - The relationship content is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * TargetTwinNotFound - The digital twin target of the relationship was not found. * 412 Precondition Failed * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
Reference Link ¶

⚼ Request

PUT:  /digitaltwins/{id}/relationships/{relationshipId}
{
id: string ,
relationshipId: string ,
relationship: object ,
If-None-Match: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_DeleteRelationship (removed)
Description Deletes a relationship between two digital twins. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The digital twin id or relationship id is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * RelationshipNotFound - The relationship was not found. * 412 Precondition Failed * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
Reference Link ¶

⚼ Request

DELETE:  /digitaltwins/{id}/relationships/{relationshipId}
{
id: string ,
relationshipId: string ,
If-Match: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_UpdateRelationship (removed)
Description Updates the properties on a relationship between two digital twins. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The digital twin id or relationship id is invalid. * InvalidRelationship - The relationship is invalid. * JsonPatchInvalid - The JSON Patch provided is invalid. * ValidationFailed - The relationship content is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * RelationshipNotFound - The relationship was not found. * 409 Conflict * RelationshipAlreadyExists - The relationship already exists. * 412 Precondition Failed * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
Reference Link ¶

⚼ Request

PATCH:  /digitaltwins/{id}/relationships/{relationshipId}
{
id: string ,
relationshipId: string ,
patchDocument: object ,
If-Match: string ,
api-version: string ,
}

⚐ Response (204)

{
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_ListRelationships (removed)
Description Retrieves the relationships from a digital twin. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found.
Reference Link ¶

⚼ Request

GET:  /digitaltwins/{id}/relationships
{
id: string ,
relationshipName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_ListIncomingRelationships (removed)
Description Retrieves all incoming relationship for a digital twin. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found.
Reference Link ¶

⚼ Request

GET:  /digitaltwins/{id}/incomingrelationships
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
$relationshipId: string ,
$sourceId: string ,
$relationshipName: string ,
$relationshipLink: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_SendTelemetry (removed)
Description Sends telemetry on behalf of a digital twin. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The digital twin id or message id is invalid. * ValidationFailed - The telemetry content is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found.
Reference Link ¶

⚼ Request

POST:  /digitaltwins/{id}/telemetry
{
id: string ,
telemetry: object ,
Message-Id: string ,
Telemetry-Source-Time: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_SendComponentTelemetry (removed)
Description Sends telemetry on behalf of a component in a digital twin. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The digital twin id, message id, or component path is invalid. * ValidationFailed - The telemetry content is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * ComponentNotFound - The component path was not found.
Reference Link ¶

⚼ Request

POST:  /digitaltwins/{id}/components/{componentPath}/telemetry
{
id: string ,
componentPath: string ,
telemetry: object ,
Message-Id: string ,
Telemetry-Source-Time: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_GetComponent (removed)
Description Retrieves a component from a digital twin. Status codes: * 200 OK * 400 Bad Request * InvalidArgument - The digital twin id or component path is invalid. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * ComponentNotFound - The component path was not found.
Reference Link ¶

⚼ Request

GET:  /digitaltwins/{id}/components/{componentPath}
{
id: string ,
componentPath: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_UpdateComponent (removed)
Description Updates a component on a digital twin. Status codes: * 204 No Content * 400 Bad Request * InvalidArgument - The digital twin id, component path, or payload is invalid. * JsonPatchInvalid - The JSON Patch provided is invalid. * ValidationFailed - Applying the patch results in an invalid digital twin. * 404 Not Found * DigitalTwinNotFound - The digital twin was not found. * 412 Precondition Failed * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
Reference Link ¶

⚼ Request

PATCH:  /digitaltwins/{id}/components/{componentPath}
{
id: string ,
componentPath: string ,
patchDocument: object ,
If-Match: string ,
api-version: string ,
}

⚐ Response (204)

{
etag: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
EventRoutes_List (removed)
Description Retrieves all event routes. Status codes: * 200 OK
Reference Link ¶

⚼ Request

GET:  /eventroutes
{
max-items-per-page: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
endpointName: string ,
filter: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
EventRoutes_GetById (removed)
Description Retrieves an event route. Status codes: * 200 OK * 404 Not Found * EventRouteNotFound - The event route was not found.
Reference Link ¶

⚼ Request

GET:  /eventroutes/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
endpointName: string ,
filter: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
EventRoutes_Add (removed)
Description Adds or replaces an event route. Status codes: * 204 No Content * 400 Bad Request * EventRouteEndpointInvalid - The endpoint provided does not exist or is not active. * EventRouteFilterInvalid - The event route filter is invalid. * EventRouteIdInvalid - The event route id is invalid. * LimitExceeded - The maximum number of event routes allowed has been reached.
Reference Link ¶

⚼ Request

PUT:  /eventroutes/{id}
{
id: string ,
eventRoute:
{
id: string ,
endpointName: string ,
filter: string ,
}
,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
EventRoutes_Delete (removed)
Description Deletes an event route. Status codes: * 204 No Content * 404 Not Found * EventRouteNotFound - The event route was not found.
Reference Link ¶

⚼ Request

DELETE:  /eventroutes/{id}
{
id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
DigitalTwins_Get (removed)
Description Get DigitalTwinsInstances resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_CreateOrUpdate (removed)
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.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
digitalTwinsCreate:
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_Update (removed)
Description Update metadata of DigitalTwinsInstance.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
digitalTwinsPatchDescription:
{
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_Delete (removed)
Description Delete a DigitalTwinsInstance.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_List (removed)
Description Get DigitalTwinsInstance Endpoints.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_Get (removed)
Description Get DigitalTwinsInstances Endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_CreateOrUpdate (removed)
Description Create or update DigitalTwinsInstance endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
endpointDescription:
{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (201)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwinsEndpoint_Delete (removed)
Description Delete a DigitalTwinsInstance endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (202)

{
properties:
{
endpointType: enum ,
provisioningState: enum ,
createdTime: string ,
authenticationType: enum ,
deadLetterSecret: string ,
deadLetterUri: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_List (removed)
Description Get all the DigitalTwinsInstances in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_ListByResourceGroup (removed)
Description Get all the DigitalTwinsInstances in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
createdTime: string ,
lastUpdatedTime: string ,
provisioningState: enum ,
hostName: string ,
privateEndpointConnections:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (removed)
Description Lists all of the available DigitalTwins service REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DigitalTwins/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
isDataAction: boolean ,
properties: object ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
DigitalTwins_CheckNameAvailability (removed)
Description Check if a DigitalTwinsInstance name is available.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
location: string ,
digitalTwinsInstanceCheckName:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
message: string ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResources_List (removed)
Description List private link resources for given Digital Twin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResources_Get (removed)
Description Get the specified private link resource for the given Digital Twin.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
resourceId: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_List (removed)
Description List private endpoint connection properties.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_Get (removed)
Description Get private endpoint connection properties for the given private endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_Delete (removed)
Description Delete private endpoint connection with the specified name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (removed)
Description Update the status of a private endpoint connection with the given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
privateEndpointConnectionName: string ,
privateEndpointConnection:
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (202)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_List (removed)
Description Get all existing time series database connections for this DigitalTwins instance.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_Get (removed)
Description Get the description of an existing time series database connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_CreateOrUpdate (removed)
Description Create or update a time series database connection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
timeSeriesDatabaseConnectionDescription:
{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
TimeSeriesDatabaseConnections_Delete (removed)
Description Delete a time series database connection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
timeSeriesDatabaseConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
connectionType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}