Skip to content

Commit ba36911

Browse files
nonsocodejlian
andauthored
AIO M3 preview (#30429)
* Remove service name default * no change * add new type * tsv * move to auth * format changes * add non-empty * chnge back * push readme * fix * fix examples * 9-15 * tsv * non-empty string * get rid of components * schema registry id * components examples * Case * schema registry id * schema registry id * fix surpression * fix sub id * changed * schema reg ref * schemaref * fix schema ref * Instance update * format * add batching * Revert "add batching" This reverts commit 3f67f94. * remove otel config --------- Co-authored-by: John Lian <[email protected]>
1 parent 5cc6888 commit ba36911

File tree

127 files changed

+21814
-95
lines changed

Some content is hidden

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

127 files changed

+21814
-95
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"title": "BrokerAuthentication_CreateOrUpdate_Complex",
3+
"operationId": "BrokerAuthentication_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2024-09-15-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"brokerName": "resource-name123",
10+
"authenticationName": "resource-name123",
11+
"resource": {
12+
"properties": {
13+
"authenticationMethods": [
14+
{
15+
"method": "ServiceAccountToken",
16+
"serviceAccountTokenSettings": {
17+
"audiences": [
18+
"aio-internal"
19+
]
20+
}
21+
},
22+
{
23+
"method": "X509",
24+
"x509Settings": {
25+
"trustedClientCaCert": "my-ca",
26+
"authorizationAttributes": {
27+
"root": {
28+
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US",
29+
"attributes": {
30+
"organization": "contoso"
31+
}
32+
},
33+
"intermediate": {
34+
"subject": "CN = Contoso Intermediate CA",
35+
"attributes": {
36+
"city": "seattle",
37+
"foo": "bar"
38+
}
39+
},
40+
"smart-fan": {
41+
"subject": "CN = smart-fan",
42+
"attributes": {
43+
"building": "17"
44+
}
45+
}
46+
}
47+
}
48+
}
49+
]
50+
},
51+
"extendedLocation": {
52+
"name": "qmbrfwcpwwhggszhrdjv",
53+
"type": "CustomLocation"
54+
}
55+
}
56+
},
57+
"responses": {
58+
"200": {
59+
"body": {
60+
"properties": {
61+
"authenticationMethods": [
62+
{
63+
"method": "ServiceAccountToken",
64+
"serviceAccountTokenSettings": {
65+
"audiences": [
66+
"aio-internal"
67+
]
68+
}
69+
},
70+
{
71+
"method": "X509",
72+
"x509Settings": {
73+
"trustedClientCaCert": "my-ca",
74+
"authorizationAttributes": {
75+
"root": {
76+
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US",
77+
"attributes": {
78+
"organization": "contoso"
79+
}
80+
},
81+
"intermediate": {
82+
"subject": "CN = Contoso Intermediate CA",
83+
"attributes": {
84+
"city": "seattle",
85+
"foo": "bar"
86+
}
87+
},
88+
"smart-fan": {
89+
"subject": "CN = smart-fan",
90+
"attributes": {
91+
"building": "17"
92+
}
93+
}
94+
}
95+
}
96+
}
97+
],
98+
"provisioningState": "Succeeded"
99+
},
100+
"extendedLocation": {
101+
"name": "qmbrfwcpwwhggszhrdjv",
102+
"type": "CustomLocation"
103+
},
104+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123",
105+
"name": "lwucizfvtsdpx",
106+
"type": "kvtilkgcxanlfozrd",
107+
"systemData": {
108+
"createdBy": "ssvaslsmudloholronopqyxjcu",
109+
"createdByType": "User",
110+
"createdAt": "2024-08-09T18:13:29.389Z",
111+
"lastModifiedBy": "gnicpuszwd",
112+
"lastModifiedByType": "User",
113+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
114+
}
115+
}
116+
},
117+
"201": {
118+
"headers": {
119+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
120+
},
121+
"body": {
122+
"properties": {
123+
"authenticationMethods": [
124+
{
125+
"method": "ServiceAccountToken",
126+
"serviceAccountTokenSettings": {
127+
"audiences": [
128+
"aio-internal"
129+
]
130+
}
131+
},
132+
{
133+
"method": "X509",
134+
"x509Settings": {
135+
"trustedClientCaCert": "my-ca",
136+
"authorizationAttributes": {
137+
"root": {
138+
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US",
139+
"attributes": {
140+
"organization": "contoso"
141+
}
142+
},
143+
"intermediate": {
144+
"subject": "CN = Contoso Intermediate CA",
145+
"attributes": {
146+
"city": "seattle",
147+
"foo": "bar"
148+
}
149+
},
150+
"smart-fan": {
151+
"subject": "CN = smart-fan",
152+
"attributes": {
153+
"building": "17"
154+
}
155+
}
156+
}
157+
}
158+
}
159+
],
160+
"provisioningState": "Succeeded"
161+
},
162+
"extendedLocation": {
163+
"name": "qmbrfwcpwwhggszhrdjv",
164+
"type": "CustomLocation"
165+
},
166+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123",
167+
"name": "lwucizfvtsdpx",
168+
"type": "kvtilkgcxanlfozrd",
169+
"systemData": {
170+
"createdBy": "ssvaslsmudloholronopqyxjcu",
171+
"createdByType": "User",
172+
"createdAt": "2024-08-09T18:13:29.389Z",
173+
"lastModifiedBy": "gnicpuszwd",
174+
"lastModifiedByType": "User",
175+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
176+
}
177+
}
178+
}
179+
}
180+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
{
2+
"title": "BrokerAuthentication_CreateOrUpdate",
3+
"operationId": "BrokerAuthentication_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2024-09-15-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"brokerName": "resource-name123",
10+
"authenticationName": "resource-name123",
11+
"resource": {
12+
"properties": {
13+
"authenticationMethods": [
14+
{
15+
"method": "Custom",
16+
"customSettings": {
17+
"auth": {
18+
"x509": {
19+
"secretRef": "secret-name"
20+
}
21+
},
22+
"caCertConfigMap": "pdecudefqyolvncbus",
23+
"endpoint": "https://www.example.com",
24+
"headers": {
25+
"key8518": "bwityjy"
26+
}
27+
},
28+
"serviceAccountTokenSettings": {
29+
"audiences": [
30+
"jqyhyqatuydg"
31+
]
32+
},
33+
"x509Settings": {
34+
"authorizationAttributes": {
35+
"key3384": {
36+
"attributes": {
37+
"key186": "ucpajramsz"
38+
},
39+
"subject": "jpgwctfeixitptfgfnqhua"
40+
}
41+
},
42+
"trustedClientCaCert": "vlctsqddl"
43+
}
44+
}
45+
]
46+
},
47+
"extendedLocation": {
48+
"name": "qmbrfwcpwwhggszhrdjv",
49+
"type": "CustomLocation"
50+
}
51+
}
52+
},
53+
"responses": {
54+
"200": {
55+
"body": {
56+
"properties": {
57+
"authenticationMethods": [
58+
{
59+
"method": "Custom",
60+
"customSettings": {
61+
"auth": {
62+
"x509": {
63+
"secretRef": "secret-name"
64+
}
65+
},
66+
"caCertConfigMap": "pdecudefqyolvncbus",
67+
"endpoint": "https://www.example.com",
68+
"headers": {
69+
"key8518": "bwityjy"
70+
}
71+
},
72+
"serviceAccountTokenSettings": {
73+
"audiences": [
74+
"jqyhyqatuydg"
75+
]
76+
},
77+
"x509Settings": {
78+
"authorizationAttributes": {
79+
"key3384": {
80+
"attributes": {
81+
"key186": "ucpajramsz"
82+
},
83+
"subject": "jpgwctfeixitptfgfnqhua"
84+
}
85+
},
86+
"trustedClientCaCert": "vlctsqddl"
87+
}
88+
}
89+
],
90+
"provisioningState": "Succeeded"
91+
},
92+
"extendedLocation": {
93+
"name": "qmbrfwcpwwhggszhrdjv",
94+
"type": "CustomLocation"
95+
},
96+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123",
97+
"name": "lwucizfvtsdpx",
98+
"type": "kvtilkgcxanlfozrd",
99+
"systemData": {
100+
"createdBy": "ssvaslsmudloholronopqyxjcu",
101+
"createdByType": "User",
102+
"createdAt": "2024-08-09T18:13:29.389Z",
103+
"lastModifiedBy": "gnicpuszwd",
104+
"lastModifiedByType": "User",
105+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
106+
}
107+
}
108+
},
109+
"201": {
110+
"headers": {
111+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
112+
},
113+
"body": {
114+
"properties": {
115+
"authenticationMethods": [
116+
{
117+
"method": "Custom",
118+
"customSettings": {
119+
"auth": {
120+
"x509": {
121+
"secretRef": "secret-name"
122+
}
123+
},
124+
"caCertConfigMap": "pdecudefqyolvncbus",
125+
"endpoint": "https://www.example.com",
126+
"headers": {
127+
"key8518": "bwityjy"
128+
}
129+
},
130+
"serviceAccountTokenSettings": {
131+
"audiences": [
132+
"jqyhyqatuydg"
133+
]
134+
},
135+
"x509Settings": {
136+
"authorizationAttributes": {
137+
"key3384": {
138+
"attributes": {
139+
"key186": "ucpajramsz"
140+
},
141+
"subject": "jpgwctfeixitptfgfnqhua"
142+
}
143+
},
144+
"trustedClientCaCert": "vlctsqddl"
145+
}
146+
}
147+
],
148+
"provisioningState": "Succeeded"
149+
},
150+
"extendedLocation": {
151+
"name": "qmbrfwcpwwhggszhrdjv",
152+
"type": "CustomLocation"
153+
},
154+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123",
155+
"name": "lwucizfvtsdpx",
156+
"type": "kvtilkgcxanlfozrd",
157+
"systemData": {
158+
"createdBy": "ssvaslsmudloholronopqyxjcu",
159+
"createdByType": "User",
160+
"createdAt": "2024-08-09T18:13:29.389Z",
161+
"lastModifiedBy": "gnicpuszwd",
162+
"lastModifiedByType": "User",
163+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
164+
}
165+
}
166+
}
167+
}
168+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "BrokerAuthentication_Delete",
3+
"operationId": "BrokerAuthentication_Delete",
4+
"parameters": {
5+
"api-version": "2024-09-15-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"brokerName": "resource-name123",
10+
"authenticationName": "resource-name123"
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"location": "https://contoso.com/operationstatus"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}

0 commit comments

Comments
 (0)