Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"title": "CreateOrReplace_AssetEndpointProfile",
"operationId": "AssetEndpointProfiles_CreateOrReplace",
"description": "Create an Asset Endpoint Profile",
"parameters": {
"api-version": "2026-04-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"assetEndpointProfileName": "my-assetendpointprofile",
"resource": {
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"properties": {
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"authentication": {
"method": "Anonymous"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
"name": "my-assetendpointprofile",
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"systemData": {
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"createdByType": "Application",
"createdAt": "2022-11-16T00:36:43.2516899Z",
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
},
"properties": {
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"authentication": {
"method": "Anonymous"
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
"name": "my-assetendpointprofile",
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"systemData": {
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"createdByType": "Application",
"createdAt": "2022-11-16T00:36:43.2516899Z",
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
},
"properties": {
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"authentication": {
"method": "Anonymous"
},
"provisioningState": "Accepted"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"title": "CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef",
"operationId": "AssetEndpointProfiles_CreateOrReplace",
"description": "Create an Asset Endpoint Profile With Discovered Asset Endpoint Profile Reference",
"parameters": {
"api-version": "2026-04-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"assetEndpointProfileName": "my-assetendpointprofile",
"resource": {
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"properties": {
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
"authentication": {
"method": "Anonymous"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
"name": "my-assetendpointprofile",
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"systemData": {
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"createdByType": "Application",
"createdAt": "2022-11-16T00:36:43.2516899Z",
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
},
"properties": {
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
"authentication": {
"method": "Anonymous"
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
"name": "my-assetendpointprofile",
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
"location": "West Europe",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
},
"tags": {
"site": "building-1"
},
"systemData": {
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"createdByType": "Application",
"createdAt": "2022-11-16T00:36:43.2516899Z",
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
"lastModifiedByType": "Application",
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
},
"properties": {
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
"targetAddress": "https://www.example.com/myTargetAddress",
"endpointProfileType": "myEndpointProfileType",
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
"authentication": {
"method": "Anonymous"
},
"provisioningState": "Accepted"
}
}
}
}
}
Loading
Loading