Skip to content

Commit 161ce87

Browse files
atastrophicAli Gilanisofia-geislingertadessebergamryanlo
authored
[Microsoft.DeviceRegistry] 2025-10-01 GA Api Version (Azure#35911)
* initial commit, new version * updated examples * updated readme * updated reference to json file * 2510 - eventGroups and update dAssets (Azure#36867) * 2510 * swagger model validation changes * revert some changes * fix delete lro * remove eventgroups from asset examples. * tsp compile result * fixing lintdiff (Azure#37010) * fixing lintdiff * update spaces * fix pretier * pretier * typespec * [2510] - Add eventGroups to asset status, x509 cert additional properties for 2025-10-01 (Azure#37353) * add 2510 event group status properties and events nesting * namespace devices x509 cert additional properties for 2510 * fix tsp build * fix lint build * change x509 cert descriptions * add go sdk suppression --------- Co-authored-by: Ali Gilani <aligilani@microsoft.com> Co-authored-by: sofia-geislinger <113055184+sofia-geislinger@users.noreply.github.com> Co-authored-by: tadesseberga <54918687+tadesseberga@users.noreply.github.com> Co-authored-by: Ryan Lo <55516393+mryanlo@users.noreply.github.com> Co-authored-by: Ryan Lo <rylo@microsoft.com> Co-authored-by: Mike Harder <mharder@microsoft.com>
1 parent 5e36c7f commit 161ce87

File tree

143 files changed

+24090
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+24090
-4
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import "@azure-tools/typespec-azure-core";
2+
import "@typespec/versioning";
3+
4+
using Azure.Core;
5+
using TypeSpec.Versioning;
6+
7+
namespace Microsoft.DeviceRegistry;
8+
9+
@doc("The x509 certificate for authentication mode Certificate.")
10+
@added(Versions.v2025_10_01)
11+
model X509CertificateCredentials {
12+
@doc("The name of the secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).")
13+
certificateSecretName: string;
14+
15+
@doc("The name of the secret containing the certificate private key in PEM or DER format.")
16+
keySecretName?: string;
17+
18+
@doc("The name of the secret containing the combined intermediate certificates in PEM format.")
19+
intermediateCertificatesSecretName?: string;
20+
}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"title": "CreateOrReplace_AssetEndpointProfile",
3+
"operationId": "AssetEndpointProfiles_CreateOrReplace",
4+
"description": "Create an Asset Endpoint Profile",
5+
"parameters": {
6+
"api-version": "2025-10-01",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
8+
"resourceGroupName": "myResourceGroup",
9+
"assetEndpointProfileName": "my-assetendpointprofile",
10+
"resource": {
11+
"location": "West Europe",
12+
"extendedLocation": {
13+
"type": "CustomLocation",
14+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
15+
},
16+
"tags": {
17+
"site": "building-1"
18+
},
19+
"properties": {
20+
"targetAddress": "https://www.example.com/myTargetAddress",
21+
"endpointProfileType": "myEndpointProfileType",
22+
"authentication": {
23+
"method": "Anonymous"
24+
}
25+
}
26+
}
27+
},
28+
"responses": {
29+
"200": {
30+
"body": {
31+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
32+
"name": "my-assetendpointprofile",
33+
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
34+
"location": "West Europe",
35+
"extendedLocation": {
36+
"type": "CustomLocation",
37+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
38+
},
39+
"tags": {
40+
"site": "building-1"
41+
},
42+
"systemData": {
43+
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
44+
"createdByType": "Application",
45+
"createdAt": "2022-11-16T00:36:43.2516899Z",
46+
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
47+
"lastModifiedByType": "Application",
48+
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
49+
},
50+
"properties": {
51+
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
52+
"targetAddress": "https://www.example.com/myTargetAddress",
53+
"endpointProfileType": "myEndpointProfileType",
54+
"authentication": {
55+
"method": "Anonymous"
56+
},
57+
"provisioningState": "Succeeded"
58+
}
59+
}
60+
},
61+
"201": {
62+
"body": {
63+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
64+
"name": "my-assetendpointprofile",
65+
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
66+
"location": "West Europe",
67+
"extendedLocation": {
68+
"type": "CustomLocation",
69+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
70+
},
71+
"tags": {
72+
"site": "building-1"
73+
},
74+
"systemData": {
75+
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
76+
"createdByType": "Application",
77+
"createdAt": "2022-11-16T00:36:43.2516899Z",
78+
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
79+
"lastModifiedByType": "Application",
80+
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
81+
},
82+
"properties": {
83+
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
84+
"targetAddress": "https://www.example.com/myTargetAddress",
85+
"endpointProfileType": "myEndpointProfileType",
86+
"authentication": {
87+
"method": "Anonymous"
88+
},
89+
"provisioningState": "Accepted"
90+
}
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"title": "CreateOrReplace_AssetEndpointProfile_With_DiscoveredAepRef",
3+
"operationId": "AssetEndpointProfiles_CreateOrReplace",
4+
"description": "Create an Asset Endpoint Profile With Discovered Asset Endpoint Profile Reference",
5+
"parameters": {
6+
"api-version": "2025-10-01",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
8+
"resourceGroupName": "myResourceGroup",
9+
"assetEndpointProfileName": "my-assetendpointprofile",
10+
"resource": {
11+
"location": "West Europe",
12+
"extendedLocation": {
13+
"type": "CustomLocation",
14+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
15+
},
16+
"tags": {
17+
"site": "building-1"
18+
},
19+
"properties": {
20+
"targetAddress": "https://www.example.com/myTargetAddress",
21+
"endpointProfileType": "myEndpointProfileType",
22+
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
23+
"authentication": {
24+
"method": "Anonymous"
25+
}
26+
}
27+
}
28+
},
29+
"responses": {
30+
"200": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
33+
"name": "my-assetendpointprofile",
34+
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
35+
"location": "West Europe",
36+
"extendedLocation": {
37+
"type": "CustomLocation",
38+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
39+
},
40+
"tags": {
41+
"site": "building-1"
42+
},
43+
"systemData": {
44+
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
45+
"createdByType": "Application",
46+
"createdAt": "2022-11-16T00:36:43.2516899Z",
47+
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
48+
"lastModifiedByType": "Application",
49+
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
50+
},
51+
"properties": {
52+
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
53+
"targetAddress": "https://www.example.com/myTargetAddress",
54+
"endpointProfileType": "myEndpointProfileType",
55+
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
56+
"authentication": {
57+
"method": "Anonymous"
58+
},
59+
"provisioningState": "Succeeded"
60+
}
61+
}
62+
},
63+
"201": {
64+
"body": {
65+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/my-assetendpointprofile",
66+
"name": "my-assetendpointprofile",
67+
"type": "Microsoft.DeviceRegistry/assetEndpointProfiles",
68+
"location": "West Europe",
69+
"extendedLocation": {
70+
"type": "CustomLocation",
71+
"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/location1"
72+
},
73+
"tags": {
74+
"site": "building-1"
75+
},
76+
"systemData": {
77+
"createdBy": "2ta23112-4596-44ff-b773-19405922bfc1",
78+
"createdByType": "Application",
79+
"createdAt": "2022-11-16T00:36:43.2516899Z",
80+
"lastModifiedBy": "2ta23112-4596-44ff-b773-19405922bfc1",
81+
"lastModifiedByType": "Application",
82+
"lastModifiedAt": "2022-11-16T01:37:16.0922793Z"
83+
},
84+
"properties": {
85+
"uuid": "0796f7c1-f2c8-44d7-9f5b-9a6f9522a85d",
86+
"targetAddress": "https://www.example.com/myTargetAddress",
87+
"endpointProfileType": "myEndpointProfileType",
88+
"discoveredAssetEndpointProfileRef": "discoveredAssetEndpointProfile1",
89+
"authentication": {
90+
"method": "Anonymous"
91+
},
92+
"provisioningState": "Accepted"
93+
}
94+
}
95+
}
96+
}
97+
}

0 commit comments

Comments
 (0)