@azure/arm-servicelinker 2.1.1-alpha.20241023.1 → 2.2.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 (190) hide show
  1. package/CHANGELOG.md +145 -10
  2. package/LICENSE +1 -1
  3. package/README.md +3 -4
  4. package/dist/index.js +3960 -1050
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/configurationNamesListSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/configurationNamesListSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/configurationNamesListSample.js +51 -0
  11. package/dist-esm/samples-dev/configurationNamesListSample.js.map +1 -0
  12. package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/connectorCreateDryrunSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/connectorCreateDryrunSample.js +53 -0
  15. package/dist-esm/samples-dev/connectorCreateDryrunSample.js.map +1 -0
  16. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js +49 -0
  19. package/dist-esm/samples-dev/connectorCreateOrUpdateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/connectorDeleteDryrunSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/connectorDeleteDryrunSample.js +39 -0
  23. package/dist-esm/samples-dev/connectorDeleteDryrunSample.js.map +1 -0
  24. package/dist-esm/samples-dev/connectorDeleteSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/connectorDeleteSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/connectorDeleteSample.js +39 -0
  27. package/dist-esm/samples-dev/connectorDeleteSample.js.map +1 -0
  28. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js +43 -0
  31. package/dist-esm/samples-dev/connectorGenerateConfigurationsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/connectorGetDryrunSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/connectorGetDryrunSample.js +39 -0
  35. package/dist-esm/samples-dev/connectorGetDryrunSample.js.map +1 -0
  36. package/dist-esm/samples-dev/connectorGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/connectorGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/connectorGetSample.js +39 -0
  39. package/dist-esm/samples-dev/connectorGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/connectorListDryrunSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/connectorListDryrunSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/connectorListDryrunSample.js +54 -0
  43. package/dist-esm/samples-dev/connectorListDryrunSample.js.map +1 -0
  44. package/dist-esm/samples-dev/connectorListSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/connectorListSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/connectorListSample.js +54 -0
  47. package/dist-esm/samples-dev/connectorListSample.js.map +1 -0
  48. package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/connectorUpdateDryrunSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/connectorUpdateDryrunSample.js +53 -0
  51. package/dist-esm/samples-dev/connectorUpdateDryrunSample.js.map +1 -0
  52. package/dist-esm/samples-dev/connectorUpdateSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/connectorUpdateSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/connectorUpdateSample.js +51 -0
  55. package/dist-esm/samples-dev/connectorUpdateSample.js.map +1 -0
  56. package/dist-esm/samples-dev/connectorValidateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/connectorValidateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/connectorValidateSample.js +39 -0
  59. package/dist-esm/samples-dev/connectorValidateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js +9 -67
  61. package/dist-esm/samples-dev/linkerCreateOrUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/linkerDeleteSample.js +5 -5
  63. package/dist-esm/samples-dev/linkerDeleteSample.js.map +1 -1
  64. package/dist-esm/samples-dev/linkerGetSample.js +3 -3
  65. package/dist-esm/samples-dev/linkerGetSample.js.map +1 -1
  66. package/dist-esm/samples-dev/linkerListConfigurationsSample.js +4 -4
  67. package/dist-esm/samples-dev/linkerListConfigurationsSample.js.map +1 -1
  68. package/dist-esm/samples-dev/linkerListSample.js +5 -5
  69. package/dist-esm/samples-dev/linkerListSample.js.map +1 -1
  70. package/dist-esm/samples-dev/linkerUpdateSample.js +9 -9
  71. package/dist-esm/samples-dev/linkerUpdateSample.js.map +1 -1
  72. package/dist-esm/samples-dev/linkerValidateSample.js +5 -5
  73. package/dist-esm/samples-dev/linkerValidateSample.js.map +1 -1
  74. package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts +2 -0
  75. package/dist-esm/samples-dev/linkersCreateDryrunSample.d.ts.map +1 -0
  76. package/dist-esm/samples-dev/linkersCreateDryrunSample.js +51 -0
  77. package/dist-esm/samples-dev/linkersCreateDryrunSample.js.map +1 -0
  78. package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts +2 -0
  79. package/dist-esm/samples-dev/linkersDeleteDryrunSample.d.ts.map +1 -0
  80. package/dist-esm/samples-dev/linkersDeleteDryrunSample.js +37 -0
  81. package/dist-esm/samples-dev/linkersDeleteDryrunSample.js.map +1 -0
  82. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts +2 -0
  83. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.d.ts.map +1 -0
  84. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js +41 -0
  85. package/dist-esm/samples-dev/linkersGenerateConfigurationsSample.js.map +1 -0
  86. package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts +2 -0
  87. package/dist-esm/samples-dev/linkersGetDryrunSample.d.ts.map +1 -0
  88. package/dist-esm/samples-dev/linkersGetDryrunSample.js +37 -0
  89. package/dist-esm/samples-dev/linkersGetDryrunSample.js.map +1 -0
  90. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts +2 -0
  91. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.d.ts.map +1 -0
  92. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js +52 -0
  93. package/dist-esm/samples-dev/linkersListDaprConfigurationsSample.js.map +1 -0
  94. package/dist-esm/samples-dev/linkersListDryrunSample.d.ts +2 -0
  95. package/dist-esm/samples-dev/linkersListDryrunSample.d.ts.map +1 -0
  96. package/dist-esm/samples-dev/linkersListDryrunSample.js +52 -0
  97. package/dist-esm/samples-dev/linkersListDryrunSample.js.map +1 -0
  98. package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts +2 -0
  99. package/dist-esm/samples-dev/linkersUpdateDryrunSample.d.ts.map +1 -0
  100. package/dist-esm/samples-dev/linkersUpdateDryrunSample.js +51 -0
  101. package/dist-esm/samples-dev/linkersUpdateDryrunSample.js.map +1 -0
  102. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  103. package/dist-esm/src/lroImpl.d.ts +6 -11
  104. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  105. package/dist-esm/src/lroImpl.js +12 -20
  106. package/dist-esm/src/lroImpl.js.map +1 -1
  107. package/dist-esm/src/models/index.d.ts +815 -90
  108. package/dist-esm/src/models/index.d.ts.map +1 -1
  109. package/dist-esm/src/models/index.js +134 -18
  110. package/dist-esm/src/models/index.js.map +1 -1
  111. package/dist-esm/src/models/mappers.d.ts +47 -8
  112. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  113. package/dist-esm/src/models/mappers.js +1334 -337
  114. package/dist-esm/src/models/mappers.js.map +1 -1
  115. package/dist-esm/src/models/parameters.d.ts +12 -2
  116. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  117. package/dist-esm/src/models/parameters.js +121 -31
  118. package/dist-esm/src/models/parameters.js.map +1 -1
  119. package/dist-esm/src/operations/configurationNames.d.ts +34 -0
  120. package/dist-esm/src/operations/configurationNames.d.ts.map +1 -0
  121. package/dist-esm/src/operations/configurationNames.js +139 -0
  122. package/dist-esm/src/operations/configurationNames.js.map +1 -0
  123. package/dist-esm/src/operations/connector.d.ts +223 -0
  124. package/dist-esm/src/operations/connector.d.ts.map +1 -0
  125. package/dist-esm/src/operations/connector.js +1011 -0
  126. package/dist-esm/src/operations/connector.js.map +1 -0
  127. package/dist-esm/src/operations/index.d.ts +3 -0
  128. package/dist-esm/src/operations/index.d.ts.map +1 -1
  129. package/dist-esm/src/operations/index.js +3 -0
  130. package/dist-esm/src/operations/index.js.map +1 -1
  131. package/dist-esm/src/operations/linker.d.ts +18 -16
  132. package/dist-esm/src/operations/linker.d.ts.map +1 -1
  133. package/dist-esm/src/operations/linker.js +109 -91
  134. package/dist-esm/src/operations/linker.js.map +1 -1
  135. package/dist-esm/src/operations/linkers.d.ts +123 -0
  136. package/dist-esm/src/operations/linkers.d.ts.map +1 -0
  137. package/dist-esm/src/operations/linkers.js +535 -0
  138. package/dist-esm/src/operations/linkers.js.map +1 -0
  139. package/dist-esm/src/operations/operations.js +9 -9
  140. package/dist-esm/src/operationsInterfaces/configurationNames.d.ts +12 -0
  141. package/dist-esm/src/operationsInterfaces/configurationNames.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/configurationNames.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/configurationNames.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/connector.d.ts +176 -0
  145. package/dist-esm/src/operationsInterfaces/connector.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/connector.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/connector.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  149. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  150. package/dist-esm/src/operationsInterfaces/index.js +3 -0
  151. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  152. package/dist-esm/src/operationsInterfaces/linker.d.ts +16 -15
  153. package/dist-esm/src/operationsInterfaces/linker.d.ts.map +1 -1
  154. package/dist-esm/src/operationsInterfaces/linkers.d.ts +81 -0
  155. package/dist-esm/src/operationsInterfaces/linkers.d.ts.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/linkers.js +9 -0
  157. package/dist-esm/src/operationsInterfaces/linkers.js.map +1 -0
  158. package/dist-esm/src/serviceLinkerManagementClient.d.ts +4 -1
  159. package/dist-esm/src/serviceLinkerManagementClient.d.ts.map +1 -1
  160. package/dist-esm/src/serviceLinkerManagementClient.js +12 -9
  161. package/dist-esm/src/serviceLinkerManagementClient.js.map +1 -1
  162. package/dist-esm/test/servicelinker_operations_test.spec.d.ts +4 -0
  163. package/dist-esm/test/servicelinker_operations_test.spec.d.ts.map +1 -0
  164. package/dist-esm/test/servicelinker_operations_test.spec.js +74 -0
  165. package/dist-esm/test/servicelinker_operations_test.spec.js.map +1 -0
  166. package/package.json +30 -31
  167. package/review/arm-servicelinker.api.md +613 -32
  168. package/src/lroImpl.ts +31 -23
  169. package/src/models/index.ts +956 -103
  170. package/src/models/mappers.ts +1449 -365
  171. package/src/models/parameters.ts +135 -32
  172. package/src/operations/configurationNames.ts +155 -0
  173. package/src/operations/connector.ts +1433 -0
  174. package/src/operations/index.ts +3 -0
  175. package/src/operations/linker.ts +180 -171
  176. package/src/operations/linkers.ts +702 -0
  177. package/src/operations/operations.ts +16 -16
  178. package/src/operationsInterfaces/configurationNames.ts +26 -0
  179. package/src/operationsInterfaces/connector.ts +349 -0
  180. package/src/operationsInterfaces/index.ts +3 -0
  181. package/src/operationsInterfaces/linker.ts +30 -29
  182. package/src/operationsInterfaces/linkers.ts +153 -0
  183. package/src/operationsInterfaces/operations.ts +1 -1
  184. package/src/pagingHelper.ts +1 -1
  185. package/src/serviceLinkerManagementClient.ts +36 -17
  186. package/types/arm-servicelinker.d.ts +1150 -61
  187. package/dist-esm/test/sampleTest.d.ts +0 -2
  188. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  189. package/dist-esm/test/sampleTest.js +0 -42
  190. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -18,7 +18,7 @@ import {
18
18
  OperationsListNextOptionalParams,
19
19
  OperationsListOptionalParams,
20
20
  OperationsListResponse,
21
- OperationsListNextResponse
21
+ OperationsListNextResponse,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -39,7 +39,7 @@ export class OperationsImpl implements Operations {
39
39
  * @param options The options parameters.
40
40
  */
41
41
  public list(
42
- options?: OperationsListOptionalParams
42
+ options?: OperationsListOptionalParams,
43
43
  ): PagedAsyncIterableIterator<Operation> {
44
44
  const iter = this.listPagingAll(options);
45
45
  return {
@@ -54,13 +54,13 @@ export class OperationsImpl implements Operations {
54
54
  throw new Error("maxPageSize is not supported by this operation.");
55
55
  }
56
56
  return this.listPagingPage(options, settings);
57
- }
57
+ },
58
58
  };
59
59
  }
60
60
 
61
61
  private async *listPagingPage(
62
62
  options?: OperationsListOptionalParams,
63
- settings?: PageSettings
63
+ settings?: PageSettings,
64
64
  ): AsyncIterableIterator<Operation[]> {
65
65
  let result: OperationsListResponse;
66
66
  let continuationToken = settings?.continuationToken;
@@ -81,7 +81,7 @@ export class OperationsImpl implements Operations {
81
81
  }
82
82
 
83
83
  private async *listPagingAll(
84
- options?: OperationsListOptionalParams
84
+ options?: OperationsListOptionalParams,
85
85
  ): AsyncIterableIterator<Operation> {
86
86
  for await (const page of this.listPagingPage(options)) {
87
87
  yield* page;
@@ -93,7 +93,7 @@ export class OperationsImpl implements Operations {
93
93
  * @param options The options parameters.
94
94
  */
95
95
  private _list(
96
- options?: OperationsListOptionalParams
96
+ options?: OperationsListOptionalParams,
97
97
  ): Promise<OperationsListResponse> {
98
98
  return this.client.sendOperationRequest({ options }, listOperationSpec);
99
99
  }
@@ -105,11 +105,11 @@ export class OperationsImpl implements Operations {
105
105
  */
106
106
  private _listNext(
107
107
  nextLink: string,
108
- options?: OperationsListNextOptionalParams
108
+ options?: OperationsListNextOptionalParams,
109
109
  ): Promise<OperationsListNextResponse> {
110
110
  return this.client.sendOperationRequest(
111
111
  { nextLink, options },
112
- listNextOperationSpec
112
+ listNextOperationSpec,
113
113
  );
114
114
  }
115
115
  }
@@ -121,29 +121,29 @@ const listOperationSpec: coreClient.OperationSpec = {
121
121
  httpMethod: "GET",
122
122
  responses: {
123
123
  200: {
124
- bodyMapper: Mappers.OperationListResult
124
+ bodyMapper: Mappers.OperationListResult,
125
125
  },
126
126
  default: {
127
- bodyMapper: Mappers.ErrorResponse
128
- }
127
+ bodyMapper: Mappers.ErrorResponse,
128
+ },
129
129
  },
130
130
  queryParameters: [Parameters.apiVersion],
131
131
  urlParameters: [Parameters.$host],
132
132
  headerParameters: [Parameters.accept],
133
- serializer
133
+ serializer,
134
134
  };
135
135
  const listNextOperationSpec: coreClient.OperationSpec = {
136
136
  path: "{nextLink}",
137
137
  httpMethod: "GET",
138
138
  responses: {
139
139
  200: {
140
- bodyMapper: Mappers.OperationListResult
140
+ bodyMapper: Mappers.OperationListResult,
141
141
  },
142
142
  default: {
143
- bodyMapper: Mappers.ErrorResponse
144
- }
143
+ bodyMapper: Mappers.ErrorResponse,
144
+ },
145
145
  },
146
146
  urlParameters: [Parameters.$host, Parameters.nextLink],
147
147
  headerParameters: [Parameters.accept],
148
- serializer
148
+ serializer,
149
149
  };
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ConfigurationNameItem,
12
+ ConfigurationNamesListOptionalParams,
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a ConfigurationNames. */
17
+ export interface ConfigurationNames {
18
+ /**
19
+ * Lists the configuration names generated by Service Connector for all target, client types, auth
20
+ * types.
21
+ * @param options The options parameters.
22
+ */
23
+ list(
24
+ options?: ConfigurationNamesListOptionalParams,
25
+ ): PagedAsyncIterableIterator<ConfigurationNameItem>;
26
+ }
@@ -0,0 +1,349 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ DryrunResource,
13
+ ConnectorListDryrunOptionalParams,
14
+ LinkerResource,
15
+ ConnectorListOptionalParams,
16
+ ConnectorGetDryrunOptionalParams,
17
+ ConnectorGetDryrunResponse,
18
+ ConnectorCreateDryrunOptionalParams,
19
+ ConnectorCreateDryrunResponse,
20
+ DryrunPatch,
21
+ ConnectorUpdateDryrunOptionalParams,
22
+ ConnectorUpdateDryrunResponse,
23
+ ConnectorDeleteDryrunOptionalParams,
24
+ ConnectorGetOptionalParams,
25
+ ConnectorGetResponse,
26
+ ConnectorCreateOrUpdateOptionalParams,
27
+ ConnectorCreateOrUpdateResponse,
28
+ ConnectorDeleteOptionalParams,
29
+ LinkerPatch,
30
+ ConnectorUpdateOptionalParams,
31
+ ConnectorUpdateResponse,
32
+ ConnectorValidateOptionalParams,
33
+ ConnectorValidateResponse,
34
+ ConnectorGenerateConfigurationsOptionalParams,
35
+ ConnectorGenerateConfigurationsResponse,
36
+ } from "../models";
37
+
38
+ /// <reference lib="esnext.asynciterable" />
39
+ /** Interface representing a Connector. */
40
+ export interface Connector {
41
+ /**
42
+ * list dryrun jobs
43
+ * @param subscriptionId The ID of the target subscription.
44
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
+ * @param location The name of Azure region.
46
+ * @param options The options parameters.
47
+ */
48
+ listDryrun(
49
+ subscriptionId: string,
50
+ resourceGroupName: string,
51
+ location: string,
52
+ options?: ConnectorListDryrunOptionalParams,
53
+ ): PagedAsyncIterableIterator<DryrunResource>;
54
+ /**
55
+ * Returns list of connector which connects to the resource, which supports to config the target
56
+ * service during the resource provision.
57
+ * @param subscriptionId The ID of the target subscription.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param location The name of Azure region.
60
+ * @param options The options parameters.
61
+ */
62
+ list(
63
+ subscriptionId: string,
64
+ resourceGroupName: string,
65
+ location: string,
66
+ options?: ConnectorListOptionalParams,
67
+ ): PagedAsyncIterableIterator<LinkerResource>;
68
+ /**
69
+ * get a dryrun job
70
+ * @param subscriptionId The ID of the target subscription.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param location The name of Azure region.
73
+ * @param dryrunName The name of dryrun.
74
+ * @param options The options parameters.
75
+ */
76
+ getDryrun(
77
+ subscriptionId: string,
78
+ resourceGroupName: string,
79
+ location: string,
80
+ dryrunName: string,
81
+ options?: ConnectorGetDryrunOptionalParams,
82
+ ): Promise<ConnectorGetDryrunResponse>;
83
+ /**
84
+ * create a dryrun job to do necessary check before actual creation
85
+ * @param subscriptionId The ID of the target subscription.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param location The name of Azure region.
88
+ * @param dryrunName The name of dryrun.
89
+ * @param parameters dryrun resource.
90
+ * @param options The options parameters.
91
+ */
92
+ beginCreateDryrun(
93
+ subscriptionId: string,
94
+ resourceGroupName: string,
95
+ location: string,
96
+ dryrunName: string,
97
+ parameters: DryrunResource,
98
+ options?: ConnectorCreateDryrunOptionalParams,
99
+ ): Promise<
100
+ SimplePollerLike<
101
+ OperationState<ConnectorCreateDryrunResponse>,
102
+ ConnectorCreateDryrunResponse
103
+ >
104
+ >;
105
+ /**
106
+ * create a dryrun job to do necessary check before actual creation
107
+ * @param subscriptionId The ID of the target subscription.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param location The name of Azure region.
110
+ * @param dryrunName The name of dryrun.
111
+ * @param parameters dryrun resource.
112
+ * @param options The options parameters.
113
+ */
114
+ beginCreateDryrunAndWait(
115
+ subscriptionId: string,
116
+ resourceGroupName: string,
117
+ location: string,
118
+ dryrunName: string,
119
+ parameters: DryrunResource,
120
+ options?: ConnectorCreateDryrunOptionalParams,
121
+ ): Promise<ConnectorCreateDryrunResponse>;
122
+ /**
123
+ * update a dryrun job to do necessary check before actual creation
124
+ * @param subscriptionId The ID of the target subscription.
125
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
126
+ * @param location The name of Azure region.
127
+ * @param dryrunName The name of dryrun.
128
+ * @param parameters dryrun resource.
129
+ * @param options The options parameters.
130
+ */
131
+ beginUpdateDryrun(
132
+ subscriptionId: string,
133
+ resourceGroupName: string,
134
+ location: string,
135
+ dryrunName: string,
136
+ parameters: DryrunPatch,
137
+ options?: ConnectorUpdateDryrunOptionalParams,
138
+ ): Promise<
139
+ SimplePollerLike<
140
+ OperationState<ConnectorUpdateDryrunResponse>,
141
+ ConnectorUpdateDryrunResponse
142
+ >
143
+ >;
144
+ /**
145
+ * update a dryrun job to do necessary check before actual creation
146
+ * @param subscriptionId The ID of the target subscription.
147
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
+ * @param location The name of Azure region.
149
+ * @param dryrunName The name of dryrun.
150
+ * @param parameters dryrun resource.
151
+ * @param options The options parameters.
152
+ */
153
+ beginUpdateDryrunAndWait(
154
+ subscriptionId: string,
155
+ resourceGroupName: string,
156
+ location: string,
157
+ dryrunName: string,
158
+ parameters: DryrunPatch,
159
+ options?: ConnectorUpdateDryrunOptionalParams,
160
+ ): Promise<ConnectorUpdateDryrunResponse>;
161
+ /**
162
+ * delete a dryrun job
163
+ * @param subscriptionId The ID of the target subscription.
164
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
165
+ * @param location The name of Azure region.
166
+ * @param dryrunName The name of dryrun.
167
+ * @param options The options parameters.
168
+ */
169
+ deleteDryrun(
170
+ subscriptionId: string,
171
+ resourceGroupName: string,
172
+ location: string,
173
+ dryrunName: string,
174
+ options?: ConnectorDeleteDryrunOptionalParams,
175
+ ): Promise<void>;
176
+ /**
177
+ * Returns Connector resource for a given name.
178
+ * @param subscriptionId The ID of the target subscription.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param location The name of Azure region.
181
+ * @param connectorName The name of resource.
182
+ * @param options The options parameters.
183
+ */
184
+ get(
185
+ subscriptionId: string,
186
+ resourceGroupName: string,
187
+ location: string,
188
+ connectorName: string,
189
+ options?: ConnectorGetOptionalParams,
190
+ ): Promise<ConnectorGetResponse>;
191
+ /**
192
+ * Create or update Connector resource.
193
+ * @param subscriptionId The ID of the target subscription.
194
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
195
+ * @param location The name of Azure region.
196
+ * @param connectorName The name of resource.
197
+ * @param parameters Connector details.
198
+ * @param options The options parameters.
199
+ */
200
+ beginCreateOrUpdate(
201
+ subscriptionId: string,
202
+ resourceGroupName: string,
203
+ location: string,
204
+ connectorName: string,
205
+ parameters: LinkerResource,
206
+ options?: ConnectorCreateOrUpdateOptionalParams,
207
+ ): Promise<
208
+ SimplePollerLike<
209
+ OperationState<ConnectorCreateOrUpdateResponse>,
210
+ ConnectorCreateOrUpdateResponse
211
+ >
212
+ >;
213
+ /**
214
+ * Create or update Connector resource.
215
+ * @param subscriptionId The ID of the target subscription.
216
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
+ * @param location The name of Azure region.
218
+ * @param connectorName The name of resource.
219
+ * @param parameters Connector details.
220
+ * @param options The options parameters.
221
+ */
222
+ beginCreateOrUpdateAndWait(
223
+ subscriptionId: string,
224
+ resourceGroupName: string,
225
+ location: string,
226
+ connectorName: string,
227
+ parameters: LinkerResource,
228
+ options?: ConnectorCreateOrUpdateOptionalParams,
229
+ ): Promise<ConnectorCreateOrUpdateResponse>;
230
+ /**
231
+ * Delete a Connector.
232
+ * @param subscriptionId The ID of the target subscription.
233
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
234
+ * @param location The name of Azure region.
235
+ * @param connectorName The name of resource.
236
+ * @param options The options parameters.
237
+ */
238
+ beginDelete(
239
+ subscriptionId: string,
240
+ resourceGroupName: string,
241
+ location: string,
242
+ connectorName: string,
243
+ options?: ConnectorDeleteOptionalParams,
244
+ ): Promise<SimplePollerLike<OperationState<void>, void>>;
245
+ /**
246
+ * Delete a Connector.
247
+ * @param subscriptionId The ID of the target subscription.
248
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
249
+ * @param location The name of Azure region.
250
+ * @param connectorName The name of resource.
251
+ * @param options The options parameters.
252
+ */
253
+ beginDeleteAndWait(
254
+ subscriptionId: string,
255
+ resourceGroupName: string,
256
+ location: string,
257
+ connectorName: string,
258
+ options?: ConnectorDeleteOptionalParams,
259
+ ): Promise<void>;
260
+ /**
261
+ * Operation to update an existing Connector.
262
+ * @param subscriptionId The ID of the target subscription.
263
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
264
+ * @param location The name of Azure region.
265
+ * @param connectorName The name of resource.
266
+ * @param parameters Connector details.
267
+ * @param options The options parameters.
268
+ */
269
+ beginUpdate(
270
+ subscriptionId: string,
271
+ resourceGroupName: string,
272
+ location: string,
273
+ connectorName: string,
274
+ parameters: LinkerPatch,
275
+ options?: ConnectorUpdateOptionalParams,
276
+ ): Promise<
277
+ SimplePollerLike<
278
+ OperationState<ConnectorUpdateResponse>,
279
+ ConnectorUpdateResponse
280
+ >
281
+ >;
282
+ /**
283
+ * Operation to update an existing Connector.
284
+ * @param subscriptionId The ID of the target subscription.
285
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
286
+ * @param location The name of Azure region.
287
+ * @param connectorName The name of resource.
288
+ * @param parameters Connector details.
289
+ * @param options The options parameters.
290
+ */
291
+ beginUpdateAndWait(
292
+ subscriptionId: string,
293
+ resourceGroupName: string,
294
+ location: string,
295
+ connectorName: string,
296
+ parameters: LinkerPatch,
297
+ options?: ConnectorUpdateOptionalParams,
298
+ ): Promise<ConnectorUpdateResponse>;
299
+ /**
300
+ * Validate a Connector.
301
+ * @param subscriptionId The ID of the target subscription.
302
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
303
+ * @param location The name of Azure region.
304
+ * @param connectorName The name of resource.
305
+ * @param options The options parameters.
306
+ */
307
+ beginValidate(
308
+ subscriptionId: string,
309
+ resourceGroupName: string,
310
+ location: string,
311
+ connectorName: string,
312
+ options?: ConnectorValidateOptionalParams,
313
+ ): Promise<
314
+ SimplePollerLike<
315
+ OperationState<ConnectorValidateResponse>,
316
+ ConnectorValidateResponse
317
+ >
318
+ >;
319
+ /**
320
+ * Validate a Connector.
321
+ * @param subscriptionId The ID of the target subscription.
322
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
323
+ * @param location The name of Azure region.
324
+ * @param connectorName The name of resource.
325
+ * @param options The options parameters.
326
+ */
327
+ beginValidateAndWait(
328
+ subscriptionId: string,
329
+ resourceGroupName: string,
330
+ location: string,
331
+ connectorName: string,
332
+ options?: ConnectorValidateOptionalParams,
333
+ ): Promise<ConnectorValidateResponse>;
334
+ /**
335
+ * Generate configurations for a Connector.
336
+ * @param subscriptionId The ID of the target subscription.
337
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
338
+ * @param location The name of Azure region.
339
+ * @param connectorName The name of resource.
340
+ * @param options The options parameters.
341
+ */
342
+ generateConfigurations(
343
+ subscriptionId: string,
344
+ resourceGroupName: string,
345
+ location: string,
346
+ connectorName: string,
347
+ options?: ConnectorGenerateConfigurationsOptionalParams,
348
+ ): Promise<ConnectorGenerateConfigurationsResponse>;
349
+ }
@@ -6,5 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
+ export * from "./connector";
9
10
  export * from "./linker";
11
+ export * from "./linkers";
10
12
  export * from "./operations";
13
+ export * from "./configurationNames";
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { PollerLike, PollOperationState } from "@azure/core-lro";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
11
  import {
12
12
  LinkerResource,
13
13
  LinkerListOptionalParams,
@@ -22,21 +22,22 @@ import {
22
22
  LinkerValidateOptionalParams,
23
23
  LinkerValidateResponse,
24
24
  LinkerListConfigurationsOptionalParams,
25
- LinkerListConfigurationsResponse
25
+ LinkerListConfigurationsResponse,
26
26
  } from "../models";
27
27
 
28
28
  /// <reference lib="esnext.asynciterable" />
29
29
  /** Interface representing a Linker. */
30
30
  export interface Linker {
31
31
  /**
32
- * Returns list of Linkers which connects to the resource.
32
+ * Returns list of Linkers which connects to the resource. which supports to config both application
33
+ * and target service during the resource provision.
33
34
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
34
35
  * connected.
35
36
  * @param options The options parameters.
36
37
  */
37
38
  list(
38
39
  resourceUri: string,
39
- options?: LinkerListOptionalParams
40
+ options?: LinkerListOptionalParams,
40
41
  ): PagedAsyncIterableIterator<LinkerResource>;
41
42
  /**
42
43
  * Returns Linker resource for a given name.
@@ -48,10 +49,10 @@ export interface Linker {
48
49
  get(
49
50
  resourceUri: string,
50
51
  linkerName: string,
51
- options?: LinkerGetOptionalParams
52
+ options?: LinkerGetOptionalParams,
52
53
  ): Promise<LinkerGetResponse>;
53
54
  /**
54
- * Create or update linker resource.
55
+ * Create or update Linker resource.
55
56
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
56
57
  * connected.
57
58
  * @param linkerName The name Linker resource.
@@ -62,15 +63,15 @@ export interface Linker {
62
63
  resourceUri: string,
63
64
  linkerName: string,
64
65
  parameters: LinkerResource,
65
- options?: LinkerCreateOrUpdateOptionalParams
66
+ options?: LinkerCreateOrUpdateOptionalParams,
66
67
  ): Promise<
67
- PollerLike<
68
- PollOperationState<LinkerCreateOrUpdateResponse>,
68
+ SimplePollerLike<
69
+ OperationState<LinkerCreateOrUpdateResponse>,
69
70
  LinkerCreateOrUpdateResponse
70
71
  >
71
72
  >;
72
73
  /**
73
- * Create or update linker resource.
74
+ * Create or update Linker resource.
74
75
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
75
76
  * connected.
76
77
  * @param linkerName The name Linker resource.
@@ -81,10 +82,10 @@ export interface Linker {
81
82
  resourceUri: string,
82
83
  linkerName: string,
83
84
  parameters: LinkerResource,
84
- options?: LinkerCreateOrUpdateOptionalParams
85
+ options?: LinkerCreateOrUpdateOptionalParams,
85
86
  ): Promise<LinkerCreateOrUpdateResponse>;
86
87
  /**
87
- * Delete a link.
88
+ * Delete a Linker.
88
89
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
89
90
  * connected.
90
91
  * @param linkerName The name Linker resource.
@@ -93,10 +94,10 @@ export interface Linker {
93
94
  beginDelete(
94
95
  resourceUri: string,
95
96
  linkerName: string,
96
- options?: LinkerDeleteOptionalParams
97
- ): Promise<PollerLike<PollOperationState<void>, void>>;
97
+ options?: LinkerDeleteOptionalParams,
98
+ ): Promise<SimplePollerLike<OperationState<void>, void>>;
98
99
  /**
99
- * Delete a link.
100
+ * Delete a Linker.
100
101
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
101
102
  * connected.
102
103
  * @param linkerName The name Linker resource.
@@ -105,10 +106,10 @@ export interface Linker {
105
106
  beginDeleteAndWait(
106
107
  resourceUri: string,
107
108
  linkerName: string,
108
- options?: LinkerDeleteOptionalParams
109
+ options?: LinkerDeleteOptionalParams,
109
110
  ): Promise<void>;
110
111
  /**
111
- * Operation to update an existing link.
112
+ * Operation to update an existing Linker.
112
113
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
113
114
  * connected.
114
115
  * @param linkerName The name Linker resource.
@@ -119,12 +120,12 @@ export interface Linker {
119
120
  resourceUri: string,
120
121
  linkerName: string,
121
122
  parameters: LinkerPatch,
122
- options?: LinkerUpdateOptionalParams
123
+ options?: LinkerUpdateOptionalParams,
123
124
  ): Promise<
124
- PollerLike<PollOperationState<LinkerUpdateResponse>, LinkerUpdateResponse>
125
+ SimplePollerLike<OperationState<LinkerUpdateResponse>, LinkerUpdateResponse>
125
126
  >;
126
127
  /**
127
- * Operation to update an existing link.
128
+ * Operation to update an existing Linker.
128
129
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
129
130
  * connected.
130
131
  * @param linkerName The name Linker resource.
@@ -135,10 +136,10 @@ export interface Linker {
135
136
  resourceUri: string,
136
137
  linkerName: string,
137
138
  parameters: LinkerPatch,
138
- options?: LinkerUpdateOptionalParams
139
+ options?: LinkerUpdateOptionalParams,
139
140
  ): Promise<LinkerUpdateResponse>;
140
141
  /**
141
- * Validate a link.
142
+ * Validate a Linker.
142
143
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
143
144
  * connected.
144
145
  * @param linkerName The name Linker resource.
@@ -147,15 +148,15 @@ export interface Linker {
147
148
  beginValidate(
148
149
  resourceUri: string,
149
150
  linkerName: string,
150
- options?: LinkerValidateOptionalParams
151
+ options?: LinkerValidateOptionalParams,
151
152
  ): Promise<
152
- PollerLike<
153
- PollOperationState<LinkerValidateResponse>,
153
+ SimplePollerLike<
154
+ OperationState<LinkerValidateResponse>,
154
155
  LinkerValidateResponse
155
156
  >
156
157
  >;
157
158
  /**
158
- * Validate a link.
159
+ * Validate a Linker.
159
160
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
160
161
  * connected.
161
162
  * @param linkerName The name Linker resource.
@@ -164,10 +165,10 @@ export interface Linker {
164
165
  beginValidateAndWait(
165
166
  resourceUri: string,
166
167
  linkerName: string,
167
- options?: LinkerValidateOptionalParams
168
+ options?: LinkerValidateOptionalParams,
168
169
  ): Promise<LinkerValidateResponse>;
169
170
  /**
170
- * list source configurations for a linker.
171
+ * list source configurations for a Linker.
171
172
  * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
172
173
  * connected.
173
174
  * @param linkerName The name Linker resource.
@@ -176,6 +177,6 @@ export interface Linker {
176
177
  listConfigurations(
177
178
  resourceUri: string,
178
179
  linkerName: string,
179
- options?: LinkerListConfigurationsOptionalParams
180
+ options?: LinkerListConfigurationsOptionalParams,
180
181
  ): Promise<LinkerListConfigurationsResponse>;
181
182
  }