diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json index 22675f81ce9d..70a68c885d6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json @@ -5697,4 +5697,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json index 14d860ac082b..e30b0f50550a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -2,14 +2,16 @@ "parameters": { "hubName": "azSdkTestHub", "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", + "authorizationPolicyName": "testPolicy4222", "api-version": "2016-01-01", "subscriptionId": "subid", "parameters": { "properties": { - "permissions": ["Read", - "Write", - "Manage"] + "permissions": [ + "Read", + "Write", + "Manage" + ] } } }, @@ -20,12 +22,14 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } }, @@ -35,14 +39,16 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json index 2cfbc82731a6..4e59c0c29c69 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json @@ -1,26 +1,28 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", - "name": "azSdkTestHub/testPolicy4222", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", + "name": "azSdkTestHub/testPolicy4222", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json index c0af0c058ab2..7bb7493fa7e2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", - "name": "azSdkTestHub/RootManageSharedAccessKey", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "RootManageSharedAccessKey", - "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", - "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", - "name": "azSdkTestHub/testPolicy1125", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy1125", - "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", + "name": "azSdkTestHub/RootManageSharedAccessKey", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "RootManageSharedAccessKey", + "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", + "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", + "name": "azSdkTestHub/testPolicy1125", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy1125", + "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json index a618ef8e989b..ded66bd2a2a2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json @@ -1,159 +1,165 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "displayName": "testMapping12491", - "description": "Test mapping", - "mappingProperties": { - "folderPath": "http://sample.dne/file", - "fileFilter": "unknown", - "hasHeader": false, - "errorManagement": { - "errorManagementType": "StopImport", - "errorLimit": 10 - }, - "format": { - "formatType": "TextFormat", - "columnDelimiter": "|" - }, - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "structure": [{ - "propertyName": "unknwon1", - "columnName": "unknown1", - "isEncrypted": false - }, - { - "propertyName": "unknwon2", - "columnName": "unknown2", - "isEncrypted": true - }], - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - }, - "201": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "displayName": "testMapping12491", + "description": "Test mapping", + "mappingProperties": { + "folderPath": "http://sample.dne/file", + "fileFilter": "unknown", + "hasHeader": false, + "errorManagement": { + "errorManagementType": "StopImport", + "errorLimit": 10 + }, + "format": { + "formatType": "TextFormat", + "columnDelimiter": "|" + }, + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "structure": [ + { + "propertyName": "unknwon1", + "columnName": "unknown1", + "isEncrypted": false + }, + { + "propertyName": "unknwon2", + "columnName": "unknown2", + "isEncrypted": true + } + ], + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + }, + "201": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json index 0d7f1846761c..924976644b8e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json index 3bda377203e7..cf626302e2b8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json @@ -1,66 +1,68 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json index 5259745619e4..e3c7c8a6f67f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json @@ -1,67 +1,71 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json index 20c3288aa55f..93af22e94dac 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json @@ -1,49 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "connectorType": "AzureBlob", - "displayName": "testConnector", - "description": "Test connector", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "connectorType": "AzureBlob", + "displayName": "testConnector", + "description": "Test connector", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json index 223bbe751413..c9d4054fe03a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json index 8eb04134ad71..cd50e4833616 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json @@ -1,33 +1,33 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json index 13f587390507..5dbcbb24dabc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json @@ -1,34 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json index db43dc6f6242..5b6b170d8388 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json @@ -289,4 +289,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json index af90ced06152..d26a46e6c2dc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json @@ -1,64 +1,60 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "West US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "West US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json index 6afd4d1b4ddc..447e31547e47 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json index ae0885c10cfa..75f252eaef7a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json @@ -1,32 +1,30 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json index d86c96e024f6..4b5b14c95d5a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json @@ -1,52 +1,50 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json index ea16b5f3e3c9..4d7946a2a372 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json @@ -1,53 +1,51 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid", - "resourceGroupName": "TestHubRG" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid", + "resourceGroupName": "TestHubRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json index 3adb220f2dc6..068afee45e73 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json @@ -1,42 +1,40 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Created", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Created", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json index 160b21a30088..ce7c21837094 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json @@ -1,80 +1,86 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String" - }], - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage", - "isActivity": false - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "isActivity": false - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String" + } + ], + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage", + "isActivity": false + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "isActivity": false + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json index 0aac643643d4..b77a19b39052 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json @@ -1,88 +1,92 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestInteractionType6358", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestInteractionType6358", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json index ebb489a5b2dd..f532a73c7d85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json @@ -1,89 +1,95 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json index 504cb8b9d223..8fa2f3ab4138 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json @@ -1,40 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "Deposit", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "interactionName": "Deposit", - "suggestedRelationships": [{ - "profileName": "Branch", - "profilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }], - "relatedProfileName": "Contact", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }] - }, - { - "profileName": "Contact", - "profilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }], - "relatedProfileName": "Branch", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }] - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "Deposit", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "interactionName": "Deposit", + "suggestedRelationships": [ + { + "profileName": "Branch", + "profilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ], + "relatedProfileName": "Contact", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ] + }, + { + "profileName": "Contact", + "profilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ], + "relatedProfileName": "Branch", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ] + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json index bc06a79c3e8a..25f7bf4e8e5d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json @@ -1,74 +1,80 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "displayName": { - "en-us": "Kpi DisplayName" - }, - "description": { - "en-us": "Kpi Description" - }, - "calculationWindow": "Day", - "function": "Sum", - "expression": "SavingAccountBalance", - "unit": "unit", - "groupBy": ["SavingAccountBalance"], - "thresHolds": { - "lowerLimit": 5.0, - "upperLimit": 50.0, - "increasingKpi": true - }, - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "displayName": { + "en-us": "Kpi DisplayName" + }, + "description": { + "en-us": "Kpi Description" + }, + "calculationWindow": "Day", + "function": "Sum", + "expression": "SavingAccountBalance", + "unit": "unit", + "groupBy": [ + "SavingAccountBalance" + ], + "thresHolds": { + "lowerLimit": 5.0, + "upperLimit": 50.0, + "increasingKpi": true + }, + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json index 493a641b7260..79bcb779b69b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json index 262b6a9ebfa0..150e0c4ecde8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json @@ -1,45 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json index 91c607454f85..d746eea2c4e1 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json @@ -1,46 +1,52 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json index 659260336127..83bd69594f4b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json @@ -1,14 +1,12 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json index c4d0e4d550f2..5c066853432c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json @@ -1,74 +1,74 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "linkName": "linkTest4806", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "mappings": [ - { - "interactionTypePropertyName": "testInteraction1949", - "profileTypePropertyName": "testProfile1446", - "isProfileTypeId": true, - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [ - { - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - } - ], - "participantPropertyReferences": [ - { - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - } - ], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - }, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "linkName": "linkTest4806", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "profileTypePropertyName": "testProfile1446", + "isProfileTypeId": true, + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json index 2b41c5cb20f7..ad139857a18a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json index 6b84b5b5dff4..7129fda53189 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json @@ -1,42 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - }], - "participantPropertyReferences": [{ - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json index 18017f91ed58..5db0d75f8a65 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json @@ -1,43 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "interactionTypePropertyName": "testInteraction1949", - "isProfileTypeId": true, - "linkType": "UpdateAlways", - "profileTypePropertyName": "testProfile1446" - }], - "participantPropertyReferences": [{ - "interactionPropertyName": "testInteraction1949", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceInteractionType": "testInteraction1949", - "targetProfileType": "testProfile1446", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "interactionTypePropertyName": "testInteraction1949", + "isProfileTypeId": true, + "linkType": "UpdateAlways", + "profileTypePropertyName": "testProfile1446" + } + ], + "participantPropertyReferences": [ + { + "interactionPropertyName": "testInteraction1949", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceInteractionType": "testInteraction1949", + "targetProfileType": "testProfile1446", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json index 511cb1608d8d..3f137fc75b31 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json @@ -1,75 +1,81 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [{ - "calculationWindow": "Month", - "calculationWindowFieldName": "", - "description": { - "en-us": "MonthlyDeposits" - }, - "entityType": "Interaction", - "entityTypeName": "Deposit", - "expression": "Amount", - "filter": "", - "function": "Sum", - "groupBy": ["AccountType", - "BranchId", - "ContactId", - "Location", - "Type"], - "groupByMetadata": [{ - "displayName": { - "en-us": "AccountType" - }, - "fieldName": "AccountType", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "BranchId" - }, - "fieldName": "BranchId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "ContactId" - }, - "fieldName": "ContactId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "Location" - }, - "fieldName": "Location", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "Type" - }, - "fieldName": "Type", - "fieldType": "Edm.String" - }], - "kpiName": "MonthlyDeposits", - "participantProfilesMetadata": [], - "provisioningState": "Succeeded", - "tenantId": "sdkTestHub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 0, - "upperLimit": 0 - }, - "unit": "" - }] - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "calculationWindow": "Month", + "calculationWindowFieldName": "", + "description": { + "en-us": "MonthlyDeposits" + }, + "entityType": "Interaction", + "entityTypeName": "Deposit", + "expression": "Amount", + "filter": "", + "function": "Sum", + "groupBy": [ + "AccountType", + "BranchId", + "ContactId", + "Location", + "Type" + ], + "groupByMetadata": [ + { + "displayName": { + "en-us": "AccountType" + }, + "fieldName": "AccountType", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "BranchId" + }, + "fieldName": "BranchId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "ContactId" + }, + "fieldName": "ContactId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "Location" + }, + "fieldName": "Location", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "Type" + }, + "fieldName": "Type", + "fieldType": "Edm.String" + } + ], + "kpiName": "MonthlyDeposits", + "participantProfilesMetadata": [], + "provisioningState": "Succeeded", + "tenantId": "sdkTestHub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 0, + "upperLimit": 0 + }, + "unit": "" + } + ] + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json index 601cc85f3181..3fad518ca871 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json @@ -1,156 +1,172 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "SavingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isRequired": true - }], - "schemaItemTypeLink": "SchemaItemTypeLink", - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "202": { - - }, - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "SavingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isRequired": true + } + ], + "schemaItemTypeLink": "SchemaItemTypeLink", + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "202": {}, + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json index ff9486f362a3..17435c69ab85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json index ffeeb1edc348..0fca793d9440 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json @@ -1,104 +1,114 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json index 4442c3826d5d..5afff68434b9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json @@ -1,106 +1,118 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - }], - "nextLink": "" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json index 49c778ee9665..75acab7d4914 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json @@ -1,63 +1,69 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json index 373fd21aa152..0760121175c2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json index b19354bee869..193231fc3666 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json @@ -1,39 +1,43 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json index 220b1adccf7f..d9d63564955c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json index d6db25d0de72..7dda783d91f0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json @@ -1,51 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "cardinality": "OneToOne", - "displayName": { - "en-us": "Relationship DisplayName" - }, - "description": { - "en-us": "Relationship Description" - }, - "fields": [], - "profileType": "testProfile2326994", - "relatedProfileType": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "cardinality": "OneToOne", + "displayName": { + "en-us": "Relationship DisplayName" + }, + "description": { + "en-us": "Relationship Description" + }, + "fields": [], + "profileType": "testProfile2326994", + "relatedProfileType": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json index a28259d3e262..b988c9aebeb2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json index 7135827b9b34..33b86ccb1608 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json index 67ab7fdf6074..9ed418bd4c8a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json @@ -1,35 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json index eaab4cf33e00..a01f09cae88d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json @@ -1,48 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "role": "Admin", - "principals": [{ - "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15a5054f2b9948ae25724cf9d5", - "principalType": "User" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "role": "Admin", + "principals": [ + { + "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15a5054f2b9948ae25724cf9d5", + "principalType": "User" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json index 3d09176089b2..b1c07bb61fa7 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json index a31f046442b8..fe43bff10e94 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json @@ -1,32 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json index c126a24df81b..692b169a1337 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json @@ -1,33 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json index 183fc0add0b4..d2a7e225ad6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json @@ -1,23 +1,25 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", - "name": "azSdkTestHub/Admin", - "properties": { - "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", - "roleName": "Admin" - }, - "type": "Microsoft.CustomerInsights/hubs/Roles" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", + "name": "azSdkTestHub/Admin", + "properties": { + "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", + "roleName": "Admin" + }, + "type": "Microsoft.CustomerInsights/hubs/Roles" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json index 983262206e7e..e0f701096211 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json @@ -1,36 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "userId": "testUser", - "displayName": { - "en": "some name" - }, - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "userId": "testUser", + "displayName": { + "en": "some name" + }, + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json index 6cbd4c997f21..1466e13530a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json @@ -1,15 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json index 63a648684119..c824b00d4dd9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json index 949fd4c32c86..34613c9b814f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json @@ -1,29 +1,31 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json index 35507b6bd9ee..31edc695e598 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "widgetTypeName": "ActivityGauge", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "widgetTypeName": "ActivityGauge", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json index 9796c694033c..0a778bb5d1f3 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json @@ -1,40 +1,42 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", - "name": "sdkTestHub/AsterChart", - "properties": { - "widgetTypeName": "AsterChart", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", + "name": "sdkTestHub/AsterChart", + "properties": { + "widgetTypeName": "AsterChart", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json index 3c0353f8a491..3fd7162a8e9e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json @@ -44,7 +44,9 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "DCIOperations_List": { "$ref": "./examples/DCIOperations_List.json" } + "DCIOperations_List": { + "$ref": "./examples/DCIOperations_List.json" + } }, "description": "Lists all of the available Customer Insights REST API operations.", "parameters": [ @@ -6517,4 +6519,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json index 14d860ac082b..e30b0f50550a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -2,14 +2,16 @@ "parameters": { "hubName": "azSdkTestHub", "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", + "authorizationPolicyName": "testPolicy4222", "api-version": "2016-01-01", "subscriptionId": "subid", "parameters": { "properties": { - "permissions": ["Read", - "Write", - "Manage"] + "permissions": [ + "Read", + "Write", + "Manage" + ] } } }, @@ -20,12 +22,14 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } }, @@ -35,14 +39,16 @@ "name": "testPolicy4222", "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies", "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" } } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json index 2cfbc82731a6..4e59c0c29c69 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -1,26 +1,28 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", - "name": "azSdkTestHub/testPolicy4222", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4222", - "primaryKey": "cHJpbWFyeVRlc3RSZWFk", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222", + "name": "azSdkTestHub/testPolicy4222", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4222", + "primaryKey": "cHJpbWFyeVRlc3RSZWFk", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json index c0af0c058ab2..7bb7493fa7e2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", - "name": "azSdkTestHub/RootManageSharedAccessKey", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "RootManageSharedAccessKey", - "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", - "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", - "name": "azSdkTestHub/testPolicy1125", - "properties": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy1125", - "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - }, - "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey", + "name": "azSdkTestHub/RootManageSharedAccessKey", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "RootManageSharedAccessKey", + "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=", + "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125", + "name": "azSdkTestHub/testPolicy1125", + "properties": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy1125", + "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + }, + "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json index 4fd4b5c2c94e..547425739bef 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json @@ -1,21 +1,23 @@ { - "parameters": { - "hubName": "azSdkTestHub", - "resourceGroupName": "TestHubRG", - "authorizationPolicyName": "testPolicy4222", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "permissions": ["Read", - "Write", - "Manage"], - "policyName": "testPolicy4009", - "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", - "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "azSdkTestHub", + "resourceGroupName": "TestHubRG", + "authorizationPolicyName": "testPolicy4222", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "permissions": [ + "Read", + "Write", + "Manage" + ], + "policyName": "testPolicy4009", + "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=", + "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ=" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json index a618ef8e989b..ded66bd2a2a2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json @@ -1,159 +1,165 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "displayName": "testMapping12491", - "description": "Test mapping", - "mappingProperties": { - "folderPath": "http://sample.dne/file", - "fileFilter": "unknown", - "hasHeader": false, - "errorManagement": { - "errorManagementType": "StopImport", - "errorLimit": 10 - }, - "format": { - "formatType": "TextFormat", - "columnDelimiter": "|" - }, - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "structure": [{ - "propertyName": "unknwon1", - "columnName": "unknown1", - "isEncrypted": false - }, - { - "propertyName": "unknwon2", - "columnName": "unknown2", - "isEncrypted": true - }], - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - }, - "201": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "displayName": "testMapping12491", + "description": "Test mapping", + "mappingProperties": { + "folderPath": "http://sample.dne/file", + "fileFilter": "unknown", + "hasHeader": false, + "errorManagement": { + "errorManagementType": "StopImport", + "errorLimit": 10 + }, + "format": { + "formatType": "TextFormat", + "columnDelimiter": "|" + }, + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "structure": [ + { + "propertyName": "unknwon1", + "columnName": "unknown1", + "isEncrypted": false + }, + { + "propertyName": "unknwon2", + "columnName": "unknown2", + "isEncrypted": true + } + ], + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + }, + "201": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json index 0d7f1846761c..924976644b8e 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json @@ -1,14 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json index 3bda377203e7..cf626302e2b8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -1,66 +1,68 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "mappingName": "testMapping12491", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "mappingName": "testMapping12491", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json index 5259745619e4..e3c7c8a6f67f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json @@ -1,67 +1,71 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector8858", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", - "name": "sdkTestHub/testConnector8858/testMapping12491", - "properties": { - "connectorMappingName": "testMapping12491", - "connectorName": "testConnector8858", - "connectorType": "AzureBlob", - "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", - "description": "Test mapping", - "displayName": "testMapping12491", - "entityType": "Interaction", - "entityTypeName": "TestInteractionType2967", - "mappingProperties": { - "availability": { - "frequency": "Hour", - "interval": 5 - }, - "completeOperation": { - "completionOperationType": "DeleteFile", - "destinationFolder": "fakePath" - }, - "errorManagement": { - "errorLimit": 10, - "errorManagementType": "StopImport" - }, - "fileFilter": "unknown", - "folderPath": "http://sample.dne/file", - "format": { - "columnDelimiter": "|", - "acceptLanguage": "", - "quoteCharacter": "\\\"", - "quoteEscapeCharacter": "\\\"", - "formatType": "TextFormat", - "arraySeparator": ";" - }, - "hasHeader": false, - "structure": [{ - "columnName": "unknown1", - "isEncrypted": false, - "propertyName": "unknwon1" - }, - { - "columnName": "unknown2", - "isEncrypted": true, - "propertyName": "unknwon2" - }] - }, - "state": "Created", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector8858", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491", + "name": "sdkTestHub/testConnector8858/testMapping12491", + "properties": { + "connectorMappingName": "testMapping12491", + "connectorName": "testConnector8858", + "connectorType": "AzureBlob", + "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505", + "description": "Test mapping", + "displayName": "testMapping12491", + "entityType": "Interaction", + "entityTypeName": "TestInteractionType2967", + "mappingProperties": { + "availability": { + "frequency": "Hour", + "interval": 5 + }, + "completeOperation": { + "completionOperationType": "DeleteFile", + "destinationFolder": "fakePath" + }, + "errorManagement": { + "errorLimit": 10, + "errorManagementType": "StopImport" + }, + "fileFilter": "unknown", + "folderPath": "http://sample.dne/file", + "format": { + "columnDelimiter": "|", + "acceptLanguage": "", + "quoteCharacter": "\\\"", + "quoteEscapeCharacter": "\\\"", + "formatType": "TextFormat", + "arraySeparator": ";" + }, + "hasHeader": false, + "structure": [ + { + "columnName": "unknown1", + "isEncrypted": false, + "propertyName": "unknwon1" + }, + { + "columnName": "unknown2", + "isEncrypted": true, + "propertyName": "unknwon2" + } + ] + }, + "state": "Created", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/connectors/mappings" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json index 20c3288aa55f..93af22e94dac 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json @@ -1,49 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "connectorType": "AzureBlob", - "displayName": "testConnector", - "description": "Test connector", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "connectorType": "AzureBlob", + "displayName": "testConnector", + "description": "Test connector", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json index 223bbe751413..c9d4054fe03a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json index 8eb04134ad71..cd50e4833616 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -1,33 +1,33 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "connectorName": "testConnector", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "connectorName": "testConnector", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json index 13f587390507..5dbcbb24dabc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json @@ -1,34 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", - "name": "sdkTestHub/testConnector", - "properties": { - "connectorId": 0, - "connectorName": "testConnector", - "connectorType": "AzureBlob", - "description": "Test connector", - "displayName": "testConnector", - "state": "Creating", - "tenantId": "sdktesthub", - "connectorProperties": { - "connectionKeyVaultUrl": { - "organizationId": "XXX", - "organizationUrl": "https://XXX.crmlivetie.com/" - } - } - }, - "type": "Microsoft.CustomerInsights/hubs/connectors" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector", + "name": "sdkTestHub/testConnector", + "properties": { + "connectorId": 0, + "connectorName": "testConnector", + "connectorType": "AzureBlob", + "description": "Test connector", + "displayName": "testConnector", + "state": "Creating", + "tenantId": "sdktesthub", + "connectorProperties": { + "connectionKeyVaultUrl": { + "organizationId": "XXX", + "organizationUrl": "https://XXX.crmlivetie.com/" + } + } + }, + "type": "Microsoft.CustomerInsights/hubs/connectors" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json index db43dc6f6242..5b6b170d8388 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json @@ -289,4 +289,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json index af90ced06152..d26a46e6c2dc 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json @@ -1,64 +1,60 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "West US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - }, - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "West US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json index 6afd4d1b4ddc..447e31547e47 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json index ae0885c10cfa..75f252eaef7a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -1,32 +1,30 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Creating", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Creating", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json index d86c96e024f6..4b5b14c95d5a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json @@ -1,52 +1,50 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json index ea16b5f3e3c9..4d7946a2a372 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json @@ -1,53 +1,51 @@ { - "parameters": { - "api-version": "2016-01-01", - "subscriptionId": "subid", - "resourceGroupName": "TestHubRG" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", - "location": "East US", - "name": "azSdkTestHub", - "properties": { - "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 1 - }, - "tenantFeatures": 0, - "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", - "location": "East US", - "name": "testHub1058", - "properties": { - "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", - "provisioningState": "Succeeded", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "api-version": "2016-01-01", + "subscriptionId": "subid", + "resourceGroupName": "TestHubRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub", + "location": "East US", + "name": "azSdkTestHub", + "properties": { + "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 1 + }, + "tenantFeatures": 0, + "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058", + "location": "East US", + "name": "testHub1058", + "properties": { + "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net", + "provisioningState": "Succeeded", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json index 3adb220f2dc6..068afee45e73 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json @@ -1,42 +1,40 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "location": "West US", - "properties": { - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", - "location": "East US", - "name": "testHub2839", - "properties": { - "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", - "provisioningState": "Created", - "hubBillingInfo": { - "skuName": "B0", - "minUnits": 1, - "maxUnits": 5 - }, - "tenantFeatures": 0, - "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" - }, - "tags": { - - }, - "type": "Microsoft.CustomerInsights/hubs" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "properties": { + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839", + "location": "East US", + "name": "testHub2839", + "properties": { + "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net", + "provisioningState": "Created", + "hubBillingInfo": { + "skuName": "B0", + "minUnits": 1, + "maxUnits": 5 + }, + "tenantFeatures": 0, + "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net" + }, + "tags": {}, + "type": "Microsoft.CustomerInsights/hubs" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json index 454860d5e639..3a252dda2637 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json @@ -1,22 +1,22 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "entityType": "Profile", - "entityTypeName": "Contact", - "relativePath": "images/profile1.png" - } - }, - "responses": { - "200": { - "body": { - "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", - "relativePath": "images/profile1.png", - "imageExists": false - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "entityType": "Profile", + "entityTypeName": "Contact", + "relativePath": "images/profile1.png" + } + }, + "responses": { + "200": { + "body": { + "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw", + "relativePath": "images/profile1.png", + "imageExists": false + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json index aa4b51c848bb..62b75de081ee 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json @@ -1,78 +1,84 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String" - }], - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String" + } + ], + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json index 0aac643643d4..b77a19b39052 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -1,88 +1,92 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "TestInteractionType6358", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "TestInteractionType6358", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json index 2d16aa54cef4..f532a73c7d85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json @@ -1,89 +1,95 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", - "name": "azSdkTestHub/TestInteractionType6358", - "properties": { - "idPropertyNames": ["TestInteractionType6358"], - "primaryParticipantProfilePropertyName": "profile1", - "apiEntitySetName": "TestInteractionType6358", - "entityType": "Interaction", - "fields": [{ - "fieldName": "TestInteractionType6358", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [] - }, - { - "fieldName": "profile1", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1", - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ] - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "tenantId": "azsdktesthub", - "typeName": "TestInteractionType6358", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage", - "defaultDataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "dataSourcePrecedenceRules": [ - { - "dataSource": { - "dataSourceReferenceId": "70", - "dataSourceType": "Connector", - "name": "crm2", - "status": "Active", - "id": 1 - }, - "precedence": 50 - } - ], - "isActivity": true - }, - "type": "Microsoft.CustomerInsights/hubs/interactions" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358", + "name": "azSdkTestHub/TestInteractionType6358", + "properties": { + "idPropertyNames": [ + "TestInteractionType6358" + ], + "primaryParticipantProfilePropertyName": "profile1", + "apiEntitySetName": "TestInteractionType6358", + "entityType": "Interaction", + "fields": [ + { + "fieldName": "TestInteractionType6358", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [] + }, + { + "fieldName": "profile1", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1", + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ] + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "tenantId": "azsdktesthub", + "typeName": "TestInteractionType6358", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage", + "defaultDataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "dataSourcePrecedenceRules": [ + { + "dataSource": { + "dataSourceReferenceId": "70", + "dataSourceType": "Connector", + "name": "crm2", + "status": "Active", + "id": 1 + }, + "precedence": 50 + } + ], + "isActivity": true + }, + "type": "Microsoft.CustomerInsights/hubs/interactions" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json index 504cb8b9d223..8fa2f3ab4138 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json @@ -1,40 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "interactionName": "Deposit", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "interactionName": "Deposit", - "suggestedRelationships": [{ - "profileName": "Branch", - "profilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }], - "relatedProfileName": "Contact", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }] - }, - { - "profileName": "Contact", - "profilePropertyReferences": [{ - "interactionPropertyName": "ContactId", - "profilePropertyName": "ContactId" - }], - "relatedProfileName": "Branch", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "BranchId", - "profilePropertyName": "BranchId" - }] - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "interactionName": "Deposit", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "interactionName": "Deposit", + "suggestedRelationships": [ + { + "profileName": "Branch", + "profilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ], + "relatedProfileName": "Contact", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ] + }, + { + "profileName": "Contact", + "profilePropertyReferences": [ + { + "interactionPropertyName": "ContactId", + "profilePropertyName": "ContactId" + } + ], + "relatedProfileName": "Branch", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "BranchId", + "profilePropertyName": "BranchId" + } + ] + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json index bc06a79c3e8a..25f7bf4e8e5d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json @@ -1,74 +1,80 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "displayName": { - "en-us": "Kpi DisplayName" - }, - "description": { - "en-us": "Kpi Description" - }, - "calculationWindow": "Day", - "function": "Sum", - "expression": "SavingAccountBalance", - "unit": "unit", - "groupBy": ["SavingAccountBalance"], - "thresHolds": { - "lowerLimit": 5.0, - "upperLimit": 50.0, - "increasingKpi": true - }, - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "displayName": { + "en-us": "Kpi DisplayName" + }, + "description": { + "en-us": "Kpi Description" + }, + "calculationWindow": "Day", + "function": "Sum", + "expression": "SavingAccountBalance", + "unit": "unit", + "groupBy": [ + "SavingAccountBalance" + ], + "thresHolds": { + "lowerLimit": 5.0, + "upperLimit": 50.0, + "increasingKpi": true + }, + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json index 493a641b7260..79bcb779b69b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json index 262b6a9ebfa0..150e0c4ecde8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -1,45 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json index 91c607454f85..d746eea2c4e1 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json @@ -1,46 +1,52 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", - "name": "sdkTestHub/kpiTest45453647", - "properties": { - "aliases": [{ - "aliasName": "alias", - "expression": "Id+4" - }], - "calculationWindow": "Day", - "description": { - "en-us": "Kpi Description" - }, - "displayName": { - "en-us": "Kpi DisplayName" - }, - "entityType": "Profile", - "entityTypeName": "testProfile2327128", - "expression": "SavingAccountBalance", - "function": "Sum", - "groupBy": ["SavingAccountBalance"], - "kpiName": "kpiTest45453647", - "provisioningState": "Provisioning", - "tenantId": "sdktesthub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 5.0, - "upperLimit": 50.0 - }, - "unit": "unit" - }, - "type": "Microsoft.CustomerInsights/hubs/kpi" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647", + "name": "sdkTestHub/kpiTest45453647", + "properties": { + "aliases": [ + { + "aliasName": "alias", + "expression": "Id+4" + } + ], + "calculationWindow": "Day", + "description": { + "en-us": "Kpi Description" + }, + "displayName": { + "en-us": "Kpi DisplayName" + }, + "entityType": "Profile", + "entityTypeName": "testProfile2327128", + "expression": "SavingAccountBalance", + "function": "Sum", + "groupBy": [ + "SavingAccountBalance" + ], + "kpiName": "kpiTest45453647", + "provisioningState": "Provisioning", + "tenantId": "sdktesthub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 5.0, + "upperLimit": 50.0 + }, + "unit": "unit" + }, + "type": "Microsoft.CustomerInsights/hubs/kpi" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json index 659260336127..83bd69594f4b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json @@ -1,14 +1,12 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "kpiName": "kpiTest45453647", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "kpiName": "kpiTest45453647", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json index 8f3c75f69ebe..e9b99509b62d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json @@ -1,76 +1,76 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2017-04-26", - "subscriptionId": "subid", - "parameters": { - "properties": { - "linkName": "linkTest4806", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "mappings": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - } - ], - "participantPropertyReferences": [ - { - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - } - ], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - }, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2017-04-26", + "subscriptionId": "subid", + "parameters": { + "properties": { + "linkName": "linkTest4806", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json index 2b41c5cb20f7..ad139857a18a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json index 3721c651a7c8..985e1060bdbb 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -1,43 +1,47 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "linkName": "linkTest4806", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - }], - "participantPropertyReferences": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "linkName": "linkTest4806", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json index 335f4831167c..1454f17de1c4 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json @@ -1,44 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", - "name": "azSdkTestHub/linkTest4806", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "linkName": "linkTest4806", - "mappings": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "testProfile1446", - "linkType": "UpdateAlways" - }], - "participantPropertyReferences": [{ - "sourcePropertyName": "testInteraction1949", - "targetPropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "sourceEntityTypeName": "testInteraction1949", - "targetEntityTypeName": "testProfile1446", - "sourceEntityType": "Interaction", - "targetEntityType": "Profile", - "tenantId": "azsdktesthub", - "referenceOnly": false - }, - "type": "Microsoft.CustomerInsights/hubs/links" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806", + "name": "azSdkTestHub/linkTest4806", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "linkName": "linkTest4806", + "mappings": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "testProfile1446", + "linkType": "UpdateAlways" + } + ], + "participantPropertyReferences": [ + { + "sourcePropertyName": "testInteraction1949", + "targetPropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "sourceEntityTypeName": "testInteraction1949", + "targetEntityTypeName": "testProfile1446", + "sourceEntityType": "Interaction", + "targetEntityType": "Profile", + "tenantId": "azsdktesthub", + "referenceOnly": false + }, + "type": "Microsoft.CustomerInsights/hubs/links" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json index b8b9807b3fd7..931d3030920f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json @@ -82,4 +82,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json index 2e1ef40f66da..a2b44064352b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json index c63804a35307..9771bffad8a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json index 19c41c9321ba..00ea06999ac8 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json index f0e0ee24bf8c..52bda73adf40 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json index a8cc5f567df6..52038c2fc053 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json index 134f5f5b6ddb..13bb2388dc7b 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json @@ -12,4 +12,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json index 511cb1608d8d..3f137fc75b31 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json @@ -1,75 +1,81 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2017-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": [{ - "calculationWindow": "Month", - "calculationWindowFieldName": "", - "description": { - "en-us": "MonthlyDeposits" - }, - "entityType": "Interaction", - "entityTypeName": "Deposit", - "expression": "Amount", - "filter": "", - "function": "Sum", - "groupBy": ["AccountType", - "BranchId", - "ContactId", - "Location", - "Type"], - "groupByMetadata": [{ - "displayName": { - "en-us": "AccountType" - }, - "fieldName": "AccountType", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "BranchId" - }, - "fieldName": "BranchId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "ContactId" - }, - "fieldName": "ContactId", - "fieldType": "Edm.Int32" - }, - { - "displayName": { - "en-us": "Location" - }, - "fieldName": "Location", - "fieldType": "Edm.String" - }, - { - "displayName": { - "en-us": "Type" - }, - "fieldName": "Type", - "fieldType": "Edm.String" - }], - "kpiName": "MonthlyDeposits", - "participantProfilesMetadata": [], - "provisioningState": "Succeeded", - "tenantId": "sdkTestHub", - "thresHolds": { - "increasingKpi": true, - "lowerLimit": 0, - "upperLimit": 0 - }, - "unit": "" - }] - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2017-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": [ + { + "calculationWindow": "Month", + "calculationWindowFieldName": "", + "description": { + "en-us": "MonthlyDeposits" + }, + "entityType": "Interaction", + "entityTypeName": "Deposit", + "expression": "Amount", + "filter": "", + "function": "Sum", + "groupBy": [ + "AccountType", + "BranchId", + "ContactId", + "Location", + "Type" + ], + "groupByMetadata": [ + { + "displayName": { + "en-us": "AccountType" + }, + "fieldName": "AccountType", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "BranchId" + }, + "fieldName": "BranchId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "ContactId" + }, + "fieldName": "ContactId", + "fieldType": "Edm.Int32" + }, + { + "displayName": { + "en-us": "Location" + }, + "fieldName": "Location", + "fieldType": "Edm.String" + }, + { + "displayName": { + "en-us": "Type" + }, + "fieldName": "Type", + "fieldType": "Edm.String" + } + ], + "kpiName": "MonthlyDeposits", + "participantProfilesMetadata": [], + "provisioningState": "Succeeded", + "tenantId": "sdkTestHub", + "thresHolds": { + "increasingKpi": true, + "lowerLimit": 0, + "upperLimit": 0 + }, + "unit": "" + } + ] + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json index 601cc85f3181..3fad518ca871 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json @@ -1,156 +1,172 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "SavingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isRequired": true - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isRequired": true - }], - "schemaItemTypeLink": "SchemaItemTypeLink", - "smallImage": "\\\\Images\\\\smallImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "largeImage": "\\\\Images\\\\LargeImage" - } - } - }, - "responses": { - "202": { - - }, - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "SavingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isRequired": true + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isRequired": true + } + ], + "schemaItemTypeLink": "SchemaItemTypeLink", + "smallImage": "\\\\Images\\\\smallImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "largeImage": "\\\\Images\\\\LargeImage" + } + } + }, + "responses": { + "202": {}, + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json index ff9486f362a3..17435c69ab85 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json index ffeeb1edc348..0fca793d9440 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -1,104 +1,114 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "profileName": "TestProfileType396", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "profileName": "TestProfileType396", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json index 4442c3826d5d..5afff68434b9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json @@ -1,106 +1,118 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", - "name": "azSdkTestHub/TestProfileType396", - "properties": { - "strongIds": [{ - "keyPropertyNames": ["Id", - "savingAccountBalance"], - "strongIdName": "Id" - }, - { - "keyPropertyNames": ["ProfileId", - "LastName"], - "strongIdName": "ProfileId" - }, - { - "keyPropertyNames": ["ProfileId"], - "strongIdName": "ProfileId" - }], - "apiEntitySetName": "TestProfileType396", - "entityType": "Profile", - "fields": [{ - "fieldName": "Id", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "ProfileId", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "LastName", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "TestProfileType396", - "fieldType": "Edm.String", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }, - { - "fieldName": "SavingAccountBalance", - "fieldType": "Edm.Int32", - "isArray": false, - "isEnum": false, - "isFlagEnum": false, - "isImage": false, - "isLocalizedString": false, - "isName": false, - "isRequired": true, - "propertyId": "id1" - }], - "instancesCount": 0, - "provisioningState": "Provisioning", - "schemaItemTypeLink": "SchemaItemTypeLink", - "tenantId": "azsdktesthub", - "typeName": "TestProfileType396", - "largeImage": "\\\\Images\\\\LargeImage", - "mediumImage": "\\\\Images\\\\MediumImage", - "smallImage": "\\\\Images\\\\smallImage" - }, - "type": "Microsoft.CustomerInsights/hubs/profiles" - }], - "nextLink": "" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396", + "name": "azSdkTestHub/TestProfileType396", + "properties": { + "strongIds": [ + { + "keyPropertyNames": [ + "Id", + "savingAccountBalance" + ], + "strongIdName": "Id" + }, + { + "keyPropertyNames": [ + "ProfileId", + "LastName" + ], + "strongIdName": "ProfileId" + }, + { + "keyPropertyNames": [ + "ProfileId" + ], + "strongIdName": "ProfileId" + } + ], + "apiEntitySetName": "TestProfileType396", + "entityType": "Profile", + "fields": [ + { + "fieldName": "Id", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "ProfileId", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "LastName", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "TestProfileType396", + "fieldType": "Edm.String", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + }, + { + "fieldName": "SavingAccountBalance", + "fieldType": "Edm.Int32", + "isArray": false, + "isEnum": false, + "isFlagEnum": false, + "isImage": false, + "isLocalizedString": false, + "isName": false, + "isRequired": true, + "propertyId": "id1" + } + ], + "instancesCount": 0, + "provisioningState": "Provisioning", + "schemaItemTypeLink": "SchemaItemTypeLink", + "tenantId": "azsdktesthub", + "typeName": "TestProfileType396", + "largeImage": "\\\\Images\\\\LargeImage", + "mediumImage": "\\\\Images\\\\MediumImage", + "smallImage": "\\\\Images\\\\smallImage" + }, + "type": "Microsoft.CustomerInsights/hubs/profiles" + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json index 49c778ee9665..75acab7d4914 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json @@ -1,63 +1,69 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "displayName": { - "en-us": "Link DisplayName" - }, - "description": { - "en-us": "Link Description" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "displayName": { + "en-us": "Link DisplayName" + }, + "description": { + "en-us": "Link Description" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json index 373fd21aa152..0760121175c2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json index b19354bee869..193231fc3666 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -1,39 +1,43 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipLinkName": "Somelink", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipLinkName": "Somelink", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json index 220b1adccf7f..d9d63564955c 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json @@ -1,40 +1,46 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", - "name": "sdkTestHub/Somelink", - "properties": { - "description": { - "en-us": "Link Description" - }, - "displayName": { - "en-us": "Link DisplayName" - }, - "interactionType": "testInteraction4332", - "linkName": "Somelink", - "profilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "provisioningState": "Provisioning", - "relatedProfilePropertyReferences": [{ - "interactionPropertyName": "profile1", - "profilePropertyName": "ProfileId" - }], - "relationshipName": "testProfile2326994", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink", + "name": "sdkTestHub/Somelink", + "properties": { + "description": { + "en-us": "Link Description" + }, + "displayName": { + "en-us": "Link DisplayName" + }, + "interactionType": "testInteraction4332", + "linkName": "Somelink", + "profilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "provisioningState": "Provisioning", + "relatedProfilePropertyReferences": [ + { + "interactionPropertyName": "profile1", + "profilePropertyName": "ProfileId" + } + ], + "relationshipName": "testProfile2326994", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationshipLinks" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json index d6db25d0de72..7dda783d91f0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json @@ -1,51 +1,49 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "cardinality": "OneToOne", - "displayName": { - "en-us": "Relationship DisplayName" - }, - "description": { - "en-us": "Relationship Description" - }, - "fields": [], - "profileType": "testProfile2326994", - "relatedProfileType": "testProfile2326994" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "cardinality": "OneToOne", + "displayName": { + "en-us": "Relationship DisplayName" + }, + "description": { + "en-us": "Relationship Description" + }, + "fields": [], + "profileType": "testProfile2326994", + "relatedProfileType": "testProfile2326994" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json index a28259d3e262..b988c9aebeb2 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json @@ -1,17 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json index 7135827b9b34..33b86ccb1608 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -1,34 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "relationshipName": "SomeRelationship", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "relationshipName": "SomeRelationship", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json index 67ab7fdf6074..9ed418bd4c8a 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json @@ -1,35 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", - "name": "sdkTestHub/testProfile2326994", - "properties": { - "cardinality": "OneToOne", - "description": { - "en-us": "Relationship Description" - }, - "displayName": { - "en-us": "Relationship DisplayName" - }, - "fields": [], - "lookupMappings": [], - "profileType": "testProfile2326994", - "provisioningState": "Provisioning", - "relatedProfileType": "testProfile2326994", - "relationshipName": "SomeRelationship", - "tenantId": "sdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/relationships" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship", + "name": "sdkTestHub/testProfile2326994", + "properties": { + "cardinality": "OneToOne", + "description": { + "en-us": "Relationship Description" + }, + "displayName": { + "en-us": "Relationship DisplayName" + }, + "fields": [], + "lookupMappings": [], + "profileType": "testProfile2326994", + "provisioningState": "Provisioning", + "relatedProfileType": "testProfile2326994", + "relationshipName": "SomeRelationship", + "tenantId": "sdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/relationships" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json index eaab4cf33e00..a01f09cae88d 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json @@ -1,48 +1,50 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "role": "Admin", - "principals": [{ - "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15a5054f2b9948ae25724cf9d5", - "principalType": "User" - }] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - }, - "202": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "role": "Admin", + "principals": [ + { + "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15a5054f2b9948ae25724cf9d5", + "principalType": "User" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + }, + "202": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json index 3d09176089b2..b1c07bb61fa7 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json @@ -1,20 +1,14 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - }, - "202": { - - }, - "204": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json index a31f046442b8..fe43bff10e94 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -1,32 +1,34 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "assignmentName": "assignmentName8976", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "assignmentName": "assignmentName8976", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json index c126a24df81b..692b169a1337 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json @@ -1,33 +1,37 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", - "name": "azSdkTestHub/assignmentName8976", - "properties": { - "assignmentName": "assignmentName8976", - "principals": [{ - "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", - "principalType": "User" - }, - { - "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", - "principalType": "User" - }], - "provisioningState": "Provisioning", - "role": "Admin", - "tenantId": "azsdktesthub" - }, - "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976", + "name": "azSdkTestHub/assignmentName8976", + "properties": { + "assignmentName": "assignmentName8976", + "principals": [ + { + "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e", + "principalType": "User" + }, + { + "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5", + "principalType": "User" + } + ], + "provisioningState": "Provisioning", + "role": "Admin", + "tenantId": "azsdktesthub" + }, + "type": "Microsoft.CustomerInsights/hubs/RoleAssignments" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json index 183fc0add0b4..d2a7e225ad6f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json @@ -1,23 +1,25 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", - "name": "azSdkTestHub/Admin", - "properties": { - "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", - "roleName": "Admin" - }, - "type": "Microsoft.CustomerInsights/hubs/Roles" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin", + "name": "azSdkTestHub/Admin", + "properties": { + "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.", + "roleName": "Admin" + }, + "type": "Microsoft.CustomerInsights/hubs/Roles" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json index 983262206e7e..e0f701096211 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json @@ -1,36 +1,36 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "api-version": "2016-01-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "userId": "testUser", - "displayName": { - "en": "some name" - }, - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "api-version": "2016-01-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "userId": "testUser", + "displayName": { + "en": "some name" + }, + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json index 6cbd4c997f21..1466e13530a0 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json @@ -1,15 +1,13 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {} + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json index 63a648684119..c824b00d4dd9 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -1,28 +1,28 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "viewName": "testView", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "viewName": "testView", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json index 949fd4c32c86..34613c9b814f 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json @@ -1,29 +1,31 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "userId": "*", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", - "name": "sdkTestHub/testView", - "properties": { - "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", - "displayName": { - "en": "some name" - }, - "tenantId": "sdktesthub", - "userId": "*", - "viewName": "testView" - }, - "type": "Microsoft.CustomerInsights/hubs/views" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "userId": "*", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView", + "name": "sdkTestHub/testView", + "properties": { + "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}", + "displayName": { + "en": "some name" + }, + "tenantId": "sdktesthub", + "userId": "*", + "viewName": "testView" + }, + "type": "Microsoft.CustomerInsights/hubs/views" + } + ] + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json index 35507b6bd9ee..31edc695e598 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json @@ -1,26 +1,26 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "widgetTypeName": "ActivityGauge", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "widgetTypeName": "ActivityGauge", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + } + } +} diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json index 9796c694033c..0a778bb5d1f3 100644 --- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json @@ -1,40 +1,42 @@ { - "parameters": { - "hubName": "sdkTestHub", - "resourceGroupName": "TestHubRG", - "api-version": "2016-01-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", - "name": "sdkTestHub/ActivityGauge", - "properties": { - "widgetTypeName": "ActivityGauge", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }, - { - "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", - "name": "sdkTestHub/AsterChart", - "properties": { - "widgetTypeName": "AsterChart", - "tenantId": "*", - "description": "", - "definition": "", - "imageUrl": "", - "widgetVersion": "2016-01-01" - }, - "type": "Microsoft.CustomerInsights/hubs/widgetTypes" - }] - } - } - } -} \ No newline at end of file + "parameters": { + "hubName": "sdkTestHub", + "resourceGroupName": "TestHubRG", + "api-version": "2016-01-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge", + "name": "sdkTestHub/ActivityGauge", + "properties": { + "widgetTypeName": "ActivityGauge", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + }, + { + "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart", + "name": "sdkTestHub/AsterChart", + "properties": { + "widgetTypeName": "AsterChart", + "tenantId": "*", + "description": "", + "definition": "", + "imageUrl": "", + "widgetVersion": "2016-01-01" + }, + "type": "Microsoft.CustomerInsights/hubs/widgetTypes" + } + ] + } + } + } +}