-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <jlian@users.noreply.github.com>
- Loading branch information
Showing
127 changed files
with
21,814 additions
and
95 deletions.
There are no files selected for viewing
180 changes: 180 additions & 0 deletions
180
...s.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.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,180 @@ | ||
{ | ||
"title": "BrokerAuthentication_CreateOrUpdate_Complex", | ||
"operationId": "BrokerAuthentication_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2024-09-15-preview", | ||
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", | ||
"resourceGroupName": "rgiotoperations", | ||
"instanceName": "resource-name123", | ||
"brokerName": "resource-name123", | ||
"authenticationName": "resource-name123", | ||
"resource": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "ServiceAccountToken", | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"aio-internal" | ||
] | ||
} | ||
}, | ||
{ | ||
"method": "X509", | ||
"x509Settings": { | ||
"trustedClientCaCert": "my-ca", | ||
"authorizationAttributes": { | ||
"root": { | ||
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", | ||
"attributes": { | ||
"organization": "contoso" | ||
} | ||
}, | ||
"intermediate": { | ||
"subject": "CN = Contoso Intermediate CA", | ||
"attributes": { | ||
"city": "seattle", | ||
"foo": "bar" | ||
} | ||
}, | ||
"smart-fan": { | ||
"subject": "CN = smart-fan", | ||
"attributes": { | ||
"building": "17" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "ServiceAccountToken", | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"aio-internal" | ||
] | ||
} | ||
}, | ||
{ | ||
"method": "X509", | ||
"x509Settings": { | ||
"trustedClientCaCert": "my-ca", | ||
"authorizationAttributes": { | ||
"root": { | ||
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", | ||
"attributes": { | ||
"organization": "contoso" | ||
} | ||
}, | ||
"intermediate": { | ||
"subject": "CN = Contoso Intermediate CA", | ||
"attributes": { | ||
"city": "seattle", | ||
"foo": "bar" | ||
} | ||
}, | ||
"smart-fan": { | ||
"subject": "CN = smart-fan", | ||
"attributes": { | ||
"building": "17" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
}, | ||
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", | ||
"name": "lwucizfvtsdpx", | ||
"type": "kvtilkgcxanlfozrd", | ||
"systemData": { | ||
"createdBy": "ssvaslsmudloholronopqyxjcu", | ||
"createdByType": "User", | ||
"createdAt": "2024-08-09T18:13:29.389Z", | ||
"lastModifiedBy": "gnicpuszwd", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2024-08-09T18:13:29.389Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
}, | ||
"body": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "ServiceAccountToken", | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"aio-internal" | ||
] | ||
} | ||
}, | ||
{ | ||
"method": "X509", | ||
"x509Settings": { | ||
"trustedClientCaCert": "my-ca", | ||
"authorizationAttributes": { | ||
"root": { | ||
"subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", | ||
"attributes": { | ||
"organization": "contoso" | ||
} | ||
}, | ||
"intermediate": { | ||
"subject": "CN = Contoso Intermediate CA", | ||
"attributes": { | ||
"city": "seattle", | ||
"foo": "bar" | ||
} | ||
}, | ||
"smart-fan": { | ||
"subject": "CN = smart-fan", | ||
"attributes": { | ||
"building": "17" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
}, | ||
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", | ||
"name": "lwucizfvtsdpx", | ||
"type": "kvtilkgcxanlfozrd", | ||
"systemData": { | ||
"createdBy": "ssvaslsmudloholronopqyxjcu", | ||
"createdByType": "User", | ||
"createdAt": "2024-08-09T18:13:29.389Z", | ||
"lastModifiedBy": "gnicpuszwd", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2024-08-09T18:13:29.389Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
168 changes: 168 additions & 0 deletions
168
...ement/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.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,168 @@ | ||
{ | ||
"title": "BrokerAuthentication_CreateOrUpdate", | ||
"operationId": "BrokerAuthentication_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2024-09-15-preview", | ||
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", | ||
"resourceGroupName": "rgiotoperations", | ||
"instanceName": "resource-name123", | ||
"brokerName": "resource-name123", | ||
"authenticationName": "resource-name123", | ||
"resource": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "Custom", | ||
"customSettings": { | ||
"auth": { | ||
"x509": { | ||
"secretRef": "secret-name" | ||
} | ||
}, | ||
"caCertConfigMap": "pdecudefqyolvncbus", | ||
"endpoint": "https://www.example.com", | ||
"headers": { | ||
"key8518": "bwityjy" | ||
} | ||
}, | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"jqyhyqatuydg" | ||
] | ||
}, | ||
"x509Settings": { | ||
"authorizationAttributes": { | ||
"key3384": { | ||
"attributes": { | ||
"key186": "ucpajramsz" | ||
}, | ||
"subject": "jpgwctfeixitptfgfnqhua" | ||
} | ||
}, | ||
"trustedClientCaCert": "vlctsqddl" | ||
} | ||
} | ||
] | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "Custom", | ||
"customSettings": { | ||
"auth": { | ||
"x509": { | ||
"secretRef": "secret-name" | ||
} | ||
}, | ||
"caCertConfigMap": "pdecudefqyolvncbus", | ||
"endpoint": "https://www.example.com", | ||
"headers": { | ||
"key8518": "bwityjy" | ||
} | ||
}, | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"jqyhyqatuydg" | ||
] | ||
}, | ||
"x509Settings": { | ||
"authorizationAttributes": { | ||
"key3384": { | ||
"attributes": { | ||
"key186": "ucpajramsz" | ||
}, | ||
"subject": "jpgwctfeixitptfgfnqhua" | ||
} | ||
}, | ||
"trustedClientCaCert": "vlctsqddl" | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
}, | ||
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", | ||
"name": "lwucizfvtsdpx", | ||
"type": "kvtilkgcxanlfozrd", | ||
"systemData": { | ||
"createdBy": "ssvaslsmudloholronopqyxjcu", | ||
"createdByType": "User", | ||
"createdAt": "2024-08-09T18:13:29.389Z", | ||
"lastModifiedBy": "gnicpuszwd", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2024-08-09T18:13:29.389Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://contoso.com/operationstatus" | ||
}, | ||
"body": { | ||
"properties": { | ||
"authenticationMethods": [ | ||
{ | ||
"method": "Custom", | ||
"customSettings": { | ||
"auth": { | ||
"x509": { | ||
"secretRef": "secret-name" | ||
} | ||
}, | ||
"caCertConfigMap": "pdecudefqyolvncbus", | ||
"endpoint": "https://www.example.com", | ||
"headers": { | ||
"key8518": "bwityjy" | ||
} | ||
}, | ||
"serviceAccountTokenSettings": { | ||
"audiences": [ | ||
"jqyhyqatuydg" | ||
] | ||
}, | ||
"x509Settings": { | ||
"authorizationAttributes": { | ||
"key3384": { | ||
"attributes": { | ||
"key186": "ucpajramsz" | ||
}, | ||
"subject": "jpgwctfeixitptfgfnqhua" | ||
} | ||
}, | ||
"trustedClientCaCert": "vlctsqddl" | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"extendedLocation": { | ||
"name": "qmbrfwcpwwhggszhrdjv", | ||
"type": "CustomLocation" | ||
}, | ||
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", | ||
"name": "lwucizfvtsdpx", | ||
"type": "kvtilkgcxanlfozrd", | ||
"systemData": { | ||
"createdBy": "ssvaslsmudloholronopqyxjcu", | ||
"createdByType": "User", | ||
"createdAt": "2024-08-09T18:13:29.389Z", | ||
"lastModifiedBy": "gnicpuszwd", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2024-08-09T18:13:29.389Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ns.Management/examples/2024-09-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.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 @@ | ||
{ | ||
"title": "BrokerAuthentication_Delete", | ||
"operationId": "BrokerAuthentication_Delete", | ||
"parameters": { | ||
"api-version": "2024-09-15-preview", | ||
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", | ||
"resourceGroupName": "rgiotoperations", | ||
"instanceName": "resource-name123", | ||
"brokerName": "resource-name123", | ||
"authenticationName": "resource-name123" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://contoso.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.