|
583 | 583 | "200": { |
584 | 584 | "description": "If resource is retrieved successfully, the service should return 200 (OK).", |
585 | 585 | "schema": { |
586 | | - "$ref": "#/definitions/BotChannel" |
| 586 | + "$ref": "#/definitions/ListChannelWithKeysResponse" |
587 | 587 | } |
588 | 588 | }, |
589 | 589 | "default": { |
|
1456 | 1456 | }, |
1457 | 1457 | "kind": { |
1458 | 1458 | "$ref": "#/definitions/Kind", |
1459 | | - "description": "Required. Gets or sets the Kind of the resource." |
| 1459 | + "description": "Required. Gets or sets the Kind of the resource.", |
| 1460 | + "x-nullable": true |
1460 | 1461 | }, |
1461 | 1462 | "etag": { |
1462 | 1463 | "type": "string", |
|
1690 | 1691 | "type": "string", |
1691 | 1692 | "description": "The channel schema transformation version for the bot" |
1692 | 1693 | }, |
| 1694 | + "storageResourceId": { |
| 1695 | + "type": "string", |
| 1696 | + "description": "The storage resourceId for the bot" |
| 1697 | + }, |
1693 | 1698 | "privateEndpointConnections": { |
1694 | 1699 | "type": "array", |
1695 | 1700 | "readOnly": true, |
|
1740 | 1745 | }, |
1741 | 1746 | "description": "The list of bot service operation response." |
1742 | 1747 | }, |
| 1748 | + "ListChannelWithKeysResponse": { |
| 1749 | + "type": "object", |
| 1750 | + "description": "The ARM channel of list channel with keys operation response.", |
| 1751 | + "allOf": [ |
| 1752 | + { |
| 1753 | + "$ref": "#/definitions/BotChannel" |
| 1754 | + } |
| 1755 | + ], |
| 1756 | + "properties": { |
| 1757 | + "resource": { |
| 1758 | + "$ref": "#/definitions/Channel", |
| 1759 | + "description": "The set of properties specific to bot channel resource" |
| 1760 | + }, |
| 1761 | + "setting": { |
| 1762 | + "$ref": "#/definitions/ChannelSettings", |
| 1763 | + "description": "Channel settings" |
| 1764 | + } |
| 1765 | + } |
| 1766 | + }, |
1743 | 1767 | "BotChannel": { |
1744 | 1768 | "type": "object", |
1745 | 1769 | "description": "Bot channel resource definition", |
|
1755 | 1779 | } |
1756 | 1780 | } |
1757 | 1781 | }, |
| 1782 | + "ChannelSettings": { |
| 1783 | + "type": "object", |
| 1784 | + "description": "Channel settings definition", |
| 1785 | + "properties": { |
| 1786 | + "extensionKey1": { |
| 1787 | + "type": "string", |
| 1788 | + "description": "The extensionKey1" |
| 1789 | + }, |
| 1790 | + "extensionKey2": { |
| 1791 | + "type": "string", |
| 1792 | + "description": "The extensionKey2" |
| 1793 | + }, |
| 1794 | + "sites": { |
| 1795 | + "type": "array", |
| 1796 | + "items": { |
| 1797 | + "$ref": "#/definitions/Site" |
| 1798 | + }, |
| 1799 | + "description": "The list of sites" |
| 1800 | + }, |
| 1801 | + "channelId": { |
| 1802 | + "type": "string", |
| 1803 | + "description": "The channel id" |
| 1804 | + }, |
| 1805 | + "channelDisplayName": { |
| 1806 | + "type": "string", |
| 1807 | + "description": "The channel display name" |
| 1808 | + }, |
| 1809 | + "botId": { |
| 1810 | + "type": "string", |
| 1811 | + "description": "The bot id" |
| 1812 | + }, |
| 1813 | + "botIconUrl": { |
| 1814 | + "type": "string", |
| 1815 | + "description": "The bot icon url" |
| 1816 | + }, |
| 1817 | + "isEnabled": { |
| 1818 | + "type": "boolean", |
| 1819 | + "description": "Whether this channel is enabled for the bot" |
| 1820 | + }, |
| 1821 | + "disableLocalAuth": { |
| 1822 | + "type": "boolean", |
| 1823 | + "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." |
| 1824 | + } |
| 1825 | + } |
| 1826 | + }, |
1758 | 1827 | "Channel": { |
1759 | 1828 | "type": "object", |
1760 | 1829 | "description": "Channel definition", |
|
1767 | 1836 | "etag": { |
1768 | 1837 | "type": "string", |
1769 | 1838 | "description": "Entity Tag of the resource" |
| 1839 | + }, |
| 1840 | + "provisioningState": { |
| 1841 | + "type": "string", |
| 1842 | + "readOnly": true, |
| 1843 | + "description": "Provisioning state of the resource" |
| 1844 | + }, |
| 1845 | + "location": { |
| 1846 | + "description": "Specifies the location of the resource.", |
| 1847 | + "type": "string" |
1770 | 1848 | } |
1771 | 1849 | }, |
1772 | 1850 | "required": [ |
|
1786 | 1864 | "properties": { |
1787 | 1865 | "$ref": "#/definitions/AlexaChannelProperties", |
1788 | 1866 | "description": "The set of properties specific to Alexa channel resource" |
1789 | | - }, |
1790 | | - "etag": { |
1791 | | - "type": "string", |
1792 | | - "description": "Entity Tag of the resource" |
1793 | | - }, |
1794 | | - "provisioningState": { |
1795 | | - "type": "string", |
1796 | | - "readOnly": true, |
1797 | | - "description": "Provisioning state of the resource" |
1798 | 1867 | } |
1799 | 1868 | } |
1800 | 1869 | }, |
|
1838 | 1907 | "properties": { |
1839 | 1908 | "$ref": "#/definitions/FacebookChannelProperties", |
1840 | 1909 | "description": "The set of properties specific to bot facebook channel" |
1841 | | - }, |
1842 | | - "provisioningState": { |
1843 | | - "type": "string", |
1844 | | - "description": "Provisioning state of the resource" |
1845 | | - }, |
1846 | | - "location": { |
1847 | | - "type": "string", |
1848 | | - "description": "Location of the resource" |
1849 | 1910 | } |
1850 | 1911 | } |
1851 | 1912 | }, |
|
1919 | 1980 | "properties": { |
1920 | 1981 | "$ref": "#/definitions/EmailChannelProperties", |
1921 | 1982 | "description": "The set of properties specific to email channel resource" |
1922 | | - }, |
1923 | | - "etag": { |
1924 | | - "type": "string", |
1925 | | - "description": "Entity Tag of the resource" |
1926 | | - }, |
1927 | | - "provisioningState": { |
1928 | | - "type": "string", |
1929 | | - "description": "Provisioning state of the resource" |
1930 | 1983 | } |
1931 | 1984 | } |
1932 | 1985 | }, |
|
1964 | 2017 | "properties": { |
1965 | 2018 | "$ref": "#/definitions/MsTeamsChannelProperties", |
1966 | 2019 | "description": "The set of properties specific to Microsoft Teams channel resource" |
1967 | | - }, |
1968 | | - "etag": { |
1969 | | - "type": "string", |
1970 | | - "description": "Entity Tag of the resource" |
1971 | | - }, |
1972 | | - "provisioningState": { |
1973 | | - "type": "string", |
1974 | | - "description": "Provisioning state of the resource" |
1975 | | - }, |
1976 | | - "location": { |
1977 | | - "type": "string", |
1978 | | - "description": "Location of the resource" |
1979 | 2020 | } |
1980 | 2021 | } |
1981 | 2022 | }, |
|
2024 | 2065 | "properties": { |
2025 | 2066 | "$ref": "#/definitions/SkypeChannelProperties", |
2026 | 2067 | "description": "The set of properties specific to Skype channel resource" |
2027 | | - }, |
2028 | | - "etag": { |
2029 | | - "type": "string", |
2030 | | - "description": "Entity Tag of the resource" |
2031 | 2068 | } |
2032 | 2069 | } |
2033 | 2070 | }, |
|
2133 | 2170 | "properties": { |
2134 | 2171 | "$ref": "#/definitions/WebChatChannelProperties", |
2135 | 2172 | "description": "The set of properties specific to Web Chat channel resource" |
2136 | | - }, |
2137 | | - "location": { |
2138 | | - "type": "string", |
2139 | | - "description": "Location of the resource" |
2140 | | - }, |
2141 | | - "provisioningState": { |
2142 | | - "type": "string", |
2143 | | - "description": "Provisioning state of the resource" |
2144 | | - }, |
2145 | | - "etag": { |
2146 | | - "type": "string", |
2147 | | - "description": "Entity Tag of the resource" |
2148 | 2173 | } |
2149 | 2174 | } |
2150 | 2175 | }, |
|
2181 | 2206 | "properties": { |
2182 | 2207 | "$ref": "#/definitions/DirectLineChannelProperties", |
2183 | 2208 | "description": "The set of properties specific to Direct Line channel resource" |
2184 | | - }, |
2185 | | - "etag": { |
2186 | | - "type": "string", |
2187 | | - "description": "Entity Tag of the resource" |
2188 | | - }, |
2189 | | - "provisioningState": { |
2190 | | - "type": "string", |
2191 | | - "description": "Provisioning state of the resource" |
2192 | | - }, |
2193 | | - "location": { |
2194 | | - "type": "string", |
2195 | | - "description": "Location of the resource" |
2196 | 2209 | } |
2197 | 2210 | } |
2198 | 2211 | }, |
|
2225 | 2238 | "properties": { |
2226 | 2239 | "$ref": "#/definitions/TelegramChannelProperties", |
2227 | 2240 | "description": "The set of properties specific to Telegram channel resource" |
2228 | | - }, |
2229 | | - "etag": { |
2230 | | - "type": "string", |
2231 | | - "description": "Entity Tag of the resource" |
2232 | | - }, |
2233 | | - "provisioningState": { |
2234 | | - "type": "string", |
2235 | | - "description": "Provisioning state of the resource" |
2236 | 2241 | } |
2237 | 2242 | } |
2238 | 2243 | }, |
|
2270 | 2275 | "properties": { |
2271 | 2276 | "$ref": "#/definitions/SmsChannelProperties", |
2272 | 2277 | "description": "The set of properties specific to Sms channel resource" |
2273 | | - }, |
2274 | | - "etag": { |
2275 | | - "type": "string", |
2276 | | - "description": "Entity Tag of the resource" |
2277 | 2278 | } |
2278 | 2279 | } |
2279 | 2280 | }, |
|
2321 | 2322 | "properties": { |
2322 | 2323 | "$ref": "#/definitions/SlackChannelProperties", |
2323 | 2324 | "description": "The set of properties specific to Slack channel resource" |
2324 | | - }, |
2325 | | - "etag": { |
2326 | | - "type": "string", |
2327 | | - "description": "Entity Tag of the resource" |
2328 | | - }, |
2329 | | - "location": { |
2330 | | - "type": "string", |
2331 | | - "description": "Location of the resource" |
2332 | 2325 | } |
2333 | 2326 | } |
2334 | 2327 | }, |
|
2468 | 2461 | "properties": { |
2469 | 2462 | "$ref": "#/definitions/DirectLineSpeechChannelProperties", |
2470 | 2463 | "description": "The set of properties specific to DirectLine Speech channel resource" |
2471 | | - }, |
2472 | | - "provisioningState": { |
2473 | | - "type": "string", |
2474 | | - "description": "Provisioning state of the resource" |
2475 | | - }, |
2476 | | - "etag": { |
2477 | | - "type": "string", |
2478 | | - "description": "Entity Tag of the resource" |
2479 | 2464 | } |
2480 | 2465 | } |
2481 | 2466 | }, |
|
2566 | 2551 | }, |
2567 | 2552 | "isWebchatPreviewEnabled": { |
2568 | 2553 | "type": "boolean", |
2569 | | - "description": "Whether this site is enabled for preview versions of Webchat" |
| 2554 | + "description": "Whether this site is enabled for preview versions of Webchat", |
| 2555 | + "default": false |
2570 | 2556 | } |
2571 | 2557 | }, |
2572 | 2558 | "required": [ |
|
2642 | 2628 | "siteName" |
2643 | 2629 | ] |
2644 | 2630 | }, |
| 2631 | + "Site": { |
| 2632 | + "type": "object", |
| 2633 | + "allOf": [ |
| 2634 | + { |
| 2635 | + "$ref": "#/definitions/WebChatSite" |
| 2636 | + }, |
| 2637 | + { |
| 2638 | + "$ref": "#/definitions/DirectLineSite" |
| 2639 | + } |
| 2640 | + ], |
| 2641 | + "properties": { |
| 2642 | + "isTokenEnabled": { |
| 2643 | + "type": "boolean", |
| 2644 | + "description": "Whether this site is token enabled for channel" |
| 2645 | + }, |
| 2646 | + "eTag": { |
| 2647 | + "type": "string", |
| 2648 | + "description": "Entity Tag" |
| 2649 | + } |
| 2650 | + }, |
| 2651 | + "description": "A site for the channel" |
| 2652 | + }, |
2645 | 2653 | "SiteInfo": { |
2646 | 2654 | "properties": { |
2647 | 2655 | "siteName": { |
|
2686 | 2694 | }, |
2687 | 2695 | "value": { |
2688 | 2696 | "type": "string", |
2689 | | - "description": "Value associated with the Connection Setting Parameter." |
| 2697 | + "description": "Value associated with the Connection Setting Parameter.", |
| 2698 | + "x-nullable": true |
2690 | 2699 | } |
2691 | 2700 | }, |
2692 | 2701 | "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" |
2693 | 2702 | }, |
2694 | 2703 | "ConnectionSettingProperties": { |
2695 | 2704 | "properties": { |
| 2705 | + "id": { |
| 2706 | + "type": "string", |
| 2707 | + "description": "Id associated with the Connection Setting." |
| 2708 | + }, |
| 2709 | + "name": { |
| 2710 | + "type": "string", |
| 2711 | + "description": "Name associated with the Connection Setting." |
| 2712 | + }, |
2696 | 2713 | "clientId": { |
2697 | 2714 | "type": "string", |
2698 | 2715 | "description": "Client Id associated with the Connection Setting." |
|
0 commit comments