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 index f7578adb40ee..872ab99f2b7d 100644 --- 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 @@ -53,5 +53,128 @@ "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/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json index d7641c68a027..edc7584bd7a4 100644 --- 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 @@ -74,5 +74,170 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "enableCache": true, + "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": { + "enableCache": true, + "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_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json index 199c608d8af1..acba5814180c 100644 --- 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 @@ -55,5 +55,68 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "enableCache": true, + "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/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Complex.json index e1aa5cf386f1..d8e82af64f55 100644 --- 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 @@ -52,5 +52,128 @@ "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": { + "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": { + "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_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/BrokerListener_CreateOrUpdate_Simple.json index 9ea8ac02ee86..1be83e82a6cc 100644 --- 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 @@ -21,5 +21,36 @@ "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" + } + } + } } } 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 index 3ff18835db3b..69d6eefa98cd 100644 --- 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 @@ -33,5 +33,94 @@ "type": "CustomLocation" } } + }, + "response": { + "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" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "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" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "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_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Broker_CreateOrUpdate_Minimal.json index 941cddf821ea..3a73defa4acf 100644 --- 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 @@ -16,5 +16,186 @@ "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" + } + } + } } } 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 index 4eda7db01d32..b4ec296453e3 100644 --- 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 @@ -30,5 +30,186 @@ "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" + } + } + } } } 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 index 0f24dec8c07a..e940928acc18 100644 --- 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 @@ -25,5 +25,74 @@ "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 index 80a169795a38..529795f896d9 100644 --- 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 @@ -29,5 +29,82 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencyMs": 1000, + "maxBytes": 1000, + "maxMessages": 1000 + } + }, + "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": { + "latencyMs": 1000, + "maxBytes": 1000, + "maxMessages": 1000 + } + }, + "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 index 9e756b45799d..36796dac8289 100644 --- 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 @@ -29,5 +29,82 @@ "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 index b2c1bdae087a..72dc545a0c30 100644 --- 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 @@ -26,5 +26,76 @@ "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 index 90ebc85d1fc5..c3d59619a671 100644 --- 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 @@ -27,5 +27,78 @@ "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 index b1d150f11660..25da9c4cc071 100644 --- 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 @@ -28,5 +28,80 @@ "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 index 592acdd00e44..eb301ea2cf03 100644 --- 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 @@ -42,5 +42,108 @@ "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", + "trustedCaCertificateConfigMap": "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", + "trustedCaCertificateConfigMap": "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 index ea5440d19c28..eaab4767e840 100644 --- 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 @@ -19,5 +19,62 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimName": "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": { + "persistentVolumeClaimName": "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 index 1a2073eff280..6951e05e709e 100644 --- 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 @@ -35,5 +35,94 @@ "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/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json index 8d1e5a1e2748..470ec35d0e16 100644 --- 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 @@ -16,5 +16,56 @@ "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 index ba75d92d3281..cb5f636bfbae 100644 --- 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 @@ -16,5 +16,56 @@ "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/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json index e79f99f70aca..e047f0d76f3c 100644 --- 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 @@ -67,5 +67,156 @@ "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 index 5ed8b2599367..1534e1df9acb 100644 --- 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 @@ -100,5 +100,156 @@ "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 index 54feab65b759..f2fe19cca9c3 100644 --- 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 @@ -63,5 +63,148 @@ "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_SimpleEventGrid.json b/specification/iotoperations/IoTOperations.Management/examples/2024-08-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json index 3a3b48e42406..f146036e29be 100644 --- 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 @@ -37,5 +37,96 @@ "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 index cc30c3ed4b5d..41a06b500c83 100644 --- 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 @@ -44,5 +44,110 @@ "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/BrokerAuthentication_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json index f7578adb40ee..872ab99f2b7d 100644 --- 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 @@ -53,5 +53,128 @@ "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/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json index d7641c68a027..edc7584bd7a4 100644 --- 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 @@ -74,5 +74,170 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "enableCache": true, + "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": { + "enableCache": true, + "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_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json index 199c608d8af1..acba5814180c 100644 --- 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 @@ -55,5 +55,68 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "enableCache": true, + "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/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json index e1aa5cf386f1..d8e82af64f55 100644 --- 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 @@ -52,5 +52,128 @@ "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": { + "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": { + "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_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json index 9ea8ac02ee86..1be83e82a6cc 100644 --- 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 @@ -21,5 +21,36 @@ "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" + } + } + } } } 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 index 3ff18835db3b..69d6eefa98cd 100644 --- 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 @@ -33,5 +33,94 @@ "type": "CustomLocation" } } + }, + "response": { + "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" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "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" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "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_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Broker_CreateOrUpdate_Minimal.json index 941cddf821ea..3a73defa4acf 100644 --- 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 @@ -16,5 +16,186 @@ "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" + } + } + } } } 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 index 4eda7db01d32..b4ec296453e3 100644 --- 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 @@ -30,5 +30,186 @@ "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" + } + } + } } } 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 index 0f24dec8c07a..e940928acc18 100644 --- 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 @@ -25,5 +25,74 @@ "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 index 80a169795a38..529795f896d9 100644 --- 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 @@ -29,5 +29,82 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencyMs": 1000, + "maxBytes": 1000, + "maxMessages": 1000 + } + }, + "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": { + "latencyMs": 1000, + "maxBytes": 1000, + "maxMessages": 1000 + } + }, + "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 index 9e756b45799d..36796dac8289 100644 --- 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 @@ -29,5 +29,82 @@ "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 index b2c1bdae087a..72dc545a0c30 100644 --- 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 @@ -26,5 +26,76 @@ "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 index 90ebc85d1fc5..c3d59619a671 100644 --- 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 @@ -27,5 +27,78 @@ "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 index b1d150f11660..25da9c4cc071 100644 --- 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 @@ -28,5 +28,80 @@ "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 index 592acdd00e44..eb301ea2cf03 100644 --- 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 @@ -42,5 +42,108 @@ "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", + "trustedCaCertificateConfigMap": "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", + "trustedCaCertificateConfigMap": "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 index ea5440d19c28..eaab4767e840 100644 --- 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 @@ -19,5 +19,62 @@ "type": "CustomLocation" } } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimName": "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": { + "persistentVolumeClaimName": "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 index 1a2073eff280..6951e05e709e 100644 --- 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 @@ -35,5 +35,94 @@ "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/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json index 8d1e5a1e2748..470ec35d0e16 100644 --- 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 @@ -16,5 +16,56 @@ "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 index ba75d92d3281..cb5f636bfbae 100644 --- 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 @@ -16,5 +16,56 @@ "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/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json index e79f99f70aca..e047f0d76f3c 100644 --- 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 @@ -67,5 +67,156 @@ "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 index 5ed8b2599367..1534e1df9acb 100644 --- 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 @@ -100,5 +100,156 @@ "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 index 54feab65b759..f2fe19cca9c3 100644 --- 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 @@ -63,5 +63,148 @@ "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_SimpleEventGrid.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-08-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json index 3a3b48e42406..f146036e29be 100644 --- 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 @@ -37,5 +37,96 @@ "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 index cc30c3ed4b5d..41a06b500c83 100644 --- 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 @@ -44,5 +44,110 @@ "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" + } + } + } } }