diff --git a/cSpell.json b/cSpell.json index a2885fbef7a8..505af3681054 100644 --- a/cSpell.json +++ b/cSpell.json @@ -1399,7 +1399,9 @@ "opcua", "websockets", "opentelemetry", - "parquet" + "parquet", + "mqttbroker", + "schemaregistry" ] } ], diff --git a/specification/iotoperations/IoTOperations.Management/eng/openapi-script.sh b/specification/iotoperations/IoTOperations.Management/eng/openapi-script.sh index c63bb5e967fe..b0454adf732b 100755 --- a/specification/iotoperations/IoTOperations.Management/eng/openapi-script.sh +++ b/specification/iotoperations/IoTOperations.Management/eng/openapi-script.sh @@ -5,15 +5,15 @@ # Run this script in the /specifications/iotoperations directory to generate the specs and the examples. # # # ############################################################################################################ -cd ../.. -if [ ! -d "resource-manager" ] || [ ! -d "IoTOperations.Management" ]; then - echo "Please run this script in the /specifications/iotoperations/IoTOperations.Management/eng directory." +script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +pushd "$script_dir/../.." || { + echo "Could not change to the script directory. Exiting..." exit 1 -fi +} -echo "Deleting the examples in the resource-manager directory and the management directory..." -rm -r resource-manager/Microsoft.IoTOperations/preview/2024-07-01-preview/examples -rm -r IoTOperations.Management/examples/2024-07-01-preview +# echo "Deleting the examples in the resource-manager directory and the management directory..." +# rm -r resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples +# rm -r IoTOperations.Management/examples/2024-08-15-preview echo "Generating the specs and the examples!" @@ -22,51 +22,68 @@ echo "Compiling the typespecs in the iotoperations directory..." npx tsp compile IoTOperations.Management/. # Generate examples for all the openapi specs -echo "Generating examples for all the openapi specs..." -oav generate-examples resource-manager/Microsoft.IoTOperations/preview/2024-07-01-preview/iotoperations.json --max -p +# echo "Generating examples for all the openapi specs..." +# oav generate-examples resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json --max -p # Search each example file and replace the default string with resource-name123 -for file in resource-manager/Microsoft.IoTOperations/preview/2024-07-01-preview/examples/*.json; do - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^[a-z0-9][a-z0-9-]*[a-z0-9]$" then "resource-name123" else . end)' $file > temp.json && mv temp.json $file - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^[0-9]+[KMGTPE]$" then "500M" else . end)' $file > temp.json && mv temp.json $file - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^https://.*$" then "https://www.example.com" else . end)' $file > temp.json && mv temp.json $file - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\..+\\.kusto\\.windows\\.net" then "..kusto.windows.net" else . end)' $file > temp.json && mv temp.json $file - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\.blob\\.core\\.windows\\.net" then ".blob.core.windows.net" else . end)' $file > temp.json && mv temp.json $file - jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\.fabric\\.microsoft\\.com" then "https://.fabric.microsoft.com" else . end)' $file > temp.json && mv temp.json $file -done - -for file in resource-manager/Microsoft.IoTOperations/preview/2024-07-01-preview/examples/*.json; do - - # The following Jq commands replace ids with properly formatted ARM Ids - operationId=$(jq -r '.operationId' $file) - if [[ $operationId == Instance* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("Instance") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == BrokerAuthentication* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerAuthentication") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == BrokerAuthorization* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerAuthorization") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == BrokerListener* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerListener") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == Broker* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("Broker") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == DataFlowProfile* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("DataFlowProfile") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == DataFlowEndpoint* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("DataFlowEndpoint") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - elif [[ $operationId == DataFlow* ]]; then - jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("DataFlow") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file - fi - - # The following Jq command chops down numbers that are greater than 10000 to 10000, the OAV generate examples tool will not respect the min/max value required by typespec - jq 'walk(if type == "number" then . % 10000 else . end)' $file > temp.json && mv temp.json $file -done + +##################################################################### +# +# Don't make any changes to examples for now through this script. +# +##################################################################### +# for file in resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/*.json; do +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^[a-z0-9][a-z0-9-]*[a-z0-9]$" then "resource-name123" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^[0-9]+[KMGTPE]$" then "500M" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp ^https://.*$" then "https://www.example.com" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\..+\\.kusto\\.windows\\.net" then "..kusto.windows.net" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\.blob\\.core\\.windows\\.net" then ".blob.core.windows.net" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "string" and . == "Replace this value with a string matching RegExp .+\\.fabric\\.microsoft\\.com" then "https://.fabric.microsoft.com" else . end)' $file > temp.json && mv temp.json $file +# done + +# for file in resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/*.json; do + +# # The following Jq commands replace ids with properly formatted ARM Ids +# operationId=$(jq -r '.operationId' $file) +# if [[ $operationId == Instance* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("Instance") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == BrokerAuthentication* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerAuthentication") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == BrokerAuthorization* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerAuthorization") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == BrokerListener* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("BrokerListener") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == Broker* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("Broker") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == DataflowProfile* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("DataflowProfile") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == DataflowEndpoint* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("DataflowEndpoint") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# elif [[ $operationId == Dataflow* ]]; then +# jq --arg operationId "$operationId" 'walk(if type == "object" and .id? then if $operationId | startswith("Dataflow") then .id = "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123" else . end else . end)' $file > temp.json && mv temp.json $file +# fi + +# # The following Jq command chops down numbers that are greater than 10000 to 10000, the OAV generate examples tool will not respect the min/max value required by typespec +# jq 'walk(if type == "number" then . % 10000 else . end)' $file > temp.json && mv temp.json $file + +# # Set spanChannelCapacity to correct value for minimum. +# jq 'walk(if type == "object" and .spanChannelCapacity? then .spanChannelCapacity = 1000 else . end)' $file > temp.json && mv temp.json $file + +# # Replace description strings with some Lorem Ipsum text. +# jq 'walk(if type == "object" and .description? then .description = "Lorem ipsum odor amet, consectetuer adipiscing elit." else . end)' $file > temp.json && mv temp.json $file + +# # Replace identity strings with GUIDs. +# jq 'walk(if type == "object" and .principalId? then .principalId = "4a6e4195-75b8-4685-aa0c-0b5704779327" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "object" and .tenantId? then .tenantId = "ed060aa2-71ff-4d3f-99c4-a9138356fdec" else . end)' $file > temp.json && mv temp.json $file +# jq 'walk(if type == "object" and .clientId? then .clientId = "fb90f267-8872-431a-a76a-a1cec5d3c4d2" else . end)' $file > temp.json && mv temp.json $file +# done # Copy the examples to the management directory -echo "Copying the examples to the management directory..." -cp -r resource-manager/Microsoft.IoTOperations/preview/2024-07-01-preview/examples/. IoTOperations.Management/examples/2024-07-01-preview/ +# echo "Copying the examples to the management directory..." +# cp -r resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/. IoTOperations.Management/examples/2024-08-15-preview/ # Recompile the typespecs in the management directory -echo "Recompiling the typespecs in the management directory..." +# echo "Recompiling the typespecs in the management directory..." npx tsp compile IoTOperations.Management/. npx tsv IoTOperations.Management/. diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..872ab99f2b7d --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json @@ -0,0 +1,180 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate_Complex", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-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-mq" + ] + } + }, + { + "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-mq" + ] + } + }, + { + "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-mq" + ] + } + }, + { + "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" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..870bbfc6fcb7 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,168 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-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" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..73a71afa5cce --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthentication_Delete", + "operationId": "BrokerAuthentication_Delete", + "parameters": { + "api-version": "2024-08-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": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..76ffda470998 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "BrokerAuthentication_Get", + "operationId": "BrokerAuthentication_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "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" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5650f2a81f0d --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "BrokerAuthentication_ListByResourceGroup", + "operationId": "BrokerAuthentication_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..e7f4bb73c1a5 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json @@ -0,0 +1,243 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Complex", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..91c99022c443 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,189 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..e212834162a1 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Simple", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..75b036aec6a6 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthorization_Delete", + "operationId": "BrokerAuthorization_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6369eed01b3d --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "title": "BrokerAuthorization_Get", + "operationId": "BrokerAuthorization_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..88578875a1d6 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "BrokerAuthorization_ListByResourceGroup", + "operationId": "BrokerAuthorization_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..a2df570209c1 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Complex.json @@ -0,0 +1,182 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Complex", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b8c30ed0ebfa --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerListener_CreateOrUpdate", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..af789d42705e --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Simple.json @@ -0,0 +1,88 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Simple", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "ports": [ + { + "port": 1883 + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2e4b4d7d04a0 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerListener_Delete", + "operationId": "BrokerListener_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b5246b08c71f --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "BrokerListener_Get", + "operationId": "BrokerListener_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..626f8803864a --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "BrokerListener_ListByResourceGroup", + "operationId": "BrokerListener_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..abc7e73ee94b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Complex.json @@ -0,0 +1,122 @@ +{ + "title": "Broker_CreateOrUpdate_Complex", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "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", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "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": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Accepted" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b2cb961483fc --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,539 @@ +{ + "title": "Broker_CreateOrUpdate", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..f1b95bb4c59e --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Minimal.json @@ -0,0 +1,383 @@ +{ + "title": "Broker_CreateOrUpdate_Minimal", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..0ca796186134 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Simple.json @@ -0,0 +1,397 @@ +{ + "title": "Broker_CreateOrUpdate_Simple", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Low" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e5ea6936187 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Broker_Delete", + "operationId": "Broker_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f9eb4443b42 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_Get_MaximumSet_Gen.json @@ -0,0 +1,192 @@ +{ + "title": "Broker_Get", + "operationId": "Broker_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..b9d4a79f0cae --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,196 @@ +{ + "title": "Broker_ListByResourceGroup", + "operationId": "Broker_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json new file mode 100644 index 000000000000..1901ca57ba9c --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json @@ -0,0 +1,98 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adlsv2-endpoint", + "resource": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json new file mode 100644 index 000000000000..9cda761eb76c --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADX", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adx-endpoint", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json new file mode 100644 index 000000000000..36796dac8289 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json @@ -0,0 +1,110 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_AIO", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "aio-builtin-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json new file mode 100644 index 000000000000..72dc545a0c30 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json @@ -0,0 +1,101 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-grid-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json new file mode 100644 index 000000000000..c3d59619a671 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json @@ -0,0 +1,104 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventHub", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-hub-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json new file mode 100644 index 000000000000..25da9c4cc071 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Fabric", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "fabric-endpoint", + "resource": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json new file mode 100644 index 000000000000..220d73e7b38b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json @@ -0,0 +1,149 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Kafka", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-kafka-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json new file mode 100644 index 000000000000..4df0ddb476c0 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json @@ -0,0 +1,80 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "local-storage-endpoint", + "resource": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json new file mode 100644 index 000000000000..6951e05e709e --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json @@ -0,0 +1,128 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_MQTT", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-mqtt-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..50b1282310a9 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,476 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..25c8bd771cb4 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowEndpoint_Delete", + "operationId": "DataflowEndpoint_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..ddc1115956a3 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json @@ -0,0 +1,171 @@ +{ + "title": "DataflowEndpoint_Get", + "operationId": "DataflowEndpoint_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d255052443a4 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,175 @@ +{ + "title": "DataflowEndpoint_ListByResourceGroup", + "operationId": "DataflowEndpoint_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cdce03bee37 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,122 @@ +{ + "title": "DataflowProfile_CreateOrUpdate", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "resource": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..470ec35d0e16 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Minimal", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 1 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Multi.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Multi.json new file mode 100644 index 000000000000..cb5f636bfbae --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Multi.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Multi", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 3 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4e27df6930bb --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowProfile_Delete", + "operationId": "DataflowProfile_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..210e21a9fa1a --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "title": "DataflowProfile_Get", + "operationId": "DataflowProfile_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..893647bdb270 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "DataflowProfile_ListByResourceGroup", + "operationId": "DataflowProfile_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json new file mode 100644 index 000000000000..e047f0d76f3c --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json @@ -0,0 +1,222 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexContextualization", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-adx-contexualized", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json new file mode 100644 index 000000000000..1534e1df9acb --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json @@ -0,0 +1,255 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexEventHub", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-hub-transformed", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "filter": [ + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "($1+$2)/2", + "output": "AvgTemp.Value" + }, + { + "inputs": [], + "expression": "true", + "output": "dataflow-processed" + }, + { + "inputs": [ + "temperature.SourceTimestamp" + ], + "expression": "", + "output": "" + }, + { + "inputs": [ + "\"Tag 10\"" + ], + "expression": "", + "output": "pressure" + }, + { + "inputs": [ + "temperature.Value" + ], + "expression": "cToF($1)", + "output": "temperatureF.Value" + }, + { + "inputs": [ + "\"Tag 10\".Value" + ], + "expression": "scale ($1,0,10,0,100)", + "output": "\"Scale Tag 10\".Value" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-hub-endpoint", + "dataDestination": "myuniqueeventhub" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json new file mode 100644 index 000000000000..36ca70313c7f --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json @@ -0,0 +1,210 @@ +{ + "title": "Dataflow_CreateOrUpdate_FilterToTopic", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "mqtt-filter-to-topic", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bae8a9f41877 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,237 @@ +{ + "title": "Dataflow_CreateOrUpdate", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json new file mode 100644 index 000000000000..f146036e29be --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json @@ -0,0 +1,132 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-grid", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json new file mode 100644 index 000000000000..41a06b500c83 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json @@ -0,0 +1,153 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleFabric", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-fabric", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ee4b5a0ad021 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Dataflow_Delete", + "operationId": "Dataflow_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..42403de51bcf --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_Get_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "title": "Dataflow_Get", + "operationId": "Dataflow_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..7661ed3fa246 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "Dataflow_ListByProfileResource", + "operationId": "Dataflow_ListByProfileResource", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b4f5b9712b9 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,148 @@ +{ + "title": "Instance_CreateOrUpdate", + "operationId": "Instance_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "resource": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "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": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4a7edc4d80fa --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instance_Delete", + "operationId": "Instance_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..badc6c53bc73 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Get_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "Instance_Get", + "operationId": "Instance_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "rlfvvnnhcypp", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5dfb07292ce7 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "title": "Instance_ListByResourceGroup", + "operationId": "Instance_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "vmujggxdvxk" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..22e354b44e7b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,65 @@ +{ + "title": "Instance_ListBySubscription", + "operationId": "Instance_ListBySubscription", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "empgqmbhvklcqlyahmdsjemlep" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Update_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..d98e30ebbc44 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Instance_Update_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "Instance_Update", + "operationId": "Instance_Update", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": {} + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "wwihkapmgjbyrtyaj", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Operations_List_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..dd1b689bae65 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "xzxqfusky", + "isDataAction": true, + "display": { + "provider": "lrveskajtuwf", + "resource": "d", + "operation": "icuckgobartrrgmirax", + "description": "dsbfnxzvnoqdm" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/main.tsp b/specification/iotoperations/IoTOperations.Management/main.tsp index d98ea9212209..1907dc2bd0cf 100644 --- a/specification/iotoperations/IoTOperations.Management/main.tsp +++ b/specification/iotoperations/IoTOperations.Management/main.tsp @@ -33,10 +33,10 @@ namespace Microsoft.IoTOperations; /** Api versions */ enum Versions { - /** 2024-07-01-preview version */ + /** 2024-08-15-preview version */ @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - `2024-07-01-preview`, + `2024-08-15-preview`, } interface Operations extends Azure.ResourceManager.Operations {} @@ -46,7 +46,8 @@ interface Operations extends Azure.ResourceManager.Operations {} interface Instance { get is ArmResourceRead; createOrUpdate is ArmResourceCreateOrUpdateAsync; - update is ArmTagsPatchSync; + @parameterVisibility + update is ArmCustomPatchSync; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -89,29 +90,29 @@ interface BrokerAuthorization { } // /instances/dataflowProfiles resource Operations @armResourceOperations -interface DataFlowProfile { - get is ArmResourceRead; - createOrUpdate is ArmResourceCreateOrUpdateAsync; - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; +interface DataflowProfile { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; } // /instance/dataflowProfiles/dataflows resource Operations @armResourceOperations -interface DataFlow { - get is ArmResourceRead; - createOrUpdate is ArmResourceCreateOrUpdateAsync; - delete is ArmResourceDeleteWithoutOkAsync; +interface Dataflow { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + delete is ArmResourceDeleteWithoutOkAsync; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" - @operationId("DataFlow_ListByProfileResource") - listByResourceGroup is ArmResourceListByParent; + @operationId("Dataflow_ListByProfileResource") + listByResourceGroup is ArmResourceListByParent; } // /instance/dataflowEndpoints resource Operations @armResourceOperations -interface DataFlowEndpoint { - get is ArmResourceRead; - createOrUpdate is ArmResourceCreateOrUpdateAsync; - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; +interface DataflowEndpoint { + get is ArmResourceRead; + createOrUpdate is ArmResourceCreateOrUpdateAsync; + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; } diff --git a/specification/iotoperations/IoTOperations.Management/models/auth.tsp b/specification/iotoperations/IoTOperations.Management/models/auth.tsp index 6c3216565962..331cb1893bb5 100644 --- a/specification/iotoperations/IoTOperations.Management/models/auth.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/auth.tsp @@ -8,35 +8,41 @@ namespace Microsoft.IoTOperations; * * Dataflow Authentication Models */ -@doc("DataFlowEndpoint Authentication SystemAssignedManagedIdentity properties") -model DataFlowEndpointAuthenticationSystemAssignedManagedIdentity { +@doc("DataflowEndpoint Authentication SystemAssignedManagedIdentity properties") +model DataflowEndpointAuthenticationSystemAssignedManagedIdentity { @doc("Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.") - audience: string; + audience?: string; } -@doc("DataFlowEndpoint Authentication UserAssignedManagedIdentity properties") -model DataFlowEndpointAuthenticationUserAssignedManagedIdentity { +@doc("DataflowEndpoint Authentication UserAssignedManagedIdentity properties") +model DataflowEndpointAuthenticationUserAssignedManagedIdentity { @doc("Client ID for the user-assigned managed identity.") clientId: string; @doc("Resource identifier (application ID URI) of the resource, affixed with the .default suffix.") - audience: string; + scope?: string; @doc("Tenant ID.") tenantId: string; } -@doc("DataFlowEndpoint Authentication Sasl properties") -model DataFlowEndpointAuthenticationSasl { +@doc("DataflowEndpoint Authentication Sasl properties") +model DataflowEndpointAuthenticationSasl { @doc("Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.") - saslType: DataFlowEndpointAuthenticationSaslType; + saslType: DataflowEndpointAuthenticationSaslType; + + @doc("Token secret name.") + secretRef: string; +} +@doc("DataflowEndpoint Authentication Access Token properties") +model DataflowEndpointAuthenticationAccessToken { @doc("Token secret name.") - tokenSecretRef: string; + secretRef: string; } -@doc("DataFlowEndpoint Authentication Sasl Type properties") -union DataFlowEndpointAuthenticationSaslType { +@doc("DataflowEndpoint Authentication Sasl Type properties") +union DataflowEndpointAuthenticationSaslType { string, @doc("PLAIN Type") @@ -50,13 +56,13 @@ union DataFlowEndpointAuthenticationSaslType { } @doc("Service Account Token for BrokerAuthentication") -model DataFlowEndpointAuthenticationServiceAccountToken { +model DataflowEndpointAuthenticationServiceAccountToken { @doc("Audience of the service account. Optional, defaults to the broker internal service account audience.") audience: string; } -@doc("DataFlowEndpoint Authentication X509 properties") -model DataFlowEndpointAuthenticationX509 { +@doc("DataflowEndpoint Authentication X509 properties") +model DataflowEndpointAuthenticationX509 { @doc("Secret reference of the X.509 certificate.") secretRef: string; } @@ -119,3 +125,12 @@ model BrokerAuthenticatorMethodX509Attributes { @doc("Subject of the X509 attribute.") subject: string; } + +@doc("System and Use Assigned Managed Identity properties") +model ManagedIdentity { + @doc("System-assigned managed identity authentication.") + systemAssignedManagedIdentitySettings?: DataflowEndpointAuthenticationSystemAssignedManagedIdentity; + + @doc("User-assigned managed identity authentication.") + userAssignedManagedIdentitySettings?: DataflowEndpointAuthenticationUserAssignedManagedIdentity; +} diff --git a/specification/iotoperations/IoTOperations.Management/models/base.tsp b/specification/iotoperations/IoTOperations.Management/models/base.tsp index aaa4875031c1..dd4beacde903 100644 --- a/specification/iotoperations/IoTOperations.Management/models/base.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/base.tsp @@ -165,7 +165,7 @@ model LocalKubernetesReference { @doc("Cert-Manager issuerRef properties") model CertManagerIssuerRef { @doc("group of issuer.") - apiGroup: string = "cert-manager.io"; + group: string = "cert-manager.io"; @doc("kind of issuer (Issuer or ClusterIssuer).") kind: CertManagerIssuerKind; @@ -184,3 +184,53 @@ union CertManagerIssuerKind { @doc("ClusterIssuer kind.") ClusterIssuer: "ClusterIssuer", } + +alias SystemAssignedManagedIdentity = "SystemAssignedManagedIdentity"; +alias UserAssignedManagedIdentity = "UserAssignedManagedIdentity"; +alias AccessToken = "AccessToken"; +alias Sasl = "Sasl"; +alias X509Certificate = "X509Certificate"; +alias Anonymous = "Anonymous"; + +@doc("Managed Identity Method") +union ManagedIdentityMethod { + string, + + @doc("SystemAssignedManagedIdentity type") + SystemAssignedManagedIdentity: SystemAssignedManagedIdentity, + + @doc("UserAssignedManagedIdentity type") + UserAssignedManagedIdentity: UserAssignedManagedIdentity, +} + +@doc("Access Token Method") +union AccessTokenMethod { + string, + + @doc("AccessToken Option") + AccessToken: AccessToken, +} + +@doc("Sasl Method") +union SaslMethod { + string, + + @doc("Sasl Option") + Sasl: Sasl, +} + +@doc("x509 Certificate Method") +union x509CertificateMethod { + string, + + @doc("x509Certificate Option") + X509Certificate: X509Certificate, +} + +@doc("x509 Certificate Method") +union AnonymousMethod { + string, + + @doc("Anonymous Option") + Anonymous: Anonymous, +} diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/authentications.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/authentications.tsp index df1e74023e2d..7ece81f4d3d5 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/authentications.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/authentications.tsp @@ -49,13 +49,13 @@ model BrokerAuthenticatorMethods { method: BrokerAuthenticationMethod; @doc("Custom authentication configuration.") - custom?: BrokerAuthenticatorMethodCustom; + customSettings?: BrokerAuthenticatorMethodCustom; @doc("ServiceAccountToken authentication configuration.") - serviceAccountToken?: BrokerAuthenticatorMethodSat; + serviceAccountTokenSettings?: BrokerAuthenticatorMethodSat; @doc("X.509 authentication configuration.") - x509Credentials?: BrokerAuthenticatorMethodX509; + x509Settings?: BrokerAuthenticatorMethodX509; } @doc("Broker Authentication Mode") @@ -69,5 +69,5 @@ union BrokerAuthenticationMethod { ServiceAccountToken: "ServiceAccountToken", @doc("X.509 authentication configuration.") - X509Credentials: "X509Credentials", + X509: "X509", } diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/authorizations.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/authorizations.tsp index 57b4d13f7afc..1328d4f938ba 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/authorizations.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/authorizations.tsp @@ -85,6 +85,9 @@ model BrokerResourceRule { @doc("Give access for a Broker method (i.e., Connect, Subscribe, or Publish).") method: BrokerResourceDefinitionMethods; + @doc("A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.") + clientIds?: string[] = #[]; + @doc("A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.") topics?: string[] = #[]; } diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp index 2d9928731464..9f4b43cccfdf 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp @@ -32,9 +32,6 @@ model BrokerListenerResource is ProxyResource { @doc("Defines a Broker listener. A listener is a collection of ports on which the broker accepts connections from clients.") model BrokerListenerProperties { - @doc("Broker associated with this listener.") - brokerRef: string; - @doc("Kubernetes Service name of this listener.") serviceName?: string = "aio-mq-dmqtt-frontend"; @@ -95,7 +92,7 @@ model TlsCertMethod { mode: TlsCertMethodMode; @doc("Option 1 - Automatic TLS server certificate management with cert-manager.") - automatic?: AutomaticCertMethod; + certManagerCertificateSpec?: CertManagerCertificateSpec; @doc("Option 2 - Manual TLS server certificate management through a defined secret.") manual?: X509ManualCertificate; @@ -113,12 +110,12 @@ union TlsCertMethodMode { } @doc("Automatic TLS server certificate management with cert-manager") -model AutomaticCertMethod { +model CertManagerCertificateSpec { @doc("Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.") duration?: string; @doc("Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself.") - secretRef?: string; + secretName?: string; @doc("When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes.") renewBefore?: string; diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp index c19ec4cc449f..6a6da31b4cd1 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp @@ -15,7 +15,7 @@ namespace Microsoft.IoTOperations; */ @doc("Instance dataflowEndpoint resource") @parentResource(InstanceResource) -model DataFlowEndpointResource is ProxyResource { +model DataflowEndpointResource is ProxyResource { @doc("Name of Instance dataflowEndpoint resource") @pattern("^[a-z0-9][a-z0-9-]*[a-z0-9]$") @key("dataflowEndpointName") @@ -32,38 +32,35 @@ model DataFlowEndpointResource is ProxyResource { extendedLocation: ExtendedLocation; } -@doc("DataFlowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource") -model DataFlowEndpointProperties { +@doc("DataflowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource") +model DataflowEndpointProperties { @doc("Endpoint Type.") endpointType: EndpointType; - @doc("Authentication configuration.") - authentication: DataFlowEndpointAuthentication; - @doc("Azure Data Explorer endpoint.") - dataExplorerSettings?: DataFlowEndpointDataExplorer; + dataExplorerSettings?: DataflowEndpointDataExplorer; @doc("Azure Data Lake endpoint.") - dataLakeStorageSettings?: DataFlowEndpointDataLakeStorage; + dataLakeStorageSettings?: DataflowEndpointDataLakeStorage; @doc("Microsoft Fabric endpoint.") - fabricOneLakeSettings?: DataFlowEndpointFabricOneLake; + fabricOneLakeSettings?: DataflowEndpointFabricOneLake; @doc("Kafka endpoint.") - kafkaSettings?: DataFlowEndpointKafka; + kafkaSettings?: DataflowEndpointKafka; @doc("Local persistent volume endpoint.") - localStorageSettings?: DataFlowEndpointLocalStorage; + localStorageSettings?: DataflowEndpointLocalStorage; @doc("Broker endpoint.") - mqttSettings?: DataFlowEndpointMqtt; + mqttSettings?: DataflowEndpointMqtt; @visibility("read") @doc("The status of the last operation.") provisioningState?: ProvisioningState; } -@doc("DataFlowEndpoint Type properties") +@doc("DataflowEndpoint Type properties") union EndpointType { string, @@ -87,7 +84,10 @@ union EndpointType { } @doc("Azure Data Explorer endpoint properties") -model DataFlowEndpointDataExplorer { +model DataflowEndpointDataExplorer { + @doc("Authentication configuration. NOTE - only authentication property is allowed per entry.") + authentication: DataflowEndpointDataExplorerAuthentication; + @doc("Database name.") database: string; @@ -100,51 +100,23 @@ model DataFlowEndpointDataExplorer { } @doc("Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed per entry.") -model DataFlowEndpointAuthentication { +model DataflowEndpointDataExplorerAuthentication { @doc("Mode of Authentication.") - method: AuthenticationMethod; - - @doc("System-assigned managed identity authentication.") - systemAssignedManagedIdentitySettings?: DataFlowEndpointAuthenticationSystemAssignedManagedIdentity; - - @doc("User-assigned managed identity authentication.") - userAssignedManagedIdentitySettings?: DataFlowEndpointAuthenticationUserAssignedManagedIdentity; - - @doc("SAS token authentication.") - accessTokenSecretRef?: string; - - @doc("SASL authentication.") - saslSettings?: DataFlowEndpointAuthenticationSasl; + method: DataExplorerAuthMethod; - @doc("Service Account Token authentication.") - serviceAccountTokenSettings?: DataFlowEndpointAuthenticationServiceAccountToken; - - @doc("X.509 certificate authentication.") - x509CredentialsSettings?: DataFlowEndpointAuthenticationX509; + ...ManagedIdentity; } -@doc("Authentication Mode properties") -union AuthenticationMethod { - string, - - @doc("SystemAssignedManagedIdentity Option") - SystemAssignedManagedIdentity: "SystemAssignedManagedIdentity", - - @doc("UserAssignedManagedIdentity Option") - UserAssignedManagedIdentity: "UserAssignedManagedIdentity", - - @doc("AccessToken Option") - AccessToken: "AccessToken", - - @doc("Sasl Option") - Sasl: "Sasl", - - @doc("X509Credentials Option") - X509Credentials: "X509Credentials", +@doc("DataflowEndpoint Data Explorer Authentication Method properties") +union DataExplorerAuthMethod { + ManagedIdentityMethod, } @doc("Azure Data Lake endpoint properties") -model DataFlowEndpointDataLakeStorage { +model DataflowEndpointDataLakeStorage { + @doc("Authentication configuration. NOTE - only authentication property is allowed per entry.") + authentication: DataflowEndpointDataLakeStorageAuthentication; + @doc("Host of the Azure Data Lake in the form of .blob.core.windows.net .") @pattern(".+\\.blob\\.core\\.windows\\.net") host: string; @@ -153,13 +125,35 @@ model DataFlowEndpointDataLakeStorage { batching?: BatchingConfiguration; } +@doc("Azure Data Lake endpoint Authentication properties. NOTE Enum - Only one method is supported for one entry") +model DataflowEndpointDataLakeStorageAuthentication { + @doc("Mode of Authentication.") + method: DataLakeStorageAuthMethod; + + // What is accessTokenSecretName now? + @doc("SAS token authentication.") + accessTokenSettings?: DataflowEndpointAuthenticationAccessToken; + + ...ManagedIdentity; +} + +#suppress "@azure-tools/typespec-autorest/union-unsupported" +@doc("DataflowEndpoint Data Lake Storage Authentication Method properties") +union DataLakeStorageAuthMethod { + ManagedIdentityMethod, + AccessTokenMethod, +} + @doc("Microsoft Fabric endpoint properties") -model DataFlowEndpointFabricOneLake { +model DataflowEndpointFabricOneLake { + @doc("Authentication configuration. NOTE - only one authentication property is allowed per entry.") + authentication: DataflowEndpointFabricOneLakeAuthentication; + @doc("Names of the workspace and lakehouse.") - names: DataFlowEndpointFabricOneLakeNames; + names: DataflowEndpointFabricOneLakeNames; @doc("Type of location of the data in the workspace. Can be either tables or files.") - oneLakePathType: DataFlowEndpointFabricPathType; + oneLakePathType: DataflowEndpointFabricPathType; @doc("Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.") @pattern(".+\\.fabric\\.microsoft\\.com") @@ -169,8 +163,22 @@ model DataFlowEndpointFabricOneLake { batching?: BatchingConfiguration; } +@doc("Microsoft Fabric endpoint. Authentication properties. NOTE - Only one method is supported for one entry") +model DataflowEndpointFabricOneLakeAuthentication { + @doc("Mode of Authentication.") + method: FabricOneLakeAuthMethod; + + ...ManagedIdentity; +} + +#suppress "@azure-tools/typespec-autorest/union-unsupported" +@doc("DataflowEndpoint Fabric One Lake Authentication Method properties") +union FabricOneLakeAuthMethod { + ManagedIdentityMethod, +} + @doc("Microsoft Fabric endpoint Names properties") -model DataFlowEndpointFabricOneLakeNames { +model DataflowEndpointFabricOneLakeNames { @doc("Lakehouse name.") lakehouseName: string; @@ -178,8 +186,8 @@ model DataFlowEndpointFabricOneLakeNames { workspaceName: string; } -@doc("DataFlowEndpoint Fabric Path Type properties") -union DataFlowEndpointFabricPathType { +@doc("DataflowEndpoint Fabric Path Type properties") +union DataflowEndpointFabricPathType { string, @doc("FILES Type") @@ -190,7 +198,10 @@ union DataFlowEndpointFabricPathType { } @doc("Kafka endpoint properties") -model DataFlowEndpointKafka { +model DataflowEndpointKafka { + @doc("Authentication configuration. NOTE - only authentication property is allowed per entry.") + authentication: DataflowEndpointKafkaAuthentication; + @doc("Consumer group ID.") consumerGroupId?: string; @@ -198,26 +209,51 @@ model DataFlowEndpointKafka { host?: string; @doc("Batching configuration.") - batching?: DataFlowEndpointKafkaBatching; + batching?: DataflowEndpointKafkaBatching; @doc("Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow doesn't have an Broker source.") - copyMqttProperties?: OperationalMode = OperationalMode.Disabled; + copyMqttProperties?: OperationalMode = OperationalMode.Enabled; @doc("Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source.") - compression?: DataFlowEndpointKafkaCompression = DataFlowEndpointKafkaCompression.None; + compression?: DataflowEndpointKafkaCompression = DataflowEndpointKafkaCompression.None; @doc("Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source.") - kafkaAcks?: DataFlowEndpointKafkaAcks = DataFlowEndpointKafkaAcks.All; + kafkaAcks?: DataflowEndpointKafkaAcks = DataflowEndpointKafkaAcks.All; @doc("Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source.") - partitionStrategy?: DataFlowEndpointKafkaPartitionStrategy = DataFlowEndpointKafkaPartitionStrategy.Default; + partitionStrategy?: DataflowEndpointKafkaPartitionStrategy = DataflowEndpointKafkaPartitionStrategy.Default; @doc("TLS configuration.") - tls: TlsProperties; + tls?: TlsProperties = #{ mode: OperationalMode.Enabled }; + + @doc("Cloud event mapping config.") + cloudEventAttributes?: CloudEventAttributeType; +} + +@doc("Kafka endpoint Authentication properties. NOTE - only authentication property is allowed per entry") +model DataflowEndpointKafkaAuthentication { + @doc("Mode of Authentication.") + method: KafkaAuthMethod; + + ...ManagedIdentity; + + @doc("SASL authentication.") + saslSettings?: DataflowEndpointAuthenticationSasl; + + @doc("X.509 certificate authentication.") + x509CertificateSettings?: DataflowEndpointAuthenticationX509; +} + +@doc("DataflowEndpoint Kafka Authentication Method properties") +union KafkaAuthMethod { + ManagedIdentityMethod, + SaslMethod, + x509CertificateMethod, + AnonymousMethod, } @doc("Kafka endpoint Batching properties") -model DataFlowEndpointKafkaBatching { +model DataflowEndpointKafkaBatching { @doc("Mode for batching.") mode?: OperationalMode = OperationalMode.Enabled; @@ -238,7 +274,7 @@ model DataFlowEndpointKafkaBatching { } @doc("Kafka endpoint Compression properties") -union DataFlowEndpointKafkaCompression { +union DataflowEndpointKafkaCompression { string, @doc("NONE Option") @@ -254,8 +290,8 @@ union DataFlowEndpointKafkaCompression { Lz4: "Lz4", } -@doc("DataFlowEndpoint Kafka Acks properties") -union DataFlowEndpointKafkaAcks { +@doc("DataflowEndpoint Kafka Acks properties") +union DataflowEndpointKafkaAcks { string, @doc("ZERO Option") @@ -268,8 +304,8 @@ union DataFlowEndpointKafkaAcks { All: "All", } -@doc("DataFlowEndpoint Kafka Partition Strategy properties") -union DataFlowEndpointKafkaPartitionStrategy { +@doc("DataflowEndpoint Kafka Partition Strategy properties") +union DataflowEndpointKafkaPartitionStrategy { string, @doc("Default: Assigns messages to random partitions, using a round-robin algorithm.") @@ -286,18 +322,21 @@ union DataFlowEndpointKafkaPartitionStrategy { } @doc("Local persistent volume endpoint properties") -model DataFlowEndpointLocalStorage { +model DataflowEndpointLocalStorage { @doc("Persistent volume claim name.") persistentVolumeClaimRef: string; } @doc("Broker endpoint properties") -model DataFlowEndpointMqtt { +model DataflowEndpointMqtt { + @doc("authentication properties. DEFAULT: kubernetes.audience=aio-mq-internal. NOTE - Enum field only property is allowed") + authentication: DataflowEndpointMqttAuthentication; + @doc("Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if omitted.") clientIdPrefix?: string; @doc("Host of the Broker in the form of :. Optional; connects to Broker if omitted.") - host?: string = "aio-mq-dmqtt-frontend:1883"; + host?: string = "aio-mq-dmqtt-frontend:8883"; @doc("Enable or disable websockets.") protocol?: BrokerProtocolType = BrokerProtocolType.Mqtt; @@ -323,7 +362,32 @@ model DataFlowEndpointMqtt { sessionExpirySeconds?: int32 = 3600; @doc("TLS configuration.") - tls?: TlsProperties; + tls?: TlsProperties = #{ mode: OperationalMode.Enabled }; + + @doc("Cloud event mapping config.") + cloudEventAttributes?: CloudEventAttributeType; +} + +@doc("Mqtt endpoint Authentication properties. NOTE - only authentication property is allowed per entry.") +model DataflowEndpointMqttAuthentication { + @doc("Mode of Authentication.") + method: MqttAuthMethod; + + ...ManagedIdentity; + + @doc("Kubernetes service account token authentication. Default audience if not set is aio-mq-internal") + serviceAccountTokenSettings?: DataflowEndpointAuthenticationServiceAccountToken; + + @doc("X.509 certificate authentication.") + x509CertificateSettings?: DataflowEndpointAuthenticationX509; +} + +@doc("DataflowEndpoint Mqtt Authentication Method properties") +union MqttAuthMethod { + ManagedIdentityMethod, + SaslMethod, + x509CertificateMethod, + AnonymousMethod, } @doc("Broker Retain types") @@ -336,3 +400,14 @@ union MqttRetainType { @doc("Never retain messages.") Never: "Never", } + +@doc("How to map events to the cloud.") +union CloudEventAttributeType { + string, + + @doc("Propagate type") + Propagate: "Propagate", + + @doc("CreateOrRemap type") + CreateOrRemap: "CreateOrRemap", +} diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowProfiles.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowProfiles.tsp index 074e651a03ec..0ef472e489f9 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowProfiles.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowProfiles.tsp @@ -15,7 +15,7 @@ namespace Microsoft.IoTOperations; */ @doc("Instance dataflowProfile resource") @parentResource(InstanceResource) -model DataFlowProfileResource is ProxyResource { +model DataflowProfileResource is ProxyResource { @doc("Name of Instance dataflowProfile resource") @pattern("^[a-z0-9][a-z0-9-]*[a-z0-9]$") @key("dataflowProfileName") @@ -32,22 +32,22 @@ model DataFlowProfileResource is ProxyResource { extendedLocation: ExtendedLocation; } -@doc("DataFlowProfile Resource properties") -model DataFlowProfileProperties { +@doc("DataflowProfile Resource properties") +model DataflowProfileProperties { @doc("Spec defines the desired identities of NBC diagnostics settings.") diagnostics?: ProfileDiagnostics; @doc("To manually scale the dataflow profile, specify the maximum number of instances you want to run.") @minValue(1) @maxValue(20) - instanceCount?: int32; + instanceCount?: int32 = 1; @visibility("read") @doc("The status of the last operation.") provisioningState?: ProvisioningState; } -@doc("DataFlowProfile Diagnostics properties") +@doc("DataflowProfile Diagnostics properties") model ProfileDiagnostics { ...MetricProperties; } diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp index eb675bca4e5e..bc12024292e7 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp @@ -14,8 +14,8 @@ namespace Microsoft.IoTOperations; * dataflow resource type model details. */ @doc("Instance dataflowProfile dataflow resource") -@parentResource(DataFlowProfileResource) -model DataFlowResource is ProxyResource { +@parentResource(DataflowProfileResource) +model DataflowResource is ProxyResource { @doc("Name of Instance dataflowProfile dataflow resource") @pattern("^[a-z0-9][a-z0-9-]*[a-z0-9]$") @key("dataflowName") @@ -32,25 +32,22 @@ model DataFlowResource is ProxyResource { extendedLocation: ExtendedLocation; } -@doc("DataFlow Resource properties") -model DataFlowProperties { - @doc("Reference to the DataflowProfile CR.") - profileRef: string; - - @doc("Mode for DataFlow. Optional; defaults to Enabled.") +@doc("Dataflow Resource properties") +model DataflowProperties { + @doc("Mode for Dataflow. Optional; defaults to Enabled.") mode?: OperationalMode = OperationalMode.Enabled; @doc("List of operations including source and destination references as well as transformation.") @OpenAPI.extension("x-ms-identifiers", []) - operations: DataFlowOperation[]; + operations: DataflowOperation[]; @visibility("read") @doc("The status of the last operation.") provisioningState?: ProvisioningState; } -@doc("DataFlow Operation properties. NOTE - One only method is allowed to be used for one entry.") -model DataFlowOperation { +@doc("Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.") +model DataflowOperation { @doc("Type of operation.") operationType: OperationType; @@ -58,32 +55,32 @@ model DataFlowOperation { @maxLength(64) name?: string; - @doc("Transformation configuration.") - builtInTransformationSettings?: DataFlowBuiltInTransformation; + @doc("Source configuration.") + sourceSettings?: DataflowSourceOperationSettings; - @doc("Destination configuration.") - destinationSettings: DataFlowDestinationOperation; + @doc("Built In Transformation configuration.") + builtInTransformationSettings?: DataflowBuiltInTransformationSettings; - @doc("Source configuration.") - sourceSettings: DataFlowSourceOperation; + @doc("Destination configuration.") + destinationSettings?: DataflowDestinationOperationSettings; } -@doc("DataFlow Operation Type properties") +@doc("Dataflow Operation Type properties") union OperationType { string, - @doc("DataFlow Source Operation") + @doc("Dataflow Source Operation") Source: "Source", - @doc("DataFlow Destination Operation") + @doc("Dataflow Destination Operation") Destination: "Destination", - @doc("DataFlow BuiltIn Transformation Operation") + @doc("Dataflow BuiltIn Transformation Operation") BuiltInTransformation: "BuiltInTransformation", } -@doc("DataFlow BuiltIn Transformation properties") -model DataFlowBuiltInTransformation { +@doc("Dataflow BuiltIn Transformation properties") +model DataflowBuiltInTransformationSettings { @doc("Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json") serializationFormat?: TransformationSerializationFormat = TransformationSerializationFormat.Json; @@ -93,19 +90,19 @@ model DataFlowBuiltInTransformation { @doc("Enrich data from Broker State Store. Dataset references a key in Broker State Store.") @maxItems(1) @OpenAPI.extension("x-ms-identifiers", []) - datasets?: DataFlowBuiltInTransformationDataset[] = #[]; + datasets?: DataflowBuiltInTransformationDataset[] = #[]; @doc("Filters input record or datapoints based on condition.") @OpenAPI.extension("x-ms-identifiers", []) - filter?: DataFlowBuiltInTransformationFilter[] = #[]; + filter?: DataflowBuiltInTransformationFilter[] = #[]; @doc("Maps input to output message.") @OpenAPI.extension("x-ms-identifiers", []) - map?: DataFlowBuiltInTransformationMap[] = #[]; + map?: DataflowBuiltInTransformationMap[] = #[]; } -@doc("DataFlow BuiltIn Transformation dataset properties") -model DataFlowBuiltInTransformationDataset { +@doc("Dataflow BuiltIn Transformation dataset properties") +model DataflowBuiltInTransformationDataset { @doc("The key of the dataset.") @maxLength(64) key: string; @@ -124,8 +121,8 @@ model DataFlowBuiltInTransformationDataset { expression?: string; } -@doc("DataFlow BuiltIn Transformation filter properties") -model DataFlowBuiltInTransformationFilter { +@doc("Dataflow BuiltIn Transformation filter properties") +model DataflowBuiltInTransformationFilter { @doc("The type of dataflow operation.") type?: FilterType = FilterType.Filter; @@ -148,10 +145,10 @@ union FilterType { Filter: "Filter", } -@doc("DataFlow BuiltIn Transformation map properties") -model DataFlowBuiltInTransformationMap { +@doc("Dataflow BuiltIn Transformation map properties") +model DataflowBuiltInTransformationMap { @doc("Type of transformation.") - type?: DataFlowMappingType; + type?: DataflowMappingType; @doc("A user provided optional description of the mapping function.") @maxLength(256) @@ -167,8 +164,8 @@ model DataFlowBuiltInTransformationMap { output: string; } -@doc("DataFlow type mapping properties") -union DataFlowMappingType { +@doc("Dataflow type mapping properties") +union DataflowMappingType { string, @doc("New Properties type") @@ -209,8 +206,8 @@ union TransformationSerializationFormat { Parquet: "Parquet", } -@doc("DataFlow Destination Operation properties") -model DataFlowDestinationOperation { +@doc("Dataflow Destination Operation properties") +model DataflowDestinationOperationSettings { @doc("Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.") endpointRef: string; @@ -218,8 +215,8 @@ model DataFlowDestinationOperation { dataDestination: string; } -@doc("DataFlow Source Operation properties") -model DataFlowSourceOperation { +@doc("Dataflow Source Operation properties") +model DataflowSourceOperationSettings { @doc("Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.") endpointRef: string; diff --git a/specification/iotoperations/IoTOperations.Management/models/instance.tsp b/specification/iotoperations/IoTOperations.Management/models/instance.tsp index b4c0b1450f64..de89df9f4ae9 100644 --- a/specification/iotoperations/IoTOperations.Management/models/instance.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/instance.tsp @@ -28,9 +28,17 @@ model InstanceResource is TrackedResource { @doc("Edge location of the resource.") @visibility("read", "create") extendedLocation: ExtendedLocation; + + ...ManagedServiceIdentityProperty; +} + +@doc("The Instance update model.") +model InstancePatchModel { + ...Azure.ResourceManager.Foundations.ArmTagsProperty; + ...ManagedServiceIdentityProperty; } -@doc("The properties of a Instance resource.") +@doc("The properties of the Instance resource.") model InstanceProperties { @doc("Detailed description of the Instance.") description?: string; @@ -42,4 +50,67 @@ model InstanceProperties { @doc("The Azure IoT Operations version.") @visibility("read") version?: string; + + @doc("The reference to the Schema Registry for this AIO Instance.") + @pattern("^[a-z0-9][a-z0-9-]*[a-z0-9]$") + schemaRegistryNamespace: string; + + @doc("The configuration for components of the AIO Instance.") + components?: Components = #{}; +} + +@doc("The configuration for components of the AIO Instance.") +model Components { + @doc("The properties of the ADR instance.") + adr?: AdrProperties = #{ state: OperationalMode.Enabled }; + + @doc("The properties of the AKRI instance.") + akri?: AkriInstanceProperties = #{ state: OperationalMode.Enabled }; + + @doc("The properties of the connectors instance.") + connectors?: ConnectorInstanceProperties = #{ + state: OperationalMode.Enabled, + }; + + @doc("The properties of the dataflows instance.") + dataflows?: DataflowInstanceProperties = #{ state: OperationalMode.Enabled }; + + @doc("The properties of the device provisioning instance.") + schemaRegistry?: SchemaRegistryInstanceProperties = #{ + state: OperationalMode.Enabled, + }; +} + +@doc("The properties of an ADR instance.") +model AdrProperties { + @doc("This determines if the ADR service is enabled.") + @visibility("create", "read") + state: OperationalMode; +} +@doc("The properties of an AKRI instance.") +model AkriInstanceProperties { + @doc("This determines if the AKRI service is enabled.") + @visibility("create", "read") + state: OperationalMode; +} + +@doc("The properties of a Connector instance.") +model ConnectorInstanceProperties { + @doc("This determines if the Connector service is enabled.") + @visibility("create", "read") + state: OperationalMode; +} + +@doc("The properties of an Dataflow instance.") +model DataflowInstanceProperties { + @doc("This determines if the Dataflow service is enabled.") + @visibility("create", "read") + state: OperationalMode; +} + +@doc("The properties of a Schema Registry instance.") +model SchemaRegistryInstanceProperties { + @doc("This determines if the Schema Registry service is enabled.") + @visibility("create", "read") + state: OperationalMode; } diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..872ab99f2b7d --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json @@ -0,0 +1,180 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate_Complex", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-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-mq" + ] + } + }, + { + "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-mq" + ] + } + }, + { + "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-mq" + ] + } + }, + { + "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" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..870bbfc6fcb7 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,168 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-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" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..73a71afa5cce --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthentication_Delete", + "operationId": "BrokerAuthentication_Delete", + "parameters": { + "api-version": "2024-08-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": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..76ffda470998 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "BrokerAuthentication_Get", + "operationId": "BrokerAuthentication_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "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" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5650f2a81f0d --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "BrokerAuthentication_ListByResourceGroup", + "operationId": "BrokerAuthentication_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..e7f4bb73c1a5 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json @@ -0,0 +1,243 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Complex", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..91c99022c443 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,189 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..e212834162a1 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Simple", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "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": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..75b036aec6a6 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthorization_Delete", + "operationId": "BrokerAuthorization_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6369eed01b3d --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "title": "BrokerAuthorization_Get", + "operationId": "BrokerAuthorization_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..88578875a1d6 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "BrokerAuthorization_ListByResourceGroup", + "operationId": "BrokerAuthorization_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "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/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..a2df570209c1 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json @@ -0,0 +1,182 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Complex", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b8c30ed0ebfa --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerListener_CreateOrUpdate", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..af789d42705e --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json @@ -0,0 +1,88 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Simple", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "ports": [ + { + "port": 1883 + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "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": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2e4b4d7d04a0 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerListener_Delete", + "operationId": "BrokerListener_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b5246b08c71f --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "BrokerListener_Get", + "operationId": "BrokerListener_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..626f8803864a --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "BrokerListener_ListByResourceGroup", + "operationId": "BrokerListener_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "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/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..abc7e73ee94b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Complex.json @@ -0,0 +1,122 @@ +{ + "title": "Broker_CreateOrUpdate_Complex", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "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", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "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": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Accepted" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b2cb961483fc --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,539 @@ +{ + "title": "Broker_CreateOrUpdate", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..f1b95bb4c59e --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Minimal.json @@ -0,0 +1,383 @@ +{ + "title": "Broker_CreateOrUpdate_Minimal", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..0ca796186134 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Simple.json @@ -0,0 +1,397 @@ +{ + "title": "Broker_CreateOrUpdate_Simple", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Low" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "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": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e5ea6936187 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Broker_Delete", + "operationId": "Broker_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f9eb4443b42 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_Get_MaximumSet_Gen.json @@ -0,0 +1,192 @@ +{ + "title": "Broker_Get", + "operationId": "Broker_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..b9d4a79f0cae --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,196 @@ +{ + "title": "Broker_ListByResourceGroup", + "operationId": "Broker_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "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", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json new file mode 100644 index 000000000000..1901ca57ba9c --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json @@ -0,0 +1,98 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adlsv2-endpoint", + "resource": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json new file mode 100644 index 000000000000..9cda761eb76c --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADX", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adx-endpoint", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json new file mode 100644 index 000000000000..36796dac8289 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json @@ -0,0 +1,110 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_AIO", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "aio-builtin-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-mq-dmqtt-frontend:8883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-mq" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json new file mode 100644 index 000000000000..72dc545a0c30 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json @@ -0,0 +1,101 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-grid-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json new file mode 100644 index 000000000000..c3d59619a671 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json @@ -0,0 +1,104 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventHub", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-hub-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json new file mode 100644 index 000000000000..25da9c4cc071 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Fabric", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "fabric-endpoint", + "resource": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json new file mode 100644 index 000000000000..220d73e7b38b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json @@ -0,0 +1,149 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Kafka", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-kafka-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json new file mode 100644 index 000000000000..4df0ddb476c0 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json @@ -0,0 +1,80 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "local-storage-endpoint", + "resource": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json new file mode 100644 index 000000000000..6951e05e709e --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json @@ -0,0 +1,128 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_MQTT", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-mqtt-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..50b1282310a9 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,476 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "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": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..25c8bd771cb4 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowEndpoint_Delete", + "operationId": "DataflowEndpoint_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..ddc1115956a3 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json @@ -0,0 +1,171 @@ +{ + "title": "DataflowEndpoint_Get", + "operationId": "DataflowEndpoint_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d255052443a4 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,175 @@ +{ + "title": "DataflowEndpoint_ListByResourceGroup", + "operationId": "DataflowEndpoint_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cdce03bee37 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,122 @@ +{ + "title": "DataflowProfile_CreateOrUpdate", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "resource": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..470ec35d0e16 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Minimal", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 1 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json new file mode 100644 index 000000000000..cb5f636bfbae --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Multi", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 3 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "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": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4e27df6930bb --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowProfile_Delete", + "operationId": "DataflowProfile_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..210e21a9fa1a --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "title": "DataflowProfile_Get", + "operationId": "DataflowProfile_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..893647bdb270 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "title": "DataflowProfile_ListByResourceGroup", + "operationId": "DataflowProfile_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "diagnostics": { + "logs": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "tbfsk", + "intervalSeconds": 145, + "level": "rwq" + }, + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "opentelemetryExportConfig": { + "otlpGrpcEndpoint": "iwbklzcm", + "intervalSeconds": 98 + }, + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json new file mode 100644 index 000000000000..e047f0d76f3c --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json @@ -0,0 +1,222 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexContextualization", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-adx-contexualized", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json new file mode 100644 index 000000000000..1534e1df9acb --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json @@ -0,0 +1,255 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexEventHub", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-hub-transformed", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "filter": [ + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "($1+$2)/2", + "output": "AvgTemp.Value" + }, + { + "inputs": [], + "expression": "true", + "output": "dataflow-processed" + }, + { + "inputs": [ + "temperature.SourceTimestamp" + ], + "expression": "", + "output": "" + }, + { + "inputs": [ + "\"Tag 10\"" + ], + "expression": "", + "output": "pressure" + }, + { + "inputs": [ + "temperature.Value" + ], + "expression": "cToF($1)", + "output": "temperatureF.Value" + }, + { + "inputs": [ + "\"Tag 10\".Value" + ], + "expression": "scale ($1,0,10,0,100)", + "output": "\"Scale Tag 10\".Value" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-hub-endpoint", + "dataDestination": "myuniqueeventhub" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json new file mode 100644 index 000000000000..36ca70313c7f --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json @@ -0,0 +1,210 @@ +{ + "title": "Dataflow_CreateOrUpdate_FilterToTopic", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "mqtt-filter-to-topic", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bae8a9f41877 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,237 @@ +{ + "title": "Dataflow_CreateOrUpdate", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json new file mode 100644 index 000000000000..f146036e29be --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json @@ -0,0 +1,132 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-grid", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json new file mode 100644 index 000000000000..41a06b500c83 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json @@ -0,0 +1,153 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleFabric", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-fabric", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "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": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ee4b5a0ad021 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Dataflow_Delete", + "operationId": "Dataflow_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..42403de51bcf --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "title": "Dataflow_Get", + "operationId": "Dataflow_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..7661ed3fa246 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "Dataflow_ListByProfileResource", + "operationId": "Dataflow_ListByProfileResource", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b4f5b9712b9 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,148 @@ +{ + "title": "Instance_CreateOrUpdate", + "operationId": "Instance_CreateOrUpdate", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "resource": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "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": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4a7edc4d80fa --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instance_Delete", + "operationId": "Instance_Delete", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..badc6c53bc73 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Get_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "title": "Instance_Get", + "operationId": "Instance_Get", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "rlfvvnnhcypp", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5dfb07292ce7 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "title": "Instance_ListByResourceGroup", + "operationId": "Instance_ListByResourceGroup", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "vmujggxdvxk" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..22e354b44e7b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,65 @@ +{ + "title": "Instance_ListBySubscription", + "operationId": "Instance_ListBySubscription", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "empgqmbhvklcqlyahmdsjemlep" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Update_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..d98e30ebbc44 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Instance_Update_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "Instance_Update", + "operationId": "Instance_Update", + "parameters": { + "api-version": "2024-08-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": {} + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryNamespace": "resource-name123", + "components": { + "adr": { + "state": "Enabled" + }, + "akri": { + "state": "Enabled" + }, + "connectors": { + "state": "Enabled" + }, + "dataflows": { + "state": "Enabled" + }, + "schemaRegistry": { + "state": "Enabled" + } + }, + "description": "wwihkapmgjbyrtyaj", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..dd1b689bae65 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-08-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "xzxqfusky", + "isDataAction": true, + "display": { + "provider": "lrveskajtuwf", + "resource": "d", + "operation": "icuckgobartrrgmirax", + "description": "dsbfnxzvnoqdm" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json new file mode 100644 index 000000000000..0f037174bb61 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json @@ -0,0 +1,6697 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.IoTOperations management service.", + "version": "2024-08-15-preview", + "description": "Microsoft.IoTOperations Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Instance" + }, + { + "name": "Broker" + }, + { + "name": "BrokerListener" + }, + { + "name": "BrokerAuthentication" + }, + { + "name": "BrokerAuthorization" + }, + { + "name": "DataflowProfile" + }, + { + "name": "Dataflow" + }, + { + "name": "DataflowEndpoint" + } + ], + "paths": { + "/providers/Microsoft.IoTOperations/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.IoTOperations/instances": { + "get": { + "operationId": "Instance_ListBySubscription", + "tags": [ + "Instance" + ], + "description": "List InstanceResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_ListBySubscription": { + "$ref": "./examples/Instance_ListBySubscription_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances": { + "get": { + "operationId": "Instance_ListByResourceGroup", + "tags": [ + "Instance" + ], + "description": "List InstanceResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_ListByResourceGroup": { + "$ref": "./examples/Instance_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}": { + "get": { + "operationId": "Instance_Get", + "tags": [ + "Instance" + ], + "description": "Get a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Get": { + "$ref": "./examples/Instance_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Instance_CreateOrUpdate", + "tags": [ + "Instance" + ], + "description": "Create a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InstanceResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InstanceResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "201": { + "description": "Resource 'InstanceResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/InstanceResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_CreateOrUpdate": { + "$ref": "./examples/Instance_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Instance_Update", + "tags": [ + "Instance" + ], + "description": "Update a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InstancePatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Update": { + "$ref": "./examples/Instance_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Instance_Delete", + "tags": [ + "Instance" + ], + "description": "Delete a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Delete": { + "$ref": "./examples/Instance_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers": { + "get": { + "operationId": "Broker_ListByResourceGroup", + "tags": [ + "Broker" + ], + "description": "List BrokerResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_ListByResourceGroup": { + "$ref": "./examples/Broker_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}": { + "get": { + "operationId": "Broker_Get", + "tags": [ + "Broker" + ], + "description": "Get a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_Get": { + "$ref": "./examples/Broker_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Broker_CreateOrUpdate", + "tags": [ + "Broker" + ], + "description": "Create a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerResource" + } + }, + "201": { + "description": "Resource 'BrokerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_CreateOrUpdate": { + "$ref": "./examples/Broker_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Broker_CreateOrUpdate_Complex": { + "$ref": "./examples/Broker_CreateOrUpdate_Complex.json" + }, + "Broker_CreateOrUpdate_Minimal": { + "$ref": "./examples/Broker_CreateOrUpdate_Minimal.json" + }, + "Broker_CreateOrUpdate_Simple": { + "$ref": "./examples/Broker_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Broker_Delete", + "tags": [ + "Broker" + ], + "description": "Delete a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_Delete": { + "$ref": "./examples/Broker_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications": { + "get": { + "operationId": "BrokerAuthentication_ListByResourceGroup", + "tags": [ + "BrokerAuthentication" + ], + "description": "List BrokerAuthenticationResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_ListByResourceGroup": { + "$ref": "./examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}": { + "get": { + "operationId": "BrokerAuthentication_Get", + "tags": [ + "BrokerAuthentication" + ], + "description": "Get a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_Get": { + "$ref": "./examples/BrokerAuthentication_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerAuthentication_CreateOrUpdate", + "tags": [ + "BrokerAuthentication" + ], + "description": "Create a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerAuthenticationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "201": { + "description": "Resource 'BrokerAuthenticationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_CreateOrUpdate": { + "$ref": "./examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerAuthentication_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerAuthentication_CreateOrUpdate_Complex.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerAuthentication_Delete", + "tags": [ + "BrokerAuthentication" + ], + "description": "Delete a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_Delete": { + "$ref": "./examples/BrokerAuthentication_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations": { + "get": { + "operationId": "BrokerAuthorization_ListByResourceGroup", + "tags": [ + "BrokerAuthorization" + ], + "description": "List BrokerAuthorizationResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_ListByResourceGroup": { + "$ref": "./examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}": { + "get": { + "operationId": "BrokerAuthorization_Get", + "tags": [ + "BrokerAuthorization" + ], + "description": "Get a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_Get": { + "$ref": "./examples/BrokerAuthorization_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerAuthorization_CreateOrUpdate", + "tags": [ + "BrokerAuthorization" + ], + "description": "Create a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerAuthorizationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "201": { + "description": "Resource 'BrokerAuthorizationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_CreateOrUpdate": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerAuthorization_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_Complex.json" + }, + "BrokerAuthorization_CreateOrUpdate_Simple": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerAuthorization_Delete", + "tags": [ + "BrokerAuthorization" + ], + "description": "Delete a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_Delete": { + "$ref": "./examples/BrokerAuthorization_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners": { + "get": { + "operationId": "BrokerListener_ListByResourceGroup", + "tags": [ + "BrokerListener" + ], + "description": "List BrokerListenerResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerListenerResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_ListByResourceGroup": { + "$ref": "./examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}": { + "get": { + "operationId": "BrokerListener_Get", + "tags": [ + "BrokerListener" + ], + "description": "Get a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_Get": { + "$ref": "./examples/BrokerListener_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerListener_CreateOrUpdate", + "tags": [ + "BrokerListener" + ], + "description": "Create a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerListenerResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "201": { + "description": "Resource 'BrokerListenerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_CreateOrUpdate": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerListener_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_Complex.json" + }, + "BrokerListener_CreateOrUpdate_Simple": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerListener_Delete", + "tags": [ + "BrokerListener" + ], + "description": "Delete a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_Delete": { + "$ref": "./examples/BrokerListener_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints": { + "get": { + "operationId": "DataflowEndpoint_ListByResourceGroup", + "tags": [ + "DataflowEndpoint" + ], + "description": "List DataflowEndpointResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_ListByResourceGroup": { + "$ref": "./examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}": { + "get": { + "operationId": "DataflowEndpoint_Get", + "tags": [ + "DataflowEndpoint" + ], + "description": "Get a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_Get": { + "$ref": "./examples/DataflowEndpoint_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataflowEndpoint_CreateOrUpdate", + "tags": [ + "DataflowEndpoint" + ], + "description": "Create a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "201": { + "description": "Resource 'DataflowEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_CreateOrUpdate": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json" + }, + "DataflowEndpoint_CreateOrUpdate_ADLSv2": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json" + }, + "DataflowEndpoint_CreateOrUpdate_ADX": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_ADX.json" + }, + "DataflowEndpoint_CreateOrUpdate_AIO": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_AIO.json" + }, + "DataflowEndpoint_CreateOrUpdate_EventGrid": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json" + }, + "DataflowEndpoint_CreateOrUpdate_EventHub": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_EventHub.json" + }, + "DataflowEndpoint_CreateOrUpdate_Fabric": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_Fabric.json" + }, + "DataflowEndpoint_CreateOrUpdate_Kafka": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_Kafka.json" + }, + "DataflowEndpoint_CreateOrUpdate_LocalStorage": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json" + }, + "DataflowEndpoint_CreateOrUpdate_MQTT": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_MQTT.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataflowEndpoint_Delete", + "tags": [ + "DataflowEndpoint" + ], + "description": "Delete a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_Delete": { + "$ref": "./examples/DataflowEndpoint_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles": { + "get": { + "operationId": "DataflowProfile_ListByResourceGroup", + "tags": [ + "DataflowProfile" + ], + "description": "List DataflowProfileResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowProfileResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_ListByResourceGroup": { + "$ref": "./examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}": { + "get": { + "operationId": "DataflowProfile_Get", + "tags": [ + "DataflowProfile" + ], + "description": "Get a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_Get": { + "$ref": "./examples/DataflowProfile_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataflowProfile_CreateOrUpdate", + "tags": [ + "DataflowProfile" + ], + "description": "Create a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowProfileResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "201": { + "description": "Resource 'DataflowProfileResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_CreateOrUpdate": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json" + }, + "DataflowProfile_CreateOrUpdate_Minimal": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_Minimal.json" + }, + "DataflowProfile_CreateOrUpdate_Multi": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_Multi.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataflowProfile_Delete", + "tags": [ + "DataflowProfile" + ], + "description": "Delete a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_Delete": { + "$ref": "./examples/DataflowProfile_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows": { + "get": { + "operationId": "Dataflow_ListByProfileResource", + "tags": [ + "Dataflow" + ], + "description": "List DataflowResource resources by DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_ListByProfileResource": { + "$ref": "./examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}": { + "get": { + "operationId": "Dataflow_Get", + "tags": [ + "Dataflow" + ], + "description": "Get a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_Get": { + "$ref": "./examples/Dataflow_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Dataflow_CreateOrUpdate", + "tags": [ + "Dataflow" + ], + "description": "Create a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowResource" + } + }, + "201": { + "description": "Resource 'DataflowResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_CreateOrUpdate": { + "$ref": "./examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Dataflow_CreateOrUpdate_ComplexContextualization": { + "$ref": "./examples/Dataflow_CreateOrUpdate_ComplexContextualization.json" + }, + "Dataflow_CreateOrUpdate_ComplexEventHub": { + "$ref": "./examples/Dataflow_CreateOrUpdate_ComplexEventHub.json" + }, + "Dataflow_CreateOrUpdate_FilterToTopic": { + "$ref": "./examples/Dataflow_CreateOrUpdate_FilterToTopic.json" + }, + "Dataflow_CreateOrUpdate_SimpleEventGrid": { + "$ref": "./examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json" + }, + "Dataflow_CreateOrUpdate_SimpleFabric": { + "$ref": "./examples/Dataflow_CreateOrUpdate_SimpleFabric.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Dataflow_Delete", + "tags": [ + "Dataflow" + ], + "description": "Delete a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_Delete": { + "$ref": "./examples/Dataflow_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AccessTokenMethod": { + "type": "string", + "description": "Access Token Method", + "enum": [ + "AccessToken" + ], + "x-ms-enum": { + "name": "AccessTokenMethod", + "modelAsString": true, + "values": [ + { + "name": "AccessToken", + "value": "AccessToken", + "description": "AccessToken Option" + } + ] + } + }, + "AdrProperties": { + "type": "object", + "description": "The properties of an ADR instance.", + "properties": { + "state": { + "$ref": "#/definitions/OperationalMode", + "description": "This determines if the ADR service is enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "state" + ] + }, + "AdvancedSettings": { + "type": "object", + "description": "Broker Advanced Settings", + "properties": { + "clients": { + "$ref": "#/definitions/ClientConfig", + "description": "Configurations related to All Clients." + }, + "encryptInternalTraffic": { + "type": "string", + "description": "The setting to enable or disable encryption of internal Traffic.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "internalCerts": { + "$ref": "#/definitions/CertManagerCertOptions", + "description": "Certificate rotation and private key configuration." + } + } + }, + "AkriInstanceProperties": { + "type": "object", + "description": "The properties of an AKRI instance.", + "properties": { + "state": { + "$ref": "#/definitions/OperationalMode", + "description": "This determines if the AKRI service is enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "state" + ] + }, + "AnonymousMethod": { + "type": "string", + "description": "x509 Certificate Method", + "enum": [ + "Anonymous" + ], + "x-ms-enum": { + "name": "AnonymousMethod", + "modelAsString": true, + "values": [ + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "AuthorizationConfig": { + "type": "object", + "description": "Broker AuthorizationConfig properties", + "properties": { + "cache": { + "type": "string", + "description": "Enable caching of the authorization rules.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "rules": { + "type": "array", + "description": "The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.", + "items": { + "$ref": "#/definitions/AuthorizationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "AuthorizationRule": { + "type": "object", + "description": "AuthorizationConfig Rule Properties", + "properties": { + "brokerResources": { + "type": "array", + "description": "Give access to Broker methods and topics.", + "items": { + "$ref": "#/definitions/BrokerResourceRule" + }, + "x-ms-identifiers": [] + }, + "principals": { + "$ref": "#/definitions/PrincipalDefinition", + "description": "Give access to clients based on the following properties." + }, + "stateStoreResources": { + "type": "array", + "description": "Give access to state store resources.", + "items": { + "$ref": "#/definitions/StateStoreResourceRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "brokerResources", + "principals" + ] + }, + "BackendChain": { + "type": "object", + "description": "Desired properties of the backend instances of the broker", + "properties": { + "partitions": { + "type": "integer", + "format": "int32", + "description": "The desired number of physical backend partitions.", + "minimum": 1, + "maximum": 16 + }, + "redundancyFactor": { + "type": "integer", + "format": "int32", + "description": "The desired numbers of backend replicas (pods) in a physical partition.", + "minimum": 1, + "maximum": 5 + }, + "workers": { + "type": "integer", + "format": "int32", + "description": "Number of logical backend workers per replica (pod).", + "default": 1, + "minimum": 1, + "maximum": 16 + } + }, + "required": [ + "partitions", + "redundancyFactor" + ] + }, + "BatchingConfiguration": { + "type": "object", + "description": "Batching configuration", + "properties": { + "latencySeconds": { + "type": "integer", + "format": "int32", + "description": "Batching latency in seconds.", + "default": 60, + "minimum": 0, + "maximum": 65535 + }, + "maxMessages": { + "type": "integer", + "format": "int32", + "description": "Maximum number of messages in a batch.", + "default": 100000, + "minimum": 0, + "maximum": 4294967295 + } + } + }, + "BrokerAuthenticationMethod": { + "type": "string", + "description": "Broker Authentication Mode", + "enum": [ + "Custom", + "ServiceAccountToken", + "X509" + ], + "x-ms-enum": { + "name": "BrokerAuthenticationMethod", + "modelAsString": true, + "values": [ + { + "name": "Custom", + "value": "Custom", + "description": "Custom authentication configuration." + }, + { + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "description": "ServiceAccountToken authentication configuration." + }, + { + "name": "X509", + "value": "X509", + "description": "X.509 authentication configuration." + } + ] + } + }, + "BrokerAuthenticationProperties": { + "type": "object", + "description": "BrokerAuthentication Resource properties", + "properties": { + "authenticationMethods": { + "type": "array", + "description": "Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.", + "items": { + "$ref": "#/definitions/BrokerAuthenticatorMethods" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "authenticationMethods" + ] + }, + "BrokerAuthenticationResource": { + "type": "object", + "description": "Instance broker authentication resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerAuthenticationProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerAuthenticationResourceListResult": { + "type": "object", + "description": "The response of a BrokerAuthenticationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerAuthenticationResource items on this page", + "items": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerAuthenticatorCustomAuth": { + "type": "object", + "description": "Custom Authentication properties", + "properties": { + "x509": { + "$ref": "#/definitions/X509ManualCertificate", + "description": "X509 Custom Auth type details." + } + }, + "required": [ + "x509" + ] + }, + "BrokerAuthenticatorMethodCustom": { + "type": "object", + "description": "Custom method for BrokerAuthentication", + "properties": { + "auth": { + "$ref": "#/definitions/BrokerAuthenticatorCustomAuth", + "description": "Optional authentication needed for authenticating with the custom authentication server." + }, + "caCertConfigMap": { + "type": "string", + "description": "Optional CA certificate for validating the custom authentication server's certificate." + }, + "endpoint": { + "type": "string", + "format": "uri", + "description": "Endpoint of the custom authentication server. Must be an HTTPS endpoint.", + "pattern": "^https://.*$" + }, + "headers": { + "type": "object", + "description": "Additional HTTP headers to pass to the custom authentication server.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "endpoint" + ] + }, + "BrokerAuthenticatorMethodSat": { + "type": "object", + "description": "Service Account Token for BrokerAuthentication", + "properties": { + "audiences": { + "type": "array", + "description": "List of allowed audience.", + "items": { + "type": "string" + } + } + }, + "required": [ + "audiences" + ] + }, + "BrokerAuthenticatorMethodX509": { + "type": "object", + "description": "X509 for BrokerAuthentication.", + "properties": { + "authorizationAttributes": { + "type": "object", + "description": "X509 authorization attributes properties.", + "additionalProperties": { + "$ref": "#/definitions/BrokerAuthenticatorMethodX509Attributes" + } + }, + "trustedClientCaCert": { + "type": "string", + "description": "Name of the trusted client ca cert resource.", + "default": "client-ca" + } + } + }, + "BrokerAuthenticatorMethodX509Attributes": { + "type": "object", + "description": "BrokerAuthenticatorMethodX509Attributes properties.", + "properties": { + "attributes": { + "type": "object", + "description": "Attributes object.", + "additionalProperties": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Subject of the X509 attribute." + } + }, + "required": [ + "attributes", + "subject" + ] + }, + "BrokerAuthenticatorMethods": { + "type": "object", + "description": "Set of broker authentication policies. Only one method is supported for each entry.", + "properties": { + "method": { + "$ref": "#/definitions/BrokerAuthenticationMethod", + "description": "Custom authentication configuration." + }, + "customSettings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodCustom", + "description": "Custom authentication configuration." + }, + "serviceAccountTokenSettings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodSat", + "description": "ServiceAccountToken authentication configuration." + }, + "x509Settings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodX509", + "description": "X.509 authentication configuration." + } + }, + "required": [ + "method" + ] + }, + "BrokerAuthorizationProperties": { + "type": "object", + "description": "BrokerAuthorization Resource properties", + "properties": { + "authorizationPolicies": { + "$ref": "#/definitions/AuthorizationConfig", + "description": "The list of authorization policies supported by the Authorization Resource." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "authorizationPolicies" + ] + }, + "BrokerAuthorizationResource": { + "type": "object", + "description": "Instance broker authorizations resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerAuthorizationProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerAuthorizationResourceListResult": { + "type": "object", + "description": "The response of a BrokerAuthorizationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerAuthorizationResource items on this page", + "items": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerDiagnostics": { + "type": "object", + "description": "Broker Diagnostic Setting properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + }, + "selfCheck": { + "$ref": "#/definitions/SelfCheck", + "description": "The self check properties." + }, + "traces": { + "$ref": "#/definitions/Traces", + "description": "The trace properties." + } + } + }, + "BrokerListenerProperties": { + "type": "object", + "description": "Defines a Broker listener. A listener is a collection of ports on which the broker accepts connections from clients.", + "properties": { + "serviceName": { + "type": "string", + "description": "Kubernetes Service name of this listener.", + "default": "aio-mq-dmqtt-frontend" + }, + "ports": { + "type": "array", + "description": "Ports on which this listener accepts client connections.", + "items": { + "$ref": "#/definitions/ListenerPort" + }, + "x-ms-identifiers": [ + "port" + ] + }, + "serviceType": { + "type": "string", + "description": "Kubernetes Service type of this listener.", + "default": "ClusterIp", + "enum": [ + "ClusterIp", + "LoadBalancer", + "NodePort" + ], + "x-ms-enum": { + "name": "ServiceType", + "modelAsString": true, + "values": [ + { + "name": "ClusterIp", + "value": "ClusterIp", + "description": "Cluster IP Service." + }, + { + "name": "LoadBalancer", + "value": "LoadBalancer", + "description": "Load Balancer Service." + }, + { + "name": "NodePort", + "value": "NodePort", + "description": "Node Port Service." + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "ports" + ] + }, + "BrokerListenerResource": { + "type": "object", + "description": "Instance broker resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerListenerProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerListenerResourceListResult": { + "type": "object", + "description": "The response of a BrokerListenerResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerListenerResource items on this page", + "items": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerMemoryProfile": { + "type": "string", + "description": "The memory profile settings of the Broker", + "enum": [ + "Tiny", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "BrokerMemoryProfile", + "modelAsString": true, + "values": [ + { + "name": "Tiny", + "value": "Tiny", + "description": "Tiny memory profile." + }, + { + "name": "Low", + "value": "Low", + "description": "Low memory profile." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium memory profile." + }, + { + "name": "High", + "value": "High", + "description": "High memory profile." + } + ] + } + }, + "BrokerProperties": { + "type": "object", + "description": "Broker Resource properties", + "properties": { + "advanced": { + "$ref": "#/definitions/AdvancedSettings", + "description": "Advanced settings of Broker.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "cardinality": { + "$ref": "#/definitions/Cardinality", + "description": "The cardinality details of the broker.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "diagnostics": { + "$ref": "#/definitions/BrokerDiagnostics", + "description": "Spec defines the desired identities of Broker diagnostics settings." + }, + "diskBackedMessageBuffer": { + "$ref": "#/definitions/DiskBackedMessageBuffer", + "description": "Settings of Disk Backed Message Buffer.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "generateResourceLimits": { + "$ref": "#/definitions/GenerateResourceLimits", + "description": "This setting controls whether Kubernetes CPU resource limits are requested. Increasing the number of replicas or workers proportionally increases the amount of CPU resources requested. If this setting is enabled and there are insufficient CPU resources, an error will be emitted.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "memoryProfile": { + "type": "string", + "description": "Memory profile of Broker.", + "default": "Medium", + "enum": [ + "Tiny", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "BrokerMemoryProfile", + "modelAsString": true, + "values": [ + { + "name": "Tiny", + "value": "Tiny", + "description": "Tiny memory profile." + }, + { + "name": "Low", + "value": "Low", + "description": "Low memory profile." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium memory profile." + }, + { + "name": "High", + "value": "High", + "description": "High memory profile." + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "BrokerProtocolType": { + "type": "string", + "description": "Broker Protocol types", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "BrokerResource": { + "type": "object", + "description": "Instance broker resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerResourceDefinitionMethods": { + "type": "string", + "description": "BrokerResourceDefinitionMethods methods allowed", + "enum": [ + "Connect", + "Publish", + "Subscribe" + ], + "x-ms-enum": { + "name": "BrokerResourceDefinitionMethods", + "modelAsString": true, + "values": [ + { + "name": "Connect", + "value": "Connect", + "description": "Allowed Connecting to Broker" + }, + { + "name": "Publish", + "value": "Publish", + "description": "Allowed Publishing to Broker" + }, + { + "name": "Subscribe", + "value": "Subscribe", + "description": "Allowed Subscribing to Broker" + } + ] + } + }, + "BrokerResourceListResult": { + "type": "object", + "description": "The response of a BrokerResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerResource items on this page", + "items": { + "$ref": "#/definitions/BrokerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerResourceRule": { + "type": "object", + "description": "Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.", + "properties": { + "method": { + "$ref": "#/definitions/BrokerResourceDefinitionMethods", + "description": "Give access for a Broker method (i.e., Connect, Subscribe, or Publish)." + }, + "clientIds": { + "type": "array", + "description": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.", + "default": [], + "items": { + "type": "string" + } + }, + "topics": { + "type": "array", + "description": "A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.", + "default": [], + "items": { + "type": "string" + } + } + }, + "required": [ + "method" + ] + }, + "Cardinality": { + "type": "object", + "description": "Cardinality properties", + "properties": { + "backendChain": { + "$ref": "#/definitions/BackendChain", + "description": "The backend broker desired properties" + }, + "frontend": { + "$ref": "#/definitions/Frontend", + "description": "The frontend desired properties" + } + }, + "required": [ + "backendChain", + "frontend" + ] + }, + "CertManagerCertOptions": { + "type": "object", + "description": "Cert Manager Cert properties", + "properties": { + "duration": { + "type": "string", + "description": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "renewBefore": { + "type": "string", + "description": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "privateKey": { + "$ref": "#/definitions/CertManagerPrivateKey", + "description": "Configuration of certificate private key." + } + }, + "required": [ + "duration", + "renewBefore", + "privateKey" + ] + }, + "CertManagerCertificateSpec": { + "type": "object", + "description": "Automatic TLS server certificate management with cert-manager", + "properties": { + "duration": { + "type": "string", + "description": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "secretName": { + "type": "string", + "description": "Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself." + }, + "renewBefore": { + "type": "string", + "description": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "issuerRef": { + "$ref": "#/definitions/CertManagerIssuerRef", + "description": "cert-manager issuerRef." + }, + "privateKey": { + "$ref": "#/definitions/CertManagerPrivateKey", + "description": "Type of certificate private key." + }, + "san": { + "$ref": "#/definitions/SanForCert", + "description": "Additional Subject Alternative Names (SANs) to include in the certificate." + } + }, + "required": [ + "issuerRef" + ] + }, + "CertManagerIssuerKind": { + "type": "string", + "description": "CertManagerIssuerKind properties", + "enum": [ + "Issuer", + "ClusterIssuer" + ], + "x-ms-enum": { + "name": "CertManagerIssuerKind", + "modelAsString": true, + "values": [ + { + "name": "Issuer", + "value": "Issuer", + "description": "Issuer kind." + }, + { + "name": "ClusterIssuer", + "value": "ClusterIssuer", + "description": "ClusterIssuer kind." + } + ] + } + }, + "CertManagerIssuerRef": { + "type": "object", + "description": "Cert-Manager issuerRef properties", + "properties": { + "group": { + "type": "string", + "description": "group of issuer.", + "default": "cert-manager.io" + }, + "kind": { + "$ref": "#/definitions/CertManagerIssuerKind", + "description": "kind of issuer (Issuer or ClusterIssuer)." + }, + "name": { + "type": "string", + "description": "name of issuer." + } + }, + "required": [ + "group", + "kind", + "name" + ] + }, + "CertManagerPrivateKey": { + "type": "object", + "description": "Cert Manager private key properties", + "properties": { + "algorithm": { + "$ref": "#/definitions/PrivateKeyAlgorithm", + "description": "algorithm for private key." + }, + "rotationPolicy": { + "$ref": "#/definitions/PrivateKeyRotationPolicy", + "description": "cert-manager private key rotationPolicy." + } + }, + "required": [ + "algorithm", + "rotationPolicy" + ] + }, + "ClientConfig": { + "type": "object", + "description": "The settings of Client Config.", + "properties": { + "maxSessionExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Session Expiry Interval, in seconds.", + "minimum": 1, + "maximum": 4294967295 + }, + "maxMessageExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Message Expiry Interval, in seconds.", + "minimum": 1, + "maximum": 4294967295 + }, + "maxPacketSizeBytes": { + "type": "integer", + "format": "int32", + "description": "Max message size for a packet in Bytes.", + "minimum": 1, + "maximum": 268435456 + }, + "subscriberQueueLimit": { + "$ref": "#/definitions/SubscriberQueueLimit", + "description": "The limit on the number of queued messages for a subscriber." + }, + "maxReceiveMaximum": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Receive Maximum that a client can request in the CONNECT packet.", + "minimum": 1, + "maximum": 65535 + }, + "maxKeepAliveSeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of a client's Keep Alive, in seconds.", + "minimum": 0, + "maximum": 65535 + } + } + }, + "CloudEventAttributeType": { + "type": "string", + "description": "How to map events to the cloud.", + "enum": [ + "Propagate", + "CreateOrRemap" + ], + "x-ms-enum": { + "name": "CloudEventAttributeType", + "modelAsString": true, + "values": [ + { + "name": "Propagate", + "value": "Propagate", + "description": "Propagate type" + }, + { + "name": "CreateOrRemap", + "value": "CreateOrRemap", + "description": "CreateOrRemap type" + } + ] + } + }, + "Components": { + "type": "object", + "description": "The configuration for components of the AIO Instance.", + "properties": { + "adr": { + "$ref": "#/definitions/AdrProperties", + "description": "The properties of the ADR instance." + }, + "akri": { + "$ref": "#/definitions/AkriInstanceProperties", + "description": "The properties of the AKRI instance." + }, + "connectors": { + "$ref": "#/definitions/ConnectorInstanceProperties", + "description": "The properties of the connectors instance." + }, + "dataflows": { + "$ref": "#/definitions/DataflowInstanceProperties", + "description": "The properties of the dataflows instance." + }, + "schemaRegistry": { + "$ref": "#/definitions/SchemaRegistryInstanceProperties", + "description": "The properties of the device provisioning instance." + } + } + }, + "ConnectorInstanceProperties": { + "type": "object", + "description": "The properties of a Connector instance.", + "properties": { + "state": { + "$ref": "#/definitions/OperationalMode", + "description": "This determines if the Connector service is enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "state" + ] + }, + "DataExplorerAuthMethod": { + "$ref": "#/definitions/ManagedIdentityMethod", + "x-nullable": false + }, + "DataLakeStorageAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Data Lake Storage Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "AccessToken" + ], + "x-ms-enum": { + "name": "DataLakeStorageAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "AccessToken", + "value": "AccessToken", + "description": "AccessToken Option" + } + ] + } + }, + "DataflowBuiltInTransformationDataset": { + "type": "object", + "description": "Dataflow BuiltIn Transformation dataset properties", + "properties": { + "key": { + "type": "string", + "description": "The key of the dataset.", + "maxLength": 64 + }, + "description": { + "type": "string", + "description": "A user provided optional description of the dataset.", + "maxLength": 256 + }, + "schemaRef": { + "type": "string", + "description": "The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7." + }, + "inputs": { + "type": "array", + "description": "List of fields for enriching from the Broker State Store.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)" + } + }, + "required": [ + "key", + "inputs" + ] + }, + "DataflowBuiltInTransformationFilter": { + "type": "object", + "description": "Dataflow BuiltIn Transformation filter properties", + "properties": { + "type": { + "type": "string", + "description": "The type of dataflow operation.", + "default": "Filter", + "enum": [ + "Filter" + ], + "x-ms-enum": { + "name": "FilterType", + "modelAsString": true, + "values": [ + { + "name": "Filter", + "value": "Filter", + "description": "Filter type" + } + ] + } + }, + "description": { + "type": "string", + "description": "A user provided optional description of the filter.", + "maxLength": 256 + }, + "inputs": { + "type": "array", + "description": "List of fields for filtering in JSON path expression.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)" + } + }, + "required": [ + "inputs", + "expression" + ] + }, + "DataflowBuiltInTransformationMap": { + "type": "object", + "description": "Dataflow BuiltIn Transformation map properties", + "properties": { + "type": { + "$ref": "#/definitions/DataflowMappingType", + "description": "Type of transformation." + }, + "description": { + "type": "string", + "description": "A user provided optional description of the mapping function.", + "maxLength": 256 + }, + "inputs": { + "type": "array", + "description": "List of fields for mapping in JSON path expression.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)" + }, + "output": { + "type": "string", + "description": "Where and how the input fields to be organized in the output record." + } + }, + "required": [ + "inputs", + "output" + ] + }, + "DataflowBuiltInTransformationSettings": { + "type": "object", + "description": "Dataflow BuiltIn Transformation properties", + "properties": { + "serializationFormat": { + "type": "string", + "description": "Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json", + "default": "Json", + "enum": [ + "Delta", + "Json", + "Parquet" + ], + "x-ms-enum": { + "name": "TransformationSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Delta", + "value": "Delta", + "description": "Delta Format" + }, + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + }, + { + "name": "Parquet", + "value": "Parquet", + "description": "Parquet Format" + } + ] + } + }, + "schemaRef": { + "type": "string", + "description": "Reference to the schema that describes the output of the transformation." + }, + "datasets": { + "type": "array", + "description": "Enrich data from Broker State Store. Dataset references a key in Broker State Store.", + "default": [], + "maxItems": 1, + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationDataset" + }, + "x-ms-identifiers": [] + }, + "filter": { + "type": "array", + "description": "Filters input record or datapoints based on condition.", + "default": [], + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationFilter" + }, + "x-ms-identifiers": [] + }, + "map": { + "type": "array", + "description": "Maps input to output message.", + "default": [], + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationMap" + }, + "x-ms-identifiers": [] + } + } + }, + "DataflowDestinationOperationSettings": { + "type": "object", + "description": "Dataflow Destination Operation properties", + "properties": { + "endpointRef": { + "type": "string", + "description": "Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type." + }, + "dataDestination": { + "type": "string", + "description": "Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription." + } + }, + "required": [ + "endpointRef", + "dataDestination" + ] + }, + "DataflowEndpointAuthenticationAccessToken": { + "type": "object", + "description": "DataflowEndpoint Authentication Access Token properties", + "properties": { + "secretRef": { + "type": "string", + "description": "Token secret name." + } + }, + "required": [ + "secretRef" + ] + }, + "DataflowEndpointAuthenticationSasl": { + "type": "object", + "description": "DataflowEndpoint Authentication Sasl properties", + "properties": { + "saslType": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSaslType", + "description": "Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512." + }, + "secretRef": { + "type": "string", + "description": "Token secret name." + } + }, + "required": [ + "saslType", + "secretRef" + ] + }, + "DataflowEndpointAuthenticationSaslType": { + "type": "string", + "description": "DataflowEndpoint Authentication Sasl Type properties", + "enum": [ + "Plain", + "ScramSha256", + "ScramSha512" + ], + "x-ms-enum": { + "name": "DataflowEndpointAuthenticationSaslType", + "modelAsString": true, + "values": [ + { + "name": "Plain", + "value": "Plain", + "description": "PLAIN Type" + }, + { + "name": "ScramSha256", + "value": "ScramSha256", + "description": "SCRAM_SHA_256 Type" + }, + { + "name": "ScramSha512", + "value": "ScramSha512", + "description": "SCRAM_SHA_512 Type" + } + ] + } + }, + "DataflowEndpointAuthenticationServiceAccountToken": { + "type": "object", + "description": "Service Account Token for BrokerAuthentication", + "properties": { + "audience": { + "type": "string", + "description": "Audience of the service account. Optional, defaults to the broker internal service account audience." + } + }, + "required": [ + "audience" + ] + }, + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity": { + "type": "object", + "description": "DataflowEndpoint Authentication SystemAssignedManagedIdentity properties", + "properties": { + "audience": { + "type": "string", + "description": "Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration." + } + } + }, + "DataflowEndpointAuthenticationUserAssignedManagedIdentity": { + "type": "object", + "description": "DataflowEndpoint Authentication UserAssignedManagedIdentity properties", + "properties": { + "clientId": { + "type": "string", + "description": "Client ID for the user-assigned managed identity." + }, + "scope": { + "type": "string", + "description": "Resource identifier (application ID URI) of the resource, affixed with the .default suffix." + }, + "tenantId": { + "type": "string", + "description": "Tenant ID." + } + }, + "required": [ + "clientId", + "tenantId" + ] + }, + "DataflowEndpointAuthenticationX509": { + "type": "object", + "description": "DataflowEndpoint Authentication X509 properties", + "properties": { + "secretRef": { + "type": "string", + "description": "Secret reference of the X.509 certificate." + } + }, + "required": [ + "secretRef" + ] + }, + "DataflowEndpointDataExplorer": { + "type": "object", + "description": "Azure Data Explorer endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointDataExplorerAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "database": { + "type": "string", + "description": "Database name." + }, + "host": { + "type": "string", + "description": "Host of the Azure Data Explorer in the form of ..kusto.windows.net .", + "pattern": ".+\\..+\\.kusto\\.windows\\.net" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Azure Data Explorer endpoint batching configuration." + } + }, + "required": [ + "authentication", + "database", + "host" + ] + }, + "DataflowEndpointDataExplorerAuthentication": { + "type": "object", + "description": "Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed per entry.", + "properties": { + "method": { + "$ref": "#/definitions/DataExplorerAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointDataLakeStorage": { + "type": "object", + "description": "Azure Data Lake endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointDataLakeStorageAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "host": { + "type": "string", + "description": "Host of the Azure Data Lake in the form of .blob.core.windows.net .", + "pattern": ".+\\.blob\\.core\\.windows\\.net" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Azure Data Lake endpoint batching configuration." + } + }, + "required": [ + "authentication", + "host" + ] + }, + "DataflowEndpointDataLakeStorageAuthentication": { + "type": "object", + "description": "Azure Data Lake endpoint Authentication properties. NOTE Enum - Only one method is supported for one entry", + "properties": { + "method": { + "$ref": "#/definitions/DataLakeStorageAuthMethod", + "description": "Mode of Authentication." + }, + "accessTokenSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationAccessToken", + "description": "SAS token authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointFabricOneLake": { + "type": "object", + "description": "Microsoft Fabric endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointFabricOneLakeAuthentication", + "description": "Authentication configuration. NOTE - only one authentication property is allowed per entry." + }, + "names": { + "$ref": "#/definitions/DataflowEndpointFabricOneLakeNames", + "description": "Names of the workspace and lakehouse." + }, + "oneLakePathType": { + "$ref": "#/definitions/DataflowEndpointFabricPathType", + "description": "Type of location of the data in the workspace. Can be either tables or files." + }, + "host": { + "type": "string", + "description": "Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.", + "pattern": ".+\\.fabric\\.microsoft\\.com" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Batching configuration." + } + }, + "required": [ + "authentication", + "names", + "oneLakePathType", + "host" + ] + }, + "DataflowEndpointFabricOneLakeAuthentication": { + "type": "object", + "description": "Microsoft Fabric endpoint. Authentication properties. NOTE - Only one method is supported for one entry", + "properties": { + "method": { + "$ref": "#/definitions/FabricOneLakeAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointFabricOneLakeNames": { + "type": "object", + "description": "Microsoft Fabric endpoint Names properties", + "properties": { + "lakehouseName": { + "type": "string", + "description": "Lakehouse name." + }, + "workspaceName": { + "type": "string", + "description": "Workspace name." + } + }, + "required": [ + "lakehouseName", + "workspaceName" + ] + }, + "DataflowEndpointFabricPathType": { + "type": "string", + "description": "DataflowEndpoint Fabric Path Type properties", + "enum": [ + "Files", + "Tables" + ], + "x-ms-enum": { + "name": "DataflowEndpointFabricPathType", + "modelAsString": true, + "values": [ + { + "name": "Files", + "value": "Files", + "description": "FILES Type" + }, + { + "name": "Tables", + "value": "Tables", + "description": "TABLES Type" + } + ] + } + }, + "DataflowEndpointKafka": { + "type": "object", + "description": "Kafka endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointKafkaAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "consumerGroupId": { + "type": "string", + "description": "Consumer group ID." + }, + "host": { + "type": "string", + "description": "Kafka endpoint host." + }, + "batching": { + "$ref": "#/definitions/DataflowEndpointKafkaBatching", + "description": "Batching configuration." + }, + "copyMqttProperties": { + "type": "string", + "description": "Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow doesn't have an Broker source.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "compression": { + "type": "string", + "description": "Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source.", + "default": "None", + "enum": [ + "None", + "Gzip", + "Snappy", + "Lz4" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaCompression", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "NONE Option" + }, + { + "name": "Gzip", + "value": "Gzip", + "description": "Gzip Option" + }, + { + "name": "Snappy", + "value": "Snappy", + "description": "SNAPPY Option" + }, + { + "name": "Lz4", + "value": "Lz4", + "description": "LZ4 Option" + } + ] + } + }, + "kafkaAcks": { + "type": "string", + "description": "Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source.", + "default": "All", + "enum": [ + "Zero", + "One", + "All" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaAcks", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "ZERO Option" + }, + { + "name": "One", + "value": "One", + "description": "ONE Option" + }, + { + "name": "All", + "value": "All", + "description": "ALL Option" + } + ] + } + }, + "partitionStrategy": { + "type": "string", + "description": "Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source.", + "default": "Default", + "enum": [ + "Default", + "Static", + "Topic", + "Property" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaPartitionStrategy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default: Assigns messages to random partitions, using a round-robin algorithm." + }, + { + "name": "Static", + "value": "Static", + "description": "Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow." + }, + { + "name": "Topic", + "value": "Topic", + "description": "TOPIC Option" + }, + { + "name": "Property", + "value": "Property", + "description": "PROPERTY Option" + } + ] + } + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "TLS configuration." + }, + "cloudEventAttributes": { + "$ref": "#/definitions/CloudEventAttributeType", + "description": "Cloud event mapping config." + } + }, + "required": [ + "authentication" + ] + }, + "DataflowEndpointKafkaAcks": { + "type": "string", + "description": "DataflowEndpoint Kafka Acks properties", + "enum": [ + "Zero", + "One", + "All" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaAcks", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "ZERO Option" + }, + { + "name": "One", + "value": "One", + "description": "ONE Option" + }, + { + "name": "All", + "value": "All", + "description": "ALL Option" + } + ] + } + }, + "DataflowEndpointKafkaAuthentication": { + "type": "object", + "description": "Kafka endpoint Authentication properties. NOTE - only authentication property is allowed per entry", + "properties": { + "method": { + "$ref": "#/definitions/KafkaAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + }, + "saslSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSasl", + "description": "SASL authentication." + }, + "x509CertificateSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationX509", + "description": "X.509 certificate authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointKafkaBatching": { + "type": "object", + "description": "Kafka endpoint Batching properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for batching.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "latencyMs": { + "type": "integer", + "format": "int32", + "description": "Batching latency in milliseconds.", + "default": 5, + "minimum": 0, + "maximum": 65535 + }, + "maxBytes": { + "type": "integer", + "format": "int32", + "description": "Maximum number of bytes in a batch.", + "default": 1000000, + "minimum": 0, + "maximum": 4294967295 + }, + "maxMessages": { + "type": "integer", + "format": "int32", + "description": "Maximum number of messages in a batch.", + "default": 100000, + "minimum": 0, + "maximum": 4294967295 + } + } + }, + "DataflowEndpointKafkaCompression": { + "type": "string", + "description": "Kafka endpoint Compression properties", + "enum": [ + "None", + "Gzip", + "Snappy", + "Lz4" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaCompression", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "NONE Option" + }, + { + "name": "Gzip", + "value": "Gzip", + "description": "Gzip Option" + }, + { + "name": "Snappy", + "value": "Snappy", + "description": "SNAPPY Option" + }, + { + "name": "Lz4", + "value": "Lz4", + "description": "LZ4 Option" + } + ] + } + }, + "DataflowEndpointKafkaPartitionStrategy": { + "type": "string", + "description": "DataflowEndpoint Kafka Partition Strategy properties", + "enum": [ + "Default", + "Static", + "Topic", + "Property" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaPartitionStrategy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default: Assigns messages to random partitions, using a round-robin algorithm." + }, + { + "name": "Static", + "value": "Static", + "description": "Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow." + }, + { + "name": "Topic", + "value": "Topic", + "description": "TOPIC Option" + }, + { + "name": "Property", + "value": "Property", + "description": "PROPERTY Option" + } + ] + } + }, + "DataflowEndpointLocalStorage": { + "type": "object", + "description": "Local persistent volume endpoint properties", + "properties": { + "persistentVolumeClaimRef": { + "type": "string", + "description": "Persistent volume claim name." + } + }, + "required": [ + "persistentVolumeClaimRef" + ] + }, + "DataflowEndpointMqtt": { + "type": "object", + "description": "Broker endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointMqttAuthentication", + "description": "authentication properties. DEFAULT: kubernetes.audience=aio-mq-internal. NOTE - Enum field only property is allowed" + }, + "clientIdPrefix": { + "type": "string", + "description": "Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if omitted." + }, + "host": { + "type": "string", + "description": "Host of the Broker in the form of :. Optional; connects to Broker if omitted.", + "default": "aio-mq-dmqtt-frontend:8883" + }, + "protocol": { + "type": "string", + "description": "Enable or disable websockets.", + "default": "Mqtt", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "keepAliveSeconds": { + "type": "integer", + "format": "int32", + "description": "Broker KeepAlive for connection in seconds.", + "default": 60, + "minimum": 0 + }, + "retain": { + "type": "string", + "description": "Whether or not to keep the retain setting.", + "default": "Keep", + "enum": [ + "Keep", + "Never" + ], + "x-ms-enum": { + "name": "MqttRetainType", + "modelAsString": true, + "values": [ + { + "name": "Keep", + "value": "Keep", + "description": "Retain the messages." + }, + { + "name": "Never", + "value": "Never", + "description": "Never retain messages." + } + ] + } + }, + "maxInflightMessages": { + "type": "integer", + "format": "int32", + "description": "The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack.", + "default": 100, + "minimum": 0 + }, + "qos": { + "type": "integer", + "format": "int32", + "description": "Qos for Broker connection.", + "default": 1, + "minimum": 0, + "maximum": 2 + }, + "sessionExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Session expiry in seconds.", + "default": 3600, + "minimum": 0 + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "TLS configuration." + }, + "cloudEventAttributes": { + "$ref": "#/definitions/CloudEventAttributeType", + "description": "Cloud event mapping config." + } + }, + "required": [ + "authentication" + ] + }, + "DataflowEndpointMqttAuthentication": { + "type": "object", + "description": "Mqtt endpoint Authentication properties. NOTE - only authentication property is allowed per entry.", + "properties": { + "method": { + "$ref": "#/definitions/MqttAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + }, + "serviceAccountTokenSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationServiceAccountToken", + "description": "Kubernetes service account token authentication. Default audience if not set is aio-mq-internal" + }, + "x509CertificateSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationX509", + "description": "X.509 certificate authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointProperties": { + "type": "object", + "description": "DataflowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource", + "properties": { + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Endpoint Type." + }, + "dataExplorerSettings": { + "$ref": "#/definitions/DataflowEndpointDataExplorer", + "description": "Azure Data Explorer endpoint." + }, + "dataLakeStorageSettings": { + "$ref": "#/definitions/DataflowEndpointDataLakeStorage", + "description": "Azure Data Lake endpoint." + }, + "fabricOneLakeSettings": { + "$ref": "#/definitions/DataflowEndpointFabricOneLake", + "description": "Microsoft Fabric endpoint." + }, + "kafkaSettings": { + "$ref": "#/definitions/DataflowEndpointKafka", + "description": "Kafka endpoint." + }, + "localStorageSettings": { + "$ref": "#/definitions/DataflowEndpointLocalStorage", + "description": "Local persistent volume endpoint." + }, + "mqttSettings": { + "$ref": "#/definitions/DataflowEndpointMqtt", + "description": "Broker endpoint." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "endpointType" + ] + }, + "DataflowEndpointResource": { + "type": "object", + "description": "Instance dataflowEndpoint resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowEndpointProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowEndpointResourceListResult": { + "type": "object", + "description": "The response of a DataflowEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowEndpointResource items on this page", + "items": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowInstanceProperties": { + "type": "object", + "description": "The properties of an Dataflow instance.", + "properties": { + "state": { + "$ref": "#/definitions/OperationalMode", + "description": "This determines if the Dataflow service is enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "state" + ] + }, + "DataflowMappingType": { + "type": "string", + "description": "Dataflow type mapping properties", + "enum": [ + "NewProperties", + "Rename", + "Compute", + "PassThrough", + "BuiltInFunction" + ], + "x-ms-enum": { + "name": "DataflowMappingType", + "modelAsString": true, + "values": [ + { + "name": "NewProperties", + "value": "NewProperties", + "description": "New Properties type" + }, + { + "name": "Rename", + "value": "Rename", + "description": "Rename type" + }, + { + "name": "Compute", + "value": "Compute", + "description": "Compute type" + }, + { + "name": "PassThrough", + "value": "PassThrough", + "description": "Pass-through type" + }, + { + "name": "BuiltInFunction", + "value": "BuiltInFunction", + "description": "Built in function type" + } + ] + } + }, + "DataflowOperation": { + "type": "object", + "description": "Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.", + "properties": { + "operationType": { + "$ref": "#/definitions/OperationType", + "description": "Type of operation." + }, + "name": { + "type": "string", + "description": "Optional user provided name of the transformation.", + "maxLength": 64 + }, + "sourceSettings": { + "$ref": "#/definitions/DataflowSourceOperationSettings", + "description": "Source configuration." + }, + "builtInTransformationSettings": { + "$ref": "#/definitions/DataflowBuiltInTransformationSettings", + "description": "Built In Transformation configuration." + }, + "destinationSettings": { + "$ref": "#/definitions/DataflowDestinationOperationSettings", + "description": "Destination configuration." + } + }, + "required": [ + "operationType" + ] + }, + "DataflowProfileProperties": { + "type": "object", + "description": "DataflowProfile Resource properties", + "properties": { + "diagnostics": { + "$ref": "#/definitions/ProfileDiagnostics", + "description": "Spec defines the desired identities of NBC diagnostics settings." + }, + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "To manually scale the dataflow profile, specify the maximum number of instances you want to run.", + "default": 1, + "minimum": 1, + "maximum": 20 + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "DataflowProfileResource": { + "type": "object", + "description": "Instance dataflowProfile resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowProfileProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowProfileResourceListResult": { + "type": "object", + "description": "The response of a DataflowProfileResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowProfileResource items on this page", + "items": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowProperties": { + "type": "object", + "description": "Dataflow Resource properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for Dataflow. Optional; defaults to Enabled.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "operations": { + "type": "array", + "description": "List of operations including source and destination references as well as transformation.", + "items": { + "$ref": "#/definitions/DataflowOperation" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "operations" + ] + }, + "DataflowResource": { + "type": "object", + "description": "Instance dataflowProfile dataflow resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowResourceListResult": { + "type": "object", + "description": "The response of a DataflowResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowResource items on this page", + "items": { + "$ref": "#/definitions/DataflowResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowSourceOperationSettings": { + "type": "object", + "description": "Dataflow Source Operation properties", + "properties": { + "endpointRef": { + "type": "string", + "description": "Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type." + }, + "assetRef": { + "type": "string", + "description": "Reference to the resource in Azure Device Registry where the data in the endpoint originates from." + }, + "serializationFormat": { + "type": "string", + "description": "Content is a JSON Schema. Allowed: JSON Schema/draft-7.", + "default": "Json", + "enum": [ + "Json" + ], + "x-ms-enum": { + "name": "SourceSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + } + ] + } + }, + "schemaRef": { + "type": "string", + "description": "Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match." + }, + "dataSources": { + "type": "array", + "description": "List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.", + "items": { + "type": "string" + } + } + }, + "required": [ + "endpointRef", + "dataSources" + ] + }, + "DiagnosticsLogs": { + "type": "object", + "description": "Diagnostic Log properties", + "properties": { + "opentelemetryExportConfig": { + "$ref": "#/definitions/OpenTelemetryLogExportConfig", + "description": "The open telemetry export configuration." + }, + "level": { + "type": "string", + "description": "The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.", + "default": "info" + } + } + }, + "DiskBackedMessageBuffer": { + "type": "object", + "description": "DiskBackedMessageBuffer properties", + "properties": { + "maxSize": { + "type": "string", + "description": "The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See for details.", + "pattern": "^[0-9]+[KMGTPE]$" + }, + "ephemeralVolumeClaimSpec": { + "$ref": "#/definitions/VolumeClaimSpec", + "description": "Use the specified persistent volume claim template to mount a \"generic ephemeral volume\" for the message buffer. See for details." + }, + "persistentVolumeClaimSpec": { + "$ref": "#/definitions/VolumeClaimSpec", + "description": "Use the specified persistent volume claim template to mount a persistent volume for the message buffer." + } + }, + "required": [ + "maxSize" + ] + }, + "EndpointType": { + "type": "string", + "description": "DataflowEndpoint Type properties", + "enum": [ + "DataExplorer", + "DataLakeStorage", + "FabricOneLake", + "Kafka", + "LocalStorage", + "Mqtt" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true, + "values": [ + { + "name": "DataExplorer", + "value": "DataExplorer", + "description": "Azure Data Explorer Type" + }, + { + "name": "DataLakeStorage", + "value": "DataLakeStorage", + "description": "Azure Data Lake Type" + }, + { + "name": "FabricOneLake", + "value": "FabricOneLake", + "description": "Microsoft Fabric Type" + }, + { + "name": "Kafka", + "value": "Kafka", + "description": "Kafka Type" + }, + { + "name": "LocalStorage", + "value": "LocalStorage", + "description": "Local Storage Type" + }, + { + "name": "Mqtt", + "value": "Mqtt", + "description": "Broker Type" + } + ] + } + }, + "ExtendedLocation": { + "type": "object", + "description": "Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationType", + "description": "Type of ExtendedLocation." + } + }, + "required": [ + "name", + "type" + ] + }, + "ExtendedLocationType": { + "type": "string", + "description": "The enum defining type of ExtendedLocation accepted.", + "enum": [ + "CustomLocation" + ], + "x-ms-enum": { + "name": "ExtendedLocationType", + "modelAsString": true, + "values": [ + { + "name": "CustomLocation", + "value": "CustomLocation", + "description": "CustomLocation type" + } + ] + } + }, + "FabricOneLakeAuthMethod": { + "$ref": "#/definitions/ManagedIdentityMethod", + "x-nullable": false + }, + "FilterType": { + "type": "string", + "description": "Filter Type properties", + "enum": [ + "Filter" + ], + "x-ms-enum": { + "name": "FilterType", + "modelAsString": true, + "values": [ + { + "name": "Filter", + "value": "Filter", + "description": "Filter type" + } + ] + } + }, + "Frontend": { + "type": "object", + "description": "The desired properties of the frontend instances of the Broker", + "properties": { + "replicas": { + "type": "integer", + "format": "int32", + "description": "The desired number of frontend instances (pods).", + "minimum": 1, + "maximum": 16 + }, + "workers": { + "type": "integer", + "format": "int32", + "description": "Number of logical frontend workers per instance (pod).", + "default": 2, + "minimum": 1, + "maximum": 16 + } + }, + "required": [ + "replicas" + ] + }, + "GenerateResourceLimits": { + "type": "object", + "description": "GenerateResourceLimits properties", + "properties": { + "cpu": { + "type": "string", + "description": "The toggle to enable/disable cpu resource limits.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + } + } + }, + "InstancePatchModel": { + "type": "object", + "description": "The Instance update model.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, + "InstanceProperties": { + "type": "object", + "description": "The properties of the Instance resource.", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the Instance." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "version": { + "type": "string", + "description": "The Azure IoT Operations version.", + "readOnly": true + }, + "schemaRegistryNamespace": { + "type": "string", + "description": "The reference to the Schema Registry for this AIO Instance.", + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + "components": { + "$ref": "#/definitions/Components", + "description": "The configuration for components of the AIO Instance." + } + }, + "required": [ + "schemaRegistryNamespace" + ] + }, + "InstanceResource": { + "type": "object", + "description": "A Instance resource is a logical container for a set of child resources.", + "properties": { + "properties": { + "$ref": "#/definitions/InstanceProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InstanceResourceListResult": { + "type": "object", + "description": "The response of a InstanceResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InstanceResource items on this page", + "items": { + "$ref": "#/definitions/InstanceResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "KafkaAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Kafka Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "Sasl", + "X509Certificate", + "Anonymous" + ], + "x-ms-enum": { + "name": "KafkaAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "Sasl", + "value": "Sasl", + "description": "Sasl Option" + }, + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + }, + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "KubernetesReference": { + "type": "object", + "description": "Kubernetes reference", + "properties": { + "apiGroup": { + "type": "string", + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": "string", + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": "string", + "description": "Name is the name of resource being referenced" + }, + "namespace": { + "type": "string", + "description": "Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace." + } + }, + "required": [ + "kind", + "name" + ] + }, + "ListenerPort": { + "type": "object", + "description": "Defines a TCP port on which a `BrokerListener` listens.", + "properties": { + "authenticationRef": { + "type": "string", + "description": "Reference to client authentication settings. Omit to disable authentication." + }, + "authorizationRef": { + "type": "string", + "description": "Reference to client authorization settings. Omit to disable authorization." + }, + "nodePort": { + "type": "integer", + "format": "int32", + "description": "Kubernetes node port. Only relevant when this port is associated with a `NodePort` listener.", + "minimum": 0, + "maximum": 65535 + }, + "port": { + "type": "integer", + "format": "int32", + "description": "TCP port for accepting client connections.", + "minimum": 0, + "maximum": 65535 + }, + "protocol": { + "type": "string", + "description": "Protocol to use for client connections.", + "default": "Mqtt", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "tls": { + "$ref": "#/definitions/TlsCertMethod", + "description": "TLS server certificate settings for this port. Omit to disable TLS." + } + }, + "required": [ + "port" + ] + }, + "LocalKubernetesReference": { + "type": "object", + "description": "Kubernetes reference", + "properties": { + "apiGroup": { + "type": "string", + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": "string", + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": "string", + "description": "Name is the name of resource being referenced" + } + }, + "required": [ + "kind", + "name" + ] + }, + "ManagedIdentity": { + "type": "object", + "description": "System and Use Assigned Managed Identity properties", + "properties": { + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + } + }, + "ManagedIdentityMethod": { + "type": "string", + "description": "Managed Identity Method", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity" + ], + "x-ms-enum": { + "name": "ManagedIdentityMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + } + ] + } + }, + "MetricProperties": { + "type": "object", + "description": "Metric properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + } + } + }, + "Metrics": { + "type": "object", + "description": "Diagnostic Metrics properties", + "properties": { + "opentelemetryExportConfig": { + "$ref": "#/definitions/OpenTelemetryExportConfig", + "description": "The open telemetry export configuration." + }, + "prometheusPort": { + "type": "integer", + "format": "int32", + "description": "The prometheus port to expose the metrics.", + "default": 9600, + "minimum": 0, + "maximum": 65535 + } + } + }, + "MqttAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Mqtt Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "Sasl", + "X509Certificate", + "Anonymous" + ], + "x-ms-enum": { + "name": "MqttAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "Sasl", + "value": "Sasl", + "description": "Sasl Option" + }, + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + }, + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "MqttRetainType": { + "type": "string", + "description": "Broker Retain types", + "enum": [ + "Keep", + "Never" + ], + "x-ms-enum": { + "name": "MqttRetainType", + "modelAsString": true, + "values": [ + { + "name": "Keep", + "value": "Keep", + "description": "Retain the messages." + }, + { + "name": "Never", + "value": "Never", + "description": "Never retain messages." + } + ] + } + }, + "OpenTelemetryExportConfig": { + "type": "object", + "description": "OpenTelemetry Export Configuration properties", + "properties": { + "otlpGrpcEndpoint": { + "type": "string", + "description": "The open telemetry collector endpoint to export to." + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "How often to export the metrics to the open telemetry collector.", + "default": 30, + "minimum": 1, + "maximum": 300 + } + }, + "required": [ + "otlpGrpcEndpoint" + ] + }, + "OpenTelemetryLogExportConfig": { + "type": "object", + "description": "OpenTelemetry Log Export Configuration properties", + "properties": { + "otlpGrpcEndpoint": { + "type": "string", + "description": "The open telemetry collector endpoint to export to." + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "How often to export the metrics to the open telemetry collector.", + "default": 30, + "minimum": 1, + "maximum": 300 + }, + "level": { + "type": "string", + "description": "The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.", + "default": "error" + } + }, + "required": [ + "otlpGrpcEndpoint" + ] + }, + "OperationType": { + "type": "string", + "description": "Dataflow Operation Type properties", + "enum": [ + "Source", + "Destination", + "BuiltInTransformation" + ], + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true, + "values": [ + { + "name": "Source", + "value": "Source", + "description": "Dataflow Source Operation" + }, + { + "name": "Destination", + "value": "Destination", + "description": "Dataflow Destination Operation" + }, + { + "name": "BuiltInTransformation", + "value": "BuiltInTransformation", + "description": "Dataflow BuiltIn Transformation Operation" + } + ] + } + }, + "OperationalMode": { + "type": "string", + "description": "Mode properties", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "OperatorValues": { + "type": "string", + "description": "Valid operators are In, NotIn, Exists and DoesNotExist.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "x-ms-enum": { + "name": "OperatorValues", + "modelAsString": true, + "values": [ + { + "name": "In", + "value": "In", + "description": "In operator." + }, + { + "name": "NotIn", + "value": "NotIn", + "description": "NotIn operator." + }, + { + "name": "Exists", + "value": "Exists", + "description": "Exists operator." + }, + { + "name": "DoesNotExist", + "value": "DoesNotExist", + "description": "DoesNotExist operator." + } + ] + } + }, + "PrincipalDefinition": { + "type": "object", + "description": "PrincipalDefinition properties of Rule", + "properties": { + "attributes": { + "type": "array", + "description": "A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.", + "default": [], + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "x-ms-identifiers": [] + }, + "clientIds": { + "type": "array", + "description": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.", + "default": [], + "items": { + "type": "string" + } + }, + "usernames": { + "type": "array", + "description": "A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.", + "default": [], + "items": { + "type": "string" + } + } + } + }, + "PrivateKeyAlgorithm": { + "type": "string", + "description": "Private key algorithm types.", + "enum": [ + "Ec256", + "Ec384", + "Ec521", + "Ed25519", + "Rsa2048", + "Rsa4096", + "Rsa8192" + ], + "x-ms-enum": { + "name": "PrivateKeyAlgorithm", + "modelAsString": true, + "values": [ + { + "name": "Ec256", + "value": "Ec256", + "description": "Algorithm - ec256." + }, + { + "name": "Ec384", + "value": "Ec384", + "description": "Algorithm - ec384." + }, + { + "name": "Ec521", + "value": "Ec521", + "description": "Algorithm - ec521." + }, + { + "name": "Ed25519", + "value": "Ed25519", + "description": "Algorithm - ed25519." + }, + { + "name": "Rsa2048", + "value": "Rsa2048", + "description": "Algorithm - rsa2048." + }, + { + "name": "Rsa4096", + "value": "Rsa4096", + "description": "Algorithm - rsa4096." + }, + { + "name": "Rsa8192", + "value": "Rsa8192", + "description": "Algorithm - rsa8192." + } + ] + } + }, + "PrivateKeyRotationPolicy": { + "type": "string", + "description": "Private key rotation policy.", + "enum": [ + "Always", + "Never" + ], + "x-ms-enum": { + "name": "PrivateKeyRotationPolicy", + "modelAsString": true, + "values": [ + { + "name": "Always", + "value": "Always", + "description": "Rotation Policy - Always." + }, + { + "name": "Never", + "value": "Never", + "description": "Rotation Policy - Never." + } + ] + } + }, + "ProfileDiagnostics": { + "type": "object", + "description": "DataflowProfile Diagnostics properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The enum defining status of resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Resource is getting provisioned." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is Updating." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is Deleting." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource has been Accepted." + } + ] + }, + "readOnly": true + }, + "SanForCert": { + "type": "object", + "description": "Subject Alternative Names (SANs) for certificate.", + "properties": { + "dns": { + "type": "array", + "description": "DNS SANs.", + "default": [], + "items": { + "type": "string" + } + }, + "ip": { + "type": "array", + "description": "IP address SANs.", + "default": [], + "items": { + "type": "string" + } + } + }, + "required": [ + "dns", + "ip" + ] + }, + "SaslMethod": { + "type": "string", + "description": "Sasl Method", + "enum": [ + "Sasl" + ], + "x-ms-enum": { + "name": "SaslMethod", + "modelAsString": true, + "values": [ + { + "name": "Sasl", + "value": "Sasl", + "description": "Sasl Option" + } + ] + } + }, + "SchemaRegistryInstanceProperties": { + "type": "object", + "description": "The properties of a Schema Registry instance.", + "properties": { + "state": { + "$ref": "#/definitions/OperationalMode", + "description": "This determines if the Schema Registry service is enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "state" + ] + }, + "SelfCheck": { + "type": "object", + "description": "Broker Diagnostic Self check properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable self check.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "The self check interval.", + "default": 30, + "minimum": 30, + "maximum": 300 + }, + "timeoutSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout for self check.", + "default": 15, + "minimum": 5, + "maximum": 120 + } + } + }, + "SelfTracing": { + "type": "object", + "description": "Diagnostic Self tracing properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable self tracing.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "The self tracing interval.", + "default": 30, + "minimum": 1, + "maximum": 300 + } + } + }, + "ServiceType": { + "type": "string", + "description": "Kubernetes Service Types supported by Listener", + "enum": [ + "ClusterIp", + "LoadBalancer", + "NodePort" + ], + "x-ms-enum": { + "name": "ServiceType", + "modelAsString": true, + "values": [ + { + "name": "ClusterIp", + "value": "ClusterIp", + "description": "Cluster IP Service." + }, + { + "name": "LoadBalancer", + "value": "LoadBalancer", + "description": "Load Balancer Service." + }, + { + "name": "NodePort", + "value": "NodePort", + "description": "Node Port Service." + } + ] + } + }, + "SourceSerializationFormat": { + "type": "string", + "description": "Serialization Format properties", + "enum": [ + "Json" + ], + "x-ms-enum": { + "name": "SourceSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + } + ] + } + }, + "StateStoreResourceDefinitionMethods": { + "type": "string", + "description": "StateStoreResourceDefinitionMethods methods allowed", + "enum": [ + "Read", + "Write", + "ReadWrite" + ], + "x-ms-enum": { + "name": "StateStoreResourceDefinitionMethods", + "modelAsString": true, + "values": [ + { + "name": "Read", + "value": "Read", + "description": "Get/KeyNotify from Store" + }, + { + "name": "Write", + "value": "Write", + "description": "Set/Delete in Store" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Allowed all operations on Store - Get/KeyNotify/Set/Delete" + } + ] + } + }, + "StateStoreResourceKeyTypes": { + "type": "string", + "description": "StateStoreResourceKeyTypes properties", + "enum": [ + "Pattern", + "String", + "Binary" + ], + "x-ms-enum": { + "name": "StateStoreResourceKeyTypes", + "modelAsString": true, + "values": [ + { + "name": "Pattern", + "value": "Pattern", + "description": "Key type - pattern" + }, + { + "name": "String", + "value": "String", + "description": "Key type - string" + }, + { + "name": "Binary", + "value": "Binary", + "description": "Key type - binary" + } + ] + } + }, + "StateStoreResourceRule": { + "type": "object", + "description": "State Store Resource Rule properties.", + "properties": { + "keyType": { + "$ref": "#/definitions/StateStoreResourceKeyTypes", + "description": "Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys." + }, + "keys": { + "type": "array", + "description": "Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '*', 'clients/*').", + "items": { + "type": "string" + } + }, + "method": { + "$ref": "#/definitions/StateStoreResourceDefinitionMethods", + "description": "Give access for `Read`, `Write` and `ReadWrite` access level." + } + }, + "required": [ + "keyType", + "keys", + "method" + ] + }, + "SubscriberMessageDropStrategy": { + "type": "string", + "description": "The enum defining strategies for dropping messages from the subscriber queue.", + "enum": [ + "None", + "DropOldest" + ], + "x-ms-enum": { + "name": "SubscriberMessageDropStrategy", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Messages are never dropped." + }, + { + "name": "DropOldest", + "value": "DropOldest", + "description": "The oldest message is dropped." + } + ] + } + }, + "SubscriberQueueLimit": { + "type": "object", + "description": "The settings of Subscriber Queue Limit.", + "properties": { + "length": { + "type": "integer", + "format": "int64", + "description": "The maximum length of the queue before messages start getting dropped.", + "minimum": 1 + }, + "strategy": { + "type": "string", + "description": "The strategy to use for dropping messages from the queue.", + "default": "None", + "enum": [ + "None", + "DropOldest" + ], + "x-ms-enum": { + "name": "SubscriberMessageDropStrategy", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Messages are never dropped." + }, + { + "name": "DropOldest", + "value": "DropOldest", + "description": "The oldest message is dropped." + } + ] + } + } + } + }, + "TlsCertMethod": { + "type": "object", + "description": "Collection of different TLS types, NOTE- Enum at a time only one of them needs to be supported", + "properties": { + "mode": { + "$ref": "#/definitions/TlsCertMethodMode", + "description": "Mode of TLS server certificate management." + }, + "certManagerCertificateSpec": { + "$ref": "#/definitions/CertManagerCertificateSpec", + "description": "Option 1 - Automatic TLS server certificate management with cert-manager." + }, + "manual": { + "$ref": "#/definitions/X509ManualCertificate", + "description": "Option 2 - Manual TLS server certificate management through a defined secret." + } + }, + "required": [ + "mode" + ] + }, + "TlsCertMethodMode": { + "type": "string", + "description": "Broker Authentication Mode", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "name": "TlsCertMethodMode", + "modelAsString": true, + "values": [ + { + "name": "Automatic", + "value": "Automatic", + "description": "Automatic TLS server certificate configuration." + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual TLS server certificate configuration." + } + ] + } + }, + "TlsProperties": { + "type": "object", + "description": "Tls properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for TLS.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "trustedCaCertificateConfigMapRef": { + "type": "string", + "description": "Trusted CA certificate config map." + } + } + }, + "Traces": { + "type": "object", + "description": "Broker Diagnostic Trace properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable traces.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "opentelemetryExportConfig": { + "$ref": "#/definitions/OpenTelemetryExportConfig", + "description": "The open telemetry export configuration." + }, + "cacheSizeMegabytes": { + "type": "integer", + "format": "int32", + "description": "The cache size in megabytes.", + "default": 16, + "minimum": 1, + "maximum": 128 + }, + "selfTracing": { + "$ref": "#/definitions/SelfTracing", + "description": "The self tracing properties." + }, + "spanChannelCapacity": { + "type": "integer", + "format": "int32", + "description": "The span channel capacity.", + "default": 1000, + "minimum": 1000, + "maximum": 100000 + } + } + }, + "TransformationSerializationFormat": { + "type": "string", + "description": "Transformation Format properties", + "enum": [ + "Delta", + "Json", + "Parquet" + ], + "x-ms-enum": { + "name": "TransformationSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Delta", + "value": "Delta", + "description": "Delta Format" + }, + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + }, + { + "name": "Parquet", + "value": "Parquet", + "description": "Parquet Format" + } + ] + } + }, + "VolumeClaimResourceRequirements": { + "type": "object", + "description": "VolumeClaimResourceRequirements properties", + "properties": { + "limits": { + "type": "object", + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "additionalProperties": { + "type": "string" + } + }, + "requests": { + "type": "object", + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VolumeClaimSpec": { + "type": "object", + "description": "VolumeClaimSpec properties", + "properties": { + "volumeName": { + "type": "string", + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + }, + "volumeMode": { + "type": "string", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." + }, + "storageClassName": { + "type": "string", + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "accessModes": { + "type": "array", + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "dataSource": { + "$ref": "#/definitions/LocalKubernetesReference", + "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." + }, + "dataSourceRef": { + "$ref": "#/definitions/KubernetesReference", + "description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." + }, + "resources": { + "$ref": "#/definitions/VolumeClaimResourceRequirements", + "description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + }, + "selector": { + "$ref": "#/definitions/VolumeClaimSpecSelector", + "description": "A label query over volumes to consider for binding." + } + } + }, + "VolumeClaimSpecSelector": { + "type": "object", + "description": "VolumeClaimSpecSelector properties", + "properties": { + "matchExpressions": { + "type": "array", + "description": "MatchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "$ref": "#/definitions/VolumeClaimSpecSelectorMatchExpressions" + }, + "x-ms-identifiers": [] + }, + "matchLabels": { + "type": "object", + "description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VolumeClaimSpecSelectorMatchExpressions": { + "type": "object", + "description": "VolumeClaimSpecSelectorMatchExpressions properties", + "properties": { + "key": { + "type": "string", + "description": "key is the label key that the selector applies to." + }, + "operator": { + "$ref": "#/definitions/OperatorValues", + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": "array", + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "operator" + ] + }, + "X509ManualCertificate": { + "type": "object", + "description": "X509 Certificate Authentication properties.", + "properties": { + "secretRef": { + "type": "string", + "description": "Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself." + } + }, + "required": [ + "secretRef" + ] + }, + "x509CertificateMethod": { + "type": "string", + "description": "x509 Certificate Method", + "enum": [ + "X509Certificate" + ], + "x-ms-enum": { + "name": "x509CertificateMethod", + "modelAsString": true, + "values": [ + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/iotoperations/resource-manager/readme.md b/specification/iotoperations/resource-manager/readme.md index 3d825d08ed25..6335d57f3037 100644 --- a/specification/iotoperations/resource-manager/readme.md +++ b/specification/iotoperations/resource-manager/readme.md @@ -47,16 +47,19 @@ directive: reason: User defined properties that are not subject to any validations. - suppress: BodyTopLevelProperties reason: Temporary suppression due to failing pipeline. + - suppress: PatchBodyParametersSchema + reason: Type is required because it is a part of managed identity. + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}"].patch.parameters[4].schema.properties.identity ``` ### Basic Information -These are the global settings for the IoTOperationsOrchestrator. +These are the global settings for the IoTOperations. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2024-07-01-preview +tag: package-2024-08-15-preview ``` ### Tag: package-2024-07-01-preview @@ -67,3 +70,12 @@ These settings apply only when `--tag=package-2024-07-01-preview` is specified o input-file: - Microsoft.IoTOperations/preview/2024-07-01-preview/iotoperations.json ``` + +### Tag: package-2024-08-15-preview + +These settings apply only when `--tag=package-2024-08-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-08-15-preview' +input-file: + - Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json +``` \ No newline at end of file