diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..99df45a1ca21 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_Complex.json @@ -0,0 +1,180 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate_Complex", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123", + "resource": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..56d2d89e12ab --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,168 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123", + "resource": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2e8c7aa364f3 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthentication_Delete", + "operationId": "BrokerAuthentication_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..533d1b8f9a3a --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_Get_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "BrokerAuthentication_Get", + "operationId": "BrokerAuthentication_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8037bfab1583 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "BrokerAuthentication_ListByResourceGroup", + "operationId": "BrokerAuthentication_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..74ccc622f5c2 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Complex.json @@ -0,0 +1,243 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Complex", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..13af93f825f8 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,189 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..3c5e60f84d3b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_CreateOrUpdate_Simple.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Simple", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..9576e1bff109 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthorization_Delete", + "operationId": "BrokerAuthorization_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..1e1df47ac23a --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "title": "BrokerAuthorization_Get", + "operationId": "BrokerAuthorization_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..44ef2bacbea2 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "BrokerAuthorization_ListByResourceGroup", + "operationId": "BrokerAuthorization_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..fab5938b5e49 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Complex.json @@ -0,0 +1,182 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Complex", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..673225b32522 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerListener_CreateOrUpdate", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..70613eca4838 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_CreateOrUpdate_Simple.json @@ -0,0 +1,88 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Simple", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "ports": [ + { + "port": 1883 + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2eae4091f973 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerListener_Delete", + "operationId": "BrokerListener_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..e0142b23e6b9 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "BrokerListener_Get", + "operationId": "BrokerListener_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d8eaf998413a --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "BrokerListener_ListByResourceGroup", + "operationId": "BrokerListener_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Complex.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..8f9965aa69f7 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Complex.json @@ -0,0 +1,122 @@ +{ + "title": "Broker_CreateOrUpdate_Complex", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Accepted" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..1a9202c793fc --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,500 @@ +{ + "title": "Broker_CreateOrUpdate", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/Broker_CreateOrUpdate_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..db21f2f9961d --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Minimal.json @@ -0,0 +1,357 @@ +{ + "title": "Broker_CreateOrUpdate_Minimal", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/Broker_CreateOrUpdate_Simple.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..e163401612c6 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_CreateOrUpdate_Simple.json @@ -0,0 +1,371 @@ +{ + "title": "Broker_CreateOrUpdate_Simple", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Low" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/Broker_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cc056cc7fbd --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Broker_Delete", + "operationId": "Broker_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..170aa26bcd86 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_Get_MaximumSet_Gen.json @@ -0,0 +1,179 @@ +{ + "title": "Broker_Get", + "operationId": "Broker_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..1c1a1bf57ec5 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Broker_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,183 @@ +{ + "title": "Broker_ListByResourceGroup", + "operationId": "Broker_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json new file mode 100644 index 000000000000..3b8475111cd2 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADLSv2.json @@ -0,0 +1,98 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adlsv2-endpoint", + "resource": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json new file mode 100644 index 000000000000..db63d70425bb --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_ADX.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADX", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adx-endpoint", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json new file mode 100644 index 000000000000..18cef846e282 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_AIO.json @@ -0,0 +1,110 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_AIO", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "aio-builtin-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "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-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "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-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json new file mode 100644 index 000000000000..09a2283578b4 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventGrid.json @@ -0,0 +1,101 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-grid-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json new file mode 100644 index 000000000000..f6730880e2b6 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_EventHub.json @@ -0,0 +1,104 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventHub", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-hub-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json new file mode 100644 index 000000000000..d4393e8da225 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Fabric.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Fabric", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "fabric-endpoint", + "resource": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json new file mode 100644 index 000000000000..34ea2ac53f03 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_Kafka.json @@ -0,0 +1,149 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Kafka", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-kafka-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json new file mode 100644 index 000000000000..6c498588c715 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_LocalStorage.json @@ -0,0 +1,80 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "local-storage-endpoint", + "resource": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json new file mode 100644 index 000000000000..b420b27e3664 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MQTT.json @@ -0,0 +1,128 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_MQTT", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-mqtt-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..1fe7b32d00a5 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,476 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..a67f12a1e4da --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowEndpoint_Delete", + "operationId": "DataflowEndpoint_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..be8c1f8d0ac3 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_Get_MaximumSet_Gen.json @@ -0,0 +1,171 @@ +{ + "title": "DataflowEndpoint_Get", + "operationId": "DataflowEndpoint_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..f9b75de4d82e --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,175 @@ +{ + "title": "DataflowEndpoint_ListByResourceGroup", + "operationId": "DataflowEndpoint_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..2a8a90c8ec9e --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,95 @@ +{ + "title": "DataflowProfile_CreateOrUpdate", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "resource": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..8a08b7c71f41 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Minimal.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Minimal", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 1 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Multi.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Multi.json new file mode 100644 index 000000000000..1358bf219347 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_CreateOrUpdate_Multi.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Multi", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 3 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..92c5a7d32c78 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowProfile_Delete", + "operationId": "DataflowProfile_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..992da0ba07f8 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_Get_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "DataflowProfile_Get", + "operationId": "DataflowProfile_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e7d80009c85 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "DataflowProfile_ListByResourceGroup", + "operationId": "DataflowProfile_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json new file mode 100644 index 000000000000..6706efedf55b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexContextualization.json @@ -0,0 +1,222 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexContextualization", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-adx-contexualized", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json new file mode 100644 index 000000000000..e10915972919 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_ComplexEventHub.json @@ -0,0 +1,255 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexEventHub", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-hub-transformed", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "filter": [ + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "($1+$2)/2", + "output": "AvgTemp.Value" + }, + { + "inputs": [], + "expression": "true", + "output": "dataflow-processed" + }, + { + "inputs": [ + "temperature.SourceTimestamp" + ], + "expression": "", + "output": "" + }, + { + "inputs": [ + "\"Tag 10\"" + ], + "expression": "", + "output": "pressure" + }, + { + "inputs": [ + "temperature.Value" + ], + "expression": "cToF($1)", + "output": "temperatureF.Value" + }, + { + "inputs": [ + "\"Tag 10\".Value" + ], + "expression": "scale ($1,0,10,0,100)", + "output": "\"Scale Tag 10\".Value" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-hub-endpoint", + "dataDestination": "myuniqueeventhub" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json new file mode 100644 index 000000000000..3ff5c1c6c7f3 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_FilterToTopic.json @@ -0,0 +1,210 @@ +{ + "title": "Dataflow_CreateOrUpdate_FilterToTopic", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "mqtt-filter-to-topic", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..9d4a894ae46b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,237 @@ +{ + "title": "Dataflow_CreateOrUpdate", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json new file mode 100644 index 000000000000..73a3038d8527 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleEventGrid.json @@ -0,0 +1,132 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-grid", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json new file mode 100644 index 000000000000..f4f3e6a89ecb --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_CreateOrUpdate_SimpleFabric.json @@ -0,0 +1,153 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleFabric", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-fabric", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8617fc9681eb --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Dataflow_Delete", + "operationId": "Dataflow_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6daa2b11a21d --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_Get_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "title": "Dataflow_Get", + "operationId": "Dataflow_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..d38f51c50759 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Dataflow_ListByProfileResource_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "Dataflow_ListByProfileResource", + "operationId": "Dataflow_ListByProfileResource", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..ac7583a4acb2 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "Instance_CreateOrUpdate", + "operationId": "Instance_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "resource": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Delete_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0b63d7261b0b --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instance_Delete", + "operationId": "Instance_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Get_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..03f4b416dda5 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Get_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "Instance_Get", + "operationId": "Instance_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "rlfvvnnhcypp", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..c4bedfb0b6ce --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "title": "Instance_ListByResourceGroup", + "operationId": "Instance_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "vmujggxdvxk" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..7229d3116831 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "Instance_ListBySubscription", + "operationId": "Instance_ListBySubscription", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "empgqmbhvklcqlyahmdsjemlep" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Update_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..406c4a22b316 --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Instance_Update_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "Instance_Update", + "operationId": "Instance_Update", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": {} + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "wwihkapmgjbyrtyaj", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Operations_List_MaximumSet_Gen.json b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..0429eca83eed --- /dev/null +++ b/specification/iotoperations/IoTOperations.Management/examples/2024-09-15-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-09-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "xzxqfusky", + "isDataAction": true, + "display": { + "provider": "lrveskajtuwf", + "resource": "d", + "operation": "icuckgobartrrgmirax", + "description": "dsbfnxzvnoqdm" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/IoTOperations.Management/main.tsp b/specification/iotoperations/IoTOperations.Management/main.tsp index d0f76ba18550..33037af05c59 100644 --- a/specification/iotoperations/IoTOperations.Management/main.tsp +++ b/specification/iotoperations/IoTOperations.Management/main.tsp @@ -33,10 +33,10 @@ namespace Microsoft.IoTOperations; /** Api versions */ enum Versions { - /** 2024-08-15-preview version */ + /** 2024-09-15-preview version */ @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - `2024-08-15-preview`, + `2024-09-15-preview`, } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/iotoperations/IoTOperations.Management/models/base.tsp b/specification/iotoperations/IoTOperations.Management/models/base.tsp index 6bc94b68d6cd..736cb2878627 100644 --- a/specification/iotoperations/IoTOperations.Management/models/base.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/base.tsp @@ -4,6 +4,10 @@ using Azure.ResourceManager; namespace Microsoft.IoTOperations; +@doc("A string with a minimum length of 1.") +@minLength(1) +scalar NonEmptyString extends string; + @doc("Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.") model ExtendedLocation { @doc("The name of the extended location.") @@ -52,37 +56,12 @@ union OperationalMode { @doc("Diagnostic Log properties") model DiagnosticsLogs { - @doc("The open telemetry export configuration.") - opentelemetryExportConfig?: OpenTelemetryLogExportConfig; - @doc("The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.") level?: string = "info"; } -@doc("OpenTelemetry Log Export Configuration properties") -model OpenTelemetryLogExportConfig { - ...OpenTelemetryExportConfig; - - @doc("The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.") - level?: string = "error"; -} - -@doc("OpenTelemetry Export Configuration properties") -model OpenTelemetryExportConfig { - @doc("The open telemetry collector endpoint to export to.") - otlpGrpcEndpoint: string; - - @doc("How often to export the metrics to the open telemetry collector.") - @minValue(1) - @maxValue(300) - intervalSeconds?: int32 = 30; -} - @doc("Diagnostic Metrics properties") model Metrics { - @doc("The open telemetry export configuration.") - opentelemetryExportConfig?: OpenTelemetryExportConfig; - @doc("The prometheus port to expose the metrics.") @minValue(0) @maxValue(65535) @@ -243,3 +222,10 @@ union ServiceAccountTokenMethod { @doc("ServiceAccountToken Option") ServiceAccountToken: ServiceAccountToken, } + +scalar SchemaRegistryID + extends Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.DeviceRegistry/schemaRegistries", + } + ]>; diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/brokers.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/brokers.tsp index a3cd53d8af7f..7f2cd7e7265f 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/brokers.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/brokers.tsp @@ -145,9 +145,6 @@ model Traces { @doc("The toggle to enable/disable traces.") mode?: OperationalMode = OperationalMode.Enabled; - @doc("The open telemetry export configuration.") - opentelemetryExportConfig?: OpenTelemetryExportConfig; - @doc("The cache size in megabytes.") @minValue(1) @maxValue(128) diff --git a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp index 9f4b43cccfdf..e53eb67b5ef8 100644 --- a/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/broker/listeners.tsp @@ -33,7 +33,7 @@ model BrokerListenerResource is ProxyResource { @doc("Defines a Broker listener. A listener is a collection of ports on which the broker accepts connections from clients.") model BrokerListenerProperties { @doc("Kubernetes Service name of this listener.") - serviceName?: string = "aio-mq-dmqtt-frontend"; + serviceName?: string; @doc("Ports on which this listener accepts client connections.") @OpenAPI.extension("x-ms-identifiers", ["port"]) diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp index ab49733743ad..253af812af74 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflowEndpoints.tsp @@ -329,7 +329,7 @@ model DataflowEndpointLocalStorage { @doc("Broker endpoint properties") model DataflowEndpointMqtt { - @doc("authentication properties. DEFAULT: kubernetes.audience=aio-mq-internal. NOTE - Enum field only property is allowed") + @doc("authentication properties. DEFAULT: kubernetes.audience=aio-internal. NOTE - Enum field only property is allowed") authentication: DataflowEndpointMqttAuthentication; @doc("Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if omitted.") @@ -375,7 +375,7 @@ model DataflowEndpointMqttAuthentication { ...ManagedIdentity; - @doc("Kubernetes service account token authentication. Default audience if not set is aio-mq-internal") + @doc("Kubernetes service account token authentication. Default audience if not set is aio-internal") serviceAccountTokenSettings?: DataflowEndpointAuthenticationServiceAccountToken; @doc("X.509 certificate authentication.") diff --git a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp index bc12024292e7..4d84a7f82da8 100644 --- a/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/dataflows/dataflows.tsp @@ -212,7 +212,7 @@ model DataflowDestinationOperationSettings { endpointRef: string; @doc("Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.") - dataDestination: string; + dataDestination: NonEmptyString; } @doc("Dataflow Source Operation properties") @@ -230,5 +230,5 @@ model DataflowSourceOperationSettings { schemaRef?: string; @doc("List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.") - dataSources: string[]; + dataSources: NonEmptyString[]; } diff --git a/specification/iotoperations/IoTOperations.Management/models/instance.tsp b/specification/iotoperations/IoTOperations.Management/models/instance.tsp index de89df9f4ae9..1626412c71f6 100644 --- a/specification/iotoperations/IoTOperations.Management/models/instance.tsp +++ b/specification/iotoperations/IoTOperations.Management/models/instance.tsp @@ -52,65 +52,11 @@ model InstanceProperties { version?: string; @doc("The reference to the Schema Registry for this AIO Instance.") - @pattern("^[a-z0-9][a-z0-9-]*[a-z0-9]$") - schemaRegistryNamespace: string; - - @doc("The configuration for components of the AIO Instance.") - components?: Components = #{}; -} - -@doc("The configuration for components of the AIO Instance.") -model Components { - @doc("The properties of the ADR instance.") - adr?: AdrProperties = #{ state: OperationalMode.Enabled }; - - @doc("The properties of the AKRI instance.") - akri?: AkriInstanceProperties = #{ state: OperationalMode.Enabled }; - - @doc("The properties of the connectors instance.") - connectors?: ConnectorInstanceProperties = #{ - state: OperationalMode.Enabled, - }; - - @doc("The properties of the dataflows instance.") - dataflows?: DataflowInstanceProperties = #{ state: OperationalMode.Enabled }; - - @doc("The properties of the device provisioning instance.") - schemaRegistry?: SchemaRegistryInstanceProperties = #{ - state: OperationalMode.Enabled, - }; -} - -@doc("The properties of an ADR instance.") -model AdrProperties { - @doc("This determines if the ADR service is enabled.") - @visibility("create", "read") - state: OperationalMode; -} -@doc("The properties of an AKRI instance.") -model AkriInstanceProperties { - @doc("This determines if the AKRI service is enabled.") - @visibility("create", "read") - state: OperationalMode; -} - -@doc("The properties of a Connector instance.") -model ConnectorInstanceProperties { - @doc("This determines if the Connector service is enabled.") - @visibility("create", "read") - state: OperationalMode; -} - -@doc("The properties of an Dataflow instance.") -model DataflowInstanceProperties { - @doc("This determines if the Dataflow service is enabled.") - @visibility("create", "read") - state: OperationalMode; + schemaRegistryRef: SchemaRegistryRef; } -@doc("The properties of a Schema Registry instance.") -model SchemaRegistryInstanceProperties { - @doc("This determines if the Schema Registry service is enabled.") - @visibility("create", "read") - state: OperationalMode; +@doc("The reference to the Schema Registry for this AIO Instance.") +model SchemaRegistryRef { + @doc("The resource ID of the Schema Registry.") + resourceId: SchemaRegistryID; } diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..99df45a1ca21 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_Complex.json @@ -0,0 +1,180 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate_Complex", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123", + "resource": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "ServiceAccountToken", + "serviceAccountTokenSettings": { + "audiences": [ + "aio-internal" + ] + } + }, + { + "method": "X509", + "x509Settings": { + "trustedClientCaCert": "my-ca", + "authorizationAttributes": { + "root": { + "subject": "CN = Contoso Root CA Cert, OU = Engineering, C = US", + "attributes": { + "organization": "contoso" + } + }, + "intermediate": { + "subject": "CN = Contoso Intermediate CA", + "attributes": { + "city": "seattle", + "foo": "bar" + } + }, + "smart-fan": { + "subject": "CN = smart-fan", + "attributes": { + "building": "17" + } + } + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..56d2d89e12ab --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,168 @@ +{ + "title": "BrokerAuthentication_CreateOrUpdate", + "operationId": "BrokerAuthentication_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123", + "resource": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2e8c7aa364f3 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthentication_Delete", + "operationId": "BrokerAuthentication_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..533d1b8f9a3a --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_Get_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "title": "BrokerAuthentication_Get", + "operationId": "BrokerAuthentication_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authenticationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8037bfab1583 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "BrokerAuthentication_ListByResourceGroup", + "operationId": "BrokerAuthentication_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authenticationMethods": [ + { + "method": "Custom", + "customSettings": { + "auth": { + "x509": { + "secretRef": "secret-name" + } + }, + "caCertConfigMap": "pdecudefqyolvncbus", + "endpoint": "https://www.example.com", + "headers": { + "key8518": "bwityjy" + } + }, + "serviceAccountTokenSettings": { + "audiences": [ + "jqyhyqatuydg" + ] + }, + "x509Settings": { + "authorizationAttributes": { + "key3384": { + "attributes": { + "key186": "ucpajramsz" + }, + "subject": "jpgwctfeixitptfgfnqhua" + } + }, + "trustedClientCaCert": "vlctsqddl" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authentications/resource-name123", + "name": "lwucizfvtsdpx", + "type": "kvtilkgcxanlfozrd", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..74ccc622f5c2 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Complex.json @@ -0,0 +1,243 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Complex", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "usernames": [ + "temperature-sensor", + "humidity-sensor" + ], + "attributes": [ + { + "building": "17", + "organization": "contoso" + } + ] + }, + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "{principal.attributes.building}*" + ] + }, + { + "method": "Publish", + "topics": [ + "sensors/{principal.attributes.building}/{principal.clientId}/telemetry/*" + ] + }, + { + "method": "Subscribe", + "topics": [ + "commands/{principal.attributes.organization}" + ] + } + ], + "stateStoreResources": [ + { + "method": "Read", + "keyType": "Pattern", + "keys": [ + "myreadkey", + "myotherkey?", + "mynumerickeysuffix[0-9]", + "clients:{principal.clientId}:*" + ] + }, + { + "method": "ReadWrite", + "keyType": "Binary", + "keys": [ + "MTE2IDEwMSAxMTUgMTE2" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..13af93f825f8 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,189 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..3c5e60f84d3b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_CreateOrUpdate_Simple.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerAuthorization_CreateOrUpdate_Simple", + "operationId": "BrokerAuthorization_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123", + "resource": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "principals": { + "clientIds": [ + "my-client-id" + ], + "attributes": [ + { + "floor": "floor1", + "site": "site1" + } + ] + }, + "brokerResources": [ + { + "method": "Connect" + }, + { + "method": "Subscribe", + "topics": [ + "topic", + "topic/with/wildcard/#" + ] + } + ], + "stateStoreResources": [ + { + "method": "ReadWrite", + "keyType": "Pattern", + "keys": [ + "*" + ] + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..9576e1bff109 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerAuthorization_Delete", + "operationId": "BrokerAuthorization_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..1e1df47ac23a --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "title": "BrokerAuthorization_Get", + "operationId": "BrokerAuthorization_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "authorizationName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..44ef2bacbea2 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "BrokerAuthorization_ListByResourceGroup", + "operationId": "BrokerAuthorization_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "authorizationPolicies": { + "cache": "Enabled", + "rules": [ + { + "brokerResources": [ + { + "method": "Connect", + "clientIds": [ + "nlc" + ], + "topics": [ + "wvuca" + ] + } + ], + "principals": { + "attributes": [ + { + "key5526": "nydhzdhbldygqcn" + } + ], + "clientIds": [ + "smopeaeddsygz" + ], + "usernames": [ + "iozngyqndrteikszkbasinzdjtm" + ] + }, + "stateStoreResources": [ + { + "keyType": "Pattern", + "keys": [ + "tkounsqtwvzyaklxjqoerpu" + ], + "method": "Read" + } + ] + } + ] + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/authorizations/resource-name123", + "name": "anqrqsvrjmlvzkrbuav", + "type": "yjlsfarshqoxojvgmy", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..fab5938b5e49 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Complex.json @@ -0,0 +1,182 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Complex", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 8080, + "authenticationRef": "example-authentication", + "protocol": "WebSockets" + }, + { + "port": 8443, + "authenticationRef": "example-authentication", + "protocol": "WebSockets", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "name": "example-issuer", + "kind": "Issuer" + } + } + } + }, + { + "port": 1883, + "authenticationRef": "example-authentication" + }, + { + "port": 8883, + "authenticationRef": "example-authentication", + "tls": { + "mode": "Manual", + "manual": { + "secretRef": "example-secret" + } + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..673225b32522 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,186 @@ +{ + "title": "BrokerListener_CreateOrUpdate", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..70613eca4838 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_CreateOrUpdate_Simple.json @@ -0,0 +1,88 @@ +{ + "title": "BrokerListener_CreateOrUpdate_Simple", + "operationId": "BrokerListener_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123", + "resource": { + "properties": { + "ports": [ + { + "port": 1883 + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "serviceType": "LoadBalancer", + "ports": [ + { + "port": 1883 + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2eae4091f973 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BrokerListener_Delete", + "operationId": "BrokerListener_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..e0142b23e6b9 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "BrokerListener_Get", + "operationId": "BrokerListener_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "listenerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..d8eaf998413a --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "BrokerListener_ListByResourceGroup", + "operationId": "BrokerListener_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "serviceName": "tpfiszlapdpxktx", + "ports": [ + { + "authenticationRef": "tjvdroaqqy", + "authorizationRef": "inxhvxnwswyrvt", + "nodePort": 7281, + "port": 1268, + "protocol": "Mqtt", + "tls": { + "mode": "Automatic", + "certManagerCertificateSpec": { + "duration": "qmpeffoksron", + "secretName": "oagi", + "renewBefore": "hutno", + "issuerRef": { + "group": "jtmuladdkpasfpoyvewekmiy", + "kind": "Issuer", + "name": "ocwoqpgucvjrsuudtjhb" + }, + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + }, + "san": { + "dns": [ + "xhvmhrrhgfsapocjeebqtnzarlj" + ], + "ip": [ + "zbgugfzcgsmegevzktsnibyuyp" + ] + } + }, + "manual": { + "secretRef": "secret-name" + } + } + } + ], + "serviceType": "ClusterIp", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123/listeners/resource-name123", + "name": "hoqjaachratt", + "type": "hizbknwegcdaeh", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Complex.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Complex.json new file mode 100644 index 000000000000..8f9965aa69f7 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Complex.json @@ -0,0 +1,122 @@ +{ + "title": "Broker_CreateOrUpdate_Complex", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "50M" + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Medium", + "provisioningState": "Accepted" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..1a9202c793fc --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,500 @@ +{ + "title": "Broker_CreateOrUpdate", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/examples/Broker_CreateOrUpdate_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..db21f2f9961d --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Minimal.json @@ -0,0 +1,357 @@ +{ + "title": "Broker_CreateOrUpdate_Minimal", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "memoryProfile": "Tiny" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/examples/Broker_CreateOrUpdate_Simple.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Simple.json new file mode 100644 index 000000000000..e163401612c6 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_CreateOrUpdate_Simple.json @@ -0,0 +1,371 @@ +{ + "title": "Broker_CreateOrUpdate_Simple", + "operationId": "Broker_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123", + "resource": { + "properties": { + "cardinality": { + "backendChain": { + "partitions": 2, + "redundancyFactor": 2, + "workers": 2 + }, + "frontend": { + "replicas": 2, + "workers": 2 + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Low" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/examples/Broker_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cc056cc7fbd --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Broker_Delete", + "operationId": "Broker_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..170aa26bcd86 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_Get_MaximumSet_Gen.json @@ -0,0 +1,179 @@ +{ + "title": "Broker_Get", + "operationId": "Broker_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "brokerName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "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-09-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..1c1a1bf57ec5 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Broker_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,183 @@ +{ + "title": "Broker_ListByResourceGroup", + "operationId": "Broker_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "advanced": { + "clients": { + "maxSessionExpirySeconds": 3859, + "maxMessageExpirySeconds": 3263, + "maxPacketSizeBytes": 3029, + "subscriberQueueLimit": { + "length": 6, + "strategy": "None" + }, + "maxReceiveMaximum": 2365, + "maxKeepAliveSeconds": 3744 + }, + "encryptInternalTraffic": "Enabled", + "internalCerts": { + "duration": "bchrc", + "renewBefore": "xkafmpgjfifkwwrhkswtopdnne", + "privateKey": { + "algorithm": "Ec256", + "rotationPolicy": "Always" + } + } + }, + "cardinality": { + "backendChain": { + "partitions": 11, + "redundancyFactor": 5, + "workers": 15 + }, + "frontend": { + "replicas": 2, + "workers": 6 + } + }, + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + }, + "selfCheck": { + "mode": "Enabled", + "intervalSeconds": 158, + "timeoutSeconds": 14 + }, + "traces": { + "mode": "Enabled", + "cacheSizeMegabytes": 28, + "selfTracing": { + "mode": "Enabled", + "intervalSeconds": 22 + }, + "spanChannelCapacity": 1000 + } + }, + "diskBackedMessageBuffer": { + "maxSize": "500M", + "ephemeralVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + }, + "persistentVolumeClaimSpec": { + "volumeName": "c", + "volumeMode": "rxvpksjuuugqnqzeiprocknbn", + "storageClassName": "sseyhrjptkhrqvpdpjmornkqvon", + "accessModes": [ + "nuluhigrbb" + ], + "dataSource": { + "apiGroup": "npqapyksvvpkohujx", + "kind": "wazgyb", + "name": "cwhsgxxcxsyppoefm" + }, + "dataSourceRef": { + "apiGroup": "mnfnykznjjsoqpfsgdqioupt", + "kind": "odynqzekfzsnawrctaxg", + "name": "envszivbbmixbyddzg", + "namespace": "etcfzvxqd" + }, + "resources": { + "limits": { + "key2719": "hmphcrgctu" + }, + "requests": { + "key2909": "txocprnyrsgvhfrg" + } + }, + "selector": { + "matchExpressions": [ + { + "key": "e", + "operator": "In", + "values": [ + "slmpajlywqvuyknipgztsonqyybt" + ] + } + ], + "matchLabels": { + "key6673": "wlngfalznwxnurzpgxomcxhbqefpr" + } + } + } + }, + "generateResourceLimits": { + "cpu": "Enabled" + }, + "memoryProfile": "Tiny", + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/brokers/resource-name123", + "name": "dowrkel", + "type": "xshjnsdgadygb", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json new file mode 100644 index 000000000000..3b8475111cd2 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json @@ -0,0 +1,98 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADLSv2", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adlsv2-endpoint", + "resource": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataLakeStorage", + "dataLakeStorageSettings": { + "host": "example.blob.core.windows.net", + "authentication": { + "method": "AccessToken", + "accessTokenSettings": { + "secretRef": "my-secret" + } + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json new file mode 100644 index 000000000000..db63d70425bb --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_ADX.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_ADX", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "adx-endpoint", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "host": "example.westeurope.kusto.windows.net", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "database": "example-database", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json new file mode 100644 index 000000000000..18cef846e282 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_AIO.json @@ -0,0 +1,110 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_AIO", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "aio-builtin-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "aio-ca-trust-bundle-test-only" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "aio-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "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-broker:18883", + "authentication": { + "method": "Kubernetes", + "serviceAccountTokenSettings": { + "audience": "aio-internal" + } + }, + "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-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json new file mode 100644 index 000000000000..09a2283578b4 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json @@ -0,0 +1,101 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventGrid", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-grid-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.westeurope-1.ts.eventgrid.azure.net:8883", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + } + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json new file mode 100644 index 000000000000..f6730880e2b6 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_EventHub.json @@ -0,0 +1,104 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_EventHub", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "event-hub-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.servicebus.windows.net:9093", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "tls": { + "mode": "Enabled" + }, + "consumerGroupId": "aiodataflows" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json new file mode 100644 index 000000000000..d4393e8da225 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Fabric.json @@ -0,0 +1,107 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Fabric", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "fabric-endpoint", + "resource": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "FabricOneLake", + "fabricOneLakeSettings": { + "host": "onelake.dfs.fabric.microsoft.com", + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": {} + }, + "names": { + "workspaceName": "example-workspace", + "lakehouseName": "example-lakehouse" + }, + "oneLakePathType": "Tables" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json new file mode 100644 index 000000000000..34ea2ac53f03 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_Kafka.json @@ -0,0 +1,149 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_Kafka", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-kafka-endpoint", + "resource": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Kafka", + "kafkaSettings": { + "host": "example.kafka.local:9093", + "authentication": { + "method": "Sasl", + "saslSettings": { + "saslType": "Plain", + "secretRef": "my-secret" + } + }, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "ca-certificates" + }, + "consumerGroupId": "dataflows", + "compression": "Gzip", + "batching": { + "mode": "Enabled", + "latencyMs": 5, + "maxBytes": 1000000, + "maxMessages": 100000 + }, + "partitionStrategy": "Default", + "kafkaAcks": "All", + "copyMqttProperties": "Enabled", + "cloudEventAttributes": "Propagate" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json new file mode 100644 index 000000000000..6c498588c715 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json @@ -0,0 +1,80 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_LocalStorage", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "local-storage-endpoint", + "resource": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "LocalStorage", + "localStorageSettings": { + "persistentVolumeClaimRef": "example-pvc" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json new file mode 100644 index 000000000000..b420b27e3664 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MQTT.json @@ -0,0 +1,128 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate_MQTT", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "generic-mqtt-broker-endpoint", + "resource": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "Mqtt", + "mqttSettings": { + "host": "example.broker.local:1883", + "authentication": { + "method": "X509Certificate", + "x509CertificateSettings": { + "secretRef": "example-secret" + } + }, + "tls": { + "mode": "Disabled" + }, + "clientIdPrefix": "factory-gateway", + "retain": "Keep", + "sessionExpirySeconds": 3600, + "qos": 1, + "protocol": "WebSockets", + "maxInflightMessages": 100, + "keepAliveSeconds": 60 + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..1fe7b32d00a5 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,476 @@ +{ + "title": "DataflowEndpoint_CreateOrUpdate", + "operationId": "DataflowEndpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123", + "resource": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 9312, + "maxMessages": 9028 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + } + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..a67f12a1e4da --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowEndpoint_Delete", + "operationId": "DataflowEndpoint_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..be8c1f8d0ac3 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_Get_MaximumSet_Gen.json @@ -0,0 +1,171 @@ +{ + "title": "DataflowEndpoint_Get", + "operationId": "DataflowEndpoint_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowEndpointName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..f9b75de4d82e --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,175 @@ +{ + "title": "DataflowEndpoint_ListByResourceGroup", + "operationId": "DataflowEndpoint_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointType": "DataExplorer", + "dataExplorerSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "database": "yqcdpjsifm", + "host": "..kusto.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "dataLakeStorageSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "accessTokenSettings": { + "secretRef": "sevriyphcvnlrnfudqzejecwa" + }, + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "host": ".blob.core.windows.net", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "fabricOneLakeSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + } + }, + "names": { + "lakehouseName": "wpeathi", + "workspaceName": "nwgmitkbljztgms" + }, + "oneLakePathType": "Files", + "host": "https://.fabric.microsoft.com", + "batching": { + "latencySeconds": 1228, + "maxMessages": 171 + } + }, + "kafkaSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "saslSettings": { + "saslType": "Plain", + "secretRef": "visyxoztqnylvbyokhtmpdkwes" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "consumerGroupId": "ukkzcjiyenhxokat", + "host": "pwcqfiqclcgneolpewnyavoulbip", + "batching": { + "mode": "Enabled", + "latencyMs": 3679, + "maxBytes": 8887, + "maxMessages": 2174 + }, + "copyMqttProperties": "Enabled", + "compression": "None", + "kafkaAcks": "Zero", + "partitionStrategy": "Default", + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "localStorageSettings": { + "persistentVolumeClaimRef": "jjwqwvd" + }, + "mqttSettings": { + "authentication": { + "method": "SystemAssignedManagedIdentity", + "systemAssignedManagedIdentitySettings": { + "audience": "psxomrfbhoflycm" + }, + "userAssignedManagedIdentitySettings": { + "clientId": "fb90f267-8872-431a-a76a-a1cec5d3c4d2", + "scope": "zop", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "serviceAccountTokenSettings": { + "audience": "ejbklrbxgjaqleoycgpje" + }, + "x509CertificateSettings": { + "secretRef": "afwizrystfslkfqd" + } + }, + "clientIdPrefix": "kkljsdxdirfhwxtkavldekeqhv", + "host": "nyhnxqnbspstctl", + "protocol": "Mqtt", + "keepAliveSeconds": 0, + "retain": "Keep", + "maxInflightMessages": 0, + "qos": 1, + "sessionExpirySeconds": 0, + "tls": { + "mode": "Enabled", + "trustedCaCertificateConfigMapRef": "tectjjvukvelsreihwadh" + }, + "cloudEventAttributes": "PassThrough" + }, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowEndpoints/resource-name123", + "name": "zyhxscudobzfacetvgyjiav", + "type": "iay", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..2a8a90c8ec9e --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,95 @@ +{ + "title": "DataflowProfile_CreateOrUpdate", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "resource": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json new file mode 100644 index 000000000000..8a08b7c71f41 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Minimal.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Minimal", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 1 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "instanceCount": 1, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json new file mode 100644 index 000000000000..1358bf219347 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_CreateOrUpdate_Multi.json @@ -0,0 +1,71 @@ +{ + "title": "DataflowProfile_CreateOrUpdate_Multi", + "operationId": "DataflowProfile_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "aio-dataflowprofile", + "resource": { + "properties": { + "instanceCount": 3 + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "instanceCount": 3, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..92c5a7d32c78 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataflowProfile_Delete", + "operationId": "DataflowProfile_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..992da0ba07f8 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_Get_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "DataflowProfile_Get", + "operationId": "DataflowProfile_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e7d80009c85 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "DataflowProfile_ListByResourceGroup", + "operationId": "DataflowProfile_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "diagnostics": { + "logs": { + "level": "rnmwokumdmebpmfxxxzvvjfdywotav" + }, + "metrics": { + "prometheusPort": 7581 + } + }, + "instanceCount": 14, + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123", + "name": "bwhcjsnnfnrmbixamyxjau", + "type": "ejvancsomtbapgztnerhlvx", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json new file mode 100644 index 000000000000..6706efedf55b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexContextualization.json @@ -0,0 +1,222 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexContextualization", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-adx-contexualized", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json new file mode 100644 index 000000000000..e10915972919 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_ComplexEventHub.json @@ -0,0 +1,255 @@ +{ + "title": "Dataflow_CreateOrUpdate_ComplexEventHub", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-hub-transformed", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "filter": [ + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "($1+$2)/2", + "output": "AvgTemp.Value" + }, + { + "inputs": [], + "expression": "true", + "output": "dataflow-processed" + }, + { + "inputs": [ + "temperature.SourceTimestamp" + ], + "expression": "", + "output": "" + }, + { + "inputs": [ + "\"Tag 10\"" + ], + "expression": "", + "output": "pressure" + }, + { + "inputs": [ + "temperature.Value" + ], + "expression": "cToF($1)", + "output": "temperatureF.Value" + }, + { + "inputs": [ + "\"Tag 10\".Value" + ], + "expression": "scale ($1,0,10,0,100)", + "output": "\"Scale Tag 10\".Value" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-hub-endpoint", + "dataDestination": "myuniqueeventhub" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "map": [ + { + "inputs": [ + "*" + ], + "output": "*" + }, + { + "inputs": [ + "$context(quality).*" + ], + "output": "enriched.*" + } + ], + "datasets": [ + { + "key": "quality", + "inputs": [ + "$source.country", + "$context.country" + ], + "expression": "$1 == $2" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "adx-endpoint", + "dataDestination": "mytable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json new file mode 100644 index 000000000000..3ff5c1c6c7f3 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_FilterToTopic.json @@ -0,0 +1,210 @@ +{ + "title": "Dataflow_CreateOrUpdate_FilterToTopic", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "mqtt-filter-to-topic", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "name": "transformation1", + "builtInTransformationSettings": { + "filter": [ + { + "type": "Filter", + "description": "filter-datapoint", + "inputs": [ + "temperature.Value", + "\"Tag 10\".Value" + ], + "expression": "$1 > 9000 && $2 >= 8000" + } + ], + "map": [ + { + "type": "PassThrough", + "inputs": [ + "*" + ], + "output": "*" + } + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataDestination": "data/filtered/thermostat" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..9d4a894ae46b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,237 @@ +{ + "title": "Dataflow_CreateOrUpdate", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json new file mode 100644 index 000000000000..73a3038d8527 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json @@ -0,0 +1,132 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleEventGrid", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-event-grid", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "thermostats/+/telemetry/temperature/#" + ] + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "event-grid-endpoint", + "dataDestination": "factory/telemetry" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json new file mode 100644 index 000000000000..f4f3e6a89ecb --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_CreateOrUpdate_SimpleFabric.json @@ -0,0 +1,153 @@ +{ + "title": "Dataflow_CreateOrUpdate_SimpleFabric", + "operationId": "Dataflow_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "aio-to-fabric", + "resource": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ] + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "source1", + "sourceSettings": { + "endpointRef": "aio-builtin-broker-endpoint", + "dataSources": [ + "azure-iot-operations/data/thermostat" + ] + } + }, + { + "operationType": "BuiltInTransformation", + "builtInTransformationSettings": { + "serializationFormat": "Parquet", + "schemaRef": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0" + } + }, + { + "operationType": "Destination", + "name": "destination1", + "destinationSettings": { + "endpointRef": "fabric-endpoint", + "dataDestination": "telemetryTable" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8617fc9681eb --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "Dataflow_Delete", + "operationId": "Dataflow_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6daa2b11a21d --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_Get_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "title": "Dataflow_Get", + "operationId": "Dataflow_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123", + "dataflowName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..d38f51c50759 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json @@ -0,0 +1,96 @@ +{ + "title": "Dataflow_ListByProfileResource", + "operationId": "Dataflow_ListByProfileResource", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "resource-name123", + "dataflowProfileName": "resource-name123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "mode": "Enabled", + "operations": [ + { + "operationType": "Source", + "name": "knnafvkwoeakm", + "sourceSettings": { + "endpointRef": "iixotodhvhkkfcfyrkoveslqig", + "assetRef": "zayyykwmckaocywdkohmu", + "serializationFormat": "Json", + "schemaRef": "pknmdzqll", + "dataSources": [ + "chkkpymxhp" + ] + }, + "builtInTransformationSettings": { + "serializationFormat": "Delta", + "schemaRef": "mcdc", + "datasets": [ + { + "key": "qsfqcgxaxnhfumrsdsokwyv", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "schemaRef": "n", + "inputs": [ + "mosffpsslifkq" + ], + "expression": "aatbwomvflemsxialv" + } + ], + "filter": [ + { + "type": "Filter", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "sxmjkbntgb" + ], + "expression": "n" + } + ], + "map": [ + { + "type": "NewProperties", + "description": "Lorem ipsum odor amet, consectetuer adipiscing elit.", + "inputs": [ + "xsbxuk" + ], + "expression": "txoiltogsarwkzalsphvlmt", + "output": "nvgtmkfl" + } + ] + }, + "destinationSettings": { + "endpointRef": "kybkchnzimerguekuvqlqiqdvvrt", + "dataDestination": "cbrh" + } + } + ], + "provisioningState": "Succeeded" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/dataflowProfiles/resource-name123/dataflows/resource-name123", + "name": "jxhcpwgfkxqasbexkookvxk", + "type": "zkuozvgjseokfchkscoswthzjdry", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..ac7583a4acb2 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "title": "Instance_CreateOrUpdate", + "operationId": "Instance_CreateOrUpdate", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "resource": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "kpqtgocs", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Delete_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0b63d7261b0b --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Instance_Delete", + "operationId": "Instance_Delete", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Get_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..03f4b416dda5 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Get_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "Instance_Get", + "operationId": "Instance_Get", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance" + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "rlfvvnnhcypp", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..c4bedfb0b6ce --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "title": "Instance_ListByResourceGroup", + "operationId": "Instance_ListByResourceGroup", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "vmujggxdvxk" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..7229d3116831 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "Instance_ListBySubscription", + "operationId": "Instance_ListBySubscription", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti", + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "empgqmbhvklcqlyahmdsjemlep" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec", + "type": "None", + "userAssignedIdentities": {} + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Update_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..406c4a22b316 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Instance_Update_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "Instance_Update", + "operationId": "Instance_Update", + "parameters": { + "api-version": "2024-09-15-preview", + "subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53", + "resourceGroupName": "rgiotoperations", + "instanceName": "aio-instance", + "properties": { + "tags": {}, + "identity": { + "type": "None", + "userAssignedIdentities": {} + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schemaRegistryRef": { + "resourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.DeviceRegistry/schemaRegistries/resource-name123" + }, + "description": "wwihkapmgjbyrtyaj", + "provisioningState": "Succeeded", + "version": "vjjbmunthiphfmekvxgxcxkzdwjti" + }, + "extendedLocation": { + "name": "qmbrfwcpwwhggszhrdjv", + "type": "CustomLocation" + }, + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "4a6e4195-75b8-4685-aa0c-0b5704779327", + "tenantId": "ed060aa2-71ff-4d3f-99c4-a9138356fdec" + }, + "tags": {}, + "location": "xvewadyhycrjpu", + "id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123", + "name": "llptmlifnqqwairx", + "type": "qwrfzxjfxvismlqvigot", + "systemData": { + "createdBy": "ssvaslsmudloholronopqyxjcu", + "createdByType": "User", + "createdAt": "2024-08-09T18:13:29.389Z", + "lastModifiedBy": "gnicpuszwd", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-08-09T18:13:29.389Z" + } + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..0429eca83eed --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-09-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "xzxqfusky", + "isDataAction": true, + "display": { + "provider": "lrveskajtuwf", + "resource": "d", + "operation": "icuckgobartrrgmirax", + "description": "dsbfnxzvnoqdm" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/iotoperations.json b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/iotoperations.json new file mode 100644 index 000000000000..98bff7afc2e1 --- /dev/null +++ b/specification/iotoperations/resource-manager/Microsoft.IoTOperations/preview/2024-09-15-preview/iotoperations.json @@ -0,0 +1,6569 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.IoTOperations management service.", + "version": "2024-09-15-preview", + "description": "Microsoft.IoTOperations Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Instance" + }, + { + "name": "Broker" + }, + { + "name": "BrokerListener" + }, + { + "name": "BrokerAuthentication" + }, + { + "name": "BrokerAuthorization" + }, + { + "name": "DataflowProfile" + }, + { + "name": "Dataflow" + }, + { + "name": "DataflowEndpoint" + } + ], + "paths": { + "/providers/Microsoft.IoTOperations/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.IoTOperations/instances": { + "get": { + "operationId": "Instance_ListBySubscription", + "tags": [ + "Instance" + ], + "description": "List InstanceResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_ListBySubscription": { + "$ref": "./examples/Instance_ListBySubscription_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances": { + "get": { + "operationId": "Instance_ListByResourceGroup", + "tags": [ + "Instance" + ], + "description": "List InstanceResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_ListByResourceGroup": { + "$ref": "./examples/Instance_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}": { + "get": { + "operationId": "Instance_Get", + "tags": [ + "Instance" + ], + "description": "Get a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Get": { + "$ref": "./examples/Instance_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Instance_CreateOrUpdate", + "tags": [ + "Instance" + ], + "description": "Create a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InstanceResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InstanceResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "201": { + "description": "Resource 'InstanceResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/InstanceResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_CreateOrUpdate": { + "$ref": "./examples/Instance_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Instance_Update", + "tags": [ + "Instance" + ], + "description": "Update a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InstancePatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Update": { + "$ref": "./examples/Instance_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Instance_Delete", + "tags": [ + "Instance" + ], + "description": "Delete a InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Instance_Delete": { + "$ref": "./examples/Instance_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers": { + "get": { + "operationId": "Broker_ListByResourceGroup", + "tags": [ + "Broker" + ], + "description": "List BrokerResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_ListByResourceGroup": { + "$ref": "./examples/Broker_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}": { + "get": { + "operationId": "Broker_Get", + "tags": [ + "Broker" + ], + "description": "Get a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_Get": { + "$ref": "./examples/Broker_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Broker_CreateOrUpdate", + "tags": [ + "Broker" + ], + "description": "Create a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerResource" + } + }, + "201": { + "description": "Resource 'BrokerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_CreateOrUpdate": { + "$ref": "./examples/Broker_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Broker_CreateOrUpdate_Complex": { + "$ref": "./examples/Broker_CreateOrUpdate_Complex.json" + }, + "Broker_CreateOrUpdate_Minimal": { + "$ref": "./examples/Broker_CreateOrUpdate_Minimal.json" + }, + "Broker_CreateOrUpdate_Simple": { + "$ref": "./examples/Broker_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Broker_Delete", + "tags": [ + "Broker" + ], + "description": "Delete a BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Broker_Delete": { + "$ref": "./examples/Broker_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications": { + "get": { + "operationId": "BrokerAuthentication_ListByResourceGroup", + "tags": [ + "BrokerAuthentication" + ], + "description": "List BrokerAuthenticationResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_ListByResourceGroup": { + "$ref": "./examples/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authentications/{authenticationName}": { + "get": { + "operationId": "BrokerAuthentication_Get", + "tags": [ + "BrokerAuthentication" + ], + "description": "Get a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_Get": { + "$ref": "./examples/BrokerAuthentication_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerAuthentication_CreateOrUpdate", + "tags": [ + "BrokerAuthentication" + ], + "description": "Create a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerAuthenticationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "201": { + "description": "Resource 'BrokerAuthenticationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthenticationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_CreateOrUpdate": { + "$ref": "./examples/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerAuthentication_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerAuthentication_CreateOrUpdate_Complex.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerAuthentication_Delete", + "tags": [ + "BrokerAuthentication" + ], + "description": "Delete a BrokerAuthenticationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authenticationName", + "in": "path", + "description": "Name of Instance broker authentication resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthentication_Delete": { + "$ref": "./examples/BrokerAuthentication_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations": { + "get": { + "operationId": "BrokerAuthorization_ListByResourceGroup", + "tags": [ + "BrokerAuthorization" + ], + "description": "List BrokerAuthorizationResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_ListByResourceGroup": { + "$ref": "./examples/BrokerAuthorization_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{authorizationName}": { + "get": { + "operationId": "BrokerAuthorization_Get", + "tags": [ + "BrokerAuthorization" + ], + "description": "Get a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_Get": { + "$ref": "./examples/BrokerAuthorization_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerAuthorization_CreateOrUpdate", + "tags": [ + "BrokerAuthorization" + ], + "description": "Create a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerAuthorizationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "201": { + "description": "Resource 'BrokerAuthorizationResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerAuthorizationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_CreateOrUpdate": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerAuthorization_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_Complex.json" + }, + "BrokerAuthorization_CreateOrUpdate_Simple": { + "$ref": "./examples/BrokerAuthorization_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerAuthorization_Delete", + "tags": [ + "BrokerAuthorization" + ], + "description": "Delete a BrokerAuthorizationResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "authorizationName", + "in": "path", + "description": "Name of Instance broker authorization resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerAuthorization_Delete": { + "$ref": "./examples/BrokerAuthorization_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners": { + "get": { + "operationId": "BrokerListener_ListByResourceGroup", + "tags": [ + "BrokerListener" + ], + "description": "List BrokerListenerResource resources by BrokerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerListenerResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_ListByResourceGroup": { + "$ref": "./examples/BrokerListener_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/listeners/{listenerName}": { + "get": { + "operationId": "BrokerListener_Get", + "tags": [ + "BrokerListener" + ], + "description": "Get a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_Get": { + "$ref": "./examples/BrokerListener_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BrokerListener_CreateOrUpdate", + "tags": [ + "BrokerListener" + ], + "description": "Create a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BrokerListenerResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "201": { + "description": "Resource 'BrokerListenerResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BrokerListenerResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_CreateOrUpdate": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_MaximumSet_Gen.json" + }, + "BrokerListener_CreateOrUpdate_Complex": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_Complex.json" + }, + "BrokerListener_CreateOrUpdate_Simple": { + "$ref": "./examples/BrokerListener_CreateOrUpdate_Simple.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BrokerListener_Delete", + "tags": [ + "BrokerListener" + ], + "description": "Delete a BrokerListenerResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "brokerName", + "in": "path", + "description": "Name of broker.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "listenerName", + "in": "path", + "description": "Name of Instance broker listener resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BrokerListener_Delete": { + "$ref": "./examples/BrokerListener_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints": { + "get": { + "operationId": "DataflowEndpoint_ListByResourceGroup", + "tags": [ + "DataflowEndpoint" + ], + "description": "List DataflowEndpointResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_ListByResourceGroup": { + "$ref": "./examples/DataflowEndpoint_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}": { + "get": { + "operationId": "DataflowEndpoint_Get", + "tags": [ + "DataflowEndpoint" + ], + "description": "Get a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_Get": { + "$ref": "./examples/DataflowEndpoint_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataflowEndpoint_CreateOrUpdate", + "tags": [ + "DataflowEndpoint" + ], + "description": "Create a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "201": { + "description": "Resource 'DataflowEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_CreateOrUpdate": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_MaximumSet_Gen.json" + }, + "DataflowEndpoint_CreateOrUpdate_ADLSv2": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_ADLSv2.json" + }, + "DataflowEndpoint_CreateOrUpdate_ADX": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_ADX.json" + }, + "DataflowEndpoint_CreateOrUpdate_AIO": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_AIO.json" + }, + "DataflowEndpoint_CreateOrUpdate_EventGrid": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_EventGrid.json" + }, + "DataflowEndpoint_CreateOrUpdate_EventHub": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_EventHub.json" + }, + "DataflowEndpoint_CreateOrUpdate_Fabric": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_Fabric.json" + }, + "DataflowEndpoint_CreateOrUpdate_Kafka": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_Kafka.json" + }, + "DataflowEndpoint_CreateOrUpdate_LocalStorage": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_LocalStorage.json" + }, + "DataflowEndpoint_CreateOrUpdate_MQTT": { + "$ref": "./examples/DataflowEndpoint_CreateOrUpdate_MQTT.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataflowEndpoint_Delete", + "tags": [ + "DataflowEndpoint" + ], + "description": "Delete a DataflowEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowEndpointName", + "in": "path", + "description": "Name of Instance dataflowEndpoint resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowEndpoint_Delete": { + "$ref": "./examples/DataflowEndpoint_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles": { + "get": { + "operationId": "DataflowProfile_ListByResourceGroup", + "tags": [ + "DataflowProfile" + ], + "description": "List DataflowProfileResource resources by InstanceResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowProfileResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_ListByResourceGroup": { + "$ref": "./examples/DataflowProfile_ListByResourceGroup_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}": { + "get": { + "operationId": "DataflowProfile_Get", + "tags": [ + "DataflowProfile" + ], + "description": "Get a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_Get": { + "$ref": "./examples/DataflowProfile_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataflowProfile_CreateOrUpdate", + "tags": [ + "DataflowProfile" + ], + "description": "Create a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowProfileResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "201": { + "description": "Resource 'DataflowProfileResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowProfileResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_CreateOrUpdate": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_MaximumSet_Gen.json" + }, + "DataflowProfile_CreateOrUpdate_Minimal": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_Minimal.json" + }, + "DataflowProfile_CreateOrUpdate_Multi": { + "$ref": "./examples/DataflowProfile_CreateOrUpdate_Multi.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataflowProfile_Delete", + "tags": [ + "DataflowProfile" + ], + "description": "Delete a DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataflowProfile_Delete": { + "$ref": "./examples/DataflowProfile_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows": { + "get": { + "operationId": "Dataflow_ListByProfileResource", + "tags": [ + "Dataflow" + ], + "description": "List DataflowResource resources by DataflowProfileResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_ListByProfileResource": { + "$ref": "./examples/Dataflow_ListByProfileResource_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}": { + "get": { + "operationId": "Dataflow_Get", + "tags": [ + "Dataflow" + ], + "description": "Get a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataflowResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_Get": { + "$ref": "./examples/Dataflow_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Dataflow_CreateOrUpdate", + "tags": [ + "Dataflow" + ], + "description": "Create a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataflowResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataflowResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowResource" + } + }, + "201": { + "description": "Resource 'DataflowResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataflowResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_CreateOrUpdate": { + "$ref": "./examples/Dataflow_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Dataflow_CreateOrUpdate_ComplexContextualization": { + "$ref": "./examples/Dataflow_CreateOrUpdate_ComplexContextualization.json" + }, + "Dataflow_CreateOrUpdate_ComplexEventHub": { + "$ref": "./examples/Dataflow_CreateOrUpdate_ComplexEventHub.json" + }, + "Dataflow_CreateOrUpdate_FilterToTopic": { + "$ref": "./examples/Dataflow_CreateOrUpdate_FilterToTopic.json" + }, + "Dataflow_CreateOrUpdate_SimpleEventGrid": { + "$ref": "./examples/Dataflow_CreateOrUpdate_SimpleEventGrid.json" + }, + "Dataflow_CreateOrUpdate_SimpleFabric": { + "$ref": "./examples/Dataflow_CreateOrUpdate_SimpleFabric.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Dataflow_Delete", + "tags": [ + "Dataflow" + ], + "description": "Delete a DataflowResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "instanceName", + "in": "path", + "description": "Name of instance.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowProfileName", + "in": "path", + "description": "Name of Instance dataflowProfile resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + }, + { + "name": "dataflowName", + "in": "path", + "description": "Name of Instance dataflowProfile dataflow resource", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Dataflow_Delete": { + "$ref": "./examples/Dataflow_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AccessTokenMethod": { + "type": "string", + "description": "Access Token Method", + "enum": [ + "AccessToken" + ], + "x-ms-enum": { + "name": "AccessTokenMethod", + "modelAsString": true, + "values": [ + { + "name": "AccessToken", + "value": "AccessToken", + "description": "AccessToken Option" + } + ] + } + }, + "AdvancedSettings": { + "type": "object", + "description": "Broker Advanced Settings", + "properties": { + "clients": { + "$ref": "#/definitions/ClientConfig", + "description": "Configurations related to All Clients." + }, + "encryptInternalTraffic": { + "type": "string", + "description": "The setting to enable or disable encryption of internal Traffic.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "internalCerts": { + "$ref": "#/definitions/CertManagerCertOptions", + "description": "Certificate rotation and private key configuration." + } + } + }, + "AnonymousMethod": { + "type": "string", + "description": "x509 Certificate Method", + "enum": [ + "Anonymous" + ], + "x-ms-enum": { + "name": "AnonymousMethod", + "modelAsString": true, + "values": [ + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "AuthorizationConfig": { + "type": "object", + "description": "Broker AuthorizationConfig properties", + "properties": { + "cache": { + "type": "string", + "description": "Enable caching of the authorization rules.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "rules": { + "type": "array", + "description": "The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.", + "items": { + "$ref": "#/definitions/AuthorizationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "AuthorizationRule": { + "type": "object", + "description": "AuthorizationConfig Rule Properties", + "properties": { + "brokerResources": { + "type": "array", + "description": "Give access to Broker methods and topics.", + "items": { + "$ref": "#/definitions/BrokerResourceRule" + }, + "x-ms-identifiers": [] + }, + "principals": { + "$ref": "#/definitions/PrincipalDefinition", + "description": "Give access to clients based on the following properties." + }, + "stateStoreResources": { + "type": "array", + "description": "Give access to state store resources.", + "items": { + "$ref": "#/definitions/StateStoreResourceRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "brokerResources", + "principals" + ] + }, + "BackendChain": { + "type": "object", + "description": "Desired properties of the backend instances of the broker", + "properties": { + "partitions": { + "type": "integer", + "format": "int32", + "description": "The desired number of physical backend partitions.", + "minimum": 1, + "maximum": 16 + }, + "redundancyFactor": { + "type": "integer", + "format": "int32", + "description": "The desired numbers of backend replicas (pods) in a physical partition.", + "minimum": 1, + "maximum": 5 + }, + "workers": { + "type": "integer", + "format": "int32", + "description": "Number of logical backend workers per replica (pod).", + "default": 1, + "minimum": 1, + "maximum": 16 + } + }, + "required": [ + "partitions", + "redundancyFactor" + ] + }, + "BatchingConfiguration": { + "type": "object", + "description": "Batching configuration", + "properties": { + "latencySeconds": { + "type": "integer", + "format": "int32", + "description": "Batching latency in seconds.", + "default": 60, + "minimum": 0, + "maximum": 65535 + }, + "maxMessages": { + "type": "integer", + "format": "int32", + "description": "Maximum number of messages in a batch.", + "default": 100000, + "minimum": 0, + "maximum": 4294967295 + } + } + }, + "BrokerAuthenticationMethod": { + "type": "string", + "description": "Broker Authentication Mode", + "enum": [ + "Custom", + "ServiceAccountToken", + "X509" + ], + "x-ms-enum": { + "name": "BrokerAuthenticationMethod", + "modelAsString": true, + "values": [ + { + "name": "Custom", + "value": "Custom", + "description": "Custom authentication configuration." + }, + { + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "description": "ServiceAccountToken authentication configuration." + }, + { + "name": "X509", + "value": "X509", + "description": "X.509 authentication configuration." + } + ] + } + }, + "BrokerAuthenticationProperties": { + "type": "object", + "description": "BrokerAuthentication Resource properties", + "properties": { + "authenticationMethods": { + "type": "array", + "description": "Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.", + "items": { + "$ref": "#/definitions/BrokerAuthenticatorMethods" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "authenticationMethods" + ] + }, + "BrokerAuthenticationResource": { + "type": "object", + "description": "Instance broker authentication resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerAuthenticationProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerAuthenticationResourceListResult": { + "type": "object", + "description": "The response of a BrokerAuthenticationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerAuthenticationResource items on this page", + "items": { + "$ref": "#/definitions/BrokerAuthenticationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerAuthenticatorCustomAuth": { + "type": "object", + "description": "Custom Authentication properties", + "properties": { + "x509": { + "$ref": "#/definitions/X509ManualCertificate", + "description": "X509 Custom Auth type details." + } + }, + "required": [ + "x509" + ] + }, + "BrokerAuthenticatorMethodCustom": { + "type": "object", + "description": "Custom method for BrokerAuthentication", + "properties": { + "auth": { + "$ref": "#/definitions/BrokerAuthenticatorCustomAuth", + "description": "Optional authentication needed for authenticating with the custom authentication server." + }, + "caCertConfigMap": { + "type": "string", + "description": "Optional CA certificate for validating the custom authentication server's certificate." + }, + "endpoint": { + "type": "string", + "format": "uri", + "description": "Endpoint of the custom authentication server. Must be an HTTPS endpoint.", + "pattern": "^https://.*$" + }, + "headers": { + "type": "object", + "description": "Additional HTTP headers to pass to the custom authentication server.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "endpoint" + ] + }, + "BrokerAuthenticatorMethodSat": { + "type": "object", + "description": "Service Account Token for BrokerAuthentication", + "properties": { + "audiences": { + "type": "array", + "description": "List of allowed audience.", + "items": { + "type": "string" + } + } + }, + "required": [ + "audiences" + ] + }, + "BrokerAuthenticatorMethodX509": { + "type": "object", + "description": "X509 for BrokerAuthentication.", + "properties": { + "authorizationAttributes": { + "type": "object", + "description": "X509 authorization attributes properties.", + "additionalProperties": { + "$ref": "#/definitions/BrokerAuthenticatorMethodX509Attributes" + } + }, + "trustedClientCaCert": { + "type": "string", + "description": "Name of the trusted client ca cert resource.", + "default": "client-ca" + } + } + }, + "BrokerAuthenticatorMethodX509Attributes": { + "type": "object", + "description": "BrokerAuthenticatorMethodX509Attributes properties.", + "properties": { + "attributes": { + "type": "object", + "description": "Attributes object.", + "additionalProperties": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Subject of the X509 attribute." + } + }, + "required": [ + "attributes", + "subject" + ] + }, + "BrokerAuthenticatorMethods": { + "type": "object", + "description": "Set of broker authentication policies. Only one method is supported for each entry.", + "properties": { + "method": { + "$ref": "#/definitions/BrokerAuthenticationMethod", + "description": "Custom authentication configuration." + }, + "customSettings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodCustom", + "description": "Custom authentication configuration." + }, + "serviceAccountTokenSettings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodSat", + "description": "ServiceAccountToken authentication configuration." + }, + "x509Settings": { + "$ref": "#/definitions/BrokerAuthenticatorMethodX509", + "description": "X.509 authentication configuration." + } + }, + "required": [ + "method" + ] + }, + "BrokerAuthorizationProperties": { + "type": "object", + "description": "BrokerAuthorization Resource properties", + "properties": { + "authorizationPolicies": { + "$ref": "#/definitions/AuthorizationConfig", + "description": "The list of authorization policies supported by the Authorization Resource." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "authorizationPolicies" + ] + }, + "BrokerAuthorizationResource": { + "type": "object", + "description": "Instance broker authorizations resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerAuthorizationProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerAuthorizationResourceListResult": { + "type": "object", + "description": "The response of a BrokerAuthorizationResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerAuthorizationResource items on this page", + "items": { + "$ref": "#/definitions/BrokerAuthorizationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerDiagnostics": { + "type": "object", + "description": "Broker Diagnostic Setting properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + }, + "selfCheck": { + "$ref": "#/definitions/SelfCheck", + "description": "The self check properties." + }, + "traces": { + "$ref": "#/definitions/Traces", + "description": "The trace properties." + } + } + }, + "BrokerListenerProperties": { + "type": "object", + "description": "Defines a Broker listener. A listener is a collection of ports on which the broker accepts connections from clients.", + "properties": { + "serviceName": { + "type": "string", + "description": "Kubernetes Service name of this listener." + }, + "ports": { + "type": "array", + "description": "Ports on which this listener accepts client connections.", + "items": { + "$ref": "#/definitions/ListenerPort" + }, + "x-ms-identifiers": [ + "port" + ] + }, + "serviceType": { + "type": "string", + "description": "Kubernetes Service type of this listener.", + "default": "ClusterIp", + "enum": [ + "ClusterIp", + "LoadBalancer", + "NodePort" + ], + "x-ms-enum": { + "name": "ServiceType", + "modelAsString": true, + "values": [ + { + "name": "ClusterIp", + "value": "ClusterIp", + "description": "Cluster IP Service." + }, + { + "name": "LoadBalancer", + "value": "LoadBalancer", + "description": "Load Balancer Service." + }, + { + "name": "NodePort", + "value": "NodePort", + "description": "Node Port Service." + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "ports" + ] + }, + "BrokerListenerResource": { + "type": "object", + "description": "Instance broker resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerListenerProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerListenerResourceListResult": { + "type": "object", + "description": "The response of a BrokerListenerResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerListenerResource items on this page", + "items": { + "$ref": "#/definitions/BrokerListenerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerMemoryProfile": { + "type": "string", + "description": "The memory profile settings of the Broker", + "enum": [ + "Tiny", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "BrokerMemoryProfile", + "modelAsString": true, + "values": [ + { + "name": "Tiny", + "value": "Tiny", + "description": "Tiny memory profile." + }, + { + "name": "Low", + "value": "Low", + "description": "Low memory profile." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium memory profile." + }, + { + "name": "High", + "value": "High", + "description": "High memory profile." + } + ] + } + }, + "BrokerProperties": { + "type": "object", + "description": "Broker Resource properties", + "properties": { + "advanced": { + "$ref": "#/definitions/AdvancedSettings", + "description": "Advanced settings of Broker.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "cardinality": { + "$ref": "#/definitions/Cardinality", + "description": "The cardinality details of the broker.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "diagnostics": { + "$ref": "#/definitions/BrokerDiagnostics", + "description": "Spec defines the desired identities of Broker diagnostics settings." + }, + "diskBackedMessageBuffer": { + "$ref": "#/definitions/DiskBackedMessageBuffer", + "description": "Settings of Disk Backed Message Buffer.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "generateResourceLimits": { + "$ref": "#/definitions/GenerateResourceLimits", + "description": "This setting controls whether Kubernetes CPU resource limits are requested. Increasing the number of replicas or workers proportionally increases the amount of CPU resources requested. If this setting is enabled and there are insufficient CPU resources, an error will be emitted.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "memoryProfile": { + "type": "string", + "description": "Memory profile of Broker.", + "default": "Medium", + "enum": [ + "Tiny", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "BrokerMemoryProfile", + "modelAsString": true, + "values": [ + { + "name": "Tiny", + "value": "Tiny", + "description": "Tiny memory profile." + }, + { + "name": "Low", + "value": "Low", + "description": "Low memory profile." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium memory profile." + }, + { + "name": "High", + "value": "High", + "description": "High memory profile." + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "BrokerProtocolType": { + "type": "string", + "description": "Broker Protocol types", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "BrokerResource": { + "type": "object", + "description": "Instance broker resource", + "properties": { + "properties": { + "$ref": "#/definitions/BrokerProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BrokerResourceDefinitionMethods": { + "type": "string", + "description": "BrokerResourceDefinitionMethods methods allowed", + "enum": [ + "Connect", + "Publish", + "Subscribe" + ], + "x-ms-enum": { + "name": "BrokerResourceDefinitionMethods", + "modelAsString": true, + "values": [ + { + "name": "Connect", + "value": "Connect", + "description": "Allowed Connecting to Broker" + }, + { + "name": "Publish", + "value": "Publish", + "description": "Allowed Publishing to Broker" + }, + { + "name": "Subscribe", + "value": "Subscribe", + "description": "Allowed Subscribing to Broker" + } + ] + } + }, + "BrokerResourceListResult": { + "type": "object", + "description": "The response of a BrokerResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BrokerResource items on this page", + "items": { + "$ref": "#/definitions/BrokerResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BrokerResourceRule": { + "type": "object", + "description": "Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.", + "properties": { + "method": { + "$ref": "#/definitions/BrokerResourceDefinitionMethods", + "description": "Give access for a Broker method (i.e., Connect, Subscribe, or Publish)." + }, + "clientIds": { + "type": "array", + "description": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.", + "default": [], + "items": { + "type": "string" + } + }, + "topics": { + "type": "array", + "description": "A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.", + "default": [], + "items": { + "type": "string" + } + } + }, + "required": [ + "method" + ] + }, + "Cardinality": { + "type": "object", + "description": "Cardinality properties", + "properties": { + "backendChain": { + "$ref": "#/definitions/BackendChain", + "description": "The backend broker desired properties" + }, + "frontend": { + "$ref": "#/definitions/Frontend", + "description": "The frontend desired properties" + } + }, + "required": [ + "backendChain", + "frontend" + ] + }, + "CertManagerCertOptions": { + "type": "object", + "description": "Cert Manager Cert properties", + "properties": { + "duration": { + "type": "string", + "description": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "renewBefore": { + "type": "string", + "description": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "privateKey": { + "$ref": "#/definitions/CertManagerPrivateKey", + "description": "Configuration of certificate private key." + } + }, + "required": [ + "duration", + "renewBefore", + "privateKey" + ] + }, + "CertManagerCertificateSpec": { + "type": "object", + "description": "Automatic TLS server certificate management with cert-manager", + "properties": { + "duration": { + "type": "string", + "description": "Lifetime of certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "secretName": { + "type": "string", + "description": "Secret for storing server certificate. Any existing data will be overwritten. This is a reference to the secret through an identifying name, not the secret itself." + }, + "renewBefore": { + "type": "string", + "description": "When to begin renewing certificate. Must be specified using a Go time.Duration format (h|m|s). E.g. 240h for 240 hours and 45m for 45 minutes." + }, + "issuerRef": { + "$ref": "#/definitions/CertManagerIssuerRef", + "description": "cert-manager issuerRef." + }, + "privateKey": { + "$ref": "#/definitions/CertManagerPrivateKey", + "description": "Type of certificate private key." + }, + "san": { + "$ref": "#/definitions/SanForCert", + "description": "Additional Subject Alternative Names (SANs) to include in the certificate." + } + }, + "required": [ + "issuerRef" + ] + }, + "CertManagerIssuerKind": { + "type": "string", + "description": "CertManagerIssuerKind properties", + "enum": [ + "Issuer", + "ClusterIssuer" + ], + "x-ms-enum": { + "name": "CertManagerIssuerKind", + "modelAsString": true, + "values": [ + { + "name": "Issuer", + "value": "Issuer", + "description": "Issuer kind." + }, + { + "name": "ClusterIssuer", + "value": "ClusterIssuer", + "description": "ClusterIssuer kind." + } + ] + } + }, + "CertManagerIssuerRef": { + "type": "object", + "description": "Cert-Manager issuerRef properties", + "properties": { + "group": { + "type": "string", + "description": "group of issuer.", + "default": "cert-manager.io" + }, + "kind": { + "$ref": "#/definitions/CertManagerIssuerKind", + "description": "kind of issuer (Issuer or ClusterIssuer)." + }, + "name": { + "type": "string", + "description": "name of issuer." + } + }, + "required": [ + "group", + "kind", + "name" + ] + }, + "CertManagerPrivateKey": { + "type": "object", + "description": "Cert Manager private key properties", + "properties": { + "algorithm": { + "$ref": "#/definitions/PrivateKeyAlgorithm", + "description": "algorithm for private key." + }, + "rotationPolicy": { + "$ref": "#/definitions/PrivateKeyRotationPolicy", + "description": "cert-manager private key rotationPolicy." + } + }, + "required": [ + "algorithm", + "rotationPolicy" + ] + }, + "ClientConfig": { + "type": "object", + "description": "The settings of Client Config.", + "properties": { + "maxSessionExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Session Expiry Interval, in seconds.", + "minimum": 1, + "maximum": 4294967295 + }, + "maxMessageExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Message Expiry Interval, in seconds.", + "minimum": 1, + "maximum": 4294967295 + }, + "maxPacketSizeBytes": { + "type": "integer", + "format": "int32", + "description": "Max message size for a packet in Bytes.", + "minimum": 1, + "maximum": 268435456 + }, + "subscriberQueueLimit": { + "$ref": "#/definitions/SubscriberQueueLimit", + "description": "The limit on the number of queued messages for a subscriber." + }, + "maxReceiveMaximum": { + "type": "integer", + "format": "int32", + "description": "Upper bound of Receive Maximum that a client can request in the CONNECT packet.", + "minimum": 1, + "maximum": 65535 + }, + "maxKeepAliveSeconds": { + "type": "integer", + "format": "int32", + "description": "Upper bound of a client's Keep Alive, in seconds.", + "minimum": 0, + "maximum": 65535 + } + } + }, + "CloudEventAttributeType": { + "type": "string", + "description": "How to map events to the cloud.", + "enum": [ + "Propagate", + "CreateOrRemap" + ], + "x-ms-enum": { + "name": "CloudEventAttributeType", + "modelAsString": true, + "values": [ + { + "name": "Propagate", + "value": "Propagate", + "description": "Propagate type" + }, + { + "name": "CreateOrRemap", + "value": "CreateOrRemap", + "description": "CreateOrRemap type" + } + ] + } + }, + "DataExplorerAuthMethod": { + "$ref": "#/definitions/ManagedIdentityMethod", + "x-nullable": false + }, + "DataLakeStorageAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Data Lake Storage Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "AccessToken" + ], + "x-ms-enum": { + "name": "DataLakeStorageAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "AccessToken", + "value": "AccessToken", + "description": "AccessToken Option" + } + ] + } + }, + "DataflowBuiltInTransformationDataset": { + "type": "object", + "description": "Dataflow BuiltIn Transformation dataset properties", + "properties": { + "key": { + "type": "string", + "description": "The key of the dataset.", + "maxLength": 64 + }, + "description": { + "type": "string", + "description": "A user provided optional description of the dataset.", + "maxLength": 256 + }, + "schemaRef": { + "type": "string", + "description": "The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7." + }, + "inputs": { + "type": "array", + "description": "List of fields for enriching from the Broker State Store.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)" + } + }, + "required": [ + "key", + "inputs" + ] + }, + "DataflowBuiltInTransformationFilter": { + "type": "object", + "description": "Dataflow BuiltIn Transformation filter properties", + "properties": { + "type": { + "type": "string", + "description": "The type of dataflow operation.", + "default": "Filter", + "enum": [ + "Filter" + ], + "x-ms-enum": { + "name": "FilterType", + "modelAsString": true, + "values": [ + { + "name": "Filter", + "value": "Filter", + "description": "Filter type" + } + ] + } + }, + "description": { + "type": "string", + "description": "A user provided optional description of the filter.", + "maxLength": 256 + }, + "inputs": { + "type": "array", + "description": "List of fields for filtering in JSON path expression.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)" + } + }, + "required": [ + "inputs", + "expression" + ] + }, + "DataflowBuiltInTransformationMap": { + "type": "object", + "description": "Dataflow BuiltIn Transformation map properties", + "properties": { + "type": { + "$ref": "#/definitions/DataflowMappingType", + "description": "Type of transformation." + }, + "description": { + "type": "string", + "description": "A user provided optional description of the mapping function.", + "maxLength": 256 + }, + "inputs": { + "type": "array", + "description": "List of fields for mapping in JSON path expression.", + "items": { + "type": "string" + } + }, + "expression": { + "type": "string", + "description": "Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)" + }, + "output": { + "type": "string", + "description": "Where and how the input fields to be organized in the output record." + } + }, + "required": [ + "inputs", + "output" + ] + }, + "DataflowBuiltInTransformationSettings": { + "type": "object", + "description": "Dataflow BuiltIn Transformation properties", + "properties": { + "serializationFormat": { + "type": "string", + "description": "Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json", + "default": "Json", + "enum": [ + "Delta", + "Json", + "Parquet" + ], + "x-ms-enum": { + "name": "TransformationSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Delta", + "value": "Delta", + "description": "Delta Format" + }, + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + }, + { + "name": "Parquet", + "value": "Parquet", + "description": "Parquet Format" + } + ] + } + }, + "schemaRef": { + "type": "string", + "description": "Reference to the schema that describes the output of the transformation." + }, + "datasets": { + "type": "array", + "description": "Enrich data from Broker State Store. Dataset references a key in Broker State Store.", + "default": [], + "maxItems": 1, + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationDataset" + }, + "x-ms-identifiers": [] + }, + "filter": { + "type": "array", + "description": "Filters input record or datapoints based on condition.", + "default": [], + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationFilter" + }, + "x-ms-identifiers": [] + }, + "map": { + "type": "array", + "description": "Maps input to output message.", + "default": [], + "items": { + "$ref": "#/definitions/DataflowBuiltInTransformationMap" + }, + "x-ms-identifiers": [] + } + } + }, + "DataflowDestinationOperationSettings": { + "type": "object", + "description": "Dataflow Destination Operation properties", + "properties": { + "endpointRef": { + "type": "string", + "description": "Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type." + }, + "dataDestination": { + "$ref": "#/definitions/NonEmptyString", + "description": "Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription." + } + }, + "required": [ + "endpointRef", + "dataDestination" + ] + }, + "DataflowEndpointAuthenticationAccessToken": { + "type": "object", + "description": "DataflowEndpoint Authentication Access Token properties", + "properties": { + "secretRef": { + "type": "string", + "description": "Token secret name." + } + }, + "required": [ + "secretRef" + ] + }, + "DataflowEndpointAuthenticationSasl": { + "type": "object", + "description": "DataflowEndpoint Authentication Sasl properties", + "properties": { + "saslType": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSaslType", + "description": "Type of SASL authentication. Can be PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512." + }, + "secretRef": { + "type": "string", + "description": "Token secret name." + } + }, + "required": [ + "saslType", + "secretRef" + ] + }, + "DataflowEndpointAuthenticationSaslType": { + "type": "string", + "description": "DataflowEndpoint Authentication Sasl Type properties", + "enum": [ + "Plain", + "ScramSha256", + "ScramSha512" + ], + "x-ms-enum": { + "name": "DataflowEndpointAuthenticationSaslType", + "modelAsString": true, + "values": [ + { + "name": "Plain", + "value": "Plain", + "description": "PLAIN Type" + }, + { + "name": "ScramSha256", + "value": "ScramSha256", + "description": "SCRAM_SHA_256 Type" + }, + { + "name": "ScramSha512", + "value": "ScramSha512", + "description": "SCRAM_SHA_512 Type" + } + ] + } + }, + "DataflowEndpointAuthenticationServiceAccountToken": { + "type": "object", + "description": "Service Account Token for BrokerAuthentication", + "properties": { + "audience": { + "type": "string", + "description": "Audience of the service account. Optional, defaults to the broker internal service account audience." + } + }, + "required": [ + "audience" + ] + }, + "DataflowEndpointAuthenticationSystemAssignedManagedIdentity": { + "type": "object", + "description": "DataflowEndpoint Authentication SystemAssignedManagedIdentity properties", + "properties": { + "audience": { + "type": "string", + "description": "Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration." + } + } + }, + "DataflowEndpointAuthenticationUserAssignedManagedIdentity": { + "type": "object", + "description": "DataflowEndpoint Authentication UserAssignedManagedIdentity properties", + "properties": { + "clientId": { + "type": "string", + "description": "Client ID for the user-assigned managed identity." + }, + "scope": { + "type": "string", + "description": "Resource identifier (application ID URI) of the resource, affixed with the .default suffix." + }, + "tenantId": { + "type": "string", + "description": "Tenant ID." + } + }, + "required": [ + "clientId", + "tenantId" + ] + }, + "DataflowEndpointAuthenticationX509": { + "type": "object", + "description": "DataflowEndpoint Authentication X509 properties", + "properties": { + "secretRef": { + "type": "string", + "description": "Secret reference of the X.509 certificate." + } + }, + "required": [ + "secretRef" + ] + }, + "DataflowEndpointDataExplorer": { + "type": "object", + "description": "Azure Data Explorer endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointDataExplorerAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "database": { + "type": "string", + "description": "Database name." + }, + "host": { + "type": "string", + "description": "Host of the Azure Data Explorer in the form of ..kusto.windows.net .", + "pattern": ".+\\..+\\.kusto\\.windows\\.net" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Azure Data Explorer endpoint batching configuration." + } + }, + "required": [ + "authentication", + "database", + "host" + ] + }, + "DataflowEndpointDataExplorerAuthentication": { + "type": "object", + "description": "Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed per entry.", + "properties": { + "method": { + "$ref": "#/definitions/DataExplorerAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointDataLakeStorage": { + "type": "object", + "description": "Azure Data Lake endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointDataLakeStorageAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "host": { + "type": "string", + "description": "Host of the Azure Data Lake in the form of .blob.core.windows.net .", + "pattern": ".+\\.blob\\.core\\.windows\\.net" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Azure Data Lake endpoint batching configuration." + } + }, + "required": [ + "authentication", + "host" + ] + }, + "DataflowEndpointDataLakeStorageAuthentication": { + "type": "object", + "description": "Azure Data Lake endpoint Authentication properties. NOTE Enum - Only one method is supported for one entry", + "properties": { + "method": { + "$ref": "#/definitions/DataLakeStorageAuthMethod", + "description": "Mode of Authentication." + }, + "accessTokenSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationAccessToken", + "description": "SAS token authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointFabricOneLake": { + "type": "object", + "description": "Microsoft Fabric endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointFabricOneLakeAuthentication", + "description": "Authentication configuration. NOTE - only one authentication property is allowed per entry." + }, + "names": { + "$ref": "#/definitions/DataflowEndpointFabricOneLakeNames", + "description": "Names of the workspace and lakehouse." + }, + "oneLakePathType": { + "$ref": "#/definitions/DataflowEndpointFabricPathType", + "description": "Type of location of the data in the workspace. Can be either tables or files." + }, + "host": { + "type": "string", + "description": "Host of the Microsoft Fabric in the form of https://.fabric.microsoft.com.", + "pattern": ".+\\.fabric\\.microsoft\\.com" + }, + "batching": { + "$ref": "#/definitions/BatchingConfiguration", + "description": "Batching configuration." + } + }, + "required": [ + "authentication", + "names", + "oneLakePathType", + "host" + ] + }, + "DataflowEndpointFabricOneLakeAuthentication": { + "type": "object", + "description": "Microsoft Fabric endpoint. Authentication properties. NOTE - Only one method is supported for one entry", + "properties": { + "method": { + "$ref": "#/definitions/FabricOneLakeAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointFabricOneLakeNames": { + "type": "object", + "description": "Microsoft Fabric endpoint Names properties", + "properties": { + "lakehouseName": { + "type": "string", + "description": "Lakehouse name." + }, + "workspaceName": { + "type": "string", + "description": "Workspace name." + } + }, + "required": [ + "lakehouseName", + "workspaceName" + ] + }, + "DataflowEndpointFabricPathType": { + "type": "string", + "description": "DataflowEndpoint Fabric Path Type properties", + "enum": [ + "Files", + "Tables" + ], + "x-ms-enum": { + "name": "DataflowEndpointFabricPathType", + "modelAsString": true, + "values": [ + { + "name": "Files", + "value": "Files", + "description": "FILES Type" + }, + { + "name": "Tables", + "value": "Tables", + "description": "TABLES Type" + } + ] + } + }, + "DataflowEndpointKafka": { + "type": "object", + "description": "Kafka endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointKafkaAuthentication", + "description": "Authentication configuration. NOTE - only authentication property is allowed per entry." + }, + "consumerGroupId": { + "type": "string", + "description": "Consumer group ID." + }, + "host": { + "type": "string", + "description": "Kafka endpoint host." + }, + "batching": { + "$ref": "#/definitions/DataflowEndpointKafkaBatching", + "description": "Batching configuration." + }, + "copyMqttProperties": { + "type": "string", + "description": "Copy Broker properties. No effect if the endpoint is used as a source or if the dataflow doesn't have an Broker source.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "compression": { + "type": "string", + "description": "Compression. Can be none, gzip, lz4, or snappy. No effect if the endpoint is used as a source.", + "default": "None", + "enum": [ + "None", + "Gzip", + "Snappy", + "Lz4" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaCompression", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "NONE Option" + }, + { + "name": "Gzip", + "value": "Gzip", + "description": "Gzip Option" + }, + { + "name": "Snappy", + "value": "Snappy", + "description": "SNAPPY Option" + }, + { + "name": "Lz4", + "value": "Lz4", + "description": "LZ4 Option" + } + ] + } + }, + "kafkaAcks": { + "type": "string", + "description": "Kafka acks. Can be all, one, or zero. No effect if the endpoint is used as a source.", + "default": "All", + "enum": [ + "Zero", + "One", + "All" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaAcks", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "ZERO Option" + }, + { + "name": "One", + "value": "One", + "description": "ONE Option" + }, + { + "name": "All", + "value": "All", + "description": "ALL Option" + } + ] + } + }, + "partitionStrategy": { + "type": "string", + "description": "Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source.", + "default": "Default", + "enum": [ + "Default", + "Static", + "Topic", + "Property" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaPartitionStrategy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default: Assigns messages to random partitions, using a round-robin algorithm." + }, + { + "name": "Static", + "value": "Static", + "description": "Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow." + }, + { + "name": "Topic", + "value": "Topic", + "description": "TOPIC Option" + }, + { + "name": "Property", + "value": "Property", + "description": "PROPERTY Option" + } + ] + } + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "TLS configuration." + }, + "cloudEventAttributes": { + "$ref": "#/definitions/CloudEventAttributeType", + "description": "Cloud event mapping config." + } + }, + "required": [ + "authentication", + "host" + ] + }, + "DataflowEndpointKafkaAcks": { + "type": "string", + "description": "DataflowEndpoint Kafka Acks properties", + "enum": [ + "Zero", + "One", + "All" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaAcks", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "ZERO Option" + }, + { + "name": "One", + "value": "One", + "description": "ONE Option" + }, + { + "name": "All", + "value": "All", + "description": "ALL Option" + } + ] + } + }, + "DataflowEndpointKafkaAuthentication": { + "type": "object", + "description": "Kafka endpoint Authentication properties. NOTE - only authentication property is allowed per entry", + "properties": { + "method": { + "$ref": "#/definitions/KafkaAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + }, + "saslSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSasl", + "description": "SASL authentication." + }, + "x509CertificateSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationX509", + "description": "X.509 certificate authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointKafkaBatching": { + "type": "object", + "description": "Kafka endpoint Batching properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for batching.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "latencyMs": { + "type": "integer", + "format": "int32", + "description": "Batching latency in milliseconds.", + "default": 5, + "minimum": 0, + "maximum": 65535 + }, + "maxBytes": { + "type": "integer", + "format": "int32", + "description": "Maximum number of bytes in a batch.", + "default": 1000000, + "minimum": 0, + "maximum": 4294967295 + }, + "maxMessages": { + "type": "integer", + "format": "int32", + "description": "Maximum number of messages in a batch.", + "default": 100000, + "minimum": 0, + "maximum": 4294967295 + } + } + }, + "DataflowEndpointKafkaCompression": { + "type": "string", + "description": "Kafka endpoint Compression properties", + "enum": [ + "None", + "Gzip", + "Snappy", + "Lz4" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaCompression", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "NONE Option" + }, + { + "name": "Gzip", + "value": "Gzip", + "description": "Gzip Option" + }, + { + "name": "Snappy", + "value": "Snappy", + "description": "SNAPPY Option" + }, + { + "name": "Lz4", + "value": "Lz4", + "description": "LZ4 Option" + } + ] + } + }, + "DataflowEndpointKafkaPartitionStrategy": { + "type": "string", + "description": "DataflowEndpoint Kafka Partition Strategy properties", + "enum": [ + "Default", + "Static", + "Topic", + "Property" + ], + "x-ms-enum": { + "name": "DataflowEndpointKafkaPartitionStrategy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default: Assigns messages to random partitions, using a round-robin algorithm." + }, + { + "name": "Static", + "value": "Static", + "description": "Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow." + }, + { + "name": "Topic", + "value": "Topic", + "description": "TOPIC Option" + }, + { + "name": "Property", + "value": "Property", + "description": "PROPERTY Option" + } + ] + } + }, + "DataflowEndpointLocalStorage": { + "type": "object", + "description": "Local persistent volume endpoint properties", + "properties": { + "persistentVolumeClaimRef": { + "type": "string", + "description": "Persistent volume claim name." + } + }, + "required": [ + "persistentVolumeClaimRef" + ] + }, + "DataflowEndpointMqtt": { + "type": "object", + "description": "Broker endpoint properties", + "properties": { + "authentication": { + "$ref": "#/definitions/DataflowEndpointMqttAuthentication", + "description": "authentication properties. DEFAULT: kubernetes.audience=aio-internal. NOTE - Enum field only property is allowed" + }, + "clientIdPrefix": { + "type": "string", + "description": "Client ID prefix. Client ID generated by the dataflow is -TBD. Optional; no prefix if omitted." + }, + "host": { + "type": "string", + "description": "Host of the Broker in the form of :. Optional; connects to Broker if omitted." + }, + "protocol": { + "type": "string", + "description": "Enable or disable websockets.", + "default": "Mqtt", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "keepAliveSeconds": { + "type": "integer", + "format": "int32", + "description": "Broker KeepAlive for connection in seconds.", + "default": 60, + "minimum": 0 + }, + "retain": { + "type": "string", + "description": "Whether or not to keep the retain setting.", + "default": "Keep", + "enum": [ + "Keep", + "Never" + ], + "x-ms-enum": { + "name": "MqttRetainType", + "modelAsString": true, + "values": [ + { + "name": "Keep", + "value": "Keep", + "description": "Retain the messages." + }, + { + "name": "Never", + "value": "Never", + "description": "Never retain messages." + } + ] + } + }, + "maxInflightMessages": { + "type": "integer", + "format": "int32", + "description": "The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack.", + "default": 100, + "minimum": 0 + }, + "qos": { + "type": "integer", + "format": "int32", + "description": "Qos for Broker connection.", + "default": 1, + "minimum": 0, + "maximum": 1 + }, + "sessionExpirySeconds": { + "type": "integer", + "format": "int32", + "description": "Session expiry in seconds.", + "default": 3600, + "minimum": 0 + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "TLS configuration." + }, + "cloudEventAttributes": { + "$ref": "#/definitions/CloudEventAttributeType", + "description": "Cloud event mapping config." + } + }, + "required": [ + "authentication" + ] + }, + "DataflowEndpointMqttAuthentication": { + "type": "object", + "description": "Mqtt endpoint Authentication properties. NOTE - only authentication property is allowed per entry.", + "properties": { + "method": { + "$ref": "#/definitions/MqttAuthMethod", + "description": "Mode of Authentication." + }, + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + }, + "serviceAccountTokenSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationServiceAccountToken", + "description": "Kubernetes service account token authentication. Default audience if not set is aio-internal" + }, + "x509CertificateSettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationX509", + "description": "X.509 certificate authentication." + } + }, + "required": [ + "method" + ] + }, + "DataflowEndpointProperties": { + "type": "object", + "description": "DataflowEndpoint Resource properties. NOTE - Only one type of endpoint is supported for one Resource", + "properties": { + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Endpoint Type." + }, + "dataExplorerSettings": { + "$ref": "#/definitions/DataflowEndpointDataExplorer", + "description": "Azure Data Explorer endpoint." + }, + "dataLakeStorageSettings": { + "$ref": "#/definitions/DataflowEndpointDataLakeStorage", + "description": "Azure Data Lake endpoint." + }, + "fabricOneLakeSettings": { + "$ref": "#/definitions/DataflowEndpointFabricOneLake", + "description": "Microsoft Fabric endpoint." + }, + "kafkaSettings": { + "$ref": "#/definitions/DataflowEndpointKafka", + "description": "Kafka endpoint." + }, + "localStorageSettings": { + "$ref": "#/definitions/DataflowEndpointLocalStorage", + "description": "Local persistent volume endpoint." + }, + "mqttSettings": { + "$ref": "#/definitions/DataflowEndpointMqtt", + "description": "Broker endpoint." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "endpointType" + ] + }, + "DataflowEndpointResource": { + "type": "object", + "description": "Instance dataflowEndpoint resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowEndpointProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowEndpointResourceListResult": { + "type": "object", + "description": "The response of a DataflowEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowEndpointResource items on this page", + "items": { + "$ref": "#/definitions/DataflowEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowMappingType": { + "type": "string", + "description": "Dataflow type mapping properties", + "enum": [ + "NewProperties", + "Rename", + "Compute", + "PassThrough", + "BuiltInFunction" + ], + "x-ms-enum": { + "name": "DataflowMappingType", + "modelAsString": true, + "values": [ + { + "name": "NewProperties", + "value": "NewProperties", + "description": "New Properties type" + }, + { + "name": "Rename", + "value": "Rename", + "description": "Rename type" + }, + { + "name": "Compute", + "value": "Compute", + "description": "Compute type" + }, + { + "name": "PassThrough", + "value": "PassThrough", + "description": "Pass-through type" + }, + { + "name": "BuiltInFunction", + "value": "BuiltInFunction", + "description": "Built in function type" + } + ] + } + }, + "DataflowOperation": { + "type": "object", + "description": "Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.", + "properties": { + "operationType": { + "$ref": "#/definitions/OperationType", + "description": "Type of operation." + }, + "name": { + "type": "string", + "description": "Optional user provided name of the transformation.", + "maxLength": 64 + }, + "sourceSettings": { + "$ref": "#/definitions/DataflowSourceOperationSettings", + "description": "Source configuration." + }, + "builtInTransformationSettings": { + "$ref": "#/definitions/DataflowBuiltInTransformationSettings", + "description": "Built In Transformation configuration." + }, + "destinationSettings": { + "$ref": "#/definitions/DataflowDestinationOperationSettings", + "description": "Destination configuration." + } + }, + "required": [ + "operationType" + ] + }, + "DataflowProfileProperties": { + "type": "object", + "description": "DataflowProfile Resource properties", + "properties": { + "diagnostics": { + "$ref": "#/definitions/ProfileDiagnostics", + "description": "Spec defines the desired identities of NBC diagnostics settings." + }, + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "To manually scale the dataflow profile, specify the maximum number of instances you want to run.", + "default": 1, + "minimum": 1, + "maximum": 20 + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "DataflowProfileResource": { + "type": "object", + "description": "Instance dataflowProfile resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowProfileProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowProfileResourceListResult": { + "type": "object", + "description": "The response of a DataflowProfileResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowProfileResource items on this page", + "items": { + "$ref": "#/definitions/DataflowProfileResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowProperties": { + "type": "object", + "description": "Dataflow Resource properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for Dataflow. Optional; defaults to Enabled.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "operations": { + "type": "array", + "description": "List of operations including source and destination references as well as transformation.", + "items": { + "$ref": "#/definitions/DataflowOperation" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "operations" + ] + }, + "DataflowResource": { + "type": "object", + "description": "Instance dataflowProfile dataflow resource", + "properties": { + "properties": { + "$ref": "#/definitions/DataflowProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DataflowResourceListResult": { + "type": "object", + "description": "The response of a DataflowResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataflowResource items on this page", + "items": { + "$ref": "#/definitions/DataflowResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataflowSourceOperationSettings": { + "type": "object", + "description": "Dataflow Source Operation properties", + "properties": { + "endpointRef": { + "type": "string", + "description": "Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type." + }, + "assetRef": { + "type": "string", + "description": "Reference to the resource in Azure Device Registry where the data in the endpoint originates from." + }, + "serializationFormat": { + "type": "string", + "description": "Content is a JSON Schema. Allowed: JSON Schema/draft-7.", + "default": "Json", + "enum": [ + "Json" + ], + "x-ms-enum": { + "name": "SourceSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + } + ] + } + }, + "schemaRef": { + "type": "string", + "description": "Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match." + }, + "dataSources": { + "type": "array", + "description": "List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.", + "items": { + "$ref": "#/definitions/NonEmptyString" + } + } + }, + "required": [ + "endpointRef", + "dataSources" + ] + }, + "DiagnosticsLogs": { + "type": "object", + "description": "Diagnostic Log properties", + "properties": { + "level": { + "type": "string", + "description": "The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.", + "default": "info" + } + } + }, + "DiskBackedMessageBuffer": { + "type": "object", + "description": "DiskBackedMessageBuffer properties", + "properties": { + "maxSize": { + "type": "string", + "description": "The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See for details.", + "pattern": "^[0-9]+[KMGTPE]$" + }, + "ephemeralVolumeClaimSpec": { + "$ref": "#/definitions/VolumeClaimSpec", + "description": "Use the specified persistent volume claim template to mount a \"generic ephemeral volume\" for the message buffer. See for details." + }, + "persistentVolumeClaimSpec": { + "$ref": "#/definitions/VolumeClaimSpec", + "description": "Use the specified persistent volume claim template to mount a persistent volume for the message buffer." + } + }, + "required": [ + "maxSize" + ] + }, + "EndpointType": { + "type": "string", + "description": "DataflowEndpoint Type properties", + "enum": [ + "DataExplorer", + "DataLakeStorage", + "FabricOneLake", + "Kafka", + "LocalStorage", + "Mqtt" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true, + "values": [ + { + "name": "DataExplorer", + "value": "DataExplorer", + "description": "Azure Data Explorer Type" + }, + { + "name": "DataLakeStorage", + "value": "DataLakeStorage", + "description": "Azure Data Lake Type" + }, + { + "name": "FabricOneLake", + "value": "FabricOneLake", + "description": "Microsoft Fabric Type" + }, + { + "name": "Kafka", + "value": "Kafka", + "description": "Kafka Type" + }, + { + "name": "LocalStorage", + "value": "LocalStorage", + "description": "Local Storage Type" + }, + { + "name": "Mqtt", + "value": "Mqtt", + "description": "Broker Type" + } + ] + } + }, + "ExtendedLocation": { + "type": "object", + "description": "Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationType", + "description": "Type of ExtendedLocation." + } + }, + "required": [ + "name", + "type" + ] + }, + "ExtendedLocationType": { + "type": "string", + "description": "The enum defining type of ExtendedLocation accepted.", + "enum": [ + "CustomLocation" + ], + "x-ms-enum": { + "name": "ExtendedLocationType", + "modelAsString": true, + "values": [ + { + "name": "CustomLocation", + "value": "CustomLocation", + "description": "CustomLocation type" + } + ] + } + }, + "FabricOneLakeAuthMethod": { + "$ref": "#/definitions/ManagedIdentityMethod", + "x-nullable": false + }, + "FilterType": { + "type": "string", + "description": "Filter Type properties", + "enum": [ + "Filter" + ], + "x-ms-enum": { + "name": "FilterType", + "modelAsString": true, + "values": [ + { + "name": "Filter", + "value": "Filter", + "description": "Filter type" + } + ] + } + }, + "Frontend": { + "type": "object", + "description": "The desired properties of the frontend instances of the Broker", + "properties": { + "replicas": { + "type": "integer", + "format": "int32", + "description": "The desired number of frontend instances (pods).", + "minimum": 1, + "maximum": 16 + }, + "workers": { + "type": "integer", + "format": "int32", + "description": "Number of logical frontend workers per instance (pod).", + "default": 2, + "minimum": 1, + "maximum": 16 + } + }, + "required": [ + "replicas" + ] + }, + "GenerateResourceLimits": { + "type": "object", + "description": "GenerateResourceLimits properties", + "properties": { + "cpu": { + "type": "string", + "description": "The toggle to enable/disable cpu resource limits.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + } + } + }, + "InstancePatchModel": { + "type": "object", + "description": "The Instance update model.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, + "InstanceProperties": { + "type": "object", + "description": "The properties of the Instance resource.", + "properties": { + "description": { + "type": "string", + "description": "Detailed description of the Instance." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "version": { + "type": "string", + "description": "The Azure IoT Operations version.", + "readOnly": true + }, + "schemaRegistryRef": { + "$ref": "#/definitions/SchemaRegistryRef", + "description": "The reference to the Schema Registry for this AIO Instance." + } + }, + "required": [ + "schemaRegistryRef" + ] + }, + "InstanceResource": { + "type": "object", + "description": "A Instance resource is a logical container for a set of child resources.", + "properties": { + "properties": { + "$ref": "#/definitions/InstanceProperties", + "description": "The resource-specific properties for this resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Edge location of the resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "extendedLocation" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InstanceResourceListResult": { + "type": "object", + "description": "The response of a InstanceResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InstanceResource items on this page", + "items": { + "$ref": "#/definitions/InstanceResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "KafkaAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Kafka Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "Sasl", + "X509Certificate", + "Anonymous" + ], + "x-ms-enum": { + "name": "KafkaAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "Sasl", + "value": "Sasl", + "description": "Sasl Option" + }, + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + }, + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "KubernetesReference": { + "type": "object", + "description": "Kubernetes reference", + "properties": { + "apiGroup": { + "type": "string", + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": "string", + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": "string", + "description": "Name is the name of resource being referenced" + }, + "namespace": { + "type": "string", + "description": "Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace." + } + }, + "required": [ + "kind", + "name" + ] + }, + "ListenerPort": { + "type": "object", + "description": "Defines a TCP port on which a `BrokerListener` listens.", + "properties": { + "authenticationRef": { + "type": "string", + "description": "Reference to client authentication settings. Omit to disable authentication." + }, + "authorizationRef": { + "type": "string", + "description": "Reference to client authorization settings. Omit to disable authorization." + }, + "nodePort": { + "type": "integer", + "format": "int32", + "description": "Kubernetes node port. Only relevant when this port is associated with a `NodePort` listener.", + "minimum": 0, + "maximum": 65535 + }, + "port": { + "type": "integer", + "format": "int32", + "description": "TCP port for accepting client connections.", + "minimum": 0, + "maximum": 65535 + }, + "protocol": { + "type": "string", + "description": "Protocol to use for client connections.", + "default": "Mqtt", + "enum": [ + "Mqtt", + "WebSockets" + ], + "x-ms-enum": { + "name": "BrokerProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Mqtt", + "value": "Mqtt", + "description": "protocol broker" + }, + { + "name": "WebSockets", + "value": "WebSockets", + "description": "protocol websocket" + } + ] + } + }, + "tls": { + "$ref": "#/definitions/TlsCertMethod", + "description": "TLS server certificate settings for this port. Omit to disable TLS." + } + }, + "required": [ + "port" + ] + }, + "LocalKubernetesReference": { + "type": "object", + "description": "Kubernetes reference", + "properties": { + "apiGroup": { + "type": "string", + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": "string", + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": "string", + "description": "Name is the name of resource being referenced" + } + }, + "required": [ + "kind", + "name" + ] + }, + "ManagedIdentity": { + "type": "object", + "description": "System and Use Assigned Managed Identity properties", + "properties": { + "systemAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationSystemAssignedManagedIdentity", + "description": "System-assigned managed identity authentication." + }, + "userAssignedManagedIdentitySettings": { + "$ref": "#/definitions/DataflowEndpointAuthenticationUserAssignedManagedIdentity", + "description": "User-assigned managed identity authentication." + } + } + }, + "ManagedIdentityMethod": { + "type": "string", + "description": "Managed Identity Method", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity" + ], + "x-ms-enum": { + "name": "ManagedIdentityMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + } + ] + } + }, + "MetricProperties": { + "type": "object", + "description": "Metric properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + } + } + }, + "Metrics": { + "type": "object", + "description": "Diagnostic Metrics properties", + "properties": { + "prometheusPort": { + "type": "integer", + "format": "int32", + "description": "The prometheus port to expose the metrics.", + "default": 9600, + "minimum": 0, + "maximum": 65535 + } + } + }, + "MqttAuthMethod": { + "type": "string", + "description": "DataflowEndpoint Mqtt Authentication Method properties", + "enum": [ + "SystemAssignedManagedIdentity", + "UserAssignedManagedIdentity", + "ServiceAccountToken", + "X509Certificate", + "Anonymous" + ], + "x-ms-enum": { + "name": "MqttAuthMethod", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedManagedIdentity", + "value": "SystemAssignedManagedIdentity", + "description": "SystemAssignedManagedIdentity type" + }, + { + "name": "UserAssignedManagedIdentity", + "value": "UserAssignedManagedIdentity", + "description": "UserAssignedManagedIdentity type" + }, + { + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "description": "ServiceAccountToken Option" + }, + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + }, + { + "name": "Anonymous", + "value": "Anonymous", + "description": "Anonymous Option" + } + ] + } + }, + "MqttRetainType": { + "type": "string", + "description": "Broker Retain types", + "enum": [ + "Keep", + "Never" + ], + "x-ms-enum": { + "name": "MqttRetainType", + "modelAsString": true, + "values": [ + { + "name": "Keep", + "value": "Keep", + "description": "Retain the messages." + }, + { + "name": "Never", + "value": "Never", + "description": "Never retain messages." + } + ] + } + }, + "NonEmptyString": { + "type": "string", + "description": "A string with a minimum length of 1.", + "minLength": 1 + }, + "OperationType": { + "type": "string", + "description": "Dataflow Operation Type properties", + "enum": [ + "Source", + "Destination", + "BuiltInTransformation" + ], + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true, + "values": [ + { + "name": "Source", + "value": "Source", + "description": "Dataflow Source Operation" + }, + { + "name": "Destination", + "value": "Destination", + "description": "Dataflow Destination Operation" + }, + { + "name": "BuiltInTransformation", + "value": "BuiltInTransformation", + "description": "Dataflow BuiltIn Transformation Operation" + } + ] + } + }, + "OperationalMode": { + "type": "string", + "description": "Mode properties", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "OperatorValues": { + "type": "string", + "description": "Valid operators are In, NotIn, Exists and DoesNotExist.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "x-ms-enum": { + "name": "OperatorValues", + "modelAsString": true, + "values": [ + { + "name": "In", + "value": "In", + "description": "In operator." + }, + { + "name": "NotIn", + "value": "NotIn", + "description": "NotIn operator." + }, + { + "name": "Exists", + "value": "Exists", + "description": "Exists operator." + }, + { + "name": "DoesNotExist", + "value": "DoesNotExist", + "description": "DoesNotExist operator." + } + ] + } + }, + "PrincipalDefinition": { + "type": "object", + "description": "PrincipalDefinition properties of Rule", + "properties": { + "attributes": { + "type": "array", + "description": "A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.", + "default": [], + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "x-ms-identifiers": [] + }, + "clientIds": { + "type": "array", + "description": "A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.", + "default": [], + "items": { + "type": "string" + } + }, + "usernames": { + "type": "array", + "description": "A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.", + "default": [], + "items": { + "type": "string" + } + } + } + }, + "PrivateKeyAlgorithm": { + "type": "string", + "description": "Private key algorithm types.", + "enum": [ + "Ec256", + "Ec384", + "Ec521", + "Ed25519", + "Rsa2048", + "Rsa4096", + "Rsa8192" + ], + "x-ms-enum": { + "name": "PrivateKeyAlgorithm", + "modelAsString": true, + "values": [ + { + "name": "Ec256", + "value": "Ec256", + "description": "Algorithm - ec256." + }, + { + "name": "Ec384", + "value": "Ec384", + "description": "Algorithm - ec384." + }, + { + "name": "Ec521", + "value": "Ec521", + "description": "Algorithm - ec521." + }, + { + "name": "Ed25519", + "value": "Ed25519", + "description": "Algorithm - ed25519." + }, + { + "name": "Rsa2048", + "value": "Rsa2048", + "description": "Algorithm - rsa2048." + }, + { + "name": "Rsa4096", + "value": "Rsa4096", + "description": "Algorithm - rsa4096." + }, + { + "name": "Rsa8192", + "value": "Rsa8192", + "description": "Algorithm - rsa8192." + } + ] + } + }, + "PrivateKeyRotationPolicy": { + "type": "string", + "description": "Private key rotation policy.", + "enum": [ + "Always", + "Never" + ], + "x-ms-enum": { + "name": "PrivateKeyRotationPolicy", + "modelAsString": true, + "values": [ + { + "name": "Always", + "value": "Always", + "description": "Rotation Policy - Always." + }, + { + "name": "Never", + "value": "Never", + "description": "Rotation Policy - Never." + } + ] + } + }, + "ProfileDiagnostics": { + "type": "object", + "description": "DataflowProfile Diagnostics properties", + "properties": { + "logs": { + "$ref": "#/definitions/DiagnosticsLogs", + "description": "Diagnostic log settings for the resource." + }, + "metrics": { + "$ref": "#/definitions/Metrics", + "description": "The metrics settings for the resource." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The enum defining status of resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Resource is getting provisioned." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is Updating." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is Deleting." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource has been Accepted." + } + ] + }, + "readOnly": true + }, + "SanForCert": { + "type": "object", + "description": "Subject Alternative Names (SANs) for certificate.", + "properties": { + "dns": { + "type": "array", + "description": "DNS SANs.", + "default": [], + "items": { + "type": "string" + } + }, + "ip": { + "type": "array", + "description": "IP address SANs.", + "default": [], + "items": { + "type": "string" + } + } + }, + "required": [ + "dns", + "ip" + ] + }, + "SaslMethod": { + "type": "string", + "description": "Sasl Method", + "enum": [ + "Sasl" + ], + "x-ms-enum": { + "name": "SaslMethod", + "modelAsString": true, + "values": [ + { + "name": "Sasl", + "value": "Sasl", + "description": "Sasl Option" + } + ] + } + }, + "SchemaRegistryID": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.DeviceRegistry/schemaRegistries" + } + ] + } + }, + "SchemaRegistryRef": { + "type": "object", + "description": "The reference to the Schema Registry for this AIO Instance.", + "properties": { + "resourceId": { + "$ref": "#/definitions/SchemaRegistryID", + "description": "The resource ID of the Schema Registry." + } + }, + "required": [ + "resourceId" + ] + }, + "SelfCheck": { + "type": "object", + "description": "Broker Diagnostic Self check properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable self check.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "The self check interval.", + "default": 30, + "minimum": 30, + "maximum": 300 + }, + "timeoutSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout for self check.", + "default": 15, + "minimum": 5, + "maximum": 120 + } + } + }, + "SelfTracing": { + "type": "object", + "description": "Diagnostic Self tracing properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable self tracing.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "intervalSeconds": { + "type": "integer", + "format": "int32", + "description": "The self tracing interval.", + "default": 30, + "minimum": 1, + "maximum": 300 + } + } + }, + "ServiceAccountTokenMethod": { + "type": "string", + "description": "Service Account Token Method", + "enum": [ + "ServiceAccountToken" + ], + "x-ms-enum": { + "name": "ServiceAccountTokenMethod", + "modelAsString": true, + "values": [ + { + "name": "ServiceAccountToken", + "value": "ServiceAccountToken", + "description": "ServiceAccountToken Option" + } + ] + } + }, + "ServiceType": { + "type": "string", + "description": "Kubernetes Service Types supported by Listener", + "enum": [ + "ClusterIp", + "LoadBalancer", + "NodePort" + ], + "x-ms-enum": { + "name": "ServiceType", + "modelAsString": true, + "values": [ + { + "name": "ClusterIp", + "value": "ClusterIp", + "description": "Cluster IP Service." + }, + { + "name": "LoadBalancer", + "value": "LoadBalancer", + "description": "Load Balancer Service." + }, + { + "name": "NodePort", + "value": "NodePort", + "description": "Node Port Service." + } + ] + } + }, + "SourceSerializationFormat": { + "type": "string", + "description": "Serialization Format properties", + "enum": [ + "Json" + ], + "x-ms-enum": { + "name": "SourceSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + } + ] + } + }, + "StateStoreResourceDefinitionMethods": { + "type": "string", + "description": "StateStoreResourceDefinitionMethods methods allowed", + "enum": [ + "Read", + "Write", + "ReadWrite" + ], + "x-ms-enum": { + "name": "StateStoreResourceDefinitionMethods", + "modelAsString": true, + "values": [ + { + "name": "Read", + "value": "Read", + "description": "Get/KeyNotify from Store" + }, + { + "name": "Write", + "value": "Write", + "description": "Set/Delete in Store" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Allowed all operations on Store - Get/KeyNotify/Set/Delete" + } + ] + } + }, + "StateStoreResourceKeyTypes": { + "type": "string", + "description": "StateStoreResourceKeyTypes properties", + "enum": [ + "Pattern", + "String", + "Binary" + ], + "x-ms-enum": { + "name": "StateStoreResourceKeyTypes", + "modelAsString": true, + "values": [ + { + "name": "Pattern", + "value": "Pattern", + "description": "Key type - pattern" + }, + { + "name": "String", + "value": "String", + "description": "Key type - string" + }, + { + "name": "Binary", + "value": "Binary", + "description": "Key type - binary" + } + ] + } + }, + "StateStoreResourceRule": { + "type": "object", + "description": "State Store Resource Rule properties.", + "properties": { + "keyType": { + "$ref": "#/definitions/StateStoreResourceKeyTypes", + "description": "Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys." + }, + "keys": { + "type": "array", + "description": "Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '*', 'clients/*').", + "items": { + "type": "string" + } + }, + "method": { + "$ref": "#/definitions/StateStoreResourceDefinitionMethods", + "description": "Give access for `Read`, `Write` and `ReadWrite` access level." + } + }, + "required": [ + "keyType", + "keys", + "method" + ] + }, + "SubscriberMessageDropStrategy": { + "type": "string", + "description": "The enum defining strategies for dropping messages from the subscriber queue.", + "enum": [ + "None", + "DropOldest" + ], + "x-ms-enum": { + "name": "SubscriberMessageDropStrategy", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Messages are never dropped." + }, + { + "name": "DropOldest", + "value": "DropOldest", + "description": "The oldest message is dropped." + } + ] + } + }, + "SubscriberQueueLimit": { + "type": "object", + "description": "The settings of Subscriber Queue Limit.", + "properties": { + "length": { + "type": "integer", + "format": "int64", + "description": "The maximum length of the queue before messages start getting dropped.", + "minimum": 1 + }, + "strategy": { + "type": "string", + "description": "The strategy to use for dropping messages from the queue.", + "default": "None", + "enum": [ + "None", + "DropOldest" + ], + "x-ms-enum": { + "name": "SubscriberMessageDropStrategy", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Messages are never dropped." + }, + { + "name": "DropOldest", + "value": "DropOldest", + "description": "The oldest message is dropped." + } + ] + } + } + } + }, + "TlsCertMethod": { + "type": "object", + "description": "Collection of different TLS types, NOTE- Enum at a time only one of them needs to be supported", + "properties": { + "mode": { + "$ref": "#/definitions/TlsCertMethodMode", + "description": "Mode of TLS server certificate management." + }, + "certManagerCertificateSpec": { + "$ref": "#/definitions/CertManagerCertificateSpec", + "description": "Option 1 - Automatic TLS server certificate management with cert-manager." + }, + "manual": { + "$ref": "#/definitions/X509ManualCertificate", + "description": "Option 2 - Manual TLS server certificate management through a defined secret." + } + }, + "required": [ + "mode" + ] + }, + "TlsCertMethodMode": { + "type": "string", + "description": "Broker Authentication Mode", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "name": "TlsCertMethodMode", + "modelAsString": true, + "values": [ + { + "name": "Automatic", + "value": "Automatic", + "description": "Automatic TLS server certificate configuration." + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual TLS server certificate configuration." + } + ] + } + }, + "TlsProperties": { + "type": "object", + "description": "Tls properties", + "properties": { + "mode": { + "type": "string", + "description": "Mode for TLS.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "trustedCaCertificateConfigMapRef": { + "type": "string", + "description": "Trusted CA certificate config map." + } + } + }, + "Traces": { + "type": "object", + "description": "Broker Diagnostic Trace properties", + "properties": { + "mode": { + "type": "string", + "description": "The toggle to enable/disable traces.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OperationalMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled is equivalent to True" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled is equivalent to False." + } + ] + } + }, + "cacheSizeMegabytes": { + "type": "integer", + "format": "int32", + "description": "The cache size in megabytes.", + "default": 16, + "minimum": 1, + "maximum": 128 + }, + "selfTracing": { + "$ref": "#/definitions/SelfTracing", + "description": "The self tracing properties." + }, + "spanChannelCapacity": { + "type": "integer", + "format": "int32", + "description": "The span channel capacity.", + "default": 1000, + "minimum": 1000, + "maximum": 100000 + } + } + }, + "TransformationSerializationFormat": { + "type": "string", + "description": "Transformation Format properties", + "enum": [ + "Delta", + "Json", + "Parquet" + ], + "x-ms-enum": { + "name": "TransformationSerializationFormat", + "modelAsString": true, + "values": [ + { + "name": "Delta", + "value": "Delta", + "description": "Delta Format" + }, + { + "name": "Json", + "value": "Json", + "description": "JSON Format" + }, + { + "name": "Parquet", + "value": "Parquet", + "description": "Parquet Format" + } + ] + } + }, + "VolumeClaimResourceRequirements": { + "type": "object", + "description": "VolumeClaimResourceRequirements properties", + "properties": { + "limits": { + "type": "object", + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "additionalProperties": { + "type": "string" + } + }, + "requests": { + "type": "object", + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VolumeClaimSpec": { + "type": "object", + "description": "VolumeClaimSpec properties", + "properties": { + "volumeName": { + "type": "string", + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + }, + "volumeMode": { + "type": "string", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." + }, + "storageClassName": { + "type": "string", + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "accessModes": { + "type": "array", + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "dataSource": { + "$ref": "#/definitions/LocalKubernetesReference", + "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field." + }, + "dataSourceRef": { + "$ref": "#/definitions/KubernetesReference", + "description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled." + }, + "resources": { + "$ref": "#/definitions/VolumeClaimResourceRequirements", + "description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" + }, + "selector": { + "$ref": "#/definitions/VolumeClaimSpecSelector", + "description": "A label query over volumes to consider for binding." + } + } + }, + "VolumeClaimSpecSelector": { + "type": "object", + "description": "VolumeClaimSpecSelector properties", + "properties": { + "matchExpressions": { + "type": "array", + "description": "MatchExpressions is a list of label selector requirements. The requirements are ANDed.", + "items": { + "$ref": "#/definitions/VolumeClaimSpecSelectorMatchExpressions" + }, + "x-ms-identifiers": [] + }, + "matchLabels": { + "type": "object", + "description": "MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VolumeClaimSpecSelectorMatchExpressions": { + "type": "object", + "description": "VolumeClaimSpecSelectorMatchExpressions properties", + "properties": { + "key": { + "type": "string", + "description": "key is the label key that the selector applies to." + }, + "operator": { + "$ref": "#/definitions/OperatorValues", + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": "array", + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "operator" + ] + }, + "X509ManualCertificate": { + "type": "object", + "description": "X509 Certificate Authentication properties.", + "properties": { + "secretRef": { + "type": "string", + "description": "Kubernetes secret containing an X.509 client certificate. This is a reference to the secret through an identifying name, not the secret itself." + } + }, + "required": [ + "secretRef" + ] + }, + "x509CertificateMethod": { + "type": "string", + "description": "x509 Certificate Method", + "enum": [ + "X509Certificate" + ], + "x-ms-enum": { + "name": "x509CertificateMethod", + "modelAsString": true, + "values": [ + { + "name": "X509Certificate", + "value": "X509Certificate", + "description": "x509Certificate Option" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/iotoperations/resource-manager/readme.md b/specification/iotoperations/resource-manager/readme.md index 6335d57f3037..6deadd255fd2 100644 --- a/specification/iotoperations/resource-manager/readme.md +++ b/specification/iotoperations/resource-manager/readme.md @@ -59,7 +59,7 @@ These are the global settings for the IoTOperations. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2024-08-15-preview +tag: package-2024-09-15-preview ``` ### Tag: package-2024-07-01-preview @@ -78,4 +78,13 @@ These settings apply only when `--tag=package-2024-08-15-preview` is specified o ```yaml $(tag) == 'package-2024-08-15-preview' input-file: - Microsoft.IoTOperations/preview/2024-08-15-preview/iotoperations.json +``` + +### Tag: package-2024-09-15-preview + +These settings apply only when `--tag=package-2024-09-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-09-15-preview' +input-file: + - Microsoft.IoTOperations/preview/2024-09-15-preview/iotoperations.json ``` \ No newline at end of file