@azure/arm-search 1.3.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -96
  4. package/dist/index.js +2926 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +692 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +21 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +35 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +1013 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +22 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +182 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/adminKeys.d.ts +33 -0
  29. package/dist-esm/src/operations/adminKeys.d.ts.map +1 -0
  30. package/dist-esm/src/operations/adminKeys.js +90 -0
  31. package/dist-esm/src/operations/adminKeys.js.map +1 -0
  32. package/dist-esm/src/operations/index.d.ts +8 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/dist-esm/src/operations/index.js +15 -0
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +26 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +90 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/privateEndpointConnections.d.ts +79 -0
  41. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  42. package/dist-esm/src/operations/privateEndpointConnections.js +273 -0
  43. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  44. package/dist-esm/src/operations/privateLinkResources.d.ts +34 -0
  45. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  46. package/dist-esm/src/operations/privateLinkResources.js +103 -0
  47. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  48. package/dist-esm/src/operations/queryKeys.d.ts +66 -0
  49. package/dist-esm/src/operations/queryKeys.d.ts.map +1 -0
  50. package/dist-esm/src/operations/queryKeys.js +213 -0
  51. package/dist-esm/src/operations/queryKeys.js.map +1 -0
  52. package/dist-esm/src/operations/services.d.ts +123 -0
  53. package/dist-esm/src/operations/services.d.ts.map +1 -0
  54. package/dist-esm/src/operations/services.js +475 -0
  55. package/dist-esm/src/operations/services.js.map +1 -0
  56. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +107 -0
  57. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  58. package/dist-esm/src/operations/sharedPrivateLinkResources.js +379 -0
  59. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +25 -0
  61. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/adminKeys.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/adminKeys.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +37 -0
  81. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/queryKeys.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/queryKeys.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/services.d.ts +85 -0
  85. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  89. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  92. package/dist-esm/src/searchManagementClient.d.ts +25 -0
  93. package/dist-esm/src/searchManagementClient.d.ts.map +1 -0
  94. package/dist-esm/src/searchManagementClient.js +58 -0
  95. package/dist-esm/src/searchManagementClient.js.map +1 -0
  96. package/dist-esm/test/search_examples.d.ts +4 -0
  97. package/dist-esm/test/search_examples.d.ts.map +1 -0
  98. package/dist-esm/test/search_examples.js +163 -0
  99. package/dist-esm/test/search_examples.js.map +1 -0
  100. package/package.json +70 -34
  101. package/review/arm-search.api.md +600 -0
  102. package/rollup.config.js +184 -27
  103. package/src/index.ts +12 -0
  104. package/src/lroImpl.ts +34 -0
  105. package/src/models/index.ts +837 -0
  106. package/src/models/mappers.ts +1092 -0
  107. package/src/models/parameters.ts +213 -0
  108. package/src/operations/adminKeys.ts +122 -0
  109. package/{lib → src}/operations/index.ts +6 -5
  110. package/src/operations/operations.ts +98 -0
  111. package/src/operations/privateEndpointConnections.ts +363 -0
  112. package/src/operations/privateLinkResources.ts +139 -0
  113. package/src/operations/queryKeys.ts +288 -0
  114. package/src/operations/services.ts +606 -0
  115. package/src/operations/sharedPrivateLinkResources.ts +525 -0
  116. package/src/operationsInterfaces/adminKeys.ts +48 -0
  117. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  118. package/src/operationsInterfaces/operations.ts +22 -0
  119. package/src/operationsInterfaces/privateEndpointConnections.ts +88 -0
  120. package/src/operationsInterfaces/privateLinkResources.ts +31 -0
  121. package/src/operationsInterfaces/queryKeys.ts +66 -0
  122. package/src/operationsInterfaces/services.ts +144 -0
  123. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +131 -0
  124. package/src/searchManagementClient.ts +104 -0
  125. package/tsconfig.json +4 -4
  126. package/types/arm-search.d.ts +1104 -0
  127. package/types/tsdoc-metadata.json +11 -0
  128. package/dist/arm-search.js +0 -1329
  129. package/dist/arm-search.js.map +0 -1
  130. package/dist/arm-search.min.js +0 -1
  131. package/dist/arm-search.min.js.map +0 -1
  132. package/esm/models/adminKeysMappers.d.ts +0 -2
  133. package/esm/models/adminKeysMappers.d.ts.map +0 -1
  134. package/esm/models/adminKeysMappers.js +0 -11
  135. package/esm/models/adminKeysMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -788
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js +0 -10
  139. package/esm/models/index.js.map +0 -1
  140. package/esm/models/mappers.d.ts +0 -18
  141. package/esm/models/mappers.d.ts.map +0 -1
  142. package/esm/models/mappers.js +0 -438
  143. package/esm/models/mappers.js.map +0 -1
  144. package/esm/models/operationsMappers.d.ts +0 -2
  145. package/esm/models/operationsMappers.d.ts.map +0 -1
  146. package/esm/models/operationsMappers.js +0 -11
  147. package/esm/models/operationsMappers.js.map +0 -1
  148. package/esm/models/parameters.d.ts +0 -11
  149. package/esm/models/parameters.d.ts.map +0 -1
  150. package/esm/models/parameters.js +0 -107
  151. package/esm/models/parameters.js.map +0 -1
  152. package/esm/models/queryKeysMappers.d.ts +0 -2
  153. package/esm/models/queryKeysMappers.d.ts.map +0 -1
  154. package/esm/models/queryKeysMappers.js +0 -11
  155. package/esm/models/queryKeysMappers.js.map +0 -1
  156. package/esm/models/servicesMappers.d.ts +0 -2
  157. package/esm/models/servicesMappers.d.ts.map +0 -1
  158. package/esm/models/servicesMappers.js +0 -11
  159. package/esm/models/servicesMappers.js.map +0 -1
  160. package/esm/operations/adminKeys.d.ts +0 -74
  161. package/esm/operations/adminKeys.d.ts.map +0 -1
  162. package/esm/operations/adminKeys.js +0 -93
  163. package/esm/operations/adminKeys.js.map +0 -1
  164. package/esm/operations/index.d.ts +0 -5
  165. package/esm/operations/index.d.ts.map +0 -1
  166. package/esm/operations/index.js.map +0 -1
  167. package/esm/operations/operations.d.ts +0 -28
  168. package/esm/operations/operations.d.ts.map +0 -1
  169. package/esm/operations/operations.js +0 -51
  170. package/esm/operations/operations.js.map +0 -1
  171. package/esm/operations/queryKeys.d.ts +0 -102
  172. package/esm/operations/queryKeys.d.ts.map +0 -1
  173. package/esm/operations/queryKeys.js +0 -127
  174. package/esm/operations/queryKeys.js.map +0 -1
  175. package/esm/operations/services.d.ts +0 -174
  176. package/esm/operations/services.d.ts.map +0 -1
  177. package/esm/operations/services.js +0 -268
  178. package/esm/operations/services.js.map +0 -1
  179. package/esm/searchManagementClient.d.ts +0 -22
  180. package/esm/searchManagementClient.d.ts.map +0 -1
  181. package/esm/searchManagementClient.js +0 -37
  182. package/esm/searchManagementClient.js.map +0 -1
  183. package/esm/searchManagementClientContext.d.ts +0 -17
  184. package/esm/searchManagementClientContext.d.ts.map +0 -1
  185. package/esm/searchManagementClientContext.js +0 -57
  186. package/esm/searchManagementClientContext.js.map +0 -1
  187. package/lib/models/adminKeysMappers.ts +0 -15
  188. package/lib/models/index.ts +0 -842
  189. package/lib/models/mappers.ts +0 -462
  190. package/lib/models/operationsMappers.ts +0 -17
  191. package/lib/models/parameters.ts +0 -109
  192. package/lib/models/queryKeysMappers.ts +0 -16
  193. package/lib/models/servicesMappers.ts +0 -22
  194. package/lib/operations/adminKeys.ts +0 -167
  195. package/lib/operations/operations.ts +0 -74
  196. package/lib/operations/queryKeys.ts +0 -234
  197. package/lib/operations/services.ts +0 -439
  198. package/lib/searchManagementClient.ts +0 -49
  199. package/lib/searchManagementClientContext.ts +0 -63
@@ -1,174 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { SearchManagementClientContext } from "../searchManagementClientContext";
5
- /** Class representing a Services. */
6
- export declare class Services {
7
- private readonly client;
8
- /**
9
- * Create a Services.
10
- * @param {SearchManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: SearchManagementClientContext);
13
- /**
14
- * Creates or updates a Search service in the given resource group. If the Search service already
15
- * exists, all properties will be updated with the given values.
16
- * @param resourceGroupName The name of the resource group within the current subscription. You can
17
- * obtain this value from the Azure Resource Manager API or the portal.
18
- * @param searchServiceName The name of the Azure Search service to create or update. Search
19
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the
20
- * first two or last one characters, cannot contain consecutive dashes, and must be between 2 and
21
- * 60 characters in length. Search service names must be globally unique since they are part of the
22
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
23
- * service is created.
24
- * @param service The definition of the Search service to create or update.
25
- * @param [options] The optional parameters
26
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
27
- */
28
- createOrUpdate(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options?: Models.ServicesCreateOrUpdateOptionalParams): Promise<Models.ServicesCreateOrUpdateResponse>;
29
- /**
30
- * Updates an existing Search service in the given resource group.
31
- * @param resourceGroupName The name of the resource group within the current subscription. You can
32
- * obtain this value from the Azure Resource Manager API or the portal.
33
- * @param searchServiceName The name of the Azure Search service to update.
34
- * @param service The definition of the Search service to update.
35
- * @param [options] The optional parameters
36
- * @returns Promise<Models.ServicesUpdateResponse>
37
- */
38
- update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options?: Models.ServicesUpdateOptionalParams): Promise<Models.ServicesUpdateResponse>;
39
- /**
40
- * @param resourceGroupName The name of the resource group within the current subscription. You can
41
- * obtain this value from the Azure Resource Manager API or the portal.
42
- * @param searchServiceName The name of the Azure Search service to update.
43
- * @param service The definition of the Search service to update.
44
- * @param callback The callback
45
- */
46
- update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, callback: msRest.ServiceCallback<Models.SearchService>): void;
47
- /**
48
- * @param resourceGroupName The name of the resource group within the current subscription. You can
49
- * obtain this value from the Azure Resource Manager API or the portal.
50
- * @param searchServiceName The name of the Azure Search service to update.
51
- * @param service The definition of the Search service to update.
52
- * @param options The optional parameters
53
- * @param callback The callback
54
- */
55
- update(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options: Models.ServicesUpdateOptionalParams, callback: msRest.ServiceCallback<Models.SearchService>): void;
56
- /**
57
- * Gets the Search service with the given name in the given resource group.
58
- * @param resourceGroupName The name of the resource group within the current subscription. You can
59
- * obtain this value from the Azure Resource Manager API or the portal.
60
- * @param searchServiceName The name of the Azure Search service associated with the specified
61
- * resource group.
62
- * @param [options] The optional parameters
63
- * @returns Promise<Models.ServicesGetResponse>
64
- */
65
- get(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesGetOptionalParams): Promise<Models.ServicesGetResponse>;
66
- /**
67
- * @param resourceGroupName The name of the resource group within the current subscription. You can
68
- * obtain this value from the Azure Resource Manager API or the portal.
69
- * @param searchServiceName The name of the Azure Search service associated with the specified
70
- * resource group.
71
- * @param callback The callback
72
- */
73
- get(resourceGroupName: string, searchServiceName: string, callback: msRest.ServiceCallback<Models.SearchService>): void;
74
- /**
75
- * @param resourceGroupName The name of the resource group within the current subscription. You can
76
- * obtain this value from the Azure Resource Manager API or the portal.
77
- * @param searchServiceName The name of the Azure Search service associated with the specified
78
- * resource group.
79
- * @param options The optional parameters
80
- * @param callback The callback
81
- */
82
- get(resourceGroupName: string, searchServiceName: string, options: Models.ServicesGetOptionalParams, callback: msRest.ServiceCallback<Models.SearchService>): void;
83
- /**
84
- * Deletes a Search service in the given resource group, along with its associated resources.
85
- * @param resourceGroupName The name of the resource group within the current subscription. You can
86
- * obtain this value from the Azure Resource Manager API or the portal.
87
- * @param searchServiceName The name of the Azure Search service associated with the specified
88
- * resource group.
89
- * @param [options] The optional parameters
90
- * @returns Promise<msRest.RestResponse>
91
- */
92
- deleteMethod(resourceGroupName: string, searchServiceName: string, options?: Models.ServicesDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
93
- /**
94
- * @param resourceGroupName The name of the resource group within the current subscription. You can
95
- * obtain this value from the Azure Resource Manager API or the portal.
96
- * @param searchServiceName The name of the Azure Search service associated with the specified
97
- * resource group.
98
- * @param callback The callback
99
- */
100
- deleteMethod(resourceGroupName: string, searchServiceName: string, callback: msRest.ServiceCallback<void>): void;
101
- /**
102
- * @param resourceGroupName The name of the resource group within the current subscription. You can
103
- * obtain this value from the Azure Resource Manager API or the portal.
104
- * @param searchServiceName The name of the Azure Search service associated with the specified
105
- * resource group.
106
- * @param options The optional parameters
107
- * @param callback The callback
108
- */
109
- deleteMethod(resourceGroupName: string, searchServiceName: string, options: Models.ServicesDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
110
- /**
111
- * Gets a list of all Search services in the given resource group.
112
- * @param resourceGroupName The name of the resource group within the current subscription. You can
113
- * obtain this value from the Azure Resource Manager API or the portal.
114
- * @param [options] The optional parameters
115
- * @returns Promise<Models.ServicesListByResourceGroupResponse>
116
- */
117
- listByResourceGroup(resourceGroupName: string, options?: Models.ServicesListByResourceGroupOptionalParams): Promise<Models.ServicesListByResourceGroupResponse>;
118
- /**
119
- * @param resourceGroupName The name of the resource group within the current subscription. You can
120
- * obtain this value from the Azure Resource Manager API or the portal.
121
- * @param callback The callback
122
- */
123
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.SearchServiceListResult>): void;
124
- /**
125
- * @param resourceGroupName The name of the resource group within the current subscription. You can
126
- * obtain this value from the Azure Resource Manager API or the portal.
127
- * @param options The optional parameters
128
- * @param callback The callback
129
- */
130
- listByResourceGroup(resourceGroupName: string, options: Models.ServicesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<Models.SearchServiceListResult>): void;
131
- /**
132
- * Checks whether or not the given Search service name is available for use. Search service names
133
- * must be globally unique since they are part of the service URI
134
- * (https://<name>.search.windows.net).
135
- * @param name The Search service name to validate. Search service names must only contain
136
- * lowercase letters, digits or dashes, cannot use dash as the first two or last one characters,
137
- * cannot contain consecutive dashes, and must be between 2 and 60 characters in length.
138
- * @param [options] The optional parameters
139
- * @returns Promise<Models.ServicesCheckNameAvailabilityResponse>
140
- */
141
- checkNameAvailability(name: string, options?: Models.ServicesCheckNameAvailabilityOptionalParams): Promise<Models.ServicesCheckNameAvailabilityResponse>;
142
- /**
143
- * @param name The Search service name to validate. Search service names must only contain
144
- * lowercase letters, digits or dashes, cannot use dash as the first two or last one characters,
145
- * cannot contain consecutive dashes, and must be between 2 and 60 characters in length.
146
- * @param callback The callback
147
- */
148
- checkNameAvailability(name: string, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityOutput>): void;
149
- /**
150
- * @param name The Search service name to validate. Search service names must only contain
151
- * lowercase letters, digits or dashes, cannot use dash as the first two or last one characters,
152
- * cannot contain consecutive dashes, and must be between 2 and 60 characters in length.
153
- * @param options The optional parameters
154
- * @param callback The callback
155
- */
156
- checkNameAvailability(name: string, options: Models.ServicesCheckNameAvailabilityOptionalParams, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityOutput>): void;
157
- /**
158
- * Creates or updates a Search service in the given resource group. If the Search service already
159
- * exists, all properties will be updated with the given values.
160
- * @param resourceGroupName The name of the resource group within the current subscription. You can
161
- * obtain this value from the Azure Resource Manager API or the portal.
162
- * @param searchServiceName The name of the Azure Search service to create or update. Search
163
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the
164
- * first two or last one characters, cannot contain consecutive dashes, and must be between 2 and
165
- * 60 characters in length. Search service names must be globally unique since they are part of the
166
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
167
- * service is created.
168
- * @param service The definition of the Search service to create or update.
169
- * @param [options] The optional parameters
170
- * @returns Promise<msRestAzure.LROPoller>
171
- */
172
- beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, service: Models.SearchService, options?: Models.ServicesBeginCreateOrUpdateOptionalParams): Promise<msRestAzure.LROPoller>;
173
- }
174
- //# sourceMappingURL=services.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../lib/operations/services.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS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AO,CAAC,EAAE,MAAM,CAAC,2CAA2C,GAAG,OAAO,CAAC,MAAM,CAAC,qCAAqC,CAAC;IACxJ;;;;;OAKG;IACH,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,2BAA2B,CAAC,GAAG,IAAI;IAC/G;;;;;;OAMG;IACH,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,2CAA2C,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,2BAA2B,CAAC,GAAG,IAAI;IAW5K;;;;;;;;;;;;;;OAcG;IACH,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,yCAAyC,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAWrM"}
@@ -1,268 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/servicesMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Services. */
15
- var Services = /** @class */ (function () {
16
- /**
17
- * Create a Services.
18
- * @param {SearchManagementClientContext} client Reference to the service client.
19
- */
20
- function Services(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Creates or updates a Search service in the given resource group. If the Search service already
25
- * exists, all properties will be updated with the given values.
26
- * @param resourceGroupName The name of the resource group within the current subscription. You can
27
- * obtain this value from the Azure Resource Manager API or the portal.
28
- * @param searchServiceName The name of the Azure Search service to create or update. Search
29
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the
30
- * first two or last one characters, cannot contain consecutive dashes, and must be between 2 and
31
- * 60 characters in length. Search service names must be globally unique since they are part of the
32
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
33
- * service is created.
34
- * @param service The definition of the Search service to create or update.
35
- * @param [options] The optional parameters
36
- * @returns Promise<Models.ServicesCreateOrUpdateResponse>
37
- */
38
- Services.prototype.createOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
39
- return this.beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options)
40
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
41
- };
42
- Services.prototype.update = function (resourceGroupName, searchServiceName, service, options, callback) {
43
- return this.client.sendOperationRequest({
44
- resourceGroupName: resourceGroupName,
45
- searchServiceName: searchServiceName,
46
- service: service,
47
- options: options
48
- }, updateOperationSpec, callback);
49
- };
50
- Services.prototype.get = function (resourceGroupName, searchServiceName, options, callback) {
51
- return this.client.sendOperationRequest({
52
- resourceGroupName: resourceGroupName,
53
- searchServiceName: searchServiceName,
54
- options: options
55
- }, getOperationSpec, callback);
56
- };
57
- Services.prototype.deleteMethod = function (resourceGroupName, searchServiceName, options, callback) {
58
- return this.client.sendOperationRequest({
59
- resourceGroupName: resourceGroupName,
60
- searchServiceName: searchServiceName,
61
- options: options
62
- }, deleteMethodOperationSpec, callback);
63
- };
64
- Services.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
65
- return this.client.sendOperationRequest({
66
- resourceGroupName: resourceGroupName,
67
- options: options
68
- }, listByResourceGroupOperationSpec, callback);
69
- };
70
- Services.prototype.checkNameAvailability = function (name, options, callback) {
71
- return this.client.sendOperationRequest({
72
- name: name,
73
- options: options
74
- }, checkNameAvailabilityOperationSpec, callback);
75
- };
76
- /**
77
- * Creates or updates a Search service in the given resource group. If the Search service already
78
- * exists, all properties will be updated with the given values.
79
- * @param resourceGroupName The name of the resource group within the current subscription. You can
80
- * obtain this value from the Azure Resource Manager API or the portal.
81
- * @param searchServiceName The name of the Azure Search service to create or update. Search
82
- * service names must only contain lowercase letters, digits or dashes, cannot use dash as the
83
- * first two or last one characters, cannot contain consecutive dashes, and must be between 2 and
84
- * 60 characters in length. Search service names must be globally unique since they are part of the
85
- * service URI (https://<name>.search.windows.net). You cannot change the service name after the
86
- * service is created.
87
- * @param service The definition of the Search service to create or update.
88
- * @param [options] The optional parameters
89
- * @returns Promise<msRestAzure.LROPoller>
90
- */
91
- Services.prototype.beginCreateOrUpdate = function (resourceGroupName, searchServiceName, service, options) {
92
- return this.client.sendLRORequest({
93
- resourceGroupName: resourceGroupName,
94
- searchServiceName: searchServiceName,
95
- service: service,
96
- options: options
97
- }, beginCreateOrUpdateOperationSpec, options);
98
- };
99
- return Services;
100
- }());
101
- export { Services };
102
- // Operation Specifications
103
- var serializer = new msRest.Serializer(Mappers);
104
- var updateOperationSpec = {
105
- httpMethod: "PATCH",
106
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
107
- urlParameters: [
108
- Parameters.resourceGroupName,
109
- Parameters.searchServiceName,
110
- Parameters.subscriptionId
111
- ],
112
- queryParameters: [
113
- Parameters.apiVersion
114
- ],
115
- headerParameters: [
116
- Parameters.acceptLanguage,
117
- Parameters.clientRequestId
118
- ],
119
- requestBody: {
120
- parameterPath: "service",
121
- mapper: tslib_1.__assign({}, Mappers.SearchService, { required: true })
122
- },
123
- responses: {
124
- 200: {
125
- bodyMapper: Mappers.SearchService
126
- },
127
- default: {
128
- bodyMapper: Mappers.CloudError
129
- }
130
- },
131
- serializer: serializer
132
- };
133
- var getOperationSpec = {
134
- httpMethod: "GET",
135
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
136
- urlParameters: [
137
- Parameters.resourceGroupName,
138
- Parameters.searchServiceName,
139
- Parameters.subscriptionId
140
- ],
141
- queryParameters: [
142
- Parameters.apiVersion
143
- ],
144
- headerParameters: [
145
- Parameters.acceptLanguage,
146
- Parameters.clientRequestId
147
- ],
148
- responses: {
149
- 200: {
150
- bodyMapper: Mappers.SearchService
151
- },
152
- default: {
153
- bodyMapper: Mappers.CloudError
154
- }
155
- },
156
- serializer: serializer
157
- };
158
- var deleteMethodOperationSpec = {
159
- httpMethod: "DELETE",
160
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
161
- urlParameters: [
162
- Parameters.resourceGroupName,
163
- Parameters.searchServiceName,
164
- Parameters.subscriptionId
165
- ],
166
- queryParameters: [
167
- Parameters.apiVersion
168
- ],
169
- headerParameters: [
170
- Parameters.acceptLanguage,
171
- Parameters.clientRequestId
172
- ],
173
- responses: {
174
- 200: {},
175
- 204: {},
176
- 404: {},
177
- default: {
178
- bodyMapper: Mappers.CloudError
179
- }
180
- },
181
- serializer: serializer
182
- };
183
- var listByResourceGroupOperationSpec = {
184
- httpMethod: "GET",
185
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices",
186
- urlParameters: [
187
- Parameters.resourceGroupName,
188
- Parameters.subscriptionId
189
- ],
190
- queryParameters: [
191
- Parameters.apiVersion
192
- ],
193
- headerParameters: [
194
- Parameters.acceptLanguage,
195
- Parameters.clientRequestId
196
- ],
197
- responses: {
198
- 200: {
199
- bodyMapper: Mappers.SearchServiceListResult
200
- },
201
- default: {
202
- bodyMapper: Mappers.CloudError
203
- }
204
- },
205
- serializer: serializer
206
- };
207
- var checkNameAvailabilityOperationSpec = {
208
- httpMethod: "POST",
209
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability",
210
- urlParameters: [
211
- Parameters.subscriptionId
212
- ],
213
- queryParameters: [
214
- Parameters.apiVersion
215
- ],
216
- headerParameters: [
217
- Parameters.acceptLanguage,
218
- Parameters.clientRequestId
219
- ],
220
- requestBody: {
221
- parameterPath: {
222
- name: "name"
223
- },
224
- mapper: tslib_1.__assign({}, Mappers.CheckNameAvailabilityInput, { required: true })
225
- },
226
- responses: {
227
- 200: {
228
- bodyMapper: Mappers.CheckNameAvailabilityOutput
229
- },
230
- default: {
231
- bodyMapper: Mappers.CloudError
232
- }
233
- },
234
- serializer: serializer
235
- };
236
- var beginCreateOrUpdateOperationSpec = {
237
- httpMethod: "PUT",
238
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
239
- urlParameters: [
240
- Parameters.resourceGroupName,
241
- Parameters.searchServiceName,
242
- Parameters.subscriptionId
243
- ],
244
- queryParameters: [
245
- Parameters.apiVersion
246
- ],
247
- headerParameters: [
248
- Parameters.acceptLanguage,
249
- Parameters.clientRequestId
250
- ],
251
- requestBody: {
252
- parameterPath: "service",
253
- mapper: tslib_1.__assign({}, Mappers.SearchService, { required: true })
254
- },
255
- responses: {
256
- 200: {
257
- bodyMapper: Mappers.SearchService
258
- },
259
- 201: {
260
- bodyMapper: Mappers.SearchService
261
- },
262
- default: {
263
- bodyMapper: Mappers.CloudError
264
- }
265
- },
266
- serializer: serializer
267
- };
268
- //# sourceMappingURL=services.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../lib/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,iCAAc,GAAd,UAAe,iBAAyB,EAAE,iBAAyB,EAAE,OAA6B,EAAE,OAAqD;QACvJ,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC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azure/ms-rest-js";
2
- import * as Models from "./models";
3
- import * as Mappers from "./models/mappers";
4
- import * as operations from "./operations";
5
- import { SearchManagementClientContext } from "./searchManagementClientContext";
6
- declare class SearchManagementClient extends SearchManagementClientContext {
7
- operations: operations.Operations;
8
- adminKeys: operations.AdminKeys;
9
- queryKeys: operations.QueryKeys;
10
- services: operations.Services;
11
- /**
12
- * Initializes a new instance of the SearchManagementClient class.
13
- * @param credentials Credentials needed for the client to connect to Azure.
14
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
15
- * this value from the Azure Resource Manager API or the portal.
16
- * @param [options] The parameter options
17
- */
18
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SearchManagementClientOptions);
19
- }
20
- export { SearchManagementClient, SearchManagementClientContext, Models as SearchManagementModels, Mappers as SearchManagementMappers };
21
- export * from "./operations";
22
- //# sourceMappingURL=searchManagementClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClient.d.ts","sourceRoot":"","sources":["../lib/searchManagementClient.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,cAAM,sBAAuB,SAAQ,6BAA6B;IAEhE,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC;IAClC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;IAChC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IAE9B;;;;;;OAMG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,6BAA6B;CAOjI;AAID,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,MAAM,IAAI,sBAAsB,EAChC,OAAO,IAAI,uBAAuB,EACnC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,37 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as Models from "./models";
12
- import * as Mappers from "./models/mappers";
13
- import * as operations from "./operations";
14
- import { SearchManagementClientContext } from "./searchManagementClientContext";
15
- var SearchManagementClient = /** @class */ (function (_super) {
16
- tslib_1.__extends(SearchManagementClient, _super);
17
- /**
18
- * Initializes a new instance of the SearchManagementClient class.
19
- * @param credentials Credentials needed for the client to connect to Azure.
20
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
21
- * this value from the Azure Resource Manager API or the portal.
22
- * @param [options] The parameter options
23
- */
24
- function SearchManagementClient(credentials, subscriptionId, options) {
25
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
26
- _this.operations = new operations.Operations(_this);
27
- _this.adminKeys = new operations.AdminKeys(_this);
28
- _this.queryKeys = new operations.QueryKeys(_this);
29
- _this.services = new operations.Services(_this);
30
- return _this;
31
- }
32
- return SearchManagementClient;
33
- }(SearchManagementClientContext));
34
- // Operation Specifications
35
- export { SearchManagementClient, SearchManagementClientContext, Models as SearchManagementModels, Mappers as SearchManagementMappers };
36
- export * from "./operations";
37
- //# sourceMappingURL=searchManagementClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClient.js","sourceRoot":"","sources":["../lib/searchManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAGH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF;IAAqC,kDAA6B;IAOhE;;;;;;OAMG;IACH,gCAAY,WAA4C,EAAE,cAAsB,EAAE,OAA8C;QAAhI,YACE,kBAAM,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,SAK5C;QAJC,KAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,KAAI,CAAC,CAAC;QAClD,KAAI,CAAC,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,QAAQ,GAAG,IAAI,UAAU,CAAC,QAAQ,CAAC,KAAI,CAAC,CAAC;;IAChD,CAAC;IACH,6BAAC;AAAD,CAAC,AArBD,CAAqC,6BAA6B,GAqBjE;AAED,2BAA2B;AAE3B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,MAAM,IAAI,sBAAsB,EAChC,OAAO,IAAI,uBAAuB,EACnC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,17 +0,0 @@
1
- import * as Models from "./models";
2
- import * as msRest from "@azure/ms-rest-js";
3
- import * as msRestAzure from "@azure/ms-rest-azure-js";
4
- export declare class SearchManagementClientContext extends msRestAzure.AzureServiceClient {
5
- credentials: msRest.ServiceClientCredentials;
6
- subscriptionId: string;
7
- apiVersion?: string;
8
- /**
9
- * Initializes a new instance of the SearchManagementClient class.
10
- * @param credentials Credentials needed for the client to connect to Azure.
11
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
12
- * this value from the Azure Resource Manager API or the portal.
13
- * @param [options] The parameter options
14
- */
15
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SearchManagementClientOptions);
16
- }
17
- //# sourceMappingURL=searchManagementClientContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClientContext.d.ts","sourceRoot":"","sources":["../lib/searchManagementClientContext.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAKvD,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,kBAAkB;IAC/E,WAAW,EAAE,MAAM,CAAC,wBAAwB,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,6BAA6B;CAiCjI"}
@@ -1,57 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as msRestAzure from "@azure/ms-rest-azure-js";
12
- var packageName = "@azure/arm-search";
13
- var packageVersion = "0.1.0";
14
- var SearchManagementClientContext = /** @class */ (function (_super) {
15
- tslib_1.__extends(SearchManagementClientContext, _super);
16
- /**
17
- * Initializes a new instance of the SearchManagementClient class.
18
- * @param credentials Credentials needed for the client to connect to Azure.
19
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain
20
- * this value from the Azure Resource Manager API or the portal.
21
- * @param [options] The parameter options
22
- */
23
- function SearchManagementClientContext(credentials, subscriptionId, options) {
24
- var _this = this;
25
- if (credentials == undefined) {
26
- throw new Error('\'credentials\' cannot be null.');
27
- }
28
- if (subscriptionId == undefined) {
29
- throw new Error('\'subscriptionId\' cannot be null.');
30
- }
31
- if (!options) {
32
- options = {};
33
- }
34
- if (!options.userAgent) {
35
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
36
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
37
- }
38
- _this = _super.call(this, credentials, options) || this;
39
- _this.apiVersion = '2015-08-19';
40
- _this.acceptLanguage = 'en-US';
41
- _this.longRunningOperationRetryTimeout = 30;
42
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
43
- _this.requestContentType = "application/json; charset=utf-8";
44
- _this.credentials = credentials;
45
- _this.subscriptionId = subscriptionId;
46
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
47
- _this.acceptLanguage = options.acceptLanguage;
48
- }
49
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
50
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
51
- }
52
- return _this;
53
- }
54
- return SearchManagementClientContext;
55
- }(msRestAzure.AzureServiceClient));
56
- export { SearchManagementClientContext };
57
- //# sourceMappingURL=searchManagementClientContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"searchManagementClientContext.js","sourceRoot":"","sources":["../lib/searchManagementClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAEvD,IAAM,WAAW,GAAG,mBAAmB,CAAC;AACxC,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAAmD,yDAA8B;IAK/E;;;;;;OAMG;IACH,uCAAY,WAA4C,EAAE,cAAsB,EAAE,OAA8C;QAAhI,iBAgCC;QA/BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QACD,IAAI,cAAc,IAAI,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,IAAG,CAAC,OAAO,CAAC,SAAS,EAAE;YACrB,IAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;YAChE,OAAO,CAAC,SAAS,GAAM,WAAW,SAAI,cAAc,SAAI,gBAAkB,CAAC;SAC5E;QAED,QAAA,kBAAM,WAAW,EAAE,OAAO,CAAC,SAAC;QAE5B,KAAI,CAAC,UAAU,GAAG,YAAY,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC;QAC9B,KAAI,CAAC,gCAAgC,GAAG,EAAE,CAAC;QAC3C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,KAAI,CAAC,OAAO,IAAI,8BAA8B,CAAC;QACjF,KAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAC5D,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,IAAG,OAAO,CAAC,cAAc,KAAK,IAAI,IAAI,OAAO,CAAC,cAAc,KAAK,SAAS,EAAE;YAC1E,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;SAC9C;QACD,IAAG,OAAO,CAAC,gCAAgC,KAAK,IAAI,IAAI,OAAO,CAAC,gCAAgC,KAAK,SAAS,EAAE;YAC9G,KAAI,CAAC,gCAAgC,GAAG,OAAO,CAAC,gCAAgC,CAAC;SAClF;;IACH,CAAC;IACH,oCAAC;AAAD,CAAC,AA7CD,CAAmD,WAAW,CAAC,kBAAkB,GA6ChF"}
@@ -1,15 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- export {
12
- AdminKeyResult,
13
- CloudError
14
- } from "../models/mappers";
15
-